Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/1303372-fedora-rawhide-x86_64-1583991616.776229/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': 'en_US.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.beduf_k5:/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.beduf_k5:/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', '03a1b35c931c417bbf18c932effff00d', '-D', '/var/lib/mock/1303372-fedora-rawhide-x86_64-1583991616.776229/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.beduf_k5:/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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1583884800 Wrote: /builddir/build/SRPMS/mock-2.1-1.git.7.d0d7a95.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/1303372-fedora-rawhide-x86_64-1583991616.776229/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': 'en_US.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.beduf_k5:/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.beduf_k5:/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', '6c9e3c29d9c648309c1810d0a43c33ca', '-D', '/var/lib/mock/1303372-fedora-rawhide-x86_64-1583991616.776229/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.beduf_k5:/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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1583884800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Q4wxt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-git-7.d0d7a95 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-git-7.d0d7a95.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-git-7.d0d7a95 + /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.h4pUav + umask 022 + cd /builddir/build/BUILD + cd mock-git-7.d0d7a95 + for i in py/mock.py py/mock-parse-buildlog.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="2.1"|' 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.1"|' 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.1"|' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|2.1"|' docs/mock-parse-buildlog.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.phYEav + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64 + cd mock-git-7.d0d7a95 + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/libexec/mock + install mockchain /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/bin/mockchain + install py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/bin/mock-parse-buildlog + install py/mock.py /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/libexec/mock/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/mock + cp -a etc/mock/logging.ini etc/mock/site-defaults.cfg /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/bash-completion/completions/mock-parse-buildlog + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/lib/python3.8/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/lib/python3.8/site-packages/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/man/man1 + cp -a docs/mock.1 docs/mock-parse-buildlog.1 /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/cheat + cp -a docs/mock.cheat /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/usr/share/cheat/mock + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64/var/cache/mock + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.1-1.git.7.d0d7a95.fc33 --unique-debug-suffix -2.1-1.git.7.d0d7a95.fc33.x86_64 --unique-debug-src-base mock-2.1-1.git.7.d0d7a95.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-git-7.d0d7a95 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.1-1.git.7.d0d7a95.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.5j8Acv + umask 022 + cd /builddir/build/BUILD + cd mock-git-7.d0d7a95 + ./run-tests.sh * sourcedir: /builddir/build/BUILD/mock-git-7.d0d7a95/py * testdir: /builddir/build/BUILD/mock-git-7.d0d7a95/tests * PYTHON: /usr/bin/python3 * PYTHONPATH: /builddir/build/BUILD/mock-git-7.d0d7a95/py ============================= test session starts ============================== platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0 rootdir: /builddir/build/BUILD/mock-git-7.d0d7a95 plugins: cov-2.8.1 collected 9 items tests/test_config_templates.py ..x... [ 66%] tests/test_package_manager.py ... [100%] ----------- coverage: platform linux, python 3.8.2-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 503 503 0% 9-764 py/mockbuild/buildroot.py 523 378 28% 29-32, 47, 52, 109-117, 121, 125-129, 134-217, 221-240, 244-247, 251-259, 263-265, 269-276, 280, 284-312, 319, 326-351, 355-369, 374-398, 402-408, 414-423, 429-444, 448-449, 453-459, 463-465, 469-488, 493, 498-519, 526-535, 539-611, 616-623, 627-628, 632-671, 680-694, 705-732, 739-754, 759 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 170 77 55% 24, 28, 37, 39, 43, 54-64, 69-77, 98-113, 117-131, 209, 213-216, 224-226, 230-233, 237-238, 243-254, 258-260, 266 py/mockbuild/package_manager.py 415 310 25% 29-35, 39-55, 59-89, 93-108, 112-116, 141-169, 173-176, 180-240, 245, 250, 255, 260-275, 281-287, 291-294, 298-321, 324-333, 337, 353, 372-373, 379-380, 392-420, 425-427, 431-474, 477-484, 488-492, 500-508, 511-515, 518-522, 526-535, 539-547, 550-557, 565-570, 574-576, 582-596 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 1111 785 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, 329-346, 351-375, 380-381, 386-395, 401-402, 409-422, 427-433, 437-440, 445-450, 454-455, 459-462, 466-472, 476-480, 484-490, 494-510, 514-522, 527-618, 624-641, 645-651, 656, 670-757, 763-772, 775-788, 794-796, 806, 810, 816-819, 824-828, 840-849, 854-889, 896-922, 926-928, 932-940, 944-949, 953-957, 978-980, 1216-1415, 1421-1422, 1430-1451, 1456-1492, 1497, 1502-1513, 1517-1548, 1553, 1560-1608, 1613-1620, 1627-1631, 1652-1669, 1675-1679, 1688-1697, 1702-1725, 1730-1758, 1762-1763 --------------------------------------------------------------- TOTAL 4069 3263 20% ===================== 8 passed, 1 xfailed in 1.22 seconds ====================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mock-2.1-1.git.7.d0d7a95.fc33.noarch Provides: config(mock) = 2.1-1.git.7.d0d7a95.fc33 mock = 2.1-1.git.7.d0d7a95.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 Recommends: btrfs-progs dnf-utils Suggests: iproute podman procenv qemu-user-static yum Processing files: mock-scm-2.1-1.git.7.d0d7a95.fc33.noarch Provides: mock-scm = 2.1-1.git.7.d0d7a95.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.1-1.git.7.d0d7a95.fc33.noarch Provides: mock-lvm = 2.1-1.git.7.d0d7a95.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.1-1.git.7.d0d7a95.fc33.x86_64 Wrote: /builddir/build/RPMS/mock-scm-2.1-1.git.7.d0d7a95.fc33.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-2.1-1.git.7.d0d7a95.fc33.noarch.rpm Wrote: /builddir/build/RPMS/mock-2.1-1.git.7.d0d7a95.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aCHT3w + umask 022 + cd /builddir/build/BUILD + cd mock-git-7.d0d7a95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-2.1-1.git.7.d0d7a95.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0