Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-google-apputils.spec'], chrootPath='/var/lib/mock/570188-epel-7-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6542916de2bb4ef6b3d5f3bb2e31ff9a', '-D', '/var/lib/mock/570188-epel-7-x86_64/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-google-apputils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: 6542916de2bb4ef6b3d5f3bb2e31ff9a Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-google-apputils-0.4.2-6.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-google-apputils.spec'], chrootPath='/var/lib/mock/570188-epel-7-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '699474d90885400ebe5a17d61874bb2c', '-D', '/var/lib/mock/570188-epel-7-x86_64/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-google-apputils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SYxC24 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-google-apputils-0.4.2 + /usr/bin/mkdir -p python-google-apputils-0.4.2 + cd python-google-apputils-0.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/google-apputils-0.4.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv google-apputils-0.4.2 python2 + find -name '*.py' + xargs sed -i '/^#!\/usr\/bin\/.*python/d' + sed -i -e 's/pytz>.*"/pytz"/' python2/setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WvW2oM + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + pushd python2 + /usr/bin/python2 setup.py build ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 running build running build_py creating build creating build/lib creating build/lib/google copying google/__init__.py -> build/lib/google creating build/lib/google/apputils copying google/apputils/setup_command.py -> build/lib/google/apputils copying google/apputils/humanize.py -> build/lib/google/apputils copying google/apputils/run_script_module.py -> build/lib/google/apputils copying google/apputils/basetest.py -> build/lib/google/apputils copying google/apputils/datelib.py -> build/lib/google/apputils copying google/apputils/__init__.py -> build/lib/google/apputils copying google/apputils/file_util.py -> build/lib/google/apputils copying google/apputils/appcommands.py -> build/lib/google/apputils copying google/apputils/app.py -> build/lib/google/apputils copying google/apputils/resources.py -> build/lib/google/apputils copying google/apputils/debug.py -> build/lib/google/apputils copying google/apputils/shellutil.py -> build/lib/google/apputils copying google/apputils/stopwatch.py -> build/lib/google/apputils ~/build/BUILD/python-google-apputils-0.4.2 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gOqO5t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 + cd python-google-apputils-0.4.2 + pushd python2 ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 + /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 running install running install_lib Skipping installation of /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/__init__.py (namespace package) copying google/apputils/stopwatch.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/shellutil.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/debug.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/resources.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/app.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/appcommands.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/file_util.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/__init__.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/datelib.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/basetest.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/run_script_module.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/humanize.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils copying google/apputils/setup_command.py -> /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/stopwatch.py to stopwatch.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/shellutil.py to shellutil.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/debug.py to debug.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/resources.py to resources.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/app.py to app.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/appcommands.py to appcommands.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/file_util.py to file_util.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/datelib.py to datelib.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/basetest.py to basetest.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/run_script_module.py to run_script_module.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/humanize.py to humanize.pyc byte-compiling /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google/apputils/setup_command.py to setup_command.pyc running install_egg_info running egg_info writing requirements to google_apputils.egg-info/requires.txt writing google_apputils.egg-info/PKG-INFO writing namespace_packages to google_apputils.egg-info/namespace_packages.txt writing top-level names to google_apputils.egg-info/top_level.txt writing dependency_links to google_apputils.egg-info/dependency_links.txt writing entry points to google_apputils.egg-info/entry_points.txt reading manifest file 'google_apputils.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'google_apputils.egg-info/SOURCES.txt' Copying google_apputils.egg-info to /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7.egg-info Installing /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/google_apputils-0.4.2-py2.7-nspkg.pth running install_scripts ~/build/BUILD/python-google-apputils-0.4.2 + popd + /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-google-apputils-0.4.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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-google-apputils-0.4.2-6.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WTot1c + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + pushd python2 ~/build/BUILD/python-google-apputils-0.4.2/python2 ~/build/BUILD/python-google-apputils-0.4.2 + /usr/bin/python2 setup.py test running test ~/build/BUILD/python-google-apputils-0.4.2 + popd + exit 0 Processing files: python-google-apputils-0.4.2-6.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0C0KfW + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/doc/python-google-apputils + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/doc/python-google-apputils + cp -pr python2/README /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/doc/python-google-apputils + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8gk3uF + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/licenses/python-google-apputils + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/licenses/python-google-apputils + cp -pr python2/LICENSE /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64/usr/share/licenses/python-google-apputils + exit 0 Provides: python-google-apputils = 0.4.2-6.el7.centos 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: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 warning: Could not canonicalize hostname: 699474d90885400ebe5a17d61874bb2c Wrote: /builddir/build/RPMS/python-google-apputils-0.4.2-6.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CKyxnd + umask 022 + cd /builddir/build/BUILD + cd python-google-apputils-0.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-google-apputils-0.4.2-6.el7.centos.x86_64 + exit 0 Child return code was: 0