Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/pyproject-rpm-macros.spec'], chrootPath='/var/lib/mock/eln-build-30859214-4224764/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1634601600 Wrote: /builddir/build/SRPMS/pyproject-rpm-macros-0-49.eln113.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/pyproject-rpm-macros.spec'], chrootPath='/var/lib/mock/eln-build-30859214-4224764/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1634601600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pel2xc + 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/pyproject_requirements_txt.py /builddir/build/SOURCES/test_pyproject_buildrequires.py /builddir/build/SOURCES/test_pyproject_save_files.py /builddir/build/SOURCES/test_pyproject_requirements_txt.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.gI4ju5 + 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.xoENB5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch ++ dirname /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch + cd pyproject-rpm-macros-0 + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/macros.d + mkdir -p /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat + install -m 644 macros.pyproject /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/macros.d/ + install -m 644 pyproject_buildrequires.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + install -m 644 pyproject_convert.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + install -m 644 pyproject_save_files.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + install -m 644 pyproject_preprocess_record.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + install -m 644 pyproject_construct_toxenv.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + install -m 644 pyproject_requirements_txt.py /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/lib/rpm/redhat/ + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 0-49.eln113 --unique-debug-suffix -0-49.eln113.noarch --unique-debug-src-base pyproject-rpm-macros-0-49.eln113.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Pg8LRp + 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.10.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pyproject-rpm-macros-0 collecting ... collected 107 items pyproject_preprocess_record.py::pyproject_preprocess_record.parse_record PASSED [ 0%] pyproject_preprocess_record.py::pyproject_preprocess_record.read_record PASSED [ 1%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.from_real PASSED [ 2%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.normpath PASSED [ 3%] pyproject_save_files.py::pyproject_save_files.BuildrootPath.to_real PASSED [ 4%] pyproject_save_files.py::pyproject_save_files.escape_rpm_path PASSED [ 5%] pyproject_save_files.py::pyproject_save_files.is_valid_module_name PASSED [ 6%] pyproject_save_files.py::pyproject_save_files.parse_varargs PASSED [ 7%] pyproject_save_files.py::pyproject_save_files.pycache_dir PASSED [ 8%] pyproject_save_files.py::pyproject_save_files.pycached PASSED [ 9%] test_pyproject_buildrequires.py::test_data[No pyproject.toml, nothing installed] PASSED [ 10%] test_pyproject_buildrequires.py::test_data[Nothing installed yet] PASSED [ 11%] test_pyproject_buildrequires.py::test_data[Insufficient version of setuptools] PASSED [ 12%] test_pyproject_buildrequires.py::test_data[No pyproject.toml, empty setup.py] PASSED [ 13%] test_pyproject_buildrequires.py::test_data[Default build system, empty setup.py] PASSED [ 14%] test_pyproject_buildrequires.py::test_data[pyproject.toml with build-backend and setup.py] PASSED [ 14%] test_pyproject_buildrequires.py::test_data[Erroring setup.py] PASSED [ 15%] test_pyproject_buildrequires.py::test_data[Bad character in version] PASSED [ 16%] test_pyproject_buildrequires.py::test_data[Single value version with unsupported compatible operator] PASSED [ 17%] test_pyproject_buildrequires.py::test_data[Asterisk in version with unsupported compatible operator] PASSED [ 18%] test_pyproject_buildrequires.py::test_data[Local path as requirement] PASSED [ 19%] test_pyproject_buildrequires.py::test_data[Pip's egg=pkgName requirement not in requirements file] PASSED [ 20%] test_pyproject_buildrequires.py::test_data[URL without egg fragment as requirement] PASSED [ 21%] 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 [ 24%] test_pyproject_buildrequires.py::test_data[Default build system, run dependencies in setup.py] PASSED [ 25%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (not selected)] PASSED [ 26%] test_pyproject_buildrequires.py::test_data[Run dependencies with extras (selected)] PASSED [ 27%] test_pyproject_buildrequires.py::test_data[Run dependencies with multiple extras] PASSED [ 28%] test_pyproject_buildrequires.py::test_data[Tox dependencies] PASSED [ 28%] test_pyproject_buildrequires.py::test_data[Tox extras] PASSED [ 29%] test_pyproject_buildrequires.py::test_data[Tox provision unsatisfied] PASSED [ 30%] test_pyproject_buildrequires.py::test_data[Tox provision satisfied] PASSED [ 31%] test_pyproject_buildrequires.py::test_data[Default build system, unmet deps in requirements file] PASSED [ 32%] test_pyproject_buildrequires.py::test_data[Default build system, met deps in requirements file] PASSED [ 33%] test_pyproject_buildrequires.py::test_data[With pyproject.toml, requirements file and with -N option] PASSED [ 34%] test_pyproject_buildrequires.py::test_data[With pyproject.toml, requirements file and without -N option] PASSED [ 35%] test_pyproject_buildrequires.py::test_data[Value error if -N and -r arguments are present] PASSED [ 36%] test_pyproject_buildrequires.py::test_data[Value error if -N and -e arguments are present] PASSED [ 37%] test_pyproject_buildrequires.py::test_data[Weird and complex requirements file] PASSED [ 38%] test_pyproject_buildrequires.py::test_data[Pre-releases are accepted] PASSED [ 39%] test_pyproject_requirements_txt.py::test_requirements_add_pkgname PASSED [ 40%] test_pyproject_requirements_txt.py::test_requirements_preprocess PASSED [ 41%] test_pyproject_save_files.py::test_parse_record_tldr PASSED [ 42%] test_pyproject_save_files.py::test_parse_record_tensorflow PASSED [ 42%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected_files0-expected_modules0-True] PASSED [ 43%] test_pyproject_save_files.py::test_generate_file_list[tensorflow-tensorflow*-expected_files0-expected_modules0-False] PASSED [ 44%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected_files1-expected_modules1-True] PASSED [ 45%] test_pyproject_save_files.py::test_generate_file_list[kerberos-ke?ber*-expected_files1-expected_modules1-False] PASSED [ 46%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected_files2-expected_modules2-True] PASSED [ 47%] test_pyproject_save_files.py::test_generate_file_list[requests-requests-expected_files2-expected_modules2-False] PASSED [ 48%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected_files3-expected_modules3-True] PASSED [ 49%] test_pyproject_save_files.py::test_generate_file_list[tldr-*-expected_files3-expected_modules3-False] PASSED [ 50%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected_files4-expected_modules4-True] PASSED [ 51%] test_pyproject_save_files.py::test_generate_file_list[mistune-mistune-expected_files4-expected_modules4-False] PASSED [ 52%] test_pyproject_save_files.py::test_generate_file_list[ipykernel-ipykernel-expected_files5-expected_modules5-True] PASSED [ 53%] test_pyproject_save_files.py::test_generate_file_list[ipykernel-ipykernel-expected_files5-expected_modules5-False] PASSED [ 54%] test_pyproject_save_files.py::test_generate_file_list[zope-zope-expected_files6-expected_modules6-True] PASSED [ 55%] test_pyproject_save_files.py::test_generate_file_list[zope-zope-expected_files6-expected_modules6-False] PASSED [ 56%] test_pyproject_save_files.py::test_generate_file_list[django-django-expected_files7-expected_modules7-True] PASSED [ 57%] test_pyproject_save_files.py::test_generate_file_list[django-django-expected_files7-expected_modules7-False] PASSED [ 57%] test_pyproject_save_files.py::test_generate_file_list[printrun-printrun-expected_files8-expected_modules8-True] PASSED [ 58%] test_pyproject_save_files.py::test_generate_file_list[printrun-printrun-expected_files8-expected_modules8-False] PASSED [ 59%] test_pyproject_save_files.py::test_generate_file_list_unused_glob PASSED [ 60%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar/baz.py-expected0] PASSED [ 61%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar.py-expected1] PASSED [ 62%] test_pyproject_save_files.py::test_module_names_from_path[foo.py-expected2] PASSED [ 63%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar.so.2-expected3] PASSED [ 64%] test_pyproject_save_files.py::test_module_names_from_path[foo.cpython-37m-x86_64-linux-gnu.so-expected4] PASSED [ 65%] test_pyproject_save_files.py::test_module_names_from_path[foo/_api/v2/__init__.py-expected5] PASSED [ 66%] test_pyproject_save_files.py::test_module_names_from_path[foo/__init__.py-expected6] PASSED [ 67%] test_pyproject_save_files.py::test_module_names_from_path[foo/_priv.py-expected7] PASSED [ 68%] test_pyproject_save_files.py::test_module_names_from_path[foo/_bar/lib.so-expected8] PASSED [ 69%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar/baz.so-expected9] PASSED [ 70%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar/baz.pth-expected10] PASSED [ 71%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar/baz.pyc-expected11] PASSED [ 71%] test_pyproject_save_files.py::test_module_names_from_path[def.py-expected12] PASSED [ 72%] test_pyproject_save_files.py::test_module_names_from_path[foo-bar/baz.py-expected13] PASSED [ 73%] test_pyproject_save_files.py::test_module_names_from_path[foobar/12baz.py-expected14] PASSED [ 74%] test_pyproject_save_files.py::test_module_names_from_path[foo/\nbar/baz.py-expected15] PASSED [ 75%] test_pyproject_save_files.py::test_module_names_from_path[foo/+bar/baz.py-expected16] PASSED [ 76%] test_pyproject_save_files.py::test_module_names_from_path[foo/__init__.cpython-39-x86_64-linux-gnu.so-expected17] PASSED [ 77%] test_pyproject_save_files.py::test_module_names_from_path[foo/bar/__pycache__/abc.cpython-37.pyc-expected18] PASSED [ 78%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected_files0-expected_modules0-True] PASSED [ 79%] test_pyproject_save_files.py::test_cli[tensorflow-tensorflow*-expected_files0-expected_modules0-False] PASSED [ 80%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected_files1-expected_modules1-True] PASSED [ 81%] test_pyproject_save_files.py::test_cli[kerberos-ke?ber*-expected_files1-expected_modules1-False] PASSED [ 82%] test_pyproject_save_files.py::test_cli[requests-requests-expected_files2-expected_modules2-True] PASSED [ 83%] test_pyproject_save_files.py::test_cli[requests-requests-expected_files2-expected_modules2-False] PASSED [ 84%] test_pyproject_save_files.py::test_cli[tldr-*-expected_files3-expected_modules3-True] PASSED [ 85%] test_pyproject_save_files.py::test_cli[tldr-*-expected_files3-expected_modules3-False] PASSED [ 85%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected_files4-expected_modules4-True] PASSED [ 86%] test_pyproject_save_files.py::test_cli[mistune-mistune-expected_files4-expected_modules4-False] PASSED [ 87%] test_pyproject_save_files.py::test_cli[ipykernel-ipykernel-expected_files5-expected_modules5-True] PASSED [ 88%] test_pyproject_save_files.py::test_cli[ipykernel-ipykernel-expected_files5-expected_modules5-False] PASSED [ 89%] test_pyproject_save_files.py::test_cli[zope-zope-expected_files6-expected_modules6-True] PASSED [ 90%] test_pyproject_save_files.py::test_cli[zope-zope-expected_files6-expected_modules6-False] PASSED [ 91%] test_pyproject_save_files.py::test_cli[django-django-expected_files7-expected_modules7-True] PASSED [ 92%] test_pyproject_save_files.py::test_cli[django-django-expected_files7-expected_modules7-False] PASSED [ 93%] test_pyproject_save_files.py::test_cli[printrun-printrun-expected_files8-expected_modules8-True] PASSED [ 94%] test_pyproject_save_files.py::test_cli[printrun-printrun-expected_files8-expected_modules8-False] PASSED [ 95%] test_pyproject_save_files.py::test_cli_no_pyproject_record PASSED [ 96%] test_pyproject_save_files.py::test_cli_too_many_RECORDS PASSED [ 97%] test_pyproject_save_files.py::test_cli_bad_argument PASSED [ 98%] test_pyproject_save_files.py::test_cli_bad_option PASSED [ 99%] 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.10/site-packages/packaging/specifiers.py:273: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( test_pyproject_requirements_txt.py::test_requirements_preprocess /usr/lib64/python3.10/distutils/command/install.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import get_config_vars -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================= 107 passed, 2 warnings in 18.79s ======================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: pyproject-rpm-macros-0-49.eln113.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4yKy6k + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + DOCDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/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-49.eln113.noarch/usr/share/doc/pyproject-rpm-macros + cp -pr README.md /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/share/doc/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UmrOJI + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + LICENSEDIR=/builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/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-49.eln113.noarch/usr/share/licenses/pyproject-rpm-macros + cp -pr LICENSE /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch/usr/share/licenses/pyproject-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: pyproject-rpm-macros = 0-49.eln113 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-49.eln113.noarch Wrote: /builddir/build/RPMS/pyproject-rpm-macros-0-49.eln113.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HoNbCj + umask 022 + cd /builddir/build/BUILD + cd pyproject-rpm-macros-0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pyproject-rpm-macros-0-49.eln113.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0