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/cloud9s-openstack-xena-el9s-build-103591-856704/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=1611705600 Wrote: /builddir/build/SRPMS/python-pytest-mock-3.5.1-2.el9s.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/cloud9s-openstack-xena-el9s-build-103591-856704/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=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UEUQ2p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-mock-3.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pytest-mock-3.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-mock-3.5.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.wxsKQV + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.5.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' 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/plugin.py -> build/lib/pytest_mock copying src/pytest_mock/_version.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.AuM8XE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch + cd pytest-mock-3.5.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock copying build/lib/pytest_mock/__init__.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock copying build/lib/pytest_mock/_util.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock copying build/lib/pytest_mock/plugin.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock copying build/lib/pytest_mock/_version.py -> /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock copying build/lib/pytest_mock/py.typed -> /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock/_util.py to _util.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock/plugin.py to plugin.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock/_version.py to _version.cpython-39.pyc writing byte-compilation script '/tmp/tmpupfn3rx5.py' /usr/bin/python3 /tmp/tmpupfn3rx5.py removing /tmp/tmpupfn3rx5.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' writing manifest file 'src/pytest_mock.egg-info/SOURCES.txt' Copying src/pytest_mock.egg-info to /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/site-packages/pytest_mock-3.5.1-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 3.5.1-2.el9s --unique-debug-suffix -3.5.1-2.el9s.noarch --unique-debug-src-base python-pytest-mock-3.5.1-2.el9s.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-mock-3.5.1 find: 'debug': No such file or directory + /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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EKZ8S8 + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.5.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/lib/python3.9/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.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pytest-mock-3.5.1, configfile: tox.ini plugins: mock-3.5.1, asyncio-0.14.0 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 PASSED [ 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%] ======================= 67 passed, 5 deselected in 2.35s ======================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-mock-3.5.1-2.el9s.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jCxvHm + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.5.1 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/share/doc/python3-pytest-mock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/share/doc/python3-pytest-mock + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/share/doc/python3-pytest-mock + cp -pr README.rst /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/share/doc/python3-pytest-mock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DvGPMC + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.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.5.1-2.el9s.noarch/usr/share/licenses/python3-pytest-mock + cp -pr LICENSE /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch/usr/share/licenses/python3-pytest-mock + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-mock = 3.5.1-2.el9s python3-pytest-mock = 3.5.1-2.el9s python3.9-pytest-mock = 3.5.1-2.el9s python3.9dist(pytest-mock) = 3.5.1 python3dist(pytest-mock) = 3.5.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.9 python3.9dist(pytest) >= 5 Obsoletes: python-pytest-mock < 3.5.1-2.el9s Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch Wrote: /builddir/build/RPMS/python3-pytest-mock-3.5.1-2.el9s.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.08MrOr + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-3.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pytest-mock-3.5.1-2.el9s.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0