Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1687169436.466705/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '3be375460d174514bc881d9a7aed7e0c', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687169436.466705/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--resolv-conf=off', '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', 'SYSTEMD_SECCOMP': '0'} and shell False sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mock-4.1-1.el8.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/rhel+epel-8-x86_64-1687169436.466705/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '7875db69e8514978b8c797af50a734e7', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687169436.466705/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0rxqn489:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--resolv-conf=off', '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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XHZol2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-4.1 + /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.6 |' py/mock.py + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3.6 |' py/mock-parse-buildlog.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8NFRbm + umask 022 + cd /builddir/build/BUILD + cd mock-4.1 + for i in py/mockbuild/constants.py py/mock-parse-buildlog.py + perl -p -i -e 's|^VERSION\s*=.*|VERSION="4.1"|' py/mockbuild/constants.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mockbuild/constants.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.6/site-packages"|' py/mockbuild/constants.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/site-packages/mockbuild"|' py/mockbuild/constants.py + for i in py/mockbuild/constants.py py/mock-parse-buildlog.py + perl -p -i -e 's|^VERSION\s*=.*|VERSION="4.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.6/site-packages"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/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\@|4.1"|' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|4.1"|' docs/mock-parse-buildlog.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.heC3I9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 + cd mock-4.1 + mkdir -p /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/mock/eol/templates + mkdir -p /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/mock/templates + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/libexec/mock + install mockchain /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/bin/mockchain + install py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/bin/mock-parse-buildlog + install py/mock.py /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/libexec/mock/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/mock + cp -a etc/mock/logging.ini /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/bash-completion/completions/mock-parse-buildlog + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/lib/python3.6/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/lib/python3.6/site-packages/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/man/man1 + cp -a docs/mock.1 docs/mock-parse-buildlog.1 /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/cheat + cp -a docs/mock.cheat /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/cheat/mock + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/var/cache/mock + mkdir -p /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/doc/mock + install -p -m 0644 docs/site-defaults.cfg /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/doc/mock + sed -i 's/^_MOCK_NVR = None$/_MOCK_NVR = "mock-4.1-1.el8"/' /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/libexec/mock/mock + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 4.1-1.el8 --unique-debug-suffix -4.1-1.el8.x86_64 --unique-debug-src-base mock-4.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-4.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3mfcA5 + umask 022 + cd /builddir/build/BUILD + cd mock-4.1 + ./run-tests.sh --no-cov * sourcedir: /builddir/build/BUILD/mock-4.1/py * testdir: /builddir/build/BUILD/mock-4.1/tests * PYTHON: /usr/bin/python3 * PYTHONPATH: /builddir/build/BUILD/mock-4.1/py + /usr/bin/python3 -B -m pytest /builddir/build/BUILD/mock-4.1/tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/mock-4.1, inifile: collected 16 items tests/test_buildroot.py . [ 6%] tests/test_config_templates.py ..x... [ 43%] tests/test_package_manager.py ......... [100%] ===================== 15 passed, 1 xfailed in 0.76 seconds ===================== + exit 0 Processing files: mock-4.1-1.el8.noarch Provides: config(mock) = 4.1-1.el8 mock = 4.1-1.el8 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: /bin/bash /usr/bin/bash /usr/bin/python3.6 python(abi) = 3.6 Conflicts: mock-core-configs < 33 Recommends: btrfs-progs dnf-utils Suggests: dnf-plugins-core mock-core-configs podman procenv python3-dnf qemu-user-static yum Processing files: mock-scm-4.1-1.el8.noarch Provides: mock-scm = 4.1-1.el8 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.6 Recommends: cvs git rpkg subversion tar Processing files: mock-lvm-4.1-1.el8.noarch Provides: mock-lvm = 4.1-1.el8 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.6 Processing files: mock-filesystem-4.1-1.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZglF3H + umask 022 + cd /builddir/build/BUILD + cd mock-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/licenses/mock-filesystem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/licenses/mock-filesystem + cp -pr COPYING /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64/usr/share/licenses/mock-filesystem + exit 0 Provides: mock-filesystem = 4.1-1.el8 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/mock-4.1-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/mock-scm-4.1-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-4.1-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/mock-filesystem-4.1-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DWFMCt + umask 022 + cd /builddir/build/BUILD + cd mock-4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-4.1-1.el8.x86_64 + exit 0 Child return code was: 0