Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'], shell=Falsetimeout=0user='mockbuild'uid=1001env={'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5848/root'printOutput=Falselogger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-790445091.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-flake8-2.0-5.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-flake8.spec'], shell=Falsetimeout=0user='mockbuild'uid=1001env={'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}gid=135private_network=TrueprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5848/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hxPur7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-2.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VmDQHi + umask 022 + cd /builddir/build/BUILD + cd flake8-2.0 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/flake8 copying flake8/util.py -> build/lib/flake8 copying flake8/_pyflakes.py -> build/lib/flake8 copying flake8/run.py -> build/lib/flake8 copying flake8/main.py -> build/lib/flake8 copying flake8/engine.py -> build/lib/flake8 copying flake8/__init__.py -> build/lib/flake8 copying flake8/hooks.py -> build/lib/flake8 creating build/lib/flake8/tests copying flake8/tests/__init__.py -> build/lib/flake8/tests copying flake8/tests/test_flakes.py -> build/lib/flake8/tests + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DqhR8t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 + cd flake8-2.0 + unset PYTHONPATH + rm -rf /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 creating /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests copying build/lib/flake8/tests/test_flakes.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests copying build/lib/flake8/tests/__init__.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests copying build/lib/flake8/hooks.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/__init__.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/engine.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/main.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/run.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/_pyflakes.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/util.py -> /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests/test_flakes.py to test_flakes.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/hooks.py to hooks.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/engine.py to engine.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/run.py to run.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/_pyflakes.py to _pyflakes.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/util.py to util.pyc writing byte-compilation script '/tmp/tmpFfaPR4.py' /usr/bin/python2 -O /tmp/tmpFfaPR4.py removing /tmp/tmpFfaPR4.py running install_egg_info running egg_info writing requirements to flake8.egg-info/requires.txt writing flake8.egg-info/PKG-INFO writing top-level names to flake8.egg-info/top_level.txt writing dependency_links to flake8.egg-info/dependency_links.txt writing entry points to flake8.egg-info/entry_points.txt reading manifest file 'flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'flake8.egg-info/SOURCES.txt' Copying flake8.egg-info to /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8-2.0-py2.7.egg-info running install_scripts Installing flake8 script to /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/bin + /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/flake8-2.0 /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-flake8-2.0-5.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.LWqfdG + umask 022 + cd /builddir/build/BUILD + cd flake8-2.0 + /usr/bin/python2 setup.py nosetests --verbosity=2 running nosetests running egg_info writing requirements to flake8.egg-info/requires.txt writing flake8.egg-info/PKG-INFO writing top-level names to flake8.egg-info/top_level.txt writing dependency_links to flake8.egg-info/dependency_links.txt writing entry points to flake8.egg-info/entry_points.txt reading manifest file 'flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'flake8.egg-info/SOURCES.txt' running build_ext test_exception (flake8.tests.test_flakes.TestFlake) ... ok test_from_import_exception_in_scope (flake8.tests.test_flakes.TestFlake) ... ok test_import_exception_in_scope (flake8.tests.test_flakes.TestFlake) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.010s OK + exit 0 Processing files: python-flake8-2.0-5.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fCnlBS + umask 022 + cd /builddir/build/BUILD + cd flake8-2.0 + DOCDIR=/builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/share/doc/python-flake8-2.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/share/doc/python-flake8-2.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/share/doc/python-flake8-2.0 + cp -pr CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64/usr/share/doc/python-flake8-2.0 + exit 0 Provides: python-flake8 = 2.0-5.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: /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-790445091.novalocal Wrote: /builddir/build/RPMS/python-flake8-2.0-5.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eQppgj + umask 022 + cd /builddir/build/BUILD + cd flake8-2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flake8-2.0-5.el7.centos.x86_64 + exit 0 Child return code was: 0