0s autopkgtest [19:21:53]: starting date and time: 2025-11-17 19:21:53+0000 0s autopkgtest [19:21:53]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:21:53]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2tqi33t8/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-5.secgroup --name adt-resolute-ppc64el-aiohttp-sse-20251117-192152-juju-7f2275-prod-proposed-migration-environment-2-e1102635-4629-4dd5-9ecf-887f04190b74 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-aiohttp-sse-20251117-192152-juju-7f2275-prod-proposed-migration-environment-2-e1102635-4629-4dd5-9ecf-887f04190b74 from image adt/ubuntu-resolute-ppc64el-server-20251117.img (UUID c6f5b741-c77a-45db-84cb-f00b40e77676)... 55s autopkgtest [19:22:48]: testbed dpkg architecture: ppc64el 55s autopkgtest [19:22:48]: testbed apt version: 3.1.11 56s autopkgtest [19:22:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s autopkgtest [19:22:49]: testbed release detected to be: None 57s autopkgtest [19:22:50]: updating testbed package index (apt update) 57s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 57s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [778 kB] 58s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 58s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [72.6 kB] 58s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 58s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [135 kB] 58s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [1276 B] 58s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [499 kB] 58s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [11.0 kB] 58s Fetched 1618 kB in 1s (1258 kB/s) 59s Reading package lists... 60s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 60s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 60s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 60s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 61s Reading package lists... 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 61s The following packages will be upgraded: 61s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 61s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Need to get 3180 kB of archives. 61s After this operation, 118 kB of additional disk space will be used. 61s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 61s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt1 ppc64el 1:4.5.1-1 [125 kB] 62s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libapt-pkg7.0 ppc64el 3.1.12 [1286 kB] 62s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el apt ppc64el 3.1.12 [1516 kB] 62s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el usbutils ppc64el 1:019-1 [91.5 kB] 62s dpkg-preconfigure: unable to re-open stdin: No such file or directory 62s Fetched 3180 kB in 1s (3494 kB/s) 62s (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 ... 81022 files and directories currently installed.) 62s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 62s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 63s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_ppc64el.deb ... 63s Unpacking libcrypt1:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 63s Setting up libcrypt1:ppc64el (1:4.5.1-1) ... 63s (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 ... 81022 files and directories currently installed.) 63s Preparing to unpack .../libapt-pkg7.0_3.1.12_ppc64el.deb ... 63s Unpacking libapt-pkg7.0:ppc64el (3.1.12) over (3.1.11) ... 63s Preparing to unpack .../apt_3.1.12_ppc64el.deb ... 63s Unpacking apt (3.1.12) over (3.1.11) ... 63s Preparing to unpack .../usbutils_1%3a019-1_ppc64el.deb ... 63s Unpacking usbutils (1:019-1) over (1:018-2) ... 63s Setting up usbutils (1:019-1) ... 63s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 63s Setting up libapt-pkg7.0:ppc64el (3.1.12) ... 63s Setting up apt (3.1.12) ... 64s Processing triggers for man-db (2.13.1-1) ... 65s Processing triggers for libc-bin (2.42-2ubuntu2) ... 66s autopkgtest [19:22:59]: upgrading testbed (apt dist-upgrade and autopurge) 66s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Calculating upgrade... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s 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. 68s autopkgtest [19:23:01]: rebooting testbed after setup commands that affected boot 94s autopkgtest [19:23:27]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 96s autopkgtest [19:23:29]: @@@@@@@@@@@@@@@@@@@@ apt-source aiohttp-sse 98s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (dsc) [2356 B] 98s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (tar) [16.2 kB] 98s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiohttp-sse 2.2.0-2 (diff) [2248 B] 98s gpgv: Signature made Wed Mar 12 21:36:29 2025 UTC 98s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 98s gpgv: Can't check signature: No public key 98s dpkg-source: warning: cannot verify inline signature for ./aiohttp-sse_2.2.0-2.dsc: no acceptable signature found 98s autopkgtest [19:23:31]: testing package aiohttp-sse version 2.2.0-2 98s autopkgtest [19:23:31]: build not needed 99s autopkgtest [19:23:32]: test run-tests: preparing testbed 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Solving dependencies... 99s Some packages could not be installed. This may mean that you have 99s requested an impossible situation or if you are using the unstable 99s distribution that some required packages have not yet been created 99s or been moved out of Incoming. 99s The following information may help to resolve the situation: 99s 99s The following packages have unmet dependencies: 99s satisfy:command-line : Depends: python3-all but it is not going to be installed 99s Depends: python3-pytest but it is not going to be installed 99s Depends: python3-pytest-aiohttp but it is not going to be installed 99s Depends: python3-pytest-asyncio but it is not going to be installed 99s Depends: python3-aiohttp-sse but it is not going to be installed 99s E: Unable to satisfy dependencies. Reached two conflicting decisions: 99s 1. python3-pytest:ppc64el=8.4.2-1 is not selected for install 99s 2. python3-pytest:ppc64el=8.4.2-1 is selected for install because: 99s 1. satisfy:command-line:ppc64el=1 is selected for install 99s 2. satisfy:command-line:ppc64el Depends python3-pytest-asyncio 99s 3. python3-pytest-asyncio:ppc64el is available in versions 1.2.0-1, 0.25.1-1 99s [selected python3-pytest-asyncio:ppc64el=1.2.0-1 for install] 99s 4. python3-pytest-asyncio:ppc64el=1.2.0-1 Depends python3-pytest (>= 8.4.0) 99s For context, additional choices that could not be installed: 99s * In python3-pytest-asyncio:ppc64el is available in versions 1.2.0-1, 0.25.1-1: 99s - python3-pytest-asyncio:ppc64el=0.25.1-1 is not selected for install 99s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from resolute-proposed 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s Solving dependencies... 100s The following NEW packages will be installed: 100s libpython3.14-minimal libpython3.14-stdlib python3-aiohappyeyeballs 100s python3-aiohttp python3-aiohttp-sse python3-aiosignal python3-all 100s python3-async-generator python3-async-timeout python3-frozenlist 100s python3-iniconfig python3-multidict python3-pluggy python3-propcache 100s python3-pytest python3-pytest-aiohttp python3-pytest-asyncio python3-yarl 100s python3.14 python3.14-minimal 100s The following packages will be upgraded: 100s libpython3-stdlib python3 python3-minimal 100s 3 upgraded, 20 newly installed, 0 to remove and 48 not upgraded. 100s Need to get 8081 kB of archives. 100s After this operation, 34.1 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.7-2 [27.8 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.7-2 [23.9 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.7-2 [10.6 kB] 100s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.0-4 [908 kB] 101s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.0-4 [2705 kB] 101s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.0-4 [2446 kB] 102s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 102s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-multidict ppc64el 6.4.3-1build1 [74.0 kB] 102s Get:9 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-propcache ppc64el 0.3.1-1build1 [57.0 kB] 102s Get:10 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-yarl ppc64el 1.22.0-1 [106 kB] 102s Get:11 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-timeout all 5.0.1-1 [6830 B] 102s Get:12 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-frozenlist ppc64el 1.8.0-1 [60.5 kB] 102s Get:13 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiosignal all 1.4.0-1 [5628 B] 102s Get:14 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiohttp ppc64el 3.13.1-1 [491 kB] 102s Get:15 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiohttp-sse all 2.2.0-2 [9314 B] 102s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.0-4 [805 kB] 102s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-all ppc64el 3.13.7-2 [892 B] 102s Get:18 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-generator all 1.10-7 [18.1 kB] 102s Get:19 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-1 [6840 B] 102s Get:20 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-1 [21.0 kB] 102s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el python3-pytest all 8.4.2-1 [268 kB] 102s Get:22 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el python3-pytest-asyncio all 1.2.0-1 [13.6 kB] 102s Get:23 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest-aiohttp all 1.1.0-3 [5712 B] 102s Fetched 8081 kB in 2s (3834 kB/s) 102s (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 ... 81022 files and directories currently installed.) 102s Preparing to unpack .../python3-minimal_3.13.7-2_ppc64el.deb ... 102s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 102s Setting up python3-minimal (3.13.7-2) ... 103s (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 ... 81022 files and directories currently installed.) 103s Preparing to unpack .../00-python3_3.13.7-2_ppc64el.deb ... 103s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 103s Preparing to unpack .../01-libpython3-stdlib_3.13.7-2_ppc64el.deb ... 103s Unpacking libpython3-stdlib:ppc64el (3.13.7-2) over (3.13.7-1) ... 103s Selecting previously unselected package libpython3.14-minimal:ppc64el. 103s Preparing to unpack .../02-libpython3.14-minimal_3.14.0-4_ppc64el.deb ... 103s Unpacking libpython3.14-minimal:ppc64el (3.14.0-4) ... 103s Selecting previously unselected package python3.14-minimal. 103s Preparing to unpack .../03-python3.14-minimal_3.14.0-4_ppc64el.deb ... 103s Unpacking python3.14-minimal (3.14.0-4) ... 103s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 103s Preparing to unpack .../04-libpython3.14-stdlib_3.14.0-4_ppc64el.deb ... 103s Unpacking libpython3.14-stdlib:ppc64el (3.14.0-4) ... 103s Selecting previously unselected package python3-aiohappyeyeballs. 103s Preparing to unpack .../05-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 103s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 103s Selecting previously unselected package python3-multidict. 103s Preparing to unpack .../06-python3-multidict_6.4.3-1build1_ppc64el.deb ... 103s Unpacking python3-multidict (6.4.3-1build1) ... 103s Selecting previously unselected package python3-propcache. 103s Preparing to unpack .../07-python3-propcache_0.3.1-1build1_ppc64el.deb ... 103s Unpacking python3-propcache (0.3.1-1build1) ... 103s Selecting previously unselected package python3-yarl. 103s Preparing to unpack .../08-python3-yarl_1.22.0-1_ppc64el.deb ... 103s Unpacking python3-yarl (1.22.0-1) ... 103s Selecting previously unselected package python3-async-timeout. 103s Preparing to unpack .../09-python3-async-timeout_5.0.1-1_all.deb ... 103s Unpacking python3-async-timeout (5.0.1-1) ... 103s Selecting previously unselected package python3-frozenlist. 103s Preparing to unpack .../10-python3-frozenlist_1.8.0-1_ppc64el.deb ... 103s Unpacking python3-frozenlist (1.8.0-1) ... 103s Selecting previously unselected package python3-aiosignal. 103s Preparing to unpack .../11-python3-aiosignal_1.4.0-1_all.deb ... 103s Unpacking python3-aiosignal (1.4.0-1) ... 103s Selecting previously unselected package python3-aiohttp. 103s Preparing to unpack .../12-python3-aiohttp_3.13.1-1_ppc64el.deb ... 103s Unpacking python3-aiohttp (3.13.1-1) ... 103s Selecting previously unselected package python3-aiohttp-sse. 103s Preparing to unpack .../13-python3-aiohttp-sse_2.2.0-2_all.deb ... 103s Unpacking python3-aiohttp-sse (2.2.0-2) ... 103s Selecting previously unselected package python3.14. 103s Preparing to unpack .../14-python3.14_3.14.0-4_ppc64el.deb ... 103s Unpacking python3.14 (3.14.0-4) ... 103s Selecting previously unselected package python3-all. 103s Preparing to unpack .../15-python3-all_3.13.7-2_ppc64el.deb ... 103s Unpacking python3-all (3.13.7-2) ... 103s Selecting previously unselected package python3-async-generator. 103s Preparing to unpack .../16-python3-async-generator_1.10-7_all.deb ... 103s Unpacking python3-async-generator (1.10-7) ... 103s Selecting previously unselected package python3-iniconfig. 103s Preparing to unpack .../17-python3-iniconfig_2.1.0-1_all.deb ... 103s Unpacking python3-iniconfig (2.1.0-1) ... 103s Selecting previously unselected package python3-pluggy. 103s Preparing to unpack .../18-python3-pluggy_1.6.0-1_all.deb ... 103s Unpacking python3-pluggy (1.6.0-1) ... 103s Selecting previously unselected package python3-pytest. 103s Preparing to unpack .../19-python3-pytest_8.4.2-1_all.deb ... 103s Unpacking python3-pytest (8.4.2-1) ... 103s Selecting previously unselected package python3-pytest-asyncio. 103s Preparing to unpack .../20-python3-pytest-asyncio_1.2.0-1_all.deb ... 103s Unpacking python3-pytest-asyncio (1.2.0-1) ... 103s Selecting previously unselected package python3-pytest-aiohttp. 103s Preparing to unpack .../21-python3-pytest-aiohttp_1.1.0-3_all.deb ... 103s Unpacking python3-pytest-aiohttp (1.1.0-3) ... 103s Setting up libpython3.14-minimal:ppc64el (3.14.0-4) ... 103s Setting up python3.14-minimal (3.14.0-4) ... 104s Setting up libpython3-stdlib:ppc64el (3.13.7-2) ... 104s Setting up libpython3.14-stdlib:ppc64el (3.14.0-4) ... 104s Setting up python3 (3.13.7-2) ... 104s Setting up python3-multidict (6.4.3-1build1) ... 105s Setting up python3-frozenlist (1.8.0-1) ... 105s Setting up python3-aiosignal (1.4.0-1) ... 105s Setting up python3-async-timeout (5.0.1-1) ... 105s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 105s Setting up python3-pluggy (1.6.0-1) ... 105s Setting up python3-propcache (0.3.1-1build1) ... 105s Setting up python3.14 (3.14.0-4) ... 106s Setting up python3-yarl (1.22.0-1) ... 107s Setting up python3-iniconfig (2.1.0-1) ... 107s Setting up python3-async-generator (1.10-7) ... 107s Setting up python3-pytest (8.4.2-1) ... 108s Setting up python3-aiohttp (3.13.1-1) ... 108s Setting up python3-all (3.13.7-2) ... 108s Setting up python3-aiohttp-sse (2.2.0-2) ... 108s Setting up python3-pytest-asyncio (1.2.0-1) ... 108s Setting up python3-pytest-aiohttp (1.1.0-3) ... 109s Processing triggers for man-db (2.13.1-1) ... 109s Processing triggers for systemd (257.9-0ubuntu2) ... 110s autopkgtest [19:23:43]: test run-tests: [----------------------- 111s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:15: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 111s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 111s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:252: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 111s 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" 111s 111s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 111s ============================= test session starts ============================== 111s platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3.14 111s cachedir: .pytest_cache 111s rootdir: /tmp/autopkgtest.XfHNXQ/autopkgtest_tmp 111s plugins: asyncio-1.2.0, aiohttp-1.1.0, typeguard-4.4.2 111s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 111s collecting ... collected 84 items 111s 111s tests/test_sse.py::test_func[debug:true-without_sse_response] ERROR [ 1%] 111s 111s ==================================== ERRORS ==================================== 111s _________ ERROR at setup of test_func[debug:true-without_sse_response] _________ 111s file /tmp/autopkgtest.XfHNXQ/autopkgtest_tmp/tests/test_sse.py, line 16 111s @pytest.mark.parametrize( 111s "with_sse_response", 111s (False, True), 111s ids=("without_sse_response", "with_sse_response"), 111s ) 111s async def test_func(with_sse_response: bool, aiohttp_client: ClientFixture) -> None: 111s async def func(request: web.Request) -> web.StreamResponse: 111s if with_sse_response: 111s resp = await sse_response(request, headers={"X-SSE": "aiohttp_sse"}) 111s else: 111s resp = EventSourceResponse(headers={"X-SSE": "aiohttp_sse"}) 111s await resp.prepare(request) 111s await resp.send("foo") 111s await resp.send("foo", event="bar") 111s await resp.send("foo", event="bar", id="xyz") 111s await resp.send("foo", event="bar", id="xyz", retry=1) 111s resp.stop_streaming() 111s await resp.wait() 111s return resp 111s 111s app = web.Application() 111s app.router.add_route("GET", "/", func) 111s app.router.add_route("POST", "/", func) 111s 111s client = await aiohttp_client(app) 111s resp = await client.get("/") 111s assert 200 == resp.status 111s 111s # make sure that EventSourceResponse supports passing 111s # custom headers 111s assert resp.headers.get("X-SSE") == "aiohttp_sse" 111s 111s # make sure default headers set 111s assert resp.headers.get("Content-Type") == "text/event-stream" 111s assert resp.headers.get("Cache-Control") == "no-cache" 111s assert resp.headers.get("Connection") == "keep-alive" 111s assert resp.headers.get("X-Accel-Buffering") == "no" 111s 111s # check streamed data 111s streamed_data = await resp.text() 111s expected = ( 111s "data: foo\r\n\r\n" 111s "event: bar\r\ndata: foo\r\n\r\n" 111s "id: xyz\r\nevent: bar\r\ndata: foo\r\n\r\n" 111s "id: xyz\r\nevent: bar\r\ndata: foo\r\nretry: 1\r\n\r\n" 111s ) 111s assert streamed_data == expected 111s file /tmp/autopkgtest.XfHNXQ/autopkgtest_tmp/tests/conftest.py, line 16 111s @pytest.fixture(autouse=True) 111s def loop(event_loop: AbstractEventLoop, debug: bool) -> AbstractEventLoop: 111s E fixture 'event_loop' not found 111s > 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 111s > use 'pytest --fixtures [testpath]' for help on them. 111s 111s /tmp/autopkgtest.XfHNXQ/autopkgtest_tmp/tests/conftest.py:16 111s =========================== short test summary info ============================ 111s ERROR tests/test_sse.py::test_func[debug:true-without_sse_response] 111s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 111s =============================== 1 error in 0.07s =============================== 112s autopkgtest [19:23:45]: test run-tests: -----------------------] 112s run-tests FAIL non-zero exit status 1 112s autopkgtest [19:23:45]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 112s autopkgtest [19:23:45]: @@@@@@@@@@@@@@@@@@@@ summary 112s run-tests FAIL non-zero exit status 1