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