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