Mock Version: 2.7 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1607609122.979515/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=1001gid=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-dist-git.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=1604880000 Wrote: /builddir/build/SRPMS/copr-dist-git-0.48-1.fc34.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-dist-git.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1607609122.979515/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=1001gid=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-dist-git.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=1604880000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F1aWil + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-dist-git-0.48 + /usr/bin/gzip -dc /builddir/build/SOURCES/copr-dist-git-0.48.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-dist-git-0.48 + /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.kYBuhl + umask 022 + cd /builddir/build/BUILD + cd copr-dist-git-0.48 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PpQp6k + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 + cd copr-dist-git-0.48 + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/copr + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/logrotate.d/ + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/httpd/conf.d/ + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/var/log/copr-dist-git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/lib/tmpfiles.d + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/var/lib/copr-dist-git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/bin/ + install -d /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/cron.monthly + install -p -m 755 conf/cron.monthly/copr-dist-git /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/cron.monthly/copr-dist-git + cp -a dist_git/__init__.py dist_git/bin dist_git/exceptions.py dist_git/helpers.py dist_git/import_task.py dist_git/importer.py dist_git/package_import.py dist_git/process_pool.py /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git + cp -a conf/copr-dist-git.conf.example /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/copr/copr-dist-git.conf + cp -a conf/httpd/copr-dist-git.conf /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/httpd/conf.d/copr-dist-git.conf + cp -a conf/tmpfiles.d/copr-dist-git.conf /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64//usr/lib/tmpfiles.d + cp -a copr-dist-git.service /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/lib/systemd/system/ + cp -a run/clear_lookaside_cache.py run/importer_runner.py run/prune-dist-git.py run/remove_unused_sources /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/bin/ + cp -a conf/logrotate /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/etc/logrotate.d/copr-dist-git + mv /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/bin/remove_unused_sources /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/bin/copr-prune-dist-git-sources + touch /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/var/log/copr-dist-git/main.log + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=39 + '[' 39 -ge 39 ']' + py39_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 -p / /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git Listing '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/__init__.py'... Listing '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/bin'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/exceptions.py'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/helpers.py'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/import_task.py'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/importer.py'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/package_import.py'... Compiling '/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/copr/dist_git/process_pool.py'... + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.48-1.fc34 --unique-debug-suffix -0.48-1.fc34.x86_64 --unique-debug-src-base copr-dist-git-0.48-1.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/copr-dist-git-0.48 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/copr-prune-dist-git-sources from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/copr/dist_git/bin/cgit_pkg_list from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Uf1p1l + umask 022 + cd /builddir/build/BUILD + cd copr-dist-git-0.48 + ./run_tests.sh -vv + set -e ++ readlink -f ../common + common_path=/builddir/build/BUILD/common + export PYTHONPATH=/builddir/build/BUILD/common + PYTHONPATH=/builddir/build/BUILD/common + python3 -m pytest --cov-report term-missing --cov ./dist_git tests -vv ============================= test session starts ============================== platform linux -- Python 3.9.1rc1, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/copr-dist-git-0.48 plugins: cov-2.10.1 collecting ... collected 19 items tests/test_crazy_merging.py::TestMerging::test_merged_everything PASSED [ 5%] tests/test_crazy_merging.py::TestMerging::test_diverge_middle_branches PASSED [ 10%] tests/test_crazy_merging.py::TestMerging::test_no_op_1 PASSED [ 15%] tests/test_importer.py::TestImporter::test_try_to_obtain_new_task_empty PASSED [ 21%] tests/test_importer.py::TestImporter::test_try_to_obtain_handle_error PASSED [ 26%] tests/test_importer.py::TestImporter::test_try_to_obtain_ok PASSED [ 31%] tests/test_importer.py::TestImporter::test_try_to_obtain_ok_2 PASSED [ 36%] tests/test_importer.py::TestImporter::test_try_to_obtain_new_task_unknown_source_type_ok_3 PASSED [ 42%] tests/test_importer.py::TestImporter::test_post_back PASSED [ 47%] tests/test_importer.py::TestImporter::test_post_back_safe PASSED [ 52%] tests/test_importer.py::TestImporter::test_do_import PASSED [ 57%] tests/test_importer.py::TestImporter::test_run PASSED [ 63%] tests/test_multiprocessing.py::TestWorker::test_timeout PASSED [ 68%] tests/test_multiprocessing.py::TestPool::test_busy PASSED [ 73%] tests/test_multiprocessing.py::TestPool::test_remove_dead PASSED [ 78%] tests/test_multiprocessing.py::TestPool::test_terminate_timeouted PASSED [ 84%] tests/test_package_import.py::TestPackageImport::test_my_upload PASSED [ 89%] tests/test_package_import.py::TestPackageImport::test_import_package PASSED [ 94%] tests/test_package_import.py::TestPackageImport::test_setup_git_repo PASSED [100%] =============================== warnings summary =============================== /usr/lib/python3.9/site-packages/koji/__init__.py:31 /usr/lib/python3.9/site-packages/koji/__init__.py:31: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp -- Docs: https://docs.pytest.org/en/stable/warnings.html --------- coverage: platform linux, python 3.9.1-candidate-1 --------- Name Stmts Miss Cover Missing ---------------------------------------------------------- dist_git/__init__.py 0 0 100% dist_git/exceptions.py 10 0 100% dist_git/helpers.py 96 64 33% 27-32, 46-63, 72, 75-80, 85-138, 149-168, 186-187, 198 dist_git/import_task.py 29 3 90% 24-25, 38 dist_git/importer.py 87 2 98% 91-92 dist_git/package_import.py 128 26 80% 49-50, 100-101, 115-121, 127-133, 143-148, 195-197, 226-228 dist_git/process_pool.py 36 2 94% 25, 49 ---------------------------------------------------------- TOTAL 386 97 75% ======================== 19 passed, 1 warning in 6.71s ========================= + RPM_EC=0 ++ jobs -p Processing files: copr-dist-git-0.48-1.fc34.noarch + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.grydVk + umask 022 + cd /builddir/build/BUILD + cd copr-dist-git-0.48 + LICENSEDIR=/builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/licenses/copr-dist-git + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/licenses/copr-dist-git + cp -pr LICENSE /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64/usr/share/licenses/copr-dist-git + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /var/log/copr-dist-git/main.log warning: File listed twice: /var/log/copr-dist-git/main.log Provides: config(copr-dist-git) = 0.48-1.fc34 copr-dist-git = 0.48-1.fc34 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh 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(pre): /bin/sh Requires(post): /bin/sh policycoreutils-python-utils Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/bash /usr/bin/python3 /usr/bin/sh Recommends: logrotate python3-copr Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 Wrote: /builddir/build/RPMS/copr-dist-git-0.48-1.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HkmeZl + umask 022 + cd /builddir/build/BUILD + cd copr-dist-git-0.48 + /usr/bin/rm -rf /builddir/build/BUILDROOT/copr-dist-git-0.48-1.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0