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