0s autopkgtest [03:49:07]: starting date and time: 2024-06-08 03:49:07+0000 1s autopkgtest [03:49:08]: git checkout: 433ed4c Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 1s autopkgtest [03:49:08]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.i93ng733/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:pytest,src:astropy --apt-upgrade mypy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 astropy/6.0.1-4' -- lxd -r lxd-armhf-10.145.243.242 lxd-armhf-10.145.243.242:autopkgtest/ubuntu/oracular/armhf 29s autopkgtest [03:49:36]: testbed dpkg architecture: armhf 31s autopkgtest [03:49:38]: testbed apt version: 2.9.3 31s autopkgtest [03:49:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 39s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 39s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [328 kB] 39s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 39s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [1680 B] 39s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 39s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [35.4 kB] 39s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1860 B] 39s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [238 kB] 39s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1768 B] 39s Fetched 769 kB in 1s (1055 kB/s) 39s Reading package lists... 56s tee: /proc/self/fd/2: Permission denied 77s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 77s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 79s Reading package lists... 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Calculating upgrade... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [03:50:30]: rebooting testbed after setup commands that affected boot 122s autopkgtest [03:51:09]: testbed running kernel: Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 11:19:33 UTC 2 148s autopkgtest [03:51:35]: @@@@@@@@@@@@@@@@@@@@ apt-source mypy 165s Get:1 http://ftpmaster.internal/ubuntu oracular/universe mypy 1.10.0-1 (dsc) [2815 B] 165s Get:2 http://ftpmaster.internal/ubuntu oracular/universe mypy 1.10.0-1 (tar) [3022 kB] 165s Get:3 http://ftpmaster.internal/ubuntu oracular/universe mypy 1.10.0-1 (diff) [14.2 kB] 165s gpgv: Signature made Wed Apr 24 15:13:27 2024 UTC 165s gpgv: using RSA key 724D609337113C710550D7473C26763F6C67E6E2 165s gpgv: Can't check signature: No public key 165s dpkg-source: warning: cannot verify inline signature for ./mypy_1.10.0-1.dsc: no acceptable signature found 165s autopkgtest [03:51:52]: testing package mypy version 1.10.0-1 167s autopkgtest [03:51:54]: build not needed 170s autopkgtest [03:51:57]: test run-unit-test: preparing testbed 179s Reading package lists... 180s Building dependency tree... 180s Reading state information... 180s Starting pkgProblemResolver with broken count: 0 180s Starting 2 pkgProblemResolver with broken count: 0 180s Done 181s The following additional packages will be installed: 181s cpp cpp-13 cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf gcc gcc-13 181s gcc-13-arm-linux-gnueabihf gcc-13-base gcc-arm-linux-gnueabihf libasan8 181s libatomic1 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libexpat1-dev 181s libgcc-13-dev libgomp1 libisl23 libjs-jquery libjs-sphinxdoc 181s libjs-underscore libmpc3 libpython3-dev libpython3.12-dev libpython3.12t64 181s libubsan1 libxslt1.1 linux-libc-dev mypy mypy-doc python3-dev 181s python3-distlib python3-execnet python3-filelock python3-iniconfig 181s python3-lxml python3-mypy python3-mypy-extensions python3-packaging 181s python3-pip-whl python3-platformdirs python3-pluggy python3-psutil 181s python3-pytest python3-pytest-xdist python3-setuptools-whl python3-tomli 181s python3-typeshed python3-virtualenv python3-wheel-whl python3.12-dev 181s rpcsvc-proto zlib1g-dev 181s Suggested packages: 181s cpp-doc gcc-13-locales cpp-13-doc gcc-multilib manpages-dev autoconf 181s automake libtool flex bison gdb gcc-doc gcc-13-doc gdb-arm-linux-gnueabihf 181s glibc-doc execnet-doc python-lxml-doc 181s Recommended packages: 181s manpages manpages-dev libc-devtools javascript-common python3-doc cython-doc 181s python-six-doc python-setuptools-doc python-attr-doc python3-bs4 181s python3-cssselect python3-html5lib build-essential 181s The following NEW packages will be installed: 181s autopkgtest-satdep cpp cpp-13 cpp-13-arm-linux-gnueabihf 181s cpp-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf gcc-13-base 181s gcc-arm-linux-gnueabihf libasan8 libatomic1 libc-dev-bin libc6-dev libcc1-0 181s libcrypt-dev libexpat1-dev libgcc-13-dev libgomp1 libisl23 libjs-jquery 181s libjs-sphinxdoc libjs-underscore libmpc3 libpython3-dev libpython3.12-dev 181s libpython3.12t64 libubsan1 libxslt1.1 linux-libc-dev mypy mypy-doc 181s python3-dev python3-distlib python3-execnet python3-filelock 181s python3-iniconfig python3-lxml python3-mypy python3-mypy-extensions 181s python3-packaging python3-pip-whl python3-platformdirs python3-pluggy 181s python3-psutil python3-pytest python3-pytest-xdist python3-setuptools-whl 181s python3-tomli python3-typeshed python3-virtualenv python3-wheel-whl 181s python3.12-dev rpcsvc-proto zlib1g-dev 181s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 181s Need to get 58.4 MB/58.4 MB of archives. 181s After this operation, 182 MB of additional disk space will be used. 181s Get:1 /tmp/autopkgtest.UXVsOq/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [804 B] 181s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13-base armhf 13.2.0-23ubuntu4 [48.9 kB] 181s Get:3 http://ftpmaster.internal/ubuntu oracular/main armhf libisl23 armhf 0.26-3build1 [544 kB] 181s Get:4 http://ftpmaster.internal/ubuntu oracular/main armhf libmpc3 armhf 1.3.1-1build1 [46.7 kB] 181s Get:5 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [8759 kB] 182s Get:6 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-13 armhf 13.2.0-23ubuntu4 [1034 B] 182s Get:7 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 182s Get:8 http://ftpmaster.internal/ubuntu oracular/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 182s Get:9 http://ftpmaster.internal/ubuntu oracular/main armhf libcc1-0 armhf 14.1.0-1ubuntu1 [43.3 kB] 182s Get:10 http://ftpmaster.internal/ubuntu oracular/main armhf libgomp1 armhf 14.1.0-1ubuntu1 [125 kB] 182s Get:11 http://ftpmaster.internal/ubuntu oracular/main armhf libatomic1 armhf 14.1.0-1ubuntu1 [7816 B] 182s Get:12 http://ftpmaster.internal/ubuntu oracular/main armhf libasan8 armhf 14.1.0-1ubuntu1 [2913 kB] 182s Get:13 http://ftpmaster.internal/ubuntu oracular/main armhf libubsan1 armhf 14.1.0-1ubuntu1 [1154 kB] 183s Get:14 http://ftpmaster.internal/ubuntu oracular/main armhf libgcc-13-dev armhf 13.2.0-23ubuntu4 [899 kB] 183s Get:15 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [16.9 MB] 184s Get:16 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13 armhf 13.2.0-23ubuntu4 [453 kB] 184s Get:17 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 184s Get:18 http://ftpmaster.internal/ubuntu oracular/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 184s Get:19 http://ftpmaster.internal/ubuntu oracular/main armhf libc-dev-bin armhf 2.39-0ubuntu8.1 [19.1 kB] 184s Get:20 http://ftpmaster.internal/ubuntu oracular/main armhf linux-libc-dev armhf 6.8.0-31.31 [1557 kB] 184s Get:21 http://ftpmaster.internal/ubuntu oracular/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 184s Get:22 http://ftpmaster.internal/ubuntu oracular/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 184s Get:23 http://ftpmaster.internal/ubuntu oracular/main armhf libc6-dev armhf 2.39-0ubuntu8.1 [1351 kB] 184s Get:24 http://ftpmaster.internal/ubuntu oracular/main armhf libexpat1-dev armhf 2.6.2-1 [123 kB] 184s Get:25 http://ftpmaster.internal/ubuntu oracular/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 184s Get:26 http://ftpmaster.internal/ubuntu oracular/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 184s Get:27 http://ftpmaster.internal/ubuntu oracular/main armhf libjs-sphinxdoc all 7.2.6-8 [150 kB] 184s Get:28 http://ftpmaster.internal/ubuntu oracular/main armhf libpython3.12t64 armhf 3.12.3-1 [2058 kB] 184s Get:29 http://ftpmaster.internal/ubuntu oracular/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu2 [880 kB] 184s Get:30 http://ftpmaster.internal/ubuntu oracular/main armhf libpython3.12-dev armhf 3.12.3-1 [4314 kB] 184s Get:31 http://ftpmaster.internal/ubuntu oracular/main armhf libpython3-dev armhf 3.12.3-0ubuntu1 [10.2 kB] 184s Get:32 http://ftpmaster.internal/ubuntu oracular/main armhf libxslt1.1 armhf 1.1.39-0exp1build1 [150 kB] 184s Get:33 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mypy-extensions all 1.0.0-1 [6148 B] 184s Get:34 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-tomli all 2.0.1-2 [16.5 kB] 184s Get:35 http://ftpmaster.internal/ubuntu oracular/main armhf python3-psutil armhf 5.9.8-2build2 [194 kB] 184s Get:36 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mypy armhf 1.10.0-1 [8422 kB] 184s Get:37 http://ftpmaster.internal/ubuntu oracular/universe armhf mypy all 1.10.0-1 [23.5 kB] 184s Get:38 http://ftpmaster.internal/ubuntu oracular/universe armhf mypy-doc all 1.10.0-1 [294 kB] 184s Get:39 http://ftpmaster.internal/ubuntu oracular/main armhf python3.12-dev armhf 3.12.3-1 [498 kB] 184s Get:40 http://ftpmaster.internal/ubuntu oracular/main armhf python3-dev armhf 3.12.3-0ubuntu1 [26.7 kB] 184s Get:41 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-distlib all 0.3.8-1 [318 kB] 184s Get:42 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-execnet all 2.1.1-1 [33.4 kB] 184s Get:43 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-filelock all 3.14.0-1 [11.2 kB] 184s Get:44 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 184s Get:45 http://ftpmaster.internal/ubuntu oracular/main armhf python3-lxml armhf 5.2.1-1 [1200 kB] 184s Get:46 http://ftpmaster.internal/ubuntu oracular/main armhf python3-packaging all 24.0-1 [41.1 kB] 184s Get:47 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pip-whl all 24.0+dfsg-2 [1702 kB] 184s Get:48 http://ftpmaster.internal/ubuntu oracular/main armhf python3-platformdirs all 4.2.1-1 [16.3 kB] 184s Get:49 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 184s Get:50 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf python3-pytest all 8.2.2-1ubuntu1 [250 kB] 184s Get:51 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pytest-xdist all 3.6.1-1 [33.8 kB] 184s Get:52 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-setuptools-whl all 68.1.2-2ubuntu1 [715 kB] 184s Get:53 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 184s Get:54 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-wheel-whl all 0.43.0-1 [68.2 kB] 184s Get:55 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-virtualenv all 20.26.2+ds-1 [71.6 kB] 185s Fetched 58.4 MB in 4s (16.1 MB/s) 185s Selecting previously unselected package gcc-13-base:armhf. 185s (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 ... 58338 files and directories currently installed.) 185s Preparing to unpack .../00-gcc-13-base_13.2.0-23ubuntu4_armhf.deb ... 185s Unpacking gcc-13-base:armhf (13.2.0-23ubuntu4) ... 185s Selecting previously unselected package libisl23:armhf. 185s Preparing to unpack .../01-libisl23_0.26-3build1_armhf.deb ... 185s Unpacking libisl23:armhf (0.26-3build1) ... 185s Selecting previously unselected package libmpc3:armhf. 185s Preparing to unpack .../02-libmpc3_1.3.1-1build1_armhf.deb ... 185s Unpacking libmpc3:armhf (1.3.1-1build1) ... 185s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 185s Preparing to unpack .../03-cpp-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 185s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 185s Selecting previously unselected package cpp-13. 186s Preparing to unpack .../04-cpp-13_13.2.0-23ubuntu4_armhf.deb ... 186s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 186s Selecting previously unselected package cpp-arm-linux-gnueabihf. 186s Preparing to unpack .../05-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 186s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 186s Selecting previously unselected package cpp. 186s Preparing to unpack .../06-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 186s Unpacking cpp (4:13.2.0-7ubuntu1) ... 186s Selecting previously unselected package libcc1-0:armhf. 186s Preparing to unpack .../07-libcc1-0_14.1.0-1ubuntu1_armhf.deb ... 186s Unpacking libcc1-0:armhf (14.1.0-1ubuntu1) ... 186s Selecting previously unselected package libgomp1:armhf. 186s Preparing to unpack .../08-libgomp1_14.1.0-1ubuntu1_armhf.deb ... 186s Unpacking libgomp1:armhf (14.1.0-1ubuntu1) ... 186s Selecting previously unselected package libatomic1:armhf. 186s Preparing to unpack .../09-libatomic1_14.1.0-1ubuntu1_armhf.deb ... 186s Unpacking libatomic1:armhf (14.1.0-1ubuntu1) ... 186s Selecting previously unselected package libasan8:armhf. 186s Preparing to unpack .../10-libasan8_14.1.0-1ubuntu1_armhf.deb ... 186s Unpacking libasan8:armhf (14.1.0-1ubuntu1) ... 186s Selecting previously unselected package libubsan1:armhf. 186s Preparing to unpack .../11-libubsan1_14.1.0-1ubuntu1_armhf.deb ... 186s Unpacking libubsan1:armhf (14.1.0-1ubuntu1) ... 186s Selecting previously unselected package libgcc-13-dev:armhf. 186s Preparing to unpack .../12-libgcc-13-dev_13.2.0-23ubuntu4_armhf.deb ... 186s Unpacking libgcc-13-dev:armhf (13.2.0-23ubuntu4) ... 186s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 186s Preparing to unpack .../13-gcc-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 186s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 186s Selecting previously unselected package gcc-13. 186s Preparing to unpack .../14-gcc-13_13.2.0-23ubuntu4_armhf.deb ... 186s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 187s Selecting previously unselected package gcc-arm-linux-gnueabihf. 187s Preparing to unpack .../15-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 187s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 187s Selecting previously unselected package gcc. 187s Preparing to unpack .../16-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 187s Unpacking gcc (4:13.2.0-7ubuntu1) ... 187s Selecting previously unselected package libc-dev-bin. 187s Preparing to unpack .../17-libc-dev-bin_2.39-0ubuntu8.1_armhf.deb ... 187s Unpacking libc-dev-bin (2.39-0ubuntu8.1) ... 187s Selecting previously unselected package linux-libc-dev:armhf. 187s Preparing to unpack .../18-linux-libc-dev_6.8.0-31.31_armhf.deb ... 187s Unpacking linux-libc-dev:armhf (6.8.0-31.31) ... 187s Selecting previously unselected package libcrypt-dev:armhf. 187s Preparing to unpack .../19-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 187s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 187s Selecting previously unselected package rpcsvc-proto. 187s Preparing to unpack .../20-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 187s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 187s Selecting previously unselected package libc6-dev:armhf. 187s Preparing to unpack .../21-libc6-dev_2.39-0ubuntu8.1_armhf.deb ... 187s Unpacking libc6-dev:armhf (2.39-0ubuntu8.1) ... 187s Selecting previously unselected package libexpat1-dev:armhf. 187s Preparing to unpack .../22-libexpat1-dev_2.6.2-1_armhf.deb ... 187s Unpacking libexpat1-dev:armhf (2.6.2-1) ... 187s Selecting previously unselected package libjs-jquery. 187s Preparing to unpack .../23-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 187s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 187s Selecting previously unselected package libjs-underscore. 187s Preparing to unpack .../24-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 187s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 187s Selecting previously unselected package libjs-sphinxdoc. 187s Preparing to unpack .../25-libjs-sphinxdoc_7.2.6-8_all.deb ... 187s Unpacking libjs-sphinxdoc (7.2.6-8) ... 187s Selecting previously unselected package libpython3.12t64:armhf. 187s Preparing to unpack .../26-libpython3.12t64_3.12.3-1_armhf.deb ... 187s Unpacking libpython3.12t64:armhf (3.12.3-1) ... 187s Selecting previously unselected package zlib1g-dev:armhf. 187s Preparing to unpack .../27-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2_armhf.deb ... 187s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2) ... 187s Selecting previously unselected package libpython3.12-dev:armhf. 187s Preparing to unpack .../28-libpython3.12-dev_3.12.3-1_armhf.deb ... 187s Unpacking libpython3.12-dev:armhf (3.12.3-1) ... 188s Selecting previously unselected package libpython3-dev:armhf. 188s Preparing to unpack .../29-libpython3-dev_3.12.3-0ubuntu1_armhf.deb ... 188s Unpacking libpython3-dev:armhf (3.12.3-0ubuntu1) ... 188s Selecting previously unselected package libxslt1.1:armhf. 188s Preparing to unpack .../30-libxslt1.1_1.1.39-0exp1build1_armhf.deb ... 188s Unpacking libxslt1.1:armhf (1.1.39-0exp1build1) ... 188s Selecting previously unselected package python3-mypy-extensions. 188s Preparing to unpack .../31-python3-mypy-extensions_1.0.0-1_all.deb ... 188s Unpacking python3-mypy-extensions (1.0.0-1) ... 188s Selecting previously unselected package python3-tomli. 188s Preparing to unpack .../32-python3-tomli_2.0.1-2_all.deb ... 188s Unpacking python3-tomli (2.0.1-2) ... 188s Selecting previously unselected package python3-psutil. 188s Preparing to unpack .../33-python3-psutil_5.9.8-2build2_armhf.deb ... 188s Unpacking python3-psutil (5.9.8-2build2) ... 188s Selecting previously unselected package python3-mypy. 188s Preparing to unpack .../34-python3-mypy_1.10.0-1_armhf.deb ... 188s Unpacking python3-mypy (1.10.0-1) ... 188s Selecting previously unselected package mypy. 188s Preparing to unpack .../35-mypy_1.10.0-1_all.deb ... 188s Unpacking mypy (1.10.0-1) ... 188s Selecting previously unselected package mypy-doc. 188s Preparing to unpack .../36-mypy-doc_1.10.0-1_all.deb ... 188s Unpacking mypy-doc (1.10.0-1) ... 188s Selecting previously unselected package python3.12-dev. 188s Preparing to unpack .../37-python3.12-dev_3.12.3-1_armhf.deb ... 188s Unpacking python3.12-dev (3.12.3-1) ... 188s Selecting previously unselected package python3-dev. 189s Preparing to unpack .../38-python3-dev_3.12.3-0ubuntu1_armhf.deb ... 189s Unpacking python3-dev (3.12.3-0ubuntu1) ... 189s Selecting previously unselected package python3-distlib. 189s Preparing to unpack .../39-python3-distlib_0.3.8-1_all.deb ... 189s Unpacking python3-distlib (0.3.8-1) ... 189s Selecting previously unselected package python3-execnet. 189s Preparing to unpack .../40-python3-execnet_2.1.1-1_all.deb ... 189s Unpacking python3-execnet (2.1.1-1) ... 189s Selecting previously unselected package python3-filelock. 189s Preparing to unpack .../41-python3-filelock_3.14.0-1_all.deb ... 189s Unpacking python3-filelock (3.14.0-1) ... 189s Selecting previously unselected package python3-iniconfig. 189s Preparing to unpack .../42-python3-iniconfig_1.1.1-2_all.deb ... 189s Unpacking python3-iniconfig (1.1.1-2) ... 189s Selecting previously unselected package python3-lxml:armhf. 189s Preparing to unpack .../43-python3-lxml_5.2.1-1_armhf.deb ... 189s Unpacking python3-lxml:armhf (5.2.1-1) ... 189s Selecting previously unselected package python3-packaging. 189s Preparing to unpack .../44-python3-packaging_24.0-1_all.deb ... 189s Unpacking python3-packaging (24.0-1) ... 189s Selecting previously unselected package python3-pip-whl. 189s Preparing to unpack .../45-python3-pip-whl_24.0+dfsg-2_all.deb ... 189s Unpacking python3-pip-whl (24.0+dfsg-2) ... 189s Selecting previously unselected package python3-platformdirs. 189s Preparing to unpack .../46-python3-platformdirs_4.2.1-1_all.deb ... 189s Unpacking python3-platformdirs (4.2.1-1) ... 189s Selecting previously unselected package python3-pluggy. 189s Preparing to unpack .../47-python3-pluggy_1.5.0-1_all.deb ... 189s Unpacking python3-pluggy (1.5.0-1) ... 189s Selecting previously unselected package python3-pytest. 189s Preparing to unpack .../48-python3-pytest_8.2.2-1ubuntu1_all.deb ... 189s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 189s Selecting previously unselected package python3-pytest-xdist. 189s Preparing to unpack .../49-python3-pytest-xdist_3.6.1-1_all.deb ... 189s Unpacking python3-pytest-xdist (3.6.1-1) ... 189s Selecting previously unselected package python3-setuptools-whl. 189s Preparing to unpack .../50-python3-setuptools-whl_68.1.2-2ubuntu1_all.deb ... 189s Unpacking python3-setuptools-whl (68.1.2-2ubuntu1) ... 189s Selecting previously unselected package python3-typeshed. 189s Preparing to unpack .../51-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 189s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 190s Selecting previously unselected package python3-wheel-whl. 190s Preparing to unpack .../52-python3-wheel-whl_0.43.0-1_all.deb ... 190s Unpacking python3-wheel-whl (0.43.0-1) ... 190s Selecting previously unselected package python3-virtualenv. 190s Preparing to unpack .../53-python3-virtualenv_20.26.2+ds-1_all.deb ... 190s Unpacking python3-virtualenv (20.26.2+ds-1) ... 190s Selecting previously unselected package autopkgtest-satdep. 190s Preparing to unpack .../54-1-autopkgtest-satdep.deb ... 190s Unpacking autopkgtest-satdep (0) ... 190s Setting up python3-iniconfig (1.1.1-2) ... 190s Setting up python3-setuptools-whl (68.1.2-2ubuntu1) ... 190s Setting up python3-filelock (3.14.0-1) ... 190s Setting up python3-tomli (2.0.1-2) ... 191s Setting up python3-pip-whl (24.0+dfsg-2) ... 191s Setting up python3-mypy-extensions (1.0.0-1) ... 191s Setting up linux-libc-dev:armhf (6.8.0-31.31) ... 191s Setting up python3-distlib (0.3.8-1) ... 191s Setting up libgomp1:armhf (14.1.0-1ubuntu1) ... 191s Setting up python3-platformdirs (4.2.1-1) ... 191s Setting up python3-psutil (5.9.8-2build2) ... 191s Setting up libpython3.12t64:armhf (3.12.3-1) ... 191s Setting up python3-packaging (24.0-1) ... 192s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 192s Setting up gcc-13-base:armhf (13.2.0-23ubuntu4) ... 192s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 192s Setting up libmpc3:armhf (1.3.1-1build1) ... 192s Setting up libatomic1:armhf (14.1.0-1ubuntu1) ... 192s Setting up python3-mypy (1.10.0-1) ... 193s Setting up python3-pluggy (1.5.0-1) ... 193s Setting up libubsan1:armhf (14.1.0-1ubuntu1) ... 193s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 193s Setting up libasan8:armhf (14.1.0-1ubuntu1) ... 193s Setting up libxslt1.1:armhf (1.1.39-0exp1build1) ... 193s Setting up mypy (1.10.0-1) ... 193s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 193s Setting up libisl23:armhf (0.26-3build1) ... 193s Setting up libc-dev-bin (2.39-0ubuntu8.1) ... 193s Setting up python3-execnet (2.1.1-1) ... 193s Setting up python3-wheel-whl (0.43.0-1) ... 193s Setting up libcc1-0:armhf (14.1.0-1ubuntu1) ... 193s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 193s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 193s Setting up python3-pytest (8.2.2-1ubuntu1) ... 194s Setting up python3-virtualenv (20.26.2+ds-1) ... 194s Setting up libjs-sphinxdoc (7.2.6-8) ... 194s Setting up mypy-doc (1.10.0-1) ... 194s Setting up libgcc-13-dev:armhf (13.2.0-23ubuntu4) ... 194s Setting up python3-lxml:armhf (5.2.1-1) ... 194s Setting up libc6-dev:armhf (2.39-0ubuntu8.1) ... 194s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 194s Setting up python3-pytest-xdist (3.6.1-1) ... 194s Setting up cpp-13 (13.2.0-23ubuntu4) ... 194s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 194s Setting up libexpat1-dev:armhf (2.6.2-1) ... 194s Setting up gcc-13 (13.2.0-23ubuntu4) ... 194s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2) ... 194s Setting up cpp (4:13.2.0-7ubuntu1) ... 194s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 194s Setting up libpython3.12-dev:armhf (3.12.3-1) ... 194s Setting up gcc (4:13.2.0-7ubuntu1) ... 194s Setting up python3.12-dev (3.12.3-1) ... 194s Setting up libpython3-dev:armhf (3.12.3-0ubuntu1) ... 194s Setting up python3-dev (3.12.3-0ubuntu1) ... 194s Setting up autopkgtest-satdep (0) ... 194s Processing triggers for man-db (2.12.1-1) ... 195s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 213s (Reading database ... 67489 files and directories currently installed.) 213s Removing autopkgtest-satdep (0) ... 218s autopkgtest [03:52:45]: test run-unit-test: [----------------------- 220s + pkg=mypy 220s +++++ readlink -fm /tmp/autopkgtest.UXVsOq/build.Ips/src/debian/tests/run-unit-test 220s ++++ dirname /tmp/autopkgtest.UXVsOq/build.Ips/src/debian/tests/run-unit-test 220s +++ dirname /tmp/autopkgtest.UXVsOq/build.Ips/src/debian/tests 220s ++ dirname /tmp/autopkgtest.UXVsOq/build.Ips/src/debian 220s + START=/tmp/autopkgtest.UXVsOq/build.Ips/src 220s + '[' /tmp/autopkgtest.UXVsOq/autopkgtest_tmp = '' ']' 220s + cd /tmp/autopkgtest.UXVsOq/autopkgtest_tmp 220s + mypy --help 221s usage: mypy [-h] [-v] [-V] [more options; see below] 221s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 221s 221s Mypy is a program that will type check your Python code. 221s 221s Pass in any files or folders you want to type check. Mypy will 221s recursively traverse any provided folders to find .py files: 221s 221s $ mypy my_program.py my_src_folder 221s 221s For more information on getting started, see: 221s 221s - https://mypy.readthedocs.io/en/stable/getting_started.html 221s 221s For more details on both running mypy and using the flags below, see: 221s 221s - https://mypy.readthedocs.io/en/stable/running_mypy.html 221s - https://mypy.readthedocs.io/en/stable/command_line.html 221s 221s You can also use a config file to configure mypy instead of using 221s command line flags. For more details, see: 221s 221s - https://mypy.readthedocs.io/en/stable/config_file.html 221s 221s options: 221s --enable-incomplete-feature {PreciseTupleTypes} 221s Enable support of incomplete/experimental features 221s for early preview 221s 221s Optional arguments: 221s -h, --help Show this help message and exit 221s -v, --verbose More verbose messages 221s -V, --version Show program's version number and exit 221s 221s Config file: 221s Use a config file instead of command line arguments. This is useful if you 221s are using many flags or want to set different options per each module. 221s 221s --config-file CONFIG_FILE 221s Configuration file, must have a [mypy] section 221s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 221s setup.cfg, ~/.config/mypy/config, ~/.mypy.ini) 221s --warn-unused-configs Warn about unused '[mypy-]' or 221s '[[tool.mypy.overrides]]' config sections 221s (inverse: --no-warn-unused-configs) 221s 221s Import discovery: 221s Configure how imports are discovered and followed. 221s 221s --no-namespace-packages Support namespace packages (PEP 420, __init__.py- 221s less) (inverse: --namespace-packages) 221s --ignore-missing-imports Silently ignore imports of missing modules 221s --follow-imports {normal,silent,skip,error} 221s How to treat imports (default normal) 221s --python-executable EXECUTABLE 221s Python executable used for finding PEP 561 221s compliant installed packages and stubs 221s --no-site-packages Do not search for installed PEP 561 compliant 221s packages 221s --no-silence-site-packages 221s Do not silence errors in PEP 561 compliant 221s installed packages 221s --junit-format {global,per_file} 221s If --junit-xml is set, specifies format. global: 221s single test with all errors; per_file: one test 221s entry per file with failures 221s 221s Platform configuration: 221s Type check code assuming it will be run under certain runtime conditions. 221s By default, mypy assumes your code will be run using the same operating 221s system and Python version you are using to run mypy itself. 221s 221s --python-version x.y Type check code assuming it will be running on 221s Python x.y 221s --platform PLATFORM Type check special-cased code for the given OS 221s platform (defaults to sys.platform) 221s --always-true NAME Additional variable to be considered True (may be 221s repeated) 221s --always-false NAME Additional variable to be considered False (may be 221s repeated) 221s 221s Disallow dynamic typing: 221s Disallow the use of the dynamic 'Any' type under certain conditions. 221s 221s --disallow-any-unimported 221s Disallow Any types resulting from unfollowed 221s imports 221s --disallow-any-expr Disallow all expressions that have type Any 221s --disallow-any-decorated Disallow functions that have Any in their 221s signature after decorator transformation 221s --disallow-any-explicit Disallow explicit Any in type positions 221s --disallow-any-generics Disallow usage of generic types that do not 221s specify explicit type parameters (inverse: 221s --allow-any-generics) 221s --disallow-subclassing-any 221s Disallow subclassing values of type 'Any' when 221s defining classes (inverse: --allow-subclassing- 221s any) 221s 221s Untyped definitions and calls: 221s Configure how untyped definitions and calls are handled. Note: by default, 221s mypy ignores any untyped function definitions and assumes any calls to 221s such functions have a return type of 'Any'. 221s 221s --disallow-untyped-calls Disallow calling functions without type 221s annotations from functions with type annotations 221s (inverse: --allow-untyped-calls) 221s --untyped-calls-exclude MODULE 221s Disable --disallow-untyped-calls for 221s functions/methods coming from specific package, 221s module, or class 221s --disallow-untyped-defs Disallow defining functions without type 221s annotations or with incomplete type annotations 221s (inverse: --allow-untyped-defs) 221s --disallow-incomplete-defs 221s Disallow defining functions with incomplete type 221s annotations (while still allowing entirely 221s unannotated definitions) (inverse: --allow- 221s incomplete-defs) 221s --check-untyped-defs Type check the interior of functions without type 221s annotations (inverse: --no-check-untyped-defs) 221s --disallow-untyped-decorators 221s Disallow decorating typed functions with untyped 221s decorators (inverse: --allow-untyped-decorators) 221s 221s None and Optional handling: 221s Adjust how values of type 'None' are handled. For more context on how mypy 221s handles values of type 'None', see: 221s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 221s optional 221s 221s --implicit-optional Assume arguments with default values of None are 221s Optional (inverse: --no-implicit-optional) 221s --no-strict-optional Disable strict Optional checks (inverse: --strict- 221s optional) 221s 221s Configuring warnings: 221s Detect code that is sound but redundant or problematic. 221s 221s --warn-redundant-casts Warn about casting an expression to its inferred 221s type (inverse: --no-warn-redundant-casts) 221s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 221s (inverse: --no-warn-unused-ignores) 221s --no-warn-no-return Do not warn about functions that end without 221s returning (inverse: --warn-no-return) 221s --warn-return-any Warn about returning values of type Any from non- 221s Any typed functions (inverse: --no-warn-return- 221s any) 221s --warn-unreachable Warn about statements or expressions inferred to 221s be unreachable (inverse: --no-warn-unreachable) 221s 221s Miscellaneous strictness flags: 221s --allow-untyped-globals Suppress toplevel errors caused by missing 221s annotations (inverse: --disallow-untyped-globals) 221s --allow-redefinition Allow unconditional variable redefinition with a 221s new type (inverse: --disallow-redefinition) 221s --no-implicit-reexport Treat imports as private unless aliased (inverse: 221s --implicit-reexport) 221s --strict-equality Prohibit equality, identity, and container checks 221s for non-overlapping types (inverse: --no-strict- 221s equality) 221s --extra-checks Enable additional checks that are technically 221s correct but may be impractical in real code. For 221s + mypyc --help 221s example, this prohibits partial overlap in 221s TypedDict updates, and makes arguments prepended 221s via Concatenate positional-only (inverse: --no- 221s extra-checks) 221s --strict Strict mode; enables the following flags: --warn- 221s unused-configs, --disallow-any-generics, 221s --disallow-subclassing-any, --disallow-untyped- 221s calls, --disallow-untyped-defs, --disallow- 221s incomplete-defs, --check-untyped-defs, --disallow- 221s untyped-decorators, --warn-redundant-casts, 221s --warn-unused-ignores, --warn-return-any, --no- 221s implicit-reexport, --strict-equality, --extra- 221s checks 221s --disable-error-code NAME 221s Disable a specific error code 221s --enable-error-code NAME Enable a specific error code 221s 221s Configuring error messages: 221s Adjust the amount of detail shown in error messages. 221s 221s --show-error-context Precede errors with "note:" messages explaining 221s context (inverse: --hide-error-context) 221s --show-column-numbers Show column numbers in error messages (inverse: 221s --hide-column-numbers) 221s --show-error-end Show end line/end column numbers in error 221s messages. This implies --show-column-numbers 221s (inverse: --hide-error-end) 221s --hide-error-codes Hide error codes in error messages (inverse: 221s --show-error-codes) 221s --show-error-code-links Show links to error code documentation (inverse: 221s --hide-error-code-links) 221s --pretty Use visually nicer output in error messages: Use 221s soft word wrap, show source code snippets, and 221s show error location markers (inverse: --no-pretty) 221s --no-color-output Do not colorize error messages (inverse: --color- 221s output) 221s --no-error-summary Do not show error stats summary (inverse: --error- 221s summary) 221s --show-absolute-path Show absolute paths to files (inverse: --hide- 221s absolute-path) 221s 221s Incremental mode: 221s Adjust how mypy incrementally type checks and caches modules. Mypy caches 221s type information about modules into a cache to let you speed up future 221s invocations of mypy. Also see mypy's daemon mode: 221s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 221s 221s --no-incremental Disable module cache (inverse: --incremental) 221s --cache-dir DIR Store module cache info in the given folder in 221s incremental mode (defaults to '.mypy_cache') 221s --sqlite-cache Use a sqlite database to store the cache (inverse: 221s --no-sqlite-cache) 221s --cache-fine-grained Include fine-grained dependency information in the 221s cache for the mypy daemon 221s --skip-version-check Allow using cache written by older mypy version 221s --skip-cache-mtime-checks 221s Skip cache internal consistency checks based on 221s mtime 221s 221s Advanced options: 221s Debug and customize mypy internals. 221s 221s --pdb Invoke pdb on fatal error 221s --show-traceback, --tb Show traceback on fatal error 221s --raise-exceptions Raise exception on fatal error 221s --custom-typing-module MODULE 221s Use a custom typing module 221s --old-type-inference Disable new experimental type inference algorithm 221s --custom-typeshed-dir DIR 221s Use the custom typeshed in DIR 221s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 221s relevant with --disallow-untyped-defs or 221s --disallow-incomplete-defs enabled (inverse: --no- 221s warn-incomplete-stub) 221s --shadow-file SOURCE_FILE SHADOW_FILE 221s When encountering SOURCE_FILE, read and type check 221s the contents of SHADOW_FILE instead. 221s 221s Report generation: 221s Generate a report in the specified format. 221s 221s --any-exprs-report DIR 221s --cobertura-xml-report DIR 221s --html-report DIR 221s --linecount-report DIR 221s --linecoverage-report DIR 221s --lineprecision-report DIR 221s --txt-report DIR 221s --xml-report DIR 221s --xslt-html-report DIR 221s --xslt-txt-report DIR 221s 221s Miscellaneous: 221s --junit-xml JUNIT_XML Write junit.xml to the given file 221s --find-occurrences CLASS.MEMBER 221s Print out all usages of a class member 221s (experimental) 221s --scripts-are-modules Script x becomes module x instead of __main__ 221s --install-types Install detected missing library stub packages 221s using pip (inverse: --no-install-types) 221s --non-interactive Install stubs without asking for confirmation and 221s hide errors, with --install-types (inverse: 221s --interactive) 221s 221s Running code: 221s Specify the code you want to type check. For more details, see 221s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 221s 221s --explicit-package-bases Use current directory and MYPYPATH to determine 221s module names of files passed (inverse: --no- 221s explicit-package-bases) 221s --exclude PATTERN Regular expression to match file names, directory 221s names or paths which mypy should ignore while 221s recursively discovering files to check, e.g. 221s --exclude '/setup\.py$'. May be specified more 221s than once, eg. --exclude a --exclude b 221s -m MODULE, --module MODULE 221s Type-check module; can repeat for more modules 221s -p PACKAGE, --package PACKAGE 221s Type-check package recursively; can be repeated 221s -c PROGRAM_TEXT, --command PROGRAM_TEXT 221s Type-check program passed in as string 221s files Type-check given files or directories 221s 221s Environment variables: 221s Define MYPYPATH for additional module search path entries. 221s Define MYPY_CACHE_DIR to override configuration cache_dir path. 221s usage: mypy [-h] [-v] [-V] [more options; see below] 221s [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...] 221s 221s Mypy is a program that will type check your Python code. 221s 221s Pass in any files or folders you want to type check. Mypy will 221s recursively traverse any provided folders to find .py files: 221s 221s $ mypy my_program.py my_src_folder 221s 221s For more information on getting started, see: 221s 221s - https://mypy.readthedocs.io/en/stable/getting_started.html 221s 221s For more details on both running mypy and using the flags below, see: 221s 221s - https://mypy.readthedocs.io/en/stable/running_mypy.html 221s - https://mypy.readthedocs.io/en/stable/command_line.html 221s 221s You can also use a config file to configure mypy instead of using 221s command line flags. For more details, see: 221s 221s - https://mypy.readthedocs.io/en/stable/config_file.html 221s 221s options: 221s --enable-incomplete-feature {PreciseTupleTypes} 221s Enable support of incomplete/experimental features 221s for early preview 221s 221s Optional arguments: 221s -h, --help Show this help message and exit 221s -v, --verbose More verbose messages 221s -V, --version Show program's version number and exit 221s 221s Config file: 221s Use a config file instead of command line arguments. This is useful if you 221s are using many flags or want to set different options per each module. 221s 221s --config-file CONFIG_FILE 221s Configuration file, must have a [mypy] section 221s (defaults to mypy.ini, .mypy.ini, pyproject.toml, 221s setup.cfg, ~/.config/mypy/config, ~/.mypy.ini) 221s --warn-unused-configs Warn about unused '[mypy-]' or 221s '[[tool.mypy.overrides]]' config sections 221s (inverse: --no-warn-unused-configs) 221s 221s Import discovery: 221s Configure how imports are discovered and followed. 221s 221s --no-namespace-packages Support namespace packages (PEP 420, __init__.py- 221s less) (inverse: --namespace-packages) 221s --ignore-missing-imports Silently ignore imports of missing modules 221s --follow-imports {normal,silent,skip,error} 221s How to treat imports (default normal) 221s --python-executable EXECUTABLE 221s Python executable used for finding PEP 561 221s compliant installed packages and stubs 221s --no-site-packages Do not search for installed PEP 561 compliant 221s packages 221s --no-silence-site-packages 221s Do not silence errors in PEP 561 compliant 221s installed packages 221s --junit-format {global,per_file} 221s If --junit-xml is set, specifies format. global: 221s single test with all errors; per_file: one test 221s entry per file with failures 221s 221s Platform configuration: 221s Type check code assuming it will be run under certain runtime conditions. 221s By default, mypy assumes your code will be run using the same operating 221s system and Python version you are using to run mypy itself. 221s 221s --python-version x.y Type check code assuming it will be running on 221s Python x.y 221s --platform PLATFORM Type check special-cased code for the given OS 221s platform (defaults to sys.platform) 221s --always-true NAME Additional variable to be considered True (may be 221s repeated) 221s --always-false NAME Additional variable to be considered False (may be 221s repeated) 221s 221s Disallow dynamic typing: 221s Disallow the use of the dynamic 'Any' type under certain conditions. 221s 221s --disallow-any-unimported 221s Disallow Any types resulting from unfollowed 221s imports 221s --disallow-any-expr Disallow all expressions that have type Any 221s --disallow-any-decorated Disallow functions that have Any in their 221s signature after decorator transformation 221s --disallow-any-explicit Disallow explicit Any in type positions 221s --disallow-any-generics Disallow usage of generic types that do not 221s specify explicit type parameters (inverse: 221s --allow-any-generics) 221s --disallow-subclassing-any 221s Disallow subclassing values of type 'Any' when 221s defining classes (inverse: --allow-subclassing- 221s any) 221s 221s Untyped definitions and calls: 221s Configure how untyped definitions and calls are handled. Note: by default, 221s mypy ignores any untyped function definitions and assumes any calls to 221s such functions have a return type of 'Any'. 221s 221s --disallow-untyped-calls Disallow calling functions without type 221s annotations from functions with type annotations 221s (inverse: --allow-untyped-calls) 221s --untyped-calls-exclude MODULE 221s Disable --disallow-untyped-calls for 221s functions/methods coming from specific package, 221s module, or class 221s --disallow-untyped-defs Disallow defining functions without type 221s annotations or with incomplete type annotations 221s (inverse: --allow-untyped-defs) 221s --disallow-incomplete-defs 221s Disallow defining functions with incomplete type 221s annotations (while still allowing entirely 221s unannotated definitions) (inverse: --allow- 221s incomplete-defs) 221s --check-untyped-defs Type check the interior of functions without type 221s annotations (inverse: --no-check-untyped-defs) 221s --disallow-untyped-decorators 221s Disallow decorating typed functions with untyped 221s decorators (inverse: --allow-untyped-decorators) 221s 221s None and Optional handling: 221s Adjust how values of type 'None' are handled. For more context on how mypy 221s handles values of type 'None', see: 221s https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict- 221s optional 221s 221s --implicit-optional Assume arguments with default values of None are 221s Optional (inverse: --no-implicit-optional) 221s --no-strict-optional Disable strict Optional checks (inverse: --strict- 221s optional) 221s 221s Configuring warnings: 221s Detect code that is sound but redundant or problematic. 221s 221s --warn-redundant-casts Warn about casting an expression to its inferred 221s type (inverse: --no-warn-redundant-casts) 221s --warn-unused-ignores Warn about unneeded '# type: ignore' comments 221s (inverse: --no-warn-unused-ignores) 221s --no-warn-no-return Do not warn about functions that end without 221s returning (inverse: --warn-no-return) 221s --warn-return-any Warn about returning values of type Any from non- 221s Any typed functions (inverse: --no-warn-return- 221s any) 221s --warn-unreachable Warn about statements or expressions inferred to 221s be unreachable (inverse: --no-warn-unreachable) 221s 221s Miscellaneous strictness flags: 221s --allow-untyped-globals Suppress toplevel errors caused by missing 221s annotations (inverse: --disallow-untyped-globals) 221s --allow-redefinition Allow unconditional variable redefinition with a 221s new type (inverse: --disallow-redefinition) 221s --no-implicit-reexport Treat imports as private unless aliased (inverse: 221s --implicit-reexport) 221s --strict-equality Prohibit equality, identity, and container checks 221s for non-overlapping types (inverse: --no-strict- 221s equality) 221s --extra-checks Enable additional checks that are technically 221s correct but may be impractical in real code. For 221s example, this prohibits partial overlap in 221s TypedDict updates, and makes arguments prepended 221s via Concatenate positional-only (inverse: --no- 221s extra-checks) 221s --strict Strict mode; enables the following flags: --warn- 221s unused-configs, --disallow-any-generics, 221s --disallow-subclassing-any, --disallow-untyped- 221s calls, --disallow-untyped-defs, --disallow- 221s incomplete-defs, --check-untyped-defs, --disallow- 221s untyped-decorators, --warn-redundant-casts, 221s --warn-unused-ignores, --warn-return-any, --no- 221s implicit-reexport, --strict-equality, --extra- 221s checks 221s --disable-error-code NAME 221s Disable a specific error code 221s --enable-error-code NAME Enable a specific error code 221s 221s Configuring error messages: 221s Adjust the amount of detail shown in error messages. 221s 221s --show-error-context Precede errors with "note:" messages explaining 221s context (inverse: --hide-error-context) 221s --show-column-numbers Show column numbers in error messages (inverse: 221s --hide-column-numbers) 221s --show-error-end Show end line/end column numbers in error 221s messages. This implies --show-column-numbers 221s (inverse: --hide-error-end) 221s --hide-error-codes Hide error codes in error messages (inverse: 221s --show-error-codes) 221s --show-error-code-links Show links to error code documentation (inverse: 221s --hide-error-code-links) 221s --pretty Use visually nicer output in error messages: Use 221s soft word wrap, show source code snippets, and 221s show error location markers (inverse: --no-pretty) 221s --no-color-output Do not colorize error messages (inverse: --color- 221s output) 221s --no-error-summary Do not show error stats summary (inverse: --error- 221s summary) 221s --show-absolute-path Show absolute paths to files (inverse: --hide- 221s absolute-path) 221s 221s Incremental mode: 221s Adjust how mypy incrementally type checks and caches modules. Mypy caches 221s type information about modules into a cache to let you speed up future 221s invocations of mypy. Also see mypy's daemon mode: 221s mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-daemon 221s 221s --no-incremental Disable module cache (inverse: --incremental) 221s --cache-dir DIR Store module cache info in the given folder in 221s incremental mode (defaults to '.mypy_cache') 221s --sqlite-cache Use a sqlite database to store the cache (inverse: 221s --no-sqlite-cache) 221s --cache-fine-grained Include fine-grained dependency information in the 221s cache for the mypy daemon 221s --skip-version-check Allow using cache written by older mypy version 221s --skip-cache-mtime-checks 221s Skip cache internal consistency checks based on 221s mtime 221s 221s Advanced options: 221s Debug and customize mypy internals. 221s 221s --pdb Invoke pdb on fatal error 221s --show-traceback, --tb Show traceback on fatal error 221s --raise-exceptions Raise exception on fatal error 221s --custom-typing-module MODULE 221s Use a custom typing module 221s --old-type-inference Disable new experimental type inference algorithm 221s --custom-typeshed-dir DIR 221s Use the custom typeshed in DIR 221s --warn-incomplete-stub Warn if missing type annotation in typeshed, only 221s relevant with --disallow-untyped-defs or 221s --disallow-incomplete-defs enabled (inverse: --no- 221s warn-incomplete-stub) 221s --shadow-file SOURCE_FILE SHADOW_FILE 221s When encountering SOURCE_FILE, read and type check 221s the contents of SHADOW_FILE instead. 221s 221s Report generation: 221s Generate a report in the specified format. 221s 221s --any-exprs-report DIR 221s --cobertura-xml-report DIR 221s --html-report DIR 221s --linecount-report DIR 221s --linecoverage-report DIR 221s --lineprecision-report DIR 221s --txt-report DIR 221s --xml-report DIR 221s --xslt-html-report DIR 221s --xslt-txt-report DIR 221s 221s Miscellaneous: 221s --junit-xml JUNIT_XML Write junit.xml to the given file 221s --find-occurrences CLASS.MEMBER 221s Print out all usages of a class member 221s (experimental) 221s --scripts-are-modules Script x becomes module x instead of __main__ 221s --install-types Install detected missing library stub packages 221s using pip (inverse: --no-install-types) 221s --non-interactive Install stubs without asking for confirmation and 221s hide errors, with --install-types (inverse: 221s --interactive) 221s 221s Running code: 221s Specify the code you want to type check. For more details, see 221s mypy.readthedocs.io/en/stable/running_mypy.html#running-mypy 221s 221s --explicit-package-bases Use current directory and MYPYPATH to determine 221s module names of files passed (inverse: --no- 221s explicit-package-bases) 221s --exclude PATTERN Regular expression to match file names, directory 221s names or paths which mypy should ignore while 221s recursively discovering files to check, e.g. 221s --exclude '/setup\.py$'. May be specified more 221s than once, eg. --exclude a --exclude b 221s -m MODULE, --module MODULE 221s Type-check module; can repeat for more modules 221s -p PACKAGE, --package PACKAGE 221s Type-check package recursively; can be repeated 221s -c PROGRAM_TEXT, --command PROGRAM_TEXT 221s Type-check program passed in as string 221s files Type-check given files or directories 221s 221s Environment variables: 221s Define MYPYPATH for additional module search path entries. 221s Define MYPY_CACHE_DIR to override configuration cache_dir path. 221s + stubgen --help 221s usage: stubgen [-h] [more options, see -h] 221s [-m MODULE] [-p PACKAGE] [files ...] 221s 221s Generate draft stubs for modules. Stubs are generated in directory ./out, to 221s avoid overriding files with manual changes. This directory is assumed to 221s exist. 221s 221s positional arguments: 221s files generate stubs for given files or directories 221s 221s options: 221s -h, --help show this help message and exit 221s --ignore-errors ignore errors when trying to generate stubs for 221s modules 221s --no-import don't import the modules, just parse and analyze them 221s (doesn't work with C extension modules and might not 221s respect __all__) 221s --no-analysis, --parse-only 221s don't perform semantic analysis of sources, just parse 221s them (only applies to Python modules, might affect 221s quality of stubs. Not compatible with --inspect) 221s --inspect-mode import and inspect modules instead of parsing source 221s code.This is the default behavior for c modules and 221s pyc-only packages, but it is also useful for pure 221s python modules with dynamically generated members. 221s --include-private generate stubs for objects and members considered 221s private (single leading underscore and no trailing 221s underscores) 221s --export-less don't implicitly export all names imported from other 221s modules in the same package 221s --include-docstrings include existing docstrings with the stubs 221s -v, --verbose show more verbose messages 221s -q, --quiet show fewer messages 221s --doc-dir PATH use .rst documentation in PATH (this may result in 221s better stubs in some cases; consider setting this to 221s DIR/Python-X.Y.Z/Doc/library) 221s --search-path PATH specify module search directories, separated by ':' 221s (currently only used if --no-import is given) 221s -o PATH, --output PATH 221s change the output directory [default: out] 221s -m MODULE, --module MODULE 221s generate stub for module; can repeat for more modules 221s -p PACKAGE, --package PACKAGE 221s generate stubs for package recursively; can be 221s repeated 221s + stubtest --help 221s usage: stubtest [-h] [--concise] [--ignore-missing-stub] 221s [--ignore-positional-only] [--allowlist FILE] 221s [--generate-allowlist] [--ignore-unused-allowlist] 221s [--mypy-config-file FILE] [--custom-typeshed-dir DIR] 221s [--check-typeshed] [--version] 221s [modules ...] 221s 221s Compares stubs to objects introspected from the runtime. 221s 221s positional arguments: 221s modules Modules to test 221s 221s options: 221s -h, --help show this help message and exit 221s --concise Makes stubtest's output more concise, one line per 221s error 221s --ignore-missing-stub 221s Ignore errors for stub missing things that are present 221s at runtime 221s --ignore-positional-only 221s Ignore errors for whether an argument should or 221s shouldn't be positional-only 221s --allowlist FILE, --whitelist FILE 221s Use file as an allowlist. Can be passed multiple times 221s to combine multiple allowlists. Allowlists can be 221s created with --generate-allowlist. Allowlists support 221s regular expressions. 221s --generate-allowlist, --generate-whitelist 221s Print an allowlist (to stdout) to be used with 221s --allowlist 221s --ignore-unused-allowlist, --ignore-unused-whitelist 221s Ignore unused allowlist entries 221s --mypy-config-file FILE 221s Use specified mypy config file to determine mypy 221s plugins and mypy path 221s --custom-typeshed-dir DIR 221s Use the custom typeshed in DIR 221s --check-typeshed Check all stdlib modules in typeshed 221s --version show program's version number and exit 221s + export TEST_MYPYC=1 221s + TEST_MYPYC=1 221s + rm -Rf mypy mypyc 221s + cp -r /usr/lib/python3/dist-packages/mypy ./ 222s + cp -r /usr/lib/python3/dist-packages/mypyc ./ 222s + MYPY_TEST_PREFIX=/tmp/autopkgtest.UXVsOq/build.Ips/src 222s + pytest-3 -v --pyargs mypy 222s ============================= test session starts ============================== 222s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3 222s cachedir: .pytest_cache 222s rootdir: /tmp/autopkgtest.UXVsOq/autopkgtest_tmp 222s plugins: xdist-3.6.1 222s collecting ... collected 16 items 222s 222s test/meta/test_diff_helper.py::DiffHelperSuite::test_diff_ranges PASSED [ 6%] 222s test/meta/test_diff_helper.py::DiffHelperSuite::test_render_diff_range PASSED [ 12%] 224s test/meta/test_parse_data.py::ParseTestDataSuite::test_bad_eq_version_check PASSED [ 18%] 224s test/meta/test_parse_data.py::ParseTestDataSuite::test_bad_ge_version_check PASSED [ 25%] 225s test/meta/test_parse_data.py::ParseTestDataSuite::test_parse_invalid_case PASSED [ 31%] 225s test/meta/test_parse_data.py::ParseTestDataSuite::test_parse_invalid_section PASSED [ 37%] 228s test/meta/test_update_data.py::UpdateDataSuite::test_update_data PASSED [ 43%] 228s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace PASSED [ 50%] 228s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_explicit_base PASSED [ 56%] 228s test/test_find_sources.py::SourceFinderSuite::test_crawl_namespace_multi_dir PASSED [ 62%] 228s test/test_find_sources.py::SourceFinderSuite::test_crawl_no_namespace PASSED [ 68%] 228s test/test_find_sources.py::SourceFinderSuite::test_find_sources_exclude PASSED [ 75%] 228s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace PASSED [ 81%] 228s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_explicit_base PASSED [ 87%] 228s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_namespace_multi_dir PASSED [ 93%] 228s test/test_find_sources.py::SourceFinderSuite::test_find_sources_in_dir_no_namespace PASSED [100%] 228s 228s ============================== 16 passed in 5.94s ============================== 228s + rm -Rf mypy/typeshed 228s + /usr/bin/mypy --config-file /tmp/autopkgtest.UXVsOq/build.Ips/src/mypy_self_check.ini mypy 248s Success: no issues found in 178 source files 249s autopkgtest [03:53:16]: test run-unit-test: -----------------------] 252s autopkgtest [03:53:19]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 252s run-unit-test PASS 256s autopkgtest [03:53:23]: test autodep8-python3: preparing testbed 290s autopkgtest [03:53:57]: testbed dpkg architecture: armhf 292s autopkgtest [03:53:59]: testbed apt version: 2.9.3 292s autopkgtest [03:53:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 299s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 300s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 300s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [1680 B] 300s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [328 kB] 300s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 300s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [35.4 kB] 300s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1860 B] 300s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [238 kB] 300s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1768 B] 300s Fetched 769 kB in 1s (698 kB/s) 300s Reading package lists... 315s tee: /proc/self/fd/2: Permission denied 336s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 336s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 336s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 336s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 338s Reading package lists... 338s Reading package lists... 338s Building dependency tree... 338s Reading state information... 339s Calculating upgrade... 339s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 339s Reading package lists... 339s Building dependency tree... 339s Reading state information... 340s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 342s autopkgtest [03:54:49]: rebooting testbed after setup commands that affected boot 413s Reading package lists... 413s Building dependency tree... 413s Reading state information... 414s Starting pkgProblemResolver with broken count: 0 414s Starting 2 pkgProblemResolver with broken count: 0 414s Done 414s The following additional packages will be installed: 414s python3-all python3-mypy python3-mypy-extensions python3-psutil 414s Recommended packages: 414s python3-lxml 414s The following NEW packages will be installed: 414s autopkgtest-satdep python3-all python3-mypy python3-mypy-extensions 414s python3-psutil 414s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 414s Need to get 8623 kB/8624 kB of archives. 414s After this operation, 31.6 MB of additional disk space will be used. 414s Get:1 /tmp/autopkgtest.UXVsOq/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [712 B] 414s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf python3-all armhf 3.12.3-0ubuntu1 [886 B] 414s Get:3 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mypy-extensions all 1.0.0-1 [6148 B] 414s Get:4 http://ftpmaster.internal/ubuntu oracular/main armhf python3-psutil armhf 5.9.8-2build2 [194 kB] 415s Get:5 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mypy armhf 1.10.0-1 [8422 kB] 416s Fetched 8623 kB in 1s (9750 kB/s) 416s Selecting previously unselected package python3-all. 416s (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 ... 58338 files and directories currently installed.) 416s Preparing to unpack .../python3-all_3.12.3-0ubuntu1_armhf.deb ... 416s Unpacking python3-all (3.12.3-0ubuntu1) ... 416s Selecting previously unselected package python3-mypy-extensions. 416s Preparing to unpack .../python3-mypy-extensions_1.0.0-1_all.deb ... 416s Unpacking python3-mypy-extensions (1.0.0-1) ... 416s Selecting previously unselected package python3-psutil. 416s Preparing to unpack .../python3-psutil_5.9.8-2build2_armhf.deb ... 416s Unpacking python3-psutil (5.9.8-2build2) ... 416s Selecting previously unselected package python3-mypy. 416s Preparing to unpack .../python3-mypy_1.10.0-1_armhf.deb ... 416s Unpacking python3-mypy (1.10.0-1) ... 416s Selecting previously unselected package autopkgtest-satdep. 416s Preparing to unpack .../2-autopkgtest-satdep.deb ... 416s Unpacking autopkgtest-satdep (0) ... 416s Setting up python3-mypy-extensions (1.0.0-1) ... 416s Setting up python3-all (3.12.3-0ubuntu1) ... 416s Setting up python3-psutil (5.9.8-2build2) ... 417s Setting up python3-mypy (1.10.0-1) ... 418s Setting up autopkgtest-satdep (0) ... 429s (Reading database ... 59755 files and directories currently installed.) 429s Removing autopkgtest-satdep (0) ... 441s autopkgtest [03:56:28]: 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 441s autopkgtest [03:56:28]: test autodep8-python3: [----------------------- 443s Testing with python3.12: 443s 443s autopkgtest [03:56:30]: test autodep8-python3: -----------------------] 447s autodep8-python3 PASS (superficial) 447s autopkgtest [03:56:34]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 451s autopkgtest [03:56:38]: @@@@@@@@@@@@@@@@@@@@ summary 451s run-unit-test PASS 451s autodep8-python3 PASS (superficial)