Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-colorlog.spec'], chrootPath='/var/lib/mock/725181-epel-7-x86_64-1520415344.426555/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b104c22b00604fa5a04b6ba1f6699833', '-D', '/var/lib/mock/725181-epel-7-x86_64-1520415344.426555/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-colorlog.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 BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: warning: Could not canonicalize hostname: b104c22b00604fa5a04b6ba1f6699833 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-colorlog-3.1.0-2.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-colorlog.spec'], chrootPath='/var/lib/mock/725181-epel-7-x86_64-1520415344.426555/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0cd9bbe3f3b54292b996e970f4b92a1a', '-D', '/var/lib/mock/725181-epel-7-x86_64-1520415344.426555/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-colorlog.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.cz9ulz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-colorlog-3.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v3.1.0.tar.gz + /usr/bin/tar -xvvf - drwxrwxr-x root/root 0 2017-07-28 11:19 python-colorlog-3.1.0/ -rw-rw-r-- root/root 55 2017-07-28 11:19 python-colorlog-3.1.0/.gitignore -rw-rw-r-- root/root 148 2017-07-28 11:19 python-colorlog-3.1.0/.travis.yml -rw-rw-r-- root/root 1102 2017-07-28 11:19 python-colorlog-3.1.0/LICENSE -rw-rw-r-- root/root 34 2017-07-28 11:19 python-colorlog-3.1.0/MANIFEST.in -rw-rw-r-- root/root 8373 2017-07-28 11:19 python-colorlog-3.1.0/README.md drwxrwxr-x root/root 0 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/ -rw-rw-r-- root/root 635 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/__init__.py -rw-rw-r-- root/root 7768 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/colorlog.py -rw-rw-r-- root/root 1245 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/escape_codes.py -rw-rw-r-- root/root 1358 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/logging.py drwxrwxr-x root/root 0 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/ -rw-rw-r-- root/root 2088 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/conftest.py -rw-rw-r-- root/root 3146 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_colorlog.py -rw-rw-r-- root/root 313 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_config.ini -rw-rw-r-- root/root 1270 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_config.py -rw-rw-r-- root/root 1405 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_escape_codes.py -rw-rw-r-- root/root 316 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_example.py -rw-rw-r-- root/root 352 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_exports.py -rw-rw-r-- root/root 316 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/test_logging.py -rw-rw-r-- root/root 280 2017-07-28 11:19 python-colorlog-3.1.0/colorlog/tests/testing_stream_handler.py drwxrwxr-x root/root 0 2017-07-28 11:19 python-colorlog-3.1.0/doc/ -rw-rw-r-- root/root 473 2017-07-28 11:19 python-colorlog-3.1.0/doc/custom_level.py -rw-rw-r-- root/root 10671 2017-07-28 11:19 python-colorlog-3.1.0/doc/example.png -rw-rw-r-- root/root 1041 2017-07-28 11:19 python-colorlog-3.1.0/doc/example.py -rw-rw-r-- root/root 28 2017-07-28 11:19 python-colorlog-3.1.0/setup.cfg -rw-rw-r-- root/root 1119 2017-07-28 11:19 python-colorlog-3.1.0/setup.py -rw-rw-r-- root/root 439 2017-07-28 11:19 python-colorlog-3.1.0/tox.ini + STATUS=0 + '[' 0 -ne 0 ']' + cd python-colorlog-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kntomB + exit 0 + umask 022 + cd /builddir/build/BUILD + cd python-colorlog-3.1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/colorlog copying colorlog/logging.py -> build/lib/colorlog copying colorlog/escape_codes.py -> build/lib/colorlog copying colorlog/colorlog.py -> build/lib/colorlog copying colorlog/__init__.py -> build/lib/colorlog BUILDSTDERR: package init file 'colorlog/tests/__init__.py' not found (or not a regular file) creating build/lib/colorlog/tests copying colorlog/tests/testing_stream_handler.py -> build/lib/colorlog/tests copying colorlog/tests/test_logging.py -> build/lib/colorlog/tests copying colorlog/tests/test_exports.py -> build/lib/colorlog/tests copying colorlog/tests/test_example.py -> build/lib/colorlog/tests copying colorlog/tests/test_escape_codes.py -> build/lib/colorlog/tests copying colorlog/tests/test_config.py -> build/lib/colorlog/tests copying colorlog/tests/test_colorlog.py -> build/lib/colorlog/tests copying colorlog/tests/conftest.py -> build/lib/colorlog/tests + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SpwXuH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 + cd python-colorlog-3.1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog creating /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/conftest.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_colorlog.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_config.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_escape_codes.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_example.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_exports.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/test_logging.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/tests/testing_stream_handler.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests copying build/lib/colorlog/__init__.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog copying build/lib/colorlog/colorlog.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog copying build/lib/colorlog/escape_codes.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog copying build/lib/colorlog/logging.py -> /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/conftest.py to conftest.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_colorlog.py to test_colorlog.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_config.py to test_config.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_escape_codes.py to test_escape_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_example.py to test_example.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_exports.py to test_exports.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/test_logging.py to test_logging.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/tests/testing_stream_handler.py to testing_stream_handler.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/colorlog.py to colorlog.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/escape_codes.py to escape_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog/logging.py to logging.pyc writing byte-compilation script '/tmp/tmp7edJ12.py' /usr/bin/python2 -O /tmp/tmp7edJ12.py removing /tmp/tmp7edJ12.py running install_egg_info running egg_info creating colorlog.egg-info writing requirements to colorlog.egg-info/requires.txt writing colorlog.egg-info/PKG-INFO writing top-level names to colorlog.egg-info/top_level.txt writing dependency_links to colorlog.egg-info/dependency_links.txt writing manifest file 'colorlog.egg-info/SOURCES.txt' BUILDSTDERR: package init file 'colorlog/tests/__init__.py' not found (or not a regular file) reading manifest file 'colorlog.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'colorlog.egg-info/SOURCES.txt' Copying colorlog.egg-info to /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/lib/python2.7/site-packages/colorlog-3.0.1-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/python-colorlog-3.1.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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-colorlog-3.1.0-2.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 Processing files: python2-colorlog-3.1.0-2.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SV91UO + umask 022 + cd /builddir/build/BUILD + cd python-colorlog-3.1.0 + DOCDIR=/builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/doc/python2-colorlog-3.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/doc/python2-colorlog-3.1.0 + cp -pr README.md /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/doc/python2-colorlog-3.1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QX6nmW + umask 022 + cd /builddir/build/BUILD + cd python-colorlog-3.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/licenses/python2-colorlog-3.1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/licenses/python2-colorlog-3.1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64/usr/share/licenses/python2-colorlog-3.1.0 + exit 0 Provides: python2-colorlog = 3.1.0-2.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-colorlog-3.1.0-2.el7.centos.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: 0cd9bbe3f3b54292b996e970f4b92a1a Wrote: /builddir/build/RPMS/python2-colorlog-3.1.0-2.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cXnpWf + umask 022 + cd /builddir/build/BUILD + cd python-colorlog-3.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-colorlog-3.1.0-2.el7.centos.x86_64 + exit 0 Child return code was: 0