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/python-random2.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156665-9986/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=981gid=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-random2.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-random2-1.0.1-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-random2.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156665-9986/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=981gid=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-random2.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.nTz1qN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf random2-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/random2-1.0.1.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd random2-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/self\.gen\.getrandbits, 0/d' src/tests.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pSzOXM + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 random2-1.0.1 + mkdir -p /builddir/build/BUILD/random2-1.0.1/.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 -mbranch-protection=standard -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/random2-1.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/random2-1.0.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/random2-1.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info writing /builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' warning: no files found matching 'buildout.cfg' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file '/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-modern-metadata-reu2dikz/random2-1.0.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: random2 Building wheel for random2 (pyproject.toml): started Running command Building wheel for random2 (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib copying src/random2.py -> build/lib running egg_info writing src/random2.egg-info/PKG-INFO writing dependency_links to src/random2.egg-info/dependency_links.txt writing top-level names to src/random2.egg-info/top_level.txt reading manifest file 'src/random2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' warning: no files found matching 'buildout.cfg' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/random2.egg-info/SOURCES.txt' installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel copying build/lib/random2.py -> build/bdist.linux-aarch64/wheel running install_egg_info Copying src/random2.egg-info to build/bdist.linux-aarch64/wheel/random2-1.0.1-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/random2-1.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir/pip-wheel-p9ojr776/.tmp-dgak95ls/random2-1.0.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'random2.py' adding 'random2-1.0.1.dist-info/METADATA' adding 'random2-1.0.1.dist-info/WHEEL' adding 'random2-1.0.1.dist-info/top_level.txt' adding 'random2-1.0.1.dist-info/zip-safe' adding 'random2-1.0.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for random2 (pyproject.toml): finished with status 'done' Created wheel for random2: filename=random2-1.0.1-py3-none-any.whl size=12041 sha256=2a5a7ee6da060e072423f4a956a22959b3fae590f9d309079b1ad232490da580 Stored in directory: /builddir/.cache/pip/wheels/ba/ef/7c/b2f01608367624e50bf164667124350faff82549024f607201 Successfully built random2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VmYt5Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch + cd random2-1.0.1 ++ ls /builddir/build/BUILD/random2-1.0.1/pyproject-wheeldir/random2-1.0.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=random2==1.0.1 + TMPDIR=/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-random2-1.0.1-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/random2-1.0.1/pyproject-wheeldir random2==1.0.1 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/random2-1.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/random2-1.0.1-py3-none-any.whl Installing collected packages: random2 Successfully installed random2-1.0.1 + '[' -d /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/random2-1.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.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-random2-1.0.1-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/random2-1.0.1.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr random2 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.1-1.ocs23 --unique-debug-suffix -1.0.1-1.ocs23.noarch --unique-debug-src-base python-random2-1.0.1-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/random2-1.0.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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-random2-1.0.1-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.nJIwjw + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 random2-1.0.1 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/random2-1.0.1/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py311 running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.11/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) /usr/lib/python3.11/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) /usr/lib/python3.11/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( running egg_info writing src/random2.egg-info/PKG-INFO writing dependency_links to src/random2.egg-info/dependency_links.txt writing top-level names to src/random2.egg-info/top_level.txt reading manifest file 'src/random2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' warning: no files found matching 'buildout.cfg' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'src/random2.egg-info/SOURCES.txt' running build_ext ......................................... ---------------------------------------------------------------------- Ran 41 tests in 0.230s OK py311: OK (0.49 seconds) congratulations :) (0.54 seconds) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-random2-1.0.1-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NtNf82 + umask 022 + cd /builddir/build/BUILD + cd random2-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/share/doc/python3-random2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/share/doc/python3-random2 + cp -pr CHANGES.txt /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/share/doc/python3-random2 + cp -pr README.txt /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch/usr/share/doc/python3-random2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-random2 = 1.0.1-1.ocs23 python3-random2 = 1.0.1-1.ocs23 python3.11-random2 = 1.0.1-1.ocs23 python3.11dist(random2) = 1.0.1 python3dist(random2) = 1.0.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: python(abi) = 3.11 Obsoletes: python3.11-random2 < 1.0.1-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-random2-1.0.1-1.ocs23.noarch Wrote: /builddir/build/RPMS/python3-random2-1.0.1-1.ocs23.noarch.rpm Child return code was: 0