Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-rhsm.spec'], False, '/srv/build/7/E/mock-root/c7.01.u-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-rhsm.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-rhsm-1.15.4-5.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-rhsm.spec'], False, '/srv/build/7/E/mock-root/c7.01.u-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-rhsm.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8dk3U5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-rhsm-1.15.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-rhsm-1.15.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-rhsm-1.15.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-rhsm-1.15.4-1-to-python-rhsm-1.15.4-2.patch):' Patch #0 (python-rhsm-1.15.4-1-to-python-rhsm-1.15.4-2.patch): + /usr/bin/cat /builddir/build/SOURCES/python-rhsm-1.15.4-1-to-python-rhsm-1.15.4-2.patch + /usr/bin/patch -p1 --fuzz=0 patching file python-rhsm.spec patching file rel-eng/packages/python-rhsm patching file rel-eng/releasers.conf + echo 'Patch #1 (python-rhsm-1.15.4-2-to-python-rhsm-1.15.4-3.patch):' Patch #1 (python-rhsm-1.15.4-2-to-python-rhsm-1.15.4-3.patch): + /usr/bin/cat /builddir/build/SOURCES/python-rhsm-1.15.4-2-to-python-rhsm-1.15.4-3.patch + /usr/bin/patch -p1 --fuzz=0 patching file python-rhsm.spec patching file rel-eng/packages/python-rhsm patching file rel-eng/tito.props patching file src/rhsm/connection.py patching file src/rhsm/utils.py patching file test/unit/connection-tests.py patching file test/unit/util-tests.py + echo 'Patch #2 (python-rhsm-1.15.4-3-to-python-rhsm-1.15.4-4.patch):' Patch #2 (python-rhsm-1.15.4-3-to-python-rhsm-1.15.4-4.patch): + /usr/bin/cat /builddir/build/SOURCES/python-rhsm-1.15.4-3-to-python-rhsm-1.15.4-4.patch + /usr/bin/patch -p1 --fuzz=0 patching file python-rhsm.spec patching file rel-eng/packages/python-rhsm patching file src/rhsm/connection.py patching file test/unit/connection-tests.py + echo 'Patch #3 (python-rhsm-1.15.4-4-to-python-rhsm-1.15.4-5.patch):' Patch #3 (python-rhsm-1.15.4-4-to-python-rhsm-1.15.4-5.patch): + /usr/bin/cat /builddir/build/SOURCES/python-rhsm-1.15.4-4-to-python-rhsm-1.15.4-5.patch + /usr/bin/patch -p1 --fuzz=0 patching file etc-conf/ca/candlepin-stage.pem patching file python-rhsm.spec patching file rel-eng/packages/python-rhsm + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MDFqWX + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.15.4 + PYTHON_RHSM_VERSION=1.15.4 + PYTHON_RHSM_RELEASE=5.el7 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/certificate2.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/certificate.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/huffman.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/connection.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/ourjson.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/utils.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/__init__.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/bitstream.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/config.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/pathtree.py -> build/lib.linux-x86_64-2.7/rhsm copying src/rhsm/profile.py -> build/lib.linux-x86_64-2.7/rhsm running egg_info creating rhsm.egg-info writing rhsm.egg-info/PKG-INFO writing top-level names to rhsm.egg-info/top_level.txt writing dependency_links to rhsm.egg-info/dependency_links.txt writing manifest file 'rhsm.egg-info/SOURCES.txt' reading manifest file 'rhsm.egg-info/SOURCES.txt' writing manifest file 'rhsm.egg-info/SOURCES.txt' running build_ext building 'rhsm._certificate' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -I/usr/include/python2.7 -c src/certificate.c -o build/temp.linux-x86_64-2.7/src/certificate.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic build/temp.linux-x86_64-2.7/src/certificate.o -L/usr/lib64 -lssl -lcrypto -lpython2.7 -o build/lib.linux-x86_64-2.7/rhsm/_certificate.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WwxCSQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 + cd python-rhsm-1.15.4 + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/_certificate.so -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/certificate2.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/certificate.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/huffman.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/connection.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/version.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/ourjson.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/utils.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/__init__.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/bitstream.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/config.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/pathtree.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-x86_64-2.7/rhsm/profile.py -> /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/certificate2.py to certificate2.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/certificate.py to certificate.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/huffman.py to huffman.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/ourjson.py to ourjson.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/bitstream.py to bitstream.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/pathtree.py to pathtree.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/profile.py to profile.pyc writing byte-compilation script '/tmp/tmp1VhxdD.py' /usr/bin/python -O /tmp/tmp1VhxdD.py removing /tmp/tmp1VhxdD.py running install_egg_info running egg_info writing rhsm.egg-info/PKG-INFO writing top-level names to rhsm.egg-info/top_level.txt writing dependency_links to rhsm.egg-info/dependency_links.txt reading manifest file 'rhsm.egg-info/SOURCES.txt' writing manifest file 'rhsm.egg-info/SOURCES.txt' Copying rhsm.egg-info to /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm-1.15.4-py2.7.egg-info running install_scripts + mkdir -p /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/etc/rhsm/ca + install etc-conf/ca/redhat-uep.pem /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/etc/rhsm/ca + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/python-rhsm-1.15.4 extracting debug info from /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7/site-packages/rhsm/_certificate.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 24 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-rhsm-1.15.4-5.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BPAVvL + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.15.4 + DOCDIR=/builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/share/doc/python-rhsm-1.15.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/share/doc/python-rhsm-1.15.4 + cp -pr README /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64/usr/share/doc/python-rhsm-1.15.4 + exit 0 Provides: python-rhsm = 1.15.4-5.el7 python-rhsm(x86-64) = 1.15.4-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libssl.so.10()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-rhsm-debuginfo-1.15.4-5.el7.x86_64 Provides: python-rhsm-debuginfo = 1.15.4-5.el7 python-rhsm-debuginfo(x86-64) = 1.15.4-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 warning: Could not canonicalize hostname: worker1.bsys.centos.org Wrote: /builddir/build/RPMS/python-rhsm-1.15.4-5.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-rhsm-debuginfo-1.15.4-5.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TsvRey + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.15.4 + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.15.4-5.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->