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-python311-build-57289-2203/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4efaf5b244d44aec95135af351e2dd3c', '-D', '/var/lib/mock/dist-ocs23-python311-build-57289-2203/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-pytest-randomly-3.12.0-3.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-python311-build-57289-2203/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7609d27702574e60b53f5731ea54cbd0', '-D', '/var/lib/mock/dist-ocs23-python311-build-57289-2203/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qJv5l0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.12.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.wHTaek + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.12.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.12.0-3.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-python311-build-57289-2203/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '23d4efa2308f4160a288a3e7642c17a7', '-D', '/var/lib/mock/dist-ocs23-python311-build-57289-2203/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5Ozayl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.12.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.rsTZQP + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.12.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 >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-randomly-3.12.0-3.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-python311-build-57289-2203/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e4f9c5da9a3b484e97c75b32c731a6d3', '-D', '/var/lib/mock/dist-ocs23-python311-build-57289-2203/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1qFNQq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-randomly-3.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-randomly-3.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-randomly-3.12.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.N0Vnsy + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.12.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 >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.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.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: creating pytest_randomly.egg-info HOOK STDOUT: writing pytest_randomly.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_randomly.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_randomly.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_randomly.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_randomly.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pytest-randomly-3.12.0/pytest_randomly-3.12.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") 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.12.0-3.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-python311-build-57289-2203/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b87e3300108941b5aa73e794ae75b419', '-D', '/var/lib/mock/dist-ocs23-python311-build-57289-2203/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zVISBu + umask 022 + cd /builddir/build/BUILD + cd pytest-randomly-3.12.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.12.0.dist-info/ removed 'pytest_randomly-3.12.0.dist-info/METADATA' removed 'pytest_randomly-3.12.0.dist-info/top_level.txt' removed 'pytest_randomly-3.12.0.dist-info/LICENSE' removed 'pytest_randomly-3.12.0.dist-info/entry_points.txt' removed directory 'pytest_randomly-3.12.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 >= 40.6.0 from build-system.requires Requirement satisfied: setuptools >= 40.6.0 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.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.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing pytest_randomly.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pytest_randomly.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to pytest_randomly.egg-info/entry_points.txt HOOK STDOUT: writing requirements to pytest_randomly.egg-info/requires.txt HOOK STDOUT: writing top-level names to pytest_randomly.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'pytest_randomly.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pytest-randomly-3.12.0/pytest_randomly-3.12.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") 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.1tItBp + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 pytest-randomly-3.12.0 + mkdir -p /builddir/build/BUILD/pytest-randomly-3.12.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.12.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pytest-randomly-3.12.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.12.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info writing /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-modern-metadata-66b1daov/pytest_randomly-3.12.0.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") 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/__init__.py -> build/lib/pytest_randomly copying src/pytest_randomly/compat.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-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pytest_randomly copying build/lib/pytest_randomly/__init__.py -> build/bdist.linux-x86_64/wheel/pytest_randomly copying build/lib/pytest_randomly/py.typed -> build/bdist.linux-x86_64/wheel/pytest_randomly copying build/lib/pytest_randomly/compat.py -> build/bdist.linux-x86_64/wheel/pytest_randomly running install_egg_info Copying src/pytest_randomly.egg-info to build/bdist.linux-x86_64/wheel/pytest_randomly-3.12.0-py3.11.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/pytest_randomly-3.12.0.dist-info/WHEEL creating '/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir/pip-wheel-g5ltqjuq/tmp5i18aaco/pytest_randomly-3.12.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pytest_randomly/__init__.py' adding 'pytest_randomly/compat.py' adding 'pytest_randomly/py.typed' adding 'pytest_randomly-3.12.0.dist-info/LICENSE' adding 'pytest_randomly-3.12.0.dist-info/METADATA' adding 'pytest_randomly-3.12.0.dist-info/WHEEL' adding 'pytest_randomly-3.12.0.dist-info/entry_points.txt' adding 'pytest_randomly-3.12.0.dist-info/top_level.txt' adding 'pytest_randomly-3.12.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pytest-randomly (pyproject.toml): finished with status 'done' Created wheel for pytest-randomly: filename=pytest_randomly-3.12.0-py3-none-any.whl size=8478 sha256=710f7301bd9db0de32c5c7073ec98dcb75ae68e075b3ea9deb562c8fcbea06fe Stored in directory: /builddir/.cache/pip/wheels/45/c2/61/609de372a1be9802b38d56d482f3b9faa5c82db9ae6fb4ad90 Successfully built pytest-randomly + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EZk4Zy + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch + cd pytest-randomly-3.12.0 ++ ls /builddir/build/BUILD/pytest-randomly-3.12.0/pyproject-wheeldir/pytest_randomly-3.12.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_randomly==3.12.0 + TMPDIR=/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.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.12.0/pyproject-wheeldir pytest_randomly==3.12.0 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/pytest-randomly-3.12.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_randomly-3.12.0-py3-none-any.whl Installing collected packages: pytest_randomly Successfully installed pytest_randomly-3.12.0 + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.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.12.0-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/pytest_randomly-3.12.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /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.12.0-3.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.12.0-3.ocs23 --unique-debug-suffix -3.12.0-3.ocs23.noarch --unique-debug-src-base python-pytest-randomly-3.12.0-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/pytest-randomly-3.12.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.12.0-3.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.72rypM + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 pytest-randomly-3.12.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.12.0-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-pytest-randomly-3.12.0-3.ocs23.noarch/usr/lib/python3.11/site-packages::/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pytest-randomly-3.12.0/.pyproject-builddir' + /usr/bin/pytest -p no:randomly -k 'not test_it_runs_before_stepwise' ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/pytest-randomly-3.12.0 configfile: pyproject.toml plugins: xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collected 36 items / 1 deselected / 35 selected tests/test_pytest_randomly.py ..........FFFFFFF.F................ [100%] =================================== FAILURES =================================== _____________________________ test_files_reordered _____________________________ ourtestdir = def test_files_reordered(ourtestdir): code = """ def test_it(): pass """ ourtestdir.makepyfile(test_a=code, test_b=code, test_c=code, test_d=code) args = ["-v", "--randomly-seed=15"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_b.py::test_it PASSED", "test_a.py::test_it PASSED", "test_d.py::test_it PASSED", "test_c.py::test_it PASSED", ] E AssertionError: assert ['', 'test_b....st_it PASSED'] == ['test_b.py::...st_it PASSED'] E At index 0 diff: '' != 'test_b.py::test_it PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:256: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_files_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_b.py::test_it PASSED test_a.py::test_it PASSED test_d.py::test_it PASSED test_c.py::test_it PASSED ============================== 4 passed in 0.02s =============================== ___________________ test_files_reordered_when_seed_not_reset ___________________ ourtestdir = def test_files_reordered_when_seed_not_reset(ourtestdir): code = """ def test_it(): pass """ ourtestdir.makepyfile(test_a=code, test_b=code, test_c=code, test_d=code) args = ["-v", "--randomly-seed=15"] args.append("--randomly-dont-reset-seed") out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_b.py::test_it PASSED", "test_a.py::test_it PASSED", "test_d.py::test_it PASSED", "test_c.py::test_it PASSED", ] E AssertionError: assert ['', 'test_b....st_it PASSED'] == ['test_b.py::...st_it PASSED'] E At index 0 diff: '' != 'test_b.py::test_it PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:276: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_files_reordered_when_seed_not_reset0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_b.py::test_it PASSED test_a.py::test_it PASSED test_d.py::test_it PASSED test_c.py::test_it PASSED ============================== 4 passed in 0.02s =============================== ____________________________ test_classes_reordered ____________________________ ourtestdir = def test_classes_reordered(ourtestdir): ourtestdir.makepyfile( test_one=""" from unittest import TestCase class A(TestCase): def test_a(self): pass class B(TestCase): def test_b(self): pass class C(TestCase): def test_c(self): pass class D(TestCase): def test_d(self): pass """ ) args = ["-v", "--randomly-seed=15"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_one.py::D::test_d PASSED", "test_one.py::B::test_b PASSED", "test_one.py::C::test_c PASSED", "test_one.py::A::test_a PASSED", ] E AssertionError: assert ['', 'test_on...est_c PASSED'] == ['test_one.py...est_a PASSED'] E At index 0 diff: '' != 'test_one.py::D::test_d PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:315: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_classes_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_one.py::D::test_d PASSED test_one.py::B::test_b PASSED test_one.py::C::test_c PASSED test_one.py::A::test_a PASSED ============================== 4 passed in 0.03s =============================== ______________________ test_class_test_methods_reordered _______________________ ourtestdir = def test_class_test_methods_reordered(ourtestdir): ourtestdir.makepyfile( test_one=""" from unittest import TestCase class T(TestCase): def test_a(self): pass def test_b(self): pass def test_c(self): pass def test_d(self): pass """ ) args = ["-v", "--randomly-seed=15"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_one.py::T::test_c PASSED", "test_one.py::T::test_b PASSED", "test_one.py::T::test_a PASSED", "test_one.py::T::test_d PASSED", ] E AssertionError: assert ['', 'test_on...est_a PASSED'] == ['test_one.py...est_d PASSED'] E At index 0 diff: '' != 'test_one.py::T::test_c PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:347: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_class_test_methods_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_one.py::T::test_c PASSED test_one.py::T::test_b PASSED test_one.py::T::test_a PASSED test_one.py::T::test_d PASSED ============================== 4 passed in 0.02s =============================== ________________________ test_test_functions_reordered _________________________ ourtestdir = def test_test_functions_reordered(ourtestdir): ourtestdir.makepyfile( test_one=""" def test_a(): pass def test_b(): pass def test_c(): pass def test_d(): pass """ ) args = ["-v", "--randomly-seed=15"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_one.py::test_c PASSED", "test_one.py::test_a PASSED", "test_one.py::test_b PASSED", "test_one.py::test_d PASSED", ] E AssertionError: assert ['', 'test_on...est_b PASSED'] == ['test_one.py...est_d PASSED'] E At index 0 diff: '' != 'test_one.py::test_c PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:376: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_test_functions_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_one.py::test_c PASSED test_one.py::test_a PASSED test_one.py::test_b PASSED test_one.py::test_d PASSED ============================== 4 passed in 0.02s =============================== ___________ test_test_functions_reordered_when_randomness_in_module ____________ ourtestdir = def test_test_functions_reordered_when_randomness_in_module(ourtestdir): ourtestdir.makepyfile( test_one=""" import random import time random.seed(time.time() * 100) def test_a(): pass def test_b(): pass def test_c(): pass def test_d(): pass """ ) args = ["-v", "--randomly-seed=15"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=4, failed=0) > assert out.outlines[8:12] == [ "test_one.py::test_c PASSED", "test_one.py::test_a PASSED", "test_one.py::test_b PASSED", "test_one.py::test_d PASSED", ] E AssertionError: assert ['', 'test_on...est_b PASSED'] == ['test_one.py...est_d PASSED'] E At index 0 diff: '' != 'test_one.py::test_c PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:410: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=15 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_test_functions_reordered_when_randomness_in_module0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 4 items test_one.py::test_c PASSED test_one.py::test_a PASSED test_one.py::test_b PASSED test_one.py::test_d PASSED ============================== 4 passed in 0.02s =============================== ___________________________ test_doctests_reordered ____________________________ ourtestdir = def test_doctests_reordered(ourtestdir): ourtestdir.makepyfile( test_one=""" def foo(): ''' >>> foo() 9001 ''' return 9001 def bar(): ''' >>> bar() 9002 ''' return 9002 """ ) args = ["-v", "--doctest-modules", "--randomly-seed=1"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=2) > assert out.outlines[8:10] == [ "test_one.py::test_one.bar PASSED", "test_one.py::test_one.foo PASSED", ] E AssertionError: assert ['', 'test_on...e.bar PASSED'] == ['test_one.py...e.foo PASSED'] E At index 0 diff: '' != 'test_one.py::test_one.bar PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:440: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=1 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_doctests_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 2 items test_one.py::test_one.bar PASSED test_one.py::test_one.foo PASSED ============================== 2 passed in 0.05s =============================== _____________________ test_doctests_in_txt_files_reordered _____________________ ourtestdir = def test_doctests_in_txt_files_reordered(ourtestdir): ourtestdir.tmpdir.join("test.txt").write( """\ >>> 2 + 2 4 """ ) ourtestdir.tmpdir.join("test2.txt").write( """\ >>> 2 - 2 0 """ ) args = ["-v", "--randomly-seed=2"] out = ourtestdir.runpytest(*args) out.assert_outcomes(passed=2) > assert out.outlines[8:10] == [ "test2.txt::test2.txt PASSED", "test.txt::test.txt PASSED", ] E AssertionError: assert ['', 'test2.t...2.txt PASSED'] == ['test2.txt::...t.txt PASSED'] E At index 0 diff: '' != 'test2.txt::test2.txt PASSED' E Use -v to get more diff /builddir/build/BUILD/pytest-randomly-3.12.0/tests/test_pytest_randomly.py:521: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache Using --randomly-seed=2 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_doctests_in_txt_files_reordered0 configfile: pytest.ini plugins: randomly-3.12.0, xdist-2.5.0, forked-1.4.0, Faker-14.2.1 collecting ... collected 2 items test2.txt::test2.txt PASSED test.txt::test.txt PASSED ============================== 2 passed in 0.02s =============================== =========================== short test summary info ============================ FAILED tests/test_pytest_randomly.py::test_files_reordered - AssertionError: ... FAILED tests/test_pytest_randomly.py::test_files_reordered_when_seed_not_reset FAILED tests/test_pytest_randomly.py::test_classes_reordered - AssertionError... FAILED tests/test_pytest_randomly.py::test_class_test_methods_reordered - Ass... FAILED tests/test_pytest_randomly.py::test_test_functions_reordered - Asserti... FAILED tests/test_pytest_randomly.py::test_test_functions_reordered_when_randomness_in_module FAILED tests/test_pytest_randomly.py::test_doctests_reordered - AssertionErro... FAILED tests/test_pytest_randomly.py::test_doctests_in_txt_files_reordered - ... ================== 8 failed, 27 passed, 1 deselected in 7.67s ================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.72rypM (%check) Bad exit status from /var/tmp/rpm-tmp.72rypM (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b87e3300108941b5aa73e794ae75b419 -D /var/lib/mock/dist-ocs23-python311-build-57289-2203/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off 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.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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: # /usr/bin/systemd-nspawn -q -M b87e3300108941b5aa73e794ae75b419 -D /var/lib/mock/dist-ocs23-python311-build-57289-2203/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zgghswpg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-randomly.spec