0s autopkgtest [17:53:22]: starting date and time: 2025-10-18 17:53:22+0000 0s autopkgtest [17:53:22]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:53:22]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qeopax89/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade flake8-cognitive-complexity --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-3.secgroup --name adt-resolute-i386-flake8-cognitive-complexity-20251018-175322-juju-7f2275-prod-proposed-migration-environment-2-aa3b35b5-055d-48a0-83f8-de18e4d47644 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-flake8-cognitive-complexity-20251018-175322-juju-7f2275-prod-proposed-migration-environment-2-aa3b35b5-055d-48a0-83f8-de18e4d47644 from image adt/ubuntu-resolute-amd64-server-20251018.img (UUID dd697a48-b6cc-4a02-84bf-0f9f2fad5f89)... 29s autopkgtest [17:53:51]: testbed dpkg architecture: amd64 29s autopkgtest [17:53:51]: testbed apt version: 3.1.6ubuntu2 30s autopkgtest [17:53:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 30s autopkgtest [17:53:52]: testbed release detected to be: None 31s autopkgtest [17:53:53]: updating testbed package index (apt update) 32s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 32s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 32s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 32s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 32s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [28.4 kB] 32s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 32s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [345 kB] 32s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [15.4 kB] 32s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [46.6 kB] 32s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [85.2 kB] 32s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3208 B] 32s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [28.0 kB] 32s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [87.6 kB] 32s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [233 kB] 32s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [2772 B] 32s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [8376 B] 32s Fetched 972 kB in 1s (1275 kB/s) 33s Reading package lists... 33s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 33s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 33s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 33s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 34s Reading package lists... 34s Reading package lists... 34s Building dependency tree... 34s Reading state information... 34s Calculating upgrade... 34s The following packages will be upgraded: 34s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 34s libpython3-stdlib python3 python3-minimal 34s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 34s Need to get 2751 kB of archives. 34s After this operation, 2048 B of additional disk space will be used. 34s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.7-2 [27.8 kB] 34s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.7-2 [23.9 kB] 34s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.7-2 [10.6 kB] 34s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.8ubuntu1 [1140 kB] 35s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.8ubuntu1 [1438 kB] 35s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libgirepository-1.0-1 amd64 1.86.0-6 [85.9 kB] 35s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-girepository-2.0 amd64 1.86.0-6 [25.3 kB] 35s dpkg-preconfigure: unable to re-open stdin: No such file or directory 35s Fetched 2751 kB in 1s (5174 kB/s) 35s (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 ... 78439 files and directories currently installed.) 35s Preparing to unpack .../python3-minimal_3.13.7-2_amd64.deb ... 35s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 35s Setting up python3-minimal (3.13.7-2) ... 35s (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 ... 78439 files and directories currently installed.) 35s Preparing to unpack .../0-python3_3.13.7-2_amd64.deb ... 35s running python pre-rtupdate hooks for python3.13... 35s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 35s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_amd64.deb ... 35s Unpacking libpython3-stdlib:amd64 (3.13.7-2) over (3.13.7-1) ... 35s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_amd64.deb ... 35s Unpacking libapt-pkg7.0:amd64 (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 36s Preparing to unpack .../3-apt_3.1.8ubuntu1_amd64.deb ... 36s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 36s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_amd64.deb ... 36s Unpacking libgirepository-1.0-1:amd64 (1.86.0-6) over (1.84.0-1) ... 36s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_amd64.deb ... 36s Unpacking gir1.2-girepository-2.0:amd64 (1.86.0-6) over (1.84.0-1) ... 36s Setting up libgirepository-1.0-1:amd64 (1.86.0-6) ... 36s Setting up libapt-pkg7.0:amd64 (3.1.8ubuntu1) ... 36s Setting up libpython3-stdlib:amd64 (3.13.7-2) ... 36s Setting up apt (3.1.8ubuntu1) ... 36s Setting up python3 (3.13.7-2) ... 36s running python rtupdate hooks for python3.13... 36s running python post-rtupdate hooks for python3.13... 36s Setting up gir1.2-girepository-2.0:amd64 (1.86.0-6) ... 36s Processing triggers for man-db (2.13.1-1) ... 37s Processing triggers for libc-bin (2.42-0ubuntu3) ... 37s autopkgtest [17:53:59]: upgrading testbed (apt dist-upgrade and autopurge) 38s Reading package lists... 38s Building dependency tree... 38s Reading state information... 38s Calculating upgrade... 39s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 39s Reading package lists... 39s Building dependency tree... 39s Reading state information... 39s Solving dependencies... 39s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 39s autopkgtest [17:54:01]: rebooting testbed after setup commands that affected boot 55s autopkgtest [17:54:17]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 57s autopkgtest [17:54:19]: @@@@@@@@@@@@@@@@@@@@ apt-source flake8-cognitive-complexity 58s Get:1 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (dsc) [2397 B] 58s Get:2 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (tar) [4868 B] 58s Get:3 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (diff) [2428 B] 59s gpgv: Signature made Mon Feb 17 02:11:50 2025 UTC 59s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 59s gpgv: Can't check signature: No public key 59s dpkg-source: warning: cannot verify inline signature for ./flake8-cognitive-complexity_0.1.0-4.dsc: no acceptable signature found 59s autopkgtest [17:54:21]: testing package flake8-cognitive-complexity version 0.1.0-4 59s autopkgtest [17:54:21]: build not needed 59s autopkgtest [17:54:21]: test run-tests: preparing testbed 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Solving dependencies... 59s The following NEW packages will be installed: 59s libpython3.14-minimal libpython3.14-stdlib python3-all 59s python3-cognitive-complexity python3-flake8-cognitive-complexity 59s python3-iniconfig python3-packaging python3-pluggy python3-pytest python3.14 59s python3.14-minimal 59s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 6959 kB of archives. 59s After this operation, 26.0 MB of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu resolute/universe amd64 libpython3.14-minimal amd64 3.14.0-1 [905 kB] 60s Get:2 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3.14-minimal amd64 3.14.0-1 [2508 kB] 60s Get:3 http://ftpmaster.internal/ubuntu resolute/universe amd64 libpython3.14-stdlib amd64 3.14.0-1 [2396 kB] 60s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3.14 amd64 3.14.0-1 [805 kB] 60s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.13.7-2 [890 B] 60s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-cognitive-complexity all 1.2.0-4 [6418 B] 60s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-flake8-cognitive-complexity all 0.1.0-4 [4996 B] 60s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 60s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-packaging all 25.0-1 [52.8 kB] 60s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 60s Get:11 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 61s Fetched 6959 kB in 1s (6723 kB/s) 61s Selecting previously unselected package libpython3.14-minimal:amd64. 61s (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 ... 78439 files and directories currently installed.) 61s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-1_amd64.deb ... 61s Unpacking libpython3.14-minimal:amd64 (3.14.0-1) ... 61s Selecting previously unselected package python3.14-minimal. 61s Preparing to unpack .../01-python3.14-minimal_3.14.0-1_amd64.deb ... 61s Unpacking python3.14-minimal (3.14.0-1) ... 61s Selecting previously unselected package libpython3.14-stdlib:amd64. 61s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-1_amd64.deb ... 61s Unpacking libpython3.14-stdlib:amd64 (3.14.0-1) ... 61s Selecting previously unselected package python3.14. 61s Preparing to unpack .../03-python3.14_3.14.0-1_amd64.deb ... 61s Unpacking python3.14 (3.14.0-1) ... 61s Selecting previously unselected package python3-all. 61s Preparing to unpack .../04-python3-all_3.13.7-2_amd64.deb ... 61s Unpacking python3-all (3.13.7-2) ... 61s Selecting previously unselected package python3-cognitive-complexity. 61s Preparing to unpack .../05-python3-cognitive-complexity_1.2.0-4_all.deb ... 61s Unpacking python3-cognitive-complexity (1.2.0-4) ... 61s Selecting previously unselected package python3-flake8-cognitive-complexity. 61s Preparing to unpack .../06-python3-flake8-cognitive-complexity_0.1.0-4_all.deb ... 61s Unpacking python3-flake8-cognitive-complexity (0.1.0-4) ... 61s Selecting previously unselected package python3-iniconfig. 61s Preparing to unpack .../07-python3-iniconfig_1.1.1-2_all.deb ... 61s Unpacking python3-iniconfig (1.1.1-2) ... 61s Selecting previously unselected package python3-packaging. 61s Preparing to unpack .../08-python3-packaging_25.0-1_all.deb ... 61s Unpacking python3-packaging (25.0-1) ... 61s Selecting previously unselected package python3-pluggy. 61s Preparing to unpack .../09-python3-pluggy_1.5.0-1_all.deb ... 61s Unpacking python3-pluggy (1.5.0-1) ... 61s Selecting previously unselected package python3-pytest. 61s Preparing to unpack .../10-python3-pytest_8.3.5-2_all.deb ... 61s Unpacking python3-pytest (8.3.5-2) ... 61s Setting up python3-iniconfig (1.1.1-2) ... 61s Setting up libpython3.14-minimal:amd64 (3.14.0-1) ... 61s Setting up python3-cognitive-complexity (1.2.0-4) ... 61s Setting up python3-flake8-cognitive-complexity (0.1.0-4) ... 61s Setting up python3-packaging (25.0-1) ... 62s Setting up python3-pluggy (1.5.0-1) ... 62s /usr/lib/python3/dist-packages/pluggy/_callers.py:141: SyntaxWarning: 'return' in a 'finally' block 62s return result 62s /usr/lib/python3/dist-packages/pluggy/_callers.py:182: SyntaxWarning: 'return' in a 'finally' block 62s return outcome.get_result() 62s Setting up python3.14-minimal (3.14.0-1) ... 62s Setting up libpython3.14-stdlib:amd64 (3.14.0-1) ... 62s Setting up python3-pytest (8.3.5-2) ... 62s Setting up python3.14 (3.14.0-1) ... 63s Setting up python3-all (3.13.7-2) ... 63s Processing triggers for man-db (2.13.1-1) ... 63s Processing triggers for systemd (257.9-0ubuntu2) ... 64s autopkgtest [17:54:26]: test environment configured for cross building 64s autopkgtest [17:54:26]: test run-tests: [----------------------- 65s ============================= test session starts ============================== 65s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.14 65s cachedir: .pytest_cache 65s rootdir: /tmp/autopkgtest.Oiwgzc/autopkgtest_tmp 65s plugins: typeguard-4.4.2 65s collecting ... collected 1 item 65s 65s tests/test_complexity.py::test_fails PASSED [100%] 65s 65s ============================== 1 passed in 0.00s =============================== 65s ============================= test session starts ============================== 65s platform linux -- Python 3.13.7, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13 65s cachedir: .pytest_cache 65s rootdir: /tmp/autopkgtest.Oiwgzc/autopkgtest_tmp 65s plugins: typeguard-4.4.2 65s collecting ... collected 1 item 65s 65s tests/test_complexity.py::test_fails PASSED [100%] 65s 65s ============================== 1 passed in 0.00s =============================== 65s autopkgtest [17:54:27]: test run-tests: -----------------------] 66s autopkgtest [17:54:28]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 66s run-tests PASS 66s autopkgtest [17:54:28]: @@@@@@@@@@@@@@@@@@@@ summary 66s run-tests PASS