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-stestr.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50735-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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.1o4091x2:/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', 'd785e85463e648fb82f725d41100badf', '-D', '/var/lib/mock/dist-ocs23-python311-build-50735-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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-stestr-4.0.1-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-stestr.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50735-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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.1o4091x2:/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', '6406a50cec9d485c817eb81b62fb743c', '-D', '/var/lib/mock/dist-ocs23-python311-build-50735-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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.HjcaWn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stestr-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stestr-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stestr-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-stestr-4.0.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + sed -i '/doc8.*/d' test-requirements.txt + sed -i '/hacking.*/d' test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JUjLFd + umask 022 + cd /builddir/build/BUILD + cd stestr-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + 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 -t Import error: No module named 'packaging' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-stestr-4.0.1-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-stestr.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50735-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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.1o4091x2:/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', 'af1adbd0e1294c3388e81361eff23d07', '-D', '/var/lib/mock/dist-ocs23-python311-build-50735-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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.JFculO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stestr-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stestr-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stestr-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-stestr-4.0.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + sed -i '/doc8.*/d' test-requirements.txt + sed -i '/hacking.*/d' test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EUfClY + umask 022 + cd /builddir/build/BUILD + cd stestr-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + 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 -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement not satisfied: pbr>=2.0.0 Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-stestr-4.0.1-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-stestr.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50735-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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.1o4091x2:/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', '05d5a5d818204afcb605b7c229a91b94', '-D', '/var/lib/mock/dist-ocs23-python311-build-50735-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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.qBiAoL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stestr-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stestr-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stestr-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-stestr-4.0.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + sed -i '/doc8.*/d' test-requirements.txt + sed -i '/hacking.*/d' test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vJ25hL + umask 022 + cd /builddir/build/BUILD + cd stestr-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + 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 -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement not satisfied: pbr>=2.0.0 Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-stestr-4.0.1-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-stestr.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50735-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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.1o4091x2:/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', '42dbcd737b2b40eb9d5b1167a5b268e0', '-D', '/var/lib/mock/dist-ocs23-python311-build-50735-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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.Dd1h3k + umask 022 + cd /builddir/build/BUILD + cd stestr-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + 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 -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement not satisfied: pbr>=2.0.0 Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.akNs98 + 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 stestr-4.0.1 + mkdir -p /builddir/build/BUILD/stestr-4.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 -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/stestr-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/stestr-4.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/stestr-4.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running dist_info creating /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info writing pbr to /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/pbr.json writing /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-modern-metadata-cyab9mrp/stestr-4.0.1.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: stestr Building wheel for stestr (pyproject.toml): started Running command Building wheel for stestr (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/stestr creating build/lib/stestr/commands copying stestr/commands/load.py -> build/lib/stestr/commands copying stestr/commands/run.py -> build/lib/stestr/commands copying stestr/commands/__init__.py -> build/lib/stestr/commands copying stestr/commands/slowest.py -> build/lib/stestr/commands copying stestr/commands/init.py -> build/lib/stestr/commands copying stestr/commands/list.py -> build/lib/stestr/commands copying stestr/commands/failing.py -> build/lib/stestr/commands copying stestr/commands/history.py -> build/lib/stestr/commands copying stestr/commands/last.py -> build/lib/stestr/commands copying stestr/testlist.py -> build/lib/stestr copying stestr/cli.py -> build/lib/stestr copying stestr/bisect_tests.py -> build/lib/stestr copying stestr/selection.py -> build/lib/stestr copying stestr/test_processor.py -> build/lib/stestr copying stestr/utils.py -> build/lib/stestr copying stestr/version.py -> build/lib/stestr copying stestr/config_file.py -> build/lib/stestr copying stestr/__main__.py -> build/lib/stestr copying stestr/__init__.py -> build/lib/stestr copying stestr/user_config.py -> build/lib/stestr copying stestr/scheduler.py -> build/lib/stestr copying stestr/output.py -> build/lib/stestr copying stestr/colorizer.py -> build/lib/stestr copying stestr/results.py -> build/lib/stestr copying stestr/subunit_trace.py -> build/lib/stestr creating build/lib/stestr/tests creating build/lib/stestr/tests/repository copying stestr/tests/repository/__init__.py -> build/lib/stestr/tests/repository copying stestr/tests/repository/test_file.py -> build/lib/stestr/tests/repository copying stestr/tests/repository/test_util.py -> build/lib/stestr/tests/repository creating build/lib/stestr/tests/files copying stestr/tests/files/__init__.py -> build/lib/stestr/tests/files creating build/lib/stestr/repository copying stestr/repository/util.py -> build/lib/stestr/repository copying stestr/repository/__init__.py -> build/lib/stestr/repository copying stestr/repository/memory.py -> build/lib/stestr/repository copying stestr/repository/abstract.py -> build/lib/stestr/repository copying stestr/repository/file.py -> build/lib/stestr/repository copying stestr/tests/test_user_config.py -> build/lib/stestr/tests copying stestr/tests/test_slowest.py -> build/lib/stestr/tests copying stestr/tests/base.py -> build/lib/stestr/tests copying stestr/tests/test_bisect_tests.py -> build/lib/stestr/tests copying stestr/tests/test_run.py -> build/lib/stestr/tests copying stestr/tests/__init__.py -> build/lib/stestr/tests copying stestr/tests/test_user_config_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_utils.py -> build/lib/stestr/tests copying stestr/tests/test_load.py -> build/lib/stestr/tests copying stestr/tests/test_test_processor.py -> build/lib/stestr/tests copying stestr/tests/test_subunit_trace.py -> build/lib/stestr/tests copying stestr/tests/test_selection.py -> build/lib/stestr/tests copying stestr/tests/test_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_config_file.py -> build/lib/stestr/tests copying stestr/tests/test_bisect_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_output.py -> build/lib/stestr/tests copying stestr/tests/test_scheduler.py -> build/lib/stestr/tests creating build/lib/stestr/subunit_runner copying stestr/subunit_runner/run.py -> build/lib/stestr/subunit_runner copying stestr/subunit_runner/__init__.py -> build/lib/stestr/subunit_runner copying stestr/subunit_runner/program.py -> build/lib/stestr/subunit_runner running egg_info writing pbr to stestr.egg-info/pbr.json writing stestr.egg-info/PKG-INFO writing dependency_links to stestr.egg-info/dependency_links.txt writing entry points to stestr.egg-info/entry_points.txt writing requirements to stestr.egg-info/requires.txt writing top-level names to stestr.egg-info/top_level.txt [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'stestr.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'stestr.tests.sample_streams' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'stestr.tests.sample_streams' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'stestr.tests.sample_streams' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'stestr.tests.sample_streams' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying stestr/tests/files/bisect-fail-serial-tests -> build/lib/stestr/tests/files copying stestr/tests/files/failing-tests -> build/lib/stestr/tests/files copying stestr/tests/files/passing-tests -> build/lib/stestr/tests/files copying stestr/tests/files/setup.cfg -> build/lib/stestr/tests/files copying stestr/tests/files/stestr.yaml -> build/lib/stestr/tests/files copying stestr/tests/files/testr-conf -> build/lib/stestr/tests/files copying stestr/tests/files/tox.ini -> build/lib/stestr/tests/files creating build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/all_skips.subunit -> build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/failure.subunit -> build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/successful.subunit -> build/lib/stestr/tests/sample_streams installing to build/bdist.linux-x86_64/wheel running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/testlist.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/cli.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/bisect_tests.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/selection.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/test_processor.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/utils.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/version.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/config_file.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/__main__.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/__init__.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/user_config.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/scheduler.py -> build/bdist.linux-x86_64/wheel/stestr creating build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/load.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/run.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/slowest.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/init.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/list.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/failing.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/history.py -> build/bdist.linux-x86_64/wheel/stestr/commands copying build/lib/stestr/commands/last.py -> build/bdist.linux-x86_64/wheel/stestr/commands creating build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_user_config.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_slowest.py -> build/bdist.linux-x86_64/wheel/stestr/tests creating build/bdist.linux-x86_64/wheel/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/failure.subunit -> build/bdist.linux-x86_64/wheel/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/all_skips.subunit -> build/bdist.linux-x86_64/wheel/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/successful.subunit -> build/bdist.linux-x86_64/wheel/stestr/tests/sample_streams creating build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/tox.ini -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/setup.cfg -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/failing-tests -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/stestr.yaml -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/testr-conf -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/bisect-fail-serial-tests -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/files/passing-tests -> build/bdist.linux-x86_64/wheel/stestr/tests/files copying build/lib/stestr/tests/base.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_bisect_tests.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_run.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_user_config_return_codes.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_load.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_test_processor.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_subunit_trace.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_selection.py -> build/bdist.linux-x86_64/wheel/stestr/tests creating build/bdist.linux-x86_64/wheel/stestr/tests/repository copying build/lib/stestr/tests/repository/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/tests/repository copying build/lib/stestr/tests/repository/test_file.py -> build/bdist.linux-x86_64/wheel/stestr/tests/repository copying build/lib/stestr/tests/repository/test_util.py -> build/bdist.linux-x86_64/wheel/stestr/tests/repository copying build/lib/stestr/tests/test_return_codes.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_config_file.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_bisect_return_codes.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_output.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/tests/test_scheduler.py -> build/bdist.linux-x86_64/wheel/stestr/tests copying build/lib/stestr/output.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/colorizer.py -> build/bdist.linux-x86_64/wheel/stestr copying build/lib/stestr/results.py -> build/bdist.linux-x86_64/wheel/stestr creating build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/repository/util.py -> build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/repository/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/repository/memory.py -> build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/repository/abstract.py -> build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/repository/file.py -> build/bdist.linux-x86_64/wheel/stestr/repository copying build/lib/stestr/subunit_trace.py -> build/bdist.linux-x86_64/wheel/stestr creating build/bdist.linux-x86_64/wheel/stestr/subunit_runner copying build/lib/stestr/subunit_runner/run.py -> build/bdist.linux-x86_64/wheel/stestr/subunit_runner copying build/lib/stestr/subunit_runner/__init__.py -> build/bdist.linux-x86_64/wheel/stestr/subunit_runner copying build/lib/stestr/subunit_runner/program.py -> build/bdist.linux-x86_64/wheel/stestr/subunit_runner running install_egg_info Copying stestr.egg-info to build/bdist.linux-x86_64/wheel/stestr-4.0.1-py3.11.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") creating build/bdist.linux-x86_64/wheel/stestr-4.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir/pip-wheel-6wpc1vgi/tmpx_di7w52/stestr-4.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'stestr/__init__.py' adding 'stestr/__main__.py' adding 'stestr/bisect_tests.py' adding 'stestr/cli.py' adding 'stestr/colorizer.py' adding 'stestr/config_file.py' adding 'stestr/output.py' adding 'stestr/results.py' adding 'stestr/scheduler.py' adding 'stestr/selection.py' adding 'stestr/subunit_trace.py' adding 'stestr/test_processor.py' adding 'stestr/testlist.py' adding 'stestr/user_config.py' adding 'stestr/utils.py' adding 'stestr/version.py' adding 'stestr/commands/__init__.py' adding 'stestr/commands/failing.py' adding 'stestr/commands/history.py' adding 'stestr/commands/init.py' adding 'stestr/commands/last.py' adding 'stestr/commands/list.py' adding 'stestr/commands/load.py' adding 'stestr/commands/run.py' adding 'stestr/commands/slowest.py' adding 'stestr/repository/__init__.py' adding 'stestr/repository/abstract.py' adding 'stestr/repository/file.py' adding 'stestr/repository/memory.py' adding 'stestr/repository/util.py' adding 'stestr/subunit_runner/__init__.py' adding 'stestr/subunit_runner/program.py' adding 'stestr/subunit_runner/run.py' adding 'stestr/tests/__init__.py' adding 'stestr/tests/base.py' adding 'stestr/tests/test_bisect_return_codes.py' adding 'stestr/tests/test_bisect_tests.py' adding 'stestr/tests/test_config_file.py' adding 'stestr/tests/test_load.py' adding 'stestr/tests/test_output.py' adding 'stestr/tests/test_return_codes.py' adding 'stestr/tests/test_run.py' adding 'stestr/tests/test_scheduler.py' adding 'stestr/tests/test_selection.py' adding 'stestr/tests/test_slowest.py' adding 'stestr/tests/test_subunit_trace.py' adding 'stestr/tests/test_test_processor.py' adding 'stestr/tests/test_user_config.py' adding 'stestr/tests/test_user_config_return_codes.py' adding 'stestr/tests/test_utils.py' adding 'stestr/tests/files/__init__.py' adding 'stestr/tests/files/bisect-fail-serial-tests' adding 'stestr/tests/files/failing-tests' adding 'stestr/tests/files/passing-tests' adding 'stestr/tests/files/setup.cfg' adding 'stestr/tests/files/stestr.yaml' adding 'stestr/tests/files/testr-conf' adding 'stestr/tests/files/tox.ini' adding 'stestr/tests/repository/__init__.py' adding 'stestr/tests/repository/test_file.py' adding 'stestr/tests/repository/test_util.py' adding 'stestr/tests/sample_streams/all_skips.subunit' adding 'stestr/tests/sample_streams/failure.subunit' adding 'stestr/tests/sample_streams/successful.subunit' adding 'stestr-4.0.1.dist-info/AUTHORS' adding 'stestr-4.0.1.dist-info/LICENSE' adding 'stestr-4.0.1.dist-info/METADATA' adding 'stestr-4.0.1.dist-info/WHEEL' adding 'stestr-4.0.1.dist-info/entry_points.txt' adding 'stestr-4.0.1.dist-info/pbr.json' adding 'stestr-4.0.1.dist-info/top_level.txt' adding 'stestr-4.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for stestr (pyproject.toml): finished with status 'done' Created wheel for stestr: filename=stestr-4.0.1-py3-none-any.whl size=116969 sha256=8a5a36e8f523ca99e79a764c7ccee399d8cd67d13614fd54fa651bc0ba3a4751 Stored in directory: /builddir/.cache/pip/wheels/72/64/64/2528c03a4573ed3e9578e710192fc901b633318c2fc716a316 Successfully built stestr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1T4AjC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch + cd stestr-4.0.1 ++ ls /builddir/build/BUILD/stestr-4.0.1/pyproject-wheeldir/stestr-4.0.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=stestr==4.0.1 + TMPDIR=/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-stestr-4.0.1-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/stestr-4.0.1/pyproject-wheeldir stestr==4.0.1 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/stestr-4.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/stestr-4.0.1-py3-none-any.whl Installing collected packages: stestr Creating /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin/stestr to 755 Successfully installed stestr-4.0.1 + '[' -d /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin/stestr /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin/stestr: updating + rm -rfv /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/stestr-4.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.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-stestr-4.0.1-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/stestr-4.0.1.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-stestr-4.0.1-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 stestr + ln -s stestr /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch//usr/bin/stestr-3 + ln -s stestr-3 /builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch//usr/bin/stestr-3.11 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.0.1-3.ocs23 --unique-debug-suffix -4.0.1-3.ocs23.noarch --unique-debug-src-base python-stestr-4.0.1-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/stestr-4.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-stestr-4.0.1-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.wG346M + 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 stestr-4.0.1 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-stestr-4.0.1-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/stestr-4.0.1/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py311 /usr/bin/python3: No module named tox error: Bad exit status from /var/tmp/rpm-tmp.wG346M (%check) Bad exit status from /var/tmp/rpm-tmp.wG346M (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 42dbcd737b2b40eb9d5b1167a5b268e0 -D /var/lib/mock/dist-ocs23-python311-build-50735-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1o4091x2:/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-stestr.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 42dbcd737b2b40eb9d5b1167a5b268e0 -D /var/lib/mock/dist-ocs23-python311-build-50735-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1o4091x2:/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-stestr.spec