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-ocs23-python311-build-84247-4721/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=982gid=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-4.1-2.ocs23.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-ocs23-python311-build-84247-4721/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=982gid=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.l9DZZW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mock-4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-4.1 + /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.cAQ3Zc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-4.1 + sed -i 's?^VERSION\s*=.*?VERSION="4.1"?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.11/site-packages"?g' py/mockbuild/constants.py + sed -i 's?^PKGPYTHONDIR\s*=.*?PKGPYTHONDIR="/usr/lib/python3.11/site-packages/mockbuild"?g' py/mockbuild/constants.py + for i in docs/mock.1 docs/mock-parse-buildlog.1 + sed -i 's?\@VERSION\@?4.1?g' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + sed -i 's?\@VERSION\@?4.1?g' docs/mock-parse-buildlog.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QirQmO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch + cd mock-4.1 + install -d /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/mock/eol/templates + install -d /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/mock/templates + install -d /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/var/cache/mock + install -D mockchain /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/bin/mockchain + install -D py/mock.py /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/libexec/mock/mock + install -D py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/bin/mock-parse-buildlog + ln -s consolehelper /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/libexec/mock/ + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/pam.d etc/pam/mock + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/mock etc/mock/logging.ini + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/security/console.apps/ etc/consolehelper/mock + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/bash-completion/completions/ etc/bash_completion.d/mock + ln -s mock /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/bash-completion/completions/mock-parse-buildlog + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/etc/pki/mock etc/pki/README.txt + install -d /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/ + install -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/man/man1 docs/mock-parse-buildlog.1 docs/mock.1 + install -D docs/mock.cheat /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/cheat/mock + install -m 0644 -Dt /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/doc/mock docs/site-defaults.cfg + sed -i 's/^_MOCK_NVR = None$/_MOCK_NVR = "mock-4.1-2.ocs23"/' /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/libexec/mock/mock + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.1-2.ocs23 --unique-debug-suffix -4.1-2.ocs23.noarch --unique-debug-src-base mock-4.1-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/mock-4.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/mockchain from /bin/bash to #!/usr/bin/bash *** WARNING: ./usr/share/cheat/mock is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/bash-completion/completions/mock is executable but has no shebang, removing executable bit *** WARNING: ./etc/security/console.apps/mock is executable but has no shebang, removing executable bit *** WARNING: ./etc/pam.d/mock is executable but has no shebang, removing executable bit *** WARNING: ./etc/mock/logging.ini is executable but has no shebang, removing executable bit *** WARNING: ./etc/pki/mock/README.txt is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HkK2O5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.11.4, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/mock-4.1 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 2.69s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mock-4.1-2.ocs23.noarch Provides: config(mock) = 4.1-2.ocs23 mock = 4.1-2.ocs23 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.11 Recommends: dnf-utils Suggests: iproute yum Processing files: mock-scm-4.1-2.ocs23.noarch Provides: mock-scm = 4.1-2.ocs23 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.11 Processing files: mock-lvm-4.1-2.ocs23.noarch Provides: mock-lvm = 4.1-2.ocs23 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.11 Processing files: mock-filesystem-4.1-2.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OwCCqX + umask 022 + cd /builddir/build/BUILD + cd mock-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/licenses/mock-filesystem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/licenses/mock-filesystem + cp -pr COPYING /builddir/build/BUILDROOT/mock-4.1-2.ocs23.noarch/usr/share/licenses/mock-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Provides: mock-filesystem = 4.1-2.ocs23 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-2.ocs23.noarch Wrote: /builddir/build/RPMS/mock-filesystem-4.1-2.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/mock-scm-4.1-2.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-4.1-2.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/mock-4.1-2.ocs23.noarch.rpm Child return code was: 0