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