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