Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.spec'], chrootPath='/var/lib/mock/f40-build-1939776-25159/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c5a24b0335194409813e24bc4418ceed', '-D', '/var/lib/mock/f40-build-1939776-25159/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-dcrpm-0.6.3-9.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.spec'], chrootPath='/var/lib/mock/f40-build-1939776-25159/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'fae45459fa57450893bdc70b2a335001', '-D', '/var/lib/mock/f40-build-1939776-25159/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.usAKnN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dcrpm-0.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dcrpm-0.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dcrpm-0.6.3 + rm -rf /builddir/build/BUILD/dcrpm-0.6.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/dcrpm-0.6.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e '\|#!/usr/bin/env python|d' -i dcrpm/__init__.py dcrpm/__version__.py dcrpm/dcrpm.py dcrpm/forensic_logger.py dcrpm/main.py dcrpm/pidutil.py dcrpm/rpmutil.py dcrpm/util.py dcrpm/yum.py + rm -rf dcrpm.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hhfxPT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dcrpm-0.6.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/dcrpm copying dcrpm/dcrpm.py -> build/lib/dcrpm copying dcrpm/forensic_logger.py -> build/lib/dcrpm copying dcrpm/yum.py -> build/lib/dcrpm copying dcrpm/main.py -> build/lib/dcrpm copying dcrpm/__version__.py -> build/lib/dcrpm copying dcrpm/rpmutil.py -> build/lib/dcrpm copying dcrpm/__init__.py -> build/lib/dcrpm copying dcrpm/util.py -> build/lib/dcrpm copying dcrpm/pidutil.py -> build/lib/dcrpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hDjO3O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dcrpm-0.6.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/dcrpm.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/forensic_logger.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/yum.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/main.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/__version__.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/rpmutil.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/__init__.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/util.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm copying build/lib/dcrpm/pidutil.py -> /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/dcrpm.py to dcrpm.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/forensic_logger.py to forensic_logger.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/yum.py to yum.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/main.py to main.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/__version__.py to __version__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/rpmutil.py to rpmutil.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/util.py to util.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm/pidutil.py to pidutil.cpython-312.pyc writing byte-compilation script '/tmp/tmpn_5rnkug.py' /usr/bin/python3 /tmp/tmpn_5rnkug.py removing /tmp/tmpn_5rnkug.py running install_egg_info running egg_info creating dcrpm.egg-info writing dcrpm.egg-info/PKG-INFO writing dependency_links to dcrpm.egg-info/dependency_links.txt writing entry points to dcrpm.egg-info/entry_points.txt writing requirements to dcrpm.egg-info/requires.txt writing top-level names to dcrpm.egg-info/top_level.txt writing manifest file 'dcrpm.egg-info/SOURCES.txt' reading manifest file 'dcrpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'dcrpm.egg-info/SOURCES.txt' Copying dcrpm.egg-info to /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages/dcrpm-0.6.3-py3.12.egg-info running install_scripts Installing dcrpm script to /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.6.3-9.fc40 --unique-debug-suffix -0.6.3-9.fc40.noarch --unique-debug-src-base python-dcrpm-0.6.3-9.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dcrpm-0.6.3 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /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/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UfNcz3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dcrpm-0.6.3 + PATH=/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py dcrpm Check import: dcrpm + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-dcrpm-0.6.3-9.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest -v --deselect=tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_centos7_missing_index ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/dcrpm-0.6.3 plugins: typeguard-4.1.5 collecting ... collected 67 items / 1 deselected / 66 selected tests/test_dcrpm.py::TestDcRPM::test_db_stat_forensic PASSED [ 1%] tests/test_dcrpm.py::TestDcRPM::test_hardlink_db001_link_exists PASSED [ 3%] tests/test_dcrpm.py::TestDcRPM::test_hardlink_db001_symlink_fails PASSED [ 4%] tests/test_dcrpm.py::TestDcRPM::test_has_free_disk_space_fail PASSED [ 6%] tests/test_dcrpm.py::TestDcRPM::test_has_free_disk_space_success PASSED [ 7%] tests/test_dcrpm.py::TestDcRPM::test_run_rebuild_dry_run PASSED [ 9%] tests/test_dcrpm.py::TestDcRPM::test_run_recovery_dry_run PASSED [ 10%] tests/test_dcrpm.py::TestDcRPM::test_stale_yum_transactions_exist PASSED [ 12%] tests/test_dcrpm.py::TestDcRPM::test_stale_yum_transactions_no_exist PASSED [ 13%] tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_centos7 FAILED [ 15%] tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_centos8 FAILED [ 16%] tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_fedora26 PASSED [ 18%] tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_fedora31 PASSED [ 19%] tests/test_pidutil.py::TestPidutil::test__pids_holding_file_failed PASSED [ 21%] tests/test_pidutil.py::TestPidutil::test__pids_holding_file_success PASSED [ 22%] tests/test_pidutil.py::TestPidutil::test__pids_holding_file_timeout PASSED [ 24%] tests/test_pidutil.py::TestPidutil::test_procs_holding_file_no_lsof PASSED [ 25%] tests/test_pidutil.py::TestPidutil::test_send_signal_no_such_process PASSED [ 27%] tests/test_pidutil.py::TestPidutil::test_send_signal_success PASSED [ 28%] tests/test_pidutil.py::TestPidutil::test_send_signal_timeout PASSED [ 30%] tests/test_pidutil.py::TestPidutil::test_send_signals_all_throw PASSED [ 31%] tests/test_pidutil.py::TestPidutil::test_send_signals_no_processes PASSED [ 33%] tests/test_pidutil.py::TestPidutil::test_send_signals_signal_throws PASSED [ 34%] tests/test_pidutil.py::TestPidutil::test_send_signals_success PASSED [ 36%] tests/test_pidutil.py::TestPidutil::test_send_signals_wait_throws PASSED [ 37%] tests/test_pidutil.py::TestPidfileInfo::test_pidfile_info_bad_pid PASSED [ 39%] tests/test_pidutil.py::TestPidfileInfo::test_pidfile_info_invalid_pid PASSED [ 40%] tests/test_pidutil.py::TestPidfileInfo::test_pidfile_info_sucess PASSED [ 42%] tests/test_rpmutil.py::TestRPMUtil::test_check_rpm_qa_not_enough_packages_darwin PASSED [ 43%] tests/test_rpmutil.py::TestRPMUtil::test_check_rpm_qa_not_enough_packages_linux PASSED [ 45%] tests/test_rpmutil.py::TestRPMUtil::test_check_rpm_qa_raise_on_nonzero_rc PASSED [ 46%] tests/test_rpmutil.py::TestRPMUtil::test_check_rpm_qa_success PASSED [ 48%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_ PASSED [ 50%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_raises_on_list_all PASSED [ 51%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_raises_on_query PASSED [ 53%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_raises_on_uninstalled PASSED [ 54%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_success PASSED [ 56%] tests/test_rpmutil.py::TestRPMUtil::test_check_tables_success_on_no_rpms PASSED [ 57%] tests/test_rpmutil.py::TestRPMUtil::test_clean_yum_transactions_success PASSED [ 59%] tests/test_rpmutil.py::TestRPMUtil::test_kill_spinning_rpm_query_processes_success PASSED [ 60%] tests/test_rpmutil.py::TestRPMUtil::test_query_failure PASSED [ 62%] tests/test_rpmutil.py::TestRPMUtil::test_query_success PASSED [ 63%] tests/test_rpmutil.py::TestRPMUtil::test_rebuild_db_success PASSED [ 65%] tests/test_rpmutil.py::TestRPMUtil::test_recover_db_success PASSED [ 66%] tests/test_rpmutil.py::TestRPMUtil::test_verify_tables_all_blacklisted PASSED [ 68%] tests/test_rpmutil.py::TestRPMUtil::test_verify_tables_fail PASSED [ 69%] tests/test_rpmutil.py::TestRPMUtil::test_verify_tables_success PASSED [ 71%] tests/test_util.py::TestUtil::test_call_with_timeout_real_raises PASSED [ 72%] tests/test_util.py::TestUtil::test_call_with_timeout_success PASSED [ 74%] tests/test_util.py::TestUtil::test_kindly_end_kills_on_terminate_timeout PASSED [ 75%] tests/test_util.py::TestUtil::test_kindly_end_terminates PASSED [ 77%] tests/test_util.py::TestUtil::test_run_with_timeout_kills_on_terminate_timeout PASSED [ 78%] tests/test_util.py::TestUtil::test_run_with_timeout_no_raise_on_nonzero PASSED [ 80%] tests/test_util.py::TestUtil::test_run_with_timeout_no_raise_on_timeout PASSED [ 81%] tests/test_util.py::TestUtil::test_run_with_timeout_raise_on_nonzero PASSED [ 83%] tests/test_util.py::TestUtil::test_run_with_timeout_success PASSED [ 84%] tests/test_util.py::TestUtil::test_run_with_timeout_terminates_on_timeout PASSED [ 86%] tests/test_util.py::TestUtil::test_run_with_timeout_timeout PASSED [ 87%] tests/test_yum.py::TestYum::test_check_stuck_filenotfound PASSED [ 89%] tests/test_yum.py::TestYum::test_check_stuck_kill_yumpid PASSED [ 90%] tests/test_yum.py::TestYum::test_check_stuck_kill_yumpid_no_such_process PASSED [ 92%] tests/test_yum.py::TestYum::test_check_stuck_kill_yumpid_timeout PASSED [ 93%] tests/test_yum.py::TestYum::test_check_stuck_other_exception PASSED [ 95%] tests/test_yum.py::TestYum::test_check_stuck_valueerror PASSED [ 96%] tests/test_yum.py::TestYum::test_check_stuck_yumpid_no_such_process PASSED [ 98%] tests/test_yum.py::TestYum::test_check_stuck_yumpid_not_old_enough PASSED [100%] =================================== FAILURES =================================== ___________________ DcrpmIntegrationTest.test_rpmdb_centos7 ____________________ cmd = ['/usr/bin/rpm', '--dbpath', '/tmp/tmpz_8v4nzk/rpm', '-qa'], timeout = 5 raise_on_nonzero = True, raise_on_timeout = True exception_to_raise = def run_with_timeout( cmd, # type: t.Sequence[str] timeout, # type: int raise_on_nonzero=True, # type: bool raise_on_timeout=True, # type: bool exception_to_raise=DcRPMException, # type: t.Type[Exception] ): # type: (...) -> CompletedProcess """ Runs command `cmd` with timeout `timeout`. If `raise_on_nonzero` is True, raises a DcRPMException if `cmd` exits with a nonzero status. If `raise_on_timeout` is true, raises a DcRPMException if `cmd` times out. """ if not cmd: raise ValueError("must pass command to run") _logger.debug("Running %s", " ".join(cmd)) proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True ) try: > stdout, stderr = call_with_timeout(proc.communicate, timeout) dcrpm/util.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dcrpm/util.py:175: in call_with_timeout return func(*args, **kwargs) /usr/lib64/python3.12/subprocess.py:1209: in communicate stdout, stderr = self._communicate(input, endtime, timeout) /usr/lib64/python3.12/subprocess.py:2115: in _communicate ready = selector.select(timeout) /usr/lib64/python3.12/selectors.py:415: in select fd_event_list = self._selector.poll(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ signum = 14 frame = def alarm_handler(signum, frame): # type: (int, FrameType) -> None """ Alarm handler to pass to signal.signal for subprocess timeout. """ > raise TimeoutExpired() E dcrpm.util.TimeoutExpired dcrpm/util.py:144: TimeoutExpired During handling of the above exception, another exception occurred: self = def check_rpm_qa(self): # type: () -> None """ Runs `rpm -qa` which serves as a good proxy check for whether bdb needs recovery """ try: > result = run_with_timeout( [self.rpm_path, "--dbpath", self.dbpath, "-qa"], RPM_CHECK_TIMEOUT_SEC ) dcrpm/rpmutil.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/rpm', '--dbpath', '/tmp/tmpz_8v4nzk/rpm', '-qa'], timeout = 5 raise_on_nonzero = True, raise_on_timeout = True exception_to_raise = def run_with_timeout( cmd, # type: t.Sequence[str] timeout, # type: int raise_on_nonzero=True, # type: bool raise_on_timeout=True, # type: bool exception_to_raise=DcRPMException, # type: t.Type[Exception] ): # type: (...) -> CompletedProcess """ Runs command `cmd` with timeout `timeout`. If `raise_on_nonzero` is True, raises a DcRPMException if `cmd` exits with a nonzero status. If `raise_on_timeout` is true, raises a DcRPMException if `cmd` times out. """ if not cmd: raise ValueError("must pass command to run") _logger.debug("Running %s", " ".join(cmd)) proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True ) try: stdout, stderr = call_with_timeout(proc.communicate, timeout) except TimeoutExpired: msg = "%s timed out after %d" % (cmd[0], timeout) _logger.error(msg) # Be nice about ending the process. _logger.info("Terminating %s", cmd[0]) rc = kindly_end(proc) if raise_on_timeout: > raise exception_to_raise(msg) E dcrpm.util.DcRPMException: /usr/bin/rpm timed out after 5 dcrpm/util.py:212: DcRPMException During handling of the above exception, another exception occurred: self = def run(self): # type: () -> bool if not self.has_free_disk_space(): self.status_logger.error("not_enough_disk") self.logger.error("Need at least %sB free to continue" % self.args.minspace) return False # Check old yum transactions. if self.args.clean_yum_transactions and self.stale_yum_transactions_exist(): self.logger.info("Cleaning old yum transaction") self.rpmutil.clean_yum_transactions() # Check stuck yum. if self.args.check_stuck_yum: result = Yum().check_stuck(dry_run=self.args.dry_run) if not result: self.logger.error("Failed to unstuck yum processes") # Detect database backend backend = self.rpmutil.get_db_backend() # Start main checks. for i in range(self.args.max_passes): self.logger.debug("Running pass: %d", i) try: # Optional forensic data collection if self.args.forensic: if backend == "bdb": self.logger.info( "Running forensic data collection (db_stat -CA)" ) self.rpmutil.db_stat() else: self.logger.warning( "Forensics data collection is not supported on %s" % backend ) # Kill any straggler rpm query processes self.logger.info("Searching for spinning rpm query processes") self.rpmutil.kill_spinning_rpm_query_processes() # Exercise single indexes self.logger.info("Sanity checking rpmdb indexes") self.rpmutil.check_rpmdb_indexes() self.logger.info("Rpmdb indexes OK") # Black box check - does rpm -qa even work? self.logger.info("Running black box check (rpm -qa)") > self.rpmutil.check_rpm_qa() dcrpm/dcrpm.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def check_rpm_qa(self): # type: () -> None """ Runs `rpm -qa` which serves as a good proxy check for whether bdb needs recovery """ try: result = run_with_timeout( [self.rpm_path, "--dbpath", self.dbpath, "-qa"], RPM_CHECK_TIMEOUT_SEC ) except DcRPMException: self.logger.error("rpm -qa failed") self.status_logger.warning("initial_db_check_fail") > raise DBNeedsRecovery() E dcrpm.util.DBNeedsRecovery dcrpm/rpmutil.py:296: DBNeedsRecovery During handling of the above exception, another exception occurred: self = def hardlink_db001(self): # type: () -> str old_path = join(self.args.dbpath, "__db.001") new_path = join(self.args.dbpath, "__dcrpm_py_inode_pointer") # Make sure it doesn't exist. try: os.unlink(new_path) except OSError: pass # Then save it. try: > os.link(old_path, new_path) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpz_8v4nzk/rpm/__db.001' -> '/tmp/tmpz_8v4nzk/rpm/__dcrpm_py_inode_pointer' dcrpm/dcrpm.py:240: FileNotFoundError During handling of the above exception, another exception occurred: args = (, '/tmp/tmpz_8v4nzk/rpm') kwargs = {} def wrapper(*args, **kwargs): # type: (t.Any, t.Any) -> RT args += (os.path.join(temp_dir, "rpm"),) > result = t.cast(F, function)(*args, **kwargs) tests/rpmdb.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_end_to_end.py:76: in test_rpmdb_centos7 run_result = self.dcrpm.run() dcrpm/dcrpm.py:140: in run self.run_recovery() dcrpm/dcrpm.py:204: in run_recovery hardlink = self.hardlink_db001() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def hardlink_db001(self): # type: () -> str old_path = join(self.args.dbpath, "__db.001") new_path = join(self.args.dbpath, "__dcrpm_py_inode_pointer") # Make sure it doesn't exist. try: os.unlink(new_path) except OSError: pass # Then save it. try: os.link(old_path, new_path) return new_path except OSError: self.status_logger.warning("link_failed") > raise DcRPMException("Could not save __db.001 failed") E dcrpm.util.DcRPMException: Could not save __db.001 failed dcrpm/dcrpm.py:244: DcRPMException ------------------------------ Captured log call ------------------------------- WARNING root:rpmutil.py:510 No db_backend found in macros, assuming bdb ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:rpmutil.py:294 rpm -qa failed ERROR root:dcrpm.py:137 DB needs recovery WARNING root:pidutil.py:65 lsof returned non-zero: lsof: status error on /tmp/tmpz_8v4nzk/rpm/.dbenv.lock: No such file or directory WARNING root:pidutil.py:65 lsof returned non-zero: lsof: status error on /tmp/tmpz_8v4nzk/rpm/.rpm.lock: No such file or directory ___________________ DcrpmIntegrationTest.test_rpmdb_centos8 ____________________ args = (, '/tmp/tmpxpkfa4a1/rpm') kwargs = {} def wrapper(*args, **kwargs): # type: (t.Any, t.Any) -> RT args += (os.path.join(temp_dir, "rpm"),) > result = t.cast(F, function)(*args, **kwargs) tests/rpmdb.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_end_to_end.py:108: in test_rpmdb_centos8 self.assertTrue(run_result) E AssertionError: False is not true ------------------------------ Captured log call ------------------------------- WARNING root:rpmutil.py:510 No db_backend found in macros, assuming bdb ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:util.py:206 /usr/bin/rpm timed out after 5 ERROR root:dcrpm.py:154 DB needs rebuild ERROR root:dcrpm.py:169 Unable to repair RPM database =============================== warnings summary =============================== tests/rpmdb.py:58 tests/rpmdb.py:58 tests/rpmdb.py:58 tests/rpmdb.py:58 tests/rpmdb.py:58 /builddir/build/BUILD/dcrpm-0.6.3/tests/rpmdb.py:58: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. tar.extractall(temp_dir) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_centos7 - d... FAILED tests/test_end_to_end.py::DcrpmIntegrationTest::test_rpmdb_centos8 - A... ====== 2 failed, 64 passed, 1 deselected, 5 warnings in 242.70s (0:04:02) ====== error: Bad exit status from /var/tmp/rpm-tmp.UfNcz3 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UfNcz3 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M fae45459fa57450893bdc70b2a335001 -D /var/lib/mock/f40-build-1939776-25159/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M fae45459fa57450893bdc70b2a335001 -D /var/lib/mock/f40-build-1939776-25159/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._o5up2ht:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-dcrpm.spec'