0s autopkgtest [12:23:20]: starting date and time: 2024-06-08 12:23:20+0000 0s autopkgtest [12:23:20]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [12:23:20]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jwyiv3a1/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@bos03-arm64-43.secgroup --name adt-oracular-arm64-pytest-mock-20240608-122320-juju-7f2275-prod-proposed-migration-environment-2-c9c87641-70de-4081-a033-61e44b57956f --image adt/ubuntu-oracular-arm64-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/ 898s autopkgtest [12:38:18]: testbed dpkg architecture: arm64 898s autopkgtest [12:38:18]: testbed apt version: 2.9.3 898s autopkgtest [12:38:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 898s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 899s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2420 B] 899s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 899s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 899s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.2 kB] 899s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main arm64 Packages [67.1 kB] 899s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted arm64 Packages [31.8 kB] 899s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe arm64 Packages [301 kB] 899s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse arm64 Packages [9556 B] 899s Fetched 913 kB in 1s (858 kB/s) 900s Reading package lists... 903s Reading package lists... 904s Building dependency tree... 904s Reading state information... 904s Calculating upgrade... 905s The following packages will be upgraded: 905s bash 907s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 907s Need to get 781 kB of archives. 907s After this operation, 0 B of additional disk space will be used. 907s Get:1 http://ftpmaster.internal/ubuntu oracular/main arm64 bash arm64 5.2.21-2.1ubuntu1 [781 kB] 908s Fetched 781 kB in 2s (334 kB/s) 908s (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 ... 78200 files and directories currently installed.) 908s Preparing to unpack .../bash_5.2.21-2.1ubuntu1_arm64.deb ... 908s Unpacking bash (5.2.21-2.1ubuntu1) over (5.2.21-2ubuntu5) ... 909s Setting up bash (5.2.21-2.1ubuntu1) ... 909s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 909s Processing triggers for debianutils (5.18) ... 909s Processing triggers for install-info (7.1-3build2) ... 909s Processing triggers for man-db (2.12.1-1) ... 911s Reading package lists... 911s Building dependency tree... 911s Reading state information... 911s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 912s Hit:1 http://ftpmaster.internal/ubuntu oracular InRelease 912s Hit:2 http://ftpmaster.internal/ubuntu oracular-updates InRelease 913s Hit:3 http://ftpmaster.internal/ubuntu oracular-security InRelease 913s Hit:4 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 915s Reading package lists... 915s Reading package lists... 916s Building dependency tree... 916s Reading state information... 916s Calculating upgrade... 917s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 917s Reading package lists... 917s Building dependency tree... 917s Reading state information... 918s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 923s autopkgtest [12:38:43]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 02:32:42 UTC 2024 923s autopkgtest [12:38:43]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-mock 927s Get:1 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (dsc) [2411 B] 927s Get:2 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (tar) [32.1 kB] 927s Get:3 http://ftpmaster.internal/ubuntu oracular/universe pytest-mock 3.12.0-1.1 (diff) [5400 B] 928s gpgv: Signature made Sun Jan 14 12:00:27 2024 UTC 928s gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 928s gpgv: issuer "doko@debian.org" 928s gpgv: Can't check signature: No public key 928s dpkg-source: warning: cannot verify inline signature for ./pytest-mock_3.12.0-1.1.dsc: no acceptable signature found 930s autopkgtest [12:38:50]: testing package pytest-mock version 3.12.0-1.1 930s autopkgtest [12:38:50]: build not needed 930s autopkgtest [12:38:50]: test command1: preparing testbed 932s Reading package lists... 932s Building dependency tree... 932s Reading state information... 932s Starting pkgProblemResolver with broken count: 0 933s Starting 2 pkgProblemResolver with broken count: 0 933s Done 933s The following additional packages will be installed: 933s python3-all python3-async-generator python3-iniconfig python3-packaging 933s python3-pluggy python3-pytest python3-pytest-asyncio python3-pytest-mock 933s Suggested packages: 933s python-pytest-mock-doc 933s The following NEW packages will be installed: 933s autopkgtest-satdep python3-all python3-async-generator python3-iniconfig 933s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 933s python3-pytest-mock 933s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 933s Need to get 359 kB/359 kB of archives. 933s After this operation, 1781 kB of additional disk space will be used. 933s Get:1 /tmp/autopkgtest.RiiW8F/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [744 B] 934s Get:2 http://ftpmaster.internal/ubuntu oracular/main arm64 python3-all arm64 3.12.3-0ubuntu1 [888 B] 934s Get:3 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 934s Get:4 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 934s Get:5 http://ftpmaster.internal/ubuntu oracular/main arm64 python3-packaging all 24.0-1 [41.1 kB] 934s Get:6 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 934s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe arm64 python3-pytest all 8.2.2-1ubuntu1 [250 kB] 934s Get:8 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 934s Get:9 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 935s Fetched 359 kB in 1s (527 kB/s) 935s Selecting previously unselected package python3-all. 936s (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 ... 78200 files and directories currently installed.) 936s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_arm64.deb ... 936s Unpacking python3-all (3.12.3-0ubuntu1) ... 936s Selecting previously unselected package python3-async-generator. 936s Preparing to unpack .../1-python3-async-generator_1.10-4_all.deb ... 936s Unpacking python3-async-generator (1.10-4) ... 936s Selecting previously unselected package python3-iniconfig. 936s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 936s Unpacking python3-iniconfig (1.1.1-2) ... 936s Selecting previously unselected package python3-packaging. 936s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 936s Unpacking python3-packaging (24.0-1) ... 936s Selecting previously unselected package python3-pluggy. 936s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 936s Unpacking python3-pluggy (1.5.0-1) ... 937s Selecting previously unselected package python3-pytest. 937s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 937s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 937s Selecting previously unselected package python3-pytest-asyncio. 937s Preparing to unpack .../6-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 937s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 937s Selecting previously unselected package python3-pytest-mock. 937s Preparing to unpack .../7-python3-pytest-mock_3.12.0-1.1_all.deb ... 937s Unpacking python3-pytest-mock (3.12.0-1.1) ... 937s Selecting previously unselected package autopkgtest-satdep. 937s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 937s Unpacking autopkgtest-satdep (0) ... 937s Setting up python3-iniconfig (1.1.1-2) ... 937s Setting up python3-async-generator (1.10-4) ... 937s Setting up python3-all (3.12.3-0ubuntu1) ... 937s Setting up python3-packaging (24.0-1) ... 937s Setting up python3-pluggy (1.5.0-1) ... 938s Setting up python3-pytest (8.2.2-1ubuntu1) ... 938s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 938s Setting up python3-pytest-mock (3.12.0-1.1) ... 938s Setting up autopkgtest-satdep (0) ... 938s Processing triggers for man-db (2.12.1-1) ... 944s (Reading database ... 78413 files and directories currently installed.) 944s Removing autopkgtest-satdep (0) ... 944s autopkgtest [12:39:04]: 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 944s autopkgtest [12:39:04]: test command1: [----------------------- 945s Testing with python3.12: 946s ============================= test session starts ============================== 946s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3.12 946s cachedir: .pytest_cache 946s rootdir: /tmp/autopkgtest.RiiW8F/autopkgtest_tmp 946s plugins: asyncio-0.20.3, mock-3.12.0 946s asyncio: mode=Mode.AUTO 946s collecting ... collected 82 items 946s 946s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_object] PASSED [ 1%] 946s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch] PASSED [ 2%] 946s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_multiple] PASSED [ 3%] 946s tests/test_pytest_mock.py::test_mock_patch_dict PASSED [ 4%] 946s tests/test_pytest_mock.py::test_mock_patch_dict_resetall PASSED [ 6%] 946s tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 7%] 946s tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 8%] 946s tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 9%] 946s tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 10%] 946s tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 12%] 946s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMagicMock] PASSED [ 13%] 946s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 14%] 946s tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 15%] 946s tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 17%] 946s tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 18%] 946s tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 19%] 946s tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 20%] 946s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 21%] 946s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 23%] 946s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name PASSED [ 24%] 946s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] PASSED [ 25%] 946s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] PASSED [ 26%] 946s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] PASSED [ 28%] 946s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] PASSED [ 29%] 946s tests/test_pytest_mock.py::TestMockerStub::test_async_stub_type PASSED [ 30%] 946s tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 31%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 32%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 34%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 35%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 36%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 37%] 946s tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 39%] 946s tests/test_pytest_mock.py::test_instance_method_spy_autospec_true PASSED [ 40%] 946s tests/test_pytest_mock.py::test_spy_reset PASSED [ 41%] 946s tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 42%] 946s tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 43%] 946s tests/test_pytest_mock.py::test_class_method_spy PASSED [ 45%] 946s tests/test_pytest_mock.py::test_class_method_spy_autospec_false PASSED [ 46%] 946s tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 47%] 946s tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 48%] 946s tests/test_pytest_mock.py::test_static_method_spy PASSED [ 50%] 946s tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 51%] 946s tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 52%] 946s tests/test_pytest_mock.py::test_instance_async_method_spy PASSED [ 53%] 946s tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 54%] 946s tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 56%] 946s tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 57%] 946s tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 58%] 946s tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 59%] 946s tests/test_pytest_mock.py::test_assert_called_args_with_introspection SKIPPED [ 60%] 946s tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection SKIPPED [ 62%] 946s tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 63%] 946s tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 64%] 946s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls PASSED [ 65%] 946s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_subset PASSED [ 67%] 946s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order PASSED [ 68%] 946s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order_subset PASSED [ 69%] 946s tests/test_pytest_mock.py::test_assert_has_calls_no_calls PASSED [ 70%] 946s tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 71%] 946s tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 73%] 946s tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 74%] 946s tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 75%] 947s tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 76%] 947s tests/test_pytest_mock.py::test_standalone_mock SKIPPED (could not i...) [ 78%] 947s tests/test_pytest_mock.py::test_detailed_introspection SKIPPED (this...) [ 79%] 947s tests/test_pytest_mock.py::test_detailed_introspection_async SKIPPED [ 80%] 947s tests/test_pytest_mock.py::test_missing_introspection PASSED [ 81%] 947s tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 82%] 947s tests/test_pytest_mock.py::test_plain_stopall PASSED [ 84%] 947s tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 85%] 947s tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 86%] 947s tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 87%] 947s tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 89%] 947s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 90%] 947s tests/test_pytest_mock.py::test_used_with_class_scope PASSED [ 91%] 948s tests/test_pytest_mock.py::test_used_with_module_scope PASSED [ 92%] 948s tests/test_pytest_mock.py::test_used_with_package_scope PASSED [ 93%] 948s tests/test_pytest_mock.py::test_used_with_session_scope PASSED [ 95%] 948s tests/test_pytest_mock.py::test_stop_patch PASSED [ 96%] 948s tests/test_pytest_mock.py::test_stop_instance_patch PASSED [ 97%] 948s tests/test_pytest_mock.py::test_stop_spy PASSED [ 98%] 948s tests/test_pytest_mock.py::test_stop_instance_spy PASSED [100%] 948s 948s ======================== 77 passed, 5 skipped in 2.84s ========================= 949s autopkgtest [12:39:09]: test command1: -----------------------] 949s command1 PASS 949s autopkgtest [12:39:09]: test command1: - - - - - - - - - - results - - - - - - - - - - 950s autopkgtest [12:39:10]: @@@@@@@@@@@@@@@@@@@@ summary 950s command1 PASS 1004s nova [W] Skipping flock in bos03-arm64 1004s Creating nova instance adt-oracular-arm64-pytest-mock-20240608-122320-juju-7f2275-prod-proposed-migration-environment-2-c9c87641-70de-4081-a033-61e44b57956f from image adt/ubuntu-oracular-arm64-server-20240608.img (UUID 22fa5d69-8269-442f-bb5d-fd1454f7b08f)...