Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-build.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221874-16804/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-build.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/python-build-1.0.0-1.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/python-build.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221874-16804/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-build.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.M5DPd3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf build-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/build-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd build-1.0.0 + /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.DTdIue + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 build-1.0.0 + mkdir -p /builddir/build/BUILD/build-1.0.0/.pyproject-builddir + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/build-1.0.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/build-1.0.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/build-1.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: build Building wheel for build (pyproject.toml): started Running command Building wheel for build (pyproject.toml) Building wheel for build (pyproject.toml): finished with status 'done' Created wheel for build: filename=build-1.0.0-py3-none-any.whl size=18487 sha256=60100adcb39c4124266256c7a203dcf5fdaf63446aea1cf80dec9fb70778bfaf Stored in directory: /builddir/.cache/pip/wheels/bb/3a/4b/2e3d2cfb2b4e5fca0dbfa73b999aa69529b7face2efadeffda Successfully built build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hFc4i0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch + cd build-1.0.0 ++ ls /builddir/build/BUILD/build-1.0.0/pyproject-wheeldir/build-1.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=build==1.0.0 + TMPDIR=/builddir/build/BUILD/build-1.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/build-1.0.0/pyproject-wheeldir build==1.0.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/build-1.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/build-1.0.0-py3-none-any.whl Installing collected packages: build Creating /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin/pyproject-build to 755 Successfully installed build-1.0.0 + '[' -d /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin/pyproject-build /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin/pyproject-build: updating + rm -rfv /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/build-1.0.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/build-1.0.0.dist-info/REQUESTED' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.0-1.ocs23 --unique-debug-suffix -1.0.0-1.ocs23.noarch --unique-debug-src-base python-build-1.0.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/build-1.0.0 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-build-1.0.0-1.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.W6R1Dh + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 build-1.0.0 ++ find . -name '*.whl' + SETUPTOOLS_WHEEL=./pyproject-wheeldir/build-1.0.0-py3-none-any.whl + PRE_BUILT_SETUPTOOLS_WHEEL=./pyproject-wheeldir/build-1.0.0-py3-none-any.whl + PYTHONPATH=./src + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=./src + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/build-1.0.0/.pyproject-builddir' + /usr/bin/pytest -k 'not (test_build_package or test_build_package_via_sdist or test_output[via-sdist-no-isolation] or test_output[via-sdist-isolation] or test_output[sdist-direct-no-isolation] or test_output[wheel-direct-isolation] or test_output[wheel-direct-no-isolation] or test_output[sdist-and-wheel-direct-no-isolation] or test_wheel_metadata[True] or test_wheel_metadata_isolation or test_with_get_requires or test_build_sdist or test_projectbuilder or test_build_wheel[from_sdist] or test_build_wheel[direct])' ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 installed packages of interest: filelock==3.12.4 packaging==23.1 pip==23.3.1 pyproject_hooks==1.0.0 setuptools==68.0.0 wheel==0.41.2 rootdir: /builddir/build/BUILD/build-1.0.0 configfile: pyproject.toml testpaths: tests plugins: mock-3.11.1, flaky-3.7.0 collected 158 items / 74 deselected / 84 selected tests/test_env.py ..ss............... [ 22%] tests/test_main.py .............................. [ 58%] tests/test_main_helpers.py . [ 59%] tests/test_module.py .. [ 61%] tests/test_util.py . [ 63%] tests/test_integration.py sssssssssssssssssssssssssssssss [100%] =========== 51 passed, 33 skipped, 74 deselected in 91.77s (0:01:31) =========== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-build-1.0.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gNX4qg + umask 022 + cd /builddir/build/BUILD + cd build-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/doc/python3-build + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/doc/python3-build + cp -pr README.md /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/doc/python3-build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VkC0aw + umask 022 + cd /builddir/build/BUILD + cd build-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/licenses/python3-build + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/licenses/python3-build + cp -pr LICENSE /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch/usr/share/licenses/python3-build + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-build = 1.0.0-1.ocs23 python3-build = 1.0.0-1.ocs23 python3.11-build = 1.0.0-1.ocs23 python3.11dist(build) = 1 python3dist(build) = 1 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/python3 python(abi) = 3.11 python3.11dist(packaging) >= 19 python3.11dist(pyproject-hooks) Obsoletes: python3.11-build < 1.0.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-build-1.0.0-1.ocs23.noarch Wrote: /builddir/build/RPMS/python3-build-1.0.0-1.ocs23.noarch.rpm Child return code was: 0