Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyproject-rpm-macros.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611738034.526916/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.v0b04gbb:/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.v0b04gbb:/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', '7022cefa7d354e62bbe4bc20e062504e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611738034.526916/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v0b04gbb:/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/pyproject-rpm-macros.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=1611705600 Wrote: /builddir/build/SRPMS/pyproject-rpm-macros-0-36.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/pyproject-rpm-macros.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611738034.526916/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.v0b04gbb:/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.v0b04gbb:/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', '46024a5dcd0d471388589845fa62b1f5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611738034.526916/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v0b04gbb:/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/pyproject-rpm-macros.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=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.f7MDId + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyproject-rpm-macros-0 + /usr/bin/mkdir -p pyproject-rpm-macros-0 + cd pyproject-rpm-macros-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/macros.pyproject /builddir/build/SOURCES/pyproject_buildrequires.py /builddir/build/SOURCES/pyproject_save_files.py /builddir/build/SOURCES/pyproject_convert.py /builddir/build/SOURCES/pyproject_preprocess_record.py /builddir/build/SOURCES/pyproject_construct_toxenv.py /builddir/build/SOURCES/test_pyproject_buildrequires.py /builddir/build/SOURCES/test_pyproject_save_files.py /builddir/build/SOURCES/pyproject_buildrequires_testcases.yaml /builddir/build/SOURCES/pyproject_save_files_test_data.yaml /builddir/build/SOURCES/test_RECORD /builddir/build/SOURCES/README.md /builddir/build/SOURCES/LICENSE . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w1OUjK + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KHBxPJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64 + cd pyproject-rpm-macros-0 + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/macros.d + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat + install -m 644 macros.pyproject /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/macros.d/ + install -m 644 pyproject_buildrequires.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat/ + install -m 644 pyproject_convert.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat/ + install -m 644 pyproject_save_files.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat/ + install -m 644 pyproject_preprocess_record.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat/ + install -m 644 pyproject_construct_toxenv.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/lib/rpm/redhat/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0-36.fc34 --unique-debug-suffix -0-36.fc34.x86_64 --unique-debug-src-base pyproject-rpm-macros-0-36.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pyproject-rpm-macros-0 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.moBPs0 + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + export HOSTNAME=rpmbuild + HOSTNAME=rpmbuild + /usr/bin/python3 -m pytest -vv --doctest-modules ============================= 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/pyproject-rpm-macros-0 collecting ... collected 67 items pyproject_preprocess_record.py::pyproject_preprocess_record.parse_record PASSED [ 1%] pyproject_preprocess_record.py::pyproject_preprocess_record.read_record PASSED [ 2%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.from_real PASSED [ 4%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.normpath PASSED [ 5%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.to_real PASSED [ 7%] pyproject_save_files.py::pyproject_save_files.parse_varargs PASSED [ 8%] pyproject_save_files.py::pyproject_save_files.pycached PASSED [ 10%] test_pyproject_buildrequires.py::test_data[No pyproject.toml, nothing installed] PASSED [ 11%] test_pyproject_buildrequires.py::test_data[Nothing installed yet] PASSED [ 13%] test_pyproject_buildrequires.py::test_data[Insufficient version of setuptools] PASSED [ 14%] test_pyproject_buildrequires.py::test_data[No pyproject.toml, empty setup.py] PASSED [ 16%] test_pyproject_buildrequires.py::test_data[Default build system, empty setup.py] PASSED [ 17%] test_pyproject_buildrequires.py::test_data[Erroring setup.py] PASSED [ 19%] test_pyproject_buildrequires.py::test_data[Bad character in version] PASSED [ 20%] test_pyproject_buildrequires.py::test_data[Build system dependencies in pyproject.toml with extras] PASSED [ 22%] test_pyproject_buildrequires.py::test_data[Build system dependencies in pyproject.toml without extras] PASSED [ 23%] test_pyproject_buildrequires.py::test_data[Default build system, build dependencies in setup.py] PASSED [ 25%] test_pyproject_buildrequires.py::test_data[Default build system, run dependencies in setup.py] PASSED [ 26%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (not selected)] PASSED [ 28%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (selected)] PASSED [ 29%] test_pyproject_buildrequires.py::test_data[Run dependencies with multiple extras] PASSED [ 31%] test_pyproject_buildrequires.py::test_data[Tox dependencies] PASSED [ 32%] test_pyproject_buildrequires.py::test_data[Tox extras] PASSED [ 34%] test_pyproject_save_files.py::test_parse_record_tldr PASSED [ 35%] test_pyproject_save_files.py::test_parse_record_tensorflow PASSED [ 37%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected0-True] PASSED [ 38%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected0-False] PASSED [ 40%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected1-True] PASSED [ 41%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected1-False] PASSED [ 43%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected2-True] PASSED [ 44%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected2-False] PASSED [ 46%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected3-True] PASSED [ 47%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected3-False] PASSED [ 49%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected4-True] PASSED [ 50%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected4-False] PASSED [ 52%] test_pyproject_save_files.py::test_generate_file_list[ipykernel-ipykernel-expected5-True] PASSED [ 53%] test_pyproject_save_files.py::test_generate_file_list[ipykernel-ipykernel-expected5-False] PASSED [ 55%] test_pyproject_save_files.py::test_generate_file_list[zope-zope-expected6-True] PASSED [ 56%] test_pyproject_save_files.py::test_generate_file_list[zope-zope-expected6-False] PASSED [ 58%] test_pyproject_save_files.py::test_generate_file_list[django-django-expected7-True] PASSED [ 59%] test_pyproject_save_files.py::test_generate_file_list[django-django-expected7-False] PASSED [ 61%] test_pyproject_save_files.py::test_generate_file_list[printrun-printrun-expected8-True] PASSED [ 62%] test_pyproject_save_files.py::test_generate_file_list[printrun-printrun-expected8-False] PASSED [ 64%] test_pyproject_save_files.py::test_generate_file_list_unused_glob PASSED [ 65%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected0-True] PASSED [ 67%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected0-False] PASSED [ 68%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected1-True] PASSED [ 70%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected1-False] PASSED [ 71%] test_pyproject_save_files.py::test_cli[requests-requests-expected2-True] PASSED [ 73%] test_pyproject_save_files.py::test_cli[requests-requests-expected2-False] PASSED [ 74%] test_pyproject_save_files.py::test_cli[tldr-*-expected3-True] PASSED [ 76%] test_pyproject_save_files.py::test_cli[tldr-*-expected3-False] PASSED [ 77%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected4-True] PASSED [ 79%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected4-False] PASSED [ 80%] test_pyproject_save_files.py::test_cli[ipykernel-ipykernel-expected5-True] PASSED [ 82%] test_pyproject_save_files.py::test_cli[ipykernel-ipykernel-expected5-False] PASSED [ 83%] test_pyproject_save_files.py::test_cli[zope-zope-expected6-True] PASSED [ 85%] test_pyproject_save_files.py::test_cli[zope-zope-expected6-False] PASSED [ 86%] test_pyproject_save_files.py::test_cli[django-django-expected7-True] PASSED [ 88%] test_pyproject_save_files.py::test_cli[django-django-expected7-False] PASSED [ 89%] test_pyproject_save_files.py::test_cli[printrun-printrun-expected8-True] PASSED [ 91%] test_pyproject_save_files.py::test_cli[printrun-printrun-expected8-False] PASSED [ 92%] test_pyproject_save_files.py::test_cli_no_pyproject_record PASSED [ 94%] test_pyproject_save_files.py::test_cli_too_many_RECORDS PASSED [ 95%] test_pyproject_save_files.py::test_cli_bad_argument PASSED [ 97%] test_pyproject_save_files.py::test_cli_bad_option PASSED [ 98%] test_pyproject_save_files.py::test_cli_bad_namespace PASSED [100%] =============================== warnings summary =============================== test_pyproject_buildrequires.py::test_data[Bad character in version] /usr/lib/python3.9/site-packages/packaging/specifiers.py:283: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 67 passed, 1 warning in 17.64s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: pyproject-rpm-macros-0-36.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.imFFzo + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + DOCDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/doc/pyproject-rpm-macros + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/doc/pyproject-rpm-macros + cp -pr README.md /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/doc/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.r9wT5c + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + LICENSEDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/licenses/pyproject-rpm-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/licenses/pyproject-rpm-macros + cp -pr LICENSE /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64/usr/share/licenses/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: pyproject-rpm-macros = 0-36.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/pyproject-rpm-macros-0-36.fc34.x86_64 Wrote: /builddir/build/RPMS/pyproject-rpm-macros-0-36.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9l05cu + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-36.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0