0s autopkgtest [09:41:10]: starting date and time: 2024-11-13 09:41:10+0000 0s autopkgtest [09:41:10]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [09:41:10]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fnqx6g0x/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade mypy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-10.secgroup --name adt-plucky-arm64-mypy-20241113-094110-juju-7f2275-prod-proposed-migration-environment-20-746eeac4-5fa8-47b0-891e-2ce38b076926 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 113s autopkgtest [09:43:03]: testbed dpkg architecture: arm64 113s autopkgtest [09:43:03]: testbed apt version: 2.9.8 113s autopkgtest [09:43:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 114s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 115s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 115s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 115s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 115s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 115s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 115s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 115s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 115s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 115s Fetched 1793 kB in 1s (1996 kB/s) 115s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Calculating upgrade... 119s The following NEW packages will be installed: 119s python3.13-gdbm 119s The following packages will be upgraded: 119s libpython3-stdlib python3 python3-gdbm python3-minimal 119s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 119s Need to get 101 kB of archives. 119s After this operation, 141 kB of additional disk space will be used. 119s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 119s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 119s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 119s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 120s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 120s Fetched 101 kB in 0s (270 kB/s) 120s (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 ... 79924 files and directories currently installed.) 120s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 120s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 120s Setting up python3-minimal (3.12.7-1) ... 120s (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 ... 79924 files and directories currently installed.) 120s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 121s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 121s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 121s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 121s Selecting previously unselected package python3.13-gdbm. 121s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 121s Unpacking python3.13-gdbm (3.13.0-2) ... 121s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 121s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 121s Setting up python3.13-gdbm (3.13.0-2) ... 121s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 121s Setting up python3 (3.12.7-1) ... 121s Setting up python3-gdbm:arm64 (3.12.7-1) ... 121s Processing triggers for man-db (2.12.1-3) ... 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 126s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 126s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 126s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 127s Reading package lists... 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 128s Calculating upgrade... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Reading package lists... 129s Building dependency tree... 129s Reading state information... 129s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s autopkgtest [09:43:30]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 140s autopkgtest [09:43:30]: @@@@@@@@@@@@@@@@@@@@ apt-source mypy 144s Get:1 http://ftpmaster.internal/ubuntu plucky/universe mypy 1.13.0-1 (dsc) [2982 B] 144s Get:2 http://ftpmaster.internal/ubuntu plucky/universe mypy 1.13.0-1 (tar) [3153 kB] 144s Get:3 http://ftpmaster.internal/ubuntu plucky/universe mypy 1.13.0-1 (diff) [17.1 kB] 144s gpgv: Signature made Wed Oct 23 15:17:25 2024 UTC 144s gpgv: using RSA key 724D609337113C710550D7473C26763F6C67E6E2 144s gpgv: Can't check signature: No public key 144s dpkg-source: warning: cannot verify inline signature for ./mypy_1.13.0-1.dsc: no acceptable signature found 144s autopkgtest [09:43:34]: testing package mypy version 1.13.0-1 145s autopkgtest [09:43:35]: build not needed 146s autopkgtest [09:43:36]: test run-unit-test: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 153s Starting pkgProblemResolver with broken count: 0 153s Starting 2 pkgProblemResolver with broken count: 0 153s Done 153s The following additional packages will be installed: 153s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu g++ g++-14 153s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 153s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libcc1-0 153s libexpat1-dev libgcc-14-dev libgomp1 libhwasan0 libisl23 libitm1 153s libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 153s libpython3-dev libpython3.12-dev libstdc++-14-dev libtsan2 libubsan1 153s libxslt1.1 mypy mypy-doc python3-dev python3-distlib python3-execnet 153s python3-filelock python3-iniconfig python3-lxml python3-mypy 153s python3-mypy-extensions python3-orjson python3-packaging python3-pip-whl 153s python3-platformdirs python3-pluggy python3-psutil python3-pytest 153s python3-pytest-xdist python3-setuptools-whl python3-tomli python3-typeshed 153s python3-virtualenv python3-wheel-whl python3.12-dev zlib1g-dev 154s Suggested packages: 154s cpp-doc gcc-14-locales cpp-14-doc gcc-14-doc gcc-multilib manpages-dev 154s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 154s libstdc++-14-doc execnet-doc python-lxml-doc 154s Recommended packages: 154s javascript-common python3-doc cython-doc python-six-doc 154s python-setuptools-doc python-attr-doc python3-bs4 python3-cssselect 154s python3-html5lib build-essential 154s The following NEW packages will be installed: 154s autopkgtest-satdep cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 154s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 154s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libcc1-0 154s libexpat1-dev libgcc-14-dev libgomp1 libhwasan0 libisl23 libitm1 154s libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 154s libpython3-dev libpython3.12-dev libstdc++-14-dev libtsan2 libubsan1 154s libxslt1.1 mypy mypy-doc python3-dev python3-distlib python3-execnet 154s python3-filelock python3-iniconfig python3-lxml python3-mypy 154s python3-mypy-extensions python3-orjson python3-packaging python3-pip-whl 154s python3-platformdirs python3-pluggy python3-psutil python3-pytest 154s python3-pytest-xdist python3-setuptools-whl python3-tomli python3-typeshed 154s python3-virtualenv python3-wheel-whl python3.12-dev zlib1g-dev 154s 0 upgraded, 57 newly installed, 0 to remove and 0 not upgraded. 154s Need to get 82.7 MB/82.7 MB of archives. 154s After this operation, 320 MB of additional disk space will be used. 154s Get:1 /tmp/autopkgtest.KkFIzV/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [816 B] 154s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 154s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 154s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 155s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 155s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 155s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 155s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 155s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 155s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 155s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 155s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 155s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 155s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 155s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 155s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 156s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 156s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 156s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 156s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 156s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 156s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 157s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 157s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 157s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 157s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libexpat1-dev arm64 2.6.2-2 [128 kB] 157s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 157s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 157s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 157s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 157s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-dev arm64 3.12.7-3 [5565 kB] 157s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-dev arm64 3.12.7-1 [10.3 kB] 157s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu1 [167 kB] 157s Get:34 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mypy-extensions all 1.0.0-1 [6148 B] 157s Get:35 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 157s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build2 [196 kB] 157s Get:37 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mypy arm64 1.13.0-1 [8230 kB] 157s Get:38 http://ftpmaster.internal/ubuntu plucky/universe arm64 mypy all 1.13.0-1 [24.9 kB] 157s Get:39 http://ftpmaster.internal/ubuntu plucky/universe arm64 mypy-doc all 1.13.0-1 [353 kB] 157s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-dev arm64 3.12.7-3 [505 kB] 157s Get:41 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-dev arm64 3.12.7-1 [26.7 kB] 157s Get:42 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-distlib all 0.3.9-1 [267 kB] 157s Get:43 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-execnet all 2.1.1-1 [33.4 kB] 157s Get:44 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-filelock all 3.16.1-1 [12.8 kB] 157s Get:45 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 157s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lxml arm64 5.3.0-1 [1205 kB] 157s Get:47 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-orjson arm64 3.10.7-1 [266 kB] 157s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 157s Get:49 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pip-whl all 24.2+dfsg-1 [1420 kB] 157s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-platformdirs all 4.3.6-1 [16.8 kB] 157s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 157s Get:52 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 157s Get:53 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-xdist all 3.6.1-1 [33.8 kB] 157s Get:54 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-setuptools-whl all 74.1.2-1 [1171 kB] 157s Get:55 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 157s Get:56 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel-whl all 0.44.0-1 [69.5 kB] 157s Get:57 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-virtualenv all 20.27.0+ds-1 [71.9 kB] 158s Fetched 82.7 MB in 4s (23.1 MB/s) 158s Selecting previously unselected package libisl23:arm64. 158s (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 ... 79931 files and directories currently installed.) 158s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 158s Unpacking libisl23:arm64 (0.27-1) ... 158s Selecting previously unselected package libmpc3:arm64. 158s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 158s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 158s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 158s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package cpp-14. 158s Preparing to unpack .../03-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package cpp-aarch64-linux-gnu. 158s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 158s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 158s Selecting previously unselected package cpp. 158s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 158s Unpacking cpp (4:14.1.0-2ubuntu1) ... 158s Selecting previously unselected package libcc1-0:arm64. 158s Preparing to unpack .../06-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libgomp1:arm64. 158s Preparing to unpack .../07-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libitm1:arm64. 158s Preparing to unpack .../08-libitm1_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libasan8:arm64. 158s Preparing to unpack .../09-libasan8_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package liblsan0:arm64. 158s Preparing to unpack .../10-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libtsan2:arm64. 158s Preparing to unpack .../11-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libubsan1:arm64. 158s Preparing to unpack .../12-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 158s Selecting previously unselected package libhwasan0:arm64. 158s Preparing to unpack .../13-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 158s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 159s Selecting previously unselected package libgcc-14-dev:arm64. 159s Preparing to unpack .../14-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 159s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 159s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 159s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 159s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 159s Selecting previously unselected package gcc-14. 159s Preparing to unpack .../16-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 159s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 159s Selecting previously unselected package gcc-aarch64-linux-gnu. 159s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 159s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Selecting previously unselected package gcc. 159s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 159s Unpacking gcc (4:14.1.0-2ubuntu1) ... 159s Selecting previously unselected package libstdc++-14-dev:arm64. 159s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 159s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 159s Selecting previously unselected package g++-14-aarch64-linux-gnu. 159s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 159s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 160s Selecting previously unselected package g++-14. 160s Preparing to unpack .../21-g++-14_14.2.0-8ubuntu1_arm64.deb ... 160s Unpacking g++-14 (14.2.0-8ubuntu1) ... 160s Selecting previously unselected package g++-aarch64-linux-gnu. 160s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 160s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 160s Selecting previously unselected package g++. 160s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 160s Unpacking g++ (4:14.1.0-2ubuntu1) ... 160s Selecting previously unselected package libexpat1-dev:arm64. 160s Preparing to unpack .../24-libexpat1-dev_2.6.2-2_arm64.deb ... 160s Unpacking libexpat1-dev:arm64 (2.6.2-2) ... 160s Selecting previously unselected package libjs-jquery. 160s Preparing to unpack .../25-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 160s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 160s Selecting previously unselected package libjs-underscore. 160s Preparing to unpack .../26-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 160s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 160s Selecting previously unselected package libjs-sphinxdoc. 160s Preparing to unpack .../27-libjs-sphinxdoc_7.4.7-4_all.deb ... 160s Unpacking libjs-sphinxdoc (7.4.7-4) ... 160s Selecting previously unselected package zlib1g-dev:arm64. 160s Preparing to unpack .../28-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 160s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 160s Selecting previously unselected package libpython3.12-dev:arm64. 160s Preparing to unpack .../29-libpython3.12-dev_3.12.7-3_arm64.deb ... 160s Unpacking libpython3.12-dev:arm64 (3.12.7-3) ... 160s Selecting previously unselected package libpython3-dev:arm64. 160s Preparing to unpack .../30-libpython3-dev_3.12.7-1_arm64.deb ... 160s Unpacking libpython3-dev:arm64 (3.12.7-1) ... 160s Selecting previously unselected package libxslt1.1:arm64. 160s Preparing to unpack .../31-libxslt1.1_1.1.39-0exp1ubuntu1_arm64.deb ... 160s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 160s Selecting previously unselected package python3-mypy-extensions. 160s Preparing to unpack .../32-python3-mypy-extensions_1.0.0-1_all.deb ... 160s Unpacking python3-mypy-extensions (1.0.0-1) ... 160s Selecting previously unselected package python3-tomli. 160s Preparing to unpack .../33-python3-tomli_2.0.1-2_all.deb ... 160s Unpacking python3-tomli (2.0.1-2) ... 160s Selecting previously unselected package python3-psutil. 160s Preparing to unpack .../34-python3-psutil_5.9.8-2build2_arm64.deb ... 160s Unpacking python3-psutil (5.9.8-2build2) ... 160s Selecting previously unselected package python3-mypy. 160s Preparing to unpack .../35-python3-mypy_1.13.0-1_arm64.deb ... 160s Unpacking python3-mypy (1.13.0-1) ... 161s Selecting previously unselected package mypy. 161s Preparing to unpack .../36-mypy_1.13.0-1_all.deb ... 161s Unpacking mypy (1.13.0-1) ... 161s Selecting previously unselected package mypy-doc. 161s Preparing to unpack .../37-mypy-doc_1.13.0-1_all.deb ... 161s Unpacking mypy-doc (1.13.0-1) ... 161s Selecting previously unselected package python3.12-dev. 161s Preparing to unpack .../38-python3.12-dev_3.12.7-3_arm64.deb ... 161s Unpacking python3.12-dev (3.12.7-3) ... 161s Selecting previously unselected package python3-dev. 161s Preparing to unpack .../39-python3-dev_3.12.7-1_arm64.deb ... 161s Unpacking python3-dev (3.12.7-1) ... 161s Selecting previously unselected package python3-distlib. 161s Preparing to unpack .../40-python3-distlib_0.3.9-1_all.deb ... 161s Unpacking python3-distlib (0.3.9-1) ... 161s Selecting previously unselected package python3-execnet. 161s Preparing to unpack .../41-python3-execnet_2.1.1-1_all.deb ... 161s Unpacking python3-execnet (2.1.1-1) ... 161s Selecting previously unselected package python3-filelock. 161s Preparing to unpack .../42-python3-filelock_3.16.1-1_all.deb ... 161s Unpacking python3-filelock (3.16.1-1) ... 161s Selecting previously unselected package python3-iniconfig. 161s Preparing to unpack .../43-python3-iniconfig_1.1.1-2_all.deb ... 161s Unpacking python3-iniconfig (1.1.1-2) ... 161s Selecting previously unselected package python3-lxml:arm64. 161s Preparing to unpack .../44-python3-lxml_5.3.0-1_arm64.deb ... 161s Unpacking python3-lxml:arm64 (5.3.0-1) ... 161s Selecting previously unselected package python3-orjson. 161s Preparing to unpack .../45-python3-orjson_3.10.7-1_arm64.deb ... 161s Unpacking python3-orjson (3.10.7-1) ... 161s Selecting previously unselected package python3-packaging. 161s Preparing to unpack .../46-python3-packaging_24.1-1_all.deb ... 161s Unpacking python3-packaging (24.1-1) ... 161s Selecting previously unselected package python3-pip-whl. 161s Preparing to unpack .../47-python3-pip-whl_24.2+dfsg-1_all.deb ... 161s Unpacking python3-pip-whl (24.2+dfsg-1) ... 161s Selecting previously unselected package python3-platformdirs. 161s Preparing to unpack .../48-python3-platformdirs_4.3.6-1_all.deb ... 161s Unpacking python3-platformdirs (4.3.6-1) ... 161s Selecting previously unselected package python3-pluggy. 161s Preparing to unpack .../49-python3-pluggy_1.5.0-1_all.deb ... 161s Unpacking python3-pluggy (1.5.0-1) ... 161s Selecting previously unselected package python3-pytest. 161s Preparing to unpack .../50-python3-pytest_8.3.3-1_all.deb ... 161s Unpacking python3-pytest (8.3.3-1) ... 161s Selecting previously unselected package python3-pytest-xdist. 161s Preparing to unpack .../51-python3-pytest-xdist_3.6.1-1_all.deb ... 161s Unpacking python3-pytest-xdist (3.6.1-1) ... 162s Selecting previously unselected package python3-setuptools-whl. 162s Preparing to unpack .../52-python3-setuptools-whl_74.1.2-1_all.deb ... 162s Unpacking python3-setuptools-whl (74.1.2-1) ... 162s Selecting previously unselected package python3-typeshed. 162s Preparing to unpack .../53-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 162s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 162s Selecting previously unselected package python3-wheel-whl. 162s Preparing to unpack .../54-python3-wheel-whl_0.44.0-1_all.deb ... 162s Unpacking python3-wheel-whl (0.44.0-1) ... 162s Selecting previously unselected package python3-virtualenv. 162s Preparing to unpack .../55-python3-virtualenv_20.27.0+ds-1_all.deb ... 162s Unpacking python3-virtualenv (20.27.0+ds-1) ... 162s Selecting previously unselected package autopkgtest-satdep. 162s Preparing to unpack .../56-1-autopkgtest-satdep.deb ... 162s Unpacking autopkgtest-satdep (0) ... 162s Setting up python3-iniconfig (1.1.1-2) ... 162s Setting up python3-orjson (3.10.7-1) ... 162s Setting up python3-setuptools-whl (74.1.2-1) ... 162s Setting up python3-filelock (3.16.1-1) ... 162s Setting up python3-tomli (2.0.1-2) ... 163s Setting up python3-pip-whl (24.2+dfsg-1) ... 163s Setting up python3-mypy-extensions (1.0.0-1) ... 163s Setting up python3-distlib (0.3.9-1) ... 163s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 163s Setting up python3-platformdirs (4.3.6-1) ... 163s Setting up python3-psutil (5.9.8-2build2) ... 164s Setting up python3-packaging (24.1-1) ... 164s Setting up libexpat1-dev:arm64 (2.6.2-2) ... 164s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 164s Setting up libmpc3:arm64 (1.3.1-1build2) ... 164s Setting up python3-mypy (1.13.0-1) ... 165s Setting up python3-pluggy (1.5.0-1) ... 165s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 165s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 165s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 165s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 165s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 165s Setting up mypy (1.13.0-1) ... 165s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 165s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 165s Setting up libisl23:arm64 (0.27-1) ... 165s Setting up python3-execnet (2.1.1-1) ... 165s Setting up python3-wheel-whl (0.44.0-1) ... 165s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 165s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 165s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 165s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 165s Setting up python3-pytest (8.3.3-1) ... 166s Setting up python3-virtualenv (20.27.0+ds-1) ... 166s Setting up libpython3.12-dev:arm64 (3.12.7-3) ... 166s Setting up python3.12-dev (3.12.7-3) ... 166s Setting up libjs-sphinxdoc (7.4.7-4) ... 166s Setting up mypy-doc (1.13.0-1) ... 166s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 166s Setting up python3-lxml:arm64 (5.3.0-1) ... 166s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 166s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 166s Setting up libpython3-dev:arm64 (3.12.7-1) ... 166s Setting up python3-pytest-xdist (3.6.1-1) ... 166s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 166s Setting up python3-dev (3.12.7-1) ... 166s Setting up cpp-14 (14.2.0-8ubuntu1) ... 166s Setting up cpp (4:14.1.0-2ubuntu1) ... 166s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 166s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 166s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 166s Setting up gcc-14 (14.2.0-8ubuntu1) ... 166s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 166s Setting up g++-14 (14.2.0-8ubuntu1) ... 166s Setting up gcc (4:14.1.0-2ubuntu1) ... 166s Setting up g++ (4:14.1.0-2ubuntu1) ... 166s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 166s Setting up autopkgtest-satdep (0) ... 166s Processing triggers for man-db (2.12.1-3) ... 167s Processing triggers for libc-bin (2.40-1ubuntu3) ... 171s (Reading database ... 88458 files and directories currently installed.) 171s Removing autopkgtest-satdep (0) ... 172s autopkgtest [09:44:02]: test run-unit-test: [----------------------- 172s + pkg=mypy 172s +++++ readlink -fm /tmp/autopkgtest.KkFIzV/build.WXF/src/debian/tests/run-unit-test 172s ++++ dirname /tmp/autopkgtest.KkFIzV/build.WXF/src/debian/tests/run-unit-test 172s +++ dirname /tmp/autopkgtest.KkFIzV/build.WXF/src/debian/tests 172s ++ dirname /tmp/autopkgtest.KkFIzV/build.WXF/src/debian 172s + START=/tmp/autopkgtest.KkFIzV/build.WXF/src 172s + '[' /tmp/autopkgtest.KkFIzV/autopkgtest_tmp = '' ']' 172s + cd /tmp/autopkgtest.KkFIzV/autopkgtest_tmp 172s + mypy --help 172s usage: mypy [-h] [-v] [-V] [more options; see below] 172s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 172s 172s Mypy is a program that will type check your Python code. 172s 172s Pass in any files or folders you want to type check. Mypy will 172s recursively traverse any provided folders to find .py files: 172s 172s $ mypy my_program.py my_src_folder 172s 172s For more information on getting started, see: 172s 172s - https://mypy.readthedocs.io/en/stable/getting_started.html 172s 172s For more details on both running mypy and using the flags below, see: 172s 172s - https://mypy.readthedocs.io/en/stable/running_mypy.html 172s - https://mypy.readthedocs.io/en/stable/command_line.html 172s 172s You can also use a config file to configure mypy instead of using 172s command line flags. For more details, see: 172s 172s - https://mypy.readthedocs.io/en/stable/config_file.html 172s 172s options: 172s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 172s Enable support of incomplete/experimental features 172s for early preview 172s 172s Optional arguments: 172s -h, --help Show this help message and exit 172s -v, --verbose More verbose messages 172s -V, --version Show program's version number and exit 172s -O FORMAT, --output FORMAT 172s Set a custom output format 172s 172s Config file: 172s Use a config file instead of command line arguments. This is useful if you 172s are using many flags or want to set different options per each module. 172s 172s --config-file CONFIG_FILE 172s Configuration file, must have a [mypy] section 172s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 172s setup.cfg, ~/.config/mypy/config, ~/.mypy.ini) 172s --warn-unused-configs Warn about unused '[mypy-]' or 172s '[[tool.mypy.overrides]]' config sections 172s (inverse: --no-warn-unused-configs) 172s 172s Import discovery: 172s Configure how imports are discovered and followed. 172s 172s --no-namespace-packages Disable support for namespace packages (PEP 420, 172s __init__.py-less) (inverse: --namespace-packages) 172s --ignore-missing-imports Silently ignore imports of missing modules 172s --follow-imports {normal,silent,skip,error} 172s How to treat imports (default normal) 172s --python-executable EXECUTABLE 172s Python executable used for finding PEP 561 172s compliant installed packages and stubs 172s --no-site-packages Do not search for installed PEP 561 compliant 172s packages 172s --no-silence-site-packages 172s Do not silence errors in PEP 561 compliant 172s installed packages 172s --junit-format {global,per_file} 172s If --junit-xml is set, specifies format. global: 172s single test with all errors; per_file: one test 172s entry per file with failures 172s 172s Platform configuration: 172s Type check code assuming it will be run under certain runtime conditions. 172s By default, mypy assumes your code will be run using the same operating 172s system and Python version you are using to run mypy itself. 172s 172s --python-version x.y Type check code assuming it will be running on 172s Python x.y 172s --platform PLATFORM Type check special-cased code for the given OS 172s platform (defaults to sys.platform) 172s --always-true NAME Additional variable to be considered True (may be 172s repeated) 172s --always-false NAME Additional variable to be considered False (may be 172s repeated) 172s 172s Disallow dynamic typing: 172s Disallow the use of the dynamic 'Any' type under certain conditions. 172s 172s --disallow-any-unimported 172s Disallow Any types resulting from unfollowed 172s imports 172s --disallow-any-expr Disallow all expressions that have type Any 172s --disallow-any-decorated Disallow functions that have Any in their 172s signature after decorator transformation 172s --disallow-any-explicit Disallow explicit Any in type positions 172s --disallow-any-generics Disallow usage of generic types that do not 172s specify explicit type parameters (inverse: 172s --allow-any-generics) 172s --disallow-subclassing-any 172s Disallow subclassing values of type 'Any' when 172s defining classes (inverse: --allow-subclassing- 172s any) 172s 172s Untyped definitions and calls: 172s Configure how untyped definitions and calls are handled. Note: by default, 172s mypy ignores any untyped function definitions and assumes any calls to 172s such functions have a return type of 'Any'. 172s 172s --disallow-untyped-calls Disallow calling functions without type 172s annotations from functions with type annotations 172s (inverse: --allow-untyped-calls) 172s --untyped-calls-exclude MODULE 172s Disable --disallow-untyped-calls for 172s functions/methods coming from specific package, 172s module, or class 172s --disallow-untyped-defs Disallow defining functions without type 172s annotations or with incomplete type annotations 172s (inverse: --allow-untyped-defs) 172s --disallow-incomplete-defs 172s Disallow defining functions with incomplete type 172s annotations (while still allowing entirely 172s unannotated definitions) (inverse: --allow- 172s incomplete-defs) 172s --check-untyped-defs Type check the interior of functions without type 172s annotations (inverse: --no-check-untyped-defs) 172s --disallow-untyped-decorators 172s Disallow decorating typed functions with untyped 172s decorators (inverse: --allow-untyped-decorators) 172s 172s None and Optional handling: 172s Adjust how values of type 'None' are handled. For more context on how mypy 172s handles values of type 'None', see: 172s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 172s optional 172s 172s --implicit-optional Assume arguments with default values of None are 172s Optional (inverse: --no-implicit-optional) 172s --no-strict-optional Disable strict Optional checks (inverse: --strict- 172s optional) 172s 172s Configuring warnings: 172s Detect code that is sound but redundant or problematic. 172s 172s --warn-redundant-casts Warn about casting an expression to its inferred 172s type (inverse: --no-warn-redundant-casts) 172s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 172s (inverse: --no-warn-unused-ignores) 172s --no-warn-no-return Do not warn about functions that end without 172s returning (inverse: --warn-no-return) 172s --warn-return-any Warn about returning values of type Any from non- 172s Any typed functions (inverse: --no-warn-return- 172s any) 172s --warn-unreachable Warn about statements or expressions inferred to 172s be unreachable (inverse: --no-warn-unreachable) 172s 172s Miscellaneous strictness flags: 172s --allow-untyped-globals Suppress toplevel errors caused by missing 172s annotations (inverse: --disallow-untyped-globals) 172s --allow-redefinition Allow unconditional variable redefinition with a 172s new type (inverse: --disallow-redefinition) 172s --no-implicit-reexport Treat imports as private unless aliased (inverse: 172s --implicit-reexport) 172s --strict-equality Prohibit equality, identity, and container checks 172s for non-overlapping types (inverse: --no-strict- 172s equality) 172s --extra-checks Enable additional checks that are technically 172s correct but may be impractical in real code. For 172s example, this prohibits partial overlap in 172s TypedDict updates, and makes arguments prepended 172s via Concatenate positional-only (inverse: --no- 172s extra-checks) 172s --strict Strict mode; enables the following flags: --warn- 172s unused-configs, --disallow-any-generics, 172s --disallow-subclassing-any, --disallow-untyped- 172s calls, --disallow-untyped-defs, --disallow- 172s incomplete-defs, --check-untyped-defs, --disallow- 172s untyped-decorators, --warn-redundant-casts, 172s --warn-unused-ignores, --warn-return-any, --no- 172s implicit-reexport, --strict-equality, --extra- 172s checks 172s --disable-error-code NAME 172s Disable a specific error code 172s --enable-error-code NAME Enable a specific error code 172s 172s Configuring error messages: 172s Adjust the amount of detail shown in error messages. 172s 172s --show-error-context Precede errors with "note:" messages explaining 172s context (inverse: --hide-error-context) 172s --show-column-numbers Show column numbers in error messages (inverse: 172s --hide-column-numbers) 172s --show-error-end Show end line/end column numbers in error 172s messages. This implies --show-column-numbers 172s (inverse: --hide-error-end) 172s --hide-error-codes Hide error codes in error messages (inverse: 172s --show-error-codes) 172s --show-error-code-links Show links to error code documentation (inverse: 172s --hide-error-code-links) 172s --pretty Use visually nicer output in error messages: Use 172s soft word wrap, show source code snippets, and 172s show error location markers (inverse: --no-pretty) 172s --no-color-output Do not colorize error messages (inverse: --color- 172s output) 172s --no-error-summary Do not show error stats summary (inverse: --error- 172s summary) 172s --show-absolute-path Show absolute paths to files (inverse: --hide- 172s absolute-path) 172s 172s Incremental mode: 172s Adjust how mypy incrementally type checks and caches modules. Mypy caches 172s type information about modules into a cache to let you speed up future 172s invocations of mypy. Also see mypy's daemon mode: 172s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 172s 172s --no-incremental Disable module cache (inverse: --incremental) 172s --cache-dir DIR Store module cache info in the given folder in 172s incremental mode (defaults to '.mypy_cache') 172s --sqlite-cache Use a sqlite database to store the cache (inverse: 172s --no-sqlite-cache) 172s --cache-fine-grained Include fine-grained dependency information in the 172s cache for the mypy daemon 172s --skip-version-check Allow using cache written by older mypy version 172s --skip-cache-mtime-checks 172s Skip cache internal consistency checks based on 172s mtime 172s 172s Advanced options: 172s Debug and customize mypy internals. 172s 172s --pdb Invoke pdb on fatal error 172s --show-traceback, --tb Show traceback on fatal error 172s --raise-exceptions Raise exception on fatal error 172s --custom-typing-module MODULE 172s Use a custom typing module 172s --old-type-inference Disable new experimental type inference algorithm 172s --custom-typeshed-dir DIR 172s Use the custom typeshed in DIR 172s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 172s relevant with --disallow-untyped-defs or 172s --disallow-incomplete-defs enabled (inverse: --no- 172s warn-incomplete-stub) 172s --shadow-file SOURCE_FILE SHADOW_FILE 172s When encountering SOURCE_FILE, read and type check 172s the contents of SHADOW_FILE instead. 172s 172s Report generation: 172s Generate a report in the specified format. 172s 172s --any-exprs-report DIR 172s --cobertura-xml-report DIR 172s --html-report DIR 172s --linecount-report DIR 172s --linecoverage-report DIR 172s --lineprecision-report DIR 172s --txt-report DIR 172s --xml-report DIR 172s --xslt-html-report DIR 172s --xslt-txt-report DIR 172s 172s Miscellaneous: 172s --junit-xml JUNIT_XML Write junit.xml to the given file 172s --find-occurrences CLASS.MEMBER 172s Print out all usages of a class member 172s (experimental) 172s --scripts-are-modules Script x becomes module x instead of __main__ 172s --install-types Install detected missing library stub packages 172s using pip (inverse: --no-install-types) 172s --non-interactive Install stubs without asking for confirmation and 172s hide errors, with --install-types (inverse: 172s --interactive) 172s 172s Running code: 172s Specify the code you want to type check. For more details, see 172s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 172s 172s --explicit-package-bases Use current directory and MYPYPATH to determine 172s module names of files passed (inverse: --no- 172s explicit-package-bases) 172s --exclude PATTERN Regular expression to match file names, directory 172s names or paths which mypy should ignore while 172s recursively discovering files to check, e.g. 172s --exclude '/setup\.py$'. May be specified more 172s than once, eg. --exclude a --exclude b 172s -m MODULE, --module MODULE 172s Type-check module; can repeat for more modules 172s -p PACKAGE, --package PACKAGE 172s Type-check package recursively; can be repeated 172s -c PROGRAM_TEXT, --command PROGRAM_TEXT 172s Type-check program passed in as string 172s files Type-check given files or directories 172s 172s Environment variables: 172s Define MYPYPATH for additional module search path entries. 172s Define MYPY_CACHE_DIR to override configuration cache_dir path. 172s + mypyc --help 172s usage: mypy [-h] [-v] [-V] [more options; see below] 172s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 172s 172s Mypy is a program that will type check your Python code. 172s 172s Pass in any files or folders you want to type check. Mypy will 172s recursively traverse any provided folders to find .py files: 172s 172s $ mypy my_program.py my_src_folder 172s 172s For more information on getting started, see: 172s 172s - https://mypy.readthedocs.io/en/stable/getting_started.html 172s 172s For more details on both running mypy and using the flags below, see: 172s 172s - https://mypy.readthedocs.io/en/stable/running_mypy.html 172s - https://mypy.readthedocs.io/en/stable/command_line.html 172s 172s You can also use a config file to configure mypy instead of using 172s command line flags. For more details, see: 172s 172s - https://mypy.readthedocs.io/en/stable/config_file.html 172s 172s options: 172s --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes} 172s Enable support of incomplete/experimental features 172s for early preview 172s 172s Optional arguments: 172s -h, --help Show this help message and exit 172s -v, --verbose More verbose messages 172s -V, --version Show program's version number and exit 172s -O FORMAT, --output FORMAT 172s Set a custom output format 172s 172s Config file: 172s Use a config file instead of command line arguments. This is useful if you 172s are using many flags or want to set different options per each module. 172s 172s --config-file CONFIG_FILE 172s Configuration file, must have a [mypy] section 172s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 172s setup.cfg, ~/.config/mypy/config, ~/.mypy.ini) 172s --warn-unused-configs Warn about unused '[mypy-]' or 172s '[[tool.mypy.overrides]]' config sections 172s (inverse: --no-warn-unused-configs) 172s 172s Import discovery: 172s Configure how imports are discovered and followed. 172s 172s --no-namespace-packages Disable support for namespace packages (PEP 420, 172s __init__.py-less) (inverse: --namespace-packages) 172s --ignore-missing-imports Silently ignore imports of missing modules 172s --follow-imports {normal,silent,skip,error} 172s How to treat imports (default normal) 172s --python-executable EXECUTABLE 172s Python executable used for finding PEP 561 172s compliant installed packages and stubs 172s --no-site-packages Do not search for installed PEP 561 compliant 172s packages 172s --no-silence-site-packages 172s Do not silence errors in PEP 561 compliant 172s installed packages 172s --junit-format {global,per_file} 172s If --junit-xml is set, specifies format. global: 172s single test with all errors; per_file: one test 172s entry per file with failures 172s 172s Platform configuration: 172s Type check code assuming it will be run under certain runtime conditions. 172s By default, mypy assumes your code will be run using the same operating 172s system and Python version you are using to run mypy itself. 172s 172s --python-version x.y Type check code assuming it will be running on 172s Python x.y 172s --platform PLATFORM Type check special-cased code for the given OS 172s platform (defaults to sys.platform) 172s --always-true NAME Additional variable to be considered True (may be 172s repeated) 172s --always-false NAME Additional variable to be considered False (may be 172s repeated) 172s 172s Disallow dynamic typing: 172s Disallow the use of the dynamic 'Any' type under certain conditions. 172s 172s --disallow-any-unimported 172s Disallow Any types resulting from unfollowed 172s imports 172s --disallow-any-expr Disallow all expressions that have type Any 172s --disallow-any-decorated Disallow functions that have Any in their 172s signature after decorator transformation 172s --disallow-any-explicit Disallow explicit Any in type positions 172s --disallow-any-generics Disallow usage of generic types that do not 172s specify explicit type parameters (inverse: 172s --allow-any-generics) 172s --disallow-subclassing-any 172s Disallow subclassing values of type 'Any' when 172s defining classes (inverse: --allow-subclassing- 172s any) 172s 172s Untyped definitions and calls: 172s Configure how untyped definitions and calls are handled. Note: by default, 172s mypy ignores any untyped function definitions and assumes any calls to 172s such functions have a return type of 'Any'. 172s 172s --disallow-untyped-calls Disallow calling functions without type 172s annotations from functions with type annotations 172s (inverse: --allow-untyped-calls) 172s --untyped-calls-exclude MODULE 172s Disable --disallow-untyped-calls for 172s functions/methods coming from specific package, 172s module, or class 172s --disallow-untyped-defs Disallow defining functions without type 172s annotations or with incomplete type annotations 172s (inverse: --allow-untyped-defs) 172s --disallow-incomplete-defs 172s Disallow defining functions with incomplete type 172s annotations (while still allowing entirely 172s unannotated definitions) (inverse: --allow- 172s incomplete-defs) 172s --check-untyped-defs Type check the interior of functions without type 172s annotations (inverse: --no-check-untyped-defs) 172s --disallow-untyped-decorators 172s Disallow decorating typed functions with untyped 172s decorators (inverse: --allow-untyped-decorators) 172s 172s None and Optional handling: 172s Adjust how values of type 'None' are handled. For more context on how mypy 172s handles values of type 'None', see: 172s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 172s optional 172s 172s --implicit-optional Assume arguments with default values of None are 172s Optional (inverse: --no-implicit-optional) 172s --no-strict-optional Disable strict Optional checks (inverse: --strict- 172s optional) 172s 172s Configuring warnings: 172s Detect code that is sound but redundant or problematic. 172s 172s --warn-redundant-casts Warn about casting an expression to its inferred 172s type (inverse: --no-warn-redundant-casts) 172s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 172s (inverse: --no-warn-unused-ignores) 172s --no-warn-no-return Do not warn about functions that end without 172s returning (inverse: --warn-no-return) 172s --warn-return-any Warn about returning values of type Any from non- 172s Any typed functions (inverse: --no-warn-return- 172s any) 172s --warn-unreachable Warn about statements or expressions inferred to 172s be unreachable (inverse: --no-warn-unreachable) 172s 172s Miscellaneous strictness flags: 172s --allow-untyped-globals Suppress toplevel errors caused by missing 172s annotations (inverse: --disallow-untyped-globals) 172s --allow-redefinition Allow unconditional variable redefinition with a 172s new type (inverse: --disallow-redefinition) 172s --no-implicit-reexport Treat imports as private unless aliased (inverse: 172s --implicit-reexport) 172s --strict-equality Prohibit equality, identity, and container checks 172s for non-overlapping types (inverse: --no-strict- 172s equality) 172s --extra-checks Enable additional checks that are technically 172s correct but may be impractical in real code. For 172s example, this prohibits partial overlap in 172s TypedDict updates, and makes arguments prepended 172s via Concatenate positional-only (inverse: --no- 172s extra-checks) 172s --strict Strict mode; enables the following flags: --warn- 172s unused-configs, --disallow-any-generics, 172s --disallow-subclassing-any, --disallow-untyped- 172s calls, --disallow-untyped-defs, --disallow- 172s incomplete-defs, --check-untyped-defs, --disallow- 172s untyped-decorators, --warn-redundant-casts, 172s --warn-unused-ignores, --warn-return-any, --no- 172s implicit-reexport, --strict-equality, --extra- 172s checks 172s --disable-error-code NAME 172s Disable a specific error code 172s --enable-error-code NAME Enable a specific error code 172s 172s Configuring error messages: 172s Adjust the amount of detail shown in error messages. 172s 172s --show-error-context Precede errors with "note:" messages explaining 172s context (inverse: --hide-error-context) 172s --show-column-numbers Show column numbers in error messages (inverse: 172s --hide-column-numbers) 172s --show-error-end Show end line/end column numbers in error 172s messages. This implies --show-column-numbers 172s (inverse: --hide-error-end) 172s --hide-error-codes Hide error codes in error messages (inverse: 172s --show-error-codes) 172s --show-error-code-links Show links to error code documentation (inverse: 172s --hide-error-code-links) 172s --pretty Use visually nicer output in error messages: Use 172s soft word wrap, show source code snippets, and 172s show error location markers (inverse: --no-pretty) 172s --no-color-output Do not colorize error messages (inverse: --color- 172s output) 172s --no-error-summary Do not show error stats summary (inverse: --error- 172s summary) 172s --show-absolute-path Show absolute paths to files (inverse: --hide- 172s absolute-path) 172s 172s Incremental mode: 172s Adjust how mypy incrementally type checks and caches modules. Mypy caches 172s type information about modules into a cache to let you speed up future 172s invocations of mypy. Also see mypy's daemon mode: 172s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 172s 172s --no-incremental Disable module cache (inverse: --incremental) 172s --cache-dir DIR Store module cache info in the given folder in 172s incremental mode (defaults to '.mypy_cache') 172s --sqlite-cache Use a sqlite database to store the cache (inverse: 172s --no-sqlite-cache) 172s --cache-fine-grained Include fine-grained dependency information in the 172s cache for the mypy daemon 172s --skip-version-check Allow using cache written by older mypy version 172s --skip-cache-mtime-checks 172s Skip cache internal consistency checks based on 172s mtime 172s 172s Advanced options: 172s Debug and customize mypy internals. 172s 172s --pdb Invoke pdb on fatal error 172s --show-traceback, --tb Show traceback on fatal error 172s --raise-exceptions Raise exception on fatal error 172s --custom-typing-module MODULE 172s Use a custom typing module 172s --old-type-inference Disable new experimental type inference algorithm 172s --custom-typeshed-dir DIR 172s Use the custom typeshed in DIR 172s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 172s relevant with --disallow-untyped-defs or 172s --disallow-incomplete-defs enabled (inverse: --no- 172s warn-incomplete-stub) 172s --shadow-file SOURCE_FILE SHADOW_FILE 172s When encountering SOURCE_FILE, read and type check 172s the contents of SHADOW_FILE instead. 172s 172s Report generation: 172s Generate a report in the specified format. 172s 172s --any-exprs-report DIR 172s --cobertura-xml-report DIR 172s --html-report DIR 172s --linecount-report DIR 172s --linecoverage-report DIR 172s --lineprecision-report DIR 172s --txt-report DIR 172s --xml-report DIR 172s --xslt-html-report DIR 172s --xslt-txt-report DIR 172s 172s Miscellaneous: 172s --junit-xml JUNIT_XML Write junit.xml to the given file 172s --find-occurrences CLASS.MEMBER 172s Print out all usages of a class member 172s (experimental) 172s --scripts-are-modules Script x becomes module x instead of __main__ 172s --install-types Install detected missing library stub packages 172s using pip (inverse: --no-install-types) 172s --non-interactive Install stubs without asking for confirmation and 172s hide errors, with --install-types (inverse: 172s --interactive) 172s 172s Running code: 172s Specify the code you want to type check. For more details, see 172s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 172s 172s --explicit-package-bases Use current directory and MYPYPATH to determine 172s module names of files passed (inverse: --no- 172s explicit-package-bases) 172s --exclude PATTERN Regular expression to match file names, directory 172s names or paths which mypy should ignore while 172s recursively discovering files to check, e.g. 172s --exclude '/setup\.py$'. May be specified more 172s than once, eg. --exclude a --exclude b 172s -m MODULE, --module MODULE 172s Type-check module; can repeat for more modules 172s -p PACKAGE, --package PACKAGE 172s Type-check package recursively; can be repeated 172s -c PROGRAM_TEXT, --command PROGRAM_TEXT 172s Type-check program passed in as string 172s files Type-check given files or directories 172s 172s Environment variables: 172s Define MYPYPATH for additional module search path entries. 172s Define MYPY_CACHE_DIR to override configuration cache_dir path. 172s + stubgen --help 173s usage: stubgen [-h] [more options, see -h] 173s [-m MODULE] [-p PACKAGE] [files ...] 173s 173s Generate draft stubs for modules. Stubs are generated in directory ./out, to 173s avoid overriding files with manual changes. This directory is assumed to 173s exist. 173s 173s positional arguments: 173s files generate stubs for given files or directories 173s 173s options: 173s -h, --help show this help message and exit 173s --ignore-errors ignore errors when trying to generate stubs for 173s modules 173s --no-import don't import the modules, just parse and analyze them 173s (doesn't work with C extension modules and might not 173s respect __all__) 173s --no-analysis, --parse-only 173s don't perform semantic analysis of sources, just parse 173s them (only applies to Python modules, might affect 173s quality of stubs. Not compatible with --inspect-mode) 173s --inspect-mode import and inspect modules instead of parsing source 173s code.This is the default behavior for c modules and 173s pyc-only packages, but it is also useful for pure 173s python modules with dynamically generated members. 173s --include-private generate stubs for objects and members considered 173s private (single leading underscore and no trailing 173s underscores) 173s --export-less don't implicitly export all names imported from other 173s modules in the same package 173s --include-docstrings include existing docstrings with the stubs 173s -v, --verbose show more verbose messages 173s -q, --quiet show fewer messages 173s --doc-dir PATH use .rst documentation in PATH (this may result in 173s better stubs in some cases; consider setting this to 173s DIR/Python-X.Y.Z/Doc/library) 173s --search-path PATH specify module search directories, separated by ':' 173s (currently only used if --no-import is given) 173s -o PATH, --output PATH 173s change the output directory [default: out] 173s -m MODULE, --module MODULE 173s generate stub for module; can repeat for more modules 173s -p PACKAGE, --package PACKAGE 173s generate stubs for package recursively; can be 173s repeated 173s --version show program's version number and exit 173s + stubtest --help 173s usage: stubtest [-h] [--concise] [--ignore-missing-stub] 173s [--ignore-positional-only] [--allowlist FILE] 173s [--generate-allowlist] [--ignore-unused-allowlist] 173s [--mypy-config-file FILE] [--custom-typeshed-dir DIR] 173s [--check-typeshed] [--version] 173s [modules ...] 173s 173s Compares stubs to objects introspected from the runtime. 173s 173s positional arguments: 173s modules Modules to test 173s 173s options: 173s -h, --help show this help message and exit 173s --concise Makes stubtest's output more concise, one line per 173s error 173s --ignore-missing-stub 173s Ignore errors for stub missing things that are present 173s at runtime 173s --ignore-positional-only 173s Ignore errors for whether an argument should or 173s shouldn't be positional-only 173s --allowlist FILE, --whitelist FILE 173s Use file as an allowlist. Can be passed multiple times 173s to combine multiple allowlists. Allowlists can be 173s created with --generate-allowlist. Allowlists support 173s regular expressions. 173s --generate-allowlist, --generate-whitelist 173s Print an allowlist (to stdout) to be used with 173s --allowlist 173s --ignore-unused-allowlist, --ignore-unused-whitelist 173s Ignore unused allowlist entries 173s --mypy-config-file FILE 173s Use specified mypy config file to determine mypy 173s plugins and mypy path 173s --custom-typeshed-dir DIR 173s Use the custom typeshed in DIR 173s --check-typeshed Check all stdlib modules in typeshed 173s --version show program's version number and exit 173s + export TEST_MYPYC=1 173s + TEST_MYPYC=1 173s + rm -Rf mypy mypyc 173s + cp -r /usr/lib/python3/dist-packages/mypy ./ 173s + cp -r /usr/lib/python3/dist-packages/mypyc ./ 173s + mypy_test_prefix= 173s + 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)' 173s ============================= test session starts ============================== 173s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 173s cachedir: .pytest_cache 173s rootdir: /tmp/autopkgtest.KkFIzV/autopkgtest_tmp 173s plugins: typeguard-4.4.1, xdist-3.6.1 174s collecting ... collected 16 items / 5 deselected / 11 selected 174s 174s test/meta/test_diff_helper.py::DiffHelperSuite::test_diff_ranges PASSED [ 9%] 174s test/meta/test_diff_helper.py::DiffHelperSuite::test_render_diff_range PASSED [ 18%] 174s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace PASSED [ 27%] 174s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_explicit_base PASSED [ 36%] 174s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_multi_dir PASSED [ 45%] 174s test/test_find_sources.py::SourceFinderSuite::test_crawl_no_namespace PASSED [ 54%] 174s test/test_find_sources.py::SourceFinderSuite::test_find_sources_exclude PASSED [ 63%] 174s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace PASSED [ 72%] 174s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_explicit_base PASSED [ 81%] 174s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_multi_dir PASSED [ 90%] 174s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_no_namespace PASSED [100%] 174s 174s ======================= 11 passed, 5 deselected in 0.26s ======================= 174s + mypy_test_prefix= 174s + pytest-3 -v --pyargs mypyc 174s ============================= test session starts ============================== 174s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 174s cachedir: .pytest_cache 174s rootdir: /tmp/autopkgtest.KkFIzV/autopkgtest_tmp 174s plugins: typeguard-4.4.1, xdist-3.6.1 174s collecting ... collected 125 items 174s 175s test/test_cheader.py::TestHeaderInclusion::test_primitives_included_in_header PASSED [ 0%] 175s test/test_emit.py::TestEmitter::test_emit_line PASSED [ 1%] 175s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_simple_type PASSED [ 2%] 175s test/test_emit.py::TestEmitter::test_emit_undefined_value_for_tuple PASSED [ 3%] 175s test/test_emit.py::TestEmitter::test_label PASSED [ 4%] 175s test/test_emit.py::TestEmitter::test_object_annotation PASSED [ 4%] 175s test/test_emit.py::TestEmitter::test_reg PASSED [ 5%] 175s test/test_emitclass.py::TestEmitClass::test_getter_name PASSED [ 6%] 175s test/test_emitclass.py::TestEmitClass::test_setter_name PASSED [ 7%] 175s test/test_emitclass.py::TestEmitClass::test_slot_key PASSED [ 8%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_int PASSED [ 8%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_assign_multi PASSED [ 9%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_i64 PASSED [ 10%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_box_int PASSED [ 11%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch PASSED [ 12%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error PASSED [ 12%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_is_error_next_block PASSED [ 13%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else PASSED [ 14%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_no_else_negated PASSED [ 15%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_branch_rare PASSED [ 16%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call PASSED [ 16%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_call_two_args PASSED [ 17%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_merge PASSED [ 18%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_1 PASSED [ 19%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_2 PASSED [ 20%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_3 PASSED [ 20%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_cast_and_branch_no_merge_4 PASSED [ 21%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_comparison_op PASSED [ 22%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref PASSED [ 23%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_int PASSED [ 24%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple PASSED [ 24%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dec_ref_tuple_nested PASSED [ 25%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_contains PASSED [ 26%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_get_item PASSED [ 27%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_set_item PASSED [ 28%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_dict_update PASSED [ 28%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_extend PASSED [ 29%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr PASSED [ 30%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_merged PASSED [ 31%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_non_refcounted PASSED [ 32%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_attr_with_bitmap PASSED [ 32%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_get_element_ptr PASSED [ 33%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto PASSED [ 34%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_goto_next_block PASSED [ 35%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref PASSED [ 36%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_inc_ref_int PASSED [ 36%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_add PASSED [ 37%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_neg PASSED [ 38%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_op PASSED [ 39%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_int_sub PASSED [ 40%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_integer PASSED [ 40%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_append PASSED [ 41%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_get_item PASSED [ 42%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_list_set_item PASSED [ 43%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_None PASSED [ 44%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_address PASSED [ 44%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_load_mem PASSED [ 45%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_signed PASSED [ 46%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_long_unsigned PASSED [ 47%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_new_dict PASSED [ 48%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_return PASSED [ 48%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr PASSED [ 49%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_init_with_bitmap PASSED [ 50%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_no_error PASSED [ 51%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted PASSED [ 52%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_non_refcounted_no_error PASSED [ 52%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_attr_with_bitmap PASSED [ 53%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_set_mem PASSED [ 54%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_tuple_get PASSED [ 55%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_i64 PASSED [ 56%] 175s test/test_emitfunc.py::TestFunctionEmitterVisitor::test_unbox_int PASSED [ 56%] 175s test/test_emitfunc.py::TestGenerateFunction::test_register PASSED [ 57%] 175s test/test_emitfunc.py::TestGenerateFunction::test_simple PASSED [ 58%] 175s test/test_emitwrapper.py::TestArgCheck::test_check_int PASSED [ 59%] 175s test/test_emitwrapper.py::TestArgCheck::test_check_list PASSED [ 60%] 195s test/test_external.py::TestExternal::test_c_unit_test PASSED [ 60%] 195s test/test_ircheck.py::TestIrcheck::test_block_not_terminated_empty_block PASSED [ 61%] 195s test/test_ircheck.py::TestIrcheck::test_can_coerce_to PASSED [ 62%] 195s test/test_ircheck.py::TestIrcheck::test_duplicate_op PASSED [ 63%] 195s test/test_ircheck.py::TestIrcheck::test_invalid_assign PASSED [ 64%] 195s test/test_ircheck.py::TestIrcheck::test_invalid_goto PASSED [ 64%] 195s test/test_ircheck.py::TestIrcheck::test_invalid_op_source PASSED [ 65%] 195s test/test_ircheck.py::TestIrcheck::test_invalid_register_source PASSED [ 66%] 195s test/test_ircheck.py::TestIrcheck::test_invalid_return_type PASSED [ 67%] 195s test/test_ircheck.py::TestIrcheck::test_load_address_declares_register PASSED [ 68%] 195s test/test_ircheck.py::TestIrcheck::test_pprint PASSED [ 68%] 195s test/test_ircheck.py::TestIrcheck::test_valid_fn PASSED [ 69%] 195s test/test_ircheck.py::TestIrcheck::test_valid_goto PASSED [ 70%] 195s test/test_literals.py::TestLiterals::test_encode_bytes_values PASSED [ 71%] 195s test/test_literals.py::TestLiterals::test_encode_int_values PASSED [ 72%] 195s test/test_literals.py::TestLiterals::test_encode_str_values PASSED [ 72%] 195s test/test_literals.py::TestLiterals::test_format_str_literal PASSED [ 73%] 195s test/test_literals.py::TestLiterals::test_simple_literal_index PASSED [ 74%] 195s test/test_literals.py::TestLiterals::test_tuple_literal PASSED [ 75%] 195s test/test_namegen.py::TestNameGen::test_candidate_suffixes PASSED [ 76%] 195s test/test_namegen.py::TestNameGen::test_exported_name PASSED [ 76%] 195s test/test_namegen.py::TestNameGen::test_make_module_translation_map PASSED [ 77%] 195s test/test_namegen.py::TestNameGen::test_name_generator PASSED [ 78%] 195s test/test_pprint.py::TestGenerateNames::test_arg PASSED [ 79%] 195s test/test_pprint.py::TestGenerateNames::test_assign PASSED [ 80%] 195s test/test_pprint.py::TestGenerateNames::test_empty PASSED [ 80%] 195s test/test_pprint.py::TestGenerateNames::test_int_op PASSED [ 81%] 195s test/test_rarray.py::TestRArray::test_alignment PASSED [ 82%] 195s test/test_rarray.py::TestRArray::test_basics PASSED [ 83%] 195s test/test_rarray.py::TestRArray::test_eq PASSED [ 84%] 195s test/test_rarray.py::TestRArray::test_hash PASSED [ 84%] 195s test/test_rarray.py::TestRArray::test_size PASSED [ 85%] 195s test/test_rarray.py::TestRArray::test_str_conversion PASSED [ 86%] 195s test/test_struct.py::TestStruct::test_eq_and_hash PASSED [ 87%] 195s test/test_struct.py::TestStruct::test_runtime_subtype PASSED [ 88%] 195s test/test_struct.py::TestStruct::test_struct_offsets PASSED [ 88%] 195s test/test_struct.py::TestStruct::test_struct_str PASSED [ 89%] 195s test/test_tuplename.py::TestTupleNames::test_names PASSED [ 90%] 195s test/test_typeops.py::TestSubtype::test_bit PASSED [ 91%] 195s test/test_typeops.py::TestSubtype::test_bool PASSED [ 92%] 195s test/test_typeops.py::TestSubtype::test_int16 PASSED [ 92%] 195s test/test_typeops.py::TestSubtype::test_int32 PASSED [ 93%] 195s test/test_typeops.py::TestSubtype::test_int64 PASSED [ 94%] 195s test/test_typeops.py::TestRuntimeSubtype::test_bit PASSED [ 95%] 195s test/test_typeops.py::TestRuntimeSubtype::test_bool PASSED [ 96%] 195s test/test_typeops.py::TestRuntimeSubtype::test_union PASSED [ 96%] 195s test/test_typeops.py::TestUnionSimplification::test_cannot_simplify PASSED [ 97%] 195s test/test_typeops.py::TestUnionSimplification::test_nested PASSED [ 98%] 195s test/test_typeops.py::TestUnionSimplification::test_remove_duplicate PASSED [ 99%] 195s test/test_typeops.py::TestUnionSimplification::test_simple_type_result PASSED [100%] 195s 195s ============================= 125 passed in 21.36s ============================= 195s + rm -Rf mypy/typeshed 195s + /usr/bin/mypy --config-file /tmp/autopkgtest.KkFIzV/build.WXF/src/mypy_self_check.ini mypy 215s Success: no issues found in 180 source files 215s autopkgtest [09:44:45]: test run-unit-test: -----------------------] 216s run-unit-test PASS 216s autopkgtest [09:44:46]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 216s autopkgtest [09:44:46]: test autodep8-python3: preparing testbed 307s autopkgtest [09:46:17]: testbed dpkg architecture: arm64 307s autopkgtest [09:46:17]: testbed apt version: 2.9.8 307s autopkgtest [09:46:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 308s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 308s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 308s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 308s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 308s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 308s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 308s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 308s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 309s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 309s Fetched 1794 kB in 1s (1870 kB/s) 309s Reading package lists... 311s Reading package lists... 312s Building dependency tree... 312s Reading state information... 313s Calculating upgrade... 314s The following NEW packages will be installed: 314s python3.13-gdbm 314s The following packages will be upgraded: 314s libpython3-stdlib python3 python3-gdbm python3-minimal 314s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 314s Need to get 101 kB of archives. 314s After this operation, 141 kB of additional disk space will be used. 314s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 314s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 314s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 314s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 314s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 315s Fetched 101 kB in 0s (261 kB/s) 315s (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 ... 79924 files and directories currently installed.) 315s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 315s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 315s Setting up python3-minimal (3.12.7-1) ... 316s (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 ... 79924 files and directories currently installed.) 316s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 316s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 316s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 316s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 316s Selecting previously unselected package python3.13-gdbm. 316s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 316s Unpacking python3.13-gdbm (3.13.0-2) ... 316s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 316s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 316s Setting up python3.13-gdbm (3.13.0-2) ... 316s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 316s Setting up python3 (3.12.7-1) ... 316s Setting up python3-gdbm:arm64 (3.12.7-1) ... 316s Processing triggers for man-db (2.12.1-3) ... 317s Reading package lists... 318s Building dependency tree... 318s Reading state information... 319s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 320s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 320s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 320s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 320s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 322s Reading package lists... 322s Reading package lists... 322s Building dependency tree... 322s Reading state information... 323s Calculating upgrade... 325s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 325s Reading package lists... 325s Building dependency tree... 325s Reading state information... 326s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 332s Reading package lists... 333s Building dependency tree... 333s Reading state information... 334s Starting pkgProblemResolver with broken count: 0 334s Starting 2 pkgProblemResolver with broken count: 0 334s Done 336s The following additional packages will be installed: 336s libpython3.13-minimal libpython3.13-stdlib python3-all python3-mypy 336s python3-mypy-extensions python3-psutil python3.13 python3.13-minimal 336s Suggested packages: 336s python3.13-venv python3.13-doc binfmt-support 336s Recommended packages: 336s python3-lxml python3-orjson 336s The following NEW packages will be installed: 336s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 336s python3-mypy python3-mypy-extensions python3-psutil python3.13 336s python3.13-minimal 336s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 336s Need to get 14.2 MB/14.2 MB of archives. 336s After this operation, 78.4 MB of additional disk space will be used. 336s Get:1 /tmp/autopkgtest.KkFIzV/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 336s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 336s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 336s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 336s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 336s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 336s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mypy-extensions all 1.0.0-1 [6148 B] 336s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build2 [196 kB] 336s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mypy arm64 1.13.0-1 [8230 kB] 337s Fetched 14.2 MB in 1s (12.0 MB/s) 337s Selecting previously unselected package libpython3.13-minimal:arm64. 337s (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 ... 79931 files and directories currently installed.) 337s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_arm64.deb ... 337s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 338s Selecting previously unselected package python3.13-minimal. 338s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_arm64.deb ... 338s Unpacking python3.13-minimal (3.13.0-2) ... 338s Selecting previously unselected package libpython3.13-stdlib:arm64. 338s Preparing to unpack .../2-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 338s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 338s Selecting previously unselected package python3.13. 338s Preparing to unpack .../3-python3.13_3.13.0-2_arm64.deb ... 338s Unpacking python3.13 (3.13.0-2) ... 338s Selecting previously unselected package python3-all. 338s Preparing to unpack .../4-python3-all_3.12.7-1_arm64.deb ... 338s Unpacking python3-all (3.12.7-1) ... 338s Selecting previously unselected package python3-mypy-extensions. 338s Preparing to unpack .../5-python3-mypy-extensions_1.0.0-1_all.deb ... 338s Unpacking python3-mypy-extensions (1.0.0-1) ... 338s Selecting previously unselected package python3-psutil. 338s Preparing to unpack .../6-python3-psutil_5.9.8-2build2_arm64.deb ... 338s Unpacking python3-psutil (5.9.8-2build2) ... 338s Selecting previously unselected package python3-mypy. 338s Preparing to unpack .../7-python3-mypy_1.13.0-1_arm64.deb ... 338s Unpacking python3-mypy (1.13.0-1) ... 339s Selecting previously unselected package autopkgtest-satdep. 339s Preparing to unpack .../8-2-autopkgtest-satdep.deb ... 339s Unpacking autopkgtest-satdep (0) ... 339s Setting up python3-mypy-extensions (1.0.0-1) ... 339s Setting up python3-psutil (5.9.8-2build2) ... 340s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 340s Setting up python3-mypy (1.13.0-1) ... 344s Setting up python3.13-minimal (3.13.0-2) ... 346s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 346s Setting up python3.13 (3.13.0-2) ... 348s Setting up python3-all (3.12.7-1) ... 348s Setting up autopkgtest-satdep (0) ... 348s Processing triggers for man-db (2.12.1-3) ... 348s Processing triggers for systemd (256.5-2ubuntu4) ... 353s (Reading database ... 82070 files and directories currently installed.) 353s Removing autopkgtest-satdep (0) ... 357s autopkgtest [09:47:07]: 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 357s autopkgtest [09:47:07]: test autodep8-python3: [----------------------- 357s Testing with python3.13: 357s 357s Testing with python3.12: 358s 358s autopkgtest [09:47:08]: test autodep8-python3: -----------------------] 358s autopkgtest [09:47:08]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 358s autodep8-python3 PASS (superficial) 359s autopkgtest [09:47:09]: @@@@@@@@@@@@@@@@@@@@ summary 359s run-unit-test PASS 359s autodep8-python3 PASS (superficial) 379s nova [W] Skipping flock in bos03-arm64 379s Creating nova instance adt-plucky-arm64-mypy-20241113-094110-juju-7f2275-prod-proposed-migration-environment-20-746eeac4-5fa8-47b0-891e-2ce38b076926 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)... 379s nova [W] Skipping flock in bos03-arm64 379s Creating nova instance adt-plucky-arm64-mypy-20241113-094110-juju-7f2275-prod-proposed-migration-environment-20-746eeac4-5fa8-47b0-891e-2ce38b076926 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...