1s autopkgtest [18:27:16]: starting date and time: 2024-06-09 18:27:16+0000 1s autopkgtest [18:27:16]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 1s autopkgtest [18:27:16]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0bo9quav/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-anyio --apt-upgrade starlette --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-anyio/4.4.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-74.secgroup --name adt-oracular-i386-starlette-20240609-182715-juju-7f2275-prod-proposed-migration-environment-3-516dc1fe-4c4e-493d-9cab-9d41e2e472cb --image adt/ubuntu-oracular-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 109s autopkgtest [18:29:04]: testbed dpkg architecture: amd64 109s autopkgtest [18:29:04]: testbed apt version: 2.9.3 109s autopkgtest [18:29:04]: test architecture: i386 109s autopkgtest [18:29:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 109s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 109s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 109s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [351 kB] 109s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [43.7 kB] 109s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [1680 B] 109s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [36.9 kB] 109s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [64.6 kB] 109s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [9340 B] 109s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [27.4 kB] 109s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [327 kB] 109s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [134 kB] 109s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3368 B] 109s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [9280 B] 109s Fetched 1127 kB in 0s (4355 kB/s) 109s Reading package lists... 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Calculating upgrade... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 112s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 112s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 112s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 114s Reading package lists... 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s Calculating upgrade... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s autopkgtest [18:29:11]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 116s autopkgtest [18:29:11]: @@@@@@@@@@@@@@@@@@@@ apt-source starlette 116s Get:1 http://ftpmaster.internal/ubuntu oracular/universe starlette 0.31.1-1 (dsc) [2424 B] 116s Get:2 http://ftpmaster.internal/ubuntu oracular/universe starlette 0.31.1-1 (tar) [2844 kB] 116s Get:3 http://ftpmaster.internal/ubuntu oracular/universe starlette 0.31.1-1 (diff) [3492 B] 116s gpgv: Signature made Wed Sep 20 10:18:48 2023 UTC 116s gpgv: using RSA key 1D2FA89858DAAF6217862DF7AEF6F1A2A7457645 116s gpgv: Can't check signature: No public key 116s dpkg-source: warning: cannot verify inline signature for ./starlette_0.31.1-1.dsc: no acceptable signature found 117s autopkgtest [18:29:12]: testing package starlette version 0.31.1-1 117s autopkgtest [18:29:12]: build not needed 117s autopkgtest [18:29:12]: test pybuild-autopkgtest: preparing testbed 119s Note, using file '/tmp/autopkgtest.mxDF8K/1-autopkgtest-satdep.dsc' to get the build dependencies 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s The following NEW packages will be installed: 120s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 120s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 120s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 120s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 120s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 120s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 120s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 120s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool libtsan2 120s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 120s python3-aiofiles python3-all python3-anyio python3-build python3-click 120s python3-colorama python3-exceptiongroup python3-h11 python3-hatchling 120s python3-httpcore python3-httpx python3-iniconfig python3-installer 120s python3-itsdangerous python3-multipart python3-outcome python3-packaging 120s python3-pathspec python3-pluggy python3-pyproject-hooks python3-pytest 120s python3-sniffio python3-sortedcontainers python3-starlette python3-toml 120s python3-trio python3-trove-classifiers python3-uvicorn python3-uvloop 120s python3-wheel python3-wsproto 120s 0 upgraded, 79 newly installed, 0 to remove and 0 not upgraded. 120s Need to get 68.5 MB of archives. 120s After this operation, 244 MB of additional disk space will be used. 120s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 120s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 autoconf all 2.71-3 [339 kB] 120s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 autotools-dev all 20220109.1 [44.9 kB] 120s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 120s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 120s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-base amd64 13.2.0-23ubuntu4 [49.0 kB] 120s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 120s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 120s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [11.2 MB] 121s Get:10 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13 amd64 13.2.0-23ubuntu4 [1032 B] 121s Get:11 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 121s Get:12 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 121s Get:13 http://ftpmaster.internal/ubuntu oracular/main amd64 libcc1-0 amd64 14.1.0-1ubuntu1 [48.0 kB] 121s Get:14 http://ftpmaster.internal/ubuntu oracular/main amd64 libgomp1 amd64 14.1.0-1ubuntu1 [148 kB] 121s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 libitm1 amd64 14.1.0-1ubuntu1 [29.1 kB] 121s Get:16 http://ftpmaster.internal/ubuntu oracular/main amd64 libatomic1 amd64 14.1.0-1ubuntu1 [10.4 kB] 121s Get:17 http://ftpmaster.internal/ubuntu oracular/main amd64 libasan8 amd64 14.1.0-1ubuntu1 [3025 kB] 121s Get:18 http://ftpmaster.internal/ubuntu oracular/main amd64 liblsan0 amd64 14.1.0-1ubuntu1 [1313 kB] 121s Get:19 http://ftpmaster.internal/ubuntu oracular/main amd64 libtsan2 amd64 14.1.0-1ubuntu1 [2736 kB] 121s Get:20 http://ftpmaster.internal/ubuntu oracular/main amd64 libubsan1 amd64 14.1.0-1ubuntu1 [1174 kB] 121s Get:21 http://ftpmaster.internal/ubuntu oracular/main amd64 libhwasan0 amd64 14.1.0-1ubuntu1 [1632 kB] 121s Get:22 http://ftpmaster.internal/ubuntu oracular/main amd64 libquadmath0 amd64 14.1.0-1ubuntu1 [153 kB] 121s Get:23 http://ftpmaster.internal/ubuntu oracular/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB] 121s Get:24 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB] 121s Get:25 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB] 121s Get:26 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 121s Get:27 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 121s Get:28 http://ftpmaster.internal/ubuntu oracular/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB] 121s Get:29 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB] 121s Get:30 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB] 121s Get:31 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 121s Get:32 http://ftpmaster.internal/ubuntu oracular/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 121s Get:33 http://ftpmaster.internal/ubuntu oracular/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 121s Get:34 http://ftpmaster.internal/ubuntu oracular/main amd64 libdebhelper-perl all 13.15.3ubuntu2 [92.3 kB] 121s Get:35 http://ftpmaster.internal/ubuntu oracular/main amd64 libtool all 2.4.7-7build1 [166 kB] 121s Get:36 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-autoreconf all 20 [16.1 kB] 121s Get:37 http://ftpmaster.internal/ubuntu oracular/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 121s Get:38 http://ftpmaster.internal/ubuntu oracular/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 121s Get:39 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 121s Get:40 http://ftpmaster.internal/ubuntu oracular/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 121s Get:41 http://ftpmaster.internal/ubuntu oracular/main amd64 dwz amd64 0.15-1build6 [115 kB] 121s Get:42 http://ftpmaster.internal/ubuntu oracular/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 121s Get:43 http://ftpmaster.internal/ubuntu oracular/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 121s Get:44 http://ftpmaster.internal/ubuntu oracular/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 121s Get:45 http://ftpmaster.internal/ubuntu oracular/main amd64 debhelper all 13.15.3ubuntu2 [878 kB] 121s Get:46 http://ftpmaster.internal/ubuntu oracular/universe amd64 dh-python all 6.20240422 [110 kB] 121s Get:47 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-autopkgtest all 6.20240422 [1748 B] 121s Get:48 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 121s Get:49 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pyproject-hooks all 1.1.0-1 [9852 B] 121s Get:50 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 121s Get:51 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-wheel all 0.43.0-1 [53.5 kB] 121s Get:52 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-build all 1.2.1-1 [29.7 kB] 121s Get:53 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 121s Get:54 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-pyproject all 6.20240422 [1730 B] 121s Get:55 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-aiofiles all 23.2.1-2 [10.6 kB] 121s Get:56 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-all amd64 3.12.3-0ubuntu1 [888 B] 121s Get:57 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-exceptiongroup all 1.2.1-1 [17.8 kB] 121s Get:58 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-sniffio all 1.3.1-1 [7262 B] 121s Get:59 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-anyio all 4.4.0-1 [57.4 kB] 121s Get:60 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-colorama all 0.4.6-4 [32.1 kB] 121s Get:61 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-click all 8.1.7-1 [79.1 kB] 121s Get:62 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-h11 all 0.14.0-1 [51.1 kB] 121s Get:63 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pathspec all 0.12.1-1 [24.5 kB] 121s Get:64 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 121s Get:65 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-trove-classifiers all 2024.1.31-1 [10.4 kB] 121s Get:66 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-hatchling all 1.24.2-1 [54.2 kB] 121s Get:67 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-httpcore all 1.0.4-1 [38.8 kB] 121s Get:68 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-httpx all 0.26.0-2 [61.3 kB] 121s Get:69 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 121s Get:70 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-itsdangerous all 2.1.2-4 [14.6 kB] 121s Get:71 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-multipart all 0.0.9-1 [21.8 kB] 121s Get:72 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-outcome all 1.2.0-1.1 [5968 B] 121s Get:73 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest all 7.4.4-1 [305 kB] 121s Get:74 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-sortedcontainers all 2.4.0-2 [27.6 kB] 121s Get:75 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-starlette all 0.31.1-1 [49.4 kB] 121s Get:76 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-trio all 0.24.0-1ubuntu1 [309 kB] 121s Get:77 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-wsproto all 1.2.0-1 [23.6 kB] 121s Get:78 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-uvloop amd64 0.19.0+ds1-2.1 [561 kB] 121s Get:79 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-uvicorn all 0.29.0-1 [39.6 kB] 121s Fetched 68.5 MB in 1s (124 MB/s) 121s Selecting previously unselected package m4. 122s (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 ... 74428 files and directories currently installed.) 122s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 122s Unpacking m4 (1.4.19-4build1) ... 122s Selecting previously unselected package autoconf. 122s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 122s Unpacking autoconf (2.71-3) ... 122s Selecting previously unselected package autotools-dev. 122s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 122s Unpacking autotools-dev (20220109.1) ... 122s Selecting previously unselected package automake. 122s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 122s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 122s Selecting previously unselected package autopoint. 122s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 122s Unpacking autopoint (0.21-14ubuntu2) ... 122s Selecting previously unselected package gcc-13-base:amd64. 122s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_amd64.deb ... 122s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 122s Selecting previously unselected package libisl23:amd64. 122s Preparing to unpack .../06-libisl23_0.26-3build1_amd64.deb ... 122s Unpacking libisl23:amd64 (0.26-3build1) ... 122s Selecting previously unselected package libmpc3:amd64. 122s Preparing to unpack .../07-libmpc3_1.3.1-1build1_amd64.deb ... 122s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 122s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 122s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 122s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 122s Selecting previously unselected package cpp-13. 122s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_amd64.deb ... 122s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 122s Selecting previously unselected package cpp-x86-64-linux-gnu. 122s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 122s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 122s Selecting previously unselected package cpp. 122s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 122s Unpacking cpp (4:13.2.0-7ubuntu1) ... 122s Selecting previously unselected package libcc1-0:amd64. 122s Preparing to unpack .../12-libcc1-0_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libcc1-0:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libgomp1:amd64. 122s Preparing to unpack .../13-libgomp1_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libgomp1:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libitm1:amd64. 122s Preparing to unpack .../14-libitm1_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libitm1:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libatomic1:amd64. 122s Preparing to unpack .../15-libatomic1_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libatomic1:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libasan8:amd64. 122s Preparing to unpack .../16-libasan8_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libasan8:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package liblsan0:amd64. 122s Preparing to unpack .../17-liblsan0_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking liblsan0:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libtsan2:amd64. 122s Preparing to unpack .../18-libtsan2_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libtsan2:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libubsan1:amd64. 122s Preparing to unpack .../19-libubsan1_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libubsan1:amd64 (14.1.0-1ubuntu1) ... 122s Selecting previously unselected package libhwasan0:amd64. 122s Preparing to unpack .../20-libhwasan0_14.1.0-1ubuntu1_amd64.deb ... 122s Unpacking libhwasan0:amd64 (14.1.0-1ubuntu1) ... 123s Selecting previously unselected package libquadmath0:amd64. 123s Preparing to unpack .../21-libquadmath0_14.1.0-1ubuntu1_amd64.deb ... 123s Unpacking libquadmath0:amd64 (14.1.0-1ubuntu1) ... 123s Selecting previously unselected package libgcc-13-dev:amd64. 123s Preparing to unpack .../22-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ... 123s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 123s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 123s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 123s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 123s Selecting previously unselected package gcc-13. 123s Preparing to unpack .../24-gcc-13_13.2.0-23ubuntu4_amd64.deb ... 123s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 123s Selecting previously unselected package gcc-x86-64-linux-gnu. 123s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 123s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 123s Selecting previously unselected package gcc. 123s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 123s Unpacking gcc (4:13.2.0-7ubuntu1) ... 123s Selecting previously unselected package libstdc++-13-dev:amd64. 123s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ... 123s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 123s Selecting previously unselected package g++-13-x86-64-linux-gnu. 123s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 123s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 124s Selecting previously unselected package g++-13. 124s Preparing to unpack .../29-g++-13_13.2.0-23ubuntu4_amd64.deb ... 124s Unpacking g++-13 (13.2.0-23ubuntu4) ... 124s Selecting previously unselected package g++-x86-64-linux-gnu. 124s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 124s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package g++. 124s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 124s Unpacking g++ (4:13.2.0-7ubuntu1) ... 124s Selecting previously unselected package build-essential. 124s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 124s Unpacking build-essential (12.10ubuntu1) ... 124s Selecting previously unselected package libdebhelper-perl. 124s Preparing to unpack .../33-libdebhelper-perl_13.15.3ubuntu2_all.deb ... 124s Unpacking libdebhelper-perl (13.15.3ubuntu2) ... 124s Selecting previously unselected package libtool. 124s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 124s Unpacking libtool (2.4.7-7build1) ... 124s Selecting previously unselected package dh-autoreconf. 124s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 124s Unpacking dh-autoreconf (20) ... 124s Selecting previously unselected package libarchive-zip-perl. 124s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 124s Unpacking libarchive-zip-perl (1.68-1) ... 124s Selecting previously unselected package libfile-stripnondeterminism-perl. 124s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 124s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 124s Selecting previously unselected package dh-strip-nondeterminism. 124s Preparing to unpack .../38-dh-strip-nondeterminism_1.14.0-1_all.deb ... 124s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 124s Selecting previously unselected package debugedit. 124s Preparing to unpack .../39-debugedit_1%3a5.0-5build2_amd64.deb ... 124s Unpacking debugedit (1:5.0-5build2) ... 124s Selecting previously unselected package dwz. 124s Preparing to unpack .../40-dwz_0.15-1build6_amd64.deb ... 124s Unpacking dwz (0.15-1build6) ... 124s Selecting previously unselected package gettext. 124s Preparing to unpack .../41-gettext_0.21-14ubuntu2_amd64.deb ... 124s Unpacking gettext (0.21-14ubuntu2) ... 124s Selecting previously unselected package intltool-debian. 124s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 124s Unpacking intltool-debian (0.35.0+20060710.6) ... 124s Selecting previously unselected package po-debconf. 124s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 124s Unpacking po-debconf (1.0.21+nmu1) ... 124s Selecting previously unselected package debhelper. 124s Preparing to unpack .../44-debhelper_13.15.3ubuntu2_all.deb ... 124s Unpacking debhelper (13.15.3ubuntu2) ... 124s Selecting previously unselected package dh-python. 124s Preparing to unpack .../45-dh-python_6.20240422_all.deb ... 124s Unpacking dh-python (6.20240422) ... 124s Selecting previously unselected package pybuild-plugin-autopkgtest. 124s Preparing to unpack .../46-pybuild-plugin-autopkgtest_6.20240422_all.deb ... 124s Unpacking pybuild-plugin-autopkgtest (6.20240422) ... 124s Selecting previously unselected package python3-packaging. 124s Preparing to unpack .../47-python3-packaging_24.0-1_all.deb ... 124s Unpacking python3-packaging (24.0-1) ... 124s Selecting previously unselected package python3-pyproject-hooks. 124s Preparing to unpack .../48-python3-pyproject-hooks_1.1.0-1_all.deb ... 124s Unpacking python3-pyproject-hooks (1.1.0-1) ... 124s Selecting previously unselected package python3-toml. 124s Preparing to unpack .../49-python3-toml_0.10.2-1_all.deb ... 124s Unpacking python3-toml (0.10.2-1) ... 124s Selecting previously unselected package python3-wheel. 124s Preparing to unpack .../50-python3-wheel_0.43.0-1_all.deb ... 124s Unpacking python3-wheel (0.43.0-1) ... 124s Selecting previously unselected package python3-build. 124s Preparing to unpack .../51-python3-build_1.2.1-1_all.deb ... 124s Unpacking python3-build (1.2.1-1) ... 124s Selecting previously unselected package python3-installer. 124s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 124s Unpacking python3-installer (0.7.0+dfsg1-3) ... 124s Selecting previously unselected package pybuild-plugin-pyproject. 124s Preparing to unpack .../53-pybuild-plugin-pyproject_6.20240422_all.deb ... 124s Unpacking pybuild-plugin-pyproject (6.20240422) ... 124s Selecting previously unselected package python3-aiofiles. 124s Preparing to unpack .../54-python3-aiofiles_23.2.1-2_all.deb ... 124s Unpacking python3-aiofiles (23.2.1-2) ... 124s Selecting previously unselected package python3-all. 124s Preparing to unpack .../55-python3-all_3.12.3-0ubuntu1_amd64.deb ... 124s Unpacking python3-all (3.12.3-0ubuntu1) ... 124s Selecting previously unselected package python3-exceptiongroup. 124s Preparing to unpack .../56-python3-exceptiongroup_1.2.1-1_all.deb ... 124s Unpacking python3-exceptiongroup (1.2.1-1) ... 124s Selecting previously unselected package python3-sniffio. 124s Preparing to unpack .../57-python3-sniffio_1.3.1-1_all.deb ... 124s Unpacking python3-sniffio (1.3.1-1) ... 124s Selecting previously unselected package python3-anyio. 124s Preparing to unpack .../58-python3-anyio_4.4.0-1_all.deb ... 124s Unpacking python3-anyio (4.4.0-1) ... 124s Selecting previously unselected package python3-colorama. 124s Preparing to unpack .../59-python3-colorama_0.4.6-4_all.deb ... 124s Unpacking python3-colorama (0.4.6-4) ... 125s Selecting previously unselected package python3-click. 125s Preparing to unpack .../60-python3-click_8.1.7-1_all.deb ... 125s Unpacking python3-click (8.1.7-1) ... 125s Selecting previously unselected package python3-h11. 125s Preparing to unpack .../61-python3-h11_0.14.0-1_all.deb ... 125s Unpacking python3-h11 (0.14.0-1) ... 125s Selecting previously unselected package python3-pathspec. 125s Preparing to unpack .../62-python3-pathspec_0.12.1-1_all.deb ... 125s Unpacking python3-pathspec (0.12.1-1) ... 125s Selecting previously unselected package python3-pluggy. 125s Preparing to unpack .../63-python3-pluggy_1.5.0-1_all.deb ... 125s Unpacking python3-pluggy (1.5.0-1) ... 125s Selecting previously unselected package python3-trove-classifiers. 125s Preparing to unpack .../64-python3-trove-classifiers_2024.1.31-1_all.deb ... 125s Unpacking python3-trove-classifiers (2024.1.31-1) ... 125s Selecting previously unselected package python3-hatchling. 125s Preparing to unpack .../65-python3-hatchling_1.24.2-1_all.deb ... 125s Unpacking python3-hatchling (1.24.2-1) ... 125s Selecting previously unselected package python3-httpcore. 125s Preparing to unpack .../66-python3-httpcore_1.0.4-1_all.deb ... 125s Unpacking python3-httpcore (1.0.4-1) ... 125s Selecting previously unselected package python3-httpx. 125s Preparing to unpack .../67-python3-httpx_0.26.0-2_all.deb ... 125s Unpacking python3-httpx (0.26.0-2) ... 125s Selecting previously unselected package python3-iniconfig. 125s Preparing to unpack .../68-python3-iniconfig_1.1.1-2_all.deb ... 125s Unpacking python3-iniconfig (1.1.1-2) ... 125s Selecting previously unselected package python3-itsdangerous. 125s Preparing to unpack .../69-python3-itsdangerous_2.1.2-4_all.deb ... 125s Unpacking python3-itsdangerous (2.1.2-4) ... 125s Selecting previously unselected package python3-multipart. 125s Preparing to unpack .../70-python3-multipart_0.0.9-1_all.deb ... 125s Unpacking python3-multipart (0.0.9-1) ... 125s Selecting previously unselected package python3-outcome. 125s Preparing to unpack .../71-python3-outcome_1.2.0-1.1_all.deb ... 125s Unpacking python3-outcome (1.2.0-1.1) ... 125s Selecting previously unselected package python3-pytest. 125s Preparing to unpack .../72-python3-pytest_7.4.4-1_all.deb ... 125s Unpacking python3-pytest (7.4.4-1) ... 125s Selecting previously unselected package python3-sortedcontainers. 125s Preparing to unpack .../73-python3-sortedcontainers_2.4.0-2_all.deb ... 125s Unpacking python3-sortedcontainers (2.4.0-2) ... 125s Selecting previously unselected package python3-starlette. 125s Preparing to unpack .../74-python3-starlette_0.31.1-1_all.deb ... 125s Unpacking python3-starlette (0.31.1-1) ... 125s Selecting previously unselected package python3-trio. 125s Preparing to unpack .../75-python3-trio_0.24.0-1ubuntu1_all.deb ... 125s Unpacking python3-trio (0.24.0-1ubuntu1) ... 125s Selecting previously unselected package python3-wsproto. 125s Preparing to unpack .../76-python3-wsproto_1.2.0-1_all.deb ... 125s Unpacking python3-wsproto (1.2.0-1) ... 125s Selecting previously unselected package python3-uvloop. 125s Preparing to unpack .../77-python3-uvloop_0.19.0+ds1-2.1_amd64.deb ... 125s Unpacking python3-uvloop (0.19.0+ds1-2.1) ... 125s Selecting previously unselected package python3-uvicorn. 125s Preparing to unpack .../78-python3-uvicorn_0.29.0-1_all.deb ... 125s Unpacking python3-uvicorn (0.29.0-1) ... 125s Setting up dh-python (6.20240422) ... 125s Setting up python3-iniconfig (1.1.1-2) ... 125s Setting up python3-sniffio (1.3.1-1) ... 126s Setting up python3-outcome (1.2.0-1.1) ... 126s Setting up python3-aiofiles (23.2.1-2) ... 126s Setting up python3-anyio (4.4.0-1) ... 126s Setting up python3-colorama (0.4.6-4) ... 126s Setting up libarchive-zip-perl (1.68-1) ... 126s Setting up libdebhelper-perl (13.15.3ubuntu2) ... 126s Setting up m4 (1.4.19-4build1) ... 126s Setting up python3-itsdangerous (2.1.2-4) ... 126s Setting up python3-all (3.12.3-0ubuntu1) ... 126s Setting up python3-sortedcontainers (2.4.0-2) ... 126s Setting up python3-starlette (0.31.1-1) ... 126s Setting up libgomp1:amd64 (14.1.0-1ubuntu1) ... 126s Setting up python3-click (8.1.7-1) ... 127s Setting up python3-wheel (0.43.0-1) ... 127s Setting up autotools-dev (20220109.1) ... 127s Setting up python3-packaging (24.0-1) ... 127s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 127s Setting up python3-pyproject-hooks (1.1.0-1) ... 127s Setting up libquadmath0:amd64 (14.1.0-1ubuntu1) ... 127s Setting up libmpc3:amd64 (1.3.1-1build1) ... 127s Setting up libatomic1:amd64 (14.1.0-1ubuntu1) ... 127s Setting up python3-h11 (0.14.0-1) ... 127s Setting up autopoint (0.21-14ubuntu2) ... 127s Setting up python3-toml (0.10.2-1) ... 127s Setting up python3-uvloop (0.19.0+ds1-2.1) ... 127s Setting up python3-installer (0.7.0+dfsg1-3) ... 128s Setting up autoconf (2.71-3) ... 128s Setting up python3-pluggy (1.5.0-1) ... 128s Setting up libubsan1:amd64 (14.1.0-1ubuntu1) ... 128s Setting up dwz (0.15-1build6) ... 128s Setting up python3-trove-classifiers (2024.1.31-1) ... 128s Setting up libhwasan0:amd64 (14.1.0-1ubuntu1) ... 128s Setting up libasan8:amd64 (14.1.0-1ubuntu1) ... 128s Setting up python3-exceptiongroup (1.2.1-1) ... 128s Setting up debugedit (1:5.0-5build2) ... 128s Setting up libtsan2:amd64 (14.1.0-1ubuntu1) ... 128s Setting up libisl23:amd64 (0.26-3build1) ... 128s Setting up python3-build (1.2.1-1) ... 128s Setting up python3-pathspec (0.12.1-1) ... 128s Setting up python3-multipart (0.0.9-1) ... 128s Setting up libcc1-0:amd64 (14.1.0-1ubuntu1) ... 128s Setting up liblsan0:amd64 (14.1.0-1ubuntu1) ... 128s Setting up libitm1:amd64 (14.1.0-1ubuntu1) ... 128s Setting up automake (1:1.16.5-1.3ubuntu1) ... 128s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 128s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 128s Setting up python3-httpcore (1.0.4-1) ... 128s Setting up gettext (0.21-14ubuntu2) ... 128s Setting up python3-wsproto (1.2.0-1) ... 128s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 128s Setting up pybuild-plugin-pyproject (6.20240422) ... 128s Setting up python3-pytest (7.4.4-1) ... 129s Setting up intltool-debian (0.35.0+20060710.6) ... 129s Setting up python3-httpx (0.26.0-2) ... 129s Setting up python3-trio (0.24.0-1ubuntu1) ... 129s Setting up dh-strip-nondeterminism (1.14.0-1) ... 129s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 129s Setting up python3-hatchling (1.24.2-1) ... 130s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 130s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 130s Setting up python3-uvicorn (0.29.0-1) ... 130s Setting up cpp-13 (13.2.0-23ubuntu4) ... 130s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 130s Setting up po-debconf (1.0.21+nmu1) ... 130s Setting up gcc-13 (13.2.0-23ubuntu4) ... 130s Setting up cpp (4:13.2.0-7ubuntu1) ... 130s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 130s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 130s Setting up libtool (2.4.7-7build1) ... 130s Setting up gcc (4:13.2.0-7ubuntu1) ... 130s Setting up dh-autoreconf (20) ... 130s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 130s Setting up g++-13 (13.2.0-23ubuntu4) ... 130s Setting up debhelper (13.15.3ubuntu2) ... 130s Setting up g++ (4:13.2.0-7ubuntu1) ... 130s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 130s Setting up build-essential (12.10ubuntu1) ... 130s Setting up pybuild-plugin-autopkgtest (6.20240422) ... 130s Processing triggers for install-info (7.1-3build2) ... 130s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 130s Processing triggers for man-db (2.12.1-2) ... 131s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s Starting pkgProblemResolver with broken count: 0 132s Starting 2 pkgProblemResolver with broken count: 0 132s Done 132s The following NEW packages will be installed: 132s autopkgtest-satdep 132s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 132s Need to get 0 B/700 B of archives. 132s After this operation, 0 B of additional disk space will be used. 132s Get:1 /tmp/autopkgtest.mxDF8K/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [700 B] 133s Selecting previously unselected package autopkgtest-satdep. 133s (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 ... 77865 files and directories currently installed.) 133s Preparing to unpack .../2-autopkgtest-satdep.deb ... 133s Unpacking autopkgtest-satdep (0) ... 133s Setting up autopkgtest-satdep (0) ... 134s (Reading database ... 77865 files and directories currently installed.) 134s Removing autopkgtest-satdep (0) ... 134s autopkgtest [18:29:29]: test pybuild-autopkgtest: pybuild-autopkgtest 134s autopkgtest [18:29:29]: test pybuild-autopkgtest: [----------------------- 134s pybuild-autopkgtest 135s I: pybuild base:311: cd /tmp/autopkgtest.mxDF8K/autopkgtest_tmp/build; python3.12 -m pytest tests 136s ============================= test session starts ============================== 136s platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.5.0 136s rootdir: /tmp/autopkgtest.mxDF8K/autopkgtest_tmp/build 136s configfile: pyproject.toml 136s plugins: anyio-4.4.0 136s collected 420 items 136s 136s tests/test__utils.py ...... [ 1%] 136s tests/test_applications.py ....E.F..F..E..F.....F.F... [ 7%] 137s tests/test_authentication.py ..F.F. [ 9%] 137s tests/test_background.py ...F [ 10%] 137s tests/test_concurrency.py .. [ 10%] 137s tests/test_config.py .... [ 11%] 137s tests/test_convertors.py ... [ 12%] 137s tests/test_datastructures.py ...................... [ 17%] 137s tests/test_endpoints.py ...F...... [ 19%] 137s tests/test_exceptions.py ..F.F........ [ 22%] 138s tests/test_formparsers.py F.......................F.......... [ 31%] 138s tests/test_requests.py .......................................... [ 41%] 138s tests/test_responses.py ............................... [ 48%] 139s tests/test_routing.py ..F..F...........F.F..F.....F..................... [ 60%] 139s .. [ 60%] 139s tests/test_schemas.py .. [ 61%] 139s tests/test_staticfiles.py ............................ [ 68%] 139s tests/test_status.py .. [ 68%] 139s tests/test_templates.py .............. [ 71%] 139s tests/test_testclient.py .F..F.............. [ 76%] 139s tests/test_websockets.py ................................ [ 84%] 140s tests/middleware/test_base.py F....x.................. [ 89%] 140s tests/middleware/test_cors.py ............... [ 93%] 140s tests/middleware/test_errors.py ...... [ 94%] 140s tests/middleware/test_gzip.py ..... [ 95%] 140s tests/middleware/test_https_redirect.py . [ 96%] 140s tests/middleware/test_middleware.py . [ 96%] 140s tests/middleware/test_session.py ...... [ 97%] 140s tests/middleware/test_trusted_host.py ... [ 98%] 140s tests/middleware/test_wsgi.py ...... [100%] 140s 140s ==================================== ERRORS ==================================== 140s ________________ ERROR at teardown of test_class_route[asyncio] ________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_teardown() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:93: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e01b3c40> 140s when = 'teardown' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_teardown' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_teardown 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _____ ERROR at setup of test_websocket_raise_websocket_exception[asyncio] ______ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_setup() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:83: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e046ab60> 140s when = 'setup' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_setup' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_setup 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s =================================== FAILURES =================================== 140s ___________________ test_mounted_route_path_params[asyncio] ____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e015ff60> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ______________________________ test_400[asyncio] _______________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e01c40e0> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ___________________________ test_app_mount[asyncio] ____________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e046af20> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _____________________ test_app_async_gen_lifespan[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e0469ee0> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _____________________ test_middleware_stack_init[asyncio] ______________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e0510220> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ____________________ test_authentication_required[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/starlette/_exception_handler.py", line 44, in wrapped_app 140s E await app(scope, receive, sender) 140s E File "/usr/lib/python3/dist-packages/starlette/routing.py", line 70, in app 140s E response = await func(request) 140s E ^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/starlette/authentication.py", line 81, in async_wrapper 140s E raise HTTPException(status_code=status_code) 140s E starlette.exceptions.HTTPException: 403: Forbidden 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e015f600> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/starlette/_exception_handler.py", line 44, in wrapped_app 140s E await app(scope, receive, sender) 140s E File "/usr/lib/python3/dist-packages/starlette/routing.py", line 70, in app 140s E response = await func(request) 140s E ^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/starlette/authentication.py", line 81, in async_wrapper 140s E raise HTTPException(status_code=status_code) 140s E starlette.exceptions.HTTPException: 403: Forbidden 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ____________________ test_authentication_redirect[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e046b060> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ___________ test_multi_tasks_failure_avoids_next_execution[asyncio] ____________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e01c4220> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _________________ test_websocket_endpoint_on_connect[asyncio] __________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e0513f60> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s __________________________ test_not_modified[asyncio] __________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e02e3600> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ____________________ test_websockets_should_raise[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/starlette/testclient.py", line 723, in websocket_connect 140s E super().request("GET", url, **kwargs) 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 828, in request 140s E return self.send(request, auth=auth, follow_redirects=follow_redirects) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 915, in send 140s E response = self._send_handling_auth( 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 943, in _send_handling_auth 140s E response = self._send_handling_redirects( 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 980, in _send_handling_redirects 140s E response = self._send_single_request(request) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1016, in _send_single_request 140s E response = transport.handle_request(request) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/starlette/testclient.py", line 254, in handle_request 140s E raise _Upgrade(session) 140s E starlette.testclient._Upgrade: 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e0513f60> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/starlette/testclient.py", line 723, in websocket_connect 140s E super().request("GET", url, **kwargs) 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 828, in request 140s E return self.send(request, auth=auth, follow_redirects=follow_redirects) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 915, in send 140s E response = self._send_handling_auth( 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 943, in _send_handling_auth 140s E response = self._send_handling_redirects( 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 980, in _send_handling_redirects 140s E response = self._send_single_request(request) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1016, in _send_single_request 140s E response = transport.handle_request(request) 140s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 140s E File "/usr/lib/python3/dist-packages/starlette/testclient.py", line 254, in handle_request 140s E raise _Upgrade(session) 140s E starlette.testclient._Upgrade: 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _____________________ test_multipart_request_data[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e02e1e40> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _______ test_too_many_files_single_field_raise[asyncio-app-expectation0] _______ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3.12/email/message.py", line 666, in _get_params_preserve 140s E name, val = p.split('=', 1) 140s E ^^^^^^^^^ 140s E ValueError: not enough values to unpack (expected 2, got 1) 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 307, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e031f1a0> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: \n\...io/streams/memory.py", line 307, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3.12/email/message.py", line 666, in _get_params_preserve 140s E name, val = p.split('=', 1) 140s E ^^^^^^^^^ 140s E ValueError: not enough values to unpack (expected 2, got 1) 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 307, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ________________________ test_router_add_route[asyncio] ________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e02e3880> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ________________________ test_protocol_switch[asyncio] _________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e0355a80> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _________________________ test_lifespan_sync[asyncio] __________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e02e3100> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ____________________ test_lifespan_state_async_cm[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8deaa8220> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _____________________ test_partial_async_endpoint[asyncio] _____________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8dea07920> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s __________ test_mounted_middleware_does_not_catch_exception[asyncio] ___________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3.12/selectors.py", line 72, in __getitem__ 140s E return self._selector._fd_to_key[fd] 140s E ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^ 140s E KeyError: 12 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8deaaa980> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3.12/selectors.py", line 72, in __getitem__ 140s E return self._selector._fd_to_key[fd] 140s E ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^ 140s E KeyError: 12 140s E 140s E During handling of the above exception, another exception occurred: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ________________ test_use_testclient_as_contextmanager[asyncio] ________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8e031d760> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s ________________________ test_testclient_asgi2[asyncio] ________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8dea3a480> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s _______________________ test_custom_middleware[asyncio] ________________________ 140s 140s @pytest.hookimpl(hookwrapper=True, tryfirst=True) 140s def pytest_runtest_call() -> Generator[None, None, None]: 140s > yield from unraisable_exception_runtest_hook() 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s def unraisable_exception_runtest_hook() -> Generator[None, None, None]: 140s with catch_unraisable_exception() as cm: 140s yield 140s if cm.unraisable: 140s if cm.unraisable.err_msg is not None: 140s err_msg = cm.unraisable.err_msg 140s else: 140s err_msg = "Exception ignored in" 140s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" 140s msg += "".join( 140s traceback.format_exception( 140s cm.unraisable.exc_type, 140s cm.unraisable.exc_value, 140s cm.unraisable.exc_traceback, 140s ) 140s ) 140s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 140s E pytest.PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s 140s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning 140s 140s During handling of the above exception, another exception occurred: 140s 140s cls = 140s func = . at 0x7db8dea2d4e0> 140s when = 'call' 140s reraise = (, ) 140s 140s @classmethod 140s def from_call( 140s cls, 140s func: "Callable[[], TResult]", 140s when: "Literal['collect', 'setup', 'call', 'teardown']", 140s reraise: Optional[ 140s Union[Type[BaseException], Tuple[Type[BaseException], ...]] 140s ] = None, 140s ) -> "CallInfo[TResult]": 140s """Call func, wrapping the result in a CallInfo. 140s 140s :param func: 140s The function to call. Called without arguments. 140s :param when: 140s The phase in which the function is called. 140s :param reraise: 140s Exception or exceptions that shall propagate if raised by the 140s function, instead of being wrapped in the CallInfo. 140s """ 140s excinfo = None 140s start = timing.time() 140s precise_start = timing.perf_counter() 140s try: 140s > result: Optional[TResult] = func() 140s 140s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s /usr/lib/python3/dist-packages/_pytest/runner.py:262: in 140s lambda: ihook(item=item, **kwds), when=when, reraise=reraise 140s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 140s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 140s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 140s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 140s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 140s 140s hook_name = 'pytest_runtest_call' 140s hook_impl = > 140s e = PytestUnraisableExceptionWarning('Exception ignored in: ...streams/memory.py", line 177, in __del__\n warnings.warn(\nResourceWarning: Unclosed \n') 140s 140s def _warn_teardown_exception( 140s hook_name: str, hook_impl: HookImpl, e: BaseException 140s ) -> None: 140s msg = "A plugin raised an exception during an old-style hookwrapper teardown.\n" 140s msg += f"Plugin: {hook_impl.plugin_name}, Hook: {hook_name}\n" 140s msg += f"{type(e).__name__}: {e}\n" 140s msg += "For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning" # noqa: E501 140s > warnings.warn(PluggyTeardownRaisedWarning(msg), stacklevel=5) 140s E pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. 140s E Plugin: unraisableexception, Hook: pytest_runtest_call 140s E PytestUnraisableExceptionWarning: Exception ignored in: 140s E 140s E Traceback (most recent call last): 140s E File "/usr/lib/python3/dist-packages/anyio/streams/memory.py", line 177, in __del__ 140s E warnings.warn( 140s E ResourceWarning: Unclosed 140s E 140s E For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning 140s 140s /usr/lib/python3/dist-packages/pluggy/_callers.py:50: PluggyTeardownRaisedWarning 140s =========================== short test summary info ============================ 140s XFAIL tests/middleware/test_base.py::test_contextvars[asyncio-CustomMiddlewareUsingBaseHTTPMiddleware] - BaseHTTPMiddleware creates a TaskGroup which copies the contextand erases any changes to it made within the TaskGroup 140s ============= 22 failed, 396 passed, 1 xfailed, 2 errors in 4.85s ============== 140s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.mxDF8K/autopkgtest_tmp/build; python3.12 -m pytest tests 140s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13 140s make: *** [/tmp/bwyeFuNZWI/run:4: pybuild-autopkgtest] Error 25 140s pybuild-autopkgtest: error: /tmp/bwyeFuNZWI/run pybuild-autopkgtest returned exit code 2 141s autopkgtest [18:29:36]: test pybuild-autopkgtest: -----------------------] 141s pybuild-autopkgtest FAIL non-zero exit status 25 141s autopkgtest [18:29:36]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 141s autopkgtest [18:29:36]: @@@@@@@@@@@@@@@@@@@@ summary 141s pybuild-autopkgtest FAIL non-zero exit status 25 152s nova [W] Skipping flock for amd64 152s Creating nova instance adt-oracular-i386-starlette-20240609-182715-juju-7f2275-prod-proposed-migration-environment-3-516dc1fe-4c4e-493d-9cab-9d41e2e472cb from image adt/ubuntu-oracular-amd64-server-20240609.img (UUID 4f9eb591-205d-4b80-a62c-6b89e8bd5273)...