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-pytest-randomly.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296757-28839/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-pytest-randomly.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-pytest-randomly-3.15.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296757-28839/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.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.Z8pH2J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.15.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.15.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.SarLQt + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.15.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-randomly-3.15.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296757-28839/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.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.JTO1gI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.15.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.15.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ch9qa6 + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.15.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 68.0.0) HOOK STDOUT: running egg_info HOOK STDOUT: creating src/pytest_randomly.egg-info HOOK STDOUT: writing src/pytest_randomly.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/pytest_randomly.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/pytest_randomly.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/pytest_randomly.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/pytest_randomly.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-randomly-3.15.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296757-28839/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.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.YWpmJW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.15.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.15.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Lsngcx + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.15.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 68.0.0) HOOK STDOUT: running egg_info HOOK STDOUT: creating src/pytest_randomly.egg-info HOOK STDOUT: writing src/pytest_randomly.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/pytest_randomly.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/pytest_randomly.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/pytest_randomly.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/pytest_randomly.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pytest from wheel metadata: Requires-Dist Requirement satisfied: pytest (installed: pytest 7.4.0) Handling importlib-metadata >=3.6.0 ; python_version < "3.10" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata >=3.6.0 ; python_version < "3.10" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-randomly-3.15.0-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296757-28839/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.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(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VSwYc1 + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.15.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv pytest_randomly-3.15.0.dist-info/ removed 'pytest_randomly-3.15.0.dist-info/METADATA' removed 'pytest_randomly-3.15.0.dist-info/top_level.txt' removed 'pytest_randomly-3.15.0.dist-info/LICENSE' removed 'pytest_randomly-3.15.0.dist-info/entry_points.txt' removed directory 'pytest_randomly-3.15.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 68.0.0) HOOK STDOUT: running egg_info HOOK STDOUT: writing src/pytest_randomly.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/pytest_randomly.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/pytest_randomly.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/pytest_randomly.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/pytest_randomly.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pytest from wheel metadata: Requires-Dist Requirement satisfied: pytest (installed: pytest 7.4.0) Handling importlib-metadata >=3.6.0 ; python_version < "3.10" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata >=3.6.0 ; python_version < "3.10" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CPK9QE + 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 pytest-randomly-3.15.0 + mkdir -p /builddir/build/BUILD/pytest-randomly-3.15.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 -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/pytest-randomly-3.15.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pytest-randomly-3.15.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/pytest-randomly-3.15.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info writing /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-modern-metadata-ynpmewt9/pytest_randomly-3.15.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-randomly Building wheel for pytest-randomly (pyproject.toml): started Running command Building wheel for pytest-randomly (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pytest_randomly copying src/pytest_randomly/compat.py -> build/lib/pytest_randomly copying src/pytest_randomly/__init__.py -> build/lib/pytest_randomly running egg_info writing src/pytest_randomly.egg-info/PKG-INFO writing dependency_links to src/pytest_randomly.egg-info/dependency_links.txt writing entry points to src/pytest_randomly.egg-info/entry_points.txt writing requirements to src/pytest_randomly.egg-info/requires.txt writing top-level names to src/pytest_randomly.egg-info/top_level.txt reading manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/pytest_randomly.egg-info/SOURCES.txt' copying src/pytest_randomly/py.typed -> build/lib/pytest_randomly installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/pytest_randomly copying build/lib/pytest_randomly/py.typed -> build/bdist.linux-aarch64/wheel/pytest_randomly copying build/lib/pytest_randomly/compat.py -> build/bdist.linux-aarch64/wheel/pytest_randomly copying build/lib/pytest_randomly/__init__.py -> build/bdist.linux-aarch64/wheel/pytest_randomly running install_egg_info Copying src/pytest_randomly.egg-info to build/bdist.linux-aarch64/wheel/pytest_randomly-3.15.0-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/pytest_randomly-3.15.0.dist-info/WHEEL creating '/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir/pip-wheel-6hwltbhx/.tmp-45809awa/pytest_randomly-3.15.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'pytest_randomly/__init__.py' adding 'pytest_randomly/compat.py' adding 'pytest_randomly/py.typed' adding 'pytest_randomly-3.15.0.dist-info/LICENSE' adding 'pytest_randomly-3.15.0.dist-info/METADATA' adding 'pytest_randomly-3.15.0.dist-info/WHEEL' adding 'pytest_randomly-3.15.0.dist-info/entry_points.txt' adding 'pytest_randomly-3.15.0.dist-info/top_level.txt' adding 'pytest_randomly-3.15.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for pytest-randomly (pyproject.toml): finished with status 'done' Created wheel for pytest-randomly: filename=pytest_randomly-3.15.0-py3-none-any.whl size=8683 sha256=3b68f6ff165979928e50c3ea30e928e7906349952b64d0a18e904047a1607158 Stored in directory: /builddir/.cache/pip/wheels/57/13/c9/1e556f039a764fd1ef1dd13edf19d7c67cc930b6fb4423c81d Successfully built pytest-randomly + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Kv0jHQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch + cd pytest-randomly-3.15.0 ++ ls /builddir/build/BUILD/pytest-randomly-3.15.0/pyproject-wheeldir/pytest_randomly-3.15.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_randomly==3.15.0 + TMPDIR=/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pytest-randomly-3.15.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/pytest-randomly-3.15.0/pyproject-wheeldir pytest_randomly==3.15.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/pytest-randomly-3.15.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_randomly-3.15.0-py3-none-any.whl Installing collected packages: pytest_randomly Successfully installed pytest_randomly-3.15.0 + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.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-pytest-randomly-3.15.0-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.15.0.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-pytest-randomly-3.15.0-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 pytest_randomly + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.15.0-1.ocs23 --unique-debug-suffix -3.15.0-1.ocs23.noarch --unique-debug-src-base python-pytest-randomly-3.15.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/pytest-randomly-3.15.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-pytest-randomly-3.15.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.RyDhG6 + 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 pytest-randomly-3.15.0 + 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' + PATH=/builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-pytest-randomly-3.15.0-1.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pytest-randomly-3.15.0/.pyproject-builddir' + /usr/bin/pytest -p no:randomly -k 'not test_it_runs_before_stepwise' ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/pytest-randomly-3.15.0 configfile: pyproject.toml plugins: forked-1.6.0, xdist-3.3.1, Faker-18.11.1 collected 37 items / 1 deselected / 36 selected tests/test_pytest_randomly.py ........................F........... [100%] =================================== FAILURES =================================== ______________________________ test_model_bakery _______________________________ ourtester = def test_model_bakery(ourtester): """ Rather than set up models, just check the random generator it uses is set between two tests to output the same number. """ ourtester.makepyfile( test_one=""" from model_bakery.random_gen import baker_random def test_a(): test_a.num = baker_random.random() if hasattr(test_b, 'num'): assert test_a.num == test_b.num def test_b(): test_b.num = baker_random.random() if hasattr(test_a, 'num'): assert test_b.num == test_a.num """ ) out = ourtester.runpytest("--randomly-seed=1") > out.assert_outcomes(passed=2) E AssertionError: assert {'errors': 1,...pped': 0, ...} == {'errors': 0,...pped': 0, ...} E Omitting 4 identical items, use -vv to show E Differing items: E {'passed': 0} != {'passed': 2} E {'errors': 1} != {'errors': 0} E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.15.0/tests/test_pytest_randomly.py:696: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 Using --randomly-seed=1 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_model_bakery0 configfile: pytest.ini plugins: randomly-3.15.0, forked-1.6.0, xdist-3.3.1, Faker-18.11.1 collected 0 items / 1 error ==================================== ERRORS ==================================== _________________________ ERROR collecting test_one.py _________________________ ImportError while importing test module '/tmp/pytest-of-mockbuild/pytest-0/test_model_bakery0/test_one.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test_one.py:1: in from model_bakery.random_gen import baker_random E ModuleNotFoundError: No module named 'model_bakery' =========================== short test summary info ============================ ERROR test_one.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.07s =============================== =========================== short test summary info ============================ FAILED tests/test_pytest_randomly.py::test_model_bakery - AssertionError: ass... ================== 1 failed, 35 passed, 1 deselected in 8.24s ================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RyDhG6 (%check) Bad exit status from /var/tmp/rpm-tmp.RyDhG6 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec