0s autopkgtest [15:14:57]: starting date and time: 2025-05-03 15:14:57+0000 0s autopkgtest [15:14:57]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [15:14:57]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.tjw0exod/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-psutil --apt-upgrade mypy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-psutil/7.0.0-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-2.secgroup --name adt-questing-amd64-mypy-20250503-151456-juju-7f2275-prod-proposed-migration-environment-23-696c8f8d-c703-449b-a963-8f1618b45908 --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 84s autopkgtest [15:16:21]: testbed dpkg architecture: amd64 84s autopkgtest [15:16:21]: testbed apt version: 3.0.0 84s autopkgtest [15:16:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 84s autopkgtest [15:16:21]: testbed release detected to be: None 85s autopkgtest [15:16:22]: updating testbed package index (apt update) 85s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 86s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 86s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 86s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 86s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [150 kB] 86s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1538 kB] 86s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.5 kB] 86s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [199 kB] 86s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [141 kB] 86s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [603 kB] 86s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1473 kB] 86s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [49.1 kB] 86s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [23.1 kB] 86s Fetched 4320 kB in 1s (3872 kB/s) 87s Reading package lists... 88s autopkgtest [15:16:25]: upgrading testbed (apt dist-upgrade and autopurge) 88s Reading package lists... 88s Building dependency tree... 88s Reading state information... 89s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 89s Starting 2 pkgProblemResolver with broken count: 0 89s Done 89s Entering ResolveByKeep 90s 90s Calculating upgrade... 90s The following packages will be upgraded: 90s debianutils libmbim-glib4 libmbim-proxy libnftnl11 libqmi-glib5 libqmi-proxy 90s python3-lazr.restfulclient 90s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 1378 kB of archives. 90s After this operation, 139 kB disk space will be freed. 90s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 90s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 90s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmbim-proxy amd64 1.32.0-1 [6276 B] 90s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 libmbim-glib4 amd64 1.32.0-1 [233 kB] 90s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libqmi-proxy amd64 1.36.0-1 [6220 B] 90s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 libqmi-glib5 amd64 1.36.0-1 [920 kB] 91s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 python3-lazr.restfulclient all 0.14.6-3 [51.0 kB] 91s Fetched 1378 kB in 1s (2284 kB/s) 91s (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 ... 80514 files and directories currently installed.) 91s Preparing to unpack .../debianutils_5.22_amd64.deb ... 91s Unpacking debianutils (5.22) over (5.21) ... 91s Setting up debianutils (5.22) ... 91s (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 ... 80514 files and directories currently installed.) 91s Preparing to unpack .../0-libnftnl11_1.2.9-1_amd64.deb ... 91s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 92s Preparing to unpack .../1-libmbim-proxy_1.32.0-1_amd64.deb ... 92s Unpacking libmbim-proxy (1.32.0-1) over (1.31.2-0ubuntu4) ... 92s Preparing to unpack .../2-libmbim-glib4_1.32.0-1_amd64.deb ... 92s Unpacking libmbim-glib4:amd64 (1.32.0-1) over (1.31.2-0ubuntu4) ... 92s Preparing to unpack .../3-libqmi-proxy_1.36.0-1_amd64.deb ... 92s Unpacking libqmi-proxy (1.36.0-1) over (1.35.6-1) ... 92s Preparing to unpack .../4-libqmi-glib5_1.36.0-1_amd64.deb ... 92s Unpacking libqmi-glib5:amd64 (1.36.0-1) over (1.35.6-1) ... 92s Preparing to unpack .../5-python3-lazr.restfulclient_0.14.6-3_all.deb ... 92s Unpacking python3-lazr.restfulclient (0.14.6-3) over (0.14.6-2) ... 92s Setting up libnftnl11:amd64 (1.2.9-1) ... 92s Setting up python3-lazr.restfulclient (0.14.6-3) ... 92s Setting up libmbim-glib4:amd64 (1.32.0-1) ... 92s Setting up libmbim-proxy (1.32.0-1) ... 92s Setting up libqmi-glib5:amd64 (1.36.0-1) ... 92s Setting up libqmi-proxy (1.36.0-1) ... 92s Processing triggers for libc-bin (2.41-6ubuntu1) ... 92s Processing triggers for man-db (2.13.0-1) ... 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Starting pkgProblemResolver with broken count: 0 95s Starting 2 pkgProblemResolver with broken count: 0 95s Done 95s Solving dependencies... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [15:16:35]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 98s autopkgtest [15:16:35]: @@@@@@@@@@@@@@@@@@@@ apt-source mypy 101s Get:1 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (dsc) [3155 B] 101s Get:2 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (tar) [3240 kB] 101s Get:3 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (diff) [19.0 kB] 101s gpgv: Signature made Mon Feb 24 16:41:54 2025 UTC 101s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./mypy_1.15.0-4.dsc: no acceptable signature found 101s autopkgtest [15:16:38]: testing package mypy version 1.15.0-4 102s autopkgtest [15:16:39]: build not needed 103s autopkgtest [15:16:40]: test run-unit-test: preparing testbed 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 104s Starting pkgProblemResolver with broken count: 0 104s Starting 2 pkgProblemResolver with broken count: 0 104s Done 104s The following NEW packages will be installed: 104s cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ g++-14 104s g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 104s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libcc1-0 libexpat1-dev 104s libgcc-14-dev libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 104s libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libpython3-dev 104s libpython3.13-dev libquadmath0 libstdc++-14-dev libtsan2 libubsan1 104s libxslt1.1 mypy mypy-doc python3-dev python3-distlib python3-execnet 104s python3-filelock python3-iniconfig python3-lxml python3-mypy 104s python3-mypy-extensions python3-orjson python3-pip-whl python3-platformdirs 104s python3-pluggy python3-psutil python3-pytest python3-pytest-xdist 104s python3-setuptools-whl python3-tomli python3-typeshed python3-virtualenv 104s python3-wheel-whl python3.13-dev zlib1g-dev 105s 0 upgraded, 56 newly installed, 0 to remove and 0 not upgraded. 105s Need to get 90.0 MB of archives. 105s After this operation, 330 MB of additional disk space will be used. 105s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libisl23 amd64 0.27-1 [685 kB] 105s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 105s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [11.9 MB] 105s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14 amd64 14.2.0-19ubuntu2 [1030 B] 105s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 105s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 105s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 libcc1-0 amd64 15-20250404-0ubuntu1 [47.1 kB] 105s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 libgomp1 amd64 15-20250404-0ubuntu1 [151 kB] 105s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libitm1 amd64 15-20250404-0ubuntu1 [29.5 kB] 105s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 libasan8 amd64 15-20250404-0ubuntu1 [3076 kB] 105s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 liblsan0 amd64 15-20250404-0ubuntu1 [1362 kB] 105s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 libtsan2 amd64 15-20250404-0ubuntu1 [2760 kB] 106s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 libubsan1 amd64 15-20250404-0ubuntu1 [1211 kB] 106s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 libhwasan0 amd64 15-20250404-0ubuntu1 [1687 kB] 106s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 libquadmath0 amd64 15-20250404-0ubuntu1 [153 kB] 106s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 libgcc-14-dev amd64 14.2.0-19ubuntu2 [2815 kB] 106s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [23.3 MB] 106s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14 amd64 14.2.0-19ubuntu2 [540 kB] 106s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 106s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 106s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 libstdc++-14-dev amd64 14.2.0-19ubuntu2 [2510 kB] 106s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [13.4 MB] 107s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14 amd64 14.2.0-19ubuntu2 [23.0 kB] 107s Get:24 http://ftpmaster.internal/ubuntu questing/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 107s Get:25 http://ftpmaster.internal/ubuntu questing/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 107s Get:26 http://ftpmaster.internal/ubuntu questing/main amd64 libexpat1-dev amd64 2.7.1-1 [148 kB] 107s Get:27 http://ftpmaster.internal/ubuntu questing/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 107s Get:28 http://ftpmaster.internal/ubuntu questing/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 107s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 107s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 107s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 libpython3.13-dev amd64 3.13.3-1 [5507 kB] 107s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 libpython3-dev amd64 3.13.3-1 [10.8 kB] 107s Get:33 http://ftpmaster.internal/ubuntu questing/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu4 [176 kB] 107s Get:34 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-mypy-extensions all 1.0.0-1 [6148 B] 107s Get:35 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-tomli amd64 2.2.1-2build1 [128 kB] 107s Get:36 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 python3-psutil amd64 7.0.0-2 [188 kB] 107s Get:37 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-mypy amd64 1.15.0-4 [9214 kB] 107s Get:38 http://ftpmaster.internal/ubuntu questing/universe amd64 mypy all 1.15.0-4 [25.4 kB] 107s Get:39 http://ftpmaster.internal/ubuntu questing/universe amd64 mypy-doc all 1.15.0-4 [361 kB] 107s Get:40 http://ftpmaster.internal/ubuntu questing/main amd64 python3.13-dev amd64 3.13.3-1 [508 kB] 107s Get:41 http://ftpmaster.internal/ubuntu questing/main amd64 python3-dev amd64 3.13.3-1 [26.7 kB] 107s Get:42 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-distlib all 0.3.9-1 [267 kB] 107s Get:43 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-execnet all 2.1.1-1 [33.4 kB] 107s Get:44 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-filelock all 3.18.0-1 [13.0 kB] 107s Get:45 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 107s Get:46 http://ftpmaster.internal/ubuntu questing/main amd64 python3-lxml amd64 5.3.2-1 [1407 kB] 107s Get:47 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-orjson amd64 3.10.7-2build1 [274 kB] 107s Get:48 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pip-whl all 25.0+dfsg-1 [1446 kB] 107s Get:49 http://ftpmaster.internal/ubuntu questing/main amd64 python3-platformdirs all 4.3.6-1 [16.8 kB] 107s Get:50 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 107s Get:51 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pytest all 8.3.5-1 [252 kB] 107s Get:52 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pytest-xdist all 3.6.1-1 [33.8 kB] 107s Get:53 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-setuptools-whl all 75.8.0-1 [1152 kB] 107s Get:54 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-typeshed all 0.0~git20241223.ea91db2-1 [1548 kB] 107s Get:55 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-wheel-whl all 0.45.1-1 [74.6 kB] 107s Get:56 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-virtualenv all 20.29.1+ds-1 [72.6 kB] 107s Fetched 90.0 MB in 3s (33.5 MB/s) 108s Selecting previously unselected package libisl23:amd64. 108s (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 ... 80514 files and directories currently installed.) 108s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 108s Unpacking libisl23:amd64 (0.27-1) ... 108s Selecting previously unselected package libmpc3:amd64. 108s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 108s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 108s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 108s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 108s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 108s Selecting previously unselected package cpp-14. 108s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_amd64.deb ... 108s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 108s Selecting previously unselected package cpp-x86-64-linux-gnu. 108s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 108s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 108s Selecting previously unselected package cpp. 108s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 108s Unpacking cpp (4:14.2.0-1ubuntu1) ... 108s Selecting previously unselected package libcc1-0:amd64. 108s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libcc1-0:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libgomp1:amd64. 108s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libgomp1:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libitm1:amd64. 108s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libitm1:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libasan8:amd64. 108s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libasan8:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package liblsan0:amd64. 108s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking liblsan0:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libtsan2:amd64. 108s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libtsan2:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libubsan1:amd64. 108s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libubsan1:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libhwasan0:amd64. 108s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libhwasan0:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libquadmath0:amd64. 108s Preparing to unpack .../14-libquadmath0_15-20250404-0ubuntu1_amd64.deb ... 108s Unpacking libquadmath0:amd64 (15-20250404-0ubuntu1) ... 108s Selecting previously unselected package libgcc-14-dev:amd64. 108s Preparing to unpack .../15-libgcc-14-dev_14.2.0-19ubuntu2_amd64.deb ... 108s Unpacking libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 109s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 109s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 109s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 109s Selecting previously unselected package gcc-14. 109s Preparing to unpack .../17-gcc-14_14.2.0-19ubuntu2_amd64.deb ... 109s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 109s Selecting previously unselected package gcc-x86-64-linux-gnu. 109s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 109s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 109s Selecting previously unselected package gcc. 109s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 109s Unpacking gcc (4:14.2.0-1ubuntu1) ... 109s Selecting previously unselected package libstdc++-14-dev:amd64. 109s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-19ubuntu2_amd64.deb ... 109s Unpacking libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 109s Selecting previously unselected package g++-14-x86-64-linux-gnu. 109s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 109s Unpacking g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 110s Selecting previously unselected package g++-14. 110s Preparing to unpack .../22-g++-14_14.2.0-19ubuntu2_amd64.deb ... 110s Unpacking g++-14 (14.2.0-19ubuntu2) ... 110s Selecting previously unselected package g++-x86-64-linux-gnu. 110s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 110s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 110s Selecting previously unselected package g++. 110s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 110s Unpacking g++ (4:14.2.0-1ubuntu1) ... 110s Selecting previously unselected package libexpat1-dev:amd64. 110s Preparing to unpack .../25-libexpat1-dev_2.7.1-1_amd64.deb ... 110s Unpacking libexpat1-dev:amd64 (2.7.1-1) ... 110s Selecting previously unselected package libjs-jquery. 110s Preparing to unpack .../26-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 110s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 110s Selecting previously unselected package libjs-underscore. 110s Preparing to unpack .../27-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 110s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 110s Selecting previously unselected package libjs-sphinxdoc. 110s Preparing to unpack .../28-libjs-sphinxdoc_8.1.3-5_all.deb ... 110s Unpacking libjs-sphinxdoc (8.1.3-5) ... 110s Selecting previously unselected package zlib1g-dev:amd64. 110s Preparing to unpack .../29-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 110s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 110s Selecting previously unselected package libpython3.13-dev:amd64. 110s Preparing to unpack .../30-libpython3.13-dev_3.13.3-1_amd64.deb ... 110s Unpacking libpython3.13-dev:amd64 (3.13.3-1) ... 110s Selecting previously unselected package libpython3-dev:amd64. 110s Preparing to unpack .../31-libpython3-dev_3.13.3-1_amd64.deb ... 110s Unpacking libpython3-dev:amd64 (3.13.3-1) ... 110s Selecting previously unselected package libxslt1.1:amd64. 110s Preparing to unpack .../32-libxslt1.1_1.1.39-0exp1ubuntu4_amd64.deb ... 110s Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 110s Selecting previously unselected package python3-mypy-extensions. 110s Preparing to unpack .../33-python3-mypy-extensions_1.0.0-1_all.deb ... 110s Unpacking python3-mypy-extensions (1.0.0-1) ... 110s Selecting previously unselected package python3-tomli. 110s Preparing to unpack .../34-python3-tomli_2.2.1-2build1_amd64.deb ... 110s Unpacking python3-tomli (2.2.1-2build1) ... 110s Selecting previously unselected package python3-psutil. 110s Preparing to unpack .../35-python3-psutil_7.0.0-2_amd64.deb ... 110s Unpacking python3-psutil (7.0.0-2) ... 110s Selecting previously unselected package python3-mypy. 110s Preparing to unpack .../36-python3-mypy_1.15.0-4_amd64.deb ... 110s Unpacking python3-mypy (1.15.0-4) ... 111s Selecting previously unselected package mypy. 111s Preparing to unpack .../37-mypy_1.15.0-4_all.deb ... 111s Unpacking mypy (1.15.0-4) ... 111s Selecting previously unselected package mypy-doc. 111s Preparing to unpack .../38-mypy-doc_1.15.0-4_all.deb ... 111s Unpacking mypy-doc (1.15.0-4) ... 111s Selecting previously unselected package python3.13-dev. 111s Preparing to unpack .../39-python3.13-dev_3.13.3-1_amd64.deb ... 111s Unpacking python3.13-dev (3.13.3-1) ... 111s Selecting previously unselected package python3-dev. 111s Preparing to unpack .../40-python3-dev_3.13.3-1_amd64.deb ... 111s Unpacking python3-dev (3.13.3-1) ... 111s Selecting previously unselected package python3-distlib. 111s Preparing to unpack .../41-python3-distlib_0.3.9-1_all.deb ... 111s Unpacking python3-distlib (0.3.9-1) ... 111s Selecting previously unselected package python3-execnet. 111s Preparing to unpack .../42-python3-execnet_2.1.1-1_all.deb ... 111s Unpacking python3-execnet (2.1.1-1) ... 111s Selecting previously unselected package python3-filelock. 111s Preparing to unpack .../43-python3-filelock_3.18.0-1_all.deb ... 111s Unpacking python3-filelock (3.18.0-1) ... 111s Selecting previously unselected package python3-iniconfig. 111s Preparing to unpack .../44-python3-iniconfig_1.1.1-2_all.deb ... 111s Unpacking python3-iniconfig (1.1.1-2) ... 111s Selecting previously unselected package python3-lxml:amd64. 111s Preparing to unpack .../45-python3-lxml_5.3.2-1_amd64.deb ... 111s Unpacking python3-lxml:amd64 (5.3.2-1) ... 111s Selecting previously unselected package python3-orjson. 111s Preparing to unpack .../46-python3-orjson_3.10.7-2build1_amd64.deb ... 111s Unpacking python3-orjson (3.10.7-2build1) ... 111s Selecting previously unselected package python3-pip-whl. 111s Preparing to unpack .../47-python3-pip-whl_25.0+dfsg-1_all.deb ... 111s Unpacking python3-pip-whl (25.0+dfsg-1) ... 111s Selecting previously unselected package python3-platformdirs. 111s Preparing to unpack .../48-python3-platformdirs_4.3.6-1_all.deb ... 111s Unpacking python3-platformdirs (4.3.6-1) ... 111s Selecting previously unselected package python3-pluggy. 111s Preparing to unpack .../49-python3-pluggy_1.5.0-1_all.deb ... 111s Unpacking python3-pluggy (1.5.0-1) ... 111s Selecting previously unselected package python3-pytest. 111s Preparing to unpack .../50-python3-pytest_8.3.5-1_all.deb ... 111s Unpacking python3-pytest (8.3.5-1) ... 111s Selecting previously unselected package python3-pytest-xdist. 111s Preparing to unpack .../51-python3-pytest-xdist_3.6.1-1_all.deb ... 111s Unpacking python3-pytest-xdist (3.6.1-1) ... 111s Selecting previously unselected package python3-setuptools-whl. 111s Preparing to unpack .../52-python3-setuptools-whl_75.8.0-1_all.deb ... 111s Unpacking python3-setuptools-whl (75.8.0-1) ... 111s Selecting previously unselected package python3-typeshed. 111s Preparing to unpack .../53-python3-typeshed_0.0~git20241223.ea91db2-1_all.deb ... 111s Unpacking python3-typeshed (0.0~git20241223.ea91db2-1) ... 112s Selecting previously unselected package python3-wheel-whl. 112s Preparing to unpack .../54-python3-wheel-whl_0.45.1-1_all.deb ... 112s Unpacking python3-wheel-whl (0.45.1-1) ... 112s Selecting previously unselected package python3-virtualenv. 112s Preparing to unpack .../55-python3-virtualenv_20.29.1+ds-1_all.deb ... 112s Unpacking python3-virtualenv (20.29.1+ds-1) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up python3-orjson (3.10.7-2build1) ... 112s Setting up python3-setuptools-whl (75.8.0-1) ... 112s Setting up python3-filelock (3.18.0-1) ... 112s Setting up python3-tomli (2.2.1-2build1) ... 113s Setting up python3-pip-whl (25.0+dfsg-1) ... 113s Setting up python3-mypy-extensions (1.0.0-1) ... 113s Setting up python3-distlib (0.3.9-1) ... 113s Setting up libgomp1:amd64 (15-20250404-0ubuntu1) ... 113s Setting up python3-platformdirs (4.3.6-1) ... 113s Setting up python3-psutil (7.0.0-2) ... 113s Setting up libexpat1-dev:amd64 (2.7.1-1) ... 113s Setting up python3-typeshed (0.0~git20241223.ea91db2-1) ... 113s Setting up libquadmath0:amd64 (15-20250404-0ubuntu1) ... 113s Setting up libmpc3:amd64 (1.3.1-1build2) ... 113s Setting up python3-mypy (1.15.0-4) ... 114s Setting up python3-pluggy (1.5.0-1) ... 115s Setting up libubsan1:amd64 (15-20250404-0ubuntu1) ... 115s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 115s Setting up libhwasan0:amd64 (15-20250404-0ubuntu1) ... 115s Setting up libasan8:amd64 (15-20250404-0ubuntu1) ... 115s Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 115s Setting up mypy (1.15.0-4) ... 115s Setting up libtsan2:amd64 (15-20250404-0ubuntu1) ... 115s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 115s Setting up libisl23:amd64 (0.27-1) ... 115s Setting up python3-execnet (2.1.1-1) ... 115s Setting up python3-wheel-whl (0.45.1-1) ... 115s Setting up libcc1-0:amd64 (15-20250404-0ubuntu1) ... 115s Setting up liblsan0:amd64 (15-20250404-0ubuntu1) ... 115s Setting up libitm1:amd64 (15-20250404-0ubuntu1) ... 115s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 115s Setting up python3-pytest (8.3.5-1) ... 115s Setting up python3-virtualenv (20.29.1+ds-1) ... 115s Setting up libpython3.13-dev:amd64 (3.13.3-1) ... 115s Setting up cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 115s Setting up libjs-sphinxdoc (8.1.3-5) ... 115s Setting up cpp-14 (14.2.0-19ubuntu2) ... 115s Setting up mypy-doc (1.15.0-4) ... 115s Setting up python3-lxml:amd64 (5.3.2-1) ... 116s Setting up libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 116s Setting up libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 116s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up libpython3-dev:amd64 (3.13.3-1) ... 116s Setting up python3-pytest-xdist (3.6.1-1) ... 116s Setting up python3.13-dev (3.13.3-1) ... 116s Setting up python3-dev (3.13.3-1) ... 116s Setting up cpp (4:14.2.0-1ubuntu1) ... 116s Setting up gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 116s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up gcc-14 (14.2.0-19ubuntu2) ... 116s Setting up g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 116s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Setting up g++-14 (14.2.0-19ubuntu2) ... 116s Setting up gcc (4:14.2.0-1ubuntu1) ... 116s Setting up g++ (4:14.2.0-1ubuntu1) ... 116s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 116s Processing triggers for man-db (2.13.0-1) ... 117s Processing triggers for libc-bin (2.41-6ubuntu1) ... 118s autopkgtest [15:16:55]: test run-unit-test: [----------------------- 118s + pkg=mypy 118s +++++ readlink -fm /tmp/autopkgtest.2CoNDd/build.W38/src/debian/tests/run-unit-test 118s ++++ dirname /tmp/autopkgtest.2CoNDd/build.W38/src/debian/tests/run-unit-test 118s +++ dirname /tmp/autopkgtest.2CoNDd/build.W38/src/debian/tests 118s ++ dirname /tmp/autopkgtest.2CoNDd/build.W38/src/debian 118s + START=/tmp/autopkgtest.2CoNDd/build.W38/src 118s + '[' /tmp/autopkgtest.2CoNDd/autopkgtest_tmp = '' ']' 118s + cd /tmp/autopkgtest.2CoNDd/autopkgtest_tmp 118s + mypy --help 118s usage: mypy [-h] [-v] [-V] [more options; see below] 118s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 118s 118s Mypy is a program that will type check your Python code. 118s 118s Pass in any files or folders you want to type check. Mypy will 118s recursively traverse any provided folders to find .py files: 118s 118s $ mypy my_program.py my_src_folder 118s 118s For more information on getting started, see: 118s 118s - https://mypy.readthedocs.io/en/stable/getting_started.html 118s 118s For more details on both running mypy and using the flags below, see: 118s 118s - https://mypy.readthedocs.io/en/stable/running_mypy.html 118s - https://mypy.readthedocs.io/en/stable/command_line.html 118s 118s You can also use a config file to configure mypy instead of using 118s command line flags. For more details, see: 118s 118s - https://mypy.readthedocs.io/en/stable/config_file.html 118s 118s options: 118s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 118s Enable support of incomplete/experimental features 118s for early preview 118s 118s Optional arguments: 118s -h, --help Show this help message and exit 118s -v, --verbose More verbose messages 118s -V, --version Show program's version number and exit 118s -O, --output FORMAT Set a custom output format 118s 118s Config file: 118s Use a config file instead of command line arguments. This is useful if you 118s are using many flags or want to set different options per each module. 118s 118s --config-file CONFIG_FILE 118s Configuration file, must have a [mypy] section 118s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 118s setup.cfg) 118s --warn-unused-configs Warn about unused '[mypy-]' or 118s '[[tool.mypy.overrides]]' config sections 118s (inverse: --no-warn-unused-configs) 118s 118s Import discovery: 118s Configure how imports are discovered and followed. 118s 118s --no-namespace-packages Disable support for namespace packages (PEP 420, 118s __init__.py-less) (inverse: --namespace-packages) 118s --ignore-missing-imports Silently ignore imports of missing modules 118s --follow-untyped-imports Typecheck modules without stubs or py.typed marker 118s --follow-imports {normal,silent,skip,error} 118s How to treat imports (default normal) 118s --python-executable EXECUTABLE 118s Python executable used for finding PEP 561 118s compliant installed packages and stubs 118s --no-site-packages Do not search for installed PEP 561 compliant 118s packages 118s --no-silence-site-packages 118s Do not silence errors in PEP 561 compliant 118s installed packages 118s --junit-format {global,per_file} 118s If --junit-xml is set, specifies format. global: 118s single test with all errors; per_file: one test 118s entry per file with failures 118s 118s Platform configuration: 118s Type check code assuming it will be run under certain runtime conditions. 118s By default, mypy assumes your code will be run using the same operating 118s system and Python version you are using to run mypy itself. 118s 118s --python-version x.y Type check code assuming it will be running on 118s Python x.y 118s --platform PLATFORM Type check special-cased code for the given OS 118s platform (defaults to sys.platform) 118s --always-true NAME Additional variable to be considered True (may be 118s repeated) 118s --always-false NAME Additional variable to be considered False (may be 118s repeated) 118s 118s Disallow dynamic typing: 118s Disallow the use of the dynamic 'Any' type under certain conditions. 118s 118s --disallow-any-expr Disallow all expressions that have type Any 118s --disallow-any-decorated Disallow functions that have Any in their 118s signature after decorator transformation 118s --disallow-any-explicit Disallow explicit Any in type positions 118s --disallow-any-generics Disallow usage of generic types that do not 118s specify explicit type parameters (inverse: 118s --allow-any-generics) 118s --disallow-any-unimported 118s Disallow Any types resulting from unfollowed 118s imports (inverse: --allow-any-unimported) 118s --disallow-subclassing-any 118s Disallow subclassing values of type 'Any' when 118s defining classes (inverse: --allow-subclassing- 118s any) 118s 118s Untyped definitions and calls: 118s Configure how untyped definitions and calls are handled. Note: by default, 118s mypy ignores any untyped function definitions and assumes any calls to 118s such functions have a return type of 'Any'. 118s 118s --disallow-untyped-calls Disallow calling functions without type 118s annotations from functions with type annotations 118s (inverse: --allow-untyped-calls) 118s --untyped-calls-exclude MODULE 118s Disable --disallow-untyped-calls for 118s functions/methods coming from specific package, 118s module, or class 118s --disallow-untyped-defs Disallow defining functions without type 118s annotations or with incomplete type annotations 118s (inverse: --allow-untyped-defs) 118s --disallow-incomplete-defs 118s Disallow defining functions with incomplete type 118s annotations (while still allowing entirely 118s unannotated definitions) (inverse: --allow- 118s incomplete-defs) 118s --check-untyped-defs Type check the interior of functions without type 118s annotations (inverse: --no-check-untyped-defs) 118s --disallow-untyped-decorators 118s Disallow decorating typed functions with untyped 118s decorators (inverse: --allow-untyped-decorators) 118s 118s None and Optional handling: 118s Adjust how values of type 'None' are handled. For more context on how mypy 118s handles values of type 'None', see: 118s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 118s optional 118s 118s --implicit-optional Assume arguments with default values of None are 118s Optional (inverse: --no-implicit-optional) 118s --no-strict-optional Disable strict Optional checks (inverse: --strict- 118s optional) 118s 118s Configuring warnings: 118s Detect code that is sound but redundant or problematic. 118s 118s --warn-redundant-casts Warn about casting an expression to its inferred 118s type (inverse: --no-warn-redundant-casts) 118s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 118s (inverse: --no-warn-unused-ignores) 118s --no-warn-no-return Do not warn about functions that end without 118s returning (inverse: --warn-no-return) 118s --warn-return-any Warn about returning values of type Any from non- 118s Any typed functions (inverse: --no-warn-return- 118s any) 118s --warn-unreachable Warn about statements or expressions inferred to 118s be unreachable (inverse: --no-warn-unreachable) 118s --report-deprecated-as-note 118s Report importing or using deprecated features as 118s notes instead of errors (inverse: --no-report- 118s deprecated-as-note) 118s 118s Miscellaneous strictness flags: 118s --allow-untyped-globals Suppress toplevel errors caused by missing 118s annotations (inverse: --disallow-untyped-globals) 118s --allow-redefinition Allow unconditional variable redefinition with a 118s new type (inverse: --disallow-redefinition) 118s --no-implicit-reexport Treat imports as private unless aliased (inverse: 118s --implicit-reexport) 118s --strict-equality Prohibit equality, identity, and container checks 118s for non-overlapping types (inverse: --no-strict- 118s equality) 118s --strict-bytes Disable treating bytearray and memoryview as 118s subtypes of bytes (inverse: --no-strict-bytes) 118s --extra-checks Enable additional checks that are technically 118s correct but may be impractical in real code. For 118s example, this prohibits partial overlap in 118s TypedDict updates, and makes arguments prepended 118s via Concatenate positional-only (inverse: --no- 118s extra-checks) 118s --strict Strict mode; enables the following flags: --warn- 118s unused-configs, --disallow-any-generics, 118s --disallow-subclassing-any, --disallow-untyped- 118s calls, --disallow-untyped-defs, --disallow- 118s incomplete-defs, --check-untyped-defs, --disallow- 118s untyped-decorators, --warn-redundant-casts, 118s --warn-unused-ignores, --warn-return-any, --no- 118s implicit-reexport, --strict-equality, --extra- 118s checks 118s --disable-error-code NAME 118s Disable a specific error code 118s --enable-error-code NAME Enable a specific error code 118s 118s Configuring error messages: 118s Adjust the amount of detail shown in error messages. 118s 118s --show-error-context Precede errors with "note:" messages explaining 118s context (inverse: --hide-error-context) 118s --show-column-numbers Show column numbers in error messages (inverse: 118s --hide-column-numbers) 118s --show-error-end Show end line/end column numbers in error 118s messages. This implies --show-column-numbers 118s (inverse: --hide-error-end) 118s --hide-error-codes Hide error codes in error messages (inverse: 118s --show-error-codes) 118s --show-error-code-links Show links to error code documentation (inverse: 118s --hide-error-code-links) 118s --pretty Use visually nicer output in error messages: Use 118s soft word wrap, show source code snippets, and 118s show error location markers (inverse: --no-pretty) 118s --no-color-output Do not colorize error messages (inverse: --color- 118s output) 118s --no-error-summary Do not show error stats summary (inverse: --error- 118s summary) 118s --show-absolute-path Show absolute paths to files (inverse: --hide- 118s absolute-path) 118s 118s Incremental mode: 118s Adjust how mypy incrementally type checks and caches modules. Mypy caches 118s type information about modules into a cache to let you speed up future 118s invocations of mypy. Also see mypy's daemon mode: 118s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 118s 118s --no-incremental Disable module cache (inverse: --incremental) 118s --cache-dir DIR Store module cache info in the given folder in 118s incremental mode (defaults to '.mypy_cache') 118s --sqlite-cache Use a sqlite database to store the cache (inverse: 118s --no-sqlite-cache) 118s --cache-fine-grained Include fine-grained dependency information in the 118s cache for the mypy daemon 118s --skip-version-check Allow using cache written by older mypy version 118s --skip-cache-mtime-checks 118s Skip cache internal consistency checks based on 118s mtime 118s 118s Advanced options: 118s Debug and customize mypy internals. 118s 118s --pdb Invoke pdb on fatal error 118s --show-traceback, --tb Show traceback on fatal error 118s --raise-exceptions Raise exception on fatal error 118s --custom-typing-module MODULE 118s Use a custom typing module 118s --old-type-inference Disable new experimental type inference algorithm 118s --custom-typeshed-dir DIR 118s Use the custom typeshed in DIR 118s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 118s relevant with --disallow-untyped-defs or 118s --disallow-incomplete-defs enabled (inverse: --no- 118s warn-incomplete-stub) 118s --shadow-file SOURCE_FILE SHADOW_FILE 118s When encountering SOURCE_FILE, read and type check 118s the contents of SHADOW_FILE instead. 118s 118s Report generation: 118s Generate a report in the specified format. 118s 118s --any-exprs-report DIR 118s --cobertura-xml-report DIR 118s --html-report DIR 118s --linecount-report DIR 118s --linecoverage-report DIR 118s --lineprecision-report DIR 118s --txt-report DIR 118s --xml-report DIR 118s --xslt-html-report DIR 118s --xslt-txt-report DIR 118s 118s Miscellaneous: 118s --junit-xml JUNIT_XML Write junit.xml to the given file 118s --find-occurrences CLASS.MEMBER 118s Print out all usages of a class member 118s (experimental) 118s --scripts-are-modules Script x becomes module x instead of __main__ 118s --install-types Install detected missing library stub packages 118s using pip (inverse: --no-install-types) 118s --non-interactive Install stubs without asking for confirmation and 118s hide errors, with --install-types (inverse: 118s --interactive) 118s 118s Running code: 118s Specify the code you want to type check. For more details, see 118s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 118s 118s --explicit-package-bases Use current directory and MYPYPATH to determine 118s module names of files passed (inverse: --no- 118s explicit-package-bases) 118s --exclude PATTERN Regular expression to match file names, directory 118s names or paths which mypy should ignore while 118s recursively discovering files to check, e.g. 118s --exclude '/setup\.py$'. May be specified more 118s than once, eg. --exclude a --exclude b 118s -m, --module MODULE Type-check module; can repeat for more modules 118s -p, --package PACKAGE Type-check package recursively; can be repeated 118s -c, --command PROGRAM_TEXT 118s Type-check program passed in as string 118s files Type-check given files or directories 118s 118s Environment variables: 118s Define MYPYPATH for additional module search path entries. 118s Define MYPY_CACHE_DIR to override configuration cache_dir path. 118s + mypyc --help 119s usage: mypy [-h] [-v] [-V] [more options; see below] 119s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 119s 119s Mypy is a program that will type check your Python code. 119s 119s Pass in any files or folders you want to type check. Mypy will 119s recursively traverse any provided folders to find .py files: 119s 119s $ mypy my_program.py my_src_folder 119s 119s For more information on getting started, see: 119s 119s - https://mypy.readthedocs.io/en/stable/getting_started.html 119s 119s For more details on both running mypy and using the flags below, see: 119s 119s - https://mypy.readthedocs.io/en/stable/running_mypy.html 119s - https://mypy.readthedocs.io/en/stable/command_line.html 119s 119s You can also use a config file to configure mypy instead of using 119s command line flags. For more details, see: 119s 119s - https://mypy.readthedocs.io/en/stable/config_file.html 119s 119s options: 119s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 119s Enable support of incomplete/experimental features 119s for early preview 119s 119s Optional arguments: 119s -h, --help Show this help message and exit 119s -v, --verbose More verbose messages 119s -V, --version Show program's version number and exit 119s -O, --output FORMAT Set a custom output format 119s 119s Config file: 119s Use a config file instead of command line arguments. This is useful if you 119s are using many flags or want to set different options per each module. 119s 119s --config-file CONFIG_FILE 119s Configuration file, must have a [mypy] section 119s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 119s setup.cfg) 119s --warn-unused-configs Warn about unused '[mypy-]' or 119s '[[tool.mypy.overrides]]' config sections 119s (inverse: --no-warn-unused-configs) 119s 119s Import discovery: 119s Configure how imports are discovered and followed. 119s 119s --no-namespace-packages Disable support for namespace packages (PEP 420, 119s __init__.py-less) (inverse: --namespace-packages) 119s --ignore-missing-imports Silently ignore imports of missing modules 119s --follow-untyped-imports Typecheck modules without stubs or py.typed marker 119s --follow-imports {normal,silent,skip,error} 119s How to treat imports (default normal) 119s --python-executable EXECUTABLE 119s Python executable used for finding PEP 561 119s compliant installed packages and stubs 119s --no-site-packages Do not search for installed PEP 561 compliant 119s packages 119s --no-silence-site-packages 119s Do not silence errors in PEP 561 compliant 119s installed packages 119s --junit-format {global,per_file} 119s If --junit-xml is set, specifies format. global: 119s single test with all errors; per_file: one test 119s entry per file with failures 119s 119s Platform configuration: 119s Type check code assuming it will be run under certain runtime conditions. 119s By default, mypy assumes your code will be run using the same operating 119s system and Python version you are using to run mypy itself. 119s 119s --python-version x.y Type check code assuming it will be running on 119s Python x.y 119s --platform PLATFORM Type check special-cased code for the given OS 119s platform (defaults to sys.platform) 119s --always-true NAME Additional variable to be considered True (may be 119s repeated) 119s --always-false NAME Additional variable to be considered False (may be 119s repeated) 119s 119s Disallow dynamic typing: 119s Disallow the use of the dynamic 'Any' type under certain conditions. 119s 119s --disallow-any-expr Disallow all expressions that have type Any 119s --disallow-any-decorated Disallow functions that have Any in their 119s signature after decorator transformation 119s --disallow-any-explicit Disallow explicit Any in type positions 119s --disallow-any-generics Disallow usage of generic types that do not 119s specify explicit type parameters (inverse: 119s --allow-any-generics) 119s --disallow-any-unimported 119s Disallow Any types resulting from unfollowed 119s imports (inverse: --allow-any-unimported) 119s --disallow-subclassing-any 119s Disallow subclassing values of type 'Any' when 119s defining classes (inverse: --allow-subclassing- 119s any) 119s 119s Untyped definitions and calls: 119s Configure how untyped definitions and calls are handled. Note: by default, 119s mypy ignores any untyped function definitions and assumes any calls to 119s such functions have a return type of 'Any'. 119s 119s --disallow-untyped-calls Disallow calling functions without type 119s annotations from functions with type annotations 119s (inverse: --allow-untyped-calls) 119s --untyped-calls-exclude MODULE 119s Disable --disallow-untyped-calls for 119s functions/methods coming from specific package, 119s module, or class 119s --disallow-untyped-defs Disallow defining functions without type 119s annotations or with incomplete type annotations 119s (inverse: --allow-untyped-defs) 119s --disallow-incomplete-defs 119s Disallow defining functions with incomplete type 119s annotations (while still allowing entirely 119s unannotated definitions) (inverse: --allow- 119s incomplete-defs) 119s --check-untyped-defs Type check the interior of functions without type 119s annotations (inverse: --no-check-untyped-defs) 119s --disallow-untyped-decorators 119s Disallow decorating typed functions with untyped 119s decorators (inverse: --allow-untyped-decorators) 119s 119s None and Optional handling: 119s Adjust how values of type 'None' are handled. For more context on how mypy 119s handles values of type 'None', see: 119s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 119s optional 119s 119s --implicit-optional Assume arguments with default values of None are 119s Optional (inverse: --no-implicit-optional) 119s --no-strict-optional Disable strict Optional checks (inverse: --strict- 119s optional) 119s 119s Configuring warnings: 119s Detect code that is sound but redundant or problematic. 119s 119s --warn-redundant-casts Warn about casting an expression to its inferred 119s type (inverse: --no-warn-redundant-casts) 119s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 119s (inverse: --no-warn-unused-ignores) 119s --no-warn-no-return Do not warn about functions that end without 119s returning (inverse: --warn-no-return) 119s --warn-return-any Warn about returning values of type Any from non- 119s Any typed functions (inverse: --no-warn-return- 119s any) 119s --warn-unreachable Warn about statements or expressions inferred to 119s be unreachable (inverse: --no-warn-unreachable) 119s --report-deprecated-as-note 119s Report importing or using deprecated features as 119s notes instead of errors (inverse: --no-report- 119s deprecated-as-note) 119s 119s Miscellaneous strictness flags: 119s --allow-untyped-globals Suppress toplevel errors caused by missing 119s annotations (inverse: --disallow-untyped-globals) 119s --allow-redefinition Allow unconditional variable redefinition with a 119s new type (inverse: --disallow-redefinition) 119s --no-implicit-reexport Treat imports as private unless aliased (inverse: 119s --implicit-reexport) 119s --strict-equality Prohibit equality, identity, and container checks 119s for non-overlapping types (inverse: --no-strict- 119s equality) 119s --strict-bytes Disable treating bytearray and memoryview as 119s subtypes of bytes (inverse: --no-strict-bytes) 119s --extra-checks Enable additional checks that are technically 119s correct but may be impractical in real code. For 119s example, this prohibits partial overlap in 119s TypedDict updates, and makes arguments prepended 119s via Concatenate positional-only (inverse: --no- 119s extra-checks) 119s --strict Strict mode; enables the following flags: --warn- 119s unused-configs, --disallow-any-generics, 119s --disallow-subclassing-any, --disallow-untyped- 119s calls, --disallow-untyped-defs, --disallow- 119s incomplete-defs, --check-untyped-defs, --disallow- 119s untyped-decorators, --warn-redundant-casts, 119s --warn-unused-ignores, --warn-return-any, --no- 119s implicit-reexport, --strict-equality, --extra- 119s checks 119s --disable-error-code NAME 119s Disable a specific error code 119s --enable-error-code NAME Enable a specific error code 119s 119s Configuring error messages: 119s Adjust the amount of detail shown in error messages. 119s 119s --show-error-context Precede errors with "note:" messages explaining 119s context (inverse: --hide-error-context) 119s --show-column-numbers Show column numbers in error messages (inverse: 119s --hide-column-numbers) 119s --show-error-end Show end line/end column numbers in error 119s messages. This implies --show-column-numbers 119s (inverse: --hide-error-end) 119s --hide-error-codes Hide error codes in error messages (inverse: 119s --show-error-codes) 119s --show-error-code-links Show links to error code documentation (inverse: 119s --hide-error-code-links) 119s --pretty Use visually nicer output in error messages: Use 119s soft word wrap, show source code snippets, and 119s show error location markers (inverse: --no-pretty) 119s --no-color-output Do not colorize error messages (inverse: --color- 119s output) 119s --no-error-summary Do not show error stats summary (inverse: --error- 119s summary) 119s --show-absolute-path Show absolute paths to files (inverse: --hide- 119s absolute-path) 119s 119s Incremental mode: 119s Adjust how mypy incrementally type checks and caches modules. Mypy caches 119s type information about modules into a cache to let you speed up future 119s invocations of mypy. Also see mypy's daemon mode: 119s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 119s 119s --no-incremental Disable module cache (inverse: --incremental) 119s --cache-dir DIR Store module cache info in the given folder in 119s incremental mode (defaults to '.mypy_cache') 119s --sqlite-cache Use a sqlite database to store the cache (inverse: 119s --no-sqlite-cache) 119s --cache-fine-grained Include fine-grained dependency information in the 119s cache for the mypy daemon 119s --skip-version-check Allow using cache written by older mypy version 119s --skip-cache-mtime-checks 119s Skip cache internal consistency checks based on 119s mtime 119s 119s Advanced options: 119s Debug and customize mypy internals. 119s 119s --pdb Invoke pdb on fatal error 119s --show-traceback, --tb Show traceback on fatal error 119s --raise-exceptions Raise exception on fatal error 119s --custom-typing-module MODULE 119s Use a custom typing module 119s --old-type-inference Disable new experimental type inference algorithm 119s --custom-typeshed-dir DIR 119s Use the custom typeshed in DIR 119s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 119s relevant with --disallow-untyped-defs or 119s --disallow-incomplete-defs enabled (inverse: --no- 119s warn-incomplete-stub) 119s --shadow-file SOURCE_FILE SHADOW_FILE 119s When encountering SOURCE_FILE, read and type check 119s the contents of SHADOW_FILE instead. 119s 119s Report generation: 119s Generate a report in the specified format. 119s 119s --any-exprs-report DIR 119s --cobertura-xml-report DIR 119s --html-report DIR 119s --linecount-report DIR 119s --linecoverage-report DIR 119s --lineprecision-report DIR 119s --txt-report DIR 119s --xml-report DIR 119s --xslt-html-report DIR 119s --xslt-txt-report DIR 119s 119s Miscellaneous: 119s --junit-xml JUNIT_XML Write junit.xml to the given file 119s --find-occurrences CLASS.MEMBER 119s Print out all usages of a class member 119s (experimental) 119s --scripts-are-modules Script x becomes module x instead of __main__ 119s --install-types Install detected missing library stub packages 119s using pip (inverse: --no-install-types) 119s --non-interactive Install stubs without asking for confirmation and 119s hide errors, with --install-types (inverse: 119s --interactive) 119s 119s Running code: 119s Specify the code you want to type check. For more details, see 119s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 119s 119s --explicit-package-bases Use current directory and MYPYPATH to determine 119s module names of files passed (inverse: --no- 119s explicit-package-bases) 119s --exclude PATTERN Regular expression to match file names, directory 119s names or paths which mypy should ignore while 119s recursively discovering files to check, e.g. 119s --exclude '/setup\.py$'. May be specified more 119s than once, eg. --exclude a --exclude b 119s -m, --module MODULE Type-check module; can repeat for more modules 119s -p, --package PACKAGE Type-check package recursively; can be repeated 119s -c, --command PROGRAM_TEXT 119s Type-check program passed in as string 119s files Type-check given files or directories 119s 119s Environment variables: 119s Define MYPYPATH for additional module search path entries. 119s Define MYPY_CACHE_DIR to override configuration cache_dir path. 119s + stubgen --help 119s usage: stubgen [-h] [more options, see -h] 119s [-m MODULE] [-p PACKAGE] [files ...] 119s 119s Generate draft stubs for modules. Stubs are generated in directory ./out, to 119s avoid overriding files with manual changes. This directory is assumed to 119s exist. 119s 119s positional arguments: 119s files generate stubs for given files or directories 119s 119s options: 119s -h, --help show this help message and exit 119s --ignore-errors ignore errors when trying to generate stubs for 119s modules 119s --no-import don't import the modules, just parse and analyze them 119s (doesn't work with C extension modules and might not 119s respect __all__) 119s --no-analysis, --parse-only 119s don't perform semantic analysis of sources, just parse 119s them (only applies to Python modules, might affect 119s quality of stubs. Not compatible with --inspect-mode) 119s --inspect-mode import and inspect modules instead of parsing source 119s code.This is the default behavior for c modules and 119s pyc-only packages, but it is also useful for pure 119s python modules with dynamically generated members. 119s --include-private generate stubs for objects and members considered 119s private (single leading underscore and no trailing 119s underscores) 119s --export-less don't implicitly export all names imported from other 119s modules in the same package 119s --include-docstrings include existing docstrings with the stubs 119s -v, --verbose show more verbose messages 119s -q, --quiet show fewer messages 119s --doc-dir PATH use .rst documentation in PATH (this may result in 119s better stubs in some cases; consider setting this to 119s DIR/Python-X.Y.Z/Doc/library) 119s --search-path PATH specify module search directories, separated by ':' 119s (currently only used if --no-import is given) 119s -o, --output PATH change the output directory [default: out] 119s -m, --module MODULE generate stub for module; can repeat for more modules 119s -p, --package PACKAGE 119s generate stubs for package recursively; can be 119s repeated 119s --version show program's version number and exit 119s + stubtest --help 119s usage: stubtest [-h] [--concise] [--ignore-missing-stub] 119s [--ignore-positional-only] [--allowlist FILE] 119s [--generate-allowlist] [--ignore-unused-allowlist] 119s [--mypy-config-file FILE] [--custom-typeshed-dir DIR] 119s [--check-typeshed] [--version] [--pdb] [--show-traceback] 119s [modules ...] 119s 119s Compares stubs to objects introspected from the runtime. 119s 119s positional arguments: 119s modules Modules to test 119s 119s options: 119s -h, --help show this help message and exit 119s --concise Makes stubtest's output more concise, one line per 119s error 119s --ignore-missing-stub 119s Ignore errors for stub missing things that are present 119s at runtime 119s --ignore-positional-only 119s Ignore errors for whether an argument should or 119s shouldn't be positional-only 119s --allowlist, --whitelist FILE 119s Use file as an allowlist. Can be passed multiple times 119s to combine multiple allowlists. Allowlists can be 119s created with --generate-allowlist. Allowlists support 119s regular expressions. 119s --generate-allowlist, --generate-whitelist 119s Print an allowlist (to stdout) to be used with 119s --allowlist 119s --ignore-unused-allowlist, --ignore-unused-whitelist 119s Ignore unused allowlist entries 119s --mypy-config-file FILE 119s Use specified mypy config file to determine mypy 119s plugins and mypy path 119s --custom-typeshed-dir DIR 119s Use the custom typeshed in DIR 119s --check-typeshed Check all stdlib modules in typeshed 119s --version show program's version number and exit 119s --pdb Invoke pdb on fatal error 119s --show-traceback, --tb 119s Show traceback on fatal error 119s + export TEST_MYPYC=1 119s + TEST_MYPYC=1 119s + rm -Rf mypy mypyc 119s + cp -r /usr/lib/python3/dist-packages/mypy ./ 119s + cp -r /usr/lib/python3/dist-packages/mypyc ./ 119s + mypy_test_prefix= 119s + pytest-3 -v --pyargs mypy -k 'not (test_bad_eq_version_check or test_bad_ge_version_check or test_parse_invalid_case or test_parse_invalid_section or test_update_data or testDaemonStatusKillRestartRecheck)' 119s ============================= test session starts ============================== 119s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 119s cachedir: .pytest_cache 119s rootdir: /tmp/autopkgtest.2CoNDd/autopkgtest_tmp 119s plugins: typeguard-4.4.2, xdist-3.6.1 120s collecting ... collected 20 items / 5 deselected / 15 selected 120s 120s test/meta/test_diff_helper.py::DiffHelperSuite::test_diff_ranges PASSED [ 6%] 120s test/meta/test_diff_helper.py::DiffHelperSuite::test_render_diff_range PASSED [ 13%] 120s test/test_config_parser.py::FindConfigFileSuite::test_no_config PASSED [ 20%] 120s test/test_config_parser.py::FindConfigFileSuite::test_parent_config_with_and_without_git PASSED [ 26%] 120s test/test_config_parser.py::FindConfigFileSuite::test_precedence PASSED [ 33%] 120s test/test_config_parser.py::FindConfigFileSuite::test_precedence_missing_section PASSED [ 40%] 120s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace PASSED [ 46%] 120s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_explicit_base PASSED [ 53%] 120s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_multi_dir PASSED [ 60%] 120s test/test_find_sources.py::SourceFinderSuite::test_crawl_no_namespace PASSED [ 66%] 120s test/test_find_sources.py::SourceFinderSuite::test_find_sources_exclude PASSED [ 73%] 120s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace PASSED [ 80%] 120s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_explicit_base PASSED [ 86%] 120s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_multi_dir PASSED [ 93%] 120s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_no_namespace PASSED [100%] 120s 120s ======================= 15 passed, 5 deselected in 0.36s ======================= 120s + mypy_test_prefix= 120s + pytest-3 -v --pyargs mypyc 120s ============================= test session starts ============================== 120s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 120s cachedir: .pytest_cache 120s rootdir: /tmp/autopkgtest.2CoNDd/autopkgtest_tmp 120s plugins: typeguard-4.4.2, xdist-3.6.1 121s collecting ... collected 125 items 121s 121s test/test_cheader.py::TestHeaderInclusion::test_primitives_included_in_header PASSED [ 0%] 121s test/test_emit.py::TestEmitter::test_emit_line PASSED [ 1%] 121s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_simple_type PASSED [ 2%] 121s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_tuple PASSED [ 3%] 121s test/test_emit.py::TestEmitter::test_label PASSED [ 4%] 121s test/test_emit.py::TestEmitter::test_object_annotation PASSED [ 4%] 121s test/test_emit.py::TestEmitter::test_reg PASSED [ 5%] 121s test/test_emitclass.py::TestEmitClass::test_getter_name PASSED [ 6%] 121s test/test_emitclass.py::TestEmitClass::test_setter_name PASSED [ 7%] 121s test/test_emitclass.py::TestEmitClass::test_slot_key PASSED [ 8%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_int PASSED [ 8%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_multi PASSED [ 9%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_i64 PASSED [ 10%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_int PASSED [ 11%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch PASSED [ 12%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error PASSED [ 12%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error_next_block PASSED [ 13%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else PASSED [ 14%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else_negated PASSED [ 15%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_rare PASSED [ 16%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call PASSED [ 16%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call_two_args PASSED [ 17%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_merge PASSED [ 18%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_1 PASSED [ 19%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_2 PASSED [ 20%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_3 PASSED [ 20%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_4 PASSED [ 21%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_comparison_op PASSED [ 22%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref PASSED [ 23%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_int PASSED [ 24%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple PASSED [ 24%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple_nested PASSED [ 25%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_contains PASSED [ 26%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_get_item PASSED [ 27%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_set_item PASSED [ 28%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_update PASSED [ 28%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_extend PASSED [ 29%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr PASSED [ 30%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_merged PASSED [ 31%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_non_refcounted PASSED [ 32%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_with_bitmap PASSED [ 32%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_element_ptr PASSED [ 33%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto PASSED [ 34%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto_next_block PASSED [ 35%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref PASSED [ 36%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref_int PASSED [ 36%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_add PASSED [ 37%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_neg PASSED [ 38%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_op PASSED [ 39%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_sub PASSED [ 40%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_integer PASSED [ 40%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_append PASSED [ 41%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_get_item PASSED [ 42%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_set_item PASSED [ 43%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_None PASSED [ 44%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_address PASSED [ 44%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_mem PASSED [ 45%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_signed PASSED [ 46%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_unsigned PASSED [ 47%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_new_dict PASSED [ 48%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_return PASSED [ 48%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr PASSED [ 49%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_init_with_bitmap PASSED [ 50%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_no_error PASSED [ 51%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted PASSED [ 52%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted_no_error PASSED [ 52%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_with_bitmap PASSED [ 53%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_mem PASSED [ 54%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_tuple_get PASSED [ 55%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_i64 PASSED [ 56%] 121s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_int PASSED [ 56%] 121s test/test_emitfunc.py::TestGenerateFunction::test_register PASSED [ 57%] 121s test/test_emitfunc.py::TestGenerateFunction::test_simple PASSED [ 58%] 121s test/test_emitwrapper.py::TestArgCheck::test_check_int PASSED [ 59%] 121s test/test_emitwrapper.py::TestArgCheck::test_check_list PASSED [ 60%] 130s test/test_external.py::TestExternal::test_c_unit_test PASSED [ 60%] 130s test/test_ircheck.py::TestIrcheck::test_block_not_terminated_empty_block PASSED [ 61%] 130s test/test_ircheck.py::TestIrcheck::test_can_coerce_to PASSED [ 62%] 130s test/test_ircheck.py::TestIrcheck::test_duplicate_op PASSED [ 63%] 130s test/test_ircheck.py::TestIrcheck::test_invalid_assign PASSED [ 64%] 130s test/test_ircheck.py::TestIrcheck::test_invalid_goto PASSED [ 64%] 130s test/test_ircheck.py::TestIrcheck::test_invalid_op_source PASSED [ 65%] 130s test/test_ircheck.py::TestIrcheck::test_invalid_register_source PASSED [ 66%] 130s test/test_ircheck.py::TestIrcheck::test_invalid_return_type PASSED [ 67%] 130s test/test_ircheck.py::TestIrcheck::test_load_address_declares_register PASSED [ 68%] 130s test/test_ircheck.py::TestIrcheck::test_pprint PASSED [ 68%] 130s test/test_ircheck.py::TestIrcheck::test_valid_fn PASSED [ 69%] 130s test/test_ircheck.py::TestIrcheck::test_valid_goto PASSED [ 70%] 130s test/test_literals.py::TestLiterals::test_encode_bytes_values PASSED [ 71%] 130s test/test_literals.py::TestLiterals::test_encode_int_values PASSED [ 72%] 130s test/test_literals.py::TestLiterals::test_encode_str_values PASSED [ 72%] 130s test/test_literals.py::TestLiterals::test_format_str_literal PASSED [ 73%] 130s test/test_literals.py::TestLiterals::test_simple_literal_index PASSED [ 74%] 130s test/test_literals.py::TestLiterals::test_tuple_literal PASSED [ 75%] 130s test/test_namegen.py::TestNameGen::test_candidate_suffixes PASSED [ 76%] 130s test/test_namegen.py::TestNameGen::test_exported_name PASSED [ 76%] 130s test/test_namegen.py::TestNameGen::test_make_module_translation_map PASSED [ 77%] 130s test/test_namegen.py::TestNameGen::test_name_generator PASSED [ 78%] 130s test/test_pprint.py::TestGenerateNames::test_arg PASSED [ 79%] 130s test/test_pprint.py::TestGenerateNames::test_assign PASSED [ 80%] 130s test/test_pprint.py::TestGenerateNames::test_empty PASSED [ 80%] 130s test/test_pprint.py::TestGenerateNames::test_int_op PASSED [ 81%] 130s test/test_rarray.py::TestRArray::test_alignment PASSED [ 82%] 130s test/test_rarray.py::TestRArray::test_basics PASSED [ 83%] 130s test/test_rarray.py::TestRArray::test_eq PASSED [ 84%] 130s test/test_rarray.py::TestRArray::test_hash PASSED [ 84%] 130s test/test_rarray.py::TestRArray::test_size PASSED [ 85%] 130s test/test_rarray.py::TestRArray::test_str_conversion PASSED [ 86%] 130s test/test_struct.py::TestStruct::test_eq_and_hash PASSED [ 87%] 130s test/test_struct.py::TestStruct::test_runtime_subtype PASSED [ 88%] 130s test/test_struct.py::TestStruct::test_struct_offsets PASSED [ 88%] 130s test/test_struct.py::TestStruct::test_struct_str PASSED [ 89%] 130s test/test_tuplename.py::TestTupleNames::test_names PASSED [ 90%] 130s test/test_typeops.py::TestSubtype::test_bit PASSED [ 91%] 130s test/test_typeops.py::TestSubtype::test_bool PASSED [ 92%] 130s test/test_typeops.py::TestSubtype::test_int16 PASSED [ 92%] 130s test/test_typeops.py::TestSubtype::test_int32 PASSED [ 93%] 130s test/test_typeops.py::TestSubtype::test_int64 PASSED [ 94%] 130s test/test_typeops.py::TestRuntimeSubtype::test_bit PASSED [ 95%] 130s test/test_typeops.py::TestRuntimeSubtype::test_bool PASSED [ 96%] 130s test/test_typeops.py::TestRuntimeSubtype::test_union PASSED [ 96%] 130s test/test_typeops.py::TestUnionSimplification::test_cannot_simplify PASSED [ 97%] 130s test/test_typeops.py::TestUnionSimplification::test_nested PASSED [ 98%] 130s test/test_typeops.py::TestUnionSimplification::test_remove_duplicate PASSED [ 99%] 130s test/test_typeops.py::TestUnionSimplification::test_simple_type_result PASSED [100%] 130s 130s ============================= 125 passed in 9.74s ============================== 130s + rm -Rf mypy/typeshed 130s + /usr/bin/mypy --config-file /tmp/autopkgtest.2CoNDd/build.W38/src/mypy_self_check.ini mypy 148s Success: no issues found in 181 source files 149s autopkgtest [15:17:26]: test run-unit-test: -----------------------] 149s run-unit-test PASS 149s autopkgtest [15:17:26]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 150s autopkgtest [15:17:27]: test autodep8-python3: preparing testbed 220s autopkgtest [15:18:37]: testbed dpkg architecture: amd64 221s autopkgtest [15:18:38]: testbed apt version: 3.0.0 221s autopkgtest [15:18:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 221s autopkgtest [15:18:38]: testbed release detected to be: questing 222s autopkgtest [15:18:39]: updating testbed package index (apt update) 222s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 222s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 222s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 222s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 223s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.5 kB] 223s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1538 kB] 223s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [150 kB] 223s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [199 kB] 223s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [141 kB] 223s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [603 kB] 223s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1473 kB] 223s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [49.1 kB] 223s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [23.1 kB] 223s Fetched 4320 kB in 1s (3855 kB/s) 224s Reading package lists... 225s autopkgtest [15:18:42]: upgrading testbed (apt dist-upgrade and autopurge) 225s Reading package lists... 225s Building dependency tree... 225s Reading state information... 225s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 225s Starting 2 pkgProblemResolver with broken count: 0 225s Done 226s Entering ResolveByKeep 226s 226s Calculating upgrade... 226s The following packages will be upgraded: 226s debianutils libmbim-glib4 libmbim-proxy libnftnl11 libqmi-glib5 libqmi-proxy 226s python3-lazr.restfulclient 226s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 226s Need to get 1378 kB of archives. 226s After this operation, 139 kB disk space will be freed. 226s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 227s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 227s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmbim-proxy amd64 1.32.0-1 [6276 B] 227s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 libmbim-glib4 amd64 1.32.0-1 [233 kB] 227s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libqmi-proxy amd64 1.36.0-1 [6220 B] 227s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 libqmi-glib5 amd64 1.36.0-1 [920 kB] 227s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 python3-lazr.restfulclient all 0.14.6-3 [51.0 kB] 227s Fetched 1378 kB in 1s (2382 kB/s) 227s (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 ... 80514 files and directories currently installed.) 227s Preparing to unpack .../debianutils_5.22_amd64.deb ... 227s Unpacking debianutils (5.22) over (5.21) ... 227s Setting up debianutils (5.22) ... 228s (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 ... 80514 files and directories currently installed.) 228s Preparing to unpack .../0-libnftnl11_1.2.9-1_amd64.deb ... 228s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 228s Preparing to unpack .../1-libmbim-proxy_1.32.0-1_amd64.deb ... 228s Unpacking libmbim-proxy (1.32.0-1) over (1.31.2-0ubuntu4) ... 228s Preparing to unpack .../2-libmbim-glib4_1.32.0-1_amd64.deb ... 228s Unpacking libmbim-glib4:amd64 (1.32.0-1) over (1.31.2-0ubuntu4) ... 228s Preparing to unpack .../3-libqmi-proxy_1.36.0-1_amd64.deb ... 228s Unpacking libqmi-proxy (1.36.0-1) over (1.35.6-1) ... 228s Preparing to unpack .../4-libqmi-glib5_1.36.0-1_amd64.deb ... 228s Unpacking libqmi-glib5:amd64 (1.36.0-1) over (1.35.6-1) ... 228s Preparing to unpack .../5-python3-lazr.restfulclient_0.14.6-3_all.deb ... 228s Unpacking python3-lazr.restfulclient (0.14.6-3) over (0.14.6-2) ... 228s Setting up libnftnl11:amd64 (1.2.9-1) ... 228s Setting up python3-lazr.restfulclient (0.14.6-3) ... 228s Setting up libmbim-glib4:amd64 (1.32.0-1) ... 228s Setting up libmbim-proxy (1.32.0-1) ... 228s Setting up libqmi-glib5:amd64 (1.36.0-1) ... 228s Setting up libqmi-proxy (1.36.0-1) ... 228s Processing triggers for libc-bin (2.41-6ubuntu1) ... 228s Processing triggers for man-db (2.13.0-1) ... 229s Reading package lists... 230s Building dependency tree... 230s Reading state information... 230s Starting pkgProblemResolver with broken count: 0 230s Starting 2 pkgProblemResolver with broken count: 0 230s Done 230s Solving dependencies... 231s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 234s Starting pkgProblemResolver with broken count: 0 234s Starting 2 pkgProblemResolver with broken count: 0 234s Done 234s The following NEW packages will be installed: 234s python3-all python3-mypy python3-mypy-extensions python3-psutil 234s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 234s Need to get 9409 kB of archives. 234s After this operation, 43.7 MB of additional disk space will be used. 234s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 python3-all amd64 3.13.3-1 [882 B] 234s Get:2 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-mypy-extensions all 1.0.0-1 [6148 B] 234s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 python3-psutil amd64 7.0.0-2 [188 kB] 235s Get:4 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-mypy amd64 1.15.0-4 [9214 kB] 235s Fetched 9409 kB in 1s (10.8 MB/s) 235s Selecting previously unselected package python3-all. 235s (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 ... 80514 files and directories currently installed.) 235s Preparing to unpack .../python3-all_3.13.3-1_amd64.deb ... 235s Unpacking python3-all (3.13.3-1) ... 235s Selecting previously unselected package python3-mypy-extensions. 235s Preparing to unpack .../python3-mypy-extensions_1.0.0-1_all.deb ... 235s Unpacking python3-mypy-extensions (1.0.0-1) ... 235s Selecting previously unselected package python3-psutil. 235s Preparing to unpack .../python3-psutil_7.0.0-2_amd64.deb ... 235s Unpacking python3-psutil (7.0.0-2) ... 235s Selecting previously unselected package python3-mypy. 235s Preparing to unpack .../python3-mypy_1.15.0-4_amd64.deb ... 235s Unpacking python3-mypy (1.15.0-4) ... 236s Setting up python3-mypy-extensions (1.0.0-1) ... 236s Setting up python3-all (3.13.3-1) ... 236s Setting up python3-psutil (7.0.0-2) ... 236s Setting up python3-mypy (1.15.0-4) ... 240s autopkgtest [15:18:57]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import mypy; print(mypy)" ; done 240s autopkgtest [15:18:57]: test autodep8-python3: [----------------------- 240s Testing with python3.13: 240s 240s autopkgtest [15:18:57]: test autodep8-python3: -----------------------] 241s autopkgtest [15:18:58]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 241s autodep8-python3 PASS (superficial) 241s autopkgtest [15:18:58]: @@@@@@@@@@@@@@@@@@@@ summary 241s run-unit-test PASS 241s autodep8-python3 PASS (superficial) 246s nova [W] Skipping flock for amd64 246s Creating nova instance adt-questing-amd64-mypy-20250503-151456-juju-7f2275-prod-proposed-migration-environment-23-696c8f8d-c703-449b-a963-8f1618b45908 from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 246s nova [W] Timed out waiting for 42409b1a-2c09-46ae-add8-b4b28f51a48d to get deleted. 246s nova [W] Skipping flock for amd64 246s Creating nova instance adt-questing-amd64-mypy-20250503-151456-juju-7f2275-prod-proposed-migration-environment-23-696c8f8d-c703-449b-a963-8f1618b45908 from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 246s nova [W] Timed out waiting for b41e83ab-f995-4af7-ab99-14bc24f3533f to get deleted.