Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'], logger=printOutput=Falsetimeout=0gid=135shell=Falseuid=1001env={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4845/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-141494855.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-flake8-2.1.0-3.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'], private_network=Truelogger=printOutput=Falseuid=1001gid=135shell=Falsetimeout=0env={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4845/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-flake8.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oCV8wx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-2.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-2.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0dMmBd + umask 022 + cd /builddir/build/BUILD + cd flake8-2.1.0 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/flake8 copying flake8/_pyflakes.py -> build/lib/flake8 copying flake8/engine.py -> build/lib/flake8 copying flake8/run.py -> build/lib/flake8 copying flake8/__init__.py -> build/lib/flake8 copying flake8/main.py -> build/lib/flake8 copying flake8/hooks.py -> build/lib/flake8 copying flake8/util.py -> build/lib/flake8 creating build/lib/flake8/tests copying flake8/tests/test_engine.py -> build/lib/flake8/tests copying flake8/tests/__init__.py -> build/lib/flake8/tests + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EXu9OT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 + cd flake8-2.1.0 + unset PYTHONPATH + rm -rf /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 creating /builddir/build/BUILDROOT/python-flake8-2.1.0-3.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.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests copying build/lib/flake8/tests/test_engine.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests copying build/lib/flake8/util.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/hooks.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/main.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/__init__.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/run.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/engine.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 copying build/lib/flake8/_pyflakes.py -> /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8 byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.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.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/tests/test_engine.py to test_engine.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/hooks.py to hooks.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/run.py to run.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/engine.py to engine.pyc byte-compiling /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8/_pyflakes.py to _pyflakes.pyc writing byte-compilation script '/tmp/tmpz0Qgaw.py' /usr/bin/python2 -O /tmp/tmpz0Qgaw.py removing /tmp/tmpz0Qgaw.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.1.0-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/flake8-2.1.0-py2.7.egg-info running install_scripts Installing flake8 script to /builddir/build/BUILDROOT/python-flake8-2.1.0-3.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.1.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.1.0-3.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.41R6BA + umask 022 + cd /builddir/build/BUILD + cd flake8-2.1.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_get_parser (flake8.tests.test_engine.TestEngine) ... ok test_get_python_version (flake8.tests.test_engine.TestEngine) ... ok test_get_style_guide (flake8.tests.test_engine.TestEngine) ... ok test_get_style_guide_kwargs (flake8.tests.test_engine.TestEngine) ... ok test_register_extensions (flake8.tests.test_engine.TestEngine) ... ok ---------------------------------------------------------------------- Ran 5 tests in 0.021s OK + exit 0 Processing files: python-flake8-2.1.0-3.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mtzvHh + umask 022 + cd /builddir/build/BUILD + cd flake8-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/share/doc/python-flake8-2.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/share/doc/python-flake8-2.1.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/share/doc/python-flake8-2.1.0 + cp -pr CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64/usr/share/doc/python-flake8-2.1.0 + exit 0 Provides: python-flake8 = 2.1.0-3.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.1.0-3.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-141494855.novalocal Wrote: /builddir/build/RPMS/python-flake8-2.1.0-3.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wX3tVG + umask 022 + cd /builddir/build/BUILD + cd flake8-2.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flake8-2.1.0-3.el7.centos.x86_64 + exit 0 Child return code was: 0