Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1690427571.544808/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/copr-frontend-1.200-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1690427571.544808/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/copr-frontend-1.200-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1690427571.544808/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JKXYwr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-frontend-1.200 + /usr/bin/gzip -dc /builddir/build/SOURCES/copr-frontend-1.200.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-frontend-1.200 + /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.WhkfdD + umask 022 + cd /builddir/build/BUILD + cd copr-frontend-1.200 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tW14dF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64 ++ dirname /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64 + cd copr-frontend-1.200 + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/copr + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/openid_store + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/openid_store/associations + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/openid_store/nonces + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/openid_store/temp + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/whooshee + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/whooshee/copr_user_whoosheer + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/srpm_storage + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/cron.hourly + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/cron.daily + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64//usr/bin + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/libexec + install -p -m 755 conf/cron.hourly/copr-frontend conf/cron.hourly/copr-frontend-optional /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/cron.hourly + install -p -m 755 conf/cron.daily/copr-frontend conf/cron.daily/copr-frontend-optional /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/cron.daily + install -p -m 755 coprs_frontend/run/copr_dump_db.sh /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/libexec + cp -a coprs_frontend/CONTRIBUTION_GUIDELINES coprs_frontend/alembic coprs_frontend/alembic.ini coprs_frontend/application coprs_frontend/commands coprs_frontend/config coprs_frontend/coprs coprs_frontend/coprs.conf.example coprs_frontend/generate_colorscheme coprs_frontend/manage.py coprs_frontend/pagure_events.py coprs_frontend/run coprs_frontend/tests /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend + rm -rf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests + sed -i s/__RPM_BUILD_VERSION/1.200-1/ /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/coprs/templates/layout.html + mv /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/coprs.conf.example ./ + mv /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/config/chroots.conf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/config/copr.conf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/config/copr_devel.conf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/config/copr_unit_test.conf /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/copr + rm /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/CONTRIBUTION_GUIDELINES + touch /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/lib/copr/data/copr.db + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/log/copr-frontend + install -d /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/logrotate.d + cp -a conf/logrotate /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/etc/logrotate.d/copr-frontend + touch /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/var/log/copr-frontend/frontend.log + ln -fs /usr/share/copr/coprs_frontend/manage.py /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64//usr/bin/copr-frontend ++ dirname /usr/share/copr/copr-flavor-filelist + mkdir -p /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64//usr/share/copr + cat + mkdir -p /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/lib/rpm/macros.d + cat + python_binary=/usr/bin/python3 + bytecode_compilation_path=/builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/coprs + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/coprs -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -O -m py_compile + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/coprs -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -m py_compile + python_binary=/usr/bin/python3 + bytecode_compilation_path=/builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/alembic + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/alembic -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -O -m py_compile + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/alembic -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -m py_compile + python_binary=/usr/bin/python3 + bytecode_compilation_path=/builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -O -m py_compile find: '/builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests': No such file or directory + find /builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -m py_compile find: '/builddir/build/BUILDROOT/copr-frontend-1.200-1.aarch64/usr/share/copr/coprs_frontend/tests': No such file or directory + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.200-1 --unique-debug-suffix -1.200-1.aarch64 --unique-debug-src-base copr-frontend-1.200-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/copr-frontend-1.200 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 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.leZEUd + umask 022 + cd /builddir/build/BUILD + cd copr-frontend-1.200 + ./run_tests.sh -vv --no-cov + set -e + REDIS_PORT=7777 + trap cleanup EXIT + redis-server --port 7777 + ./build_aux/check-alembic-revisions dabab11132c1_initial_db_setup.py 3b67c52f5277_add_repos_to_copr_chroot.py 4af9d157c4ea_add_unique_constraint_for_mock_chroots.py 38ea34def9a_add_proxy_column_to_user_table.py bf4b5dc74740_map_mock_croots_to_dits_git_branch.py 878d9d5311b7_add_use_bootstrap_container_to_copr.py cab566cc7dfb_add_batch_build_table.py 227f6bf8f10b_add_build_requires_to_build_chroot.py 3d89a66848c5_follow_fedora_branching.py 669ba46bf357_add_srpm_url_to_build_table.py fdec9947f8a1_add_web_hook_source_type_index.py a8654abcec65_unify_scm_source_types.py 512ff2b9eb6c_unify_scm_source_types_for_packages.py 7bb0c7762df0_make_new_prio_columns.py 3b0851cb25fc_add_build_to_module_relation.py f61a5c930abf_unique_constraint_on_modules.py 1f94b22f70a1_change_module_version_to_bigint.py e183e12563ee_add_index_to_module_id.py 4edb1ca2a13f_remove_priority_columns.py 3576fc77fb31_added_source_status_to_build.py 26bf5b9a4dd0_indeces_for_faster_build_selection.py 465202bfb9ce_update_db_functions.py 24e9054d4155_fix_results_paths.py 10029c92dd0d_add_with_without_columns_for_copr_chroot.py acac8d3ae868_add_table_for_graph_statistics.py 887cbbd6575e_scm_integration.py ac5917e5c4fe_make_copr_dirs_unique_by_ownername.py 3637b9daf7e4_generate_main_copr_dirs.py c28451aaed50_fix_defaults.py 51716ab39d37_package_chroot_blacklist.py 69c5f19841a5_add_delete_after_and_delete_notify_.py 6fed8655d074_remove_build_results_column.py 8bf844cc7135_add_index_for_delete_after_a_delete_.py deaddeadc0de_add_indexes.py deadbeafc0de_add_indexes2.py code4beaf000_add_indexes3.py ca76b7902c2f_remove_old_status_column.py b64659389c54_add_column_final_prunerepo_done_to_mock_.py 29c352bde564_separate_private_stuff_into_private_.py 7723d580c625_copy_private_data_to_private_tables.py b8a8a1345ed9_remove_now_private_columns_from_user_and_copr.py b828274ddebf_temporary_project.py 9bc8681ed275_max_package_builds_per_copr_dir.py 8ae65946df53_add_blocked_by_column_for_batch.py 2d8b4722918b_remove_unused_module_md_name_and_module_.py 1f4e04bb3618_add_build_submitted_by_field.py 55a07cb7bd68_add_table_for_pinnedcoprs.py 3cba3ffe2836_on_delete_cascade_for_table_build.py 12abab545d7a_added_index_for_main_in_copr_dir.py 6800e08934eb_add_comment_to_mock_chroot_table.py 0dbdd06fb850_multilib_knob_on_copr_public.py 745250baedaf_new_column_resubmitted_from_id.py 4ed794df3bbb_add_module_hotfixes_column_for_copr_.py 2db1d0557b06_fill_ended_on_column_in_action_table.py cb928c34d36c_add_actionsstatistics_table.py a8ef299dcac8_add_indexes_to_actions.py d230af5e05d8_drop_unused_pg_only_db_functions.py 2561c13a3556_add_dist_git_instance_table.py 67ba91dda3e3_add_module_toggle_to_copr_chroot.py 58eab04e5afc_add_priority_column_for_actions.py d2fbc2ab630d_drop_fedora_alembic_config.py 6d0a02dc7de4_sync_desynced_migrations_with_models.py 6f83ea2ba416_add_runtime_dependencies_to_copr.py 4d06318043d3_add_buildchroot_id_and_coprchroot_id.py b0fd99505e37_fixup_unassigned_copr_chroots.py 484a1d4dd424_add_cancel_requests_table.py de903581465c_create_table_for_upvoting_and_.py 63db6872060f_add_bootstrap_config_columns.py 9b7211be5017_add_reviewed_outdated_chroot_table.py b14b27e4a795_adding_isolation_option.py d6cbf6cd74da_prefer_none_over_empty_string_in_email_.py 8fd7c4714189_isolation_option_for_chroot.py 1c67bc715d78_add_fedora_review_column_for_projects.py 6866cd91c3c6_add_deleted_column_for_coprchroot.py 6b48324e9264_disallow_dash_in_os_release.py 808912fe46d3_unique_name_in_copr.py d8a1062ee4cf_fixup_source_state.py efec6b1aa9a2_add_buildchrootresults.py 2318cc31444e_add_column_appstream.py 8ea94673d6ee_index_coprchroot_deleted.py e2b1cb42e6b7_add_namespace_for_fedora_distgit.py 45d0515bdc3f_drop_proxy_column.py d5990bd4aa46_index_build_id_per_dir.py b630bad8a01e_add_index_for_combination_of_build_id_.py 33a73ed44f83_blacklist_denylist.py 55d1e8962a93_add_index_for_buildchrootresult_build_id.py 58f7510f0fae_mockchroot_tags_property.py 9409fc1d5895_build_batch_id_indexed.py 5ecebe072cb7_drop_config_name_column_from_krb_login.py 50e68db97d0a_adjust_counterstat_name_length.py 484e28958b27_deduplicate_packages.py 004a017535dc_add_packit_forge_projects_allowed_for_.py 65a172e3f102_unquote_counter_stat_urls.py bc29f080b915_drop_krb5_table.py ba6ac0936bfb_rawhide_to_release.py + COVPARAMS=(--cov-report term-missing --cov run --cov coprs --cov commands) + KEEP_ARGS=() + for arg in "$@" + case $arg in + KEEP_ARGS+=("$arg") + for arg in "$@" + case $arg in + COVPARAMS=() ++ readlink -f ../common + common_path=/builddir/build/BUILD/common + run_path=/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/run + export PYTHONPATH=/builddir/build/BUILD/common:/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/run + PYTHONPATH=/builddir/build/BUILD/common:/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/run + export PATH=/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/run:/builddir/.local/bin:/builddir/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/run:/builddir/.local/bin:/builddir/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ pwd + export COPR_CONFIG=/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/config/copr_unit_test.conf + COPR_CONFIG=/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/config/copr_unit_test.conf + cd coprs_frontend + ./manage.py test -vv Traceback (most recent call last): File "/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/./manage.py", line 13, in from commands.flask3_wrapper import get_flask_wrapper_command File "/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/commands/__init__.py", line 3, in from coprs import models File "/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/coprs/__init__.py", line 87, in import coprs.whoosheers File "/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/coprs/whoosheers.py", line 9, in from coprs import models File "/builddir/build/BUILD/copr-frontend-1.200/coprs_frontend/coprs/models.py", line 25, in from libravatar import libravatar_url File "/usr/lib/python3.9/site-packages/libravatar.py", line 27, in import DNS ModuleNotFoundError: No module named 'DNS' + cleanup + redis-cli -p 7777 shutdown + wait error: Bad exit status from /var/tmp/rpm-tmp.leZEUd (%check) Bad exit status from /var/tmp/rpm-tmp.leZEUd (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/copr-frontend.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 aarch64 --nodeps /builddir/build/SPECS/copr-frontend.spec