Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-backend.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679564749.928202/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/copr-backend-1.165-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-backend.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679564749.928202/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/copr-backend-1.165-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-backend.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1679564749.928202/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R6s10i + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-backend-1.165 + /usr/bin/gzip -dc /builddir/build/SOURCES/copr-backend-1.165.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-backend-1.165 + /usr/bin/gzip -dc /builddir/build/SOURCES/test-data-copr-backend-2.tar.gz + /usr/bin/tar -xof - + 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.IxJvtf + umask 022 + cd /builddir/build/BUILD + cd copr-backend-1.165 + make -C docs -j4 html make: Entering directory '/builddir/build/BUILD/copr-backend-1.165/docs' sphinx-build-3 -b html -d build/doctrees source build/html Running Sphinx v4.4.0 making output directory... done building [mo]: targets for 0 po files that are out of date 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... [ 15%] README reading sources... [ 18%] Statistics reading sources... [ 21%] VmManagement reading sources... [ 25%] index reading sources... [ 28%] package/actions reading sources... [ 31%] package/constants reading sources... [ 34%] package/createrepo reading sources... [ 37%] package/daemons/backend reading sources... [ 40%] package/daemons/dispatcher reading sources... [ 43%] package/daemons/job_grab reading sources... [ 46%] 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... [ 65%] package/mockremote/__init__ reading sources... [ 68%] package/mockremote/builder reading sources... [ 71%] 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... [ 87%] package/vm_manage/manager reading sources... [ 90%] package/vm_manage/models reading sources... [ 93%] package/vm_manage/spawn reading sources... [ 96%] 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' looking for now-outdated files... 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' 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' none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 3%] Autodoc writing output... [ 6%] Backend_design writing output... [ 9%] Configuration writing output... [ 12%] INSTALL writing output... [ 15%] README writing output... [ 18%] Statistics writing output... [ 21%] VmManagement writing output... [ 25%] index writing output... [ 28%] package/actions writing output... [ 31%] package/constants writing output... [ 34%] package/createrepo writing output... [ 37%] package/daemons/backend writing output... [ 40%] package/daemons/dispatcher writing output... [ 43%] package/daemons/job_grab writing output... [ 46%] 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... [ 65%] package/mockremote/__init__ writing output... [ 68%] package/mockremote/builder writing output... [ 71%] 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... [ 87%] package/vm_manage/manager writing output... [ 90%] package/vm_manage/models writing output... [ 93%] package/vm_manage/spawn writing output... [ 96%] package/vm_manage/terminate writing output... [100%] run_scripts generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... 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.165/docs' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/copr_backend copying copr_backend/sign.py -> build/lib/copr_backend copying copr_backend/worker_manager.py -> build/lib/copr_backend copying copr_backend/app.py -> build/lib/copr_backend copying copr_backend/sshcmd.py -> build/lib/copr_backend copying copr_backend/hitcounter.py -> build/lib/copr_backend copying copr_backend/helpers.py -> build/lib/copr_backend copying copr_backend/background_worker.py -> build/lib/copr_backend copying copr_backend/rpm_builds.py -> build/lib/copr_backend copying copr_backend/actions.py -> build/lib/copr_backend copying copr_backend/cancellable_thread.py -> build/lib/copr_backend copying copr_backend/ans_utils.py -> build/lib/copr_backend copying copr_backend/setup.py -> build/lib/copr_backend copying copr_backend/job.py -> build/lib/copr_backend copying copr_backend/msgbus.py -> build/lib/copr_backend copying copr_backend/frontend.py -> build/lib/copr_backend copying copr_backend/vm_alloc.py -> build/lib/copr_backend copying copr_backend/__init__.py -> build/lib/copr_backend copying copr_backend/constants.py -> build/lib/copr_backend copying copr_backend/background_worker_build.py -> build/lib/copr_backend copying copr_backend/createrepo.py -> build/lib/copr_backend copying copr_backend/exceptions.py -> build/lib/copr_backend copying copr_backend/dispatcher.py -> build/lib/copr_backend creating build/lib/copr_backend/stats_templates copying copr_backend/stats_templates/__init__.py -> build/lib/copr_backend/stats_templates creating build/lib/copr_backend/daemons copying copr_backend/daemons/action_dispatcher.py -> build/lib/copr_backend/daemons copying copr_backend/daemons/build_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 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 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.r1T37d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64 ++ dirname /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64 + cd copr-backend-1.165 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/sign.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/worker_manager.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/app.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/sshcmd.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/hitcounter.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/helpers.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/background_worker.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/rpm_builds.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/arches.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/index.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/topmost.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/distro.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/chroots.html.j2 -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/stats_templates/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates copying build/lib/copr_backend/actions.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/cancellable_thread.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/ans_utils.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/setup.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/job.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend creating /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/action_dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/build_dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons copying build/lib/copr_backend/daemons/log.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons copying build/lib/copr_backend/msgbus.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/frontend.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/vm_alloc.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/__init__.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/constants.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/background_worker_build.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/createrepo.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/exceptions.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend copying build/lib/copr_backend/dispatcher.py -> /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/sign.py to sign.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/worker_manager.py to worker_manager.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/app.py to app.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/sshcmd.py to sshcmd.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/hitcounter.py to hitcounter.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/helpers.py to helpers.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/background_worker.py to background_worker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/rpm_builds.py to rpm_builds.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/stats_templates/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/actions.py to actions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/cancellable_thread.py to cancellable_thread.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/ans_utils.py to ans_utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/setup.py to setup.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/job.py to job.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons/action_dispatcher.py to action_dispatcher.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons/build_dispatcher.py to build_dispatcher.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/daemons/log.py to log.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/msgbus.py to msgbus.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/frontend.py to frontend.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/vm_alloc.py to vm_alloc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/constants.py to constants.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/background_worker_build.py to background_worker_build.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/createrepo.py to createrepo.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend/dispatcher.py to dispatcher.cpython-39.pyc writing byte-compilation script '/tmp/tmpaug4ugor.py' /usr/bin/python3 /tmp/tmpaug4ugor.py removing /tmp/tmpaug4ugor.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.165-1.x86_64/usr/lib/python3.9/site-packages/copr_backend-1.165-py3.9.egg-info running install_scripts + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/var/lib/copr/public_html/results + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/lighttpd/ + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/copr + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/logrotate.d/ + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//var/log/copr-backend + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//var/run/copr-backend/ + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//usr/lib/tmpfiles.d + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//usr/sbin + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/cron.daily + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/cron.weekly + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/sudoers.d + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/bin/ + cp -a copr-backend-service /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//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 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.165-1.x86_64/usr/bin/ + cp -a conf/copr-be.conf.example /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/copr/copr-be.conf + install -p -m 755 conf/crontab/daily /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/cron.daily/copr-backend + install -p -m 755 conf/crontab/weekly /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/cron.weekly/copr-backend + cp -a conf/lighttpd/dirlisting.conf conf/lighttpd/mime.conf /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/lighttpd/ + cp -a conf/logrotate/copr-backend /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/logrotate.d/ + cp -a conf/tmpfiles.d/copr-backend.conf /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64//usr/lib/tmpfiles.d + touch /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/var/log/copr-backend/copr.log + touch /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/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.165-1.x86_64//usr/lib/systemd/system/ + install -m 0644 conf/copr.sudoers.d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/sudoers.d/copr + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/etc/logstash.d + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/logstash/patterns/ + cp -a conf/logstash/lighttpd.pattern /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/logstash/patterns/lighttpd.pattern + cp -a conf/playbooks /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/ + install -d /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/examples//etc/logstash.d + cp -a conf/logstash/copr_backend.conf /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/examples//etc/logstash.d/copr_backend.conf + cp -a docs/build/html /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/share/doc/copr-backend/ + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.165-1 --unique-debug-suffix -1.165-1.x86_64 --unique-debug-src-base copr-backend-1.165-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/copr-backend-1.165 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/copr-backend-1.165-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0H3gDC + umask 022 + cd /builddir/build/BUILD + cd copr-backend-1.165 + ./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=2 ++ grep -E '%global[[:space:]]*tests_tar' ++ awk '{ print $3 }' + test_tarball_name=test-data-copr-backend + test_tarball_extracted=test-data-copr-backend-2 + test_tarball=test-data-copr-backend-2.tar.gz + test -d test-data-copr-backend-2 + export TEST_DATA_DIRECTORY ++ readlink -f test-data-copr-backend-2 + TEST_DATA_DIRECTORY=/builddir/build/BUILD/copr-backend-1.165/test-data-copr-backend-2 + 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.165:/builddir/build/BUILD/copr-backend-1.165/tests:/builddir/build/BUILD/copr-backend-1.165/run + PYTHONPATH=/builddir/build/BUILD/common:/builddir/build/BUILD/messaging:/builddir/build/BUILD/copr-backend-1.165:/builddir/build/BUILD/copr-backend-1.165/tests:/builddir/build/BUILD/copr-backend-1.165/run + export PATH=/builddir/build/BUILD/copr-backend-1.165/run:/builddir/.local/bin:/builddir/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin + PATH=/builddir/build/BUILD/copr-backend-1.165/run:/builddir/.local/bin:/builddir/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/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.9.9, pytest-6.2.2, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/copr-backend-1.165 collecting ... collected 88 items / 5 errors / 83 selected ==================================== ERRORS ==================================== ____________________ ERROR collecting tests/test_action.py _____________________ ImportError while importing test module '/builddir/build/BUILD/copr-backend-1.165/tests/test_action.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib64/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_action.py:21: in from testlib.repodata import load_primary_xml tests/testlib/__init__.py:10: in from copr_backend.background_worker_build import COMMANDS copr_backend/background_worker_build.py:30: in from copr_backend.msgbus import MessageSender copr_backend/msgbus.py:10: in from copr_messaging import schema E ModuleNotFoundError: No module named 'copr_messaging' ____________ ERROR collecting tests/test_background_worker_build.py ____________ ImportError while importing test module '/builddir/build/BUILD/copr-backend-1.165/tests/test_background_worker_build.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib64/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_background_worker_build.py:22: in from copr_backend.background_worker_build import ( copr_backend/background_worker_build.py:30: in from copr_backend.msgbus import MessageSender copr_backend/msgbus.py:10: in from copr_messaging import schema E ModuleNotFoundError: No module named 'copr_messaging' __________________ ERROR collecting tests/test_createrepo.py ___________________ ImportError while importing test module '/builddir/build/BUILD/copr-backend-1.165/tests/test_createrepo.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib64/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_createrepo.py:7: in import testlib tests/testlib/__init__.py:10: in from copr_backend.background_worker_build import COMMANDS copr_backend/background_worker_build.py:30: in from copr_backend.msgbus import MessageSender copr_backend/msgbus.py:10: in from copr_messaging import schema E ModuleNotFoundError: No module named 'copr_messaging' ____________________ ERROR collecting tests/test_helpers.py ____________________ ImportError while importing test module '/builddir/build/BUILD/copr-backend-1.165/tests/test_helpers.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib64/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_helpers.py:11: in from copr_backend.background_worker_build import BackendError copr_backend/background_worker_build.py:30: in from copr_backend.msgbus import MessageSender copr_backend/msgbus.py:10: in from copr_messaging import schema E ModuleNotFoundError: No module named 'copr_messaging' __________________ ERROR collecting tests/test_modifyrepo.py ___________________ ImportError while importing test module '/builddir/build/BUILD/copr-backend-1.165/tests/test_modifyrepo.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:531: in import_path importlib.import_module(module_name) /usr/lib64/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_modifyrepo.py:21: in from testlib.repodata import load_primary_xml tests/testlib/__init__.py:10: in from copr_backend.background_worker_build import COMMANDS copr_backend/background_worker_build.py:30: in from copr_backend.msgbus import MessageSender copr_backend/msgbus.py:10: in from copr_messaging import schema E ModuleNotFoundError: No module named 'copr_messaging' =============================== warnings summary =============================== tests/test_frontend.py:15 /builddir/build/BUILD/copr-backend-1.165/tests/test_frontend.py:15: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def post_req(): tests/test_frontend.py:30 /builddir/build/BUILD/copr-backend-1.165/tests/test_frontend.py:30: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_time(): tests/daemons/test_log.py:19 /builddir/build/BUILD/copr-backend-1.165/tests/daemons/test_log.py:19: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_logging(): tests/daemons/test_log.py:25 /builddir/build/BUILD/copr-backend-1.165/tests/daemons/test_log.py:25: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_setproctitle(): tests/run/test_copr_prune_results.py:22 /builddir/build/BUILD/copr-backend-1.165/tests/run/test_copr_prune_results.py:22: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_runcmd(): tests/run/test_copr_prune_results.py:27 /builddir/build/BUILD/copr-backend-1.165/tests/run/test_copr_prune_results.py:27: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_bcr(): tests/run/test_copr_prune_results.py:32 /builddir/build/BUILD/copr-backend-1.165/tests/run/test_copr_prune_results.py:32: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_build_devel(): tests/run/test_copr_prune_results.py:37 /builddir/build/BUILD/copr-backend-1.165/tests/run/test_copr_prune_results.py:37: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mc_pruner(): -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR tests/test_action.py ERROR tests/test_background_worker_build.py ERROR tests/test_createrepo.py ERROR tests/test_helpers.py ERROR tests/test_modifyrepo.py !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 8 warnings, 5 errors in 1.30s ========================= [INFO/MainProcess] process shutting down + cleanup + redis-cli -p 7777 shutdown + wait error: Bad exit status from /var/tmp/rpm-tmp.0H3gDC (%check) Bad exit status from /var/tmp/rpm-tmp.0H3gDC (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-backend.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-backend.spec