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/copr-backend.spec'], chrootPath='/var/lib/mock/f41-build-1457806-23578/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.l31f6i73:/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.l31f6i73:/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', '48984f5a533d4c24a925dcd0e25e2c93', '-D', '/var/lib/mock/f41-build-1457806-23578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l31f6i73:/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/copr-backend.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=1717891200 Wrote: /builddir/build/SRPMS/copr-backend-1.177-2.fc41.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/copr-backend.spec'], chrootPath='/var/lib/mock/f41-build-1457806-23578/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.l31f6i73:/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.l31f6i73:/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', 'c8f3c407e3b54a3783d33a3934b75810', '-D', '/var/lib/mock/f41-build-1457806-23578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l31f6i73:/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/copr-backend.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=1717891200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BAPuXB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-backend-1.177 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/copr-backend-1.177.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-backend-1.177 + rm -rf /builddir/build/BUILD/copr-backend-1.177-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/copr-backend-1.177-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/test-data-copr-backend-5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /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.XWOT0D + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 copr-backend-1.177 + make -C docs -j32 html make: Entering directory '/builddir/build/BUILD/copr-backend-1.177/docs' sphinx-build-3 -b html -d build/doctrees source build/html Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 32 source files that are out of date updating environment: [new config] 32 added, 0 changed, 0 removed reading sources... [ 3%] Autodoc reading sources... [ 6%] Backend_design reading sources... [ 9%] Configuration reading sources... [ 12%] INSTALL reading sources... [ 16%] README reading sources... [ 19%] Statistics reading sources... [ 22%] VmManagement reading sources... [ 25%] index reading sources... [ 28%] package/actions reading sources... [ 31%] package/constants reading sources... [ 34%] package/createrepo reading sources... [ 38%] package/daemons/backend reading sources... [ 41%] package/daemons/dispatcher reading sources... [ 44%] package/daemons/job_grab reading sources... [ 47%] package/daemons/log reading sources... [ 50%] package/daemons/vm_master reading sources... [ 53%] package/exceptions reading sources... [ 56%] package/frontend reading sources... [ 59%] package/helpers reading sources... [ 62%] package/job reading sources... [ 66%] package/mockremote/__init__ reading sources... [ 69%] package/mockremote/builder reading sources... [ 72%] package/sign reading sources... [ 75%] package/vm_manage/__init__ reading sources... [ 78%] package/vm_manage/check reading sources... [ 81%] package/vm_manage/event_handle reading sources... [ 84%] package/vm_manage/executor reading sources... [ 88%] package/vm_manage/manager reading sources... [ 91%] package/vm_manage/models reading sources... [ 94%] package/vm_manage/spawn reading sources... [ 97%] package/vm_manage/terminate reading sources... [100%] run_scripts WARNING: autodoc: failed to import module 'actions' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'constants' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'createrepo' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'daemons.backend' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'daemons.dispatcher' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'daemons.job_grab' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'daemons.log' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'daemons.vm_master' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'exceptions' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'frontend' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'helpers' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'job' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'mockremote.__init__' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'mockremote.builder' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'sign' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.__init__' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.check' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.event_handle' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.executor' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.manager' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.models' from module 'backend'; the following exception was raised: No module named 'backend' looking for now-outdated files... none found pickling environment... WARNING: autodoc: failed to import module 'vm_manage.spawn' from module 'backend'; the following exception was raised: No module named 'backend' WARNING: autodoc: failed to import module 'vm_manage.terminate' from module 'backend'; the following exception was raised: No module named 'backend' done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 3%] Autodoc writing output... [ 6%] Backend_design writing output... [ 9%] Configuration writing output... [ 12%] INSTALL writing output... [ 16%] README writing output... [ 19%] Statistics writing output... [ 22%] VmManagement writing output... [ 25%] index writing output... [ 28%] package/actions writing output... [ 31%] package/constants writing output... [ 34%] package/createrepo writing output... [ 38%] package/daemons/backend writing output... [ 41%] package/daemons/dispatcher writing output... [ 44%] package/daemons/job_grab writing output... [ 47%] package/daemons/log writing output... [ 50%] package/daemons/vm_master writing output... [ 53%] package/exceptions writing output... [ 56%] package/frontend writing output... [ 59%] package/helpers writing output... [ 62%] package/job writing output... [ 66%] package/mockremote/__init__ writing output... [ 69%] package/mockremote/builder writing output... [ 72%] package/sign writing output... [ 75%] package/vm_manage/__init__ writing output... [ 78%] package/vm_manage/check writing output... [ 81%] package/vm_manage/event_handle writing output... [ 84%] package/vm_manage/executor writing output... [ 88%] package/vm_manage/manager writing output... [ 91%] package/vm_manage/models writing output... [ 94%] package/vm_manage/spawn writing output... [ 97%] package/vm_manage/terminate writing output... [100%] run_scripts generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 23 warnings. The HTML pages are in build/html. Build finished. The HTML pages are in build/html. make: Leaving directory '/builddir/build/BUILD/copr-backend-1.177/docs' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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/copr_backend copying copr_backend/sshcmd.py -> build/lib/copr_backend copying copr_backend/setup.py -> build/lib/copr_backend copying copr_backend/dispatcher.py -> build/lib/copr_backend copying copr_backend/sign.py -> build/lib/copr_backend copying copr_backend/helpers.py -> build/lib/copr_backend copying copr_backend/job.py -> build/lib/copr_backend copying copr_backend/background_worker_build.py -> build/lib/copr_backend copying copr_backend/actions.py -> build/lib/copr_backend copying copr_backend/app.py -> build/lib/copr_backend copying copr_backend/ans_utils.py -> build/lib/copr_backend copying copr_backend/rpm_builds.py -> build/lib/copr_backend copying copr_backend/__init__.py -> build/lib/copr_backend copying copr_backend/exceptions.py -> build/lib/copr_backend copying copr_backend/constants.py -> build/lib/copr_backend copying copr_backend/background_worker.py -> build/lib/copr_backend copying copr_backend/frontend.py -> build/lib/copr_backend copying copr_backend/createrepo.py -> build/lib/copr_backend copying copr_backend/worker_manager.py -> build/lib/copr_backend copying copr_backend/msgbus.py -> build/lib/copr_backend copying copr_backend/cancellable_thread.py -> build/lib/copr_backend copying copr_backend/hitcounter.py -> build/lib/copr_backend copying copr_backend/vm_alloc.py -> build/lib/copr_backend creating build/lib/copr_backend/daemons copying copr_backend/daemons/build_dispatcher.py -> build/lib/copr_backend/daemons copying copr_backend/daemons/action_dispatcher.py -> build/lib/copr_backend/daemons copying copr_backend/daemons/__init__.py -> build/lib/copr_backend/daemons copying copr_backend/daemons/log.py -> build/lib/copr_backend/daemons creating build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/__init__.py -> build/lib/copr_backend/stats_templates running egg_info creating copr_backend.egg-info writing copr_backend.egg-info/PKG-INFO writing dependency_links to copr_backend.egg-info/dependency_links.txt writing top-level names to copr_backend.egg-info/top_level.txt writing manifest file 'copr_backend.egg-info/SOURCES.txt' reading manifest file 'copr_backend.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'copr_backend.egg-info/SOURCES.txt' copying copr_backend/stats_templates/arches.html.j2 -> build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/chroots.html.j2 -> build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/distro.html.j2 -> build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/index.html.j2 -> build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/topmost.html.j2 -> build/lib/copr_backend/stats_templates + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.45DxtU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch ++ dirname /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 copr-backend-1.177 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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/copr-backend-1.177-2.fc41.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/copr-backend-1.177-2.fc41.noarch/usr creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/sshcmd.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/setup.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/sign.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/helpers.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/job.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/background_worker_build.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/actions.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/app.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/ans_utils.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/rpm_builds.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/exceptions.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/constants.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/background_worker.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/build_dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/action_dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/log.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons copying build/lib/copr_backend/frontend.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/createrepo.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/worker_manager.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/msgbus.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend creating /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/index.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/topmost.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/arches.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/chroots.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/distro.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/cancellable_thread.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/hitcounter.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend copying build/lib/copr_backend/vm_alloc.py -> /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/sshcmd.py to sshcmd.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/setup.py to setup.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/dispatcher.py to dispatcher.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/sign.py to sign.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/job.py to job.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/background_worker_build.py to background_worker_build.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/actions.py to actions.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/app.py to app.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/ans_utils.py to ans_utils.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/rpm_builds.py to rpm_builds.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/exceptions.py to exceptions.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/constants.py to constants.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/background_worker.py to background_worker.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons/build_dispatcher.py to build_dispatcher.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons/action_dispatcher.py to action_dispatcher.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/daemons/log.py to log.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/frontend.py to frontend.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/createrepo.py to createrepo.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/worker_manager.py to worker_manager.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/msgbus.py to msgbus.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/stats_templates/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/cancellable_thread.py to cancellable_thread.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/hitcounter.py to hitcounter.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend/vm_alloc.py to vm_alloc.cpython-312.pyc writing byte-compilation script '/tmp/tmpmxuc04l5.py' /usr/bin/python3 /tmp/tmpmxuc04l5.py removing /tmp/tmpmxuc04l5.py running install_egg_info running egg_info writing copr_backend.egg-info/PKG-INFO writing dependency_links to copr_backend.egg-info/dependency_links.txt writing top-level names to copr_backend.egg-info/top_level.txt reading manifest file 'copr_backend.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'copr_backend.egg-info/SOURCES.txt' Copying copr_backend.egg-info to /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12/site-packages/copr_backend-1.177-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/bin/__pycache__ + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/var/lib/copr/public_html/results + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/doc/copr-backend/lighttpd/ + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/copr + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/logrotate.d/ + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//var/log/copr-backend + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//var/run/copr-backend/ + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//usr/lib/tmpfiles.d + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//usr/sbin + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/cron.daily + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/cron.weekly + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/sudoers.d + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/bin/ + cp -a copr-backend-service /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//usr/sbin/ + cp -a run/copr-assure-permissions run/copr-aws-s3-hitcounter run/copr-backend-analyze-results run/copr-backend-generate-graphs run/copr-backend-process-action run/copr-backend-process-build run/copr-backend-resultdir-cleaner run/copr-backend-unknown-resalloc-tickets.py run/copr-compress-live-logs run/copr-rename-chroot run/copr-repo run/copr-run-dispatcher-backend run/copr_find_obsolete_builds.sh run/copr_find_wrong_chroot_artifacts.py run/copr_fix_gpg.py run/copr_log_hitcounter.py run/copr_print_results_to_delete.py run/copr_prune_results.py run/copr_prune_srpms.py run/copr_run_logger.py run/copr_sign_unsigned.py run/print_queues.py /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/bin/ + cp -a conf/copr-be.conf.example /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/copr/copr-be.conf + install -p -m 755 conf/crontab/daily /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/cron.daily/copr-backend + install -p -m 755 conf/crontab/weekly /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/cron.weekly/copr-backend + cp -a conf/lighttpd/dirlisting.conf conf/lighttpd/mime.conf /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/doc/copr-backend/lighttpd/ + cp -a conf/logrotate/copr-backend /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/logrotate.d/ + cp -a conf/tmpfiles.d/copr-backend.conf /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//usr/lib/tmpfiles.d + touch /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/var/log/copr-backend/copr.log + touch /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/var/log/copr-backend/prune_old.log + cp -a units/copr-backend.target units/copr-backend-action.service units/copr-backend-build.service units/copr-backend-log.service /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch//usr/lib/systemd/system/ + install -m 0644 conf/copr.sudoers.d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/sudoers.d/copr + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/etc/logstash.d + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/logstash/patterns/ + cp -a conf/logstash/lighttpd.pattern /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/logstash/patterns/lighttpd.pattern + install -d /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/doc/copr-backend/examples//etc/logstash.d + cp -a conf/logstash/copr_backend.conf /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/doc/copr-backend/examples//etc/logstash.d/copr_backend.conf + cp -a docs/build/html /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch/usr/share/doc/copr-backend/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.177-2.fc41 --unique-debug-suffix -1.177-2.fc41.noarch --unique-debug-src-base copr-backend-1.177-2.fc41.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/copr-backend-1.177 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 mangling shebang in /usr/bin/copr_find_obsolete_builds.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/copr-compress-live-logs from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/copr-backend-service from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/cron.weekly/copr-backend from /bin/sh to #!/usr/bin/sh + /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/copr-backend-1.177-2.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILDROOT/copr-backend-1.177-2.fc41.noarch Cannot initialize handler pyc: ModuleNotFoundError: No module named 'marshalparser' [src/multiprocess.rs:66:9] &cmd = Command { program: "/usr/bin/add-determinism", args: [ "/usr/bin/add-determinism", "--socket", "3", "--brp", "--handler", "ar,jar,javadoc", ], env: CommandEnv { clear: false, vars: { "SOURCE_DATE_EPOCH": Some( "1717891200", ), }, }, create_pidfd: false, } Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kwHyEQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 copr-backend-1.177 + ./run_tests.sh -vv --no-cov + set -e ++ dirname ./run_tests.sh + srcdir=. ++ grep -E '%global[[:space:]]*tests_version' ++ awk '{ print $3 }' + test_tarball_version=5 ++ grep -E '%global[[:space:]]*tests_tar' ++ awk '{ print $3 }' + test_tarball_name=test-data-copr-backend + test_tarball_extracted=test-data-copr-backend-5 + test_tarball=test-data-copr-backend-5.tar.gz + test -d test-data-copr-backend-5 + export TEST_DATA_DIRECTORY ++ readlink -f test-data-copr-backend-5 + TEST_DATA_DIRECTORY=/builddir/build/BUILD/copr-backend-1.177/test-data-copr-backend-5 + REDIS_PORT=7777 + trap cleanup EXIT + redis-server --port 7777 ++ readlink -f ../common + common_path=/builddir/build/BUILD/common ++ readlink -f ../messaging + messaging_path=/builddir/build/BUILD/messaging + export PYTHONPATH=/builddir/build/BUILD/common:/builddir/build/BUILD/messaging:/builddir/build/BUILD/copr-backend-1.177:/builddir/build/BUILD/copr-backend-1.177/tests:/builddir/build/BUILD/copr-backend-1.177/run + PYTHONPATH=/builddir/build/BUILD/common:/builddir/build/BUILD/messaging:/builddir/build/BUILD/copr-backend-1.177:/builddir/build/BUILD/copr-backend-1.177/tests:/builddir/build/BUILD/copr-backend-1.177/run + export PATH=/builddir/build/BUILD/copr-backend-1.177/run:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/copr-backend-1.177/run:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + COVPARAMS=(--cov-report term-missing --cov ./copr_backend --cov ./run) + KEEP_ARGS=() + for arg in "$@" + case $arg in + KEEP_ARGS+=("$arg") + for arg in "$@" + case $arg in + COVPARAMS=() + python3 -m pytest -s tests -vv ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/copr-backend-1.177 collecting ... collected 187 items tests/test_action.py::TestAction::test_action_run_legal_flag PASSED tests/test_action.py::TestAction::test_action_handle_forks PASSED tests/test_action.py::TestAction::test_action_run_rename SKIPPED (Fixme, test doesn't work.) tests/test_action.py::TestAction::test_action_run_rename_success_on_empty_src SKIPPED tests/test_action.py::TestAction::test_action_run_rename_failure_on_destination_exists SKIPPED tests/test_action.py::TestAction::test_action_run_delete_copr PASSED tests/test_action.py::TestAction::test_action_run_delete_copr_remove_folders SKIPPED tests/test_action.py::TestAction::test_delete_no_chroot_dirs PASSED tests/test_action.py::TestAction::test_delete_build_succeeded PASSED tests/test_action.py::TestAction::test_delete_build_acr_reflected[False] PASSED tests/test_action.py::TestAction::test_delete_build_acr_reflected[True] PASSED tests/test_action.py::TestAction::test_delete_build_succeeded_createrepo_error PASSED tests/test_action.py::TestAction::test_delete_two_chroots PASSED tests/test_action.py::TestAction::test_delete_two_chroots_two_remain PASSED tests/test_action.py::TestAction::test_delete_build_with_bad_pkg_name PASSED tests/test_action.py::TestAction::test_delete_multiple_builds_succeeded PASSED tests/test_action.py::TestAction::test_handle_createrepo_ok[False] PASSED tests/test_action.py::TestAction::test_handle_createrepo_ok[True] PASSED tests/test_action.py::TestAction::test_handle_createrepo_failure_1 PASSED tests/test_action.py::TestAction::test_handle_generate_gpg_key SKIPPED tests/test_action.py::TestAction::test_request_exception_is_taken_care_of_when_posting_to_frontend SKIPPED tests/test_action.py::TestAction::test_delete_chroot PASSED tests/test_action.py::TestAction::test_comps_create PASSED tests/test_action.py::TestAction::test_remove_dirs PASSED tests/test_background_worker_build.py::test_waiting_for_repo_fail PASSED tests/test_background_worker_build.py::test_waiting_for_repo_success PASSED tests/test_background_worker_build.py::test_full_rpm_build_no_sign PASSED tests/test_background_worker_build.py::test_prev_build_backup PASSED tests/test_background_worker_build.py::test_full_srpm_build PASSED tests/test_background_worker_build.py::test_build_and_sign PASSED tests/test_background_worker_build.py::test_sign_built_packages_exception PASSED tests/test_background_worker_build.py::test_unexpected_exception PASSED tests/test_background_worker_build.py::test_build_info_file_failure PASSED tests/test_background_worker_build.py::test_invalid_job_info PASSED tests/test_background_worker_build.py::test_cancel_build_on_vm_allocation PASSED tests/test_background_worker_build.py::test_cancel_build_on_tail_log_no_ssh PASSED tests/test_background_worker_build.py::test_cancel_before_vm PASSED tests/test_background_worker_build.py::test_cancel_before_start PASSED tests/test_background_worker_build.py::test_build_retry PASSED tests/test_background_worker_build.py::test_fe_disallowed_start PASSED tests/test_background_worker_build.py::test_fe_failed_start PASSED tests/test_background_worker_build.py::test_cancel_script_failure PASSED tests/test_background_worker_build.py::test_cancel_build_during_log_download PASSED tests/test_background_worker_build.py::test_ssh_connection_error PASSED tests/test_background_worker_build.py::test_average_step PASSED tests/test_background_worker_build.py::test_retry_for_ssh_tail_failure PASSED tests/test_background_worker_build.py::test_build_failure PASSED tests/test_background_worker_build.py::test_createrepo_failure PASSED tests/test_background_worker_build.py::test_existing_compressed_file PASSED tests/test_background_worker_build.py::test_tail_f_nonzero_exit PASSED tests/test_background_worker_build.py::test_wrong_copr_rpmbuild_daemon_output PASSED tests/test_background_worker_build.py::test_unable_to_start_builder PASSED tests/test_background_worker_build.py::test_retry_vm_factory_take PASSED tests/test_background_worker_build.py::test_failed_build_retry PASSED tests/test_background_worker_build.py::test_buildjob_tags PASSED tests/test_background_worker_build.py::test_task_url PASSED tests/test_build_dispatcher.py::test_priority_numbers PASSED tests/test_build_dispatcher.py::test_frontend_priority[True-2000000] PASSED tests/test_build_dispatcher.py::test_frontend_priority[False-0] PASSED tests/test_build_dispatcher.py::test_sandbox_priority PASSED tests/test_config_reader.py::TestBackendConfigReader::test_minimal_file_and_defaults PASSED tests/test_config_reader.py::TestBackendConfigReader::test_correct_build_limits PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_limits[builds_max_workers=asdfa\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_limits[actions_max_workers=asdfa\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_build_limits[builds_max_workers_arch=abc\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_build_limits[builds_max_workers_arch=abc=asdf\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_build_limits[builds_max_workers_arch=abc=10=\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_build_limits[builds_max_workers_arch=abc=1,\n] PASSED tests/test_config_reader.py::TestBackendConfigReader::test_invalid_build_limits[builds_max_workers_tag=abc=1,\n] PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_normal PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_already_done PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_other_already_done PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_devel_mismatch PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_full_we_take_others PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_full_others_take_us PASSED tests/test_createrepo.py::TestBatchedCreaterepo::test_batched_createrepo_task_limit PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend[get] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend[post] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend[put] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_wrappers[get] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_wrappers[post] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_wrappers[put] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_first_try_ok PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_second_try_ok[get] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_second_try_ok[post] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_second_try_ok[put] PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_err_400 PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_all_attempts_failed PASSED tests/test_frontend.py::TestFrontendClient::test_post_to_frontend_repeated_indefinitely PASSED tests/test_frontend.py::TestFrontendClient::test_retries_on_outdated_frontend PASSED tests/test_frontend.py::TestFrontendClient::test_update PASSED tests/test_frontend.py::TestFrontendClient::test_starting_build PASSED tests/test_frontend.py::TestFrontendClient::test_starting_build_err PASSED tests/test_frontend.py::TestFrontendClient::test_starting_build_err_2 PASSED tests/test_frontend.py::TestFrontendClient::test_reschedule_build PASSED tests/test_helpers.py::TestHelpers::test_redis_logger_exception PASSED tests/test_helpers.py::TestHelpers::test_get_chroot_arch PASSED tests/test_helpers.py::TestHelpers::test_format_filename PASSED tests/test_helpers.py::TestHelpers::test_walk_limited PASSED tests/test_helpers.py::TestHelpers::test_recursive_copy_and_link_rpms PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_modifyrepo_locks FAILED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_add_subdir PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_batched_createrepo PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_batched_already_processed PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_batched_two_builds PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_batched_full PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_batched_others_full PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_add_del_mixup PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_add_subdir_devel PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_subdir_validator[add0] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_subdir_validator[add1] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_subdir_validator[add2] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_subdir_validator[add3] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_subdir_none_doesnt_raise PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_do_stat PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_run_createrepo[True-fedora-37---no-database] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_run_createrepo[False-centos-stream-8---no-database] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_run_createrepo[True-rhel-8---no-database] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_run_createrepo[False-epel-8---no-database] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_el5 SKIPPED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_noop PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_rpms_to_remove_in_call PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_rpms_to_remove_passes PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_rpms_to_remove_passes_2 PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_rpms_to_remove_passes_3 PASSED tests/test_modifyrepo.py::TestModifyRepo::test_comps_present PASSED tests/test_modifyrepo.py::TestModifyRepo::test_run_prunerepo SKIPPED tests/test_modifyrepo.py::TestModifyRepo::test_pruner_arg_max PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_timeouted_check[True] PASSED tests/test_modifyrepo.py::TestModifyRepo::test_copr_repo_timeouted_check[False] PASSED tests/test_modifyrepo.py::test_aws_cdn_refresh PASSED tests/test_sign.py::TestSign::test_get_pubkey PASSED tests/test_sign.py::TestSign::test_get_pubkey_error PASSED tests/test_sign.py::TestSign::test_get_pubkey_unknown_key PASSED tests/test_sign.py::TestSign::test_get_pubkey_unknown_error PASSED tests/test_sign.py::TestSign::test_get_pubkey_outfile PASSED tests/test_sign.py::TestSign::test_sign_one PASSED tests/test_sign.py::TestSign::test_sign_one_popen_error PASSED tests/test_sign.py::TestSign::test_sign_one_cmd_erro PASSED tests/test_sign.py::TestSign::test_call_sign_bin_repeatedly PASSED tests/test_sign.py::TestSign::test_create_user_keys PASSED tests/test_sign.py::TestSign::test_create_user_keys_error_1 PASSED tests/test_sign.py::TestSign::test_create_user_keys_err PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_nothing PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_ok PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_error_on_pubkey PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_no_pub_key PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_sign_error_one PASSED tests/test_sign.py::TestSign::test_sign_rpms_id_dir_sign_error_all PASSED tests/test_sign.py::test_chroot_gpg_hashes PASSED tests/test_sshcmd.py::test_ipv4_ipv6_rsync PASSED tests/test_vm_alloc.py::test_ticket PASSED tests/test_vm_alloc.py::test_ticket_with_args PASSED tests/test_vm_alloc.py::test_ticket_wait_ready_normal PASSED tests/test_vm_alloc.py::test_ticket_wait_ready_raises PASSED tests/test_vm_alloc.py::test_ticket_wait_ready_fallback PASSED tests/test_worker_limits.py::test_predicate_worker_limit PASSED tests/test_worker_limits.py::test_predicate_worker_limit_sometimes PASSED tests/test_worker_limits.py::test_group_worker_limit PASSED tests/test_worker_limits.py::test_worker_limit_info PASSED tests/test_worker_limits.py::test_string_counter PASSED tests/test_worker_manager.py::TestPrioQueue::test_queue_order PASSED tests/test_worker_manager.py::TestPrioQueue::test_pop_push PASSED tests/test_worker_manager.py::TestPrioQueue::test_push_back PASSED tests/test_worker_manager.py::TestPrioQueue::test_shift_prio PASSED tests/test_worker_manager.py::TestLimitedWorkerManager::test_that_limits_are_respected PASSED tests/test_worker_manager.py::TestWorkerManager::test_worker_starts PASSED tests/test_worker_manager.py::TestWorkerManager::test_number_of_tasks PASSED tests/test_worker_manager.py::TestWorkerManager::test_task_to_worker_id PASSED tests/test_worker_manager.py::TestWorkerManager::test_preexisting_broken_worker PASSED tests/test_worker_manager.py::TestWorkerManager::test_cancel_task PASSED tests/test_worker_manager.py::TestWorkerManager::test_slow_priority_queue_filling FAILED tests/test_worker_manager.py::TestActionWorkerManager::test_run_starts_the_workers PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_delete_not_allocated_workers PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_delete_not_started_workers PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_delete_not_finished_workers[FAIL_STARTED_PID] PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_delete_not_finished_workers[FAIL_STARTED] PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_all_passed PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_add_task_for_running_worker PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_empty_queue_but_workers_running PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_that_we_check_aliveness PASSED tests/test_worker_manager.py::TestActionWorkerManager::test_max_workers_has_effect PASSED tests/test_worker_manager.py::TestActionWorkerManagerPriorities::test_actions_priorities PASSED tests/test_worker_manager.py::TestActionWorkerManagerPriorities::test_backend_priority_adjustments PASSED tests/run/test_copr_prune_results.py::TestPruneResults::test_run SKIPPED tests/run/test_copr_prune_results.py::TestPruneResults::test_project_skipped_when_acr_disabled SKIPPED tests/run/test_copr_prune_results.py::TestPruneResults::test_main SKIPPED =================================== FAILURES =================================== __________________ TestModifyRepo.test_copr_modifyrepo_locks ___________________ self = def test_copr_modifyrepo_locks(self): with _lock(self.workdir) as opts: cmd = [modifyrepo, opts.directory, '--log-to-stdout'] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) try: proc.communicate(timeout=2) assert 0 # this shouldn't happen except subprocess.TimeoutExpired: proc.kill() out, err = proc.communicate() assert b"acquired lock" not in out assert b"acquired lock" not in err # with released lock proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) > out, err = proc.communicate(timeout=5) tests/test_modifyrepo.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/subprocess.py:1209: in communicate stdout, stderr = self._communicate(input, endtime, timeout) /usr/lib64/python3.12/subprocess.py:2116: in _communicate self._check_timeout(endtime, orig_timeout, stdout, stderr) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = endtime = 679158.378236643, orig_timeout = 5, stdout_seq = [], stderr_seq = [] skip_check_and_raise = False def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, skip_check_and_raise=False): """Convenience for checking if a timeout has expired.""" if endtime is None: return if skip_check_and_raise or _time() > endtime: > raise TimeoutExpired( self.args, orig_timeout, output=b''.join(stdout_seq) if stdout_seq else None, stderr=b''.join(stderr_seq) if stderr_seq else None) E subprocess.TimeoutExpired: Command '['run/copr-repo', '/tmp/copr-test-copr-repo7cugywa4', '--log-to-stdout']' timed out after 5 seconds /usr/lib64/python3.12/subprocess.py:1253: TimeoutExpired ------------------------------ Captured log call ------------------------------- DEBUG root:copr-repo:324 acquiring lock DEBUG filelock:_api.py:331 Attempting to acquire lock 140735716190752 on /tmp/copr-test-copr-repo7cugywa4/_@_tmp_@_copr-test-copr-repo7cugywa4.lock DEBUG filelock:_api.py:334 Lock 140735716190752 acquired on /tmp/copr-test-copr-repo7cugywa4/_@_tmp_@_copr-test-copr-repo7cugywa4.lock DEBUG root:copr-repo:327 acquired lock DEBUG filelock:_api.py:364 Attempting to release lock 140735716190752 on /tmp/copr-test-copr-repo7cugywa4/_@_tmp_@_copr-test-copr-repo7cugywa4.lock DEBUG filelock:_api.py:367 Lock 140735716190752 released on /tmp/copr-test-copr-repo7cugywa4/_@_tmp_@_copr-test-copr-repo7cugywa4.lock ______________ TestWorkerManager.test_slow_priority_queue_filling ______________ self = def test_slow_priority_queue_filling(self): """ We discovered that adding tasks to a priority queue was a bottleneck when having a large (70k+ builds) queue, see #2095. Make sure this never happen again. """ tasks = [ToyQueueTask(i) for i in range(100000)] # We need to run this test with logging only INFO, otherwise we waste # around 5 seconds just on running self.log.debug because we need to # connect to redis for each call # The point of this test is to make sure that adding tasks to priority # queue is not a bottleneck on production, and we don't use DEBUG there # anyway. log.setLevel(logging.INFO) t1 = time.time() for task in tasks: self.worker_manager.add_task(task) t2 = time.time() # It should actually be faster than 1 second but I am adding one to # prevent false alarms in case somebody has a slow machine > assert t2 - t1 < 2 E assert (1720601585.71898 - 1720601577.6177871) < 2 tests/test_worker_manager.py:314: AssertionError ------------------------------ Captured log setup ------------------------------ DEBUG root:worker_manager.py:386 Adding task 0 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 1 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 2 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 3 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 3 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 3 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 4 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 5 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 6 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 7 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 8 to queue, priority 0 DEBUG root:worker_manager.py:386 Adding task 9 to queue, priority 0 =============================== warnings summary =============================== ../../../../usr/lib/python3.12/site-packages/munch/__init__.py:24 /usr/lib/python3.12/site-packages/munch/__init__.py:24: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources tests/test_frontend.py:14 /builddir/build/BUILD/copr-backend-1.177/tests/test_frontend.py:14: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/test_frontend.py:29 /builddir/build/BUILD/copr-backend-1.177/tests/test_frontend.py:29: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/daemons/test_log.py:18 /builddir/build/BUILD/copr-backend-1.177/tests/daemons/test_log.py:18: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/daemons/test_log.py:24 /builddir/build/BUILD/copr-backend-1.177/tests/daemons/test_log.py:24: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/run/test_copr_prune_results.py:21 /builddir/build/BUILD/copr-backend-1.177/tests/run/test_copr_prune_results.py:21: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/run/test_copr_prune_results.py:26 /builddir/build/BUILD/copr-backend-1.177/tests/run/test_copr_prune_results.py:26: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/run/test_copr_prune_results.py:31 /builddir/build/BUILD/copr-backend-1.177/tests/run/test_copr_prune_results.py:31: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/run/test_copr_prune_results.py:36 /builddir/build/BUILD/copr-backend-1.177/tests/run/test_copr_prune_results.py:36: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/test_action.py: 5 warnings tests/test_modifyrepo.py: 16 warnings tests/run/test_copr_prune_results.py: 3 warnings /usr/lib64/python3.12/tarfile.py:2221: 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. warnings.warn( tests/test_action.py::TestAction::test_comps_create /usr/lib/python3.12/site-packages/httpretty/core.py:1077: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() tests/test_worker_manager.py::TestActionWorkerManager::test_add_task_for_running_worker /usr/lib64/python3.12/copy.py:151: DeprecationWarning: Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14. rv = reductor(4) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_modifyrepo.py::TestModifyRepo::test_copr_modifyrepo_locks FAILED tests/test_worker_manager.py::TestWorkerManager::test_slow_priority_queue_filling ====== 2 failed, 174 passed, 11 skipped, 35 warnings in 935.03s (0:15:35) ====== [INFO/MainProcess] process shutting down [INFO/MainProcess] process shutting down + cleanup + redis-cli -p 7777 shutdown + wait error: Bad exit status from /var/tmp/rpm-tmp.kwHyEQ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kwHyEQ (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M c8f3c407e3b54a3783d33a3934b75810 -D /var/lib/mock/f41-build-1457806-23578/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.l31f6i73:/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/copr-backend.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 c8f3c407e3b54a3783d33a3934b75810 -D /var/lib/mock/f41-build-1457806-23578/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.l31f6i73:/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/copr-backend.spec'