0s autopkgtest [13:23:27]: starting date and time: 2025-05-02 13:23:27+0000 0s autopkgtest [13:23:27]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [13:23:27]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.6z05a9lg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest --apt-upgrade mypy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytest/8.3.5-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-19.secgroup --name adt-questing-arm64-mypy-20250502-132326-juju-7f2275-prod-proposed-migration-environment-2-e912e6d0-e5d0-4c02-8bbe-8fa257d5ef7b --image adt/ubuntu-questing-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/ 206s autopkgtest [13:26:53]: testbed dpkg architecture: arm64 206s autopkgtest [13:26:53]: testbed apt version: 3.0.0 207s autopkgtest [13:26:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 207s autopkgtest [13:26:54]: testbed release detected to be: None 208s autopkgtest [13:26:55]: updating testbed package index (apt update) 208s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 209s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 209s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 209s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 209s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2029 kB] 209s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [171 kB] 209s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB] 209s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [218 kB] 209s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1476 kB] 209s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [15.4 kB] 210s Fetched 4063 kB in 1s (3019 kB/s) 211s Reading package lists... 212s autopkgtest [13:26:59]: upgrading testbed (apt dist-upgrade and autopurge) 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 213s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 213s Starting 2 pkgProblemResolver with broken count: 0 213s Done 214s Entering ResolveByKeep 215s 215s Calculating upgrade... 215s The following packages will be upgraded: 215s htop libnpth0t64 mokutil mtd-utils nano usb.ids 216s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 216s Need to get 1196 kB of archives. 216s After this operation, 727 kB of additional disk space will be used. 216s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libnpth0t64 arm64 1.8-3 [8818 B] 216s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 nano arm64 8.4-1 [290 kB] 216s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 usb.ids all 2025.04.01-1 [223 kB] 216s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 htop arm64 3.4.1-4 [177 kB] 216s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 mokutil arm64 0.7.2-1 [28.4 kB] 216s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu1 [469 kB] 218s Fetched 1196 kB in 1s (1940 kB/s) 219s (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 ... 117820 files and directories currently installed.) 219s Preparing to unpack .../libnpth0t64_1.8-3_arm64.deb ... 219s Unpacking libnpth0t64:arm64 (1.8-3) over (1.8-2) ... 219s Setting up libnpth0t64:arm64 (1.8-3) ... 219s (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 ... 117820 files and directories currently installed.) 219s Preparing to unpack .../archives/nano_8.4-1_arm64.deb ... 219s Unpacking nano (8.4-1) over (8.3-1) ... 219s Preparing to unpack .../usb.ids_2025.04.01-1_all.deb ... 219s Unpacking usb.ids (2025.04.01-1) over (2025.01.14-1) ... 220s Preparing to unpack .../htop_3.4.1-4_arm64.deb ... 220s Unpacking htop (3.4.1-4) over (3.4.0-2) ... 221s Preparing to unpack .../mokutil_0.7.2-1_arm64.deb ... 221s Unpacking mokutil (0.7.2-1) over (0.6.0-2build3) ... 221s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu1_arm64.deb ... 221s Unpacking mtd-utils (1:2.3.0-1ubuntu1) over (1:2.2.0-2ubuntu2) ... 221s Setting up mokutil (0.7.2-1) ... 221s Setting up htop (3.4.1-4) ... 221s Setting up mtd-utils (1:2.3.0-1ubuntu1) ... 221s Setting up usb.ids (2025.04.01-1) ... 221s Setting up nano (8.4-1) ... 221s Installing new version of config file /etc/nanorc ... 221s Processing triggers for libc-bin (2.41-6ubuntu1) ... 221s Processing triggers for man-db (2.13.0-1) ... 223s Processing triggers for install-info (7.1.1-1) ... 224s Reading package lists... 224s Building dependency tree... 224s Reading state information... 225s Starting pkgProblemResolver with broken count: 0 225s Starting 2 pkgProblemResolver with broken count: 0 225s Done 225s Solving dependencies... 226s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 229s autopkgtest [13:27:16]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 14:37:51 UTC 2025 230s autopkgtest [13:27:17]: @@@@@@@@@@@@@@@@@@@@ apt-source mypy 234s Get:1 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (dsc) [3155 B] 234s Get:2 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (tar) [3240 kB] 234s Get:3 http://ftpmaster.internal/ubuntu questing/universe mypy 1.15.0-4 (diff) [19.0 kB] 234s gpgv: Signature made Mon Feb 24 16:41:54 2025 UTC 234s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 234s gpgv: Can't check signature: No public key 234s dpkg-source: warning: cannot verify inline signature for ./mypy_1.15.0-4.dsc: no acceptable signature found 234s autopkgtest [13:27:21]: testing package mypy version 1.15.0-4 235s autopkgtest [13:27:22]: build not needed 240s autopkgtest [13:27:27]: test run-unit-test: preparing testbed 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 241s The following NEW packages will be installed: 241s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu g++ g++-14 241s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 241s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libcc1-0 241s libexpat1-dev libgcc-14-dev libgomp1 libhwasan0 libisl23 libitm1 241s libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 241s libpython3-dev libpython3.13-dev libstdc++-14-dev libtsan2 libubsan1 241s libxslt1.1 mypy mypy-doc python3-dev python3-distlib python3-execnet 241s python3-filelock python3-iniconfig python3-lxml python3-mypy 241s python3-mypy-extensions python3-orjson python3-packaging python3-pip-whl 241s python3-platformdirs python3-pluggy python3-psutil python3-pytest 241s python3-pytest-xdist python3-setuptools-whl python3-tomli python3-typeshed 241s python3-virtualenv python3-wheel-whl python3.13-dev zlib1g-dev 242s 0 upgraded, 56 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 83.5 MB of archives. 242s After this operation, 325 MB of additional disk space will be used. 242s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libisl23 arm64 0.27-1 [676 kB] 242s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 242s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [10.6 MB] 243s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14 arm64 14.2.0-19ubuntu2 [1026 B] 243s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [5558 B] 243s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 cpp arm64 4:14.2.0-1ubuntu1 [22.4 kB] 243s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 libcc1-0 arm64 15-20250404-0ubuntu1 [49.1 kB] 243s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libgomp1 arm64 15-20250404-0ubuntu1 [147 kB] 243s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 libitm1 arm64 15-20250404-0ubuntu1 [27.8 kB] 243s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libasan8 arm64 15-20250404-0ubuntu1 [2922 kB] 243s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 liblsan0 arm64 15-20250404-0ubuntu1 [1318 kB] 243s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 libtsan2 arm64 15-20250404-0ubuntu1 [2692 kB] 243s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 libubsan1 arm64 15-20250404-0ubuntu1 [1177 kB] 243s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 libhwasan0 arm64 15-20250404-0ubuntu1 [1640 kB] 244s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 libgcc-14-dev arm64 14.2.0-19ubuntu2 [2593 kB] 244s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [20.9 MB] 244s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14 arm64 14.2.0-19ubuntu2 [529 kB] 244s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [1200 B] 244s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 gcc arm64 4:14.2.0-1ubuntu1 [4998 B] 244s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libstdc++-14-dev arm64 14.2.0-19ubuntu2 [2501 kB] 244s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [12.1 MB] 245s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14 arm64 14.2.0-19ubuntu2 [23.0 kB] 245s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 g++-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [956 B] 245s Get:24 http://ftpmaster.internal/ubuntu questing/main arm64 g++ arm64 4:14.2.0-1ubuntu1 [1080 B] 245s Get:25 http://ftpmaster.internal/ubuntu questing/main arm64 libexpat1-dev arm64 2.7.1-1 [128 kB] 245s Get:26 http://ftpmaster.internal/ubuntu questing/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 245s Get:27 http://ftpmaster.internal/ubuntu questing/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 245s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 245s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 245s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libpython3.13-dev arm64 3.13.3-1 [5405 kB] 245s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 libpython3-dev arm64 3.13.3-1 [10.8 kB] 245s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 245s Get:33 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-mypy-extensions all 1.0.0-1 [6148 B] 245s Get:34 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-tomli arm64 2.2.1-2build1 [121 kB] 245s Get:35 http://ftpmaster.internal/ubuntu questing/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 245s Get:36 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-mypy arm64 1.15.0-4 [8687 kB] 245s Get:37 http://ftpmaster.internal/ubuntu questing/universe arm64 mypy all 1.15.0-4 [25.4 kB] 245s Get:38 http://ftpmaster.internal/ubuntu questing/universe arm64 mypy-doc all 1.15.0-4 [361 kB] 245s Get:39 http://ftpmaster.internal/ubuntu questing/main arm64 python3.13-dev arm64 3.13.3-1 [508 kB] 245s Get:40 http://ftpmaster.internal/ubuntu questing/main arm64 python3-dev arm64 3.13.3-1 [26.7 kB] 245s Get:41 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-distlib all 0.3.9-1 [267 kB] 245s Get:42 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-execnet all 2.1.1-1 [33.4 kB] 245s Get:43 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-filelock all 3.18.0-1 [13.0 kB] 245s Get:44 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 245s Get:45 http://ftpmaster.internal/ubuntu questing/main arm64 python3-lxml arm64 5.3.2-1 [1258 kB] 245s Get:46 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-orjson arm64 3.10.7-2build1 [267 kB] 245s Get:47 http://ftpmaster.internal/ubuntu questing/main arm64 python3-packaging all 24.2-1 [51.5 kB] 245s Get:48 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pip-whl all 25.0+dfsg-1 [1446 kB] 245s Get:49 http://ftpmaster.internal/ubuntu questing/main arm64 python3-platformdirs all 4.3.6-1 [16.8 kB] 245s Get:50 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 245s Get:51 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 python3-pytest all 8.3.5-2 [252 kB] 245s Get:52 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pytest-xdist all 3.6.1-1 [33.8 kB] 245s Get:53 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-setuptools-whl all 75.8.0-1 [1152 kB] 245s Get:54 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-typeshed all 0.0~git20241223.ea91db2-1 [1548 kB] 246s Get:55 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-wheel-whl all 0.45.1-1 [74.6 kB] 246s Get:56 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-virtualenv all 20.29.1+ds-1 [72.6 kB] 247s Fetched 83.5 MB in 4s (20.6 MB/s) 247s Selecting previously unselected package libisl23:arm64. 247s (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 ... 117821 files and directories currently installed.) 247s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 247s Unpacking libisl23:arm64 (0.27-1) ... 247s Selecting previously unselected package libmpc3:arm64. 247s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 247s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 247s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 248s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 248s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 248s Selecting previously unselected package cpp-14. 248s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_arm64.deb ... 248s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 248s Selecting previously unselected package cpp-aarch64-linux-gnu. 249s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 249s Unpacking cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 249s Selecting previously unselected package cpp. 249s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_arm64.deb ... 249s Unpacking cpp (4:14.2.0-1ubuntu1) ... 249s Selecting previously unselected package libcc1-0:arm64. 250s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_arm64.deb ... 250s Unpacking libcc1-0:arm64 (15-20250404-0ubuntu1) ... 250s Selecting previously unselected package libgomp1:arm64. 250s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_arm64.deb ... 250s Unpacking libgomp1:arm64 (15-20250404-0ubuntu1) ... 250s Selecting previously unselected package libitm1:arm64. 251s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_arm64.deb ... 251s Unpacking libitm1:arm64 (15-20250404-0ubuntu1) ... 251s Selecting previously unselected package libasan8:arm64. 251s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_arm64.deb ... 251s Unpacking libasan8:arm64 (15-20250404-0ubuntu1) ... 251s Selecting previously unselected package liblsan0:arm64. 252s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_arm64.deb ... 252s Unpacking liblsan0:arm64 (15-20250404-0ubuntu1) ... 252s Selecting previously unselected package libtsan2:arm64. 252s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_arm64.deb ... 252s Unpacking libtsan2:arm64 (15-20250404-0ubuntu1) ... 252s Selecting previously unselected package libubsan1:arm64. 252s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_arm64.deb ... 252s Unpacking libubsan1:arm64 (15-20250404-0ubuntu1) ... 252s Selecting previously unselected package libhwasan0:arm64. 253s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_arm64.deb ... 253s Unpacking libhwasan0:arm64 (15-20250404-0ubuntu1) ... 253s Selecting previously unselected package libgcc-14-dev:arm64. 253s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_arm64.deb ... 253s Unpacking libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 254s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 254s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 254s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 254s Selecting previously unselected package gcc-14. 255s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_arm64.deb ... 255s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 255s Selecting previously unselected package gcc-aarch64-linux-gnu. 255s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 255s Unpacking gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 255s Selecting previously unselected package gcc. 256s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_arm64.deb ... 256s Unpacking gcc (4:14.2.0-1ubuntu1) ... 256s Selecting previously unselected package libstdc++-14-dev:arm64. 256s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_arm64.deb ... 256s Unpacking libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 256s Selecting previously unselected package g++-14-aarch64-linux-gnu. 257s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 257s Unpacking g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 257s Selecting previously unselected package g++-14. 258s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_arm64.deb ... 258s Unpacking g++-14 (14.2.0-19ubuntu2) ... 259s Selecting previously unselected package g++-aarch64-linux-gnu. 259s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 259s Unpacking g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 259s Selecting previously unselected package g++. 260s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_arm64.deb ... 260s Unpacking g++ (4:14.2.0-1ubuntu1) ... 260s Selecting previously unselected package libexpat1-dev:arm64. 261s Preparing to unpack .../24-libexpat1-dev_2.7.1-1_arm64.deb ... 261s Unpacking libexpat1-dev:arm64 (2.7.1-1) ... 261s Selecting previously unselected package libjs-jquery. 261s Preparing to unpack .../25-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 261s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 261s Selecting previously unselected package libjs-underscore. 262s Preparing to unpack .../26-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 262s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 262s Selecting previously unselected package libjs-sphinxdoc. 263s Preparing to unpack .../27-libjs-sphinxdoc_8.1.3-5_all.deb ... 263s Unpacking libjs-sphinxdoc (8.1.3-5) ... 263s Selecting previously unselected package zlib1g-dev:arm64. 263s Preparing to unpack .../28-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 263s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 263s Selecting previously unselected package libpython3.13-dev:arm64. 264s Preparing to unpack .../29-libpython3.13-dev_3.13.3-1_arm64.deb ... 264s Unpacking libpython3.13-dev:arm64 (3.13.3-1) ... 264s Selecting previously unselected package libpython3-dev:arm64. 265s Preparing to unpack .../30-libpython3-dev_3.13.3-1_arm64.deb ... 265s Unpacking libpython3-dev:arm64 (3.13.3-1) ... 265s Selecting previously unselected package libxslt1.1:arm64. 265s Preparing to unpack .../31-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 265s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 265s Selecting previously unselected package python3-mypy-extensions. 265s Preparing to unpack .../32-python3-mypy-extensions_1.0.0-1_all.deb ... 265s Unpacking python3-mypy-extensions (1.0.0-1) ... 265s Selecting previously unselected package python3-tomli. 266s Preparing to unpack .../33-python3-tomli_2.2.1-2build1_arm64.deb ... 266s Unpacking python3-tomli (2.2.1-2build1) ... 266s Selecting previously unselected package python3-psutil. 266s Preparing to unpack .../34-python3-psutil_5.9.8-2build3_arm64.deb ... 266s Unpacking python3-psutil (5.9.8-2build3) ... 266s Selecting previously unselected package python3-mypy. 266s Preparing to unpack .../35-python3-mypy_1.15.0-4_arm64.deb ... 266s Unpacking python3-mypy (1.15.0-4) ... 266s Selecting previously unselected package mypy. 266s Preparing to unpack .../36-mypy_1.15.0-4_all.deb ... 266s Unpacking mypy (1.15.0-4) ... 266s Selecting previously unselected package mypy-doc. 267s Preparing to unpack .../37-mypy-doc_1.15.0-4_all.deb ... 267s Unpacking mypy-doc (1.15.0-4) ... 267s Selecting previously unselected package python3.13-dev. 267s Preparing to unpack .../38-python3.13-dev_3.13.3-1_arm64.deb ... 267s Unpacking python3.13-dev (3.13.3-1) ... 267s Selecting previously unselected package python3-dev. 267s Preparing to unpack .../39-python3-dev_3.13.3-1_arm64.deb ... 267s Unpacking python3-dev (3.13.3-1) ... 267s Selecting previously unselected package python3-distlib. 267s Preparing to unpack .../40-python3-distlib_0.3.9-1_all.deb ... 267s Unpacking python3-distlib (0.3.9-1) ... 267s Selecting previously unselected package python3-execnet. 267s Preparing to unpack .../41-python3-execnet_2.1.1-1_all.deb ... 267s Unpacking python3-execnet (2.1.1-1) ... 267s Selecting previously unselected package python3-filelock. 268s Preparing to unpack .../42-python3-filelock_3.18.0-1_all.deb ... 268s Unpacking python3-filelock (3.18.0-1) ... 268s Selecting previously unselected package python3-iniconfig. 268s Preparing to unpack .../43-python3-iniconfig_1.1.1-2_all.deb ... 268s Unpacking python3-iniconfig (1.1.1-2) ... 268s Selecting previously unselected package python3-lxml:arm64. 268s Preparing to unpack .../44-python3-lxml_5.3.2-1_arm64.deb ... 268s Unpacking python3-lxml:arm64 (5.3.2-1) ... 268s Selecting previously unselected package python3-orjson. 268s Preparing to unpack .../45-python3-orjson_3.10.7-2build1_arm64.deb ... 268s Unpacking python3-orjson (3.10.7-2build1) ... 268s Selecting previously unselected package python3-packaging. 268s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 268s Unpacking python3-packaging (24.2-1) ... 268s Selecting previously unselected package python3-pip-whl. 268s Preparing to unpack .../47-python3-pip-whl_25.0+dfsg-1_all.deb ... 268s Unpacking python3-pip-whl (25.0+dfsg-1) ... 268s Selecting previously unselected package python3-platformdirs. 269s Preparing to unpack .../48-python3-platformdirs_4.3.6-1_all.deb ... 269s Unpacking python3-platformdirs (4.3.6-1) ... 269s Selecting previously unselected package python3-pluggy. 269s Preparing to unpack .../49-python3-pluggy_1.5.0-1_all.deb ... 269s Unpacking python3-pluggy (1.5.0-1) ... 269s Selecting previously unselected package python3-pytest. 269s Preparing to unpack .../50-python3-pytest_8.3.5-2_all.deb ... 269s Unpacking python3-pytest (8.3.5-2) ... 269s Selecting previously unselected package python3-pytest-xdist. 269s Preparing to unpack .../51-python3-pytest-xdist_3.6.1-1_all.deb ... 269s Unpacking python3-pytest-xdist (3.6.1-1) ... 269s Selecting previously unselected package python3-setuptools-whl. 269s Preparing to unpack .../52-python3-setuptools-whl_75.8.0-1_all.deb ... 269s Unpacking python3-setuptools-whl (75.8.0-1) ... 269s Selecting previously unselected package python3-typeshed. 270s Preparing to unpack .../53-python3-typeshed_0.0~git20241223.ea91db2-1_all.deb ... 270s Unpacking python3-typeshed (0.0~git20241223.ea91db2-1) ... 270s Selecting previously unselected package python3-wheel-whl. 270s Preparing to unpack .../54-python3-wheel-whl_0.45.1-1_all.deb ... 270s Unpacking python3-wheel-whl (0.45.1-1) ... 270s Selecting previously unselected package python3-virtualenv. 270s Preparing to unpack .../55-python3-virtualenv_20.29.1+ds-1_all.deb ... 270s Unpacking python3-virtualenv (20.29.1+ds-1) ... 270s Setting up python3-iniconfig (1.1.1-2) ... 271s Setting up python3-orjson (3.10.7-2build1) ... 271s Setting up python3-setuptools-whl (75.8.0-1) ... 271s Setting up python3-filelock (3.18.0-1) ... 271s Setting up python3-tomli (2.2.1-2build1) ... 271s Setting up python3-pip-whl (25.0+dfsg-1) ... 271s Setting up python3-mypy-extensions (1.0.0-1) ... 271s Setting up python3-distlib (0.3.9-1) ... 271s Setting up libgomp1:arm64 (15-20250404-0ubuntu1) ... 271s Setting up python3-platformdirs (4.3.6-1) ... 272s Setting up python3-psutil (5.9.8-2build3) ... 272s Setting up python3-packaging (24.2-1) ... 272s Setting up libexpat1-dev:arm64 (2.7.1-1) ... 272s Setting up python3-typeshed (0.0~git20241223.ea91db2-1) ... 272s Setting up libmpc3:arm64 (1.3.1-1build2) ... 272s Setting up python3-mypy (1.15.0-4) ... 274s Setting up python3-pluggy (1.5.0-1) ... 274s Setting up libubsan1:arm64 (15-20250404-0ubuntu1) ... 274s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 274s Setting up libhwasan0:arm64 (15-20250404-0ubuntu1) ... 274s Setting up libasan8:arm64 (15-20250404-0ubuntu1) ... 274s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 274s Setting up mypy (1.15.0-4) ... 274s Setting up libtsan2:arm64 (15-20250404-0ubuntu1) ... 274s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 274s Setting up libisl23:arm64 (0.27-1) ... 274s Setting up python3-execnet (2.1.1-1) ... 274s Setting up python3-wheel-whl (0.45.1-1) ... 274s Setting up libcc1-0:arm64 (15-20250404-0ubuntu1) ... 274s Setting up liblsan0:arm64 (15-20250404-0ubuntu1) ... 274s Setting up libitm1:arm64 (15-20250404-0ubuntu1) ... 274s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 274s Setting up python3-pytest (8.3.5-2) ... 274s Setting up python3-virtualenv (20.29.1+ds-1) ... 275s Setting up libpython3.13-dev:arm64 (3.13.3-1) ... 275s Setting up libjs-sphinxdoc (8.1.3-5) ... 275s Setting up mypy-doc (1.15.0-4) ... 275s Setting up cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 275s Setting up python3-lxml:arm64 (5.3.2-1) ... 275s Setting up libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 275s Setting up libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 275s Setting up libpython3-dev:arm64 (3.13.3-1) ... 275s Setting up python3-pytest-xdist (3.6.1-1) ... 275s Setting up python3.13-dev (3.13.3-1) ... 275s Setting up cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 275s Setting up python3-dev (3.13.3-1) ... 275s Setting up cpp-14 (14.2.0-19ubuntu2) ... 275s Setting up cpp (4:14.2.0-1ubuntu1) ... 275s Setting up gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 275s Setting up gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 275s Setting up g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 275s Setting up gcc-14 (14.2.0-19ubuntu2) ... 275s Setting up g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 275s Setting up g++-14 (14.2.0-19ubuntu2) ... 275s Setting up gcc (4:14.2.0-1ubuntu1) ... 275s Setting up g++ (4:14.2.0-1ubuntu1) ... 275s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 275s Processing triggers for man-db (2.13.0-1) ... 276s Processing triggers for libc-bin (2.41-6ubuntu1) ... 277s autopkgtest [13:28:04]: test run-unit-test: [----------------------- 278s + pkg=mypy 278s +++++ readlink -fm /tmp/autopkgtest.cIbQ0b/build.VnN/src/debian/tests/run-unit-test 278s ++++ dirname /tmp/autopkgtest.cIbQ0b/build.VnN/src/debian/tests/run-unit-test 278s +++ dirname /tmp/autopkgtest.cIbQ0b/build.VnN/src/debian/tests 278s ++ dirname /tmp/autopkgtest.cIbQ0b/build.VnN/src/debian 278s + START=/tmp/autopkgtest.cIbQ0b/build.VnN/src 278s + '[' /tmp/autopkgtest.cIbQ0b/autopkgtest_tmp = '' ']' 278s + cd /tmp/autopkgtest.cIbQ0b/autopkgtest_tmp 278s + mypy --help 278s usage: mypy [-h] [-v] [-V] [more options; see below] 278s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 278s 278s Mypy is a program that will type check your Python code. 278s 278s Pass in any files or folders you want to type check. Mypy will 278s recursively traverse any provided folders to find .py files: 278s 278s $ mypy my_program.py my_src_folder 278s 278s For more information on getting started, see: 278s 278s - https://mypy.readthedocs.io/en/stable/getting_started.html 278s 278s For more details on both running mypy and using the flags below, see: 278s 278s - https://mypy.readthedocs.io/en/stable/running_mypy.html 278s - https://mypy.readthedocs.io/en/stable/command_line.html 278s 278s You can also use a config file to configure mypy instead of using 278s command line flags. For more details, see: 278s 278s - https://mypy.readthedocs.io/en/stable/config_file.html 278s 278s options: 278s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 278s Enable support of incomplete/experimental features 278s for early preview 278s 278s Optional arguments: 278s -h, --help Show this help message and exit 278s -v, --verbose More verbose messages 278s -V, --version Show program's version number and exit 278s -O, --output FORMAT Set a custom output format 278s 278s Config file: 278s Use a config file instead of command line arguments. This is useful if you 278s are using many flags or want to set different options per each module. 278s 278s --config-file CONFIG_FILE 278s Configuration file, must have a [mypy] section 278s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 278s setup.cfg) 278s --warn-unused-configs Warn about unused '[mypy-]' or 278s '[[tool.mypy.overrides]]' config sections 278s (inverse: --no-warn-unused-configs) 278s 278s Import discovery: 278s Configure how imports are discovered and followed. 278s 278s --no-namespace-packages Disable support for namespace packages (PEP 420, 278s __init__.py-less) (inverse: --namespace-packages) 278s --ignore-missing-imports Silently ignore imports of missing modules 278s --follow-untyped-imports Typecheck modules without stubs or py.typed marker 278s --follow-imports {normal,silent,skip,error} 278s How to treat imports (default normal) 278s --python-executable EXECUTABLE 278s Python executable used for finding PEP 561 278s compliant installed packages and stubs 278s --no-site-packages Do not search for installed PEP 561 compliant 278s packages 278s --no-silence-site-packages 278s Do not silence errors in PEP 561 compliant 278s installed packages 278s --junit-format {global,per_file} 278s If --junit-xml is set, specifies format. global: 278s single test with all errors; per_file: one test 278s entry per file with failures 278s 278s Platform configuration: 278s Type check code assuming it will be run under certain runtime conditions. 278s By default, mypy assumes your code will be run using the same operating 278s system and Python version you are using to run mypy itself. 278s 278s --python-version x.y Type check code assuming it will be running on 278s Python x.y 278s --platform PLATFORM Type check special-cased code for the given OS 278s platform (defaults to sys.platform) 278s --always-true NAME Additional variable to be considered True (may be 278s repeated) 278s --always-false NAME Additional variable to be considered False (may be 278s repeated) 278s 278s Disallow dynamic typing: 278s Disallow the use of the dynamic 'Any' type under certain conditions. 278s 278s --disallow-any-expr Disallow all expressions that have type Any 278s --disallow-any-decorated Disallow functions that have Any in their 278s signature after decorator transformation 278s --disallow-any-explicit Disallow explicit Any in type positions 278s --disallow-any-generics Disallow usage of generic types that do not 278s specify explicit type parameters (inverse: 278s --allow-any-generics) 278s --disallow-any-unimported 278s Disallow Any types resulting from unfollowed 278s imports (inverse: --allow-any-unimported) 278s --disallow-subclassing-any 278s Disallow subclassing values of type 'Any' when 278s defining classes (inverse: --allow-subclassing- 278s any) 278s 278s Untyped definitions and calls: 278s Configure how untyped definitions and calls are handled. Note: by default, 278s mypy ignores any untyped function definitions and assumes any calls to 278s such functions have a return type of 'Any'. 278s 278s --disallow-untyped-calls Disallow calling functions without type 278s annotations from functions with type annotations 278s (inverse: --allow-untyped-calls) 278s --untyped-calls-exclude MODULE 278s Disable --disallow-untyped-calls for 278s functions/methods coming from specific package, 278s module, or class 278s --disallow-untyped-defs Disallow defining functions without type 278s annotations or with incomplete type annotations 278s (inverse: --allow-untyped-defs) 278s --disallow-incomplete-defs 278s Disallow defining functions with incomplete type 278s annotations (while still allowing entirely 278s unannotated definitions) (inverse: --allow- 278s incomplete-defs) 278s --check-untyped-defs Type check the interior of functions without type 278s annotations (inverse: --no-check-untyped-defs) 278s --disallow-untyped-decorators 278s Disallow decorating typed functions with untyped 278s decorators (inverse: --allow-untyped-decorators) 278s 278s None and Optional handling: 278s Adjust how values of type 'None' are handled. For more context on how mypy 278s handles values of type 'None', see: 278s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 278s optional 278s 278s --implicit-optional Assume arguments with default values of None are 278s Optional (inverse: --no-implicit-optional) 278s --no-strict-optional Disable strict Optional checks (inverse: --strict- 278s optional) 278s 278s Configuring warnings: 278s Detect code that is sound but redundant or problematic. 278s 278s --warn-redundant-casts Warn about casting an expression to its inferred 278s type (inverse: --no-warn-redundant-casts) 278s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 278s (inverse: --no-warn-unused-ignores) 278s --no-warn-no-return Do not warn about functions that end without 278s returning (inverse: --warn-no-return) 278s --warn-return-any Warn about returning values of type Any from non- 278s Any typed functions (inverse: --no-warn-return- 278s any) 278s --warn-unreachable Warn about statements or expressions inferred to 278s be unreachable (inverse: --no-warn-unreachable) 278s --report-deprecated-as-note 278s Report importing or using deprecated features as 278s notes instead of errors (inverse: --no-report- 278s deprecated-as-note) 278s 278s Miscellaneous strictness flags: 278s --allow-untyped-globals Suppress toplevel errors caused by missing 278s annotations (inverse: --disallow-untyped-globals) 278s --allow-redefinition Allow unconditional variable redefinition with a 278s new type (inverse: --disallow-redefinition) 278s --no-implicit-reexport Treat imports as private unless aliased (inverse: 278s --implicit-reexport) 278s --strict-equality Prohibit equality, identity, and container checks 278s for non-overlapping types (inverse: --no-strict- 278s equality) 278s --strict-bytes Disable treating bytearray and memoryview as 278s subtypes of bytes (inverse: --no-strict-bytes) 278s --extra-checks Enable additional checks that are technically 278s correct but may be impractical in real code. For 278s example, this prohibits partial overlap in 278s TypedDict updates, and makes arguments prepended 278s via Concatenate positional-only (inverse: --no- 278s extra-checks) 278s --strict Strict mode; enables the following flags: --warn- 278s unused-configs, --disallow-any-generics, 278s --disallow-subclassing-any, --disallow-untyped- 278s calls, --disallow-untyped-defs, --disallow- 278s incomplete-defs, --check-untyped-defs, --disallow- 278s untyped-decorators, --warn-redundant-casts, 278s --warn-unused-ignores, --warn-return-any, --no- 278s implicit-reexport, --strict-equality, --extra- 278s checks 278s --disable-error-code NAME 278s Disable a specific error code 278s --enable-error-code NAME Enable a specific error code 278s 278s Configuring error messages: 278s Adjust the amount of detail shown in error messages. 278s 278s --show-error-context Precede errors with "note:" messages explaining 278s context (inverse: --hide-error-context) 278s --show-column-numbers Show column numbers in error messages (inverse: 278s --hide-column-numbers) 278s --show-error-end Show end line/end column numbers in error 278s messages. This implies --show-column-numbers 278s (inverse: --hide-error-end) 278s --hide-error-codes Hide error codes in error messages (inverse: 278s --show-error-codes) 278s --show-error-code-links Show links to error code documentation (inverse: 278s --hide-error-code-links) 278s --pretty Use visually nicer output in error messages: Use 278s soft word wrap, show source code snippets, and 278s show error location markers (inverse: --no-pretty) 278s --no-color-output Do not colorize error messages (inverse: --color- 278s output) 278s --no-error-summary Do not show error stats summary (inverse: --error- 278s summary) 278s --show-absolute-path Show absolute paths to files (inverse: --hide- 278s absolute-path) 278s 278s Incremental mode: 278s Adjust how mypy incrementally type checks and caches modules. Mypy caches 278s type information about modules into a cache to let you speed up future 278s invocations of mypy. Also see mypy's daemon mode: 278s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 278s 278s --no-incremental Disable module cache (inverse: --incremental) 278s --cache-dir DIR Store module cache info in the given folder in 278s incremental mode (defaults to '.mypy_cache') 278s --sqlite-cache Use a sqlite database to store the cache (inverse: 278s --no-sqlite-cache) 278s --cache-fine-grained Include fine-grained dependency information in the 278s cache for the mypy daemon 278s --skip-version-check Allow using cache written by older mypy version 278s --skip-cache-mtime-checks 278s Skip cache internal consistency checks based on 278s mtime 278s 278s Advanced options: 278s Debug and customize mypy internals. 278s 278s --pdb Invoke pdb on fatal error 278s --show-traceback, --tb Show traceback on fatal error 278s --raise-exceptions Raise exception on fatal error 278s --custom-typing-module MODULE 278s Use a custom typing module 278s --old-type-inference Disable new experimental type inference algorithm 278s --custom-typeshed-dir DIR 278s Use the custom typeshed in DIR 278s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 278s relevant with --disallow-untyped-defs or 278s --disallow-incomplete-defs enabled (inverse: --no- 278s warn-incomplete-stub) 278s --shadow-file SOURCE_FILE SHADOW_FILE 278s When encountering SOURCE_FILE, read and type check 278s the contents of SHADOW_FILE instead. 278s 278s Report generation: 278s Generate a report in the specified format. 278s 278s --any-exprs-report DIR 278s --cobertura-xml-report DIR 278s --html-report DIR 278s --linecount-report DIR 278s --linecoverage-report DIR 278s --lineprecision-report DIR 278s --txt-report DIR 278s --xml-report DIR 278s --xslt-html-report DIR 278s --xslt-txt-report DIR 278s 278s Miscellaneous: 278s --junit-xml JUNIT_XML Write junit.xml to the given file 278s --find-occurrences CLASS.MEMBER 278s Print out all usages of a class member 278s (experimental) 278s --scripts-are-modules Script x becomes module x instead of __main__ 278s --install-types Install detected missing library stub packages 278s using pip (inverse: --no-install-types) 278s --non-interactive Install stubs without asking for confirmation and 278s hide errors, with --install-types (inverse: 278s --interactive) 278s 278s Running code: 278s Specify the code you want to type check. For more details, see 278s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 278s 278s --explicit-package-bases Use current directory and MYPYPATH to determine 278s module names of files passed (inverse: --no- 278s explicit-package-bases) 278s --exclude PATTERN Regular expression to match file names, directory 278s names or paths which mypy should ignore while 278s recursively discovering files to check, e.g. 278s --exclude '/setup\.py$'. May be specified more 278s than once, eg. --exclude a --exclude b 278s -m, --module MODULE Type-check module; can repeat for more modules 278s -p, --package PACKAGE Type-check package recursively; can be repeated 278s -c, --command PROGRAM_TEXT 278s Type-check program passed in as string 278s files Type-check given files or directories 278s 278s Environment variables: 278s Define MYPYPATH for additional module search path entries. 278s Define MYPY_CACHE_DIR to override configuration cache_dir path. 278s + mypyc --help 279s usage: mypy [-h] [-v] [-V] [more options; see below] 279s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 279s 279s Mypy is a program that will type check your Python code. 279s 279s Pass in any files or folders you want to type check. Mypy will 279s recursively traverse any provided folders to find .py files: 279s 279s $ mypy my_program.py my_src_folder 279s 279s For more information on getting started, see: 279s 279s - https://mypy.readthedocs.io/en/stable/getting_started.html 279s 279s For more details on both running mypy and using the flags below, see: 279s 279s - https://mypy.readthedocs.io/en/stable/running_mypy.html 279s - https://mypy.readthedocs.io/en/stable/command_line.html 279s 279s You can also use a config file to configure mypy instead of using 279s command line flags. For more details, see: 279s 279s - https://mypy.readthedocs.io/en/stable/config_file.html 279s 279s options: 279s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 279s Enable support of incomplete/experimental features 279s for early preview 279s 279s Optional arguments: 279s -h, --help Show this help message and exit 279s -v, --verbose More verbose messages 279s -V, --version Show program's version number and exit 279s -O, --output FORMAT Set a custom output format 279s 279s Config file: 279s Use a config file instead of command line arguments. This is useful if you 279s are using many flags or want to set different options per each module. 279s 279s --config-file CONFIG_FILE 279s Configuration file, must have a [mypy] section 279s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 279s setup.cfg) 279s --warn-unused-configs Warn about unused '[mypy-]' or 279s '[[tool.mypy.overrides]]' config sections 279s (inverse: --no-warn-unused-configs) 279s 279s Import discovery: 279s Configure how imports are discovered and followed. 279s 279s --no-namespace-packages Disable support for namespace packages (PEP 420, 279s __init__.py-less) (inverse: --namespace-packages) 279s --ignore-missing-imports Silently ignore imports of missing modules 279s --follow-untyped-imports Typecheck modules without stubs or py.typed marker 279s --follow-imports {normal,silent,skip,error} 279s How to treat imports (default normal) 279s --python-executable EXECUTABLE 279s Python executable used for finding PEP 561 279s compliant installed packages and stubs 279s --no-site-packages Do not search for installed PEP 561 compliant 279s packages 279s --no-silence-site-packages 279s Do not silence errors in PEP 561 compliant 279s installed packages 279s --junit-format {global,per_file} 279s If --junit-xml is set, specifies format. global: 279s single test with all errors; per_file: one test 279s entry per file with failures 279s 279s Platform configuration: 279s Type check code assuming it will be run under certain runtime conditions. 279s By default, mypy assumes your code will be run using the same operating 279s system and Python version you are using to run mypy itself. 279s 279s --python-version x.y Type check code assuming it will be running on 279s Python x.y 279s --platform PLATFORM Type check special-cased code for the given OS 279s platform (defaults to sys.platform) 279s --always-true NAME Additional variable to be considered True (may be 279s repeated) 279s --always-false NAME Additional variable to be considered False (may be 279s repeated) 279s 279s Disallow dynamic typing: 279s Disallow the use of the dynamic 'Any' type under certain conditions. 279s 279s --disallow-any-expr Disallow all expressions that have type Any 279s --disallow-any-decorated Disallow functions that have Any in their 279s signature after decorator transformation 279s --disallow-any-explicit Disallow explicit Any in type positions 279s --disallow-any-generics Disallow usage of generic types that do not 279s specify explicit type parameters (inverse: 279s --allow-any-generics) 279s --disallow-any-unimported 279s Disallow Any types resulting from unfollowed 279s imports (inverse: --allow-any-unimported) 279s --disallow-subclassing-any 279s Disallow subclassing values of type 'Any' when 279s defining classes (inverse: --allow-subclassing- 279s any) 279s 279s Untyped definitions and calls: 279s Configure how untyped definitions and calls are handled. Note: by default, 279s mypy ignores any untyped function definitions and assumes any calls to 279s such functions have a return type of 'Any'. 279s 279s --disallow-untyped-calls Disallow calling functions without type 279s annotations from functions with type annotations 279s (inverse: --allow-untyped-calls) 279s --untyped-calls-exclude MODULE 279s Disable --disallow-untyped-calls for 279s functions/methods coming from specific package, 279s module, or class 279s --disallow-untyped-defs Disallow defining functions without type 279s annotations or with incomplete type annotations 279s (inverse: --allow-untyped-defs) 279s --disallow-incomplete-defs 279s Disallow defining functions with incomplete type 279s annotations (while still allowing entirely 279s unannotated definitions) (inverse: --allow- 279s incomplete-defs) 279s --check-untyped-defs Type check the interior of functions without type 279s annotations (inverse: --no-check-untyped-defs) 279s --disallow-untyped-decorators 279s Disallow decorating typed functions with untyped 279s decorators (inverse: --allow-untyped-decorators) 279s 279s None and Optional handling: 279s Adjust how values of type 'None' are handled. For more context on how mypy 279s handles values of type 'None', see: 279s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 279s optional 279s 279s --implicit-optional Assume arguments with default values of None are 279s Optional (inverse: --no-implicit-optional) 279s --no-strict-optional Disable strict Optional checks (inverse: --strict- 279s optional) 279s 279s Configuring warnings: 279s Detect code that is sound but redundant or problematic. 279s 279s --warn-redundant-casts Warn about casting an expression to its inferred 279s type (inverse: --no-warn-redundant-casts) 279s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 279s (inverse: --no-warn-unused-ignores) 279s --no-warn-no-return Do not warn about functions that end without 279s returning (inverse: --warn-no-return) 279s --warn-return-any Warn about returning values of type Any from non- 279s Any typed functions (inverse: --no-warn-return- 279s any) 279s --warn-unreachable Warn about statements or expressions inferred to 279s be unreachable (inverse: --no-warn-unreachable) 279s --report-deprecated-as-note 279s Report importing or using deprecated features as 279s notes instead of errors (inverse: --no-report- 279s deprecated-as-note) 279s 279s Miscellaneous strictness flags: 279s --allow-untyped-globals Suppress toplevel errors caused by missing 279s annotations (inverse: --disallow-untyped-globals) 279s --allow-redefinition Allow unconditional variable redefinition with a 279s new type (inverse: --disallow-redefinition) 279s --no-implicit-reexport Treat imports as private unless aliased (inverse: 279s --implicit-reexport) 279s --strict-equality Prohibit equality, identity, and container checks 279s for non-overlapping types (inverse: --no-strict- 279s equality) 279s --strict-bytes Disable treating bytearray and memoryview as 279s subtypes of bytes (inverse: --no-strict-bytes) 279s --extra-checks Enable additional checks that are technically 279s correct but may be impractical in real code. For 279s example, this prohibits partial overlap in 279s TypedDict updates, and makes arguments prepended 279s via Concatenate positional-only (inverse: --no- 279s extra-checks) 279s --strict Strict mode; enables the following flags: --warn- 279s unused-configs, --disallow-any-generics, 279s --disallow-subclassing-any, --disallow-untyped- 279s calls, --disallow-untyped-defs, --disallow- 279s incomplete-defs, --check-untyped-defs, --disallow- 279s untyped-decorators, --warn-redundant-casts, 279s --warn-unused-ignores, --warn-return-any, --no- 279s implicit-reexport, --strict-equality, --extra- 279s checks 279s --disable-error-code NAME 279s Disable a specific error code 279s --enable-error-code NAME Enable a specific error code 279s 279s Configuring error messages: 279s Adjust the amount of detail shown in error messages. 279s 279s --show-error-context Precede errors with "note:" messages explaining 279s context (inverse: --hide-error-context) 279s --show-column-numbers Show column numbers in error messages (inverse: 279s --hide-column-numbers) 279s --show-error-end Show end line/end column numbers in error 279s messages. This implies --show-column-numbers 279s (inverse: --hide-error-end) 279s --hide-error-codes Hide error codes in error messages (inverse: 279s --show-error-codes) 279s --show-error-code-links Show links to error code documentation (inverse: 279s --hide-error-code-links) 279s --pretty Use visually nicer output in error messages: Use 279s soft word wrap, show source code snippets, and 279s show error location markers (inverse: --no-pretty) 279s --no-color-output Do not colorize error messages (inverse: --color- 279s output) 279s --no-error-summary Do not show error stats summary (inverse: --error- 279s summary) 279s --show-absolute-path Show absolute paths to files (inverse: --hide- 279s absolute-path) 279s 279s Incremental mode: 279s Adjust how mypy incrementally type checks and caches modules. Mypy caches 279s type information about modules into a cache to let you speed up future 279s invocations of mypy. Also see mypy's daemon mode: 279s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 279s 279s --no-incremental Disable module cache (inverse: --incremental) 279s --cache-dir DIR Store module cache info in the given folder in 279s incremental mode (defaults to '.mypy_cache') 279s --sqlite-cache Use a sqlite database to store the cache (inverse: 279s --no-sqlite-cache) 279s --cache-fine-grained Include fine-grained dependency information in the 279s cache for the mypy daemon 279s --skip-version-check Allow using cache written by older mypy version 279s --skip-cache-mtime-checks 279s Skip cache internal consistency checks based on 279s mtime 279s 279s Advanced options: 279s Debug and customize mypy internals. 279s 279s --pdb Invoke pdb on fatal error 279s --show-traceback, --tb Show traceback on fatal error 279s --raise-exceptions Raise exception on fatal error 279s --custom-typing-module MODULE 279s Use a custom typing module 279s --old-type-inference Disable new experimental type inference algorithm 279s --custom-typeshed-dir DIR 279s Use the custom typeshed in DIR 279s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 279s relevant with --disallow-untyped-defs or 279s --disallow-incomplete-defs enabled (inverse: --no- 279s warn-incomplete-stub) 279s --shadow-file SOURCE_FILE SHADOW_FILE 279s When encountering SOURCE_FILE, read and type check 279s the contents of SHADOW_FILE instead. 279s 279s Report generation: 279s Generate a report in the specified format. 279s 279s --any-exprs-report DIR 279s --cobertura-xml-report DIR 279s --html-report DIR 279s --linecount-report DIR 279s --linecoverage-report DIR 279s --lineprecision-report DIR 279s --txt-report DIR 279s --xml-report DIR 279s --xslt-html-report DIR 279s --xslt-txt-report DIR 279s 279s Miscellaneous: 279s --junit-xml JUNIT_XML Write junit.xml to the given file 279s --find-occurrences CLASS.MEMBER 279s Print out all usages of a class member 279s (experimental) 279s --scripts-are-modules Script x becomes module x instead of __main__ 279s --install-types Install detected missing library stub packages 279s using pip (inverse: --no-install-types) 279s --non-interactive Install stubs without asking for confirmation and 279s hide errors, with --install-types (inverse: 279s --interactive) 279s 279s Running code: 279s Specify the code you want to type check. For more details, see 279s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 279s 279s --explicit-package-bases Use current directory and MYPYPATH to determine 279s module names of files passed (inverse: --no- 279s explicit-package-bases) 279s --exclude PATTERN Regular expression to match file names, directory 279s names or paths which mypy should ignore while 279s recursively discovering files to check, e.g. 279s --exclude '/setup\.py$'. May be specified more 279s than once, eg. --exclude a --exclude b 279s -m, --module MODULE Type-check module; can repeat for more modules 279s -p, --package PACKAGE Type-check package recursively; can be repeated 279s -c, --command PROGRAM_TEXT 279s Type-check program passed in as string 279s files Type-check given files or directories 279s 279s Environment variables: 279s Define MYPYPATH for additional module search path entries. 279s Define MYPY_CACHE_DIR to override configuration cache_dir path. 279s + stubgen --help 279s usage: stubgen [-h] [more options, see -h] 279s [-m MODULE] [-p PACKAGE] [files ...] 279s 279s Generate draft stubs for modules. Stubs are generated in directory ./out, to 279s avoid overriding files with manual changes. This directory is assumed to 279s exist. 279s 279s positional arguments: 279s files generate stubs for given files or directories 279s 279s options: 279s -h, --help show this help message and exit 279s --ignore-errors ignore errors when trying to generate stubs for 279s modules 279s --no-import don't import the modules, just parse and analyze them 279s (doesn't work with C extension modules and might not 279s respect __all__) 279s --no-analysis, --parse-only 279s don't perform semantic analysis of sources, just parse 279s them (only applies to Python modules, might affect 279s quality of stubs. Not compatible with --inspect-mode) 279s --inspect-mode import and inspect modules instead of parsing source 279s code.This is the default behavior for c modules and 279s pyc-only packages, but it is also useful for pure 279s python modules with dynamically generated members. 279s --include-private generate stubs for objects and members considered 279s private (single leading underscore and no trailing 279s underscores) 279s --export-less don't implicitly export all names imported from other 279s modules in the same package 279s --include-docstrings include existing docstrings with the stubs 279s -v, --verbose show more verbose messages 279s -q, --quiet show fewer messages 279s --doc-dir PATH use .rst documentation in PATH (this may result in 279s better stubs in some cases; consider setting this to 279s DIR/Python-X.Y.Z/Doc/library) 279s --search-path PATH specify module search directories, separated by ':' 279s (currently only used if --no-import is given) 279s -o, --output PATH change the output directory [default: out] 279s -m, --module MODULE generate stub for module; can repeat for more modules 279s -p, --package PACKAGE 279s generate stubs for package recursively; can be 279s repeated 279s --version show program's version number and exit 279s + stubtest --help 279s usage: stubtest [-h] [--concise] [--ignore-missing-stub] 279s [--ignore-positional-only] [--allowlist FILE] 279s [--generate-allowlist] [--ignore-unused-allowlist] 279s [--mypy-config-file FILE] [--custom-typeshed-dir DIR] 279s [--check-typeshed] [--version] [--pdb] [--show-traceback] 279s [modules ...] 279s 279s Compares stubs to objects introspected from the runtime. 279s 279s positional arguments: 279s modules Modules to test 279s 279s options: 279s -h, --help show this help message and exit 279s --concise Makes stubtest's output more concise, one line per 279s error 279s --ignore-missing-stub 279s Ignore errors for stub missing things that are present 279s at runtime 279s --ignore-positional-only 279s Ignore errors for whether an argument should or 279s shouldn't be positional-only 279s --allowlist, --whitelist FILE 279s Use file as an allowlist. Can be passed multiple times 279s to combine multiple allowlists. Allowlists can be 279s created with --generate-allowlist. Allowlists support 279s regular expressions. 279s --generate-allowlist, --generate-whitelist 279s Print an allowlist (to stdout) to be used with 279s --allowlist 279s --ignore-unused-allowlist, --ignore-unused-whitelist 279s Ignore unused allowlist entries 279s --mypy-config-file FILE 279s Use specified mypy config file to determine mypy 279s plugins and mypy path 279s --custom-typeshed-dir DIR 279s Use the custom typeshed in DIR 279s --check-typeshed Check all stdlib modules in typeshed 279s --version show program's version number and exit 279s --pdb Invoke pdb on fatal error 279s --show-traceback, --tb 279s Show traceback on fatal error 279s + export TEST_MYPYC=1 279s + TEST_MYPYC=1 279s + rm -Rf mypy mypyc 279s + cp -r /usr/lib/python3/dist-packages/mypy ./ 279s + cp -r /usr/lib/python3/dist-packages/mypyc ./ 279s + mypy_test_prefix= 279s + 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)' 280s ============================= test session starts ============================== 280s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 280s cachedir: .pytest_cache 280s rootdir: /tmp/autopkgtest.cIbQ0b/autopkgtest_tmp 280s plugins: xdist-3.6.1, typeguard-4.4.2 280s collecting ... collected 20 items / 5 deselected / 15 selected 280s 280s test/meta/test_diff_helper.py::DiffHelperSuite::test_diff_ranges PASSED [ 6%] 280s test/meta/test_diff_helper.py::DiffHelperSuite::test_render_diff_range PASSED [ 13%] 280s test/test_config_parser.py::FindConfigFileSuite::test_no_config PASSED [ 20%] 280s test/test_config_parser.py::FindConfigFileSuite::test_parent_config_with_and_without_git PASSED [ 26%] 280s test/test_config_parser.py::FindConfigFileSuite::test_precedence PASSED [ 33%] 280s test/test_config_parser.py::FindConfigFileSuite::test_precedence_missing_section PASSED [ 40%] 280s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace PASSED [ 46%] 280s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_explicit_base PASSED [ 53%] 280s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_multi_dir PASSED [ 60%] 280s test/test_find_sources.py::SourceFinderSuite::test_crawl_no_namespace PASSED [ 66%] 280s test/test_find_sources.py::SourceFinderSuite::test_find_sources_exclude PASSED [ 73%] 280s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace PASSED [ 80%] 280s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_explicit_base PASSED [ 86%] 280s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_multi_dir PASSED [ 93%] 280s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_no_namespace PASSED [100%] 280s 280s ======================= 15 passed, 5 deselected in 0.34s ======================= 280s + mypy_test_prefix= 280s + pytest-3 -v --pyargs mypyc 281s ============================= test session starts ============================== 281s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 281s cachedir: .pytest_cache 281s rootdir: /tmp/autopkgtest.cIbQ0b/autopkgtest_tmp 281s plugins: xdist-3.6.1, typeguard-4.4.2 281s collecting ... collected 125 items 281s 281s test/test_cheader.py::TestHeaderInclusion::test_primitives_included_in_header PASSED [ 0%] 281s test/test_emit.py::TestEmitter::test_emit_line PASSED [ 1%] 281s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_simple_type PASSED [ 2%] 281s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_tuple PASSED [ 3%] 281s test/test_emit.py::TestEmitter::test_label PASSED [ 4%] 281s test/test_emit.py::TestEmitter::test_object_annotation PASSED [ 4%] 281s test/test_emit.py::TestEmitter::test_reg PASSED [ 5%] 281s test/test_emitclass.py::TestEmitClass::test_getter_name PASSED [ 6%] 281s test/test_emitclass.py::TestEmitClass::test_setter_name PASSED [ 7%] 281s test/test_emitclass.py::TestEmitClass::test_slot_key PASSED [ 8%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_int PASSED [ 8%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_multi PASSED [ 9%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_i64 PASSED [ 10%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_int PASSED [ 11%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch PASSED [ 12%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error PASSED [ 12%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error_next_block PASSED [ 13%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else PASSED [ 14%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else_negated PASSED [ 15%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_rare PASSED [ 16%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call PASSED [ 16%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call_two_args PASSED [ 17%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_merge PASSED [ 18%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_1 PASSED [ 19%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_2 PASSED [ 20%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_3 PASSED [ 20%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_4 PASSED [ 21%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_comparison_op PASSED [ 22%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref PASSED [ 23%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_int PASSED [ 24%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple PASSED [ 24%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple_nested PASSED [ 25%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_contains PASSED [ 26%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_get_item PASSED [ 27%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_set_item PASSED [ 28%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_update PASSED [ 28%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_extend PASSED [ 29%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr PASSED [ 30%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_merged PASSED [ 31%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_non_refcounted PASSED [ 32%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_with_bitmap PASSED [ 32%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_element_ptr PASSED [ 33%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto PASSED [ 34%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto_next_block PASSED [ 35%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref PASSED [ 36%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref_int PASSED [ 36%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_add PASSED [ 37%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_neg PASSED [ 38%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_op PASSED [ 39%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_sub PASSED [ 40%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_integer PASSED [ 40%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_append PASSED [ 41%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_get_item PASSED [ 42%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_set_item PASSED [ 43%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_None PASSED [ 44%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_address PASSED [ 44%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_mem PASSED [ 45%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_signed PASSED [ 46%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_unsigned PASSED [ 47%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_new_dict PASSED [ 48%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_return PASSED [ 48%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr PASSED [ 49%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_init_with_bitmap PASSED [ 50%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_no_error PASSED [ 51%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted PASSED [ 52%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted_no_error PASSED [ 52%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_with_bitmap PASSED [ 53%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_mem PASSED [ 54%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_tuple_get PASSED [ 55%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_i64 PASSED [ 56%] 281s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_int PASSED [ 56%] 281s test/test_emitfunc.py::TestGenerateFunction::test_register PASSED [ 57%] 281s test/test_emitfunc.py::TestGenerateFunction::test_simple PASSED [ 58%] 281s test/test_emitwrapper.py::TestArgCheck::test_check_int PASSED [ 59%] 281s test/test_emitwrapper.py::TestArgCheck::test_check_list PASSED [ 60%] 293s test/test_external.py::TestExternal::test_c_unit_test PASSED [ 60%] 293s test/test_ircheck.py::TestIrcheck::test_block_not_terminated_empty_block PASSED [ 61%] 293s test/test_ircheck.py::TestIrcheck::test_can_coerce_to PASSED [ 62%] 293s test/test_ircheck.py::TestIrcheck::test_duplicate_op PASSED [ 63%] 293s test/test_ircheck.py::TestIrcheck::test_invalid_assign PASSED [ 64%] 293s test/test_ircheck.py::TestIrcheck::test_invalid_goto PASSED [ 64%] 293s test/test_ircheck.py::TestIrcheck::test_invalid_op_source PASSED [ 65%] 293s test/test_ircheck.py::TestIrcheck::test_invalid_register_source PASSED [ 66%] 293s test/test_ircheck.py::TestIrcheck::test_invalid_return_type PASSED [ 67%] 293s test/test_ircheck.py::TestIrcheck::test_load_address_declares_register PASSED [ 68%] 293s test/test_ircheck.py::TestIrcheck::test_pprint PASSED [ 68%] 293s test/test_ircheck.py::TestIrcheck::test_valid_fn PASSED [ 69%] 293s test/test_ircheck.py::TestIrcheck::test_valid_goto PASSED [ 70%] 293s test/test_literals.py::TestLiterals::test_encode_bytes_values PASSED [ 71%] 293s test/test_literals.py::TestLiterals::test_encode_int_values PASSED [ 72%] 293s test/test_literals.py::TestLiterals::test_encode_str_values PASSED [ 72%] 293s test/test_literals.py::TestLiterals::test_format_str_literal PASSED [ 73%] 293s test/test_literals.py::TestLiterals::test_simple_literal_index PASSED [ 74%] 293s test/test_literals.py::TestLiterals::test_tuple_literal PASSED [ 75%] 293s test/test_namegen.py::TestNameGen::test_candidate_suffixes PASSED [ 76%] 293s test/test_namegen.py::TestNameGen::test_exported_name PASSED [ 76%] 293s test/test_namegen.py::TestNameGen::test_make_module_translation_map PASSED [ 77%] 293s test/test_namegen.py::TestNameGen::test_name_generator PASSED [ 78%] 293s test/test_pprint.py::TestGenerateNames::test_arg PASSED [ 79%] 293s test/test_pprint.py::TestGenerateNames::test_assign PASSED [ 80%] 293s test/test_pprint.py::TestGenerateNames::test_empty PASSED [ 80%] 293s test/test_pprint.py::TestGenerateNames::test_int_op PASSED [ 81%] 293s test/test_rarray.py::TestRArray::test_alignment PASSED [ 82%] 293s test/test_rarray.py::TestRArray::test_basics PASSED [ 83%] 293s test/test_rarray.py::TestRArray::test_eq PASSED [ 84%] 293s test/test_rarray.py::TestRArray::test_hash PASSED [ 84%] 293s test/test_rarray.py::TestRArray::test_size PASSED [ 85%] 293s test/test_rarray.py::TestRArray::test_str_conversion PASSED [ 86%] 293s test/test_struct.py::TestStruct::test_eq_and_hash PASSED [ 87%] 293s test/test_struct.py::TestStruct::test_runtime_subtype PASSED [ 88%] 293s test/test_struct.py::TestStruct::test_struct_offsets PASSED [ 88%] 293s test/test_struct.py::TestStruct::test_struct_str PASSED [ 89%] 293s test/test_tuplename.py::TestTupleNames::test_names PASSED [ 90%] 293s test/test_typeops.py::TestSubtype::test_bit PASSED [ 91%] 293s test/test_typeops.py::TestSubtype::test_bool PASSED [ 92%] 293s test/test_typeops.py::TestSubtype::test_int16 PASSED [ 92%] 293s test/test_typeops.py::TestSubtype::test_int32 PASSED [ 93%] 293s test/test_typeops.py::TestSubtype::test_int64 PASSED [ 94%] 293s test/test_typeops.py::TestRuntimeSubtype::test_bit PASSED [ 95%] 293s test/test_typeops.py::TestRuntimeSubtype::test_bool PASSED [ 96%] 293s test/test_typeops.py::TestRuntimeSubtype::test_union PASSED [ 96%] 293s test/test_typeops.py::TestUnionSimplification::test_cannot_simplify PASSED [ 97%] 293s test/test_typeops.py::TestUnionSimplification::test_nested PASSED [ 98%] 293s test/test_typeops.py::TestUnionSimplification::test_remove_duplicate PASSED [ 99%] 293s test/test_typeops.py::TestUnionSimplification::test_simple_type_result PASSED [100%] 293s 293s ============================= 125 passed in 12.34s ============================= 293s + rm -Rf mypy/typeshed 293s + /usr/bin/mypy --config-file /tmp/autopkgtest.cIbQ0b/build.VnN/src/mypy_self_check.ini mypy 314s Success: no issues found in 181 source files 314s autopkgtest [13:28:41]: test run-unit-test: -----------------------] 315s run-unit-test PASS 315s autopkgtest [13:28:42]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 315s autopkgtest [13:28:42]: test autodep8-python3: preparing testbed 567s autopkgtest [13:32:54]: testbed dpkg architecture: arm64 568s autopkgtest [13:32:55]: testbed apt version: 3.0.0 568s autopkgtest [13:32:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 568s autopkgtest [13:32:55]: testbed release detected to be: questing 569s autopkgtest [13:32:56]: updating testbed package index (apt update) 570s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 570s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 570s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 570s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 570s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2029 kB] 571s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [171 kB] 571s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB] 571s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [218 kB] 571s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1476 kB] 571s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [15.4 kB] 571s Fetched 4063 kB in 1s (3180 kB/s) 572s Reading package lists... 573s autopkgtest [13:33:00]: upgrading testbed (apt dist-upgrade and autopurge) 573s Reading package lists... 573s Building dependency tree... 573s Reading state information... 574s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 574s Starting 2 pkgProblemResolver with broken count: 0 574s Done 575s Entering ResolveByKeep 575s 575s Calculating upgrade... 576s The following packages will be upgraded: 576s htop libnpth0t64 mokutil mtd-utils nano usb.ids 576s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 576s Need to get 1196 kB of archives. 576s After this operation, 727 kB of additional disk space will be used. 576s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libnpth0t64 arm64 1.8-3 [8818 B] 576s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 nano arm64 8.4-1 [290 kB] 576s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 usb.ids all 2025.04.01-1 [223 kB] 576s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 htop arm64 3.4.1-4 [177 kB] 576s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 mokutil arm64 0.7.2-1 [28.4 kB] 576s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu1 [469 kB] 578s Fetched 1196 kB in 1s (2004 kB/s) 578s (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 ... 117820 files and directories currently installed.) 578s Preparing to unpack .../libnpth0t64_1.8-3_arm64.deb ... 578s Unpacking libnpth0t64:arm64 (1.8-3) over (1.8-2) ... 578s Setting up libnpth0t64:arm64 (1.8-3) ... 579s (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 ... 117820 files and directories currently installed.) 579s Preparing to unpack .../archives/nano_8.4-1_arm64.deb ... 579s Unpacking nano (8.4-1) over (8.3-1) ... 579s Preparing to unpack .../usb.ids_2025.04.01-1_all.deb ... 579s Unpacking usb.ids (2025.04.01-1) over (2025.01.14-1) ... 580s Preparing to unpack .../htop_3.4.1-4_arm64.deb ... 580s Unpacking htop (3.4.1-4) over (3.4.0-2) ... 581s Preparing to unpack .../mokutil_0.7.2-1_arm64.deb ... 581s Unpacking mokutil (0.7.2-1) over (0.6.0-2build3) ... 581s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu1_arm64.deb ... 581s Unpacking mtd-utils (1:2.3.0-1ubuntu1) over (1:2.2.0-2ubuntu2) ... 582s Setting up mokutil (0.7.2-1) ... 582s Setting up htop (3.4.1-4) ... 582s Setting up mtd-utils (1:2.3.0-1ubuntu1) ... 582s Setting up usb.ids (2025.04.01-1) ... 582s Setting up nano (8.4-1) ... 582s Installing new version of config file /etc/nanorc ... 582s Processing triggers for libc-bin (2.41-6ubuntu1) ... 582s Processing triggers for man-db (2.13.0-1) ... 583s Processing triggers for install-info (7.1.1-1) ... 584s Reading package lists... 584s Building dependency tree... 584s Reading state information... 585s Starting pkgProblemResolver with broken count: 0 585s Starting 2 pkgProblemResolver with broken count: 0 585s Done 585s Solving dependencies... 586s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 590s Reading package lists... 591s Building dependency tree... 591s Reading state information... 591s Starting pkgProblemResolver with broken count: 0 591s Starting 2 pkgProblemResolver with broken count: 0 591s Done 592s The following NEW packages will be installed: 592s python3-all python3-mypy python3-mypy-extensions python3-psutil 592s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 592s Need to get 8890 kB of archives. 592s After this operation, 55.8 MB of additional disk space will be used. 592s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 python3-all arm64 3.13.3-1 [880 B] 592s Get:2 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-mypy-extensions all 1.0.0-1 [6148 B] 592s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 592s Get:4 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-mypy arm64 1.15.0-4 [8687 kB] 594s Fetched 8890 kB in 1s (9639 kB/s) 594s Selecting previously unselected package python3-all. 594s (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 ... 117821 files and directories currently installed.) 594s Preparing to unpack .../python3-all_3.13.3-1_arm64.deb ... 594s Unpacking python3-all (3.13.3-1) ... 594s Selecting previously unselected package python3-mypy-extensions. 594s Preparing to unpack .../python3-mypy-extensions_1.0.0-1_all.deb ... 594s Unpacking python3-mypy-extensions (1.0.0-1) ... 594s Selecting previously unselected package python3-psutil. 594s Preparing to unpack .../python3-psutil_5.9.8-2build3_arm64.deb ... 594s Unpacking python3-psutil (5.9.8-2build3) ... 594s Selecting previously unselected package python3-mypy. 594s Preparing to unpack .../python3-mypy_1.15.0-4_arm64.deb ... 594s Unpacking python3-mypy (1.15.0-4) ... 595s Setting up python3-mypy-extensions (1.0.0-1) ... 595s Setting up python3-all (3.13.3-1) ... 595s Setting up python3-psutil (5.9.8-2build3) ... 595s Setting up python3-mypy (1.15.0-4) ... 602s autopkgtest [13:33:29]: 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 602s autopkgtest [13:33:29]: test autodep8-python3: [----------------------- 602s Testing with python3.13: 602s 603s autopkgtest [13:33:30]: test autodep8-python3: -----------------------] 603s autopkgtest [13:33:30]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 603s autodep8-python3 PASS (superficial) 604s autopkgtest [13:33:31]: @@@@@@@@@@@@@@@@@@@@ summary 604s run-unit-test PASS 604s autodep8-python3 PASS (superficial) 623s nova [W] Using flock in prodstack6-arm64 623s Creating nova instance adt-questing-arm64-mypy-20250502-132326-juju-7f2275-prod-proposed-migration-environment-2-e912e6d0-e5d0-4c02-8bbe-8fa257d5ef7b from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 623s nova [W] Timed out waiting for 8ab23798-066c-4d91-af4e-26ae3318031e to get deleted. 623s nova [W] Using flock in prodstack6-arm64 623s Creating nova instance adt-questing-arm64-mypy-20250502-132326-juju-7f2275-prod-proposed-migration-environment-2-e912e6d0-e5d0-4c02-8bbe-8fa257d5ef7b from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 623s nova [W] Timed out waiting for 5788a675-9b03-42ae-8b88-e8c415c10850 to get deleted.