0s autopkgtest [23:06:08]: starting date and time: 2024-03-22 23:06:08+0000 0s autopkgtest [23:06:08]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [23:06:08]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.s8jp8f6m/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:sphinx --apt-upgrade pytest-mock --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-ppc64el-7.secgroup --name adt-noble-ppc64el-pytest-mock-20240322-230608-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-ppc64el-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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 95s autopkgtest [23:07:43]: testbed dpkg architecture: ppc64el 95s autopkgtest [23:07:43]: testbed apt version: 2.7.12 95s autopkgtest [23:07:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 96s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 96s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [58.8 kB] 96s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 96s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 97s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [4042 kB] 98s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [672 kB] 99s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 99s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 99s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 99s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4246 kB] 100s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 100s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [59.7 kB] 100s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 103s Fetched 9714 kB in 5s (2063 kB/s) 103s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s sh: Attempting to set up Debian/Ubuntu apt sources automatically 108s sh: Distribution appears to be Ubuntu 108s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s eatmydata is already the newest version (131-1). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s dbus is already the newest version (1.14.10-4ubuntu1). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s rng-tools-debian is already the newest version (2.4). 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s The following packages will be REMOVED: 110s cloud-init* python3-configobj* python3-debconf* 110s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 110s After this operation, 3256 kB disk space will be freed. 111s (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 ... 70156 files and directories currently installed.) 111s Removing cloud-init (24.1.2-0ubuntu1) ... 111s Removing python3-configobj (5.0.8-3) ... 111s Removing python3-debconf (1.5.86) ... 111s Processing triggers for man-db (2.12.0-3) ... 112s (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 ... 69767 files and directories currently installed.) 112s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 112s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 112s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 112s invoke-rc.d: policy-rc.d denied execution of try-restart. 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s linux-generic is already the newest version (6.8.0-11.11+1). 113s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 113s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 114s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 116s Reading package lists... 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 116s Calculating upgrade... 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [23:08:05]: rebooting testbed after setup commands that affected boot 155s autopkgtest [23:08:43]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 158s autopkgtest [23:08:46]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-mock 160s Get:1 http://ftpmaster.internal/ubuntu noble/universe pytest-mock 3.12.0-1.1 (dsc) [2411 B] 160s Get:2 http://ftpmaster.internal/ubuntu noble/universe pytest-mock 3.12.0-1.1 (tar) [32.1 kB] 160s Get:3 http://ftpmaster.internal/ubuntu noble/universe pytest-mock 3.12.0-1.1 (diff) [5400 B] 161s gpgv: Signature made Sun Jan 14 12:00:27 2024 UTC 161s gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 161s gpgv: issuer "doko@debian.org" 161s gpgv: Can't check signature: No public key 161s dpkg-source: warning: cannot verify inline signature for ./pytest-mock_3.12.0-1.1.dsc: no acceptable signature found 161s autopkgtest [23:08:49]: testing package pytest-mock version 3.12.0-1.1 161s autopkgtest [23:08:49]: build not needed 161s autopkgtest [23:08:49]: test command1: preparing testbed 163s Reading package lists... 163s Building dependency tree... 163s Reading state information... 163s Starting pkgProblemResolver with broken count: 0 163s Starting 2 pkgProblemResolver with broken count: 0 163s Done 163s The following additional packages will be installed: 163s python3-all python3-async-generator python3-iniconfig python3-packaging 163s python3-pluggy python3-pytest python3-pytest-asyncio python3-pytest-mock 163s Suggested packages: 163s python-pytest-mock-doc 163s The following NEW packages will be installed: 163s autopkgtest-satdep python3-all python3-async-generator python3-iniconfig 163s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 163s python3-pytest-mock 163s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 163s Need to get 412 kB/413 kB of archives. 163s After this operation, 1718 kB of additional disk space will be used. 163s Get:1 /tmp/autopkgtest.UT3gk0/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [744 B] 163s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-all ppc64el 3.12.1-0ubuntu2 [904 B] 164s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-async-generator all 1.10-4 [17.5 kB] 164s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 164s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 164s Get:6 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 164s Get:7 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 164s Get:8 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-asyncio all 0.20.3-1.2 [10.5 kB] 164s Get:9 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-mock all 3.12.0-1.1 [11.3 kB] 164s Fetched 412 kB in 1s (515 kB/s) 164s Selecting previously unselected package python3-all. 164s (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 ... 69712 files and directories currently installed.) 164s Preparing to unpack .../0-python3-all_3.12.1-0ubuntu2_ppc64el.deb ... 164s Unpacking python3-all (3.12.1-0ubuntu2) ... 164s Selecting previously unselected package python3-async-generator. 164s Preparing to unpack .../1-python3-async-generator_1.10-4_all.deb ... 164s Unpacking python3-async-generator (1.10-4) ... 164s Selecting previously unselected package python3-iniconfig. 164s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 164s Unpacking python3-iniconfig (1.1.1-2) ... 164s Selecting previously unselected package python3-packaging. 164s Preparing to unpack .../3-python3-packaging_23.2-1_all.deb ... 164s Unpacking python3-packaging (23.2-1) ... 164s Selecting previously unselected package python3-pluggy. 164s Preparing to unpack .../4-python3-pluggy_1.4.0-1_all.deb ... 164s Unpacking python3-pluggy (1.4.0-1) ... 165s Selecting previously unselected package python3-pytest. 165s Preparing to unpack .../5-python3-pytest_7.4.4-1_all.deb ... 165s Unpacking python3-pytest (7.4.4-1) ... 165s Selecting previously unselected package python3-pytest-asyncio. 165s Preparing to unpack .../6-python3-pytest-asyncio_0.20.3-1.2_all.deb ... 165s Unpacking python3-pytest-asyncio (0.20.3-1.2) ... 165s Selecting previously unselected package python3-pytest-mock. 165s Preparing to unpack .../7-python3-pytest-mock_3.12.0-1.1_all.deb ... 165s Unpacking python3-pytest-mock (3.12.0-1.1) ... 165s Selecting previously unselected package autopkgtest-satdep. 165s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 165s Unpacking autopkgtest-satdep (0) ... 165s Setting up python3-iniconfig (1.1.1-2) ... 165s Setting up python3-async-generator (1.10-4) ... 165s Setting up python3-all (3.12.1-0ubuntu2) ... 165s Setting up python3-packaging (23.2-1) ... 165s Setting up python3-pluggy (1.4.0-1) ... 165s Setting up python3-pytest (7.4.4-1) ... 166s Setting up python3-pytest-asyncio (0.20.3-1.2) ... 166s Setting up python3-pytest-mock (3.12.0-1.1) ... 166s Setting up autopkgtest-satdep (0) ... 166s Processing triggers for man-db (2.12.0-3) ... 168s (Reading database ... 69925 files and directories currently installed.) 168s Removing autopkgtest-satdep (0) ... 169s autopkgtest [23:08:57]: 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 169s autopkgtest [23:08:57]: test command1: [----------------------- 169s Testing with python3.12: 169s ============================= test session starts ============================== 169s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.12 169s cachedir: .pytest_cache 169s rootdir: /tmp/autopkgtest.UT3gk0/autopkgtest_tmp 169s plugins: mock-3.12.0, asyncio-0.20.3 169s asyncio: mode=Mode.AUTO 169s collecting ... collected 82 items 169s 169s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_object] PASSED [ 1%] 169s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch] PASSED [ 2%] 169s tests/test_pytest_mock.py::test_mock_patches[mock_using_patch_multiple] PASSED [ 3%] 169s tests/test_pytest_mock.py::test_mock_patch_dict PASSED [ 4%] 169s tests/test_pytest_mock.py::test_mock_patch_dict_resetall PASSED [ 6%] 169s tests/test_pytest_mock.py::test_mocker_aliases[ANY] PASSED [ 7%] 169s tests/test_pytest_mock.py::test_mocker_aliases[call] PASSED [ 8%] 169s tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] PASSED [ 9%] 169s tests/test_pytest_mock.py::test_mocker_aliases[Mock] PASSED [ 10%] 169s tests/test_pytest_mock.py::test_mocker_aliases[mock_open] PASSED [ 12%] 169s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMagicMock] PASSED [ 13%] 169s tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] PASSED [ 14%] 169s tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] PASSED [ 15%] 169s tests/test_pytest_mock.py::test_mocker_aliases[sentinel] PASSED [ 17%] 169s tests/test_pytest_mock.py::test_mocker_aliases[seal] PASSED [ 18%] 169s tests/test_pytest_mock.py::test_mocker_resetall PASSED [ 19%] 169s tests/test_pytest_mock.py::TestMockerStub::test_call PASSED [ 20%] 169s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_no_name PASSED [ 21%] 169s tests/test_pytest_mock.py::TestMockerStub::test_repr_with_name PASSED [ 23%] 169s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name PASSED [ 24%] 169s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] PASSED [ 25%] 169s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] PASSED [ 26%] 169s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] PASSED [ 28%] 169s tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] PASSED [ 29%] 169s tests/test_pytest_mock.py::TestMockerStub::test_async_stub_type PASSED [ 30%] 169s tests/test_pytest_mock.py::test_instance_method_spy PASSED [ 31%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[BaseException] PASSED [ 32%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[Exception] PASSED [ 34%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[GeneratorExit] PASSED [ 35%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[KeyboardInterrupt] PASSED [ 36%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[RuntimeError] PASSED [ 37%] 169s tests/test_pytest_mock.py::test_instance_method_spy_exception[SystemExit] PASSED [ 39%] 169s tests/test_pytest_mock.py::test_instance_method_spy_autospec_true PASSED [ 40%] 169s tests/test_pytest_mock.py::test_spy_reset PASSED [ 41%] 169s tests/test_pytest_mock.py::test_instance_method_by_class_spy PASSED [ 42%] 169s tests/test_pytest_mock.py::test_instance_method_by_subclass_spy PASSED [ 43%] 169s tests/test_pytest_mock.py::test_class_method_spy PASSED [ 45%] 169s tests/test_pytest_mock.py::test_class_method_spy_autospec_false PASSED [ 46%] 169s tests/test_pytest_mock.py::test_class_method_subclass_spy PASSED [ 47%] 169s tests/test_pytest_mock.py::test_class_method_with_metaclass_spy PASSED [ 48%] 169s tests/test_pytest_mock.py::test_static_method_spy PASSED [ 50%] 169s tests/test_pytest_mock.py::test_static_method_subclass_spy PASSED [ 51%] 169s tests/test_pytest_mock.py::test_callable_like_spy PASSED [ 52%] 169s tests/test_pytest_mock.py::test_instance_async_method_spy PASSED [ 53%] 169s tests/test_pytest_mock.py::test_assert_not_called_wrapper PASSED [ 54%] 169s tests/test_pytest_mock.py::test_assert_called_with_wrapper PASSED [ 56%] 169s tests/test_pytest_mock.py::test_assert_called_once_with_wrapper PASSED [ 57%] 169s tests/test_pytest_mock.py::test_assert_called_once_wrapper PASSED [ 58%] 169s tests/test_pytest_mock.py::test_assert_called_wrapper PASSED [ 59%] 169s tests/test_pytest_mock.py::test_assert_called_args_with_introspection SKIPPED [ 60%] 169s tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection SKIPPED [ 62%] 169s tests/test_pytest_mock.py::test_assert_any_call_wrapper PASSED [ 63%] 169s tests/test_pytest_mock.py::test_assert_has_calls PASSED [ 64%] 169s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls PASSED [ 65%] 169s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_subset PASSED [ 67%] 169s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order PASSED [ 68%] 169s tests/test_pytest_mock.py::test_assert_has_calls_multiple_calls_any_order_subset PASSED [ 69%] 169s tests/test_pytest_mock.py::test_assert_has_calls_no_calls PASSED [ 70%] 170s tests/test_pytest_mock.py::test_monkeypatch_ini PASSED [ 71%] 170s tests/test_pytest_mock.py::test_parse_ini_boolean PASSED [ 73%] 170s tests/test_pytest_mock.py::test_patched_method_parameter_name PASSED [ 74%] 170s tests/test_pytest_mock.py::test_monkeypatch_native PASSED [ 75%] 170s tests/test_pytest_mock.py::test_monkeypatch_no_terminal PASSED [ 76%] 170s tests/test_pytest_mock.py::test_standalone_mock SKIPPED (could not i...) [ 78%] 170s tests/test_pytest_mock.py::test_detailed_introspection SKIPPED (this...) [ 79%] 170s tests/test_pytest_mock.py::test_detailed_introspection_async SKIPPED [ 80%] 170s tests/test_pytest_mock.py::test_missing_introspection PASSED [ 81%] 170s tests/test_pytest_mock.py::test_assert_called_with_unicode_arguments PASSED [ 82%] 171s tests/test_pytest_mock.py::test_plain_stopall PASSED [ 84%] 171s tests/test_pytest_mock.py::test_warn_patch_object_context_manager PASSED [ 85%] 171s tests/test_pytest_mock.py::test_warn_patch_context_manager PASSED [ 86%] 171s tests/test_pytest_mock.py::test_context_manager_patch_example PASSED [ 87%] 171s tests/test_pytest_mock.py::test_patch_context_manager_with_context_manager PASSED [ 89%] 171s tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc PASSED [ 90%] 171s tests/test_pytest_mock.py::test_used_with_class_scope PASSED [ 91%] 171s tests/test_pytest_mock.py::test_used_with_module_scope PASSED [ 92%] 171s tests/test_pytest_mock.py::test_used_with_package_scope PASSED [ 93%] 172s tests/test_pytest_mock.py::test_used_with_session_scope PASSED [ 95%] 172s tests/test_pytest_mock.py::test_stop_patch PASSED [ 96%] 172s tests/test_pytest_mock.py::test_stop_instance_patch PASSED [ 97%] 172s tests/test_pytest_mock.py::test_stop_spy PASSED [ 98%] 172s tests/test_pytest_mock.py::test_stop_instance_spy PASSED [100%] 172s 172s ======================== 77 passed, 5 skipped in 2.33s ========================= 172s autopkgtest [23:09:00]: test command1: -----------------------] 173s autopkgtest [23:09:01]: test command1: - - - - - - - - - - results - - - - - - - - - - 173s command1 PASS 173s autopkgtest [23:09:01]: @@@@@@@@@@@@@@@@@@@@ summary 173s command1 PASS 185s Creating nova instance adt-noble-ppc64el-pytest-mock-20240322-230608-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240322.img (UUID 8499323f-6fcd-4f77-8a53-77410adea6d3)...