0s autopkgtest [16:29:28]: starting date and time: 2025-10-18 16:29:28+0000 0s autopkgtest [16:29:28]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:29:28]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.rhc76muc/out --timeout-copy=6000 --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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-10.secgroup --name adt-resolute-arm64-flake8-cognitive-complexity-20251018-162928-juju-7f2275-prod-proposed-migration-environment-2-c4f0e74b-96d7-4744-acc5-7f558aa34f3c --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-flake8-cognitive-complexity-20251018-162928-juju-7f2275-prod-proposed-migration-environment-2-c4f0e74b-96d7-4744-acc5-7f558aa34f3c from image adt/ubuntu-resolute-arm64-server-20251018.img (UUID f7a49384-4e4d-4350-9a26-1f59236f89dd)... 62s autopkgtest [16:30:30]: testbed dpkg architecture: arm64 62s autopkgtest [16:30:30]: testbed apt version: 3.1.6ubuntu2 62s autopkgtest [16:30:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [16:30:31]: testbed release detected to be: None 63s autopkgtest [16:30:31]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 64s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 64s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 64s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 64s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 64s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [345 kB] 64s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [15.4 kB] 64s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [28.4 kB] 64s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [81.1 kB] 65s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [43.8 kB] 65s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [223 kB] 65s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [5672 B] 65s Fetched 831 kB in 1s (930 kB/s) 65s Reading package lists... 66s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 66s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 66s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 67s Reading package lists... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 68s Calculating upgrade... 68s The following packages will be upgraded: 68s apt flash-kernel gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 68s libpython3-stdlib lto-disabled-list python3 python3-minimal 68s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 2671 kB of archives. 68s After this operation, 66.6 kB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3-minimal arm64 3.13.7-2 [27.8 kB] 68s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3 arm64 3.13.7-2 [23.9 kB] 68s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpython3-stdlib arm64 3.13.7-2 [10.6 kB] 68s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libapt-pkg7.0 arm64 3.1.8ubuntu1 [1055 kB] 69s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 apt arm64 3.1.8ubuntu1 [1373 kB] 69s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgirepository-1.0-1 arm64 1.86.0-6 [84.5 kB] 69s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-girepository-2.0 arm64 1.86.0-6 [25.3 kB] 69s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 flash-kernel arm64 3.109ubuntu7 [58.8 kB] 69s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 lto-disabled-list all 71 [12.5 kB] 69s dpkg-preconfigure: unable to re-open stdin: No such file or directory 69s Fetched 2671 kB in 1s (3029 kB/s) 70s (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 ... 83359 files and directories currently installed.) 70s Preparing to unpack .../python3-minimal_3.13.7-2_arm64.deb ... 70s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 70s Setting up python3-minimal (3.13.7-2) ... 70s (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 ... 83359 files and directories currently installed.) 70s Preparing to unpack .../0-python3_3.13.7-2_arm64.deb ... 70s running python pre-rtupdate hooks for python3.13... 70s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 70s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_arm64.deb ... 70s Unpacking libpython3-stdlib:arm64 (3.13.7-2) over (3.13.7-1) ... 70s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_arm64.deb ... 70s Unpacking libapt-pkg7.0:arm64 (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 70s Preparing to unpack .../3-apt_3.1.8ubuntu1_arm64.deb ... 71s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 71s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_arm64.deb ... 71s Unpacking libgirepository-1.0-1:arm64 (1.86.0-6) over (1.84.0-1) ... 71s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_arm64.deb ... 71s Unpacking gir1.2-girepository-2.0:arm64 (1.86.0-6) over (1.84.0-1) ... 71s Preparing to unpack .../6-flash-kernel_3.109ubuntu7_arm64.deb ... 71s Unpacking flash-kernel (3.109ubuntu7) over (3.109ubuntu6) ... 71s Preparing to unpack .../7-lto-disabled-list_71_all.deb ... 71s Unpacking lto-disabled-list (71) over (69) ... 71s Setting up lto-disabled-list (71) ... 71s Setting up libgirepository-1.0-1:arm64 (1.86.0-6) ... 71s Setting up libapt-pkg7.0:arm64 (3.1.8ubuntu1) ... 71s Setting up libpython3-stdlib:arm64 (3.13.7-2) ... 71s Setting up apt (3.1.8ubuntu1) ... 72s Setting up python3 (3.13.7-2) ... 72s running python rtupdate hooks for python3.13... 72s running python post-rtupdate hooks for python3.13... 72s Setting up gir1.2-girepository-2.0:arm64 (1.86.0-6) ... 72s Setting up flash-kernel (3.109ubuntu7) ... 72s flash-kernel: deferring update (trigger activated) 72s Processing triggers for libc-bin (2.42-0ubuntu3) ... 72s Processing triggers for man-db (2.13.1-1) ... 74s Processing triggers for initramfs-tools (0.150ubuntu3) ... 74s update-initramfs: Generating /boot/initrd.img-6.17.0-5-generic 92s System running in EFI mode, skipping. 92s Processing triggers for flash-kernel (3.109ubuntu7) ... 93s System running in EFI mode, skipping. 93s autopkgtest [16:31:01]: upgrading testbed (apt dist-upgrade and autopurge) 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 95s Solving dependencies... 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s autopkgtest [16:31:04]: rebooting testbed after setup commands that affected boot 124s autopkgtest [16:31:32]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 127s autopkgtest [16:31:35]: @@@@@@@@@@@@@@@@@@@@ apt-source flake8-cognitive-complexity 129s Get:1 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (dsc) [2397 B] 129s Get:2 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (tar) [4868 B] 129s Get:3 http://ftpmaster.internal/ubuntu resolute/universe flake8-cognitive-complexity 0.1.0-4 (diff) [2428 B] 129s gpgv: Signature made Mon Feb 17 02:11:50 2025 UTC 129s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 129s gpgv: Can't check signature: No public key 129s dpkg-source: warning: cannot verify inline signature for ./flake8-cognitive-complexity_0.1.0-4.dsc: no acceptable signature found 129s autopkgtest [16:31:37]: testing package flake8-cognitive-complexity version 0.1.0-4 129s autopkgtest [16:31:37]: build not needed 130s autopkgtest [16:31:38]: test run-tests: preparing testbed 130s Reading package lists... 130s Building dependency tree... 130s Reading state information... 130s Solving dependencies... 131s The following NEW packages will be installed: 131s libpython3.14-minimal libpython3.14-stdlib python3-all 131s python3-cognitive-complexity python3-flake8-cognitive-complexity 131s python3-iniconfig python3-packaging python3-pluggy python3-pytest python3.14 131s python3.14-minimal 131s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 131s Need to get 6875 kB of archives. 131s After this operation, 27.5 MB of additional disk space will be used. 131s Get:1 http://ftpmaster.internal/ubuntu resolute/universe arm64 libpython3.14-minimal arm64 3.14.0-1 [903 kB] 131s Get:2 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3.14-minimal arm64 3.14.0-1 [2473 kB] 132s Get:3 http://ftpmaster.internal/ubuntu resolute/universe arm64 libpython3.14-stdlib arm64 3.14.0-1 [2350 kB] 132s Get:4 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3.14 arm64 3.14.0-1 [805 kB] 132s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 python3-all arm64 3.13.7-2 [890 B] 132s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-cognitive-complexity all 1.2.0-4 [6418 B] 132s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-flake8-cognitive-complexity all 0.1.0-4 [4996 B] 132s Get:8 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 132s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-packaging all 25.0-1 [52.8 kB] 132s Get:10 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 132s Get:11 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest all 8.3.5-2 [252 kB] 132s Fetched 6875 kB in 1s (6491 kB/s) 132s Selecting previously unselected package libpython3.14-minimal:arm64. 132s (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 ... 83359 files and directories currently installed.) 132s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-1_arm64.deb ... 132s Unpacking libpython3.14-minimal:arm64 (3.14.0-1) ... 132s Selecting previously unselected package python3.14-minimal. 132s Preparing to unpack .../01-python3.14-minimal_3.14.0-1_arm64.deb ... 132s Unpacking python3.14-minimal (3.14.0-1) ... 133s Selecting previously unselected package libpython3.14-stdlib:arm64. 133s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-1_arm64.deb ... 133s Unpacking libpython3.14-stdlib:arm64 (3.14.0-1) ... 133s Selecting previously unselected package python3.14. 133s Preparing to unpack .../03-python3.14_3.14.0-1_arm64.deb ... 133s Unpacking python3.14 (3.14.0-1) ... 133s Selecting previously unselected package python3-all. 133s Preparing to unpack .../04-python3-all_3.13.7-2_arm64.deb ... 133s Unpacking python3-all (3.13.7-2) ... 133s Selecting previously unselected package python3-cognitive-complexity. 133s Preparing to unpack .../05-python3-cognitive-complexity_1.2.0-4_all.deb ... 133s Unpacking python3-cognitive-complexity (1.2.0-4) ... 133s Selecting previously unselected package python3-flake8-cognitive-complexity. 133s Preparing to unpack .../06-python3-flake8-cognitive-complexity_0.1.0-4_all.deb ... 133s Unpacking python3-flake8-cognitive-complexity (0.1.0-4) ... 133s Selecting previously unselected package python3-iniconfig. 133s Preparing to unpack .../07-python3-iniconfig_1.1.1-2_all.deb ... 133s Unpacking python3-iniconfig (1.1.1-2) ... 133s Selecting previously unselected package python3-packaging. 133s Preparing to unpack .../08-python3-packaging_25.0-1_all.deb ... 133s Unpacking python3-packaging (25.0-1) ... 133s Selecting previously unselected package python3-pluggy. 133s Preparing to unpack .../09-python3-pluggy_1.5.0-1_all.deb ... 133s Unpacking python3-pluggy (1.5.0-1) ... 133s Selecting previously unselected package python3-pytest. 133s Preparing to unpack .../10-python3-pytest_8.3.5-2_all.deb ... 133s Unpacking python3-pytest (8.3.5-2) ... 133s Setting up python3-iniconfig (1.1.1-2) ... 133s Setting up libpython3.14-minimal:arm64 (3.14.0-1) ... 133s Setting up python3-cognitive-complexity (1.2.0-4) ... 134s Setting up python3-flake8-cognitive-complexity (0.1.0-4) ... 134s Setting up python3-packaging (25.0-1) ... 134s Setting up python3-pluggy (1.5.0-1) ... 134s /usr/lib/python3/dist-packages/pluggy/_callers.py:141: SyntaxWarning: 'return' in a 'finally' block 134s return result 134s /usr/lib/python3/dist-packages/pluggy/_callers.py:182: SyntaxWarning: 'return' in a 'finally' block 134s return outcome.get_result() 134s Setting up python3.14-minimal (3.14.0-1) ... 135s Setting up libpython3.14-stdlib:arm64 (3.14.0-1) ... 135s Setting up python3-pytest (8.3.5-2) ... 136s Setting up python3.14 (3.14.0-1) ... 137s Setting up python3-all (3.13.7-2) ... 137s Processing triggers for man-db (2.13.1-1) ... 138s Processing triggers for systemd (257.9-0ubuntu2) ... 139s autopkgtest [16:31:47]: test run-tests: [----------------------- 140s ============================= test session starts ============================== 140s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.14 140s cachedir: .pytest_cache 140s rootdir: /tmp/autopkgtest.Ct5NIO/autopkgtest_tmp 140s plugins: typeguard-4.4.2 140s collecting ... collected 1 item 140s 140s tests/test_complexity.py::test_fails PASSED [100%] 140s 140s ============================== 1 passed in 0.01s =============================== 140s ============================= test session starts ============================== 140s platform linux -- Python 3.13.7, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13 140s cachedir: .pytest_cache 140s rootdir: /tmp/autopkgtest.Ct5NIO/autopkgtest_tmp 140s plugins: typeguard-4.4.2 140s collecting ... collected 1 item 140s 140s tests/test_complexity.py::test_fails PASSED [100%] 140s 140s ============================== 1 passed in 0.01s =============================== 140s autopkgtest [16:31:48]: test run-tests: -----------------------] 141s autopkgtest [16:31:49]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 141s run-tests PASS 141s autopkgtest [16:31:49]: @@@@@@@@@@@@@@@@@@@@ summary 141s run-tests PASS