Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-cli.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684267583.357802/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674518400 Wrote: /builddir/build/SRPMS/copr-cli-1.105-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-cli.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1684267583.357802/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674518400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GobSV6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-cli-1.105 + /usr/bin/gzip -dc /builddir/build/SOURCES/copr-cli-1.105.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-cli-1.105 + /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.6gP7QT + umask 022 + cd /builddir/build/BUILD + cd copr-cli-1.105 + version=1.105 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/copr_cli copying copr_cli/util.py -> build/lib/copr_cli copying copr_cli/printers.py -> build/lib/copr_cli copying copr_cli/package_build_order.py -> build/lib/copr_cli copying copr_cli/monitor.py -> build/lib/copr_cli copying copr_cli/main.py -> build/lib/copr_cli copying copr_cli/helpers.py -> build/lib/copr_cli copying copr_cli/build_config.py -> build/lib/copr_cli copying copr_cli/__init__.py -> build/lib/copr_cli running egg_info creating copr_cli.egg-info writing copr_cli.egg-info/PKG-INFO writing dependency_links to copr_cli.egg-info/dependency_links.txt writing entry points to copr_cli.egg-info/entry_points.txt writing requirements to copr_cli.egg-info/requires.txt writing top-level names to copr_cli.egg-info/top_level.txt writing manifest file 'copr_cli.egg-info/SOURCES.txt' reading manifest file 'copr_cli.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README*' under directory 'tests/' adding license file 'LICENSE' writing manifest file 'copr_cli.egg-info/SOURCES.txt' copying copr_cli/README.rst -> build/lib/copr_cli + mv copr_cli/README.rst ./ + a2x -d manpage -f manpage man/copr-cli.1.asciidoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fDeAwg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 + cd copr-cli-1.105 + version=1.105 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr creating /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/README.rst -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/__init__.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/build_config.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/helpers.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/main.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/monitor.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/package_build_order.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/printers.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli copying build/lib/copr_cli/util.py -> /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/build_config.py to build_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/helpers.py to helpers.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/main.py to main.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/monitor.py to monitor.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/package_build_order.py to package_build_order.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/printers.py to printers.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli/util.py to util.cpython-39.pyc writing byte-compilation script '/tmp/tmp5ipq2i78.py' /usr/bin/python3 /tmp/tmp5ipq2i78.py removing /tmp/tmp5ipq2i78.py running install_egg_info running egg_info writing copr_cli.egg-info/PKG-INFO writing dependency_links to copr_cli.egg-info/dependency_links.txt writing entry points to copr_cli.egg-info/entry_points.txt writing requirements to copr_cli.egg-info/requires.txt writing top-level names to copr_cli.egg-info/top_level.txt reading manifest file 'copr_cli.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'copr_cli/README.rst' warning: no files found matching 'README*' under directory 'tests/' adding license file 'LICENSE' writing manifest file 'copr_cli.egg-info/SOURCES.txt' Copying copr_cli.egg-info to /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9/site-packages/copr_cli-1.105-py3.9.egg-info running install_scripts Installing copr-cli script to /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/bin/__pycache__ + ln -sf /usr/bin/copr-cli /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/bin/copr + install -d /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/man/man1 + install -p -m 644 man/copr-cli.1 /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64//usr/share/man/man1/ + install -p man/copr.1 /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64//usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/cheat + cp -a man/copr-cli.cheat /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/cheat/copr-cli + ln -s /usr/share/cheat/copr-cli /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/cheat/copr + install -m 755 copr_cli/package_build_order.py /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64//usr/bin/package-build-order + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.105-1.el9 --unique-debug-suffix -1.105-1.el9.x86_64 --unique-debug-src-base copr-cli-1.105-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/copr-cli-1.105 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ttibwO + umask 022 + cd /builddir/build/BUILD + cd copr-cli-1.105 + /usr/bin/python3 -m pytest -vv tests ============================= test session starts ============================== platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/copr-cli-1.105 collecting ... collected 57 items tests/test_cli.py::TestCliWrapper::test_parse_name PASSED [ 1%] tests/test_cli.py::test_error_keyboard_interrupt PASSED [ 3%] tests/test_cli.py::test_error_old_frontend PASSED [ 5%] tests/test_cli.py::test_error_copr_request PASSED [ 7%] tests/test_cli.py::test_error_argument_error PASSED [ 8%] tests/test_cli.py::test_error_no_args PASSED [ 10%] tests/test_cli.py::test_error_copr_common_exception PASSED [ 12%] tests/test_cli.py::test_error_copr_build_exception PASSED [ 14%] tests/test_cli.py::test_error_copr_unknown_response PASSED [ 15%] tests/test_cli.py::test_cancel_build_no_config PASSED [ 17%] tests/test_cli.py::test_cancel_build_response PASSED [ 19%] tests/test_cli.py::test_list_project PASSED [ 21%] tests/test_cli.py::test_list_builds PASSED [ 22%] tests/test_cli.py::test_list_packages PASSED [ 24%] tests/test_cli.py::test_get_package PASSED [ 26%] tests/test_cli.py::test_list_project_no_username PASSED [ 28%] tests/test_cli.py::test_list_project_no_username2 PASSED [ 29%] tests/test_cli.py::test_list_project_empty_list PASSED [ 31%] tests/test_cli.py::test_status_response PASSED [ 33%] tests/test_cli.py::test_debug_by_status_response PASSED [ 35%] tests/test_cli.py::test_status_response_no_args PASSED [ 36%] tests/test_cli.py::test_delete_project PASSED [ 38%] tests/test_cli.py::test_download_build PASSED [ 40%] tests/test_cli.py::test_download_build_select_chroot PASSED [ 42%] tests/test_cli.py::test_create_project PASSED [ 43%] tests/test_cli.py::test_create_project_with_isolation PASSED [ 45%] tests/test_cli.py::test_edit_chroot_with_isolation PASSED [ 47%] tests/test_cli.py::test_get_chroot_output_format_json PASSED [ 49%] tests/test_cli.py::test_create_multilib_project PASSED [ 50%] tests/test_cli.py::test_create_build_no_wait_ok PASSED [ 52%] tests/test_cli.py::test_create_build_no_wait_error PASSED [ 54%] tests/test_cli.py::test_create_build_wait_succeeded_no_sleep PASSED [ 56%] tests/test_cli.py::test_create_build_wait_error_status PASSED [ 57%] tests/test_cli.py::test_create_build_wait_unknown_build_status PASSED [ 59%] tests/test_cli.py::test_create_build_wait_keyboard_interrupt PASSED [ 61%] tests/test_cli.py::TestCreateBuild::test_create_build_wait_succeeded_complex PASSED [ 63%] tests/test_cli.py::TestCreateBuild::test_create_build_wait_failed_complex PASSED [ 64%] tests/test_cli.py::test_edit_permissions_output PASSED [ 66%] tests/test_cli.py::test_edit_permissions_request PASSED [ 68%] tests/test_cli.py::test_list_chroots PASSED [ 70%] tests/test_cli.py::test_module_build[args0-build_from_file] PASSED [ 71%] tests/test_cli.py::test_module_build[args0-build_from_url] PASSED [ 73%] tests/test_cli.py::test_module_build[args1-build_from_file] PASSED [ 75%] tests/test_cli.py::test_module_build[args1-build_from_url] PASSED [ 77%] tests/test_distgit.py::TestDistGitMethodBuild::test_normal_distgit_build PASSED [ 78%] tests/test_distgit.py::TestDistGitMethodBuild::test_full_featured_distgit_build[on] PASSED [ 80%] tests/test_distgit.py::TestDistGitMethodBuild::test_full_featured_distgit_build[off] PASSED [ 82%] tests/test_distgit.py::TestDistGitMethodPackage::test_add_package_normal PASSED [ 84%] tests/test_distgit.py::TestDistGitMethodPackage::test_edit_package_full PASSED [ 85%] tests/test_distgit.py::TestDistGitMethodPackage::test_edit_package_fail PASSED [ 87%] tests/test_mock_config.py::TestMockConfig::test_basic_repo PASSED [ 89%] tests/test_mock_config.py::TestMockConfig::test_additional_package PASSED [ 91%] tests/test_mock_config.py::TestMockConfig::test_additional_packages PASSED [ 92%] tests/test_mock_config.py::TestMockConfig::test_priority PASSED [ 94%] tests/test_mock_config.py::TestMockConfig::test_no_repos PASSED [ 96%] tests/test_mock_config.py::TestMockConfig::test_no_repos_with_additional PASSED [ 98%] tests/test_util.py::test_serializable PASSED [100%] =============================== warnings summary =============================== tests/cli_tests_lib.py:20 /builddir/build/BUILD/copr-cli-1.105/tests/cli_tests_lib.py:20: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def f_test_config(): tests/test_distgit.py:54 /builddir/build/BUILD/copr-cli-1.105/tests/test_distgit.py:54: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def f_patch_create_from_distgit(f_test_config, capsys): tests/test_distgit.py:106 /builddir/build/BUILD/copr-cli-1.105/tests/test_distgit.py:106: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def f_patch_package_distgit(f_test_config, capsys): tests/test_mock_config.py:81 /builddir/build/BUILD/copr-cli-1.105/tests/test_mock_config.py:81: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def f_get_build_config(self): -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 57 passed, 4 warnings in 1.19s ======================== + RPM_EC=0 Processing files: copr-cli-1.105-1.el9.noarch ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IPQCjr + umask 022 + cd /builddir/build/BUILD + cd copr-cli-1.105 + DOCDIR=/builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/doc/copr-cli + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/doc/copr-cli + cp -pr README.rst /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/doc/copr-cli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C2TTwv + umask 022 + cd /builddir/build/BUILD + cd copr-cli-1.105 + LICENSEDIR=/builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/licenses/copr-cli + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/licenses/copr-cli + cp -pr LICENSE /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64/usr/share/licenses/copr-cli + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/copr -> /usr/bin/copr-cli warning: absolute symlink: /usr/share/cheat/copr -> /usr/share/cheat/copr-cli Provides: copr-cli = 1.105-1.el9 python3.9dist(copr-cli) = 1.105 python3dist(copr-cli) = 1.105 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.9 python3.9dist(copr) python3.9dist(future) python3.9dist(humanize) python3.9dist(jinja2) python3.9dist(setuptools) python3.9dist(simplejson) Obsoletes: copr-cli-doc < 1.72 Recommends: python3-progress Suggests: python3-beautifulsoup4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 Wrote: /builddir/build/RPMS/copr-cli-1.105-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GIr0nF + umask 022 + cd /builddir/build/BUILD + cd copr-cli-1.105 + /usr/bin/rm -rf /builddir/build/BUILDROOT/copr-cli-1.105-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0