0s autopkgtest [16:57:20]: starting date and time: 2025-11-17 16:57:20+0000 0s autopkgtest [16:57:20]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:57:20]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8a8_hh4a/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-12.secgroup --name adt-resolute-s390x-aiohttp-sse-20251117-165720-juju-7f2275-prod-proposed-migration-environment-20-3ecd1b49-2279-44a0-beab-2199a9300c23 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-aiohttp-sse-20251117-165720-juju-7f2275-prod-proposed-migration-environment-20-3ecd1b49-2279-44a0-beab-2199a9300c23 from image adt/ubuntu-resolute-s390x-server-20251117.img (UUID a3a3e3b9-e6ba-478c-a5e9-fce6f0982a95)... 45s autopkgtest [16:58:05]: testbed dpkg architecture: s390x 45s autopkgtest [16:58:05]: testbed apt version: 3.1.11 45s autopkgtest [16:58:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 45s autopkgtest [16:58:05]: testbed release detected to be: None 46s autopkgtest [16:58:06]: updating testbed package index (apt update) 46s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 46s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 46s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 47s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 47s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 47s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 47s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 47s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 47s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [134 kB] 47s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 47s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [488 kB] 47s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [10.6 kB] 47s Fetched 1606 kB in 1s (1590 kB/s) 48s Reading package lists... 48s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 48s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 49s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 49s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 49s Reading package lists... 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 50s Calculating upgrade... 50s The following packages will be upgraded: 50s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 50s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 50s Need to get 2926 kB of archives. 50s After this operation, 50.2 kB of additional disk space will be used. 50s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libcrypt-dev s390x 1:4.5.1-1 [127 kB] 50s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libcrypt1 s390x 1:4.5.1-1 [96.1 kB] 50s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.12 [1150 kB] 50s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.12 [1468 kB] 51s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x usbutils s390x 1:019-1 [85.6 kB] 51s dpkg-preconfigure: unable to re-open stdin: No such file or directory 51s Fetched 2926 kB in 1s (3365 kB/s) 51s (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 ... 61309 files and directories currently installed.) 51s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_s390x.deb ... 51s Unpacking libcrypt-dev:s390x (1:4.5.1-1) over (1:4.4.38-1build1) ... 51s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_s390x.deb ... 51s Unpacking libcrypt1:s390x (1:4.5.1-1) over (1:4.4.38-1build1) ... 51s Setting up libcrypt1:s390x (1:4.5.1-1) ... 51s (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 ... 61309 files and directories currently installed.) 51s Preparing to unpack .../libapt-pkg7.0_3.1.12_s390x.deb ... 51s Unpacking libapt-pkg7.0:s390x (3.1.12) over (3.1.11) ... 51s Preparing to unpack .../archives/apt_3.1.12_s390x.deb ... 51s Unpacking apt (3.1.12) over (3.1.11) ... 51s Preparing to unpack .../usbutils_1%3a019-1_s390x.deb ... 51s Unpacking usbutils (1:019-1) over (1:018-2) ... 51s Setting up usbutils (1:019-1) ... 51s Setting up libcrypt-dev:s390x (1:4.5.1-1) ... 51s Setting up libapt-pkg7.0:s390x (3.1.12) ... 51s Setting up apt (3.1.12) ... 52s Processing triggers for man-db (2.13.1-1) ... 53s Processing triggers for libc-bin (2.42-2ubuntu2) ... 53s autopkgtest [16:58:13]: upgrading testbed (apt dist-upgrade and autopurge) 54s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Calculating upgrade... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Solving dependencies... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s autopkgtest [16:58:15]: rebooting testbed after setup commands that affected boot 70s autopkgtest [16:58:30]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP Mon Sep 22 08:56:47 UTC 2025 72s autopkgtest [16:58:32]: @@@@@@@@@@@@@@@@@@@@ apt-source aiohttp-sse 74s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (dsc) [2356 B] 74s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (tar) [16.2 kB] 74s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (diff) [2248 B] 74s gpgv: Signature made Wed Mar 12 21:36:29 2025 UTC 74s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 74s gpgv: Can't check signature: No public key 74s dpkg-source: warning: cannot verify inline signature for ./aiohttp-sse_2.2.0-2.dsc: no acceptable signature found 74s autopkgtest [16:58:34]: testing package aiohttp-sse version 2.2.0-2 74s autopkgtest [16:58:34]: build not needed 74s autopkgtest [16:58:34]: test run-tests: preparing testbed 74s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Solving dependencies... 75s Some packages could not be installed. This may mean that you have 75s requested an impossible situation or if you are using the unstable 75s distribution that some required packages have not yet been created 75s or been moved out of Incoming. 75s The following information may help to resolve the situation: 75s 75s The following packages have unmet dependencies: 75s satisfy:command-line : Depends: python3-all but it is not going to be installed 75s Depends: python3-pytest but it is not going to be installed 75s Depends: python3-pytest-aiohttp but it is not going to be installed 75s Depends: python3-pytest-asyncio but it is not going to be installed 75s Depends: python3-aiohttp-sse but it is not going to be installed 75s E: Unable to satisfy dependencies. Reached two conflicting decisions: 75s 1. python3-pytest:s390x=8.4.2-1 is not selected for install 75s 2. python3-pytest:s390x=8.4.2-1 is selected for install because: 75s 1. satisfy:command-line:s390x=1 is selected for install 75s 2. satisfy:command-line:s390x Depends python3-pytest-asyncio 75s 3. python3-pytest-asyncio:s390x is available in versions 1.2.0-1, 0.25.1-1 75s [selected python3-pytest-asyncio:s390x=1.2.0-1 for install] 75s 4. python3-pytest-asyncio:s390x=1.2.0-1 Depends python3-pytest (>= 8.4.0) 75s For context, additional choices that could not be installed: 75s * In python3-pytest-asyncio:s390x is available in versions 1.2.0-1, 0.25.1-1: 75s - python3-pytest-asyncio:s390x=0.25.1-1 is not selected for install 75s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from resolute-proposed 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Solving dependencies... 75s The following NEW packages will be installed: 75s libpython3.14-minimal libpython3.14-stdlib python3-aiohappyeyeballs 75s python3-aiohttp python3-aiohttp-sse python3-aiosignal python3-all 75s python3-async-generator python3-async-timeout python3-frozenlist 75s python3-iniconfig python3-multidict python3-pluggy python3-propcache 75s python3-pytest python3-pytest-aiohttp python3-pytest-asyncio python3-yarl 75s python3.14 python3.14-minimal 75s The following packages will be upgraded: 75s libpython3-stdlib python3 python3-minimal 76s 3 upgraded, 20 newly installed, 0 to remove and 48 not upgraded. 76s Need to get 7683 kB of archives. 76s After this operation, 29.0 MB of additional disk space will be used. 76s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 76s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 76s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 76s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.0-4 [904 kB] 76s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14-minimal s390x 3.14.0-4 [2509 kB] 76s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.0-4 [2373 kB] 76s Get:7 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 76s Get:8 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-multidict s390x 6.4.3-1build1 [73.5 kB] 76s Get:9 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-propcache s390x 0.3.1-1build1 [56.4 kB] 76s Get:10 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-yarl s390x 1.22.0-1 [105 kB] 76s Get:11 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-async-timeout all 5.0.1-1 [6830 B] 76s Get:12 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-frozenlist s390x 1.8.0-1 [58.2 kB] 76s Get:13 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-aiosignal all 1.4.0-1 [5628 B] 76s Get:14 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-aiohttp s390x 3.11.16-1 [369 kB] 76s Get:15 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-aiohttp-sse all 2.2.0-2 [9314 B] 76s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14 s390x 3.14.0-4 [805 kB] 76s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-all s390x 3.13.7-2 [892 B] 77s Get:18 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-async-generator all 1.10-7 [18.1 kB] 77s Get:19 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 2.1.0-1 [6840 B] 77s Get:20 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pluggy all 1.6.0-1 [21.0 kB] 77s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x python3-pytest all 8.4.2-1 [268 kB] 77s Get:22 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x python3-pytest-asyncio all 1.2.0-1 [13.6 kB] 77s Get:23 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest-aiohttp all 1.1.0-3 [5712 B] 77s Fetched 7683 kB in 1s (6591 kB/s) 77s (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 ... 61309 files and directories currently installed.) 77s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 77s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 77s Setting up python3-minimal (3.13.7-2) ... 77s (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 ... 61309 files and directories currently installed.) 77s Preparing to unpack .../00-python3_3.13.7-2_s390x.deb ... 77s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 77s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_s390x.deb ... 77s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 77s Selecting previously unselected package libpython3.14-minimal:s390x. 77s Preparing to unpack .../02-libpython3.14-minimal_3.14.0-4_s390x.deb ... 77s Unpacking libpython3.14-minimal:s390x (3.14.0-4) ... 77s Selecting previously unselected package python3.14-minimal. 77s Preparing to unpack .../03-python3.14-minimal_3.14.0-4_s390x.deb ... 77s Unpacking python3.14-minimal (3.14.0-4) ... 77s Selecting previously unselected package libpython3.14-stdlib:s390x. 77s Preparing to unpack .../04-libpython3.14-stdlib_3.14.0-4_s390x.deb ... 77s Unpacking libpython3.14-stdlib:s390x (3.14.0-4) ... 77s Selecting previously unselected package python3-aiohappyeyeballs. 77s Preparing to unpack .../05-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 77s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 77s Selecting previously unselected package python3-multidict. 77s Preparing to unpack .../06-python3-multidict_6.4.3-1build1_s390x.deb ... 77s Unpacking python3-multidict (6.4.3-1build1) ... 77s Selecting previously unselected package python3-propcache. 77s Preparing to unpack .../07-python3-propcache_0.3.1-1build1_s390x.deb ... 77s Unpacking python3-propcache (0.3.1-1build1) ... 77s Selecting previously unselected package python3-yarl. 77s Preparing to unpack .../08-python3-yarl_1.22.0-1_s390x.deb ... 77s Unpacking python3-yarl (1.22.0-1) ... 77s Selecting previously unselected package python3-async-timeout. 77s Preparing to unpack .../09-python3-async-timeout_5.0.1-1_all.deb ... 77s Unpacking python3-async-timeout (5.0.1-1) ... 77s Selecting previously unselected package python3-frozenlist. 77s Preparing to unpack .../10-python3-frozenlist_1.8.0-1_s390x.deb ... 77s Unpacking python3-frozenlist (1.8.0-1) ... 77s Selecting previously unselected package python3-aiosignal. 77s Preparing to unpack .../11-python3-aiosignal_1.4.0-1_all.deb ... 77s Unpacking python3-aiosignal (1.4.0-1) ... 77s Selecting previously unselected package python3-aiohttp. 77s Preparing to unpack .../12-python3-aiohttp_3.11.16-1_s390x.deb ... 77s Unpacking python3-aiohttp (3.11.16-1) ... 77s Selecting previously unselected package python3-aiohttp-sse. 77s Preparing to unpack .../13-python3-aiohttp-sse_2.2.0-2_all.deb ... 77s Unpacking python3-aiohttp-sse (2.2.0-2) ... 77s Selecting previously unselected package python3.14. 77s Preparing to unpack .../14-python3.14_3.14.0-4_s390x.deb ... 77s Unpacking python3.14 (3.14.0-4) ... 77s Selecting previously unselected package python3-all. 77s Preparing to unpack .../15-python3-all_3.13.7-2_s390x.deb ... 77s Unpacking python3-all (3.13.7-2) ... 77s Selecting previously unselected package python3-async-generator. 77s Preparing to unpack .../16-python3-async-generator_1.10-7_all.deb ... 77s Unpacking python3-async-generator (1.10-7) ... 77s Selecting previously unselected package python3-iniconfig. 77s Preparing to unpack .../17-python3-iniconfig_2.1.0-1_all.deb ... 77s Unpacking python3-iniconfig (2.1.0-1) ... 77s Selecting previously unselected package python3-pluggy. 77s Preparing to unpack .../18-python3-pluggy_1.6.0-1_all.deb ... 77s Unpacking python3-pluggy (1.6.0-1) ... 77s Selecting previously unselected package python3-pytest. 77s Preparing to unpack .../19-python3-pytest_8.4.2-1_all.deb ... 77s Unpacking python3-pytest (8.4.2-1) ... 77s Selecting previously unselected package python3-pytest-asyncio. 77s Preparing to unpack .../20-python3-pytest-asyncio_1.2.0-1_all.deb ... 77s Unpacking python3-pytest-asyncio (1.2.0-1) ... 77s Selecting previously unselected package python3-pytest-aiohttp. 77s Preparing to unpack .../21-python3-pytest-aiohttp_1.1.0-3_all.deb ... 77s Unpacking python3-pytest-aiohttp (1.1.0-3) ... 77s Setting up libpython3.14-minimal:s390x (3.14.0-4) ... 77s Setting up python3.14-minimal (3.14.0-4) ... 78s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 78s Setting up libpython3.14-stdlib:s390x (3.14.0-4) ... 78s Setting up python3 (3.13.7-2) ... 78s Setting up python3-multidict (6.4.3-1build1) ... 79s Setting up python3-frozenlist (1.8.0-1) ... 79s Setting up python3-aiosignal (1.4.0-1) ... 79s Setting up python3-async-timeout (5.0.1-1) ... 79s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 79s Setting up python3-pluggy (1.6.0-1) ... 79s Setting up python3-propcache (0.3.1-1build1) ... 79s Setting up python3.14 (3.14.0-4) ... 80s Setting up python3-yarl (1.22.0-1) ... 80s Setting up python3-iniconfig (2.1.0-1) ... 81s Setting up python3-async-generator (1.10-7) ... 81s Setting up python3-pytest (8.4.2-1) ... 81s Setting up python3-aiohttp (3.11.16-1) ... 82s Setting up python3-all (3.13.7-2) ... 82s Setting up python3-aiohttp-sse (2.2.0-2) ... 82s Setting up python3-pytest-asyncio (1.2.0-1) ... 82s Setting up python3-pytest-aiohttp (1.1.0-3) ... 82s Processing triggers for man-db (2.13.1-1) ... 83s Processing triggers for systemd (257.9-0ubuntu2) ... 83s autopkgtest [16:58:43]: test run-tests: [----------------------- 84s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:15: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 84s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 84s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:252: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 84s 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" 84s 84s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 84s ============================= test session starts ============================== 84s platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3.14 84s cachedir: .pytest_cache 84s rootdir: /tmp/autopkgtest.K7O6wo/autopkgtest_tmp 84s plugins: typeguard-4.4.2, asyncio-1.2.0, aiohttp-1.1.0 84s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 84s collecting ... collected 84 items 84s 84s tests/test_sse.py::test_func[debug:true-without_sse_response] ERROR [ 1%] 84s 84s ==================================== ERRORS ==================================== 84s _________ ERROR at setup of test_func[debug:true-without_sse_response] _________ 84s file /tmp/autopkgtest.K7O6wo/autopkgtest_tmp/tests/test_sse.py, line 16 84s @pytest.mark.parametrize( 84s "with_sse_response", 84s (False, True), 84s ids=("without_sse_response", "with_sse_response"), 84s ) 84s async def test_func(with_sse_response: bool, aiohttp_client: ClientFixture) -> None: 84s async def func(request: web.Request) -> web.StreamResponse: 84s if with_sse_response: 84s resp = await sse_response(request, headers={"X-SSE": "aiohttp_sse"}) 84s else: 84s resp = EventSourceResponse(headers={"X-SSE": "aiohttp_sse"}) 84s await resp.prepare(request) 84s await resp.send("foo") 84s await resp.send("foo", event="bar") 84s await resp.send("foo", event="bar", id="xyz") 84s await resp.send("foo", event="bar", id="xyz", retry=1) 84s resp.stop_streaming() 84s await resp.wait() 84s return resp 84s 84s app = web.Application() 84s app.router.add_route("GET", "/", func) 84s app.router.add_route("POST", "/", func) 84s 84s client = await aiohttp_client(app) 84s resp = await client.get("/") 84s assert 200 == resp.status 84s 84s # make sure that EventSourceResponse supports passing 84s # custom headers 84s assert resp.headers.get("X-SSE") == "aiohttp_sse" 84s 84s # make sure default headers set 84s assert resp.headers.get("Content-Type") == "text/event-stream" 84s assert resp.headers.get("Cache-Control") == "no-cache" 84s assert resp.headers.get("Connection") == "keep-alive" 84s assert resp.headers.get("X-Accel-Buffering") == "no" 84s 84s # check streamed data 84s streamed_data = await resp.text() 84s expected = ( 84s "data: foo\r\n\r\n" 84s "event: bar\r\ndata: foo\r\n\r\n" 84s "id: xyz\r\nevent: bar\r\ndata: foo\r\n\r\n" 84s "id: xyz\r\nevent: bar\r\ndata: foo\r\nretry: 1\r\n\r\n" 84s ) 84s assert streamed_data == expected 84s file /tmp/autopkgtest.K7O6wo/autopkgtest_tmp/tests/conftest.py, line 16 84s @pytest.fixture(autouse=True) 84s def loop(event_loop: AbstractEventLoop, debug: bool) -> AbstractEventLoop: 84s E fixture 'event_loop' not found 84s > 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 84s > use 'pytest --fixtures [testpath]' for help on them. 84s 84s /tmp/autopkgtest.K7O6wo/autopkgtest_tmp/tests/conftest.py:16 84s =========================== short test summary info ============================ 84s ERROR tests/test_sse.py::test_func[debug:true-without_sse_response] 84s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 84s =============================== 1 error in 0.04s =============================== 85s autopkgtest [16:58:45]: test run-tests: -----------------------] 85s run-tests FAIL non-zero exit status 1 85s autopkgtest [16:58:45]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 85s autopkgtest [16:58:45]: @@@@@@@@@@@@@@@@@@@@ summary 85s run-tests FAIL non-zero exit status 1