Mock Version: 1.4.16 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/918933-fedora-rawhide-x86_64-1559312136.556496/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.new7ya_8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.new7ya_8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd1949a70f73f46328406fc0885b3ff17', '-D', '/var/lib/mock/918933-fedora-rawhide-x86_64-1559312136.556496/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.new7ya_8:/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-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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-testpath-0.3.1-7.fc31.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/918933-fedora-rawhide-x86_64-1559312136.556496/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.new7ya_8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.new7ya_8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b47ddf82099a462f92b243cd44a013ad', '-D', '/var/lib/mock/918933-fedora-rawhide-x86_64-1559312136.556496/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.new7ya_8:/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-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': '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.RQiVGt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testpath-0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/testpath-0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd testpath-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f testpath/cli-32.exe testpath/cli-64.exe + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yxnqMt + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + /usr/bin/python3 -m flit.tomlify Written 'pyproject.toml' Please check the new file, then remove flit.ini + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 -m pip wheel --no-deps --use-pep517 --no-build-isolation --progress-bar off --verbose . Created temporary directory: /tmp/pip-ephem-wheel-cache-mjqspgl4 Created temporary directory: /tmp/pip-req-tracker-ugxlz5pf Created requirements tracker '/tmp/pip-req-tracker-ugxlz5pf' Created temporary directory: /tmp/pip-wheel-e3a4aj4b Processing /builddir/build/BUILD/testpath-0.3.1 Created temporary directory: /tmp/pip-req-build-ooxxwa80 Added file:///builddir/build/BUILD/testpath-0.3.1 to build tracker '/tmp/pip-req-tracker-ugxlz5pf' Preparing wheel metadata: started BUILDSTDERR: Running command /usr/bin/python3 /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnip6uipw BUILDSTDERR: “dev-requires = ...” is obsolete. Use “requires-extra = {"dev" = ...}” instead. BUILDSTDERR: Couldn't get list of valid classifiers to check against Preparing wheel metadata: finished with status 'done' Source in /tmp/pip-req-build-ooxxwa80 has version 0.3.1, which satisfies requirement testpath==0.3.1 from file:///builddir/build/BUILD/testpath-0.3.1 Removed testpath==0.3.1 from file:///builddir/build/BUILD/testpath-0.3.1 from build tracker '/tmp/pip-req-tracker-ugxlz5pf' Building wheels for collected packages: testpath Created temporary directory: /tmp/pip-wheel-h7ovwcbp Destination directory: /tmp/pip-wheel-h7ovwcbp Building wheel for testpath (PEP 517): started BUILDSTDERR: Running command /usr/bin/python3 /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp7nv7988p BUILDSTDERR: “dev-requires = ...” is obsolete. Use “requires-extra = {"dev" = ...}” instead. BUILDSTDERR: Couldn't get list of valid classifiers to check against Building wheel for testpath (PEP 517): finished with status 'done' Stored in directory: /builddir/build/BUILD/testpath-0.3.1 Successfully built testpath Cleaning up... Removing source in /tmp/pip-req-build-ooxxwa80 Removed build tracker '/tmp/pip-req-tracker-ugxlz5pf' 1 location(s) to search for versions of pip: * https://pypi.org/simple/pip/ Getting page https://pypi.org/simple/pip/ Looking up "https://pypi.org/simple/pip/" in the cache Request header has "max_age" as 0, cache bypassed Starting new HTTPS connection (1): pypi.org:443 Could not fetch URL https://pypi.org/simple/pip/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) - skipping + sphinx-build-3 doc html Running Sphinx v2.0.1 making output directory... done loading intersphinx inventory from http://docs.python.org/3/objects.inv... BUILDSTDERR: WARNING: failed to reach any of the inventories with the following issues: BUILDSTDERR: 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 -2] Name or service not known')) 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: 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 writing additional pages... search BUILDSTDERR: copying static files... WARNING: html_static_path entry '/builddir/build/BUILD/testpath-0.3.1/doc/_static' does not exist 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jhzCHt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 + cd testpath-0.3.1 + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 --strip-file-prefix /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 --no-deps --progress-bar off --verbose ./testpath-0.3.1-py2.py3-none-any.whl Created temporary directory: /tmp/pip-ephem-wheel-cache-lg5seikf Created temporary directory: /tmp/pip-req-tracker-0k101yhs Created requirements tracker '/tmp/pip-req-tracker-0k101yhs' Created temporary directory: /tmp/pip-install-aed5q1s_ Processing ./testpath-0.3.1-py2.py3-none-any.whl Added testpath==0.3.1 from file:///builddir/build/BUILD/testpath-0.3.1/testpath-0.3.1-py2.py3-none-any.whl to build tracker '/tmp/pip-req-tracker-0k101yhs' Removed testpath==0.3.1 from file:///builddir/build/BUILD/testpath-0.3.1/testpath-0.3.1-py2.py3-none-any.whl from build tracker '/tmp/pip-req-tracker-0k101yhs' Installing collected packages: testpath Successfully installed testpath-0.3.1 Cleaning up... Removed build tracker '/tmp/pip-req-tracker-0k101yhs' 1 location(s) to search for versions of pip: * https://pypi.org/simple/pip/ Getting page https://pypi.org/simple/pip/ Looking up "https://pypi.org/simple/pip/" in the cache Request header has "max_age" as 0, cache bypassed Starting new HTTPS connection (1): pypi.org:443 Could not fetch URL https://pypi.org/simple/pip/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) - skipping + '[' -e /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64/usr/bin ']' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.3.1-7.fc31 --unique-debug-suffix -0.3.1-7.fc31.x86_64 --unique-debug-src-base python-testpath-0.3.1-7.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/testpath-0.3.1 BUILDSTDERR: 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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.N1tbJv + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + /usr/bin/python3 -m pytest -v ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.11.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/testpath-0.3.1 collecting ... collected 11 items tests/test_asserts.py::TestAssertFunctions::test_exists PASSED [ 9%] tests/test_asserts.py::TestAssertFunctions::test_isdir PASSED [ 18%] tests/test_asserts.py::TestAssertFunctions::test_isfile PASSED [ 27%] tests/test_asserts.py::TestAssertFunctions::test_isfile_symlink PASSED [ 36%] tests/test_asserts.py::TestAssertFunctions::test_islink PASSED [ 45%] tests/test_commands.py::CommandsTests::test_assert_calls PASSED [ 54%] tests/test_commands.py::CommandsTests::test_assert_calls_twice PASSED [ 63%] tests/test_commands.py::CommandsTests::test_assert_calls_with_args PASSED [ 72%] tests/test_env.py::EnvironmentUtilsTests::test_modified_env PASSED [ 81%] tests/test_env.py::EnvironmentUtilsTests::test_modified_env_nosnapshot PASSED [ 90%] tests/test_env.py::EnvironmentUtilsTests::test_temporary_env PASSED [100%] ========================== 11 passed in 0.27 seconds =========================== + exit 0 Processing files: python3-testpath-0.3.1-7.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Dw125u + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.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.3.1-7.fc31.x86_64/usr/share/doc/python3-testpath + cp -pr README.rst /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64/usr/share/doc/python3-testpath + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1Mf8it + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.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.3.1-7.fc31.x86_64/usr/share/licenses/python3-testpath + cp -pr LICENSE /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64/usr/share/licenses/python3-testpath + exit 0 Provides: python3-testpath = 0.3.1-7.fc31 python3.7dist(testpath) = 0.3.1 python3dist(testpath) = 0.3.1 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.7 Processing files: python-testpath-doc-0.3.1-7.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.E9DVKt + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.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.3.1-7.fc31.x86_64/usr/share/doc/python-testpath-doc + cp -pr html /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64/usr/share/doc/python-testpath-doc + exit 0 Provides: python-testpath-doc = 0.3.1-7.fc31 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.3.1-7.fc31.x86_64 Wrote: /builddir/build/RPMS/python3-testpath-0.3.1-7.fc31.noarch.rpm Wrote: /builddir/build/RPMS/python-testpath-doc-0.3.1-7.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7smm3v + umask 022 + cd /builddir/build/BUILD + cd testpath-0.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-testpath-0.3.1-7.fc31.x86_64 + exit 0 Child return code was: 0