Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-freezegun.spec'], chrootPath='/var/lib/mock/1005444-epel-7-x86_64-1565895001.451659/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '50624d5981ac4cfe9c073dff0b3bdfcb', '-D', '/var/lib/mock/1005444-epel-7-x86_64-1565895001.451659/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf', '--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-freezegun.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: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-freezegun-0.3.11-4.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-freezegun.spec'], chrootPath='/var/lib/mock/1005444-epel-7-x86_64-1565895001.451659/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '91d60a6d6c6f4970875f09c47f4d277e', '-D', '/var/lib/mock/1005444-epel-7-x86_64-1565895001.451659/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a22abnkt:/etc/resolv.conf', '--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-freezegun.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.JV9M0h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freezegun-0.3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/freezegun-0.3.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd freezegun-0.3.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Ignore-relevant-parts-of-pytest-by-default.patch + /usr/bin/patch -p1 -s + rm -rf freezegun.egg-info + rm -rf /builddir/build/BUILD/python3-python-freezegun-0.3.11-4.el7 + cp -a . /builddir/build/BUILD/python3-python-freezegun-0.3.11-4.el7 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xGwPGP + umask 022 + cd /builddir/build/BUILD + cd freezegun-0.3.11 + 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' BUILDSTDERR: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' BUILDSTDERR: warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/freezegun copying freezegun/api.py -> build/lib/freezegun copying freezegun/_async.py -> build/lib/freezegun copying freezegun/__init__.py -> build/lib/freezegun running egg_info creating freezegun.egg-info writing requirements to freezegun.egg-info/requires.txt writing freezegun.egg-info/PKG-INFO writing top-level names to freezegun.egg-info/top_level.txt writing dependency_links to freezegun.egg-info/dependency_links.txt writing manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '__pycache__' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'freezegun.egg-info/SOURCES.txt' + sleep 1 + pushd /builddir/build/BUILD/python3-python-freezegun-0.3.11-4.el7 ~/build/BUILD/python3-python-freezegun-0.3.11-4.el7 ~/build/BUILD/freezegun-0.3.11 + 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/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib creating build/lib/freezegun copying freezegun/__init__.py -> build/lib/freezegun copying freezegun/_async.py -> build/lib/freezegun copying freezegun/api.py -> build/lib/freezegun running egg_info creating freezegun.egg-info writing freezegun.egg-info/PKG-INFO writing dependency_links to freezegun.egg-info/dependency_links.txt writing requirements to freezegun.egg-info/requires.txt writing top-level names to freezegun.egg-info/top_level.txt writing manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '__pycache__' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'freezegun.egg-info/SOURCES.txt' + sleep 1 + popd ~/build/BUILD/freezegun-0.3.11 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DXRMjw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 + cd freezegun-0.3.11 + pushd /builddir/build/BUILD/python3-python-freezegun-0.3.11-4.el7 ~/build/BUILD/python3-python-freezegun-0.3.11-4.el7 ~/build/BUILD/freezegun-0.3.11 + 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/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun copying build/lib/freezegun/api.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun copying build/lib/freezegun/_async.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun copying build/lib/freezegun/__init__.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun/api.py to api.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun/_async.py to _async.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmp1lpwuya3.py' /usr/bin/python3.6 /tmp/tmp1lpwuya3.py removing /tmp/tmp1lpwuya3.py running install_egg_info running egg_info writing freezegun.egg-info/PKG-INFO writing dependency_links to freezegun.egg-info/dependency_links.txt writing requirements to freezegun.egg-info/requires.txt writing top-level names to freezegun.egg-info/top_level.txt reading manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '__pycache__' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'freezegun.egg-info/SOURCES.txt' Copying freezegun.egg-info to /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6/site-packages/freezegun-0.3.11-py3.6.egg-info running install_scripts ~/build/BUILD/freezegun-0.3.11 + popd + 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-freezegun-0.3.11-4.el7.x86_64 BUILDSTDERR: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' BUILDSTDERR: warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun copying build/lib/freezegun/__init__.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun copying build/lib/freezegun/_async.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun copying build/lib/freezegun/api.py -> /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun/_async.py to _async.pyc byte-compiling /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun/api.py to api.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/freezegun/_async.py", line 12 BUILDSTDERR: result = yield from coroutine(time_factory, *args, **kwargs) BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax writing byte-compilation script '/tmp/tmpzw7i5Y.py' /usr/bin/python2 -O /tmp/tmpzw7i5Y.py BUILDSTDERR: File "/usr/lib/python2.7/site-packages/freezegun/_async.py", line 12 BUILDSTDERR: result = yield from coroutine(time_factory, *args, **kwargs) BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax removing /tmp/tmpzw7i5Y.py running install_egg_info running egg_info writing requirements to freezegun.egg-info/requires.txt writing freezegun.egg-info/PKG-INFO writing top-level names to freezegun.egg-info/top_level.txt writing dependency_links to freezegun.egg-info/dependency_links.txt reading manifest file 'freezegun.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '__pycache__' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'freezegun.egg-info/SOURCES.txt' Copying freezegun.egg-info to /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7/site-packages/freezegun-0.3.11-py2.7.egg-info running install_scripts + rm -f /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64//usr/lib/python2.7/site-packages/freezegun/_async.py + /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/freezegun-0.3.11 /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-freezegun-0.3.11-4.el7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HNgQKf + umask 022 + cd /builddir/build/BUILD + cd freezegun-0.3.11 + pushd /builddir/build/BUILD/python3-python-freezegun-0.3.11-4.el7 + nosetests-3.6 tests/ ~/build/BUILD/python3-python-freezegun-0.3.11-4.el7 ~/build/BUILD/freezegun-0.3.11 BUILDSTDERR: .........................S.............................S............................................ BUILDSTDERR: Name Stmts Miss Cover Missing BUILDSTDERR: --------------------------------------------------- BUILDSTDERR: freezegun.py 8 0 100% BUILDSTDERR: freezegun/_async.py 11 1 91% 12 BUILDSTDERR: freezegun/api.py 485 44 91% 40-46, 50-51, 61-65, 76-77, 81-83, 101-102, 134, 175, 187, 334-337, 407, 505, 513-515, 619, 621, 623, 630-632, 656, 680, 696, 717-719, 738-741 BUILDSTDERR: --------------------------------------------------- BUILDSTDERR: TOTAL 504 45 91% BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 100 tests in 1.107s BUILDSTDERR: OK (SKIP=2) + popd ~/build/BUILD/freezegun-0.3.11 + nosetests-2.7 tests/ BUILDSTDERR: SS........................S............................S............................................ BUILDSTDERR: Name Stmts Miss Cover Missing BUILDSTDERR: --------------------------------------------- BUILDSTDERR: freezegun 8 0 100% BUILDSTDERR: freezegun.api 485 45 91% 40-46, 50-51, 55-56, 60, 65, 76-77, 81-83, 101-102, 134, 175, 334-337, 407, 468, 505, 585, 621, 623, 630-632, 650, 656, 673-674, 680, 696, 717-719, 738-741 BUILDSTDERR: --------------------------------------------- BUILDSTDERR: TOTAL 493 45 91% BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 100 tests in 0.933s BUILDSTDERR: OK (SKIP=4) + exit 0 Processing files: python2-freezegun-0.3.11-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TELjz9 + umask 022 + cd /builddir/build/BUILD + cd freezegun-0.3.11 + DOCDIR=/builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python2-freezegun-0.3.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python2-freezegun-0.3.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python2-freezegun-0.3.11 + cp -pr LICENSE /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python2-freezegun-0.3.11 + exit 0 Provides: python-freezegun = 0.3.11-4.el7 python2-freezegun = 0.3.11-4.el7 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 Obsoletes: python-freezegun < 0.3.11-4.el7 Processing files: python3-freezegun-0.3.11-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DCCQI3 + umask 022 + cd /builddir/build/BUILD + cd freezegun-0.3.11 + DOCDIR=/builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python3-freezegun-0.3.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python3-freezegun-0.3.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python3-freezegun-0.3.11 + cp -pr LICENSE /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64/usr/share/doc/python3-freezegun-0.3.11 + exit 0 Provides: python3-freezegun = 0.3.11-4.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 Wrote: /builddir/build/RPMS/python2-freezegun-0.3.11-4.el7.noarch.rpm Wrote: /builddir/build/RPMS/python3-freezegun-0.3.11-4.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zVCxiP + umask 022 + cd /builddir/build/BUILD + cd freezegun-0.3.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-freezegun-0.3.11-4.el7.x86_64 + exit 0 Child return code was: 0