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