Mon May 27 22:52:23 UTC 2024 I: starting to build asgi-lifespan/unstable/amd64 on jenkins on '2024-05-27 22:52' Mon May 27 22:52:23 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_14/8474/console.log Mon May 27 22:52:23 UTC 2024 I: Downloading source for unstable/asgi-lifespan=2.1.0-2 --2024-05-27 22:52:24-- http://deb.debian.org/debian/pool/main/a/asgi-lifespan/asgi-lifespan_2.1.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2625 (2.6K) [text/prs.lines.tag] Saving to: ‘asgi-lifespan_2.1.0-2.dsc’ 0K .. 100% 347M=0s 2024-05-27 22:52:24 (347 MB/s) - ‘asgi-lifespan_2.1.0-2.dsc’ saved [2625/2625] Mon May 27 22:52:24 UTC 2024 I: asgi-lifespan_2.1.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: asgi-lifespan Binary: python3-asgi-lifespan Architecture: all Version: 2.1.0-2 Maintainer: Debian Python Team Uploaders: Edward Betts Homepage: https://github.com/florimondmanca/asgi-lifespan Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/asgi-lifespan Vcs-Git: https://salsa.debian.org/python-team/packages/asgi-lifespan.git Testsuite: autopkgtest Testsuite-Triggers: python3-all, python3-anyio, python3-httpx, python3-pytest, python3-pytest-asyncio, python3-pytest-cov, python3-pytest-tornasync, python3-pytest-trio, python3-pytest-twisted, python3-setuptools, python3-starlette Build-Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-all, python3-anyio , python3-httpx , python3-pytest , python3-pytest-asyncio , python3-pytest-cov , python3-pytest-tornasync , python3-pytest-trio , python3-pytest-twisted , python3-setuptools, python3-sniffio, python3-starlette Package-List: python3-asgi-lifespan deb python optional arch=all Checksums-Sha1: a685ea5ebbfce11b34f16d026099d9e2ddd71d54 10667 asgi-lifespan_2.1.0.orig.tar.gz 1f5310d65e7412e63d28211d6a24176d25b580b8 2432 asgi-lifespan_2.1.0-2.debian.tar.xz Checksums-Sha256: a3d5ff24bee154a7abd23549ba95c4e3c93a678d3f15ded38b65e1f4056c7730 10667 asgi-lifespan_2.1.0.orig.tar.gz 9ee27ede9f2a9875ea93393e5906fb354e7daec082e9a78ebbc4760529c9be0c 2432 asgi-lifespan_2.1.0-2.debian.tar.xz Files: babb9d6afa148392b0f294e5654dfa77 10667 asgi-lifespan_2.1.0.orig.tar.gz 66c5cefc84fe8c8c6b0cf7ac47638ade 2432 asgi-lifespan_2.1.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE+4rPp4xyYInDitAmlgWhCYxjuSoFAmTiBeMACgkQlgWhCYxj uSqQfQ//dAllOYdbZQd3HetRbvZMY62zHE019rt1WpDUR99+rAEILBGTF/S4hLqL x63rJtWYawaZGoH0h1yhulkqGY8+nFe+iPCLVrgMHgOlbqjqEzxqTRA/6Rq2VogR XDJEQAtsbAuMKG9uMTKuiHLiiINNVb2p3OLXFhijRNjmL6XltyDv05PTOxKaS1Zp 3myX+twjcaW8VcMNJw1L/JkroqsKqrOGjQFJwaU6qCdQlbHscyiIyEW/Hn4jGz8d JRfBuOvHg+l39AawWThUHNbdP+d9y1ZD5Yncx6lQxd3cLnwB4jpputmxlO9Uz934 Wi0508hfy66nNzDt59vEGZ6cRXJBzynWwM2W226Kwgz2gRgiUhF3YxGPDMw83lsh RYLJasxTu8KbS3JFKHORBv5TXahKe1Jn/QkWKJq+Ey2edv2wLpNy3AN7TiXrt6An lsEbrbYB7USG6hRKBqIfaRyVXRFv3t3FAvBCi0DVflmmBm/Fl/vSK1SnE+kyKoUa FzcZZcftpj4BtYzeO6pSCwr5MzTSb1Q5QkFikcH9NrTMx/8uWBRo15YtrVCwz/+0 NitFDcK5e8PKBB/E/IjulkKzNLhrTOvTWf7MDAN+tTFeuzDbS9oSdcli6zQXs+ZD EDv4r8O6g9Sk1dZ0DQyxGjYjVqp8mJ+xlAFSQMPW2DfgyOzAnG8= =1K5f -----END PGP SIGNATURE----- Mon May 27 22:52:24 UTC 2024 I: Checking whether the package is not for us Mon May 27 22:52:24 UTC 2024 I: Starting 1st build on remote node ionos5-amd64.debian.net. Mon May 27 22:52:24 UTC 2024 I: Preparing to do remote build '1' on ionos5-amd64.debian.net. Mon May 27 22:58:51 UTC 2024 I: Deleting $TMPDIR on ionos5-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Jun 29 17:15:23 -12 2025 I: pbuilder-time-stamp: 1751260523 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [asgi-lifespan_2.1.0-2.dsc] I: copying [./asgi-lifespan_2.1.0.orig.tar.gz] I: copying [./asgi-lifespan_2.1.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Sun Aug 20 12:24:03 2023 gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./asgi-lifespan_2.1.0-2.dsc: no acceptable signature found dpkg-source: info: extracting asgi-lifespan in asgi-lifespan-2.1.0 dpkg-source: info: unpacking asgi-lifespan_2.1.0.orig.tar.gz dpkg-source: info: unpacking asgi-lifespan_2.1.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2076884/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='b5e3c9b57c8b4be79af185a71edb3c34' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2076884' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.hs19tn1E/pbuilderrc_Te7o --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hs19tn1E/b1 --logfile b1/build.log asgi-lifespan_2.1.0-2.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 29 14:05 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2076884/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, python3-all, python3-anyio, python3-httpx, python3-pytest, python3-pytest-asyncio, python3-pytest-cov, python3-pytest-tornasync, python3-pytest-trio, python3-pytest-twisted, python3-setuptools, python3-sniffio, python3-starlette dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19718 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-anyio; however: Package python3-anyio is not installed. pbuilder-satisfydepends-dummy depends on python3-httpx; however: Package python3-httpx is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-asyncio; however: Package python3-pytest-asyncio is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-cov; however: Package python3-pytest-cov is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-tornasync; however: Package python3-pytest-tornasync is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-trio; however: Package python3-pytest-trio is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-twisted; however: Package python3-pytest-twisted is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sniffio; however: Package python3-sniffio is not installed. pbuilder-satisfydepends-dummy depends on python3-starlette; however: Package python3-starlette is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libjs-jquery{a} libjs-jquery-hotkeys{a} libjs-jquery-isonscreen{a} libjs-jquery-metadata{a} libjs-jquery-tablesorter{a} libjs-jquery-throttle-debounce{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python3{a} python3-all{a} python3-anyio{a} python3-async-generator{a} python3-attr{a} python3-automat{a} python3-bcrypt{a} python3-build{a} python3-certifi{a} python3-cffi-backend{a} python3-click{a} python3-colorama{a} python3-constantly{a} python3-coverage{a} python3-cryptography{a} python3-decorator{a} python3-distutils{a} python3-exceptiongroup{a} python3-greenlet{a} python3-h11{a} python3-hamcrest{a} python3-httpcore{a} python3-httpx{a} python3-hyperlink{a} python3-idna{a} python3-incremental{a} python3-iniconfig{a} python3-installer{a} python3-lib2to3{a} python3-markdown-it{a} python3-mdurl{a} python3-minimal{a} python3-openssl{a} python3-outcome{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pyasn1{a} python3-pyasn1-modules{a} python3-pygments{a} python3-pyproject-hooks{a} python3-pytest{a} python3-pytest-asyncio{a} python3-pytest-cov{a} python3-pytest-tornasync{a} python3-pytest-trio{a} python3-pytest-twisted{a} python3-rich{a} python3-service-identity{a} python3-setuptools{a} python3-sniffio{a} python3-sortedcontainers{a} python3-starlette{a} python3-toml{a} python3-tornado{a} python3-trio{a} python3-twisted{a} python3-wheel{a} python3-zope.interface{a} python3.11{a} python3.11-minimal{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx python3-aiofiles python3-daphne python3-itsdangerous python3-jinja2 python3-multipart python3-uvicorn python3-yaml wget 0 packages upgraded, 113 newly installed, 0 to remove and 0 not upgraded. Need to get 40.7 MB of archives. After unpacking 171 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libpython3.11-minimal amd64 3.11.9-1 [817 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 libexpat1 amd64 2.6.2-1 [103 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 python3.11-minimal amd64 3.11.9-1 [1879 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.11.8-1 [26.3 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 media-types all 10.1.0 [26.9 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 tzdata all 2024a-4 [255 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 readline-common all 8.2-4 [69.3 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 libpython3.11-stdlib amd64 3.11.9-1 [1792 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 python3.11 amd64 3.11.9-1 [602 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.11.8-1 [9332 B] Get: 15 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.11.8-1 [27.4 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libpython3.12-minimal amd64 3.12.3-1 [809 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 python3.12-minimal amd64 3.12.3-1 [2139 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.22 [22.4 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.2.1-3 [1360 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 ca-certificates all 20240203 [158 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.21-14+b1 [161 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-4 [1180 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.1-2 [94.2 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.7-2 [38.0 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.12.1-1 [1411 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.71-3 [332 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.21-14 [496 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 41 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.191-1+b1 [189 kB] Get: 42 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg-2 [670 kB] Get: 45 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.21-14+b1 [1301 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 47 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] Get: 49 http://deb.debian.org/debian unstable/main amd64 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 50 http://deb.debian.org/debian unstable/main amd64 python3-lib2to3 all 3.12.3-3.1 [77.7 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 python3-distutils all 3.12.3-3.1 [131 kB] Get: 52 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 68.1.2-2 [468 kB] Get: 53 http://deb.debian.org/debian unstable/main amd64 dh-python all 6.20240422 [107 kB] Get: 54 http://deb.debian.org/debian unstable/main amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3196 B] Get: 55 http://deb.debian.org/debian unstable/main amd64 libjs-jquery-metadata all 12-4 [6532 B] Get: 56 http://deb.debian.org/debian unstable/main amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [184 kB] Get: 57 http://deb.debian.org/debian unstable/main amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.2 kB] Get: 58 http://deb.debian.org/debian unstable/main amd64 libpython3.12-stdlib amd64 3.12.3-1 [1951 kB] Get: 59 http://deb.debian.org/debian unstable/main amd64 python3-packaging all 24.0-1 [45.5 kB] Get: 60 http://deb.debian.org/debian unstable/main amd64 python3-pyproject-hooks all 1.0.0-2 [10.6 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 python3-toml all 0.10.2-1 [16.2 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 python3-wheel all 0.43.0-1 [52.5 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 python3-build all 1.2.1-1 [34.1 kB] Get: 64 http://deb.debian.org/debian unstable/main amd64 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 65 http://deb.debian.org/debian unstable/main amd64 pybuild-plugin-pyproject all 6.20240422 [11.1 kB] Get: 66 http://deb.debian.org/debian unstable/main amd64 python3.12 amd64 3.12.3-1 [659 kB] Get: 67 http://deb.debian.org/debian unstable/main amd64 python3-all amd64 3.11.8-1 [1056 B] Get: 68 http://deb.debian.org/debian unstable/main amd64 python3-exceptiongroup all 1.2.1-1 [19.6 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 python3-idna all 3.6-2 [37.0 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 python3-sniffio all 1.3.0-2 [7076 B] Get: 71 http://deb.debian.org/debian unstable/main amd64 python3-anyio all 4.3.0-1 [56.5 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 python3-async-generator all 1.10-4 [17.4 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 python3-attr all 23.2.0-2 [65.5 kB] Get: 74 http://deb.debian.org/debian unstable/main amd64 python3-automat all 22.10.0-2 [23.3 kB] Get: 75 http://deb.debian.org/debian unstable/main amd64 python3-cffi-backend amd64 1.16.0-2+b2 [112 kB] Get: 76 http://deb.debian.org/debian unstable/main amd64 python3-bcrypt amd64 3.2.2-1 [32.2 kB] Get: 77 http://deb.debian.org/debian unstable/main amd64 python3-certifi all 2023.11.17-1 [155 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 python3-colorama all 0.4.6-4 [36.2 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 python3-click all 8.1.7-1 [94.0 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 python3-constantly all 23.10.4-1 [13.5 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 python3-coverage amd64 7.2.7+dfsg1-1+b1 [170 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 python3-cryptography amd64 42.0.5-2 [1186 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 python3-decorator all 5.1.1-5 [15.1 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 python3-greenlet amd64 3.0.1-3 [177 kB] Get: 85 http://deb.debian.org/debian unstable/main amd64 python3-h11 all 0.14.0-1 [50.1 kB] Get: 86 http://deb.debian.org/debian unstable/main amd64 python3-hamcrest all 2.1.0-1 [31.3 kB] Get: 87 http://deb.debian.org/debian unstable/main amd64 python3-httpcore all 1.0.4-1 [44.5 kB] Get: 88 http://deb.debian.org/debian unstable/main amd64 python3-pygments all 2.17.2+dfsg-1 [818 kB] Get: 89 http://deb.debian.org/debian unstable/main amd64 python3-mdurl all 0.1.2-1 [9444 B] Get: 90 http://deb.debian.org/debian unstable/main amd64 python3-markdown-it all 3.0.0-2 [62.5 kB] Get: 91 http://deb.debian.org/debian unstable/main amd64 python3-rich all 13.7.1-1 [201 kB] Get: 92 http://deb.debian.org/debian unstable/main amd64 python3-httpx all 0.27.0-1 [76.8 kB] Get: 93 http://deb.debian.org/debian unstable/main amd64 python3-hyperlink all 21.0.0-5 [70.1 kB] Get: 94 http://deb.debian.org/debian unstable/main amd64 python3-incremental all 22.10.0-1 [15.0 kB] Get: 95 http://deb.debian.org/debian unstable/main amd64 python3-iniconfig all 1.1.1-2 [6396 B] Get: 96 http://deb.debian.org/debian unstable/main amd64 python3-openssl all 24.1.0-1 [51.9 kB] Get: 97 http://deb.debian.org/debian unstable/main amd64 python3-outcome all 1.2.0-1.1 [5956 B] Get: 98 http://deb.debian.org/debian unstable/main amd64 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 99 http://deb.debian.org/debian unstable/main amd64 python3-pyasn1 all 0.5.1-1 [69.5 kB] Get: 100 http://deb.debian.org/debian unstable/main amd64 python3-pyasn1-modules all 0.3.0-1 [85.0 kB] Get: 101 http://deb.debian.org/debian unstable/main amd64 python3-pytest all 8.2.1-1 [247 kB] Get: 102 http://deb.debian.org/debian unstable/main amd64 python3-pytest-asyncio all 0.20.3-1.2 [13.3 kB] Get: 103 http://deb.debian.org/debian unstable/main amd64 python3-pytest-cov all 5.0.0-1 [26.8 kB] Get: 104 http://deb.debian.org/debian unstable/main amd64 python3-tornado amd64 6.4.0-1 [347 kB] Get: 105 http://deb.debian.org/debian unstable/main amd64 python3-pytest-tornasync all 0.6.0.post2-2 [6924 B] Get: 106 http://deb.debian.org/debian unstable/main amd64 python3-sortedcontainers all 2.4.0-2 [31.9 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 python3-trio all 0.25.0-1 [308 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 python3-pytest-trio all 0.8.0-3 [17.8 kB] Get: 109 http://deb.debian.org/debian unstable/main amd64 python3-service-identity all 24.1.0-1 [13.9 kB] Get: 110 http://deb.debian.org/debian unstable/main amd64 python3-zope.interface amd64 6.4-1 [153 kB] Get: 111 http://deb.debian.org/debian unstable/main amd64 python3-twisted all 24.3.0-1 [2032 kB] Get: 112 http://deb.debian.org/debian unstable/main amd64 python3-pytest-twisted all 1.14.1-1 [13.7 kB] Get: 113 http://deb.debian.org/debian unstable/main amd64 python3-starlette all 0.37.2-1 [49.8 kB] Fetched 40.7 MB in 30s (1360 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libjs-jquery. (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 ... 19718 files and directories currently installed.) Preparing to unpack .../libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-hotkeys. Preparing to unpack .../libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Selecting previously unselected package libpython3.11-minimal:amd64. Preparing to unpack .../libpython3.11-minimal_3.11.9-1_amd64.deb ... Unpacking libpython3.11-minimal:amd64 (3.11.9-1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.2-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_amd64.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:amd64 (3.11.9-1) ... Setting up libexpat1:amd64 (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... Selecting previously unselected package python3-minimal. (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 ... 20060 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_amd64.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-4_all.deb ... Unpacking tzdata (2024a-4) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../5-libreadline8t64_8.2-4_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:amd64. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_amd64.deb ... Unpacking libpython3.11-stdlib:amd64 (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_amd64.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... Selecting previously unselected package python3. (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 ... 21052 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_amd64.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:amd64. Preparing to unpack .../01-libpython3.12-minimal_3.12.3-1_amd64.deb ... Unpacking libpython3.12-minimal:amd64 (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.3-1_amd64.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package openssl. Preparing to unpack .../04-openssl_3.2.1-3_amd64.deb ... Unpacking openssl (3.2.1-3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../05-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../07-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-14+b1_amd64.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../10-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../11-groff-base_1.23.0-4_amd64.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../12-bsdextrautils_2.40.1-2_amd64.deb ... Unpacking bsdextrautils (2.40.1-2) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../13-libpipeline1_1.5.7-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../14-man-db_2.12.1-1_amd64.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../16-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../17-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../18-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../19-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../20-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../24-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../25-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../26-libelf1t64_0.191-1+b1_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../28-libicu72_72.1-4+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-4+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../29-libxml2_2.12.7+dfsg-2_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg-2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-14+b1_amd64.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../32-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../34-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../35-python3-lib2to3_3.12.3-3.1_all.deb ... Unpacking python3-lib2to3 (3.12.3-3.1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../36-python3-distutils_3.12.3-3.1_all.deb ... Unpacking python3-distutils (3.12.3-3.1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../37-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../38-dh-python_6.20240422_all.deb ... Unpacking dh-python (6.20240422) ... Selecting previously unselected package libjs-jquery-isonscreen. Preparing to unpack .../39-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... Selecting previously unselected package libjs-jquery-metadata. Preparing to unpack .../40-libjs-jquery-metadata_12-4_all.deb ... Unpacking libjs-jquery-metadata (12-4) ... Selecting previously unselected package libjs-jquery-tablesorter. Preparing to unpack .../41-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Selecting previously unselected package libjs-jquery-throttle-debounce. Preparing to unpack .../42-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Selecting previously unselected package libpython3.12-stdlib:amd64. Preparing to unpack .../43-libpython3.12-stdlib_3.12.3-1_amd64.deb ... Unpacking libpython3.12-stdlib:amd64 (3.12.3-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../44-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../45-python3-pyproject-hooks_1.0.0-2_all.deb ... Unpacking python3-pyproject-hooks (1.0.0-2) ... Selecting previously unselected package python3-toml. Preparing to unpack .../46-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../47-python3-wheel_0.43.0-1_all.deb ... Unpacking python3-wheel (0.43.0-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../48-python3-build_1.2.1-1_all.deb ... Unpacking python3-build (1.2.1-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../49-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../50-pybuild-plugin-pyproject_6.20240422_all.deb ... Unpacking pybuild-plugin-pyproject (6.20240422) ... Selecting previously unselected package python3.12. Preparing to unpack .../51-python3.12_3.12.3-1_amd64.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../52-python3-all_3.11.8-1_amd64.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3-exceptiongroup. Preparing to unpack .../53-python3-exceptiongroup_1.2.1-1_all.deb ... Unpacking python3-exceptiongroup (1.2.1-1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../54-python3-idna_3.6-2_all.deb ... Unpacking python3-idna (3.6-2) ... Selecting previously unselected package python3-sniffio. Preparing to unpack .../55-python3-sniffio_1.3.0-2_all.deb ... Unpacking python3-sniffio (1.3.0-2) ... Selecting previously unselected package python3-anyio. Preparing to unpack .../56-python3-anyio_4.3.0-1_all.deb ... Unpacking python3-anyio (4.3.0-1) ... Selecting previously unselected package python3-async-generator. Preparing to unpack .../57-python3-async-generator_1.10-4_all.deb ... Unpacking python3-async-generator (1.10-4) ... Selecting previously unselected package python3-attr. Preparing to unpack .../58-python3-attr_23.2.0-2_all.deb ... Unpacking python3-attr (23.2.0-2) ... Selecting previously unselected package python3-automat. Preparing to unpack .../59-python3-automat_22.10.0-2_all.deb ... Unpacking python3-automat (22.10.0-2) ... Selecting previously unselected package python3-cffi-backend:amd64. Preparing to unpack .../60-python3-cffi-backend_1.16.0-2+b2_amd64.deb ... Unpacking python3-cffi-backend:amd64 (1.16.0-2+b2) ... Selecting previously unselected package python3-bcrypt. Preparing to unpack .../61-python3-bcrypt_3.2.2-1_amd64.deb ... Unpacking python3-bcrypt (3.2.2-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../62-python3-certifi_2023.11.17-1_all.deb ... Unpacking python3-certifi (2023.11.17-1) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../63-python3-colorama_0.4.6-4_all.deb ... Unpacking python3-colorama (0.4.6-4) ... Selecting previously unselected package python3-click. Preparing to unpack .../64-python3-click_8.1.7-1_all.deb ... Unpacking python3-click (8.1.7-1) ... Selecting previously unselected package python3-constantly. Preparing to unpack .../65-python3-constantly_23.10.4-1_all.deb ... Unpacking python3-constantly (23.10.4-1) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../66-python3-coverage_7.2.7+dfsg1-1+b1_amd64.deb ... Unpacking python3-coverage (7.2.7+dfsg1-1+b1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../67-python3-cryptography_42.0.5-2_amd64.deb ... Unpacking python3-cryptography (42.0.5-2) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../68-python3-decorator_5.1.1-5_all.deb ... Unpacking python3-decorator (5.1.1-5) ... Selecting previously unselected package python3-greenlet. Preparing to unpack .../69-python3-greenlet_3.0.1-3_amd64.deb ... Unpacking python3-greenlet (3.0.1-3) ... Selecting previously unselected package python3-h11. Preparing to unpack .../70-python3-h11_0.14.0-1_all.deb ... Unpacking python3-h11 (0.14.0-1) ... Selecting previously unselected package python3-hamcrest. Preparing to unpack .../71-python3-hamcrest_2.1.0-1_all.deb ... Unpacking python3-hamcrest (2.1.0-1) ... Selecting previously unselected package python3-httpcore. Preparing to unpack .../72-python3-httpcore_1.0.4-1_all.deb ... Unpacking python3-httpcore (1.0.4-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../73-python3-pygments_2.17.2+dfsg-1_all.deb ... Unpacking python3-pygments (2.17.2+dfsg-1) ... Selecting previously unselected package python3-mdurl. Preparing to unpack .../74-python3-mdurl_0.1.2-1_all.deb ... Unpacking python3-mdurl (0.1.2-1) ... Selecting previously unselected package python3-markdown-it. Preparing to unpack .../75-python3-markdown-it_3.0.0-2_all.deb ... Unpacking python3-markdown-it (3.0.0-2) ... Selecting previously unselected package python3-rich. Preparing to unpack .../76-python3-rich_13.7.1-1_all.deb ... Unpacking python3-rich (13.7.1-1) ... Selecting previously unselected package python3-httpx. Preparing to unpack .../77-python3-httpx_0.27.0-1_all.deb ... Unpacking python3-httpx (0.27.0-1) ... Selecting previously unselected package python3-hyperlink. Preparing to unpack .../78-python3-hyperlink_21.0.0-5_all.deb ... Unpacking python3-hyperlink (21.0.0-5) ... Selecting previously unselected package python3-incremental. Preparing to unpack .../79-python3-incremental_22.10.0-1_all.deb ... Unpacking python3-incremental (22.10.0-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../80-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-openssl. Preparing to unpack .../81-python3-openssl_24.1.0-1_all.deb ... Unpacking python3-openssl (24.1.0-1) ... Selecting previously unselected package python3-outcome. Preparing to unpack .../82-python3-outcome_1.2.0-1.1_all.deb ... Unpacking python3-outcome (1.2.0-1.1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../83-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pyasn1. Preparing to unpack .../84-python3-pyasn1_0.5.1-1_all.deb ... Unpacking python3-pyasn1 (0.5.1-1) ... Selecting previously unselected package python3-pyasn1-modules. Preparing to unpack .../85-python3-pyasn1-modules_0.3.0-1_all.deb ... Unpacking python3-pyasn1-modules (0.3.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../86-python3-pytest_8.2.1-1_all.deb ... Unpacking python3-pytest (8.2.1-1) ... Selecting previously unselected package python3-pytest-asyncio. Preparing to unpack .../87-python3-pytest-asyncio_0.20.3-1.2_all.deb ... Unpacking python3-pytest-asyncio (0.20.3-1.2) ... Selecting previously unselected package python3-pytest-cov. Preparing to unpack .../88-python3-pytest-cov_5.0.0-1_all.deb ... Unpacking python3-pytest-cov (5.0.0-1) ... Selecting previously unselected package python3-tornado. Preparing to unpack .../89-python3-tornado_6.4.0-1_amd64.deb ... Unpacking python3-tornado (6.4.0-1) ... Selecting previously unselected package python3-pytest-tornasync. Preparing to unpack .../90-python3-pytest-tornasync_0.6.0.post2-2_all.deb ... Unpacking python3-pytest-tornasync (0.6.0.post2-2) ... Selecting previously unselected package python3-sortedcontainers. Preparing to unpack .../91-python3-sortedcontainers_2.4.0-2_all.deb ... Unpacking python3-sortedcontainers (2.4.0-2) ... Selecting previously unselected package python3-trio. Preparing to unpack .../92-python3-trio_0.25.0-1_all.deb ... Unpacking python3-trio (0.25.0-1) ... Selecting previously unselected package python3-pytest-trio. Preparing to unpack .../93-python3-pytest-trio_0.8.0-3_all.deb ... Unpacking python3-pytest-trio (0.8.0-3) ... Selecting previously unselected package python3-service-identity. Preparing to unpack .../94-python3-service-identity_24.1.0-1_all.deb ... Unpacking python3-service-identity (24.1.0-1) ... Selecting previously unselected package python3-zope.interface. Preparing to unpack .../95-python3-zope.interface_6.4-1_amd64.deb ... Unpacking python3-zope.interface (6.4-1) ... Selecting previously unselected package python3-twisted. Preparing to unpack .../96-python3-twisted_24.3.0-1_all.deb ... Unpacking python3-twisted (24.3.0-1) ... Selecting previously unselected package python3-pytest-twisted. Preparing to unpack .../97-python3-pytest-twisted_1.14.1-1_all.deb ... Unpacking python3-pytest-twisted (1.14.1-1) ... Selecting previously unselected package python3-starlette. Preparing to unpack .../98-python3-starlette_0.37.2-1_all.deb ... Unpacking python3-starlette (0.37.2-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.40.1-2) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up libpython3.12-minimal:amd64 (3.12.3-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Jun 30 05:19:59 UTC 2025. Universal Time is now: Mon Jun 30 05:19:59 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Setting up openssl (3.2.1-3) ... Setting up readline-common (8.2-4) ... Setting up libxml2:amd64 (2.12.7+dfsg-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up python3.12-minimal (3.12.3-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libjs-jquery-metadata (12-4) ... Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... Setting up libreadline8t64:amd64 (8.2-4) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Setting up groff-base (1.23.0-4) ... Setting up libpython3.12-stdlib:amd64 (3.12.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:amd64 (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:amd64 (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-sortedcontainers (2.4.0-2) ... Setting up python3-wheel (0.43.0-1) ... Setting up python3-decorator (5.1.1-5) ... Setting up python3-packaging (24.0-1) ... Setting up python3-pyproject-hooks (1.0.0-2) ... Setting up python3-certifi (2023.11.17-1) ... Setting up python3-incremental (22.10.0-1) ... Setting up python3-mdurl (0.1.2-1) ... Setting up python3-greenlet (3.0.1-3) ... Setting up python3-idna (3.6-2) ... Setting up python3-h11 (0.14.0-1) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-markdown-it (3.0.0-2) ... Setting up python3-exceptiongroup (1.2.1-1) ... Setting up python3-pyasn1 (0.5.1-1) ... Setting up python3-constantly (23.10.4-1) ... Setting up python3-build (1.2.1-1) ... Setting up python3-lib2to3 (3.12.3-3.1) ... Setting up python3-cffi-backend:amd64 (1.16.0-2+b2) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-3.1) ... python3.12: can't get files for byte-compilation Setting up python3-httpcore (1.0.4-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-sniffio (1.3.0-2) ... Setting up python3-attr (23.2.0-2) ... Setting up python3-tornado (6.4.0-1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-async-generator (1.10-4) ... Setting up python3-anyio (4.3.0-1) ... Setting up python3-colorama (0.4.6-4) ... Setting up python3-zope.interface (6.4-1) ... Setting up python3-pytest (8.2.1-1) ... Setting up python3-bcrypt (3.2.2-1) ... Setting up python3-automat (22.10.0-2) ... Setting up python3-all (3.11.8-1) ... Setting up python3-coverage (7.2.7+dfsg1-1+b1) ... Setting up python3-pytest-cov (5.0.0-1) ... Setting up python3-hamcrest (2.1.0-1) ... Setting up python3-starlette (0.37.2-1) ... Setting up python3-click (8.1.7-1) ... Setting up python3-pygments (2.17.2+dfsg-1) ... Setting up python3-pyasn1-modules (0.3.0-1) ... Setting up python3-cryptography (42.0.5-2) ... Setting up python3-hyperlink (21.0.0-5) ... Setting up python3-service-identity (24.1.0-1) ... Setting up python3-pytest-asyncio (0.20.3-1.2) ... Setting up dh-python (6.20240422) ... Setting up python3-pytest-tornasync (0.6.0.post2-2) ... Setting up python3-outcome (1.2.0-1.1) ... Setting up python3-rich (13.7.1-1) ... Setting up pybuild-plugin-pyproject (6.20240422) ... Setting up python3-openssl (24.1.0-1) ... Setting up python3-httpx (0.27.0-1) ... Setting up python3-trio (0.25.0-1) ... Setting up python3-twisted (24.3.0-1) ... Setting up python3-pytest-twisted (1.14.1-1) ... Setting up python3-pytest-trio (0.8.0-3) ... Processing triggers for libc-bin (2.38-11) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/asgi-lifespan-2.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../asgi-lifespan_2.1.0-2_source.changes dpkg-buildpackage: info: source package asgi-lifespan dpkg-buildpackage: info: source version 2.1.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Edward Betts dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/asgi-lifespan-2.1.0' dh_auto_clean rm -rf src/asgi_lifespan.egg-info/ make[1]: Leaving directory '/build/reproducible-path/asgi-lifespan-2.1.0' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `src-layout` detected -- analysing ./src discovered packages -- ['asgi_lifespan', 'asgi_lifespan._concurrency'] discovered py_modules -- [] running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/asgi_lifespan copying src/asgi_lifespan/_types.py -> build/lib/asgi_lifespan copying src/asgi_lifespan/_compat.py -> build/lib/asgi_lifespan copying src/asgi_lifespan/__init__.py -> build/lib/asgi_lifespan copying src/asgi_lifespan/_manager.py -> build/lib/asgi_lifespan copying src/asgi_lifespan/_exceptions.py -> build/lib/asgi_lifespan creating build/lib/asgi_lifespan/_concurrency copying src/asgi_lifespan/_concurrency/trio.py -> build/lib/asgi_lifespan/_concurrency copying src/asgi_lifespan/_concurrency/base.py -> build/lib/asgi_lifespan/_concurrency copying src/asgi_lifespan/_concurrency/__init__.py -> build/lib/asgi_lifespan/_concurrency copying src/asgi_lifespan/_concurrency/asyncio.py -> build/lib/asgi_lifespan/_concurrency running egg_info creating src/asgi_lifespan.egg-info writing src/asgi_lifespan.egg-info/PKG-INFO writing dependency_links to src/asgi_lifespan.egg-info/dependency_links.txt writing requirements to src/asgi_lifespan.egg-info/requires.txt writing top-level names to src/asgi_lifespan.egg-info/top_level.txt writing manifest file 'src/asgi_lifespan.egg-info/SOURCES.txt' reading manifest file 'src/asgi_lifespan.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/asgi_lifespan.egg-info/SOURCES.txt' copying src/asgi_lifespan/py.typed -> build/lib/asgi_lifespan installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_types.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_compat.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/__init__.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_manager.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/py.typed -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_exceptions.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan creating build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/trio.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/base.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/__init__.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/asyncio.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency running install_egg_info Copying src/asgi_lifespan.egg-info to build/bdist.linux-x86_64/wheel/asgi_lifespan-2.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/asgi_lifespan-2.1.0.dist-info/WHEEL creating '/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/.tmp-tj3cnt1e/asgi_lifespan-2.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'asgi_lifespan/__init__.py' adding 'asgi_lifespan/_compat.py' adding 'asgi_lifespan/_exceptions.py' adding 'asgi_lifespan/_manager.py' adding 'asgi_lifespan/_types.py' adding 'asgi_lifespan/py.typed' adding 'asgi_lifespan/_concurrency/__init__.py' adding 'asgi_lifespan/_concurrency/asyncio.py' adding 'asgi_lifespan/_concurrency/base.py' adding 'asgi_lifespan/_concurrency/trio.py' adding 'asgi_lifespan-2.1.0.dist-info/LICENSE' adding 'asgi_lifespan-2.1.0.dist-info/METADATA' adding 'asgi_lifespan-2.1.0.dist-info/WHEEL' adding 'asgi_lifespan-2.1.0.dist-info/top_level.txt' adding 'asgi_lifespan-2.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built asgi_lifespan-2.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module I: pybuild base:311: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `src-layout` detected -- analysing ./src discovered packages -- ['asgi_lifespan', 'asgi_lifespan._concurrency'] discovered py_modules -- [] running bdist_wheel running build running build_py running egg_info writing src/asgi_lifespan.egg-info/PKG-INFO writing dependency_links to src/asgi_lifespan.egg-info/dependency_links.txt writing requirements to src/asgi_lifespan.egg-info/requires.txt writing top-level names to src/asgi_lifespan.egg-info/top_level.txt reading manifest file 'src/asgi_lifespan.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/asgi_lifespan.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_types.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_compat.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/__init__.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_manager.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/py.typed -> build/bdist.linux-x86_64/wheel/asgi_lifespan copying build/lib/asgi_lifespan/_exceptions.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan creating build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/trio.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/base.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/__init__.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency copying build/lib/asgi_lifespan/_concurrency/asyncio.py -> build/bdist.linux-x86_64/wheel/asgi_lifespan/_concurrency running install_egg_info Copying src/asgi_lifespan.egg-info to build/bdist.linux-x86_64/wheel/asgi_lifespan-2.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/asgi_lifespan-2.1.0.dist-info/WHEEL creating '/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/.tmp-ya9zacmi/asgi_lifespan-2.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'asgi_lifespan/__init__.py' adding 'asgi_lifespan/_compat.py' adding 'asgi_lifespan/_exceptions.py' adding 'asgi_lifespan/_manager.py' adding 'asgi_lifespan/_types.py' adding 'asgi_lifespan/py.typed' adding 'asgi_lifespan/_concurrency/__init__.py' adding 'asgi_lifespan/_concurrency/asyncio.py' adding 'asgi_lifespan/_concurrency/base.py' adding 'asgi_lifespan/_concurrency/trio.py' adding 'asgi_lifespan-2.1.0.dist-info/LICENSE' adding 'asgi_lifespan-2.1.0.dist-info/METADATA' adding 'asgi_lifespan-2.1.0.dist-info/WHEEL' adding 'asgi_lifespan-2.1.0.dist-info/top_level.txt' adding 'asgi_lifespan-2.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built asgi_lifespan-2.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build; python3.12 -m pytest -c /dev/null --asyncio-mode=strict -p no:cacheprovider ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0 rootdir: /dev configfile: null plugins: trio-0.8.0, twisted-1.14.1, cov-5.0.0, tornasync-0.6.0.post2, asyncio-0.20.3, anyio-4.3.0 asyncio: mode=Mode.STRICT collected 32 items ../../../../../../dev/tests/test_manager.py .........FFFFF.F...F......xF [ 87%] FFFF [100%] =================================== FAILURES =================================== _____________ test_lifespan_manager[trio-None-None-StartupFailed] ______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _______________ test_lifespan_manager[trio-None-BodyFailed-None] _______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 108, in test_lifespan_manager | raise body_exception | tests.test_manager.BodyFailed +------------------------------------ __________ test_lifespan_manager[trio-None-BodyFailed-StartupFailed] ___________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _____________ test_lifespan_manager[trio-ShutdownFailed-None-None] _____________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 611, in __aexit__ | await self._router.shutdown() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 719, in shutdown | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 58, in shutdown | raise shutdown_exception() | tests.test_manager.ShutdownFailed +------------------------------------ ________ test_lifespan_manager[trio-ShutdownFailed-None-StartupFailed] _________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _____ test_lifespan_manager[trio-ShutdownFailed-BodyFailed-StartupFailed] ______ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ __________________ test_lifespan_timeout[trio-slow_shutdown] ___________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 164, in test_lifespan_timeout | async with LifespanManager(app, startup_timeout=0.01, shutdown_timeout=0.01): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 642, in _exit_wrapper | await callback(*args, **kwds) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 49, in shutdown | await self._concurrency_backend.run_and_fail_after( | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 49, in run_and_fail_after | raise TimeoutError | TimeoutError +------------------------------------ _________________ test_lifespan_not_supported[trio-http_only] __________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 183, in http_only | assert scope["type"] == "http" | AssertionError: assert 'lifespan' == 'http' | | - http | + lifespan | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 83, in run_app | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application failed before making its first call to 'receive()'. We expect this to originate from a statement similar to `assert scope['type'] == 'type'`. If that is not the case, then this crash is unexpected and there is probably more debug output in the cause traceback. +------------------------------------ _______________ test_lifespan_not_supported[trio-http_no_assert] _______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 190, in http_no_assert | await send( | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 59, in send | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application called send() before receive(). Is it missing `assert scope['type'] == 'http'` or similar? | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 83, in run_app | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application failed before making its first call to 'receive()'. We expect this to originate from a statement similar to `assert scope['type'] == 'type'`. If that is not the case, then this crash is unexpected and there is probably more debug output in the cause traceback. +------------------------------------ ___ test_lifespan_not_supported[trio-http_no_assert_before_receive_request] ____ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.12/contextlib.py", line 696, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 204, in http_no_assert_before_receive_request | assert message["type"] == "http.request" | AssertionError: assert 'lifespan.startup' == 'http.request' | | - http.request | + lifespan.startup +------------------------------------ ____________________ test_lifespan_state_async_cm[asyncio] _____________________ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/dist-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/dist-packages/httpcore/_async/http_proxy.py:207: in handle_async_request return await self._connection.handle_async_request(proxy_request) /usr/lib/python3/dist-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/dist-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/dist-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/dist-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/dist-packages/httpcore/_backends/anyio.py:112: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: All connection attempts failed /usr/lib/python3/dist-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: @pytest.mark.usefixtures("concurrency") async def test_lifespan_state_async_cm() -> None: @contextlib.asynccontextmanager async def lifespan(_app: ASGIApp) -> typing.AsyncGenerator: yield {"foo": 1} async def get(request: Request) -> Response: assert request.state.foo == 1 request.state.foo = 2 return PlainTextResponse(f"Hello {request.state.foo}") app = Starlette(lifespan=lifespan, routes=[Route("/get", get)]) async with LifespanManager(app) as manager: async with httpx.AsyncClient( app=manager.app, base_url="http://example.org" ) as client: > response = await client.get("/get") tests/test_manager.py:246: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/httpx/_client.py:1801: in get return await self.request( /usr/lib/python3/dist-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/dist-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/dist-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/dist-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/dist-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/dist-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: All connection attempts failed /usr/lib/python3/dist-packages/httpx/_transports/default.py:86: ConnectError ______________________ test_lifespan_state_async_cm[trio] ______________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 242, in test_lifespan_state_async_cm | async with LifespanManager(app) as manager: | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.12/contextlib.py", line 754, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.12/contextlib.py", line 737, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions | yield | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 373, in handle_async_request | resp = await self._pool.handle_async_request(req) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request | raise exc from None | File "/usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py", line 196, in handle_async_request | response = await connection.handle_async_request( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/http_proxy.py", line 207, in handle_async_request | return await self._connection.handle_async_request(proxy_request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 99, in handle_async_request | raise exc | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 76, in handle_async_request | stream = await self._connect(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 122, in _connect | stream = await self._network_backend.connect_tcp(**kwargs) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_backends/auto.py", line 30, in connect_tcp | return await self._backend.connect_tcp( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_backends/trio.py", line 130, in connect_tcp | with map_exceptions(exc_map): | File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__ | self.gen.throw(value) | File "/usr/lib/python3/dist-packages/httpcore/_exceptions.py", line 14, in map_exceptions | raise to_exc(exc) from exc | httpcore.ConnectError: all attempts to connect to 127.0.0.1:9 failed | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build/tests/test_manager.py", line 246, in test_lifespan_state_async_cm | response = await client.get("/get") | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1801, in get | return await self.request( | ^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1574, in request | return await self.send(request, auth=auth, follow_redirects=follow_redirects) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1661, in send | response = await self._send_handling_auth( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1689, in _send_handling_auth | response = await self._send_handling_redirects( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1726, in _send_handling_redirects | response = await self._send_single_request(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1763, in _send_single_request | response = await transport.handle_async_request(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 372, in handle_async_request | with map_httpcore_exceptions(): | File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__ | self.gen.throw(value) | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions | raise mapped_exc(message) from exc | httpx.ConnectError: all attempts to connect to 127.0.0.1:9 failed +------------------------------------ =============================== warnings summary =============================== tests/test_manager.py: 12 warnings /usr/lib/python3/dist-packages/starlette/routing.py:638: DeprecationWarning: The on_startup and on_shutdown parameters are deprecated, and they will be removed on version 1.0. Use the lifespan parameter instead. See more about it on https://www.starlette.io/lifespan/. warnings.warn( tests/test_manager.py::test_lifespan_state_async_cm[asyncio] tests/test_manager.py::test_lifespan_state_async_cm[trio] /usr/lib/python3/dist-packages/httpx/_client.py:1426: DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead. warnings.warn(message, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-None-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-BodyFailed-None] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-BodyFailed-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-None-None] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-None-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-BodyFailed-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_timeout[trio-slow_shutdown] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_only] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_no_assert] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_no_assert_before_receive_request] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_state_async_cm[asyncio] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_state_async_cm[trio] ============ 12 failed, 19 passed, 1 xfailed, 14 warnings in 1.37s ============= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.12_asgi-lifespan/build; python3.12 -m pytest -c /dev/null --asyncio-mode=strict -p no:cacheprovider I: pybuild base:311: cd /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build; python3.11 -m pytest -c /dev/null --asyncio-mode=strict -p no:cacheprovider ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.2.1, pluggy-1.5.0 rootdir: /dev configfile: null plugins: trio-0.8.0, twisted-1.14.1, cov-5.0.0, tornasync-0.6.0.post2, asyncio-0.20.3, anyio-4.3.0 asyncio: mode=Mode.STRICT collected 32 items ../../../../../../dev/tests/test_manager.py .........FFFFF.F...F......xF [ 87%] FFFF [100%] =================================== FAILURES =================================== _____________ test_lifespan_manager[trio-None-None-StartupFailed] ______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _______________ test_lifespan_manager[trio-None-BodyFailed-None] _______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 108, in test_lifespan_manager | raise body_exception | tests.test_manager.BodyFailed +------------------------------------ __________ test_lifespan_manager[trio-None-BodyFailed-StartupFailed] ___________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _____________ test_lifespan_manager[trio-ShutdownFailed-None-None] _____________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 611, in __aexit__ | await self._router.shutdown() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 719, in shutdown | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 58, in shutdown | raise shutdown_exception() | tests.test_manager.ShutdownFailed +------------------------------------ ________ test_lifespan_manager[trio-ShutdownFailed-None-StartupFailed] _________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ _____ test_lifespan_manager[trio-ShutdownFailed-BodyFailed-StartupFailed] ______ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 101, in test_lifespan_manager | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 81, in app | await router(scope, _receive, _send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 765, in app | await self.lifespan(scope, receive, send) | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 732, in lifespan | async with self.lifespan_context(app) as maybe_state: | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 608, in __aenter__ | await self._router.startup() | File "/usr/lib/python3/dist-packages/starlette/routing.py", line 709, in startup | await handler() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 50, in startup | raise startup_exception() | tests.test_manager.StartupFailed +------------------------------------ __________________ test_lifespan_timeout[trio-slow_shutdown] ___________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 164, in test_lifespan_timeout | async with LifespanManager(app, startup_timeout=0.01, shutdown_timeout=0.01): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.11/contextlib.py", line 633, in _exit_wrapper | await callback(*args, **kwds) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 49, in shutdown | await self._concurrency_backend.run_and_fail_after( | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 49, in run_and_fail_after | raise TimeoutError | TimeoutError +------------------------------------ _________________ test_lifespan_not_supported[trio-http_only] __________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 183, in http_only | assert scope["type"] == "http" | AssertionError: assert 'lifespan' == 'http' | | - http | + lifespan | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 83, in run_app | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application failed before making its first call to 'receive()'. We expect this to originate from a statement similar to `assert scope['type'] == 'type'`. If that is not the case, then this crash is unexpected and there is probably more debug output in the cause traceback. +------------------------------------ _______________ test_lifespan_not_supported[trio-http_no_assert] _______________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 190, in http_no_assert | await send( | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 59, in send | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application called send() before receive(). Is it missing `assert scope['type'] == 'http'` or similar? | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 83, in run_app | raise LifespanNotSupported( | asgi_lifespan._exceptions.LifespanNotSupported: Application failed before making its first call to 'receive()'. We expect this to originate from a statement similar to `assert scope['type'] == 'type'`. If that is not the case, then this crash is unexpected and there is probably more debug output in the cause traceback. +------------------------------------ ___ test_lifespan_not_supported[trio-http_no_assert_before_receive_request] ____ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 225, in test_lifespan_not_supported | async with LifespanManager(app): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 102, in __aenter__ | await self._exit_stack.aclose() | File "/usr/lib/python3.11/contextlib.py", line 687, in aclose | await self.__aexit__(None, None, None) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 99, in __aenter__ | await self.startup() | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 45, in startup | raise self._app_exception | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 73, in run_app | await self.app(scope, self.receive, self.send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 13, in app_with_state | await app(scope, receive, send) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 204, in http_no_assert_before_receive_request | assert message["type"] == "http.request" | AssertionError: assert 'lifespan.startup' == 'http.request' | | - http.request | + lifespan.startup +------------------------------------ ____________________ test_lifespan_state_async_cm[asyncio] _____________________ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/dist-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/dist-packages/httpcore/_async/http_proxy.py:207: in handle_async_request return await self._connection.handle_async_request(proxy_request) /usr/lib/python3/dist-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/dist-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/dist-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/dist-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/dist-packages/httpcore/_backends/anyio.py:112: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.11/contextlib.py:158: in __exit__ self.gen.throw(typ, value, traceback) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: All connection attempts failed /usr/lib/python3/dist-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: @pytest.mark.usefixtures("concurrency") async def test_lifespan_state_async_cm() -> None: @contextlib.asynccontextmanager async def lifespan(_app: ASGIApp) -> typing.AsyncGenerator: yield {"foo": 1} async def get(request: Request) -> Response: assert request.state.foo == 1 request.state.foo = 2 return PlainTextResponse(f"Hello {request.state.foo}") app = Starlette(lifespan=lifespan, routes=[Route("/get", get)]) async with LifespanManager(app) as manager: async with httpx.AsyncClient( app=manager.app, base_url="http://example.org" ) as client: > response = await client.get("/get") tests/test_manager.py:246: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/httpx/_client.py:1801: in get return await self.request( /usr/lib/python3/dist-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/dist-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/dist-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/dist-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/dist-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/dist-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.11/contextlib.py:158: in __exit__ self.gen.throw(typ, value, traceback) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: All connection attempts failed /usr/lib/python3/dist-packages/httpx/_transports/default.py:86: ConnectError ______________________ test_lifespan_state_async_cm[trio] ______________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call | result: Optional[TResult] = func() | ^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in _runtest_for | yield | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall | teardown.throw(outcome._exception) | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in pytest_runtest_call | raise e | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in _multicall | return outcome.get_result() | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result | raise exc.with_traceback(exc.__traceback__) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py", line 45, in pytest_pyfunc_call | pyfuncitem.obj(**testargs) | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, in wrapper | return run(partial(fn, **kwargs), clock=clock, instruments=instruments) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in run | raise runner.main_task_outcome.error | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test | raise test_ctx.error_list[0] | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, in _fixture_manager | async with trio.open_nursery() as nursery_fixture: | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager | yield nursery_fixture | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run | await self._func(**resolved_kwargs) | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 242, in test_lifespan_state_async_cm | async with LifespanManager(app) as manager: | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_manager.py", line 113, in __aexit__ | return await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/asgi_lifespan/_concurrency/trio.py", line 72, in __aexit__ | await self._exit_stack.__aexit__(exc_type, exc_value, traceback) | File "/usr/lib/python3.11/contextlib.py", line 745, in __aexit__ | raise exc_details[1] | File "/usr/lib/python3.11/contextlib.py", line 728, in __aexit__ | cb_suppress = await cb(*exc_details) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in __aexit__ | raise combined_error_from_nursery | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions | yield | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 373, in handle_async_request | resp = await self._pool.handle_async_request(req) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request | raise exc from None | File "/usr/lib/python3/dist-packages/httpcore/_async/connection_pool.py", line 196, in handle_async_request | response = await connection.handle_async_request( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/http_proxy.py", line 207, in handle_async_request | return await self._connection.handle_async_request(proxy_request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 99, in handle_async_request | raise exc | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 76, in handle_async_request | stream = await self._connect(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_async/connection.py", line 122, in _connect | stream = await self._network_backend.connect_tcp(**kwargs) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_backends/auto.py", line 30, in connect_tcp | return await self._backend.connect_tcp( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpcore/_backends/trio.py", line 130, in connect_tcp | with map_exceptions(exc_map): | File "/usr/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/lib/python3/dist-packages/httpcore/_exceptions.py", line 14, in map_exceptions | raise to_exc(exc) from exc | httpcore.ConnectError: all attempts to connect to 127.0.0.1:9 failed | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build/tests/test_manager.py", line 246, in test_lifespan_state_async_cm | response = await client.get("/get") | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1801, in get | return await self.request( | ^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1574, in request | return await self.send(request, auth=auth, follow_redirects=follow_redirects) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1661, in send | response = await self._send_handling_auth( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1689, in _send_handling_auth | response = await self._send_handling_redirects( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1726, in _send_handling_redirects | response = await self._send_single_request(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_client.py", line 1763, in _send_single_request | response = await transport.handle_async_request(request) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 372, in handle_async_request | with map_httpcore_exceptions(): | File "/usr/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions | raise mapped_exc(message) from exc | httpx.ConnectError: all attempts to connect to 127.0.0.1:9 failed +------------------------------------ =============================== warnings summary =============================== tests/test_manager.py: 12 warnings /usr/lib/python3/dist-packages/starlette/routing.py:638: DeprecationWarning: The on_startup and on_shutdown parameters are deprecated, and they will be removed on version 1.0. Use the lifespan parameter instead. See more about it on https://www.starlette.io/lifespan/. warnings.warn( tests/test_manager.py::test_lifespan_state_async_cm[asyncio] tests/test_manager.py::test_lifespan_state_async_cm[trio] /usr/lib/python3/dist-packages/httpx/_client.py:1426: DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead. warnings.warn(message, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-None-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-BodyFailed-None] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-None-BodyFailed-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-None-None] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-None-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_manager[trio-ShutdownFailed-BodyFailed-StartupFailed] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_timeout[trio-slow_shutdown] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_only] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_no_assert] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_not_supported[trio-http_no_assert_before_receive_request] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_state_async_cm[asyncio] FAILED ../../../../../../dev/tests/test_manager.py::test_lifespan_state_async_cm[trio] ============ 12 failed, 19 passed, 1 xfailed, 14 warnings in 1.16s ============= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/asgi-lifespan-2.1.0/.pybuild/cpython3_3.11_asgi-lifespan/build; python3.11 -m pytest -c /dev/null --asyncio-mode=strict -p no:cacheprovider dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2076884 and its subdirectories Mon May 27 22:58:52 UTC 2024 W: No second build log, what happened?