Mock Version: 2.3 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-31-x86_64-1595194927.052318/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.88jzsoaa:/etc/resolv.conf', '--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.88jzsoaa:/etc/resolv.conf', '--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', '13e374b5c34e42d49169483cd708303e', '-D', '/var/lib/mock/fedora-31-x86_64-1595194927.052318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.88jzsoaa:/etc/resolv.conf', '--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', '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=1594857600 Wrote: /builddir/build/SRPMS/pyproject-rpm-macros-0-18.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/pyproject-rpm-macros.spec'], chrootPath='/var/lib/mock/fedora-31-x86_64-1595194927.052318/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.88jzsoaa:/etc/resolv.conf', '--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.88jzsoaa:/etc/resolv.conf', '--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', 'c3a85858c6284cf5b66558b5c3b6dddb', '-D', '/var/lib/mock/fedora-31-x86_64-1595194927.052318/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.88jzsoaa:/etc/resolv.conf', '--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', '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=1594857600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H5zzBu + 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/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.iPulrx + 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.cAGfvv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64 ++ dirname /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64 + cd pyproject-rpm-macros-0 + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/lib/rpm/macros.d + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/lib/rpm/redhat + install -m 644 macros.pyproject /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/lib/rpm/macros.d/ + install -m 644 pyproject_buildrequires.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/lib/rpm/redhat/ + install -m 644 pyproject_save_files.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/lib/rpm/redhat/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0-18.fc31 --unique-debug-suffix -0-18.fc31.x86_64 --unique-debug-src-base pyproject-rpm-macros-0-18.fc31.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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yXgKXu + 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.7.7, pytest-4.6.11, py-1.8.2, pluggy-0.12.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pyproject-rpm-macros-0 collecting ... collected 56 items pyproject_save_files.py::pyproject_save_files.BuildrootPath.from_real PASSED [ 1%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.normpath PASSED [ 3%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.to_real PASSED [ 5%] pyproject_save_files.py::pyproject_save_files.parse_record PASSED [ 7%] pyproject_save_files.py::pyproject_save_files.parse_varargs PASSED [ 8%] pyproject_save_files.py::pyproject_save_files.pycached PASSED [ 10%] pyproject_save_files.py::pyproject_save_files.read_record PASSED [ 12%] test_pyproject_buildrequires.py::test_data[No pyproject.toml, nothing installed] PASSED [ 14%] test_pyproject_buildrequires.py::test_data[Nothing installed yet] PASSED [ 16%] test_pyproject_buildrequires.py::test_data[Insufficient version of setuptools] PASSED [ 17%] test_pyproject_buildrequires.py::test_data[Empty pyproject.toml, empty setup.py] PASSED [ 19%] test_pyproject_buildrequires.py::test_data[Default build system, empty setup.py] PASSED [ 21%] test_pyproject_buildrequires.py::test_data[Erroring setup.py] PASSED [ 23%] test_pyproject_buildrequires.py::test_data[Bad character in version] PASSED [ 25%] test_pyproject_buildrequires.py::test_data[Build system dependencies in pyproject.toml] PASSED [ 26%] test_pyproject_buildrequires.py::test_data[Default build system, build dependencies in setup.py] PASSED [ 28%] test_pyproject_buildrequires.py::test_data[Default build system, run dependencies in setup.py] PASSED [ 30%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (not selected)] PASSED [ 32%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (selected)] PASSED [ 33%] test_pyproject_buildrequires.py::test_data[Run dependencies with multiple extras] XFAIL [ 35%] test_pyproject_buildrequires.py::test_data[Tox dependencies] PASSED [ 37%] test_pyproject_save_files.py::test_pyproject_save_files.create_root PASSED [ 39%] test_pyproject_save_files.py::test_locate_record_good PASSED [ 41%] test_pyproject_save_files.py::test_locate_record_missing PASSED [ 42%] test_pyproject_save_files.py::test_locate_record_misplaced PASSED [ 44%] test_pyproject_save_files.py::test_locate_record_two_packages PASSED [ 46%] test_pyproject_save_files.py::test_locate_record_two_sitedirs PASSED [ 48%] test_pyproject_save_files.py::test_parse_record_tldr PASSED [ 50%] test_pyproject_save_files.py::test_parse_record_tensorflow PASSED [ 51%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected0-True] PASSED [ 53%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected0-False] PASSED [ 55%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected1-True] PASSED [ 57%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected1-False] PASSED [ 58%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected2-True] PASSED [ 60%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected2-False] PASSED [ 62%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected3-True] PASSED [ 64%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected3-False] PASSED [ 66%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected4-True] PASSED [ 67%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected4-False] PASSED [ 69%] test_pyproject_save_files.py::test_generate_file_list_unused_glob PASSED [ 71%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected0-True] PASSED [ 73%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected0-False] PASSED [ 75%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected1-True] PASSED [ 76%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected1-False] PASSED [ 78%] test_pyproject_save_files.py::test_cli[requests-requests-expected2-True] PASSED [ 80%] test_pyproject_save_files.py::test_cli[requests-requests-expected2-False] PASSED [ 82%] test_pyproject_save_files.py::test_cli[tldr-*-expected3-True] PASSED [ 83%] test_pyproject_save_files.py::test_cli[tldr-*-expected3-False] PASSED [ 85%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected4-True] PASSED [ 87%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected4-False] PASSED [ 89%] test_pyproject_save_files.py::test_cli_no_RECORD PASSED [ 91%] test_pyproject_save_files.py::test_cli_misplaced_RECORD PASSED [ 92%] test_pyproject_save_files.py::test_cli_find_too_many_RECORDS PASSED [ 94%] test_pyproject_save_files.py::test_cli_bad_argument PASSED [ 96%] test_pyproject_save_files.py::test_cli_bad_option PASSED [ 98%] test_pyproject_save_files.py::test_cli_bad_namespace PASSED [100%] ===================== 55 passed, 1 xfailed in 1.32 seconds ===================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: pyproject-rpm-macros-0-18.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HamxAw + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + DOCDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.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-18.fc31.x86_64/usr/share/doc/pyproject-rpm-macros + cp -pr README.md /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/share/doc/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PHUx0s + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + LICENSEDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.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-18.fc31.x86_64/usr/share/licenses/pyproject-rpm-macros + cp -pr LICENSE /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64/usr/share/licenses/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: pyproject-rpm-macros = 0-18.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/pyproject-rpm-macros-0-18.fc31.x86_64 Wrote: /builddir/build/RPMS/pyproject-rpm-macros-0-18.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mFHsXu + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-18.fc31.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0