0s autopkgtest [19:14:55]: starting date and time: 2026-01-22 19:14:55+0000 0s autopkgtest [19:14:55]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:14:55]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bm3qkonj/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade aiocoap --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-s390x-20.secgroup --name adt-resolute-s390x-aiocoap-20260122-191455-juju-7f2275-prod-proposed-migration-environment-2-2aed71ee-bae1-4512-92b6-dd4e6cef4483 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-aiocoap-20260122-191455-juju-7f2275-prod-proposed-migration-environment-2-2aed71ee-bae1-4512-92b6-dd4e6cef4483 from image adt/ubuntu-resolute-s390x-server-20260122.img (UUID 3c4af69d-000a-410d-8558-d3d069651b65)... 66s autopkgtest [19:16:01]: testbed dpkg architecture: s390x 66s autopkgtest [19:16:01]: testbed apt version: 3.1.12 67s autopkgtest [19:16:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s autopkgtest [19:16:02]: testbed release detected to be: None 67s autopkgtest [19:16:02]: updating testbed package index (apt update) 68s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 68s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 68s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 68s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 68s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 68s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 68s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 68s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 68s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [100 kB] 68s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [589 kB] 68s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4648 B] 69s Fetched 1736 kB in 1s (2205 kB/s) 71s Reading package lists... 72s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 72s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 72s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 72s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 74s Reading package lists... 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 76s Calculating upgrade... 76s The following packages were automatically installed and are no longer required: 76s python3.13 python3.13-minimal 76s Use 'sudo apt autoremove' to remove them. 76s The following NEW packages will be installed: 77s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 77s The following packages will be upgraded: 77s libpython3-stdlib python3 python3-gdbm python3-minimal 77s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 77s Need to get 6689 kB of archives. 77s After this operation, 24.3 MB of additional disk space will be used. 77s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.2-1 [917 kB] 77s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14-minimal s390x 3.14.2-1 [2510 kB] 77s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-gdbm s390x 3.14.2-1 [11.1 kB] 77s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.14.2-1 [28.2 kB] 77s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.14.2-1 [22.9 kB] 77s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.2-1 [2373 kB] 77s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14 s390x 3.14.2-1 [816 kB] 77s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.14.2-1 [10.9 kB] 78s dpkg-preconfigure: unable to re-open stdin: No such file or directory 78s Fetched 6689 kB in 1s (12.1 MB/s) 79s Selecting previously unselected package libpython3.14-minimal:s390x. 79s (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 ... 87688 files and directories currently installed.) 79s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_s390x.deb ... 79s Unpacking libpython3.14-minimal:s390x (3.14.2-1) ... 79s Selecting previously unselected package python3.14-minimal. 79s Preparing to unpack .../python3.14-minimal_3.14.2-1_s390x.deb ... 79s Unpacking python3.14-minimal (3.14.2-1) ... 79s Preparing to unpack .../python3-gdbm_3.14.2-1_s390x.deb ... 79s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 79s Setting up libpython3.14-minimal:s390x (3.14.2-1) ... 79s Setting up python3.14-minimal (3.14.2-1) ... 84s (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 ... 88030 files and directories currently installed.) 84s Preparing to unpack .../python3-minimal_3.14.2-1_s390x.deb ... 84s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 84s Setting up python3-minimal (3.14.2-1) ... 84s (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 ... 88030 files and directories currently installed.) 84s Preparing to unpack .../python3_3.14.2-1_s390x.deb ... 85s running python pre-rtupdate hooks for python3.14... 85s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 85s Selecting previously unselected package libpython3.14-stdlib:s390x. 85s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_s390x.deb ... 85s Unpacking libpython3.14-stdlib:s390x (3.14.2-1) ... 86s Selecting previously unselected package python3.14. 86s Preparing to unpack .../python3.14_3.14.2-1_s390x.deb ... 86s Unpacking python3.14 (3.14.2-1) ... 86s Preparing to unpack .../libpython3-stdlib_3.14.2-1_s390x.deb ... 86s Unpacking libpython3-stdlib:s390x (3.14.2-1) over (3.13.7-1) ... 86s Setting up libpython3.14-stdlib:s390x (3.14.2-1) ... 86s Setting up python3.14 (3.14.2-1) ... 91s Setting up libpython3-stdlib:s390x (3.14.2-1) ... 91s Setting up python3-gdbm (3.14.2-1) ... 91s Setting up python3 (3.14.2-1) ... 91s running python rtupdate hooks for python3.14... 91s running python post-rtupdate hooks for python3.14... 92s Processing triggers for man-db (2.13.1-1) ... 94s Processing triggers for systemd (259-1ubuntu2) ... 95s autopkgtest [19:16:30]: upgrading testbed (apt dist-upgrade and autopurge) 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s Calculating upgrade... 96s The following packages were automatically installed and are no longer required: 96s python3.13 python3.13-minimal 96s Use 'sudo apt autoremove' to remove them. 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s Solving dependencies... 98s The following packages will be REMOVED: 98s python3.13* python3.13-minimal* 99s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 99s After this operation, 8012 kB disk space will be freed. 99s (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 ... 88460 files and directories currently installed.) 99s Removing python3.13 (3.13.11-1) ... 99s Removing python3.13-minimal (3.13.11-1) ... 102s Processing triggers for man-db (2.13.1-1) ... 103s Processing triggers for systemd (259-1ubuntu2) ... 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 ... 88433 files and directories currently installed.) 103s Purging configuration files for python3.13-minimal (3.13.11-1) ... 107s autopkgtest [19:16:42]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 107s autopkgtest [19:16:42]: @@@@@@@@@@@@@@@@@@@@ apt-source aiocoap 109s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (dsc) [1537 B] 109s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (tar) [318 kB] 109s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (diff) [5720 B] 110s gpgv: Signature made Thu Apr 3 10:14:30 2025 UTC 110s gpgv: using DSA key BAF6C64436107850D4227106B3255C6D55878D8C 110s gpgv: issuer "mazen@debian.org" 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./aiocoap_0.4.14-1.dsc: no acceptable signature found 110s autopkgtest [19:16:45]: testing package aiocoap version 0.4.14-1 110s autopkgtest [19:16:45]: build not needed 111s autopkgtest [19:16:46]: test unittest: preparing testbed 111s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Solving dependencies... 113s The following NEW packages will be installed: 113s python3-aiocoap python3-all python3-iniconfig python3-pluggy python3-pytest 113s python3.13 python3.13-minimal 113s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 3647 kB of archives. 113s After this operation, 10.4 MB of additional disk space will be used. 113s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13-minimal s390x 3.13.11-1 [2405 kB] 114s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13 s390x 3.13.11-1 [758 kB] 114s Get:3 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-aiocoap all 0.4.14-1 [178 kB] 114s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-all s390x 3.14.2-1 [890 B] 114s Get:5 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 2.1.0-2 [6962 B] 114s Get:6 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pluggy all 1.6.0-2 [21.1 kB] 114s Get:7 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest all 9.0.2-2 [277 kB] 115s Fetched 3647 kB in 1s (4657 kB/s) 115s Selecting previously unselected package python3.13-minimal. 115s (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 ... 88435 files and directories currently installed.) 115s Preparing to unpack .../0-python3.13-minimal_3.13.11-1_s390x.deb ... 115s Unpacking python3.13-minimal (3.13.11-1) ... 115s Selecting previously unselected package python3.13. 115s Preparing to unpack .../1-python3.13_3.13.11-1_s390x.deb ... 115s Unpacking python3.13 (3.13.11-1) ... 116s Selecting previously unselected package python3-aiocoap. 116s Preparing to unpack .../2-python3-aiocoap_0.4.14-1_all.deb ... 116s Unpacking python3-aiocoap (0.4.14-1) ... 116s Selecting previously unselected package python3-all. 116s Preparing to unpack .../3-python3-all_3.14.2-1_s390x.deb ... 116s Unpacking python3-all (3.14.2-1) ... 116s Selecting previously unselected package python3-iniconfig. 116s Preparing to unpack .../4-python3-iniconfig_2.1.0-2_all.deb ... 116s Unpacking python3-iniconfig (2.1.0-2) ... 116s Selecting previously unselected package python3-pluggy. 116s Preparing to unpack .../5-python3-pluggy_1.6.0-2_all.deb ... 116s Unpacking python3-pluggy (1.6.0-2) ... 116s Selecting previously unselected package python3-pytest. 116s Preparing to unpack .../6-python3-pytest_9.0.2-2_all.deb ... 116s Unpacking python3-pytest (9.0.2-2) ... 116s Setting up python3-iniconfig (2.1.0-2) ... 117s Setting up python3-aiocoap (0.4.14-1) ... 118s /usr/lib/python3/dist-packages/aiocoap/transports/tinydtls.py:228: SyntaxWarning: 'return' in a 'finally' block 118s return 118s Setting up python3-pluggy (1.6.0-2) ... 119s Setting up python3.13-minimal (3.13.11-1) ... 121s Setting up python3.13 (3.13.11-1) ... 122s Setting up python3-pytest (9.0.2-2) ... 125s Setting up python3-all (3.14.2-1) ... 125s Processing triggers for man-db (2.13.1-1) ... 126s Processing triggers for systemd (259-1ubuntu2) ... 129s autopkgtest [19:17:04]: test unittest: [----------------------- 129s === python3.13 === 130s Python version: 3.13.11 (main, Dec 6 2025, 13:15:20) [GCC 15.2.0] 130s aiocoap version: 0.4.14 130s Modules missing for subsystems: 130s dtls: missing DTLSSocket 130s oscore: missing cbor2, filelock, ge25519, lakers-python 130s linkheader: everything there 130s prettyprint: missing cbor2, cbor-diag 130s ws: missing websockets 130s Python platform: linux 130s Default server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 130s Selected server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 130s Default client transports: tcpclient:tlsclient:udp6 130s Selected client transports: tcpclient:tlsclient:udp6 130s SO_REUSEPORT available (default, selected): True, True 133s ============================= test session starts ============================== 133s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 133s rootdir: /tmp/autopkgtest.WbvUii/autopkgtest_tmp 133s plugins: typeguard-4.4.4 133s collected 260 items 133s 135s tests/test_blockwise.py ..s. [ 1%] 139s tests/test_client.py ........ [ 4%] 151s tests/test_commandline.py ...... [ 6%] 151s tests/test_credentials.py ..s [ 8%] 151s tests/test_doctest.py .................................. [ 21%] 151s tests/test_dtls.py ssssssssssssss [ 26%] 151s tests/test_edhoc.py sssss [ 28%] 151s tests/test_encoding.py ........... [ 32%] 152s tests/test_fileserver.py . [ 33%] 152s tests/test_group_oscore.py ssssssssssssssssssssssssssssss [ 44%] 157s tests/test_noncoap_client.py ........ss [ 48%] 161s tests/test_noncoap_tcp_client.py ........... [ 52%] 169s tests/test_observe.py .......x.... [ 57%] 169s tests/test_oscore.py sssssssssssssssssssssss [ 66%] 169s tests/test_oscore_plugtest.py ssssssssssssssssssssssssssssssss [ 78%] 169s tests/test_protocol.py ... [ 79%] 170s tests/test_rd_examples.py .. [ 80%] 172s tests/test_reverseproxy.py .. [ 81%] 188s tests/test_server.py ............................ssssssssssssss [ 97%] 188s tests/test_timeoutdict.py . [ 97%] 197s tests/test_tls.py . [ 98%] 197s tests/test_uri_handling.py .... [ 99%] 197s tests/test_util_cryptography.py s [100%] 197s 197s ============ 136 passed, 123 skipped, 1 xfailed in 65.38s (0:01:05) ============ 197s === python3.14 === 198s Python version: 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0] 198s aiocoap version: 0.4.14 198s Modules missing for subsystems: 198s dtls: missing DTLSSocket 198s oscore: missing cbor2, filelock, ge25519, lakers-python 198s linkheader: everything there 198s prettyprint: missing cbor2, cbor-diag 198s ws: missing websockets 198s Python platform: linux 198s Default server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 198s Selected server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 198s Default client transports: tcpclient:tlsclient:udp6 198s Selected client transports: tcpclient:tlsclient:udp6 198s SO_REUSEPORT available (default, selected): True, True 201s ============================= test session starts ============================== 201s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 201s rootdir: /tmp/autopkgtest.WbvUii/autopkgtest_tmp 201s plugins: typeguard-4.4.4 201s collected 260 items 201s 201s tests/test_blockwise.py FFsF [ 1%] 202s tests/test_client.py FFFFFFFF [ 4%] 202s tests/test_commandline.py FFFFF. [ 6%] 202s tests/test_credentials.py ..s [ 8%] 202s tests/test_doctest.py ..............F................... [ 21%] 202s tests/test_dtls.py ssssssssssssss [ 26%] 202s tests/test_edhoc.py sssss [ 28%] 202s tests/test_encoding.py ........... [ 32%] 203s tests/test_fileserver.py F [ 33%] 203s tests/test_group_oscore.py ssssssssssssssssssssssssssssss [ 44%] 203s tests/test_noncoap_client.py FFFFFFFFss [ 48%] 204s tests/test_noncoap_tcp_client.py FFFFFFFFFFF [ 52%] 205s tests/test_observe.py FFFFFFFFFFFF [ 57%] 205s tests/test_oscore.py sssssssssssssssssssssss [ 66%] 205s tests/test_oscore_plugtest.py ssssssssssssssssssssssssssssssss [ 78%] 205s tests/test_protocol.py FFF [ 79%] 205s tests/test_rd_examples.py FF [ 80%] 206s tests/test_reverseproxy.py FF [ 81%] 208s tests/test_server.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFssssssssssssss [ 97%] 208s tests/test_timeoutdict.py F [ 97%] 224s tests/test_tls.py F [ 98%] 224s tests/test_uri_handling.py .... [ 99%] 224s tests/test_util_cryptography.py s [100%] 224s 224s =================================== FAILURES =================================== 224s _______________________ TestBlockwise.test_client_hints ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestBlockwise.test_client_hints_block1 ____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestBlockwise.test_server_hints ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestClientWithSetHost.test_uri_parser _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestClientWithSetHost.test_uri_parser2 ____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________ TestClientWithHostlessMessages.test_uri_parser ________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________ TestClientWithHostlessMessages.test_uri_parser2 ________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestClientOther.test_freeoncancel _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestClientOther.test_freeoncancel_non _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestClientOther.test_nonraising ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestClientOther.test_raising _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestCommandlineClient.test_erroneous _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestCommandlineClient.test_get ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestCommandlineClient.test_help ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestCommandlineClient.test_noproxy ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestCommandlineClient.test_post ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________________________________ test_015 ___________________________________ 224s 224s t = Sentinel (aiocoap.util) 224s 224s def test(t=t): 224s result = t.run() 224s for f in result.failures: 224s print(f[1]) 224s > raise RuntimeError("Doctest failed (see above)") 224s E RuntimeError: Doctest failed (see above) 224s 224s tests/test_doctest.py:65: RuntimeError 224s ----------------------------- Captured stdout call ----------------------------- 224s AssertionError: Failed doctest test for aiocoap.util.Sentinel 224s File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 168, in Sentinel 224s 224s ---------------------------------------------------------------------- 224s File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 177, in aiocoap.util.Sentinel 224s Failed example: 224s json.dumps([1, FIXME, 3]) 224s Expected: 224s Traceback (most recent call last): 224s TypeError: Object of type Sentinel is not JSON serializable 224s Got: 224s Traceback (most recent call last): 224s File "", line 1, in 224s json.dumps([1, FIXME, 3]) 224s ~~~~~~~~~~^^^^^^^^^^^^^^^ 224s File "/usr/lib/python3.14/json/__init__.py", line 235, in dumps 224s return _default_encoder.encode(obj) 224s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ 224s File "/usr/lib/python3.14/json/encoder.py", line 202, in encode 224s chunks = self.iterencode(o, _one_shot=True) 224s File "/usr/lib/python3.14/json/encoder.py", line 263, in iterencode 224s return _iterencode(o, 0) 224s File "/usr/lib/python3.14/json/encoder.py", line 182, in default 224s raise TypeError(f'Object of type {o.__class__.__name__} ' 224s f'is not JSON serializable') 224s TypeError: Object of type Sentinel is not JSON serializable 224s when serializing list item 1 224s 224s ________________________ TestFileServer.test_fullcycle _________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super().setUp() 224s 224s tests/test_fileserver.py:44: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestNoncoapClient.test_duplicate _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestNoncoapClient.test_noresponse _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestNoncoapClient.test_ping __________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestNoncoapClient.test_short_mid _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________ TestNoncoapClient.test_unknownresponse_noreset ________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestNoncoapClient.test_unknownresponse_reset _________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestNoncoapClient.test_version2 ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestNoncoapClient.test_veryshort _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestNoncoapTCPClient.test_early_get ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________ TestNoncoapTCPClient.test_exotic_compulsory_csm_option ____________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________ TestNoncoapTCPClient.test_exotic_compulsory_csm_option_late __________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________ TestNoncoapTCPClient.test_exotic_elective_csm_option _____________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestNoncoapTCPClient.test_http_get ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestNoncoapTCPClient.test_incomplete_large1 __________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestNoncoapTCPClient.test_incomplete_large2 __________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestNoncoapTCPClient.test_incomplete_large3 __________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestNoncoapTCPClient.test_incomplete_large4 __________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s __________________ TestNoncoapTCPClient.test_incomplete_small __________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestNoncoapTCPClient.test_wrong_tkl ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________________________ TestObserve.test_counter ___________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestObserve.test_counter_blockwise ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestObserve.test_counter_double ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestObserve.test_counter_fetch ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________________ TestObserve.test_echo _____________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________________________ TestObserve.test_failure ___________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________ TestObserve.test_late_subscription_eventual_consistency ____________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s __________________________ TestObserve.test_lingering __________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestObserve.test_normal_get __________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s __________________________ TestObserve.test_notreally __________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestObserve.test_unknownhost _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestObserve.test_unobservable _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________ TestProtocolSetup.test_empty_setup_shutdown __________________ 224s 224s self = 224s 224s def setUp(self): 224s self.handler = self.ListHandler() 224s 224s logging.root.setLevel(0) 224s logging.root.addHandler(self.handler) 224s logging.captureWarnings(True) 224s warnings.simplefilter("always") 224s 224s > super(WithLogMonitoring, self).setUp() 224s 224s tests/fixtures.py:121: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________________ TestProtocolSetup.test_multiple_contexts ___________________ 224s 224s self = 224s 224s def setUp(self): 224s self.handler = self.ListHandler() 224s 224s logging.root.setLevel(0) 224s logging.root.addHandler(self.handler) 224s logging.captureWarnings(True) 224s warnings.simplefilter("always") 224s 224s > super(WithLogMonitoring, self).setUp() 224s 224s tests/fixtures.py:121: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________ TestProtocolSetup.test_serverports_no_conflict ________________ 224s 224s self = 224s 224s def setUp(self): 224s self.handler = self.ListHandler() 224s 224s logging.root.setLevel(0) 224s logging.root.addHandler(self.handler) 224s logging.captureWarnings(True) 224s warnings.simplefilter("always") 224s 224s > super(WithLogMonitoring, self).setUp() 224s 224s tests/fixtures.py:121: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestDiscovery.test_discovery _________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super().setUp() 224s 224s tests/test_rd_examples.py:32: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestDiscovery.test_registration ________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super().setUp() 224s 224s tests/test_rd_examples.py:32: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestReverseProxy.test_options _________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super(WithReverseProxy, self).setUp() 224s 224s tests/test_reverseproxy.py:23: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/test_server.py:230: in setUp 224s super(WithTestServer, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestReverseProxy.test_routing _________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super(WithReverseProxy, self).setUp() 224s 224s tests/test_reverseproxy.py:23: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/test_server.py:230: in setUp 224s super(WithTestServer, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestServer.test_big_resource _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestServer.test_clean_shutdown ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestServer.test_empty_accept _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServer.test_error_resources ________________________ 224s 224s self = 224s 224s def setUp(self): 224s > super(WithTestServer, self).setUp() 224s 224s tests/test_server.py:230: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestServer.test_fast_resource _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s __________________________ TestServer.test_js_accept ___________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestServer.test_manualbig_resource ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestServer.test_nonexisting_resource _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestServer.test_replacing_resource ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestServer.test_root_resource _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ________________________ TestServer.test_slow_resource _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServer.test_slowbig_resource _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestServer.test_spurious_resource _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestServer.test_unacceptable_accept ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServerTCP.test_big_resource ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestServerTCP.test_clean_shutdown _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServerTCP.test_empty_accept ________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ______________________ TestServerTCP.test_error_resources ______________________ 224s 224s self = 224s 224s def setUp(self): 224s > super(WithTestServer, self).setUp() 224s 224s tests/test_server.py:230: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s tests/test_server.py:274: in setUp 224s super(WithClient, self).setUp() 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServerTCP.test_fast_resource _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _________________________ TestServerTCP.test_js_accept _________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestServerTCP.test_manualbig_resource _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ___________________ TestServerTCP.test_nonexisting_resource ____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestServerTCP.test_replacing_resource _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServerTCP.test_root_resource _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________ TestServerTCP.test_slow_resource _______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestServerTCP.test_slowbig_resource ______________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _____________________ TestServerTCP.test_spurious_resource _____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s ____________________ TestServerTCP.test_unacceptable_accept ____________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s __________________ TestTimeoutDict.test_presence_and_absence ___________________ 224s tests/fixtures.py:208: in setUp 224s self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s _______________________________ TestTLS.test_tls _______________________________ 224s 224s self = 224s 224s def setUp(self): 224s super(WithAsyncLoop, self).setUp() 224s 224s > self.loop = asyncio.get_event_loop() 224s ^^^^^^^^^^^^^^^^^^^^^^^^ 224s 224s tests/fixtures.py:208: 224s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224s 224s self = 224s 224s def get_event_loop(self): 224s """Get the event loop for the current context. 224s 224s Returns an instance of EventLoop or raises an exception. 224s """ 224s if self._local._loop is None: 224s > raise RuntimeError('There is no current event loop in thread %r.' 224s % threading.current_thread().name) 224s E RuntimeError: There is no current event loop in thread 'MainThread'. 224s 224s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 224s =========================== short test summary info ============================ 224s FAILED tests/test_blockwise.py::TestBlockwise::test_client_hints - RuntimeErr... 224s FAILED tests/test_blockwise.py::TestBlockwise::test_client_hints_block1 - Run... 224s FAILED tests/test_blockwise.py::TestBlockwise::test_server_hints - RuntimeErr... 224s FAILED tests/test_client.py::TestClientWithSetHost::test_uri_parser - Runtime... 224s FAILED tests/test_client.py::TestClientWithSetHost::test_uri_parser2 - Runtim... 224s FAILED tests/test_client.py::TestClientWithHostlessMessages::test_uri_parser 224s FAILED tests/test_client.py::TestClientWithHostlessMessages::test_uri_parser2 224s FAILED tests/test_client.py::TestClientOther::test_freeoncancel - RuntimeErro... 224s FAILED tests/test_client.py::TestClientOther::test_freeoncancel_non - Runtime... 224s FAILED tests/test_client.py::TestClientOther::test_nonraising - RuntimeError:... 224s FAILED tests/test_client.py::TestClientOther::test_raising - RuntimeError: Th... 224s FAILED tests/test_commandline.py::TestCommandlineClient::test_erroneous - Run... 224s FAILED tests/test_commandline.py::TestCommandlineClient::test_get - RuntimeEr... 224s FAILED tests/test_commandline.py::TestCommandlineClient::test_help - RuntimeE... 224s FAILED tests/test_commandline.py::TestCommandlineClient::test_noproxy - Runti... 224s FAILED tests/test_commandline.py::TestCommandlineClient::test_post - RuntimeE... 224s FAILED tests/test_doctest.py::test_015 - RuntimeError: Doctest failed (see ab... 224s FAILED tests/test_fileserver.py::TestFileServer::test_fullcycle - RuntimeErro... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_duplicate - Runt... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_noresponse - Run... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_ping - RuntimeEr... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_short_mid - Runt... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_unknownresponse_noreset 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_unknownresponse_reset 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_version2 - Runti... 224s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_veryshort - Runt... 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_early_get 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_compulsory_csm_option 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_compulsory_csm_option_late 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_elective_csm_option 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_http_get 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large1 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large2 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large3 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large4 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_small 224s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_wrong_tkl 224s FAILED tests/test_observe.py::TestObserve::test_counter - RuntimeError: There... 224s FAILED tests/test_observe.py::TestObserve::test_counter_blockwise - RuntimeEr... 224s FAILED tests/test_observe.py::TestObserve::test_counter_double - RuntimeError... 224s FAILED tests/test_observe.py::TestObserve::test_counter_fetch - RuntimeError:... 224s FAILED tests/test_observe.py::TestObserve::test_echo - RuntimeError: There is... 224s FAILED tests/test_observe.py::TestObserve::test_failure - RuntimeError: There... 224s FAILED tests/test_observe.py::TestObserve::test_late_subscription_eventual_consistency 224s FAILED tests/test_observe.py::TestObserve::test_lingering - RuntimeError: The... 224s FAILED tests/test_observe.py::TestObserve::test_normal_get - RuntimeError: Th... 224s FAILED tests/test_observe.py::TestObserve::test_notreally - RuntimeError: The... 224s FAILED tests/test_observe.py::TestObserve::test_unknownhost - RuntimeError: T... 224s FAILED tests/test_observe.py::TestObserve::test_unobservable - RuntimeError: ... 224s FAILED tests/test_protocol.py::TestProtocolSetup::test_empty_setup_shutdown 224s FAILED tests/test_protocol.py::TestProtocolSetup::test_multiple_contexts - Ru... 224s FAILED tests/test_protocol.py::TestProtocolSetup::test_serverports_no_conflict 224s FAILED tests/test_rd_examples.py::TestDiscovery::test_discovery - RuntimeErro... 224s FAILED tests/test_rd_examples.py::TestDiscovery::test_registration - RuntimeE... 224s FAILED tests/test_reverseproxy.py::TestReverseProxy::test_options - RuntimeEr... 224s FAILED tests/test_reverseproxy.py::TestReverseProxy::test_routing - RuntimeEr... 224s FAILED tests/test_server.py::TestServer::test_big_resource - RuntimeError: Th... 224s FAILED tests/test_server.py::TestServer::test_clean_shutdown - RuntimeError: ... 224s FAILED tests/test_server.py::TestServer::test_empty_accept - RuntimeError: Th... 224s FAILED tests/test_server.py::TestServer::test_error_resources - RuntimeError:... 224s FAILED tests/test_server.py::TestServer::test_fast_resource - RuntimeError: T... 224s FAILED tests/test_server.py::TestServer::test_js_accept - RuntimeError: There... 224s FAILED tests/test_server.py::TestServer::test_manualbig_resource - RuntimeErr... 224s FAILED tests/test_server.py::TestServer::test_nonexisting_resource - RuntimeE... 224s FAILED tests/test_server.py::TestServer::test_replacing_resource - RuntimeErr... 224s FAILED tests/test_server.py::TestServer::test_root_resource - RuntimeError: T... 224s FAILED tests/test_server.py::TestServer::test_slow_resource - RuntimeError: T... 224s FAILED tests/test_server.py::TestServer::test_slowbig_resource - RuntimeError... 224s FAILED tests/test_server.py::TestServer::test_spurious_resource - RuntimeErro... 224s FAILED tests/test_server.py::TestServer::test_unacceptable_accept - RuntimeEr... 224s FAILED tests/test_server.py::TestServerTCP::test_big_resource - RuntimeError:... 224s FAILED tests/test_server.py::TestServerTCP::test_clean_shutdown - RuntimeErro... 224s FAILED tests/test_server.py::TestServerTCP::test_empty_accept - RuntimeError:... 224s FAILED tests/test_server.py::TestServerTCP::test_error_resources - RuntimeErr... 224s FAILED tests/test_server.py::TestServerTCP::test_fast_resource - RuntimeError... 224s FAILED tests/test_server.py::TestServerTCP::test_js_accept - RuntimeError: Th... 224s FAILED tests/test_server.py::TestServerTCP::test_manualbig_resource - Runtime... 224s FAILED tests/test_server.py::TestServerTCP::test_nonexisting_resource - Runti... 224s FAILED tests/test_server.py::TestServerTCP::test_replacing_resource - Runtime... 224s FAILED tests/test_server.py::TestServerTCP::test_root_resource - RuntimeError... 224s FAILED tests/test_server.py::TestServerTCP::test_slow_resource - RuntimeError... 224s FAILED tests/test_server.py::TestServerTCP::test_slowbig_resource - RuntimeEr... 224s FAILED tests/test_server.py::TestServerTCP::test_spurious_resource - RuntimeE... 224s FAILED tests/test_server.py::TestServerTCP::test_unacceptable_accept - Runtim... 224s FAILED tests/test_timeoutdict.py::TestTimeoutDict::test_presence_and_absence 224s FAILED tests/test_tls.py::TestTLS::test_tls - RuntimeError: There is no curre... 224s ================= 86 failed, 51 passed, 123 skipped in 24.19s ================== 225s autopkgtest [19:18:40]: test unittest: -----------------------] 225s unittest FAIL non-zero exit status 1 225s autopkgtest [19:18:40]: test unittest: - - - - - - - - - - results - - - - - - - - - - 226s autopkgtest [19:18:41]: @@@@@@@@@@@@@@@@@@@@ summary 226s unittest FAIL non-zero exit status 1