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