Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-testpath.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611948442.759052/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1609a9709dea487a839b4750a9a32781', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611948442.759052/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-testpath.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/python-testpath-0.4.4-3.fc34.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-testpath.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611948442.759052/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b4b87d188131478ab601a3f65d1252ba', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611948442.759052/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lzcj6wyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-testpath.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6N9LUi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testpath-0.4.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/testpath-0.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd testpath-0.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f testpath/cli-32.exe testpath/cli-64.exe + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XMRZO6 + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + flit build --format wheel Fetching list of valid trove classifiers I-flit.validate Couldn't get list of valid classifiers to check against W-flit.validate Zip timestamps will be from SOURCE_DATE_EPOCH: 2020-07-29 00:00:00 I-flit_core.wheel Copying package file(s) from testpath I-flit_core.wheel Writing metadata files I-flit_core.wheel Writing the record of files I-flit_core.wheel Built wheel: dist/testpath-0.4.4-py2.py3-none-any.whl I-flit_core.wheel + sphinx-build-3 doc html Running Sphinx v3.4.3 making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from http://docs.python.org/3/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/3/objects.inv' not fetchable due to : HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] commands reading sources... [ 40%] env reading sources... [ 60%] fsasserts reading sources... [ 80%] index reading sources... [100%] tempdir looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 20%] commands writing output... [ 40%] env writing output... [ 60%] fsasserts writing output... [ 80%] index writing output... [100%] tempdir generating indices... genindex py-modindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NQFjeh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 + cd testpath-0.4.4 + /usr/bin/python3 -m pip install -I dist/testpath-0.4.4-py2.py3-none-any.whl --root /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 --no-deps --no-index --no-warn-script-location Processing ./dist/testpath-0.4.4-py2.py3-none-any.whl Installing collected packages: testpath Successfully installed testpath-0.4.4 + rm -rfv /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/bin/__pycache__ + for distinfo in /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/*.dist-info /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib64/python3.9/site-packages/*.dist-info + '[' -f /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/testpath-0.4.4.dist-info/direct_url.json ']' + rm -fv /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/testpath-0.4.4.dist-info/direct_url.json removed '/builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/testpath-0.4.4.dist-info/direct_url.json' + sed -i /direct_url.json/d /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/testpath-0.4.4.dist-info/RECORD + for distinfo in /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9/site-packages/*.dist-info /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib64/python3.9/site-packages/*.dist-info + '[' -f '/builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib64/python3.9/site-packages/*.dist-info/direct_url.json' ']' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.4.4-3.fc34 --unique-debug-suffix -0.4.4-3.fc34.x86_64 --unique-debug-src-base python-testpath-0.4.4-3.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/testpath-0.4.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ycUpzS + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + /usr/bin/python3 -m pytest -v ============================= test session starts ============================== platform linux -- Python 3.9.1, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/testpath-0.4.4 collecting ... collected 13 items tests/test_asserts.py::TestAssertFunctions::test_exists PASSED [ 7%] tests/test_asserts.py::TestAssertFunctions::test_isdir PASSED [ 15%] tests/test_asserts.py::TestAssertFunctions::test_isfile PASSED [ 23%] tests/test_asserts.py::TestAssertFunctions::test_isfile_symlink PASSED [ 30%] tests/test_asserts.py::TestAssertFunctions::test_islink PASSED [ 38%] tests/test_asserts.py::TestAssertFunctions::test_ispipe PASSED [ 46%] tests/test_asserts.py::TestAssertFunctions::test_issocket PASSED [ 53%] tests/test_commands.py::CommandsTests::test_assert_calls PASSED [ 61%] tests/test_commands.py::CommandsTests::test_assert_calls_twice PASSED [ 69%] tests/test_commands.py::CommandsTests::test_assert_calls_with_args PASSED [ 76%] tests/test_env.py::EnvironmentUtilsTests::test_modified_env PASSED [ 84%] tests/test_env.py::EnvironmentUtilsTests::test_modified_env_nosnapshot PASSED [ 92%] tests/test_env.py::EnvironmentUtilsTests::test_temporary_env PASSED [100%] ============================== 13 passed in 0.25s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-testpath-0.4.4-3.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.anCmgL + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + DOCDIR=/builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python3-testpath + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python3-testpath + cp -pr README.rst /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python3-testpath + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YSnO1E + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/licenses/python3-testpath + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/licenses/python3-testpath + cp -pr LICENSE /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/licenses/python3-testpath + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-testpath = 0.4.4-3.fc34 python3-testpath = 0.4.4-3.fc34 python3.9-testpath = 0.4.4-3.fc34 python3.9dist(testpath) = 0.4.4 python3dist(testpath) = 0.4.4 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) = 3.9 Obsoletes: python-testpath < 0.4.4-3.fc34 Processing files: python-testpath-doc-0.4.4-3.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aLEAvX + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + DOCDIR=/builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python-testpath-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python-testpath-doc + cp -pr html /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64/usr/share/doc/python-testpath-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-testpath-doc = 0.4.4-3.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 Wrote: /builddir/build/RPMS/python3-testpath-0.4.4-3.fc34.noarch.rpm Wrote: /builddir/build/RPMS/python-testpath-doc-0.4.4-3.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TyO5To + umask 022 + cd /builddir/build/BUILD + cd testpath-0.4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-testpath-0.4.4-3.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0