Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-366186-71300/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1710460800 Wrote: /builddir/build/SRPMS/python-pytest-mock-3.6.1-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-366186-71300/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1710460800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L1v6zc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-mock-3.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-mock-3.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-mock-3.6.1 + /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(%build): /bin/sh -e /var/tmp/rpm-tmp.cFGC2E + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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.6.1 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. running build running build_py creating build creating build/lib creating 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/_version.py -> build/lib/pytest_mock copying src/pytest_mock/plugin.py -> build/lib/pytest_mock copying src/pytest_mock/py.typed -> build/lib/pytest_mock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G1gIHz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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.6.1 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock copying build/lib/pytest_mock/__init__.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock copying build/lib/pytest_mock/_util.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock copying build/lib/pytest_mock/_version.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock copying build/lib/pytest_mock/plugin.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock copying build/lib/pytest_mock/py.typed -> /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock/_util.py to _util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock/_version.py to _version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock/plugin.py to plugin.cpython-311.pyc writing byte-compilation script '/tmp/tmphu1jpzen.py' /usr/bin/python3 /tmp/tmphu1jpzen.py removing /tmp/tmphu1jpzen.py running install_egg_info 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.egg-info to /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages/pytest_mock-3.6.1-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/bin/__pycache__ + /usr/lib/rpm/anolis/generate-compatibility-deps python-pytest-mock ~/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/compatibility/python-pytest-mock ~/build/BUILD/pytest-mock-3.6.1 ~/build/BUILD/pytest-mock-3.6.1 ~/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/compatibility/python-pytest-mock ~/build/BUILD/pytest-mock-3.6.1 ~/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/compatibility/python-pytest-mock ~/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/compatibility/python-pytest-mock ~/build/BUILD/pytest-mock-3.6.1 ~/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/compatibility/python-pytest-mock ~/build/BUILD/pytest-mock-3.6.1 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 3.6.1-2.an23 --unique-debug-suffix -3.6.1-2.an23.noarch --unique-debug-src-base python-pytest-mock-3.6.1-2.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-mock-3.6.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.n0Ruex + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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.6.1 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + /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' ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pytest-mock-3.6.1 configfile: tox.ini plugins: mock-3.6.1 collecting ... collected 72 items / 5 deselected / 67 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 [ 7%] tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 8%] tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 10%] tests/test_pytest_mock.py::test_mocker_aliases[create_autospec] PASSED [ 11%] tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 13%] tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 14%] tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 16%] tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 17%] tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 19%] tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 20%] tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 22%] tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 23%] tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 25%] tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 26%] tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 28%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name PASSED [ 29%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] PASSED [ 31%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] PASSED [ 32%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] PASSED [ 34%] tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] PASSED [ 35%] tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 37%] tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 38%] tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 40%] tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 41%] tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 43%] tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 44%] tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 46%] tests/test_pytest_mock.py::test_instance_method_spy_autospec_true PASSED [ 47%] tests/test_pytest_mock.py::test_spy_reset PASSED [ 49%] tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 50%] tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 52%] tests/test_pytest_mock.py::test_class_method_spy PASSED [ 53%] tests/test_pytest_mock.py::test_class_method_spy_autospec_false PASSED [ 55%] tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 56%] tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 58%] tests/test_pytest_mock.py::test_static_method_spy PASSED [ 59%] tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 61%] tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 62%] tests/test_pytest_mock.py::test_instance_async_method_spy SKIPPED (a...) [ 64%] tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 65%] tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 67%] tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 68%] tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 70%] tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 71%] tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 73%] tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 74%] tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 76%] tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 77%] tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 79%] tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 80%] tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 82%] tests/test_pytest_mock.py::test_missing_introspection PASSED [ 83%] tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 85%] tests/test_pytest_mock.py::test_plain_stopall PASSED [ 86%] tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 88%] tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 89%] tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 91%] tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 92%] tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 94%] tests/test_pytest_mock.py::test_used_with_class_scope PASSED [ 95%] tests/test_pytest_mock.py::test_used_with_module_scope PASSED [ 97%] tests/test_pytest_mock.py::test_used_with_package_scope PASSED [ 98%] tests/test_pytest_mock.py::test_used_with_session_scope PASSED [100%] =============================== warnings summary =============================== tests/test_pytest_mock.py:478 /builddir/build/BUILD/pytest-mock-3.6.1/tests/test_pytest_mock.py:478: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_pytest_mock.py::test_instance_async_method_spy /usr/lib/python3.11/site-packages/_pytest/python.py:183: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. You need to install a suitable plugin for your async framework, for example: - anyio - pytest-asyncio - pytest-tornasync - pytest-trio - pytest-twisted warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager /usr/lib/python3.11/site-packages/_pytest/python.py:194: PytestRemovedIn8Warning: Passing None has been deprecated. See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. result = testfunction(**testargs) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] ../../../../usr/lib/python3.11/site-packages/_pytest/python.py:184: async def function and no async plugin installed (see warnings) =========== 66 passed, 1 skipped, 5 deselected, 3 warnings in 2.20s ============ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-mock-3.6.1-2.an23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UlRo01 + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/licenses/python3-pytest-mock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/licenses/python3-pytest-mock + cp -pr LICENSE /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/licenses/python3-pytest-mock + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-mock = 3.6.1-2.an23 python3-pytest-mock = 3.6.1-2.an23 python3.11-pytest-mock = 3.6.1-2.an23 python3.11dist(pytest-mock) = 3.6.1 python3dist(pytest-mock) = 3.6.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(pytest) >= 5 Obsoletes: python-pytest-mock < 3.6.1-2.an23 Processing files: python3-pytest-mock-doc-3.6.1-2.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.utIoc8 + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.6.1 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/doc/python3-pytest-mock-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/doc/python3-pytest-mock-doc + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/doc/python3-pytest-mock-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch/usr/share/doc/python3-pytest-mock-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-pytest-mock-doc = 3.6.1-2.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch Wrote: /builddir/build/RPMS/python3-pytest-mock-doc-3.6.1-2.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-pytest-mock-3.6.1-2.an23.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KmQiU3 + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pytest-mock-3.6.1-2.an23.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ZU9Izm + umask 022 + cd /builddir/build/BUILD + rm -rf pytest-mock-3.6.1 pytest-mock-3.6.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0