Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-hacking.spec'], printOutput=Falseuser='mockbuild'gid=135uid=1001timeout=0env={'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}shell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3942/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-hacking.spec'] with env {'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: copr-builder-452534761.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-hacking-0.9.6-1.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-hacking.spec'], printOutput=Falseuser='mockbuild'gid=135logger=uid=1001timeout=0env={'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}shell=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3942/root'private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-hacking.spec'] with env {'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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.Gz9KL8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hacking-0.9.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/hacking-0.9.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hacking-0.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf hacking.egg-info + sed -i 1d hacking/core.py + sed -i 1d hacking/tests/test_doctest.py + sed -i /discover/d test-requirements.txt + sed -i 's/>.*$//' test-requirements.txt + rm requirements.txt + rm test-requirements.txt + sed -i 's|oslosphinx|oslo.sphinx|' doc/source/conf.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.638slr + umask 022 + cd /builddir/build/BUILD + cd hacking-0.9.6 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/hacking creating build/lib/hacking/checks copying hacking/checks/comments.py -> build/lib/hacking/checks copying hacking/checks/localization.py -> build/lib/hacking/checks copying hacking/checks/except_checks.py -> build/lib/hacking/checks copying hacking/checks/dictlist.py -> build/lib/hacking/checks copying hacking/checks/docstrings.py -> build/lib/hacking/checks copying hacking/checks/imports.py -> build/lib/hacking/checks copying hacking/checks/git.py -> build/lib/hacking/checks copying hacking/checks/other.py -> build/lib/hacking/checks copying hacking/checks/python23.py -> build/lib/hacking/checks copying hacking/checks/__init__.py -> build/lib/hacking/checks creating build/lib/hacking/tests copying hacking/tests/test_doctest.py -> build/lib/hacking/tests copying hacking/tests/test_config.py -> build/lib/hacking/tests copying hacking/tests/test_import_exceptions.py -> build/lib/hacking/tests copying hacking/tests/test_local.py -> build/lib/hacking/tests copying hacking/tests/__init__.py -> build/lib/hacking/tests copying hacking/tests/test_gittest.py -> build/lib/hacking/tests copying hacking/core.py -> build/lib/hacking copying hacking/config.py -> build/lib/hacking copying hacking/__init__.py -> build/lib/hacking creating build/lib/hacking/tests/checks copying hacking/tests/checks/test_comments.py -> build/lib/hacking/tests/checks copying hacking/tests/checks/__init__.py -> build/lib/hacking/tests/checks running egg_info creating hacking.egg-info writing hacking.egg-info/PKG-INFO writing top-level names to hacking.egg-info/top_level.txt writing dependency_links to hacking.egg-info/dependency_links.txt writing entry points to hacking.egg-info/entry_points.txt [pbr] Processing SOURCES.txt writing manifest file 'hacking.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution reading manifest template 'MANIFEST.in' warning: no files found matching 'requirements.txt' warning: no files found matching 'test-requirements.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'hacking.egg-info/SOURCES.txt' + sphinx-build doc/source html Making output directory... Running Sphinx v1.1.3 loading pickled environment... not yet created No builder selected, using default: html loading intersphinx inventory from http://docs.python.org/objects.inv... Using openstack theme from /usr/lib/python2.7/site-packages/oslo/sphinx/theme building [html]: targets for 2 source files that are out of date updating environment: 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] readme looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 50%] index writing output... [100%] readme writing additional files... genindex search copying static files... done dumping search index... done dumping object inventory... done build succeeded. + rm -rf html/.doctrees html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qhy0UR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 + cd hacking-0.9.6 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking copying build/lib/hacking/__init__.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking copying build/lib/hacking/config.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking copying build/lib/hacking/core.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/checks copying build/lib/hacking/tests/checks/__init__.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/checks copying build/lib/hacking/tests/checks/test_comments.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/checks copying build/lib/hacking/tests/test_gittest.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests copying build/lib/hacking/tests/__init__.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests copying build/lib/hacking/tests/test_local.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests copying build/lib/hacking/tests/test_import_exceptions.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests copying build/lib/hacking/tests/test_config.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests copying build/lib/hacking/tests/test_doctest.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests creating /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/__init__.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/python23.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/other.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/git.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/imports.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/docstrings.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/dictlist.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/except_checks.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/localization.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks copying build/lib/hacking/checks/comments.py -> /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/core.py to core.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/checks/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/checks/test_comments.py to test_comments.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/test_gittest.py to test_gittest.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/test_local.py to test_local.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/test_import_exceptions.py to test_import_exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/test_config.py to test_config.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/tests/test_doctest.py to test_doctest.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/python23.py to python23.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/other.py to other.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/git.py to git.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/imports.py to imports.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/docstrings.py to docstrings.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/dictlist.py to dictlist.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/except_checks.py to except_checks.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/localization.py to localization.pyc byte-compiling /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking/checks/comments.py to comments.pyc writing byte-compilation script '/tmp/tmp0JTRn6.py' /usr/bin/python2 -O /tmp/tmp0JTRn6.py removing /tmp/tmp0JTRn6.py running install_egg_info running egg_info writing hacking.egg-info/PKG-INFO writing top-level names to hacking.egg-info/top_level.txt writing dependency_links to hacking.egg-info/dependency_links.txt writing entry points to hacking.egg-info/entry_points.txt [pbr] Reusing existing SOURCES.txt Copying hacking.egg-info to /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/hacking-0.9.6-py2.7.egg-info running install_scripts + /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/hacking-0.9.6 /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-hacking-0.9.6-1.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.Q7sCOk + umask 022 + cd /builddir/build/BUILD + cd hacking-0.9.6 + /usr/bin/python2 -m unittest2.__main__ ....................................................................................................................................................................... ---------------------------------------------------------------------- Ran 167 tests in 0.105s OK + exit 0 Processing files: python-hacking-0.9.6-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wFBDrP + umask 022 + cd /builddir/build/BUILD + cd hacking-0.9.6 + DOCDIR=/builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/share/doc/python-hacking-0.9.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/share/doc/python-hacking-0.9.6 + cp -pr html /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/share/doc/python-hacking-0.9.6 + cp -pr LICENSE /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/share/doc/python-hacking-0.9.6 + cp -pr README.rst /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64/usr/share/doc/python-hacking-0.9.6 + exit 0 Provides: python-hacking = 0.9.6-1.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-hacking-0.9.6-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-452534761.novalocal Wrote: /builddir/build/RPMS/python-hacking-0.9.6-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6LNw1T + umask 022 + cd /builddir/build/BUILD + cd hacking-0.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-hacking-0.9.6-1.el7.centos.x86_64 + exit 0 Child return code was: 0