0s autopkgtest [17:07:18]: starting date and time: 2025-11-17 17:07:18+0000 0s autopkgtest [17:07:18]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [17:07:18]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.twpfcfi2/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python-pytest-asyncio --apt-upgrade aiohttp-sse --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-pytest-asyncio/1.2.0-1 -- lxd -r lxd-armhf-10.145.243.61 lxd-armhf-10.145.243.61:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [17:07:40]: testbed dpkg architecture: armhf 24s autopkgtest [17:07:42]: testbed apt version: 3.1.11 28s autopkgtest [17:07:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 30s autopkgtest [17:07:48]: testbed release detected to be: None 37s autopkgtest [17:07:55]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 40s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 40s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 40s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 40s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 40s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 40s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 40s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 40s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [134 kB] 40s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 40s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [474 kB] 40s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 40s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 44s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 44s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 44s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.4 MB] 48s Fetched 41.2 MB in 9s (4502 kB/s) 49s Reading package lists... 55s autopkgtest [17:08:13]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s apt libapt-pkg7.0 libcrypt1 usbutils 59s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 2774 kB of archives. 59s After this operation, 8192 B of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.12 [1157 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.12 [1440 kB] 59s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt1 armhf 1:4.5.1-1 [98.9 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 60s Fetched 2774 kB in 1s (2687 kB/s) 60s (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 ... 65904 files and directories currently installed.) 60s Preparing to unpack .../libapt-pkg7.0_3.1.12_armhf.deb ... 60s Unpacking libapt-pkg7.0:armhf (3.1.12) over (3.1.11) ... 60s Setting up libapt-pkg7.0:armhf (3.1.12) ... 60s (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 ... 65904 files and directories currently installed.) 60s Preparing to unpack .../archives/apt_3.1.12_armhf.deb ... 60s Unpacking apt (3.1.12) over (3.1.11) ... 60s Setting up apt (3.1.12) ... 61s (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 ... 65904 files and directories currently installed.) 61s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_armhf.deb ... 61s Unpacking libcrypt1:armhf (1:4.5.1-1) over (1:4.4.38-1build1) ... 61s Setting up libcrypt1:armhf (1:4.5.1-1) ... 61s (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 ... 65904 files and directories currently installed.) 61s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 61s Unpacking usbutils (1:019-1) over (1:018-2) ... 61s Setting up usbutils (1:019-1) ... 61s Processing triggers for man-db (2.13.1-1) ... 63s Processing triggers for libc-bin (2.42-2ubuntu2) ... 66s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Solving dependencies... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s autopkgtest [17:08:27]: rebooting testbed after setup commands that affected boot 112s autopkgtest [17:09:10]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 138s autopkgtest [17:09:36]: @@@@@@@@@@@@@@@@@@@@ apt-source aiohttp-sse 150s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (dsc) [2356 B] 150s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (tar) [16.2 kB] 150s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (diff) [2248 B] 150s gpgv: Signature made Wed Mar 12 21:36:29 2025 UTC 150s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 150s gpgv: Can't check signature: No public key 150s dpkg-source: warning: cannot verify inline signature for ./aiohttp-sse_2.2.0-2.dsc: no acceptable signature found 150s autopkgtest [17:09:48]: testing package aiohttp-sse version 2.2.0-2 152s autopkgtest [17:09:50]: build not needed 154s autopkgtest [17:09:52]: test run-tests: preparing testbed 156s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Solving dependencies... 157s Some packages could not be installed. This may mean that you have 157s requested an impossible situation or if you are using the unstable 157s distribution that some required packages have not yet been created 157s or been moved out of Incoming. 157s The following information may help to resolve the situation: 157s 157s The following packages have unmet dependencies: 157s satisfy:command-line : Depends: python3-all but it is not going to be installed 157s Depends: python3-pytest but it is not going to be installed 157s Depends: python3-pytest-aiohttp but it is not going to be installed 157s Depends: python3-pytest-asyncio but it is not going to be installed 157s Depends: python3-aiohttp-sse but it is not going to be installed 157s E: Unable to satisfy dependencies. Reached two conflicting decisions: 157s 1. python3-pytest:armhf=8.4.2-1 is not selected for install 157s 2. python3-pytest:armhf=8.4.2-1 is selected for install because: 157s 1. satisfy:command-line:armhf=1 is selected for install 157s 2. satisfy:command-line:armhf Depends python3-pytest-asyncio 157s 3. python3-pytest-asyncio:armhf is available in versions 1.2.0-1, 0.25.1-1 157s [selected python3-pytest-asyncio:armhf=1.2.0-1 for install] 157s 4. python3-pytest-asyncio:armhf=1.2.0-1 Depends python3-pytest (>= 8.4.0) 157s For context, additional choices that could not be installed: 157s * In python3-pytest-asyncio:armhf is available in versions 1.2.0-1, 0.25.1-1: 157s - python3-pytest-asyncio:armhf=0.25.1-1 is not selected for install 157s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from resolute-proposed 161s Reading package lists... 162s Building dependency tree... 162s Reading state information... 162s Solving dependencies... 163s The following NEW packages will be installed: 163s libpython3.14-minimal libpython3.14-stdlib python3-aiohappyeyeballs 163s python3-aiohttp python3-aiohttp-sse python3-aiosignal python3-all 163s python3-async-generator python3-async-timeout python3-frozenlist 163s python3-iniconfig python3-multidict python3-pluggy python3-propcache 163s python3-pytest python3-pytest-aiohttp python3-pytest-asyncio python3-yarl 163s python3.14 python3.14-minimal 163s The following packages will be upgraded: 163s libpython3-stdlib python3 python3-minimal 163s 3 upgraded, 20 newly installed, 0 to remove and 36 not upgraded. 163s Need to get 7153 kB of archives. 163s After this operation, 26.9 MB of additional disk space will be used. 163s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 163s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 163s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 163s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.0-4 [892 kB] 164s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.0-4 [2146 kB] 165s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.0-4 [2270 kB] 165s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 165s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-multidict armhf 6.4.3-1build1 [67.0 kB] 165s Get:9 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-propcache armhf 0.3.1-1build1 [50.5 kB] 165s Get:10 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-yarl armhf 1.22.0-1 [97.6 kB] 165s Get:11 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-async-timeout all 5.0.1-1 [6830 B] 165s Get:12 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-frozenlist armhf 1.8.0-1 [53.5 kB] 165s Get:13 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiosignal all 1.4.0-1 [5628 B] 165s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiohttp armhf 3.11.16-1 [342 kB] 166s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiohttp-sse all 2.2.0-2 [9314 B] 166s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.0-4 [805 kB] 166s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.13.7-2 [890 B] 166s Get:18 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-async-generator all 1.10-7 [18.1 kB] 166s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 166s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 166s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf python3-pytest all 8.4.2-1 [268 kB] 166s Get:22 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf python3-pytest-asyncio all 1.2.0-1 [13.6 kB] 166s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest-aiohttp all 1.1.0-3 [5712 B] 166s Fetched 7153 kB in 3s (2556 kB/s) 167s (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 ... 65904 files and directories currently installed.) 167s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 167s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 167s Setting up python3-minimal (3.13.7-2) ... 167s (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 ... 65904 files and directories currently installed.) 167s Preparing to unpack .../00-python3_3.13.7-2_armhf.deb ... 167s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 167s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_armhf.deb ... 167s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 167s Selecting previously unselected package libpython3.14-minimal:armhf. 167s Preparing to unpack .../02-libpython3.14-minimal_3.14.0-4_armhf.deb ... 167s Unpacking libpython3.14-minimal:armhf (3.14.0-4) ... 167s Selecting previously unselected package python3.14-minimal. 167s Preparing to unpack .../03-python3.14-minimal_3.14.0-4_armhf.deb ... 167s Unpacking python3.14-minimal (3.14.0-4) ... 167s Selecting previously unselected package libpython3.14-stdlib:armhf. 167s Preparing to unpack .../04-libpython3.14-stdlib_3.14.0-4_armhf.deb ... 167s Unpacking libpython3.14-stdlib:armhf (3.14.0-4) ... 167s Selecting previously unselected package python3-aiohappyeyeballs. 167s Preparing to unpack .../05-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 167s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 167s Selecting previously unselected package python3-multidict. 167s Preparing to unpack .../06-python3-multidict_6.4.3-1build1_armhf.deb ... 167s Unpacking python3-multidict (6.4.3-1build1) ... 167s Selecting previously unselected package python3-propcache. 167s Preparing to unpack .../07-python3-propcache_0.3.1-1build1_armhf.deb ... 167s Unpacking python3-propcache (0.3.1-1build1) ... 167s Selecting previously unselected package python3-yarl. 167s Preparing to unpack .../08-python3-yarl_1.22.0-1_armhf.deb ... 167s Unpacking python3-yarl (1.22.0-1) ... 167s Selecting previously unselected package python3-async-timeout. 167s Preparing to unpack .../09-python3-async-timeout_5.0.1-1_all.deb ... 167s Unpacking python3-async-timeout (5.0.1-1) ... 167s Selecting previously unselected package python3-frozenlist. 167s Preparing to unpack .../10-python3-frozenlist_1.8.0-1_armhf.deb ... 167s Unpacking python3-frozenlist (1.8.0-1) ... 168s Selecting previously unselected package python3-aiosignal. 168s Preparing to unpack .../11-python3-aiosignal_1.4.0-1_all.deb ... 168s Unpacking python3-aiosignal (1.4.0-1) ... 168s Selecting previously unselected package python3-aiohttp. 168s Preparing to unpack .../12-python3-aiohttp_3.11.16-1_armhf.deb ... 168s Unpacking python3-aiohttp (3.11.16-1) ... 168s Selecting previously unselected package python3-aiohttp-sse. 168s Preparing to unpack .../13-python3-aiohttp-sse_2.2.0-2_all.deb ... 168s Unpacking python3-aiohttp-sse (2.2.0-2) ... 168s Selecting previously unselected package python3.14. 168s Preparing to unpack .../14-python3.14_3.14.0-4_armhf.deb ... 168s Unpacking python3.14 (3.14.0-4) ... 168s Selecting previously unselected package python3-all. 168s Preparing to unpack .../15-python3-all_3.13.7-2_armhf.deb ... 168s Unpacking python3-all (3.13.7-2) ... 168s Selecting previously unselected package python3-async-generator. 168s Preparing to unpack .../16-python3-async-generator_1.10-7_all.deb ... 168s Unpacking python3-async-generator (1.10-7) ... 168s Selecting previously unselected package python3-iniconfig. 168s Preparing to unpack .../17-python3-iniconfig_2.1.0-1_all.deb ... 168s Unpacking python3-iniconfig (2.1.0-1) ... 168s Selecting previously unselected package python3-pluggy. 168s Preparing to unpack .../18-python3-pluggy_1.6.0-1_all.deb ... 168s Unpacking python3-pluggy (1.6.0-1) ... 168s Selecting previously unselected package python3-pytest. 168s Preparing to unpack .../19-python3-pytest_8.4.2-1_all.deb ... 168s Unpacking python3-pytest (8.4.2-1) ... 168s Selecting previously unselected package python3-pytest-asyncio. 168s Preparing to unpack .../20-python3-pytest-asyncio_1.2.0-1_all.deb ... 168s Unpacking python3-pytest-asyncio (1.2.0-1) ... 168s Selecting previously unselected package python3-pytest-aiohttp. 168s Preparing to unpack .../21-python3-pytest-aiohttp_1.1.0-3_all.deb ... 168s Unpacking python3-pytest-aiohttp (1.1.0-3) ... 168s Setting up libpython3.14-minimal:armhf (3.14.0-4) ... 168s Setting up python3.14-minimal (3.14.0-4) ... 169s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 169s Setting up libpython3.14-stdlib:armhf (3.14.0-4) ... 169s Setting up python3 (3.13.7-2) ... 169s Setting up python3-multidict (6.4.3-1build1) ... 170s Setting up python3-frozenlist (1.8.0-1) ... 170s Setting up python3-aiosignal (1.4.0-1) ... 170s Setting up python3-async-timeout (5.0.1-1) ... 170s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 170s Setting up python3-pluggy (1.6.0-1) ... 170s Setting up python3-propcache (0.3.1-1build1) ... 171s Setting up python3.14 (3.14.0-4) ... 172s Setting up python3-yarl (1.22.0-1) ... 172s Setting up python3-iniconfig (2.1.0-1) ... 172s Setting up python3-async-generator (1.10-7) ... 173s Setting up python3-pytest (8.4.2-1) ... 173s Setting up python3-aiohttp (3.11.16-1) ... 174s Setting up python3-all (3.13.7-2) ... 174s Setting up python3-aiohttp-sse (2.2.0-2) ... 174s Setting up python3-pytest-asyncio (1.2.0-1) ... 174s Setting up python3-pytest-aiohttp (1.1.0-3) ... 174s Processing triggers for man-db (2.13.1-1) ... 175s Processing triggers for systemd (257.9-0ubuntu2) ... 183s autopkgtest [17:10:21]: test run-tests: [----------------------- 186s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:15: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 186s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 186s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:252: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 186s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 186s 186s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 186s ============================= test session starts ============================== 186s platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3.14 186s cachedir: .pytest_cache 186s rootdir: /tmp/autopkgtest.Bamcoz/autopkgtest_tmp 186s plugins: typeguard-4.4.2, asyncio-1.2.0, aiohttp-1.1.0 186s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 186s collecting ... collected 84 items 186s 186s tests/test_sse.py::test_func[debug:true-without_sse_response] ERROR [ 1%] 186s 186s ==================================== ERRORS ==================================== 186s _________ ERROR at setup of test_func[debug:true-without_sse_response] _________ 186s file /tmp/autopkgtest.Bamcoz/autopkgtest_tmp/tests/test_sse.py, line 16 186s @pytest.mark.parametrize( 186s "with_sse_response", 186s (False, True), 186s ids=("without_sse_response", "with_sse_response"), 186s ) 186s async def test_func(with_sse_response: bool, aiohttp_client: ClientFixture) -> None: 186s async def func(request: web.Request) -> web.StreamResponse: 186s if with_sse_response: 186s resp = await sse_response(request, headers={"X-SSE": "aiohttp_sse"}) 186s else: 186s resp = EventSourceResponse(headers={"X-SSE": "aiohttp_sse"}) 186s await resp.prepare(request) 186s await resp.send("foo") 186s await resp.send("foo", event="bar") 186s await resp.send("foo", event="bar", id="xyz") 186s await resp.send("foo", event="bar", id="xyz", retry=1) 186s resp.stop_streaming() 186s await resp.wait() 186s return resp 186s 186s app = web.Application() 186s app.router.add_route("GET", "/", func) 186s app.router.add_route("POST", "/", func) 186s 186s client = await aiohttp_client(app) 186s resp = await client.get("/") 186s assert 200 == resp.status 186s 186s # make sure that EventSourceResponse supports passing 186s # custom headers 186s assert resp.headers.get("X-SSE") == "aiohttp_sse" 186s 186s # make sure default headers set 186s assert resp.headers.get("Content-Type") == "text/event-stream" 186s assert resp.headers.get("Cache-Control") == "no-cache" 186s assert resp.headers.get("Connection") == "keep-alive" 186s assert resp.headers.get("X-Accel-Buffering") == "no" 186s 186s # check streamed data 186s streamed_data = await resp.text() 186s expected = ( 186s "data: foo\r\n\r\n" 186s "event: bar\r\ndata: foo\r\n\r\n" 186s "id: xyz\r\nevent: bar\r\ndata: foo\r\n\r\n" 186s "id: xyz\r\nevent: bar\r\ndata: foo\r\nretry: 1\r\n\r\n" 186s ) 186s assert streamed_data == expected 186s file /tmp/autopkgtest.Bamcoz/autopkgtest_tmp/tests/conftest.py, line 16 186s @pytest.fixture(autouse=True) 186s def loop(event_loop: AbstractEventLoop, debug: bool) -> AbstractEventLoop: 186s E fixture 'event_loop' not found 186s > available fixtures: _class_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, debug, doctest_namespace, event_loop_policy, loop, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory 186s > use 'pytest --fixtures [testpath]' for help on them. 186s 186s /tmp/autopkgtest.Bamcoz/autopkgtest_tmp/tests/conftest.py:16 186s =========================== short test summary info ============================ 186s ERROR tests/test_sse.py::test_func[debug:true-without_sse_response] 186s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 186s =============================== 1 error in 0.07s =============================== 187s autopkgtest [17:10:25]: test run-tests: -----------------------] 191s run-tests FAIL non-zero exit status 1 191s autopkgtest [17:10:29]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 195s autopkgtest [17:10:33]: @@@@@@@@@@@@@@@@@@@@ summary 195s run-tests FAIL non-zero exit status 1