Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-productmd.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-productmd.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/python-productmd-1.31-3.el9.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-productmd.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-productmd.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YmUglR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf productmd-1.31 + /usr/bin/gzip -dc /builddir/build/SOURCES/productmd-1.31.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd productmd-1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D2cMNo + umask 022 + cd /builddir/build/BUILD + cd productmd-1.31 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/productmd copying productmd/__init__.py -> build/lib/productmd copying productmd/common.py -> build/lib/productmd copying productmd/compose.py -> build/lib/productmd copying productmd/composeinfo.py -> build/lib/productmd copying productmd/discinfo.py -> build/lib/productmd copying productmd/extra_files.py -> build/lib/productmd copying productmd/images.py -> build/lib/productmd copying productmd/modules.py -> build/lib/productmd copying productmd/rpms.py -> build/lib/productmd copying productmd/treeinfo.py -> build/lib/productmd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DXsnJR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 + cd productmd-1.31 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/__init__.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/common.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/compose.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/composeinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/discinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/extra_files.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/images.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/modules.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/rpms.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd copying build/lib/productmd/treeinfo.py -> /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/common.py to common.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/compose.py to compose.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/composeinfo.py to composeinfo.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/discinfo.py to discinfo.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/extra_files.py to extra_files.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/images.py to images.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/modules.py to modules.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/rpms.py to rpms.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd/treeinfo.py to treeinfo.cpython-39.pyc writing byte-compilation script '/tmp/tmps9y08u6p.py' /usr/bin/python3 /tmp/tmps9y08u6p.py removing /tmp/tmps9y08u6p.py running install_egg_info running egg_info writing productmd.egg-info/PKG-INFO writing dependency_links to productmd.egg-info/dependency_links.txt writing requirements to productmd.egg-info/requires.txt writing top-level names to productmd.egg-info/top_level.txt reading manifest file 'productmd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'productmd.egg-info/SOURCES.txt' Copying productmd.egg-info to /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/lib/python3.9/site-packages/productmd-1.31-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.31-3.el9 --unique-debug-suffix -1.31-3.el9.x86_64 --unique-debug-src-base python-productmd-1.31-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/productmd-1.31 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-productmd-1.31-3.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yfa9Vu + umask 022 + cd /builddir/build/BUILD + cd productmd-1.31 + /usr/bin/python3 ./setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing productmd.egg-info/PKG-INFO writing dependency_links to productmd.egg-info/dependency_links.txt writing requirements to productmd.egg-info/requires.txt writing top-level names to productmd.egg-info/top_level.txt reading manifest file 'productmd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'productmd.egg-info/SOURCES.txt' running build_ext test_no_dots (tests.test_common.TestGetMajorVersion) ... ok test_three_parts (tests.test_common.TestGetMajorVersion) ... ok test_two_parts (tests.test_common.TestGetMajorVersion) ... ok test_no_dots (tests.test_common.TestGetMinorVersion) ... ok test_three_parts (tests.test_common.TestGetMinorVersion) ... ok test_two_parts (tests.test_common.TestGetMinorVersion) ... ok test_create_release_id (tests.test_common.TestRelease) ... ok test_parse_release_id (tests.test_common.TestRelease) ... ok test_split_version (tests.test_common.TestRelease) ... ok test_valid_release_type (tests.test_common.TestRelease) ... ok test_valid_short (tests.test_common.TestRelease) ... ok test_valid_version (tests.test_common.TestRelease) ... ok test_opening_http_succeeds (tests.test_compose.TestCompose) ... ok test_opening_wrong_dir_gives_descriptive_error (tests.test_compose.TestCompose) ... ok test_read_composeinfo (tests.test_compose.TestCompose) ... ok test_read_composeinfo (tests.test_compose.TestLegacyCompose) ... ok test_create (tests.test_composeinfo.TestComposeInfo) ... ok test_create_variants_with_dash (tests.test_composeinfo.TestComposeInfo) ... ok test_create_with_prefixed_uid (tests.test_composeinfo.TestComposeInfo) ... ok test_get_variants (tests.test_composeinfo.TestComposeInfo) ... ok test_is_ga (tests.test_composeinfo.TestComposeInfo) ... ok test_multiple_variants (tests.test_composeinfo.TestComposeInfo) ... ok test_release_empty_version (tests.test_composeinfo.TestComposeInfo) ... ok test_release_non_numeric_version (tests.test_composeinfo.TestComposeInfo) ... ok test_compose_ci_release_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_development_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_ga_base_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_ga_base_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_updates_base_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_nightly_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_ga_base_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_ga_base_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_updates_base_ga (tests.test_composeinfo.TestCreateComposeID) ... ok test_compose_production_release_updates_base_updates (tests.test_composeinfo.TestCreateComposeID) ... ok test_bad_format (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_ci (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_development (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_explicit_production (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_nightly (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_no_respin (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_production (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_unknown_type (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_unknown_type_matching_prefix (tests.test_composeinfo.TestGetDateTypeRespin) ... ok test_all (tests.test_discinfo.TestDiscInfo) ... ok test_disc_numbers (tests.test_discinfo.TestDiscInfo) ... ok test_empty (tests.test_discinfo.TestDiscInfo) ... ok test_invalid_values (tests.test_discinfo.TestDiscInfo) ... ok test_parse (tests.test_discinfo.TestDiscInfo) ... ok test_parse_disc_numbers (tests.test_discinfo.TestDiscInfo) ... ok test_parse_no_disc_numbers (tests.test_discinfo.TestDiscInfo) ... ok test_read_discinfo (tests.test_discinfo.TestDiscInfo) ... ok test_absolute_path (tests.test_extra_files.TestExtraFiles) ... ok test_bad_arch (tests.test_extra_files.TestExtraFiles) ... ok test_bad_checksums (tests.test_extra_files.TestExtraFiles) ... ok test_bad_path (tests.test_extra_files.TestExtraFiles) ... ok test_bad_variant (tests.test_extra_files.TestExtraFiles) ... ok test_fedora_20 (tests.test_extra_files.TestExtraFiles) ... ok test_partial_dump (tests.test_extra_files.TestExtraFiles) ... ok test_partial_dump_in_deleted_directory (tests.test_extra_files.TestExtraFiles) ... ok test_deserialize (tests.test_header.TestHeader) ... ok test_serialize (tests.test_header.TestHeader) ... ok test_version (tests.test_header.TestHeader) ... ok test_f20_format_10 (tests.test_images.TestImages) ... ok test_f23_format_11 (tests.test_images.TestImages) ... ok test_fedora_20 (tests.test_images.TestImages) ... ok test_fedora_23 (tests.test_images.TestImages) ... ok test_forbidden_src_arch (tests.test_images.TestImages) Test: ValueError("Source arch is not allowed. Map source files under binary arches.") ... ok test_image_repr (tests.test_images.TestImages) ... ok test_image_repr_incomplete (tests.test_images.TestImages) ... ok test_move_src_images_under_binary_arches (tests.test_images.TestImages) Test if src images were moved under binary arches correctly. ... ok test_unified_iso_deserialize (tests.test_images.TestImages) ... ok test_unified_iso_serialized_only_with_true (tests.test_images.TestImages) ... ok test_unique_id_enforcement (tests.test_images.TestImages) Test that adding two images with different checksums but ... ok test_compare (tests.test_modules.TestModules) two ways creating metadata and its results comparison ... ok test_fedora_20 (tests.test_modules.TestModules) ... ok test_fedora_20 (tests.test_rpms.TestRpms) ... ok test_forbidden_src_arch (tests.test_rpms.TestRpms) Test: ValueError("Source arch is not allowed. Map source files under binary arches.") ... ok test_create (tests.test_treeinfo.TestTreeInfo) ... ok test_f20 (tests.test_treeinfo.TestTreeInfo) ... ok test_f21_server (tests.test_treeinfo.TestTreeInfo) ... ok test_parse_opensuse_treeinfo (tests.test_treeinfo.TestTreeInfo) ... ok test_read_RHEL_Server_optional_treeinfo (tests.test_treeinfo.TestTreeInfo) ... ok test_read_RHEL_treeinfo (tests.test_treeinfo.TestTreeInfo) ... ok test_read_treeinfo (tests.test_treeinfo.TestTreeInfo) ... ok test_treeinfo_compute_checksum (tests.test_treeinfo.TestTreeInfo) ... ok ---------------------------------------------------------------------- Ran 89 tests in 0.187s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-productmd-1.31-3.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tqhzhw + umask 022 + cd /builddir/build/BUILD + cd productmd-1.31 + DOCDIR=/builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/doc/python3-productmd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/doc/python3-productmd + cp -pr AUTHORS /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/doc/python3-productmd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nni9mi + umask 022 + cd /builddir/build/BUILD + cd productmd-1.31 + LICENSEDIR=/builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/licenses/python3-productmd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/licenses/python3-productmd + cp -pr LICENSE /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64/usr/share/licenses/python3-productmd + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-productmd = 1.31-3.el9 python3-productmd = 1.31-3.el9 python3.9-productmd = 1.31-3.el9 python3.9dist(productmd) = 1.31 python3dist(productmd) = 1.31 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 python3.9dist(six) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 Wrote: /builddir/build/RPMS/python3-productmd-1.31-3.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3aUypx + umask 022 + cd /builddir/build/BUILD + cd productmd-1.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-productmd-1.31-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0