0s autopkgtest [00:29:43]: starting date and time: 2024-06-08 00:29:43+0000 0s autopkgtest [00:29:43]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [00:29:43]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.l7k3l11t/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest,src:astropy --apt-upgrade pytest-mock --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 astropy/6.0.1-4' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-23.secgroup --name adt-oracular-amd64-pytest-mock-20240608-002943-juju-7f2275-prod-proposed-migration-environment-2-3ffe93bd-13d7-4706-9046-0c52182ae299 --image adt/ubuntu-oracular-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -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/ 134s autopkgtest [00:31:57]: testbed dpkg architecture: amd64 134s autopkgtest [00:31:57]: testbed apt version: 2.9.3 134s autopkgtest [00:31:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 134s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 134s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2852 B] 134s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 134s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 134s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 134s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [37.8 kB] 134s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [65.6 kB] 134s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [9340 B] 134s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [27.4 kB] 134s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [124 kB] 134s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [300 kB] 134s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3368 B] 134s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [9280 B] 135s Fetched 1081 kB in 0s (4130 kB/s) 135s Reading package lists... 136s Reading package lists... 136s Building dependency tree... 136s Reading state information... 137s Calculating upgrade... 137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 137s Reading package lists... 137s Building dependency tree... 137s Reading state information... 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 138s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 138s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 138s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 139s Reading package lists... 139s Reading package lists... 140s Building dependency tree... 140s Reading state information... 140s Calculating upgrade... 140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 142s autopkgtest [00:32:05]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 142s autopkgtest [00:32:05]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-mock 143s Get:1 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (dsc) [2411 B] 143s Get:2 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (tar) [32.1 kB] 143s Get:3 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (diff) [5400 B] 143s gpgv: Signature made Sun Jan 14 12:00:27 2024 UTC 143s gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 143s gpgv: issuer "doko@debian.org" 143s gpgv: Can't check signature: No public key 143s dpkg-source: warning: cannot verify inline signature for ./pytest-mock_3.12.0-1.1.dsc: no acceptable signature found 143s autopkgtest [00:32:06]: testing package pytest-mock version 3.12.0-1.1 143s autopkgtest [00:32:06]: build not needed 143s autopkgtest [00:32:06]: test command1: preparing testbed 143s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s Starting pkgProblemResolver with broken count: 0 144s Starting 2 pkgProblemResolver with broken count: 0 144s Done 145s The following additional packages will be installed: 145s python3-all python3-async-generator python3-iniconfig python3-packaging 145s python3-pluggy python3-pytest python3-pytest-asyncio python3-pytest-mock 145s Suggested packages: 145s python-pytest-mock-doc 145s The following NEW packages will be installed: 145s autopkgtest-satdep python3-all python3-async-generator python3-iniconfig 145s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 145s python3-pytest-mock 145s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 145s Need to get 359 kB/359 kB of archives. 145s After this operation, 1781 kB of additional disk space will be used. 145s Get:1 /tmp/autopkgtest.uJTwej/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [748 B] 145s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-all amd64 3.12.3-0ubuntu1 [888 B] 145s Get:3 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-async-generator all 1.10-4 [17.5 kB] 145s Get:4 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 145s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 145s Get:6 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 145s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-pytest all 8.2.2-1ubuntu1 [250 kB] 145s Get:8 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 145s Get:9 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 145s Fetched 359 kB in 0s (8761 kB/s) 145s Selecting previously unselected package python3-all. 145s (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 ... 74365 files and directories currently installed.) 145s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_amd64.deb ... 145s Unpacking python3-all (3.12.3-0ubuntu1) ... 145s Selecting previously unselected package python3-async-generator. 145s Preparing to unpack .../1-python3-async-generator_1.10-4_all.deb ... 145s Unpacking python3-async-generator (1.10-4) ... 145s Selecting previously unselected package python3-iniconfig. 145s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 145s Unpacking python3-iniconfig (1.1.1-2) ... 145s Selecting previously unselected package python3-packaging. 145s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 145s Unpacking python3-packaging (24.0-1) ... 145s Selecting previously unselected package python3-pluggy. 146s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 146s Unpacking python3-pluggy (1.5.0-1) ... 146s Selecting previously unselected package python3-pytest. 146s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 146s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 146s Selecting previously unselected package python3-pytest-asyncio. 146s Preparing to unpack .../6-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 146s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 146s Selecting previously unselected package python3-pytest-mock. 146s Preparing to unpack .../7-python3-pytest-mock_3.12.0-1.1_all.deb ... 146s Unpacking python3-pytest-mock (3.12.0-1.1) ... 146s Selecting previously unselected package autopkgtest-satdep. 146s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 146s Unpacking autopkgtest-satdep (0) ... 146s Setting up python3-iniconfig (1.1.1-2) ... 146s Setting up python3-async-generator (1.10-4) ... 146s Setting up python3-all (3.12.3-0ubuntu1) ... 146s Setting up python3-packaging (24.0-1) ... 146s Setting up python3-pluggy (1.5.0-1) ... 146s Setting up python3-pytest (8.2.2-1ubuntu1) ... 146s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 147s Setting up python3-pytest-mock (3.12.0-1.1) ... 147s Setting up autopkgtest-satdep (0) ... 147s Processing triggers for man-db (2.12.1-1) ... 149s (Reading database ... 74578 files and directories currently installed.) 149s Removing autopkgtest-satdep (0) ... 150s autopkgtest [00:32:13]: 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 150s autopkgtest [00:32:13]: test command1: [----------------------- 150s Testing with python3.12: 150s ============================= test session starts ============================== 150s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3.12 150s cachedir: .pytest_cache 150s rootdir: /tmp/autopkgtest.uJTwej/autopkgtest_tmp 150s plugins: mock-3.12.0, asyncio-0.20.3 150s asyncio: mode=Mode.AUTO 150s collecting ... collected 82 items 150s 150s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_object] PASSED [ 1%] 150s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch] PASSED [ 2%] 150s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_multiple] PASSED [ 3%] 150s tests/test_pytest_mock.py::test_mock_patch_dict PASSED [ 4%] 150s tests/test_pytest_mock.py::test_mock_patch_dict_resetall PASSED [ 6%] 150s tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 7%] 150s tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 8%] 150s tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 9%] 150s tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 10%] 150s tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 12%] 150s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMagicMock] PASSED [ 13%] 150s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 14%] 150s tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 15%] 150s tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 17%] 150s tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 18%] 150s tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 19%] 150s tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 20%] 150s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 21%] 150s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 23%] 150s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name PASSED [ 24%] 150s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] PASSED [ 25%] 150s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] PASSED [ 26%] 150s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] PASSED [ 28%] 150s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] PASSED [ 29%] 150s tests/test_pytest_mock.py::TestMockerStub::test_async_stub_type PASSED [ 30%] 150s tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 31%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 32%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 34%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 35%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 36%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 37%] 150s tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 39%] 150s tests/test_pytest_mock.py::test_instance_method_spy_autospec_true PASSED [ 40%] 150s tests/test_pytest_mock.py::test_spy_reset PASSED [ 41%] 150s tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 42%] 150s tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 43%] 150s tests/test_pytest_mock.py::test_class_method_spy PASSED [ 45%] 150s tests/test_pytest_mock.py::test_class_method_spy_autospec_false PASSED [ 46%] 150s tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 47%] 150s tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 48%] 150s tests/test_pytest_mock.py::test_static_method_spy PASSED [ 50%] 150s tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 51%] 150s tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 52%] 150s tests/test_pytest_mock.py::test_instance_async_method_spy PASSED [ 53%] 150s tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 54%] 150s tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 56%] 150s tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 57%] 150s tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 58%] 150s tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 59%] 150s tests/test_pytest_mock.py::test_assert_called_args_with_introspection SKIPPED [ 60%] 150s tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection SKIPPED [ 62%] 150s tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 63%] 150s tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 64%] 150s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls PASSED [ 65%] 150s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_subset PASSED [ 67%] 150s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order PASSED [ 68%] 150s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order_subset PASSED [ 69%] 150s tests/test_pytest_mock.py::test_assert_has_calls_no_calls PASSED [ 70%] 151s tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 71%] 151s tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 73%] 151s tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 74%] 151s tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 75%] 151s tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 76%] 151s tests/test_pytest_mock.py::test_standalone_mock SKIPPED (could not i...) [ 78%] 151s tests/test_pytest_mock.py::test_detailed_introspection SKIPPED (this...) [ 79%] 151s tests/test_pytest_mock.py::test_detailed_introspection_async SKIPPED [ 80%] 151s tests/test_pytest_mock.py::test_missing_introspection PASSED [ 81%] 151s tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 82%] 152s tests/test_pytest_mock.py::test_plain_stopall PASSED [ 84%] 152s tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 85%] 152s tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 86%] 152s tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 87%] 152s tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 89%] 152s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 90%] 152s tests/test_pytest_mock.py::test_used_with_class_scope PASSED [ 91%] 152s tests/test_pytest_mock.py::test_used_with_module_scope PASSED [ 92%] 153s tests/test_pytest_mock.py::test_used_with_package_scope PASSED [ 93%] 153s tests/test_pytest_mock.py::test_used_with_session_scope PASSED [ 95%] 153s tests/test_pytest_mock.py::test_stop_patch PASSED [ 96%] 153s tests/test_pytest_mock.py::test_stop_instance_patch PASSED [ 97%] 153s tests/test_pytest_mock.py::test_stop_spy PASSED [ 98%] 153s tests/test_pytest_mock.py::test_stop_instance_spy PASSED [100%] 153s 153s ======================== 77 passed, 5 skipped in 2.59s ========================= 153s autopkgtest [00:32:16]: test command1: -----------------------] 153s command1 PASS 153s autopkgtest [00:32:16]: test command1: - - - - - - - - - - results - - - - - - - - - - 154s autopkgtest [00:32:17]: @@@@@@@@@@@@@@@@@@@@ summary 154s command1 PASS 163s nova [W] Skipping flock for amd64 163s Creating nova instance adt-oracular-amd64-pytest-mock-20240608-002943-juju-7f2275-prod-proposed-migration-environment-2-3ffe93bd-13d7-4706-9046-0c52182ae299 from image adt/ubuntu-oracular-amd64-server-20240607.img (UUID d996b44c-1e10-4875-aeab-5b4c434d75a2)...