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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8rNU0o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autopage-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autopage-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autopage-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm autopage/tests/test_end_to_end.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pJ0lPH + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + 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 -t Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pe8IoT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autopage-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autopage-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autopage-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm autopage/tests/test_end_to_end.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EfjiRw + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + 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 -t Handling setuptools>=43 from build-system.requires Requirement satisfied: setuptools>=43 (installed: setuptools 68.0.0) 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-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cRGkDB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autopage-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autopage-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autopage-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm autopage/tests/test_end_to_end.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LEd24D + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + 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 -t Handling setuptools>=43 from build-system.requires Requirement satisfied: setuptools>=43 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing autopage.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to autopage.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to autopage.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'autopage.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'autopage.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QiKHtv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autopage-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autopage-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autopage-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm autopage/tests/test_end_to_end.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3uFfIu + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + 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 -t Handling setuptools>=43 from build-system.requires Requirement satisfied: setuptools>=43 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing autopage.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to autopage.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to autopage.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'autopage.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'autopage.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) Handling pytest from tox --print-deps-only: py311 Requirement not satisfied: pytest Handling fixtures from tox --print-deps-only: py311 Requirement not satisfied: fixtures + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NyOeXG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autopage-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/autopage-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autopage-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm autopage/tests/test_end_to_end.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.urWJab + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + 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 -t Handling setuptools>=43 from build-system.requires Requirement satisfied: setuptools>=43 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing autopage.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to autopage.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to autopage.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'autopage.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'autopage.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) Handling pytest from tox --print-deps-only: py311 Requirement satisfied: pytest (installed: pytest 7.4.0) Handling fixtures from tox --print-deps-only: py311 Requirement satisfied: fixtures (installed: fixtures 4.0.1) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-autopage-0.5.1-6.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-autopage.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-175564-11011/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1SF1nx + umask 022 + cd /builddir/build/BUILD + cd autopage-0.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv autopage-0.5.1.dist-info/ removed 'autopage-0.5.1.dist-info/METADATA' removed 'autopage-0.5.1.dist-info/top_level.txt' removed 'autopage-0.5.1.dist-info/LICENSE' removed directory 'autopage-0.5.1.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>=43 from build-system.requires Requirement satisfied: setuptools>=43 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing autopage.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to autopage.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to autopage.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'autopage.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'autopage.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py311: OK (0.00 seconds) congratulations :) (0.05 seconds) Handling tox from tox --print-deps-only: py311 Requirement satisfied: tox (installed: tox 4.10.0) Handling pytest from tox --print-deps-only: py311 Requirement satisfied: pytest (installed: pytest 7.4.0) Handling fixtures from tox --print-deps-only: py311 Requirement satisfied: fixtures (installed: fixtures 4.0.1) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iTcfn9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 autopage-0.5.1 + mkdir -p /builddir/build/BUILD/autopage-0.5.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/autopage-0.5.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/autopage-0.5.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/autopage-0.5.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info writing /builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-modern-metadata-s93311pu/autopage-0.5.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: autopage Building wheel for autopage (pyproject.toml): started Running command Building wheel for autopage (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/autopage copying autopage/command.py -> build/lib/autopage copying autopage/argparse.py -> build/lib/autopage copying autopage/__init__.py -> build/lib/autopage creating build/lib/autopage/tests copying autopage/tests/isolation.py -> build/lib/autopage/tests copying autopage/tests/test_autopage.py -> build/lib/autopage/tests copying autopage/tests/test_line_buffer_from_input.py -> build/lib/autopage/tests copying autopage/tests/sinks.py -> build/lib/autopage/tests copying autopage/tests/__init__.py -> build/lib/autopage/tests copying autopage/tests/test_command.py -> build/lib/autopage/tests copying autopage/tests/test_pager_settings.py -> build/lib/autopage/tests copying autopage/tests/test_argparse.py -> build/lib/autopage/tests copying autopage/py.typed -> build/lib/autopage 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/autopage copying build/lib/autopage/command.py -> build/bdist.linux-x86_64/wheel/autopage copying build/lib/autopage/argparse.py -> build/bdist.linux-x86_64/wheel/autopage copying build/lib/autopage/__init__.py -> build/bdist.linux-x86_64/wheel/autopage copying build/lib/autopage/py.typed -> build/bdist.linux-x86_64/wheel/autopage creating build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/isolation.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/test_autopage.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/test_line_buffer_from_input.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/sinks.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/__init__.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/test_command.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/test_pager_settings.py -> build/bdist.linux-x86_64/wheel/autopage/tests copying build/lib/autopage/tests/test_argparse.py -> build/bdist.linux-x86_64/wheel/autopage/tests running install_egg_info running egg_info writing autopage.egg-info/PKG-INFO writing dependency_links to autopage.egg-info/dependency_links.txt writing top-level names to autopage.egg-info/top_level.txt reading manifest file 'autopage.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'autopage.egg-info/SOURCES.txt' Copying autopage.egg-info to build/bdist.linux-x86_64/wheel/autopage-0.5.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/autopage-0.5.1.dist-info/WHEEL creating '/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir/pip-wheel-vyflr9c2/.tmp-lsfanvl8/autopage-0.5.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'autopage/__init__.py' adding 'autopage/argparse.py' adding 'autopage/command.py' adding 'autopage/py.typed' adding 'autopage/tests/__init__.py' adding 'autopage/tests/isolation.py' adding 'autopage/tests/sinks.py' adding 'autopage/tests/test_argparse.py' adding 'autopage/tests/test_autopage.py' adding 'autopage/tests/test_command.py' adding 'autopage/tests/test_line_buffer_from_input.py' adding 'autopage/tests/test_pager_settings.py' adding 'autopage-0.5.1.dist-info/LICENSE' adding 'autopage-0.5.1.dist-info/METADATA' adding 'autopage-0.5.1.dist-info/WHEEL' adding 'autopage-0.5.1.dist-info/top_level.txt' adding 'autopage-0.5.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for autopage (pyproject.toml): finished with status 'done' Created wheel for autopage: filename=autopage-0.5.1-py3-none-any.whl size=27972 sha256=29101c2a35e3e87ec6114a78f1e94d18798a3842bb0ddad6c64ab85bf63edf8b Stored in directory: /builddir/.cache/pip/wheels/f6/24/15/01972d05e1676c76ea236b578f22b4828e0a2a38a1bc22334c Successfully built autopage + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B92Ob3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch + cd autopage-0.5.1 ++ ls /builddir/build/BUILD/autopage-0.5.1/pyproject-wheeldir/autopage-0.5.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=autopage==0.5.1 + TMPDIR=/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-autopage-0.5.1-6.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/autopage-0.5.1/pyproject-wheeldir autopage==0.5.1 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/autopage-0.5.1/pyproject-wheeldir Processing ./pyproject-wheeldir/autopage-0.5.1-py3-none-any.whl Installing collected packages: autopage Successfully installed autopage-0.5.1 + '[' -d /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.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-autopage-0.5.1-6.ocs23.noarch --record /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages/autopage-0.5.1.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-autopage-0.5.1-6.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 autopage + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.5.1-6.ocs23 --unique-debug-suffix -0.5.1-6.ocs23.noarch --unique-debug-src-base python-autopage-0.5.1-6.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/autopage-0.5.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-autopage-0.5.1-6.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.uEHN46 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 autopage-0.5.1 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-autopage-0.5.1-6.ocs23.noarch/usr/lib/python3.11/site-packages + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/autopage-0.5.1/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py311 ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 cachedir: .tox/py311/.pytest_cache rootdir: /builddir/build/BUILD/autopage-0.5.1 collected 136 items autopage/tests/test_argparse.py FFFFFF autopage/tests/test_autopage.py ........................................ autopage/tests/test_command.py .............................................................................. autopage/tests/test_line_buffer_from_input.py .... autopage/tests/test_pager_settings.py ........ =================================== FAILURES =================================== _______________________ ArgumentParseTest.test_argparse ________________________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions ___________________ ArgumentParseTest.test_argparse_no_color ___________________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions _____________________ ArgumentParseTest.test_monkey_patch ______________________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions _________________ ArgumentParseTest.test_monkey_patch_context __________________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions _____________ ArgumentParseTest.test_monkey_patch_context_no_color _____________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions _________________ ArgumentParseTest.test_monkey_patch_no_color _________________ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: > self._setUp() /usr/lib/python3.11/site-packages/fixtures/fixture.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _setUp(self): # Available with the fixtures[streams] extra. > from testtools.content import content_from_stream E ModuleNotFoundError: No module named 'testtools' /usr/lib/python3.11/site-packages/fixtures/_fixtures/streams.py:45: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def setUp(self) -> None: patch_ap = self.useFixture(fixtures.MockPatch('autopage.AutoPager')) self.pager = patch_ap.mock > self.stream = self.useFixture(fixtures.StringStream('stdout')).stream autopage/tests/test_argparse.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/fixtures/testcase.py:47: in useFixture fixture.setUp() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setUp(self): """Prepare the Fixture for use. This should not be overridden. Concrete fixtures should implement _setUp. Overriding of setUp is still supported, just not recommended. After setUp has completed, the fixture will have one or more attributes which can be used (these depend totally on the concrete subclass). :raises: MultipleExceptions if _setUp fails. The last exception captured within the MultipleExceptions will be a SetupError exception. :return: None. :changed in 1.3: The recommendation to override setUp has been reversed - before 1.3, setUp() should be overridden, now it should not be. :changed in 1.3.1: BaseException is now caught, and only subclasses of Exception are wrapped in MultipleExceptions. """ self._clear_cleanups() try: self._setUp() except: err = sys.exc_info() details = {} if gather_details is not None: # Materialise all details since we're about to cleanup. gather_details(self.getDetails(), details) else: details = self.getDetails() errors = [err] + self.cleanUp(raise_first=False) try: raise SetupError(details) except SetupError: errors.append(sys.exc_info()) if issubclass(err[0], Exception): > raise MultipleExceptions(*errors) E fixtures.callmany.MultipleExceptions: ((, ModuleNotFoundError("No module named 'testtools'"), ), (, SetupError({}), )) /usr/lib/python3.11/site-packages/fixtures/fixture.py:211: MultipleExceptions =========================== short test summary info ============================ FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_argparse - fi... FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_argparse_no_color FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_monkey_patch FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_monkey_patch_context FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_monkey_patch_context_no_color FAILED autopage/tests/test_argparse.py::ArgumentParseTest::test_monkey_patch_no_color ======================== 6 failed, 130 passed in 0.23s ========================= py311: exit 1 (0.40 seconds) /builddir/build/BUILD/autopage-0.5.1> pytest -s pid=2243874 py311: FAIL code 1 (0.41 seconds) evaluation failed :( (0.46 seconds) error: Bad exit status from /var/tmp/rpm-tmp.uEHN46 (%check) Bad exit status from /var/tmp/rpm-tmp.uEHN46 (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-autopage.spec