Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/f41-build-1017538-17932/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '989643803de7470a83ecec09f852fd80', '-D', '/var/lib/mock/f41-build-1017538-17932/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.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 setting SOURCE_DATE_EPOCH=1718409600 Wrote: /builddir/build/SRPMS/python-pytest-mock-3.14.0-1.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/f41-build-1017538-17932/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '58b423120abf4879a09b8e99ad570771', '-D', '/var/lib/mock/f41-build-1017538-17932/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.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 setting SOURCE_DATE_EPOCH=1718409600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9IZfsJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-mock-3.14.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-mock-3.14.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-mock-3.14.0 + rm -rf /builddir/build/BUILD/pytest-mock-3.14.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pytest-mock-3.14.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf '*.egg-info' + sed -i 's/\r$//' README.rst + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6DD8Mc + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.14.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 69.2.0) Handling setuptools-scm[toml] from build-system.requires Requirement satisfied: setuptools-scm[toml] (installed: setuptools-scm 8.0.4) (extras are currently not checked) running egg_info writing src/pytest_mock.egg-info/PKG-INFO writing dependency_links to src/pytest_mock.egg-info/dependency_links.txt writing entry points to src/pytest_mock.egg-info/entry_points.txt writing requirements to src/pytest_mock.egg-info/requires.txt writing top-level names to src/pytest_mock.egg-info/top_level.txt reading manifest file 'src/pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_mock.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-mock-3.14.0-1.fc41.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 --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/f41-build-1017538-17932/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c96ef9e9fad94ece8d33d5bab44457e7', '-D', '/var/lib/mock/f41-build-1017538-17932/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.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 setting SOURCE_DATE_EPOCH=1718409600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3tyHeK + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.14.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 69.2.0) Handling setuptools-scm[toml] from build-system.requires Requirement satisfied: setuptools-scm[toml] (installed: setuptools-scm 8.0.4) (extras are currently not checked) running egg_info writing src/pytest_mock.egg-info/PKG-INFO writing dependency_links to src/pytest_mock.egg-info/dependency_links.txt writing entry points to src/pytest_mock.egg-info/entry_points.txt writing requirements to src/pytest_mock.egg-info/requires.txt writing top-level names to src/pytest_mock.egg-info/top_level.txt reading manifest file 'src/pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_mock.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info creating pytest_mock.egg-info writing pytest_mock.egg-info/PKG-INFO writing dependency_links to pytest_mock.egg-info/dependency_links.txt writing entry points to pytest_mock.egg-info/entry_points.txt writing requirements to pytest_mock.egg-info/requires.txt writing top-level names to pytest_mock.egg-info/top_level.txt writing manifest file 'pytest_mock.egg-info/SOURCES.txt' reading manifest file 'pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pytest_mock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-mock-3.14.0/pytest_mock-3.14.0.dist-info' Handling pytest >=6.2.5 from hook generated metadata: Requires-Dist (pytest-mock) Requirement satisfied: pytest >=6.2.5 (installed: pytest 7.4.3) Handling pre-commit ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: pre-commit ; extra == 'dev' Handling pytest-asyncio ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: pytest-asyncio ; extra == 'dev' Handling tox ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: tox ; extra == 'dev' + cat /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv pytest_mock-3.14.0.dist-info/ removed 'pytest_mock-3.14.0.dist-info/entry_points.txt' removed 'pytest_mock-3.14.0.dist-info/LICENSE' removed 'pytest_mock-3.14.0.dist-info/METADATA' removed 'pytest_mock-3.14.0.dist-info/top_level.txt' removed directory 'pytest_mock-3.14.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pytest-mock-3.14.0-1.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/f41-build-1017538-17932/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'f1821b7ea83840bb83bc0e3d3bc74546', '-D', '/var/lib/mock/f41-build-1017538-17932/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.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 setting SOURCE_DATE_EPOCH=1718409600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hdGXR6 + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.14.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 69.2.0) Handling setuptools-scm[toml] from build-system.requires Requirement satisfied: setuptools-scm[toml] (installed: setuptools-scm 8.0.4) (extras are currently not checked) running egg_info writing src/pytest_mock.egg-info/PKG-INFO writing dependency_links to src/pytest_mock.egg-info/dependency_links.txt writing entry points to src/pytest_mock.egg-info/entry_points.txt writing requirements to src/pytest_mock.egg-info/requires.txt writing top-level names to src/pytest_mock.egg-info/top_level.txt reading manifest file 'src/pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_mock.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing pytest_mock.egg-info/PKG-INFO writing dependency_links to pytest_mock.egg-info/dependency_links.txt writing entry points to pytest_mock.egg-info/entry_points.txt writing requirements to pytest_mock.egg-info/requires.txt writing top-level names to pytest_mock.egg-info/top_level.txt reading manifest file 'pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pytest_mock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-mock-3.14.0/pytest_mock-3.14.0.dist-info' Handling pytest >=6.2.5 from hook generated metadata: Requires-Dist (pytest-mock) Requirement satisfied: pytest >=6.2.5 (installed: pytest 7.4.3) Handling pre-commit ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: pre-commit ; extra == 'dev' Handling pytest-asyncio ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: pytest-asyncio ; extra == 'dev' Handling tox ; extra == 'dev' from hook generated metadata: Requires-Dist (pytest-mock) Ignoring alien requirement: tox ; extra == 'dev' + cat /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv pytest_mock-3.14.0.dist-info/ removed 'pytest_mock-3.14.0.dist-info/entry_points.txt' removed 'pytest_mock-3.14.0.dist-info/LICENSE' removed 'pytest_mock-3.14.0.dist-info/METADATA' removed 'pytest_mock-3.14.0.dist-info/top_level.txt' removed directory 'pytest_mock-3.14.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lzB9br + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mock-3.14.0 + mkdir -p /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir Processing /builddir/build/BUILD/pytest-mock-3.14.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info writing /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-modern-metadata-3831jifc/pytest_mock-3.14.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-mock Building wheel for pytest-mock (pyproject.toml): started Running command Building wheel for pytest-mock (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pytest_mock copying src/pytest_mock/_version.py -> build/lib/pytest_mock copying src/pytest_mock/__init__.py -> build/lib/pytest_mock copying src/pytest_mock/_util.py -> build/lib/pytest_mock copying src/pytest_mock/plugin.py -> build/lib/pytest_mock running egg_info writing src/pytest_mock.egg-info/PKG-INFO writing dependency_links to src/pytest_mock.egg-info/dependency_links.txt writing entry points to src/pytest_mock.egg-info/entry_points.txt writing requirements to src/pytest_mock.egg-info/requires.txt writing top-level names to src/pytest_mock.egg-info/top_level.txt reading manifest file 'src/pytest_mock.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pytest_mock.egg-info/SOURCES.txt' copying src/pytest_mock/py.typed -> build/lib/pytest_mock installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/pytest_mock copying build/lib/pytest_mock/_version.py -> build/bdist.linux-riscv64/wheel/pytest_mock copying build/lib/pytest_mock/py.typed -> build/bdist.linux-riscv64/wheel/pytest_mock copying build/lib/pytest_mock/__init__.py -> build/bdist.linux-riscv64/wheel/pytest_mock copying build/lib/pytest_mock/_util.py -> build/bdist.linux-riscv64/wheel/pytest_mock copying build/lib/pytest_mock/plugin.py -> build/bdist.linux-riscv64/wheel/pytest_mock running install_egg_info Copying src/pytest_mock.egg-info to build/bdist.linux-riscv64/wheel/pytest_mock-3.14.0-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/pytest_mock-3.14.0.dist-info/WHEEL creating '/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir/pip-wheel-yern0alq/.tmp-282kkz5b/pytest_mock-3.14.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'pytest_mock/__init__.py' adding 'pytest_mock/_util.py' adding 'pytest_mock/_version.py' adding 'pytest_mock/plugin.py' adding 'pytest_mock/py.typed' adding 'pytest_mock-3.14.0.dist-info/LICENSE' adding 'pytest_mock-3.14.0.dist-info/METADATA' adding 'pytest_mock-3.14.0.dist-info/WHEEL' adding 'pytest_mock-3.14.0.dist-info/entry_points.txt' adding 'pytest_mock-3.14.0.dist-info/top_level.txt' adding 'pytest_mock-3.14.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for pytest-mock (pyproject.toml): finished with status 'done' Created wheel for pytest-mock: filename=pytest_mock-3.14.0-py3-none-any.whl size=9844 sha256=4012ebfd591c33bbae7a14bce2cfee5ac8f3438d4f67d2fa6283aee29759a7d5 Stored in directory: /builddir/.cache/pip/wheels/9c/00/e5/3ed0b66f1a6674f9a6e081927bfa137407ac8f39dba732df51 Successfully built pytest-mock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WMFFzs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mock-3.14.0 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir/pytest_mock-3.14.0-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_mock==3.14.0 + '[' -z pytest_mock==3.14.0 ']' + TMPDIR=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir pytest_mock==3.14.0 Using pip 24.0 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/pytest-mock-3.14.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_mock-3.14.0-py3-none-any.whl Installing collected packages: pytest_mock Successfully installed pytest_mock-3.14.0 + '[' -d /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch --record /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/RECORD --output /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages/pytest_mock-3.14.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-pytest-mock-3.14.0-1.fc41.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.14.0-1.fc41 --unique-debug-suffix -3.14.0-1.fc41.noarch --unique-debug-src-base python-pytest-mock-3.14.0-1.fc41.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-mock-3.14.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch Cannot initialize handler pyc: ModuleNotFoundError: No module named 'marshalparser' [src/multiprocess.rs:66:9] &cmd = Command { program: "/usr/bin/add-determinism", args: [ "/usr/bin/add-determinism", "--socket", "3", "--brp", "--handler", "ar,jar,javadoc", ], env: CommandEnv { clear: false, vars: { "SOURCE_DATE_EPOCH": Some( "1718409600", ), }, }, create_pidfd: false, } Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.f8tDdI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mock-3.14.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-pytest-mock-3.14.0-1.fc41.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pytest-mock-3.14.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest -v tests -k 'not test_standalone_mock and not test_detailed_introspection and not test_detailed_introspection and not test_assert_called_args_with_introspection and not test_assert_called_kwargs_with_introspection and not test_plain_stopall and not test_used_with_class_scope and not est_used_with_module_scope and not test_used_with_package_scope and not test_used_with_session_scope ' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pytest-mock-3.14.0 configfile: tox.ini plugins: mock-3.14.0, asyncio-0.23.6 asyncio: mode=Mode.AUTO collecting ... collected 82 items / 10 deselected / 72 selected tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_object] PASSED [ 1%] tests/test_pytest_mock.py::test_mock_patches[mock_using_patch] PASSED [ 2%] tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_multiple] PASSED [ 4%] tests/test_pytest_mock.py::test_mock_patch_dict PASSED [ 5%] tests/test_pytest_mock.py::test_mock_patch_dict_resetall PASSED [ 6%] tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 8%] tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 9%] tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 11%] tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 12%] tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 13%] tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMagicMock] PASSED [ 15%] tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 16%] tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 18%] tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 19%] tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 20%] tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 22%] tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 23%] tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 25%] tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 26%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name FAILED [ 27%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] FAILED [ 29%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] FAILED [ 30%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] FAILED [ 31%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] FAILED [ 33%] tests/test_pytest_mock.py::TestMockerStub::test_async_stub_type PASSED [ 34%] tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 36%] tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 37%] tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 38%] tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 40%] tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 41%] tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 43%] tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 44%] tests/test_pytest_mock.py::test_instance_class_static_method_spy_autospec_true PASSED [ 45%] tests/test_pytest_mock.py::test_spy_reset PASSED [ 47%] tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 48%] tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 50%] tests/test_pytest_mock.py::test_class_method_spy PASSED [ 51%] tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 52%] tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 54%] tests/test_pytest_mock.py::test_static_method_spy PASSED [ 55%] tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 56%] tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 58%] tests/test_pytest_mock.py::test_instance_async_method_spy PASSED [ 59%] tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 61%] tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 62%] tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 63%] tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 65%] tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 66%] tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 68%] tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 69%] tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls PASSED [ 70%] tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_subset PASSED [ 72%] tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order PASSED [ 73%] tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order_subset PASSED [ 75%] tests/test_pytest_mock.py::test_assert_has_calls_no_calls PASSED [ 76%] tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 77%] tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 79%] tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 80%] tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 81%] tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 83%] tests/test_pytest_mock.py::test_missing_introspection PASSED [ 84%] tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 86%] tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 87%] tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 88%] tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 90%] tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 91%] tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 93%] tests/test_pytest_mock.py::test_stop_patch PASSED [ 94%] tests/test_pytest_mock.py::test_stop_instance_patch PASSED [ 95%] tests/test_pytest_mock.py::test_stop_spy PASSED [ 97%] tests/test_pytest_mock.py::test_stop_instance_spy PASSED [ 98%] tests/test_pytest_mock.py::test_stop_multiple_patches PASSED [100%] =================================== FAILURES =================================== _______________ TestMockerStub.test_failure_message_with_no_name _______________ self = , args = (), kwargs = {} expected = 'mock()', actual = 'not called.' error_message = 'expected call not found.\nExpected: mock()\nActual: not called.' def assert_called_with(self, /, *args, **kwargs): """assert that the last call was made with the specified arguments. Raises an AssertionError if the args and keyword args passed in are different to the last call to the mock.""" if self.call_args is None: expected = self._format_mock_call_signature(args, kwargs) actual = 'not called.' error_message = ('expected call not found.\nExpected: %s\nActual: %s' % (expected, actual)) > raise AssertionError(error_message) E AssertionError: expected call not found. E Expected: mock() E Actual: not called. /usr/lib64/python3.12/unittest/mock.py:935: AssertionError During handling of the above exception, another exception occurred: self = mocker = kwargs = {}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError, match=re.escape(expected_message)): > stub.assert_called_with() E AssertionError: expected call not found. E Expected: mock() E Actual: not called. tests/test_pytest_mock.py:242: AssertionError During handling of the above exception, another exception occurred: self = mocker = def test_failure_message_with_no_name(self, mocker: MagicMock) -> None: > self.__test_failure_message(mocker) tests/test_pytest_mock.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mocker = kwargs = {}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) > with pytest.raises(AssertionError, match=re.escape(expected_message)): E AssertionError: Regex pattern did not match. E Regex: 'expected\\ call\\ not\\ found\\.\\\nExpected:\\ mock\\(\\)\\\n\\ \\ Actual:\\ not\\ called\\.' E Input: 'expected call not found.\nExpected: mock()\nActual: not called.' tests/test_pytest_mock.py:241: AssertionError _____________ TestMockerStub.test_failure_message_with_name[None] ______________ self = , args = (), kwargs = {} expected = 'mock()', actual = 'not called.' error_message = 'expected call not found.\nExpected: mock()\nActual: not called.' def assert_called_with(self, /, *args, **kwargs): """assert that the last call was made with the specified arguments. Raises an AssertionError if the args and keyword args passed in are different to the last call to the mock.""" if self.call_args is None: expected = self._format_mock_call_signature(args, kwargs) actual = 'not called.' error_message = ('expected call not found.\nExpected: %s\nActual: %s' % (expected, actual)) > raise AssertionError(error_message) E AssertionError: expected call not found. E Expected: mock() E Actual: not called. /usr/lib64/python3.12/unittest/mock.py:935: AssertionError During handling of the above exception, another exception occurred: self = mocker = kwargs = {'name': None}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError, match=re.escape(expected_message)): > stub.assert_called_with() E AssertionError: expected call not found. E Expected: mock() E Actual: not called. tests/test_pytest_mock.py:242: AssertionError During handling of the above exception, another exception occurred: self = mocker = name = None @pytest.mark.parametrize("name", (None, "", "f", "The Castle of aaarrrrggh")) def test_failure_message_with_name(self, mocker: MagicMock, name: str) -> None: > self.__test_failure_message(mocker, name=name) tests/test_pytest_mock.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mocker = kwargs = {'name': None}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) > with pytest.raises(AssertionError, match=re.escape(expected_message)): E AssertionError: Regex pattern did not match. E Regex: 'expected\\ call\\ not\\ found\\.\\\nExpected:\\ mock\\(\\)\\\n\\ \\ Actual:\\ not\\ called\\.' E Input: 'expected call not found.\nExpected: mock()\nActual: not called.' tests/test_pytest_mock.py:241: AssertionError _______________ TestMockerStub.test_failure_message_with_name[] ________________ self = , args = (), kwargs = {} expected = 'mock()', actual = 'not called.' error_message = 'expected call not found.\nExpected: mock()\nActual: not called.' def assert_called_with(self, /, *args, **kwargs): """assert that the last call was made with the specified arguments. Raises an AssertionError if the args and keyword args passed in are different to the last call to the mock.""" if self.call_args is None: expected = self._format_mock_call_signature(args, kwargs) actual = 'not called.' error_message = ('expected call not found.\nExpected: %s\nActual: %s' % (expected, actual)) > raise AssertionError(error_message) E AssertionError: expected call not found. E Expected: mock() E Actual: not called. /usr/lib64/python3.12/unittest/mock.py:935: AssertionError During handling of the above exception, another exception occurred: self = mocker = kwargs = {'name': ''}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError, match=re.escape(expected_message)): > stub.assert_called_with() E AssertionError: expected call not found. E Expected: mock() E Actual: not called. tests/test_pytest_mock.py:242: AssertionError During handling of the above exception, another exception occurred: self = mocker = , name = '' @pytest.mark.parametrize("name", (None, "", "f", "The Castle of aaarrrrggh")) def test_failure_message_with_name(self, mocker: MagicMock, name: str) -> None: > self.__test_failure_message(mocker, name=name) tests/test_pytest_mock.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mocker = kwargs = {'name': ''}, expected_name = 'mock' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: mock()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) > with pytest.raises(AssertionError, match=re.escape(expected_message)): E AssertionError: Regex pattern did not match. E Regex: 'expected\\ call\\ not\\ found\\.\\\nExpected:\\ mock\\(\\)\\\n\\ \\ Actual:\\ not\\ called\\.' E Input: 'expected call not found.\nExpected: mock()\nActual: not called.' tests/test_pytest_mock.py:241: AssertionError _______________ TestMockerStub.test_failure_message_with_name[f] _______________ self = , args = () kwargs = {}, expected = 'f()', actual = 'not called.' error_message = 'expected call not found.\nExpected: f()\nActual: not called.' def assert_called_with(self, /, *args, **kwargs): """assert that the last call was made with the specified arguments. Raises an AssertionError if the args and keyword args passed in are different to the last call to the mock.""" if self.call_args is None: expected = self._format_mock_call_signature(args, kwargs) actual = 'not called.' error_message = ('expected call not found.\nExpected: %s\nActual: %s' % (expected, actual)) > raise AssertionError(error_message) E AssertionError: expected call not found. E Expected: f() E Actual: not called. /usr/lib64/python3.12/unittest/mock.py:935: AssertionError During handling of the above exception, another exception occurred: self = mocker = kwargs = {'name': 'f'}, expected_name = 'f' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: f()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError, match=re.escape(expected_message)): > stub.assert_called_with() E AssertionError: expected call not found. E Expected: f() E Actual: not called. tests/test_pytest_mock.py:242: AssertionError During handling of the above exception, another exception occurred: self = mocker = , name = 'f' @pytest.mark.parametrize("name", (None, "", "f", "The Castle of aaarrrrggh")) def test_failure_message_with_name(self, mocker: MagicMock, name: str) -> None: > self.__test_failure_message(mocker, name=name) tests/test_pytest_mock.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mocker = kwargs = {'name': 'f'}, expected_name = 'f' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: f()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) > with pytest.raises(AssertionError, match=re.escape(expected_message)): E AssertionError: Regex pattern did not match. E Regex: 'expected\\ call\\ not\\ found\\.\\\nExpected:\\ f\\(\\)\\\n\\ \\ Actual:\\ not\\ called\\.' E Input: 'expected call not found.\nExpected: f()\nActual: not called.' tests/test_pytest_mock.py:241: AssertionError ___ TestMockerStub.test_failure_message_with_name[The Castle of aaarrrrggh] ____ self = args = (), kwargs = {}, expected = 'The Castle of aaarrrrggh()' actual = 'not called.' error_message = 'expected call not found.\nExpected: The Castle of aaarrrrggh()\nActual: not called.' def assert_called_with(self, /, *args, **kwargs): """assert that the last call was made with the specified arguments. Raises an AssertionError if the args and keyword args passed in are different to the last call to the mock.""" if self.call_args is None: expected = self._format_mock_call_signature(args, kwargs) actual = 'not called.' error_message = ('expected call not found.\nExpected: %s\nActual: %s' % (expected, actual)) > raise AssertionError(error_message) E AssertionError: expected call not found. E Expected: The Castle of aaarrrrggh() E Actual: not called. /usr/lib64/python3.12/unittest/mock.py:935: AssertionError During handling of the above exception, another exception occurred: self = mocker = kwargs = {'name': 'The Castle of aaarrrrggh'} expected_name = 'The Castle of aaarrrrggh' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: The Castle of aaarrrrggh()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) with pytest.raises(AssertionError, match=re.escape(expected_message)): > stub.assert_called_with() E AssertionError: expected call not found. E Expected: The Castle of aaarrrrggh() E Actual: not called. tests/test_pytest_mock.py:242: AssertionError During handling of the above exception, another exception occurred: self = mocker = name = 'The Castle of aaarrrrggh' @pytest.mark.parametrize("name", (None, "", "f", "The Castle of aaarrrrggh")) def test_failure_message_with_name(self, mocker: MagicMock, name: str) -> None: > self.__test_failure_message(mocker, name=name) tests/test_pytest_mock.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = mocker = kwargs = {'name': 'The Castle of aaarrrrggh'} expected_name = 'The Castle of aaarrrrggh' msg = 'expected call not found.\nExpected: {0}()\n Actual: not called.' expected_message = 'expected call not found.\nExpected: The Castle of aaarrrrggh()\n Actual: not called.' stub = def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: expected_name = kwargs.get("name") or "mock" if NEWEST_FORMATTING: msg = "expected call not found.\nExpected: {0}()\n Actual: not called." else: msg = "expected call not found.\nExpected: {0}()\nActual: not called." expected_message = msg.format(expected_name) stub = mocker.stub(**kwargs) > with pytest.raises(AssertionError, match=re.escape(expected_message)): E AssertionError: Regex pattern did not match. E Regex: 'expected\\ call\\ not\\ found\\.\\\nExpected:\\ The\\ Castle\\ of\\ aaarrrrggh\\(\\)\\\n\\ \\ Actual:\\ not\\ called\\.' E Input: 'expected call not found.\nExpected: The Castle of aaarrrrggh()\nActual: not called.' tests/test_pytest_mock.py:241: AssertionError =========================== short test summary info ============================ FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] ================= 5 failed, 67 passed, 10 deselected in 32.67s ================= error: Bad exit status from /var/tmp/rpm-tmp.f8tDdI (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.f8tDdI (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f1821b7ea83840bb83bc0e3d3bc74546 -D /var/lib/mock/f41-build-1017538-17932/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f1821b7ea83840bb83bc0e3d3bc74546 -D /var/lib/mock/f41-build-1017538-17932/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aedmns47:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'