Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43077-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/mock-3.3-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43077-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZQRB4K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-3.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-3.3 + /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.X2d7T9 + umask 022 + cd /builddir/build/BUILD + cd mock-3.3 + sed -i 's?^VERSION\s*=.*?VERSION="3.3"?g' py/mockbuild/constants.py + sed -i 's?^SYSCONFDIR\s*=.*?SYSCONFDIR="/etc"?g' py/mockbuild/constants.py + sed -i 's?^PYTHONDIR\s*=.*?PYTHONDIR="/usr/lib/python3.10/site-packages"?g' py/mockbuild/constants.py + sed -i 's?^PKGPYTHONDIR\s*=.*?PKGPYTHONDIR="/usr/lib/python3.10/site-packages/mockbuild"?g' py/mockbuild/constants.py + for i in docs/mock.1 docs/mock-parse-buildlog.1 + sed -i 's?\@VERSION\@?3.3?g' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + sed -i 's?\@VERSION\@?3.3?g' docs/mock-parse-buildlog.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yP1bYE + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch + cd mock-3.3 + install -d /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/mock/eol/templates + install -d /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/mock/templates + install -d /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/var/cache/mock + install -D mockchain /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/bin/mockchain + install -D py/mock.py /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/libexec/mock/mock + install -D py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/bin/mock-parse-buildlog + ln -s consolehelper /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/libexec/mock/ + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/pam.d etc/pam/mock + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/mock etc/mock/logging.ini + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/security/console.apps/ etc/consolehelper/mock + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/bash-completion/completions/ etc/bash_completion.d/mock + ln -s mock /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/bash-completion/completions/mock-parse-buildlog + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/etc/pki/mock etc/pki/README.txt + install -d /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ + install -Dt /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/man/man1 docs/mock-parse-buildlog.1 docs/mock.1 + install -D docs/mock.cheat /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/cheat/mock + install -m 0644 -Dt '/builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch%{_pkgdocdir}' docs/site-defaults.cfg + sed -i 's/^_MOCK_NVR = None$/_MOCK_NVR = "mock-3.3-3.oc9"/' /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/libexec/mock/mock + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bKrrLO + umask 022 + cd /builddir/build/BUILD + cd mock-3.3 + ./run-tests.sh --no-cov * sourcedir: /builddir/build/BUILD/mock-3.3/py * testdir: /builddir/build/BUILD/mock-3.3/tests * PYTHON: /usr/bin/python3 * PYTHONPATH: /builddir/build/BUILD/mock-3.3/py + /usr/bin/python3 -B -m pytest /builddir/build/BUILD/mock-3.3/tests ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/mock-3.3 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 1.97s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mock-3.3-3.oc9.noarch warning: File not found: /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/mockbuild/__pycache__/scm.* warning: File not found: /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/mockbuild/plugins/__pycache__/lvm_root.* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LSF9eL + umask 022 + cd /builddir/build/BUILD + cd mock-3.3 + DOCDIR=/builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/doc/mock-3.3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/doc/mock-3.3 + cp -pr '%{_pkgdocdir}/site-defaults.cfg' /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/doc/mock-3.3 cp: cannot stat '%{_pkgdocdir}/site-defaults.cfg': No such file or directory RPM build warnings: RPM build errors: + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found by glob: /builddir/build/BUILD/mock-3.3/%{_pkgdocdir}/site-defaults.cfg File not found: /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/mockbuild/__pycache__/scm.* File not found: /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10/site-packages/mockbuild/plugins/__pycache__/lvm_root.* File not found by glob: /builddir/build/BUILD/mock-3.3/%{_pkgdocdir}/site-defaults.cfg Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec