0s autopkgtest [15:04:29]: starting date and time: 2024-11-09 15:04:29+0000 0s autopkgtest [15:04:29]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [15:04:29]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.t4rsrc0a/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-pytest-asyncio --apt-upgrade pytest-mock --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-pytest-asyncio/0.24.0a1-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-5.secgroup --name adt-plucky-s390x-pytest-mock-20241109-150429-juju-7f2275-prod-proposed-migration-environment-15-b8889a93-c2df-41a0-8526-3325f990dba7 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 139s autopkgtest [15:06:48]: testbed dpkg architecture: s390x 139s autopkgtest [15:06:48]: testbed apt version: 2.9.8 139s autopkgtest [15:06:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 140s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 140s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 140s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 140s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1004 kB] 141s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 141s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [125 kB] 141s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [696 kB] 141s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 141s Fetched 2043 kB in 2s (1207 kB/s) 141s Reading package lists... 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 144s Calculating upgrade... 144s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 144s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 144s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 145s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 145s Reading package lists... 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 145s Calculating upgrade... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 148s autopkgtest [15:06:57]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 148s autopkgtest [15:06:57]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-mock 150s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pytest-mock 3.14.0-1 (dsc) [2522 B] 150s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pytest-mock 3.14.0-1 (tar) [32.8 kB] 150s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pytest-mock 3.14.0-1 (diff) [4716 B] 150s gpgv: Signature made Wed Jun 19 21:30:09 2024 UTC 150s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 150s gpgv: Can't check signature: No public key 150s dpkg-source: warning: cannot verify inline signature for ./pytest-mock_3.14.0-1.dsc: no acceptable signature found 150s autopkgtest [15:06:59]: testing package pytest-mock version 3.14.0-1 150s autopkgtest [15:06:59]: build not needed 151s autopkgtest [15:07:00]: test command1: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Starting pkgProblemResolver with broken count: 0 152s Starting 2 pkgProblemResolver with broken count: 0 152s Done 152s The following additional packages will be installed: 152s python3-all python3-async-generator python3-iniconfig python3-packaging 152s python3-pluggy python3-pytest python3-pytest-asyncio python3-pytest-mock 152s Suggested packages: 152s python-pytest-mock-doc 152s The following NEW packages will be installed: 152s autopkgtest-satdep python3-all python3-async-generator python3-iniconfig 152s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 152s python3-pytest-mock 152s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 365 kB/366 kB of archives. 152s After this operation, 1805 kB of additional disk space will be used. 152s Get:1 /tmp/autopkgtest.ax77z2/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [748 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 153s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 153s Get:4 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 153s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 153s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 153s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.2-1 [251 kB] 153s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 153s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-mock all 3.14.0-1 [11.6 kB] 153s Fetched 365 kB in 1s (458 kB/s) 153s Selecting previously unselected package python3-all. 153s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55520 files and directories currently installed.) 153s Preparing to unpack .../0-python3-all_3.12.6-0ubuntu1_s390x.deb ... 153s Unpacking python3-all (3.12.6-0ubuntu1) ... 153s Selecting previously unselected package python3-async-generator. 153s Preparing to unpack .../1-python3-async-generator_1.10-4_all.deb ... 153s Unpacking python3-async-generator (1.10-4) ... 153s Selecting previously unselected package python3-iniconfig. 153s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 153s Unpacking python3-iniconfig (1.1.1-2) ... 153s Selecting previously unselected package python3-packaging. 153s Preparing to unpack .../3-python3-packaging_24.1-1_all.deb ... 153s Unpacking python3-packaging (24.1-1) ... 153s Selecting previously unselected package python3-pluggy. 153s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 153s Unpacking python3-pluggy (1.5.0-1) ... 153s Selecting previously unselected package python3-pytest. 153s Preparing to unpack .../5-python3-pytest_8.3.2-1_all.deb ... 153s Unpacking python3-pytest (8.3.2-1) ... 153s Selecting previously unselected package python3-pytest-asyncio. 153s Preparing to unpack .../6-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 153s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 153s Selecting previously unselected package python3-pytest-mock. 153s Preparing to unpack .../7-python3-pytest-mock_3.14.0-1_all.deb ... 153s Unpacking python3-pytest-mock (3.14.0-1) ... 153s Selecting previously unselected package autopkgtest-satdep. 153s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 153s Unpacking autopkgtest-satdep (0) ... 153s Setting up python3-iniconfig (1.1.1-2) ... 154s Setting up python3-async-generator (1.10-4) ... 154s Setting up python3-all (3.12.6-0ubuntu1) ... 154s Setting up python3-packaging (24.1-1) ... 154s Setting up python3-pluggy (1.5.0-1) ... 154s Setting up python3-pytest (8.3.2-1) ... 154s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 154s Setting up python3-pytest-mock (3.14.0-1) ... 154s Setting up autopkgtest-satdep (0) ... 154s Processing triggers for man-db (2.12.1-3) ... 156s (Reading database ... 55734 files and directories currently installed.) 156s Removing autopkgtest-satdep (0) ... 157s autopkgtest [15:07:06]: test command1: set -e ; cp -r tests "$AUTOPKGTEST_TMP" ; for py in $(py3versions -s) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -m pytest -v --assert=plain -o asyncio_mode=auto ; done 157s autopkgtest [15:07:06]: test command1: [----------------------- 157s Testing with python3.12: 157s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 157s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 157s 157s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 157s ============================= test session starts ============================== 157s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 -- /usr/bin/python3.12 157s cachedir: .pytest_cache 157s rootdir: /tmp/autopkgtest.ax77z2/autopkgtest_tmp 157s plugins: mock-3.14.0, typeguard-4.4.1, asyncio-0.24.0a1 157s asyncio: mode=Mode.AUTO, default_loop_scope=None 157s collecting ... collected 82 items 157s 157s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_object] PASSED [ 1%] 157s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch] PASSED [ 2%] 157s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_multiple] PASSED [ 3%] 157s tests/test_pytest_mock.py::test_mock_patch_dict PASSED [ 4%] 157s tests/test_pytest_mock.py::test_mock_patch_dict_resetall PASSED [ 6%] 157s tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 7%] 157s tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 8%] 157s tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 9%] 157s tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 10%] 157s tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 12%] 157s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMagicMock] PASSED [ 13%] 157s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 14%] 157s tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 15%] 157s tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 17%] 157s tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 18%] 157s tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 19%] 157s tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 20%] 157s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 21%] 157s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 23%] 157s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name PASSED [ 24%] 157s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] PASSED [ 25%] 157s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] PASSED [ 26%] 157s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] PASSED [ 28%] 157s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] PASSED [ 29%] 157s tests/test_pytest_mock.py::TestMockerStub::test_async_stub_type PASSED [ 30%] 157s tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 31%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 32%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 34%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 35%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 36%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 37%] 157s tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 39%] 157s tests/test_pytest_mock.py::test_instance_class_static_method_spy_autospec_true PASSED [ 40%] 157s tests/test_pytest_mock.py::test_spy_reset PASSED [ 41%] 157s tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 42%] 157s tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 43%] 157s tests/test_pytest_mock.py::test_class_method_spy PASSED [ 45%] 157s tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 46%] 157s tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 47%] 157s tests/test_pytest_mock.py::test_static_method_spy PASSED [ 48%] 157s tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 50%] 157s tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 51%] 157s tests/test_pytest_mock.py::test_instance_async_method_spy PASSED [ 52%] 157s tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 53%] 157s tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 54%] 157s tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 56%] 157s tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 57%] 157s tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 58%] 157s tests/test_pytest_mock.py::test_assert_called_args_with_introspection SKIPPED [ 59%] 157s tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection SKIPPED [ 60%] 157s tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 62%] 157s tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 63%] 157s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls PASSED [ 64%] 157s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_subset PASSED [ 65%] 157s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order PASSED [ 67%] 157s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order_subset PASSED [ 68%] 157s tests/test_pytest_mock.py::test_assert_has_calls_no_calls PASSED [ 69%] 157s tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 70%] 157s tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 71%] 157s tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 73%] 158s tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 74%] 158s tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 75%] 158s tests/test_pytest_mock.py::test_standalone_mock SKIPPED (could not i...) [ 76%] 158s tests/test_pytest_mock.py::test_detailed_introspection SKIPPED (this...) [ 78%] 158s tests/test_pytest_mock.py::test_detailed_introspection_async SKIPPED [ 79%] 158s tests/test_pytest_mock.py::test_missing_introspection PASSED [ 80%] 158s tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 81%] 158s tests/test_pytest_mock.py::test_plain_stopall PASSED [ 82%] 158s tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 84%] 158s tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 85%] 158s tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 86%] 158s tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 87%] 158s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 89%] 158s tests/test_pytest_mock.py::test_used_with_class_scope PASSED [ 90%] 158s tests/test_pytest_mock.py::test_used_with_module_scope PASSED [ 91%] 159s tests/test_pytest_mock.py::test_used_with_package_scope PASSED [ 92%] 159s tests/test_pytest_mock.py::test_used_with_session_scope PASSED [ 93%] 159s tests/test_pytest_mock.py::test_stop_patch PASSED [ 95%] 159s tests/test_pytest_mock.py::test_stop_instance_patch PASSED [ 96%] 159s tests/test_pytest_mock.py::test_stop_spy PASSED [ 97%] 159s tests/test_pytest_mock.py::test_stop_instance_spy PASSED [ 98%] 159s tests/test_pytest_mock.py::test_stop_multiple_patches PASSED [100%] 159s 159s =============================== warnings summary =============================== 159s tests/test_pytest_mock.py::test_missing_introspection 159s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc 159s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc 159s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 159s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 159s 159s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 159s 159s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 159s ================== 77 passed, 5 skipped, 3 warnings in 1.74s =================== 159s autopkgtest [15:07:08]: test command1: -----------------------] 160s autopkgtest [15:07:09]: test command1: - - - - - - - - - - results - - - - - - - - - - 160s command1 FAIL stderr: /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 160s autopkgtest [15:07:09]: test command1: - - - - - - - - - - stderr - - - - - - - - - - 160s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 160s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 160s 160s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 160s autopkgtest [15:07:09]: @@@@@@@@@@@@@@@@@@@@ summary 160s command1 FAIL stderr: /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 171s nova [W] Using flock in prodstack6-s390x 171s flock: timeout while waiting to get lock 171s Creating nova instance adt-plucky-s390x-pytest-mock-20241109-150429-juju-7f2275-prod-proposed-migration-environment-15-b8889a93-c2df-41a0-8526-3325f990dba7 from image adt/ubuntu-plucky-s390x-server-20241109.img (UUID 3dcdd533-c66f-4d57-9732-52a74843bc00)...