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-jinja2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-72997-4430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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.kpj0ox1j:/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', '44f0866614a5456393826989a84860b7', '-D', '/var/lib/mock/dist-ocs23-python311-build-72997-4430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.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-jinja2-3.0.3-4.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-jinja2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-72997-4430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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.kpj0ox1j:/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', 'f36c66706b464b1aa1344325a42b7eac', '-D', '/var/lib/mock/dist-ocs23-python311-build-72997-4430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.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.hu3us5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Jinja2-3.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Jinja2-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Jinja2-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1525.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ij2x5Y + umask 022 + cd /builddir/build/BUILD + cd Jinja2-3.0.3 + 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 -x i18n 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) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: writing src/Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/Jinja2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'src/Jinja2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running dist_info HOOK STDOUT: creating Jinja2.egg-info HOOK STDOUT: writing Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to Jinja2.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/Jinja2-3.0.3/Jinja2-3.0.3.dist-info' HOOK STDOUT: adding license file "LICENSE.rst" (matched pattern "LICENSE.rst") Handling MarkupSafe (>=2.0) from wheel metadata: Requires-Dist Requirement not satisfied: MarkupSafe (>=2.0) Handling Babel (>=2.7) ; extra == 'i18n' from wheel metadata: Requires-Dist Requirement not satisfied: Babel (>=2.7) ; extra == 'i18n' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jinja2-3.0.3-4.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-jinja2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-72997-4430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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.kpj0ox1j:/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', 'bcabaa9b9b7c4c328ec32a903205f18e', '-D', '/var/lib/mock/dist-ocs23-python311-build-72997-4430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.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.na80cx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Jinja2-3.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Jinja2-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Jinja2-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1525.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.lFRcSF + umask 022 + cd /builddir/build/BUILD + cd Jinja2-3.0.3 + 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 -x i18n 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) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: writing src/Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/Jinja2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'src/Jinja2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running dist_info HOOK STDOUT: creating Jinja2.egg-info HOOK STDOUT: writing Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to Jinja2.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/Jinja2-3.0.3/Jinja2-3.0.3.dist-info' HOOK STDOUT: adding license file "LICENSE.rst" (matched pattern "LICENSE.rst") Handling MarkupSafe (>=2.0) from wheel metadata: Requires-Dist Requirement satisfied: MarkupSafe (>=2.0) (installed: MarkupSafe 2.1.1) Handling Babel (>=2.7) ; extra == 'i18n' from wheel metadata: Requires-Dist Requirement satisfied: Babel (>=2.7) ; extra == 'i18n' (installed: Babel 2.12.1) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jinja2-3.0.3-4.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-jinja2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-72997-4430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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.kpj0ox1j:/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', '9c9f58b7f4fc4a9bb8b17ae8a4ae169e', '-D', '/var/lib/mock/dist-ocs23-python311-build-72997-4430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.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.wBn5ti + umask 022 + cd /builddir/build/BUILD + cd Jinja2-3.0.3 + 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 Jinja2-3.0.3.dist-info/ removed 'Jinja2-3.0.3.dist-info/METADATA' removed 'Jinja2-3.0.3.dist-info/top_level.txt' removed 'Jinja2-3.0.3.dist-info/entry_points.txt' removed 'Jinja2-3.0.3.dist-info/LICENSE.rst' removed directory 'Jinja2-3.0.3.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 -x i18n 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) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: writing src/Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/Jinja2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'src/Jinja2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution HOOK STDOUT: running dist_info HOOK STDOUT: writing Jinja2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to Jinja2.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to Jinja2.egg-info/entry_points.txt HOOK STDOUT: writing requirements to Jinja2.egg-info/requires.txt HOOK STDOUT: writing top-level names to Jinja2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.rst' HOOK STDOUT: writing manifest file 'Jinja2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/Jinja2-3.0.3/Jinja2-3.0.3.dist-info' HOOK STDOUT: adding license file "LICENSE.rst" (matched pattern "LICENSE.rst") Handling MarkupSafe (>=2.0) from wheel metadata: Requires-Dist Requirement satisfied: MarkupSafe (>=2.0) (installed: MarkupSafe 2.1.1) Handling Babel (>=2.7) ; extra == 'i18n' from wheel metadata: Requires-Dist Requirement satisfied: Babel (>=2.7) ; extra == 'i18n' (installed: Babel 2.12.1) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3l6AiX + 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 Jinja2-3.0.3 + mkdir -p /builddir/build/BUILD/Jinja2-3.0.3/.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/Jinja2-3.0.3/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/Jinja2-3.0.3/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/Jinja2-3.0.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info writing /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.rst' writing manifest file '/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-modern-metadata-bbaso8_w/Jinja2-3.0.3.dist-info' adding license file "LICENSE.rst" (matched pattern "LICENSE.rst") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: Jinja2 Building wheel for Jinja2 (pyproject.toml): started Running command Building wheel for Jinja2 (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/jinja2 copying src/jinja2/_identifier.py -> build/lib/jinja2 copying src/jinja2/filters.py -> build/lib/jinja2 copying src/jinja2/async_utils.py -> build/lib/jinja2 copying src/jinja2/bccache.py -> build/lib/jinja2 copying src/jinja2/constants.py -> build/lib/jinja2 copying src/jinja2/loaders.py -> build/lib/jinja2 copying src/jinja2/lexer.py -> build/lib/jinja2 copying src/jinja2/sandbox.py -> build/lib/jinja2 copying src/jinja2/utils.py -> build/lib/jinja2 copying src/jinja2/meta.py -> build/lib/jinja2 copying src/jinja2/environment.py -> build/lib/jinja2 copying src/jinja2/__init__.py -> build/lib/jinja2 copying src/jinja2/idtracking.py -> build/lib/jinja2 copying src/jinja2/runtime.py -> build/lib/jinja2 copying src/jinja2/ext.py -> build/lib/jinja2 copying src/jinja2/exceptions.py -> build/lib/jinja2 copying src/jinja2/optimizer.py -> build/lib/jinja2 copying src/jinja2/debug.py -> build/lib/jinja2 copying src/jinja2/nativetypes.py -> build/lib/jinja2 copying src/jinja2/parser.py -> build/lib/jinja2 copying src/jinja2/compiler.py -> build/lib/jinja2 copying src/jinja2/nodes.py -> build/lib/jinja2 copying src/jinja2/defaults.py -> build/lib/jinja2 copying src/jinja2/tests.py -> build/lib/jinja2 copying src/jinja2/visitor.py -> build/lib/jinja2 running egg_info writing src/Jinja2.egg-info/PKG-INFO writing dependency_links to src/Jinja2.egg-info/dependency_links.txt writing entry points to src/Jinja2.egg-info/entry_points.txt writing requirements to src/Jinja2.egg-info/requires.txt writing top-level names to src/Jinja2.egg-info/top_level.txt reading manifest file 'src/Jinja2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.rst' writing manifest file 'src/Jinja2.egg-info/SOURCES.txt' copying src/jinja2/py.typed -> build/lib/jinja2 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/jinja2 copying build/lib/jinja2/_identifier.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/filters.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/async_utils.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/bccache.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/constants.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/loaders.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/lexer.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/sandbox.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/utils.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/meta.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/environment.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/__init__.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/idtracking.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/py.typed -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/runtime.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/ext.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/exceptions.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/optimizer.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/debug.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/nativetypes.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/parser.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/compiler.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/nodes.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/defaults.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/tests.py -> build/bdist.linux-x86_64/wheel/jinja2 copying build/lib/jinja2/visitor.py -> build/bdist.linux-x86_64/wheel/jinja2 running install_egg_info Copying src/Jinja2.egg-info to build/bdist.linux-x86_64/wheel/Jinja2-3.0.3-py3.11.egg-info running install_scripts adding license file "LICENSE.rst" (matched pattern "LICENSE.rst") creating build/bdist.linux-x86_64/wheel/Jinja2-3.0.3.dist-info/WHEEL creating '/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir/pip-wheel-ive114sj/tmpzxqfdy0r/Jinja2-3.0.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'jinja2/__init__.py' adding 'jinja2/_identifier.py' adding 'jinja2/async_utils.py' adding 'jinja2/bccache.py' adding 'jinja2/compiler.py' adding 'jinja2/constants.py' adding 'jinja2/debug.py' adding 'jinja2/defaults.py' adding 'jinja2/environment.py' adding 'jinja2/exceptions.py' adding 'jinja2/ext.py' adding 'jinja2/filters.py' adding 'jinja2/idtracking.py' adding 'jinja2/lexer.py' adding 'jinja2/loaders.py' adding 'jinja2/meta.py' adding 'jinja2/nativetypes.py' adding 'jinja2/nodes.py' adding 'jinja2/optimizer.py' adding 'jinja2/parser.py' adding 'jinja2/py.typed' adding 'jinja2/runtime.py' adding 'jinja2/sandbox.py' adding 'jinja2/tests.py' adding 'jinja2/utils.py' adding 'jinja2/visitor.py' adding 'Jinja2-3.0.3.dist-info/LICENSE.rst' adding 'Jinja2-3.0.3.dist-info/METADATA' adding 'Jinja2-3.0.3.dist-info/WHEEL' adding 'Jinja2-3.0.3.dist-info/entry_points.txt' adding 'Jinja2-3.0.3.dist-info/top_level.txt' adding 'Jinja2-3.0.3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for Jinja2 (pyproject.toml): finished with status 'done' Created wheel for Jinja2: filename=Jinja2-3.0.3-py3-none-any.whl size=133610 sha256=eeed4071bebb713d2e13eb06ad2a49ac40ec65460fbe70a5ea7ec50ff38c8957 Stored in directory: /builddir/.cache/pip/wheels/2a/35/ce/26e52e9d04902059e3aaa75d289fcf4fe75239d3a2d4d17047 Successfully built Jinja2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h2yp7O + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch + cd Jinja2-3.0.3 ++ ls /builddir/build/BUILD/Jinja2-3.0.3/pyproject-wheeldir/Jinja2-3.0.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=Jinja2==3.0.3 + TMPDIR=/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.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/Jinja2-3.0.3/pyproject-wheeldir Jinja2==3.0.3 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/Jinja2-3.0.3/pyproject-wheeldir Processing ./pyproject-wheeldir/Jinja2-3.0.3-py3-none-any.whl Installing collected packages: Jinja2 Successfully installed Jinja2-3.0.3 + '[' -d /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/Jinja2-3.0.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.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-jinja2-3.0.3-4.ocs23.noarch --record /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages/Jinja2-3.0.3.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-jinja2-3.0.3-4.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 jinja2 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.0.3-4.ocs23 --unique-debug-suffix -3.0.3-4.ocs23.noarch --unique-debug-src-base python-jinja2-3.0.3-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/Jinja2-3.0.3 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-jinja2-3.0.3-4.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.jkz5T2 + 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 Jinja2-3.0.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-jinja2-3.0.3-4.ocs23.noarch/usr/lib/python3.11/site-packages::/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/Jinja2-3.0.3/.pyproject-builddir' + /usr/bin/pytest tests ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/Jinja2-3.0.3 configfile: setup.cfg collected 831 items tests/test_api.py ................................. [ 3%] tests/test_async.py .................................................... [ 10%] .... [ 10%] tests/test_async_filters.py ......................................... [ 15%] tests/test_bytecode_cache.py ... [ 16%] tests/test_compile.py .. [ 16%] tests/test_core_tags.py ................................................ [ 22%] .............. [ 23%] tests/test_debug.py ....... [ 24%] tests/test_ext.py ............................................... [ 30%] tests/test_features.py . [ 30%] tests/test_filters.py .................................................. [ 36%] ...................................................................... [ 44%] tests/test_idtracking.py ..... [ 45%] tests/test_imports.py ............... [ 47%] tests/test_inheritance.py ...................... [ 49%] tests/test_lexnparse.py ................................................ [ 55%] ........................................................................ [ 64%] .............................. [ 67%] tests/test_loader.py ...................E.E.E.E.E.E.E.E.E............. [ 72%] tests/test_nativetypes.py ......................... [ 75%] tests/test_nodes.py . [ 75%] tests/test_regression.py ............................................... [ 81%] ...... [ 82%] tests/test_runtime.py ....... [ 83%] tests/test_security.py ............... [ 84%] tests/test_tests.py .................................................... [ 91%] ...................................................... [ 97%] tests/test_utils.py .................... [100%] ==================================== ERRORS ==================================== ________________ ERROR at teardown of TestModuleLoader.test_log ________________ cls = func = . at 0x7f0b196e8ea0> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_log is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning _______ ERROR at teardown of TestModuleLoader.test_deflated_zip_compile ________ cls = func = . at 0x7f0b196eaa20> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_deflated_zip_compile is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning ________ ERROR at teardown of TestModuleLoader.test_stored_zip_compile _________ cls = func = . at 0x7f0b196e9800> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_stored_zip_compile is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning ________ ERROR at teardown of TestModuleLoader.test_filesystem_compile _________ cls = func = . at 0x7f0b196e9620> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_filesystem_compile is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning __________ ERROR at teardown of TestModuleLoader.test_weak_references __________ cls = func = . at 0x7f0b197d7740> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_weak_references is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning ___________ ERROR at teardown of TestModuleLoader.test_choice_loader ___________ cls = func = . at 0x7f0b196ea8e0> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_choice_loader is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning ___________ ERROR at teardown of TestModuleLoader.test_prefix_loader ___________ cls = func = . at 0x7f0b196e9580> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_prefix_loader is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning __________ ERROR at teardown of TestModuleLoader.test_path_as_pathlib __________ cls = func = . at 0x7f0b196e82c0> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_path_as_pathlib is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning _ ERROR at teardown of TestModuleLoader.test_supports_pathlib_in_list_of_paths _ cls = func = . at 0x7f0b19448400> when = 'teardown' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.11/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/runner.py:182: in pytest_runtest_teardown item.session._setupstate.teardown_exact(nextitem) /usr/lib/python3.11/site-packages/_pytest/runner.py:537: in teardown_exact raise exceptions[0] /usr/lib/python3.11/site-packages/_pytest/runner.py:526: in teardown_exact fin() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:701: in subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest)) /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1031: in finish raise exc /usr/lib/python3.11/site-packages/_pytest/fixtures.py:1024: in finish func() /usr/lib/python3.11/site-packages/_pytest/fixtures.py:911: in _teardown_yield_fixture next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) yield if teardown_method is not None: func = getattr(self, teardown_name) _call_with_optional_argument(func, method) if emit_nose_teardown_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="teardown" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E tests/test_loader.py::TestModuleLoader::test_supports_pathlib_in_list_of_paths is using nose-specific method: `teardown(self)` E To remove this warning, rename it to `teardown_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3.11/site-packages/_pytest/python.py:909: PytestRemovedIn8Warning =========================== short test summary info ============================ ERROR tests/test_loader.py::TestModuleLoader::test_log - pytest.PytestRemoved... ERROR tests/test_loader.py::TestModuleLoader::test_deflated_zip_compile - pyt... ERROR tests/test_loader.py::TestModuleLoader::test_stored_zip_compile - pytes... ERROR tests/test_loader.py::TestModuleLoader::test_filesystem_compile - pytes... ERROR tests/test_loader.py::TestModuleLoader::test_weak_references - pytest.P... ERROR tests/test_loader.py::TestModuleLoader::test_choice_loader - pytest.Pyt... ERROR tests/test_loader.py::TestModuleLoader::test_prefix_loader - pytest.Pyt... ERROR tests/test_loader.py::TestModuleLoader::test_path_as_pathlib - pytest.P... ERROR tests/test_loader.py::TestModuleLoader::test_supports_pathlib_in_list_of_paths ======================== 831 passed, 9 errors in 3.34s ========================= error: Bad exit status from /var/tmp/rpm-tmp.jkz5T2 (%check) Bad exit status from /var/tmp/rpm-tmp.jkz5T2 (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9c9f58b7f4fc4a9bb8b17ae8a4ae169e -D /var/lib/mock/dist-ocs23-python311-build-72997-4430/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.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 9c9f58b7f4fc4a9bb8b17ae8a4ae169e -D /var/lib/mock/dist-ocs23-python311-build-72997-4430/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kpj0ox1j:/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-jinja2.spec