Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1590059187.892219/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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', 'd92ad1369aab422f8f057f5c4c43242b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1590059187.892219/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1585699200 Wrote: /builddir/build/SRPMS/mock-2.2-1.git.8.e80a3be.fc33.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/mock.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1590059187.892219/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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', '3e435aa82609447ca4df25252f27d391', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1590059187.892219/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hqpdil92:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1585699200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1wwxmu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-git-8.e80a3be + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-git-8.e80a3be.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-git-8.e80a3be + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock.py + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock-parse-buildlog.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LuzI3w + umask 022 + cd /builddir/build/BUILD + cd mock-git-8.e80a3be + for i in py/mock.py py/mock-parse-buildlog.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="2.2"|' py/mock.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mock.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.8/site-packages"|' py/mock.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.8/site-packages/mockbuild"|' py/mock.py + for i in py/mock.py py/mock-parse-buildlog.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="2.2"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.8/site-packages"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.8/site-packages/mockbuild"|' py/mock-parse-buildlog.py + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|2.2"|' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|2.2"|' docs/mock-parse-buildlog.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iUvWYt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 + cd mock-git-8.e80a3be + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/libexec/mock + install mockchain /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/bin/mockchain + install py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/bin/mock-parse-buildlog + install py/mock.py /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/libexec/mock/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/mock + cp -a etc/mock/logging.ini /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/bash-completion/completions/mock-parse-buildlog + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/lib/python3.8/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/lib/python3.8/site-packages/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/man/man1 + cp -a docs/mock.1 docs/mock-parse-buildlog.1 /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/cheat + cp -a docs/mock.cheat /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/cheat/mock + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/var/cache/mock + mkdir -p /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/doc/mock + install -p -m 0644 docs/site-defaults.cfg /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/share/doc/mock + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.2-1.git.8.e80a3be.fc33 --unique-debug-suffix -2.2-1.git.8.e80a3be.fc33.x86_64 --unique-debug-src-base mock-2.2-1.git.8.e80a3be.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-git-8.e80a3be 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 /usr/bin/python3 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/mockchain from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pqUfUu + umask 022 + cd /builddir/build/BUILD + cd mock-git-8.e80a3be + ./run-tests.sh * sourcedir: /builddir/build/BUILD/mock-git-8.e80a3be/py * testdir: /builddir/build/BUILD/mock-git-8.e80a3be/tests * PYTHON: /usr/bin/python3 * PYTHONPATH: /builddir/build/BUILD/mock-git-8.e80a3be/py ============================= test session starts ============================== platform linux -- Python 3.8.3, pytest-4.6.10, py-1.8.0, pluggy-0.13.0 rootdir: /builddir/build/BUILD/mock-git-8.e80a3be plugins: cov-2.8.1 collected 15 items tests/test_config_templates.py ..x... [ 40%] tests/test_package_manager.py ......... [100%] ----------- coverage: platform linux, python 3.8.3-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------- py/mock-parse-buildlog.py 48 48 0% 5-95 py/mock.py 589 589 0% 23-1065 py/mockbuild/__init__.py 0 0 100% py/mockbuild/backend.py 509 509 0% 9-779 py/mockbuild/buildroot.py 532 383 28% 29-32, 47, 128-136, 140, 144-148, 153-238, 245-247, 251-268, 272-277, 281-289, 293-295, 299-306, 310, 314-342, 349, 356-381, 385-399, 416-440, 444-450, 456-471, 475-476, 480-486, 490-492, 496-515, 520, 531-542, 546-557, 564-573, 577-655, 660-667, 671-672, 676-715, 724-738, 749-776, 783-798, 803 py/mockbuild/exception.py 121 90 26% 16-20, 23, 51-96, 101-103, 109-111, 117-119, 125-127, 133-135, 141-143, 149-151, 157-159, 165-167, 178-180, 187-189, 196-198, 205-207 py/mockbuild/mounts.py 172 79 54% 24, 28, 37, 39, 43, 54-64, 69-77, 98-115, 119-133, 211, 215-218, 226-228, 232-235, 239-240, 245-256, 260-262, 268 py/mockbuild/package_manager.py 440 310 30% 30-36, 40-56, 60-90, 94-109, 113-117, 142-170, 174-177, 181-246, 251, 256, 261, 266-281, 287-293, 297-300, 304-327, 330-339, 365, 401, 430-431, 437-438, 450-477, 482-484, 488-531, 534-541, 545-549, 557-565, 568-572, 575-579, 583-592, 596-604, 607-614, 622-627, 631-633, 639-653 py/mockbuild/plugin.py 62 62 0% 4-85 py/mockbuild/podman.py 60 39 35% 13-16, 21-23, 28-31, 36-37, 42-48, 53-61, 66-72, 77-79, 82 py/mockbuild/rebuild.py 71 71 0% 5-102 py/mockbuild/scm.py 157 157 0% 7-216 py/mockbuild/state.py 31 31 0% 4-43 py/mockbuild/trace_decorator.py 97 47 52% 22-23, 28-29, 36, 38-42, 54, 67, 75, 94-99, 112, 117-159 py/mockbuild/uid.py 111 76 32% 20-25, 29-30, 34, 39-40, 45-48, 53-60, 64-66, 71-77, 82-83, 87-90, 94-105, 110-116, 120-126, 130-135, 139-145, 149-154 py/mockbuild/util.py 1133 803 29% 108-110, 142, 144, 146, 150, 164-166, 173, 189-194, 206, 208, 214-223, 228-229, 237, 243, 248-266, 269, 272-288, 293-297, 306-323, 328-335, 349-367, 372-396, 401-402, 407-416, 422-423, 430-443, 448-454, 458-461, 466-471, 475-476, 480-483, 487-493, 497-501, 505-511, 515-531, 535-543, 548-639, 645-662, 666-672, 677, 691-778, 784-793, 796-809, 815-817, 827, 831, 837-840, 845-849, 861-870, 875-914, 920-952, 956-958, 962, 973-978, 982-986, 991-1001, 1022-1024, 1262-1474, 1480-1481, 1489-1510, 1515-1551, 1556, 1561-1572, 1576-1607, 1612, 1619-1667, 1672-1679, 1686-1690, 1711-1728, 1734-1738, 1747-1756, 1761-1784, 1789-1817, 1821-1822 --------------------------------------------------------------- TOTAL 4133 3294 20% ===================== 14 passed, 1 xfailed in 2.29 seconds ===================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mock-2.2-1.git.8.e80a3be.fc33.noarch Provides: config(mock) = 2.2-1.git.8.e80a3be.fc33 mock = 2.2-1.git.8.e80a3be.fc33 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/bash /usr/bin/python3 python(abi) = 3.8 Conflicts: mock-core-configs < 32.6 Recommends: btrfs-progs dnf-utils Suggests: iproute mock-core-configs podman procenv qemu-user-static yum Processing files: mock-scm-2.2-1.git.8.e80a3be.fc33.noarch Provides: mock-scm = 2.2-1.git.8.e80a3be.fc33 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: python(abi) = 3.8 Recommends: cvs git subversion tar Processing files: mock-lvm-2.2-1.git.8.e80a3be.fc33.noarch Provides: mock-lvm = 2.2-1.git.8.e80a3be.fc33 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: python(abi) = 3.8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 Wrote: /builddir/build/RPMS/mock-scm-2.2-1.git.8.e80a3be.fc33.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-2.2-1.git.8.e80a3be.fc33.noarch.rpm Wrote: /builddir/build/RPMS/mock-2.2-1.git.8.e80a3be.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Buhp9s + umask 022 + cd /builddir/build/BUILD + cd mock-git-8.e80a3be + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-2.2-1.git.8.e80a3be.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0