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-47306-14592/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-47306-14592/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.Nw3cv6 + 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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sim19e ++ jobs -p + exit 0 + 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-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.vjZIjy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch ++ dirname /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + 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/usr/share/doc/mock 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/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.3-3.oc9 --unique-debug-suffix -3.3-3.oc9.noarch --unique-debug-src-base mock-3.3-3.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/mock-3.3 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 *** WARNING: ./etc/pam.d/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/pki/mock/README.txt is executable but has no shebang, removing executable bit *** WARNING: ./etc/mock/logging.ini is executable but has no shebang, removing executable bit *** 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 mangling shebang in /usr/bin/mockchain from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pywFRR + 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-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-6.2.5, py-1.11.0, 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 0.92s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mock-3.3-3.oc9.noarch Provides: config(mock) = 3.3-3.oc9 mock = 3.3-3.oc9 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.10 Recommends: dnf-utils Suggests: iproute yum Processing files: mock-scm-3.3-3.oc9.noarch Provides: mock-scm = 3.3-3.oc9 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.10 Processing files: mock-lvm-3.3-3.oc9.noarch Provides: mock-lvm = 3.3-3.oc9 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.10 Processing files: mock-filesystem-3.3-3.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rvzYx2 + umask 022 + cd /builddir/build/BUILD + cd mock-3.3 + LICENSEDIR=/builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/licenses/mock-filesystem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/licenses/mock-filesystem + cp -pr COPYING /builddir/build/BUILDROOT/mock-3.3-3.oc9.noarch/usr/share/licenses/mock-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Provides: mock-filesystem = 3.3-3.oc9 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-3.3-3.oc9.noarch Wrote: /builddir/build/RPMS/mock-lvm-3.3-3.oc9.noarch.rpm Wrote: /builddir/build/RPMS/mock-scm-3.3-3.oc9.noarch.rpm Wrote: /builddir/build/RPMS/mock-filesystem-3.3-3.oc9.noarch.rpm Wrote: /builddir/build/RPMS/mock-3.3-3.oc9.noarch.rpm Child return code was: 0