0s autopkgtest [16:17:21]: starting date and time: 2026-01-22 16:17:21+0000 0s autopkgtest [16:17:21]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [16:17:21]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ka0n1z7h/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade aiocoap --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- lxd -r lxd-armhf-10.145.243.229 lxd-armhf-10.145.243.229:autopkgtest/ubuntu/resolute/armhf 27s autopkgtest [16:17:48]: testbed dpkg architecture: armhf 30s autopkgtest [16:17:51]: testbed apt version: 3.1.12 35s autopkgtest [16:17:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 37s autopkgtest [16:17:58]: testbed release detected to be: None 46s autopkgtest [16:18:07]: updating testbed package index (apt update) 48s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 48s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 49s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 49s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 49s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 49s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 49s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 49s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 49s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [97.4 kB] 49s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [571 kB] 49s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3644 B] 49s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1402 kB] 49s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 49s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 50s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1371 kB] 50s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 51s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 54s Fetched 41.6 MB in 5s (7628 kB/s) 55s Reading package lists... 61s autopkgtest [16:18:22]: upgrading testbed (apt dist-upgrade and autopurge) 62s Reading package lists... 63s Building dependency tree... 63s Reading state information... 63s Calculating upgrade... 63s The following packages were automatically installed and are no longer required: 63s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 63s Use 'apt autoremove' to remove them. 63s The following NEW packages will be installed: 63s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 63s The following packages will be upgraded: 63s libpython3-stdlib python3 python3-gdbm python3-minimal 64s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 64s Need to get 6219 kB of archives. 64s After this operation, 22.5 MB of additional disk space will be used. 64s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 64s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 64s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.14.2-1 [11.1 kB] 64s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.14.2-1 [28.2 kB] 64s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.14.2-1 [22.9 kB] 64s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 65s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 65s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.14.2-1 [10.9 kB] 65s Fetched 6219 kB in 1s (5427 kB/s) 65s Selecting previously unselected package libpython3.14-minimal:armhf. 65s (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 ... 66485 files and directories currently installed.) 65s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_armhf.deb ... 65s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 65s Selecting previously unselected package python3.14-minimal. 65s Preparing to unpack .../python3.14-minimal_3.14.2-1_armhf.deb ... 65s Unpacking python3.14-minimal (3.14.2-1) ... 66s Preparing to unpack .../python3-gdbm_3.14.2-1_armhf.deb ... 66s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 66s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 66s Setting up python3.14-minimal (3.14.2-1) ... 67s (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 ... 66827 files and directories currently installed.) 67s Preparing to unpack .../python3-minimal_3.14.2-1_armhf.deb ... 67s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 67s Setting up python3-minimal (3.14.2-1) ... 67s (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 ... 66827 files and directories currently installed.) 67s Preparing to unpack .../python3_3.14.2-1_armhf.deb ... 67s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 67s Selecting previously unselected package libpython3.14-stdlib:armhf. 67s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_armhf.deb ... 67s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 67s Selecting previously unselected package python3.14. 67s Preparing to unpack .../python3.14_3.14.2-1_armhf.deb ... 67s Unpacking python3.14 (3.14.2-1) ... 67s Preparing to unpack .../libpython3-stdlib_3.14.2-1_armhf.deb ... 67s Unpacking libpython3-stdlib:armhf (3.14.2-1) over (3.13.7-1) ... 67s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 67s Setting up python3.14 (3.14.2-1) ... 69s Setting up libpython3-stdlib:armhf (3.14.2-1) ... 69s Setting up python3-gdbm (3.14.2-1) ... 69s Setting up python3 (3.14.2-1) ... 69s Processing triggers for man-db (2.13.1-1) ... 69s Processing triggers for systemd (259-1ubuntu2) ... 71s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Solving dependencies... 72s The following packages will be REMOVED: 72s libpython3.13-minimal* libpython3.13-stdlib* python3.13* python3.13-minimal* 73s 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 73s After this operation, 21.3 MB disk space will be freed. 73s (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 ... 67257 files and directories currently installed.) 73s Removing python3.13 (3.13.11-1) ... 73s Removing libpython3.13-stdlib:armhf (3.13.11-1) ... 73s Removing python3.13-minimal (3.13.11-1) ... 74s Removing libpython3.13-minimal:armhf (3.13.11-1) ... 74s Processing triggers for man-db (2.13.1-1) ... 74s Processing triggers for systemd (259-1ubuntu2) ... 74s (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 ... 66518 files and directories currently installed.) 74s Purging configuration files for libpython3.13-minimal:armhf (3.13.11-1) ... 74s Purging configuration files for python3.13-minimal (3.13.11-1) ... 77s autopkgtest [16:18:38]: rebooting testbed after setup commands that affected boot 120s autopkgtest [16:19:21]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 150s autopkgtest [16:19:51]: @@@@@@@@@@@@@@@@@@@@ apt-source aiocoap 168s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (dsc) [1537 B] 168s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (tar) [318 kB] 168s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiocoap 0.4.14-1 (diff) [5720 B] 168s gpgv: Signature made Thu Apr 3 10:14:30 2025 UTC 168s gpgv: using DSA key BAF6C64436107850D4227106B3255C6D55878D8C 168s gpgv: issuer "mazen@debian.org" 168s gpgv: Can't check signature: No public key 168s dpkg-source: warning: cannot verify inline signature for ./aiocoap_0.4.14-1.dsc: no acceptable signature found 168s autopkgtest [16:20:09]: testing package aiocoap version 0.4.14-1 170s autopkgtest [16:20:11]: build not needed 173s autopkgtest [16:20:14]: test unittest: preparing testbed 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 175s Solving dependencies... 176s The following NEW packages will be installed: 176s libpython3.13-minimal libpython3.13-stdlib python3-aiocoap python3-all 176s python3-iniconfig python3-pluggy python3-pytest python3.13 176s python3.13-minimal 176s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 176s Need to get 6131 kB of archives. 176s After this operation, 23.7 MB of additional disk space will be used. 176s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-minimal armhf 3.13.11-1 [875 kB] 177s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13-minimal armhf 3.13.11-1 [2055 kB] 177s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-stdlib armhf 3.13.11-1 [1960 kB] 177s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13 armhf 3.13.11-1 [758 kB] 177s Get:5 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiocoap all 0.4.14-1 [178 kB] 177s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.14.2-1 [888 B] 177s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-2 [6962 B] 177s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-2 [21.1 kB] 177s Get:9 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 9.0.2-2 [277 kB] 177s Fetched 6131 kB in 1s (6739 kB/s) 177s Selecting previously unselected package libpython3.13-minimal:armhf. 177s (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 ... 66518 files and directories currently installed.) 177s Preparing to unpack .../0-libpython3.13-minimal_3.13.11-1_armhf.deb ... 177s Unpacking libpython3.13-minimal:armhf (3.13.11-1) ... 177s Selecting previously unselected package python3.13-minimal. 177s Preparing to unpack .../1-python3.13-minimal_3.13.11-1_armhf.deb ... 177s Unpacking python3.13-minimal (3.13.11-1) ... 178s Selecting previously unselected package libpython3.13-stdlib:armhf. 178s Preparing to unpack .../2-libpython3.13-stdlib_3.13.11-1_armhf.deb ... 178s Unpacking libpython3.13-stdlib:armhf (3.13.11-1) ... 178s Selecting previously unselected package python3.13. 178s Preparing to unpack .../3-python3.13_3.13.11-1_armhf.deb ... 178s Unpacking python3.13 (3.13.11-1) ... 178s Selecting previously unselected package python3-aiocoap. 178s Preparing to unpack .../4-python3-aiocoap_0.4.14-1_all.deb ... 178s Unpacking python3-aiocoap (0.4.14-1) ... 178s Selecting previously unselected package python3-all. 178s Preparing to unpack .../5-python3-all_3.14.2-1_armhf.deb ... 178s Unpacking python3-all (3.14.2-1) ... 178s Selecting previously unselected package python3-iniconfig. 178s Preparing to unpack .../6-python3-iniconfig_2.1.0-2_all.deb ... 178s Unpacking python3-iniconfig (2.1.0-2) ... 178s Selecting previously unselected package python3-pluggy. 178s Preparing to unpack .../7-python3-pluggy_1.6.0-2_all.deb ... 178s Unpacking python3-pluggy (1.6.0-2) ... 178s Selecting previously unselected package python3-pytest. 178s Preparing to unpack .../8-python3-pytest_9.0.2-2_all.deb ... 178s Unpacking python3-pytest (9.0.2-2) ... 178s Setting up python3-iniconfig (2.1.0-2) ... 178s Setting up python3-aiocoap (0.4.14-1) ... 178s /usr/lib/python3/dist-packages/aiocoap/transports/tinydtls.py:228: SyntaxWarning: 'return' in a 'finally' block 178s return 179s Setting up libpython3.13-minimal:armhf (3.13.11-1) ... 179s Setting up python3-pluggy (1.6.0-2) ... 179s Setting up python3.13-minimal (3.13.11-1) ... 180s Setting up libpython3.13-stdlib:armhf (3.13.11-1) ... 180s Setting up python3.13 (3.13.11-1) ... 181s Setting up python3-pytest (9.0.2-2) ... 181s Setting up python3-all (3.14.2-1) ... 181s Processing triggers for man-db (2.13.1-1) ... 182s Processing triggers for systemd (259-1ubuntu2) ... 190s autopkgtest [16:20:31]: test unittest: [----------------------- 192s === python3.13 === 192s Python version: 3.13.11 (main, Dec 6 2025, 13:15:20) [GCC 15.2.0] 192s aiocoap version: 0.4.14 192s Modules missing for subsystems: 192s dtls: missing DTLSSocket 192s oscore: missing cbor2, filelock, ge25519, lakers-python 192s linkheader: everything there 192s prettyprint: missing cbor2, cbor-diag 192s ws: missing websockets 192s Python platform: linux 192s Default server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 192s Selected server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 192s Default client transports: tcpclient:tlsclient:udp6 192s Selected client transports: tcpclient:tlsclient:udp6 192s SO_REUSEPORT available (default, selected): True, True 193s ============================= test session starts ============================== 193s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 193s rootdir: /tmp/autopkgtest.yghPcR/autopkgtest_tmp 193s plugins: typeguard-4.4.4 193s collected 260 items 193s 194s tests/test_blockwise.py ..s. [ 1%] 198s tests/test_client.py ........ [ 4%] 201s tests/test_commandline.py ...... [ 6%] 201s tests/test_credentials.py ..s [ 8%] 201s tests/test_doctest.py .................................. [ 21%] 201s tests/test_dtls.py ssssssssssssss [ 26%] 201s tests/test_edhoc.py sssss [ 28%] 201s tests/test_encoding.py ........... [ 32%] 202s tests/test_fileserver.py . [ 33%] 202s tests/test_group_oscore.py ssssssssssssssssssssssssssssss [ 44%] 206s tests/test_noncoap_client.py ........ss [ 48%] 208s tests/test_noncoap_tcp_client.py ........... [ 52%] 214s tests/test_observe.py .......x.... [ 57%] 214s tests/test_oscore.py sssssssssssssssssssssss [ 66%] 214s tests/test_oscore_plugtest.py ssssssssssssssssssssssssssssssss [ 78%] 214s tests/test_protocol.py ... [ 79%] 215s tests/test_rd_examples.py .. [ 80%] 216s tests/test_reverseproxy.py .. [ 81%] 236s tests/test_server.py ............................ssssssssssssss [ 97%] 237s tests/test_timeoutdict.py . [ 97%] 239s tests/test_tls.py . [ 98%] 239s tests/test_uri_handling.py .... [ 99%] 239s tests/test_util_cryptography.py s [100%] 239s 239s ================= 136 passed, 123 skipped, 1 xfailed in 46.91s ================= 240s === python3.14 === 240s Python version: 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0] 240s aiocoap version: 0.4.14 240s Modules missing for subsystems: 240s dtls: missing DTLSSocket 240s oscore: missing cbor2, filelock, ge25519, lakers-python 240s linkheader: everything there 240s prettyprint: missing cbor2, cbor-diag 240s ws: missing websockets 240s Python platform: linux 240s Default server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 240s Selected server transports: tcpserver:tcpclient:tlsserver:tlsclient:udp6 240s Default client transports: tcpclient:tlsclient:udp6 240s Selected client transports: tcpclient:tlsclient:udp6 240s SO_REUSEPORT available (default, selected): True, True 241s ============================= test session starts ============================== 241s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 241s rootdir: /tmp/autopkgtest.yghPcR/autopkgtest_tmp 241s plugins: typeguard-4.4.4 241s collected 260 items 241s 241s tests/test_blockwise.py FFsF [ 1%] 241s tests/test_client.py FFFFFFFF [ 4%] 241s tests/test_commandline.py FFFFF. [ 6%] 241s tests/test_credentials.py ..s [ 8%] 241s tests/test_doctest.py ................F................. [ 21%] 241s tests/test_dtls.py ssssssssssssss [ 26%] 241s tests/test_edhoc.py sssss [ 28%] 241s tests/test_encoding.py ........... [ 32%] 241s tests/test_fileserver.py F [ 33%] 242s tests/test_group_oscore.py ssssssssssssssssssssssssssssss [ 44%] 242s tests/test_noncoap_client.py FFFFFFFFss [ 48%] 242s tests/test_noncoap_tcp_client.py FFFFFFFFFFF [ 52%] 242s tests/test_observe.py FFFFFFFFFFFF [ 57%] 243s tests/test_oscore.py sssssssssssssssssssssss [ 66%] 243s tests/test_oscore_plugtest.py ssssssssssssssssssssssssssssssss [ 78%] 243s tests/test_protocol.py FFF [ 79%] 243s tests/test_rd_examples.py FF [ 80%] 243s tests/test_reverseproxy.py FF [ 81%] 244s tests/test_server.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFssssssssssssss [ 97%] 244s tests/test_timeoutdict.py F [ 97%] 245s tests/test_tls.py F [ 98%] 245s tests/test_uri_handling.py .... [ 99%] 245s tests/test_util_cryptography.py s [100%] 245s 245s =================================== FAILURES =================================== 245s _______________________ TestBlockwise.test_client_hints ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestBlockwise.test_client_hints_block1 ____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestBlockwise.test_server_hints ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestClientWithSetHost.test_uri_parser _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestClientWithSetHost.test_uri_parser2 ____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________ TestClientWithHostlessMessages.test_uri_parser ________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________ TestClientWithHostlessMessages.test_uri_parser2 ________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestClientOther.test_freeoncancel _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestClientOther.test_freeoncancel_non _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestClientOther.test_nonraising ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestClientOther.test_raising _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestCommandlineClient.test_erroneous _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestCommandlineClient.test_get ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestCommandlineClient.test_help ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestCommandlineClient.test_noproxy ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestCommandlineClient.test_post ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________________________________ test_017 ___________________________________ 245s 245s t = Sentinel (aiocoap.util) 245s 245s def test(t=t): 245s result = t.run() 245s for f in result.failures: 245s print(f[1]) 245s > raise RuntimeError("Doctest failed (see above)") 245s E RuntimeError: Doctest failed (see above) 245s 245s tests/test_doctest.py:65: RuntimeError 245s ----------------------------- Captured stdout call ----------------------------- 245s AssertionError: Failed doctest test for aiocoap.util.Sentinel 245s File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 168, in Sentinel 245s 245s ---------------------------------------------------------------------- 245s File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 177, in aiocoap.util.Sentinel 245s Failed example: 245s json.dumps([1, FIXME, 3]) 245s Expected: 245s Traceback (most recent call last): 245s TypeError: Object of type Sentinel is not JSON serializable 245s Got: 245s Traceback (most recent call last): 245s File "", line 1, in 245s json.dumps([1, FIXME, 3]) 245s ~~~~~~~~~~^^^^^^^^^^^^^^^ 245s File "/usr/lib/python3.14/json/__init__.py", line 235, in dumps 245s return _default_encoder.encode(obj) 245s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ 245s File "/usr/lib/python3.14/json/encoder.py", line 202, in encode 245s chunks = self.iterencode(o, _one_shot=True) 245s File "/usr/lib/python3.14/json/encoder.py", line 263, in iterencode 245s return _iterencode(o, 0) 245s File "/usr/lib/python3.14/json/encoder.py", line 182, in default 245s raise TypeError(f'Object of type {o.__class__.__name__} ' 245s f'is not JSON serializable') 245s TypeError: Object of type Sentinel is not JSON serializable 245s when serializing list item 1 245s 245s ________________________ TestFileServer.test_fullcycle _________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super().setUp() 245s 245s tests/test_fileserver.py:44: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestNoncoapClient.test_duplicate _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestNoncoapClient.test_noresponse _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestNoncoapClient.test_ping __________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestNoncoapClient.test_short_mid _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________ TestNoncoapClient.test_unknownresponse_noreset ________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestNoncoapClient.test_unknownresponse_reset _________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestNoncoapClient.test_version2 ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestNoncoapClient.test_veryshort _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestNoncoapTCPClient.test_early_get ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________ TestNoncoapTCPClient.test_exotic_compulsory_csm_option ____________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________ TestNoncoapTCPClient.test_exotic_compulsory_csm_option_late __________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________ TestNoncoapTCPClient.test_exotic_elective_csm_option _____________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestNoncoapTCPClient.test_http_get ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestNoncoapTCPClient.test_incomplete_large1 __________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestNoncoapTCPClient.test_incomplete_large2 __________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestNoncoapTCPClient.test_incomplete_large3 __________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestNoncoapTCPClient.test_incomplete_large4 __________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s __________________ TestNoncoapTCPClient.test_incomplete_small __________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestNoncoapTCPClient.test_wrong_tkl ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________________________ TestObserve.test_counter ___________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestObserve.test_counter_blockwise ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestObserve.test_counter_double ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestObserve.test_counter_fetch ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________________ TestObserve.test_echo _____________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________________________ TestObserve.test_failure ___________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________ TestObserve.test_late_subscription_eventual_consistency ____________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s __________________________ TestObserve.test_lingering __________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestObserve.test_normal_get __________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s __________________________ TestObserve.test_notreally __________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestObserve.test_unknownhost _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestObserve.test_unobservable _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________ TestProtocolSetup.test_empty_setup_shutdown __________________ 245s 245s self = 245s 245s def setUp(self): 245s self.handler = self.ListHandler() 245s 245s logging.root.setLevel(0) 245s logging.root.addHandler(self.handler) 245s logging.captureWarnings(True) 245s warnings.simplefilter("always") 245s 245s > super(WithLogMonitoring, self).setUp() 245s 245s tests/fixtures.py:121: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________________ TestProtocolSetup.test_multiple_contexts ___________________ 245s 245s self = 245s 245s def setUp(self): 245s self.handler = self.ListHandler() 245s 245s logging.root.setLevel(0) 245s logging.root.addHandler(self.handler) 245s logging.captureWarnings(True) 245s warnings.simplefilter("always") 245s 245s > super(WithLogMonitoring, self).setUp() 245s 245s tests/fixtures.py:121: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________ TestProtocolSetup.test_serverports_no_conflict ________________ 245s 245s self = 245s 245s def setUp(self): 245s self.handler = self.ListHandler() 245s 245s logging.root.setLevel(0) 245s logging.root.addHandler(self.handler) 245s logging.captureWarnings(True) 245s warnings.simplefilter("always") 245s 245s > super(WithLogMonitoring, self).setUp() 245s 245s tests/fixtures.py:121: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestDiscovery.test_discovery _________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super().setUp() 245s 245s tests/test_rd_examples.py:32: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestDiscovery.test_registration ________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super().setUp() 245s 245s tests/test_rd_examples.py:32: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestReverseProxy.test_options _________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super(WithReverseProxy, self).setUp() 245s 245s tests/test_reverseproxy.py:23: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/test_server.py:230: in setUp 245s super(WithTestServer, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestReverseProxy.test_routing _________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super(WithReverseProxy, self).setUp() 245s 245s tests/test_reverseproxy.py:23: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/test_server.py:230: in setUp 245s super(WithTestServer, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestServer.test_big_resource _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestServer.test_clean_shutdown ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestServer.test_empty_accept _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServer.test_error_resources ________________________ 245s 245s self = 245s 245s def setUp(self): 245s > super(WithTestServer, self).setUp() 245s 245s tests/test_server.py:230: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestServer.test_fast_resource _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s __________________________ TestServer.test_js_accept ___________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestServer.test_manualbig_resource ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestServer.test_nonexisting_resource _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestServer.test_replacing_resource ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestServer.test_root_resource _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ________________________ TestServer.test_slow_resource _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServer.test_slowbig_resource _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestServer.test_spurious_resource _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestServer.test_unacceptable_accept ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServerTCP.test_big_resource ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestServerTCP.test_clean_shutdown _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServerTCP.test_empty_accept ________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ______________________ TestServerTCP.test_error_resources ______________________ 245s 245s self = 245s 245s def setUp(self): 245s > super(WithTestServer, self).setUp() 245s 245s tests/test_server.py:230: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s tests/test_server.py:274: in setUp 245s super(WithClient, self).setUp() 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServerTCP.test_fast_resource _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _________________________ TestServerTCP.test_js_accept _________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestServerTCP.test_manualbig_resource _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ___________________ TestServerTCP.test_nonexisting_resource ____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestServerTCP.test_replacing_resource _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServerTCP.test_root_resource _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________ TestServerTCP.test_slow_resource _______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestServerTCP.test_slowbig_resource ______________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _____________________ TestServerTCP.test_spurious_resource _____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s ____________________ TestServerTCP.test_unacceptable_accept ____________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s __________________ TestTimeoutDict.test_presence_and_absence ___________________ 245s tests/fixtures.py:208: in setUp 245s self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s _______________________________ TestTLS.test_tls _______________________________ 245s 245s self = 245s 245s def setUp(self): 245s super(WithAsyncLoop, self).setUp() 245s 245s > self.loop = asyncio.get_event_loop() 245s ^^^^^^^^^^^^^^^^^^^^^^^^ 245s 245s tests/fixtures.py:208: 245s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245s 245s self = 245s 245s def get_event_loop(self): 245s """Get the event loop for the current context. 245s 245s Returns an instance of EventLoop or raises an exception. 245s """ 245s if self._local._loop is None: 245s > raise RuntimeError('There is no current event loop in thread %r.' 245s % threading.current_thread().name) 245s E RuntimeError: There is no current event loop in thread 'MainThread'. 245s 245s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 245s =========================== short test summary info ============================ 245s FAILED tests/test_blockwise.py::TestBlockwise::test_client_hints - RuntimeErr... 245s FAILED tests/test_blockwise.py::TestBlockwise::test_client_hints_block1 - Run... 245s FAILED tests/test_blockwise.py::TestBlockwise::test_server_hints - RuntimeErr... 245s FAILED tests/test_client.py::TestClientWithSetHost::test_uri_parser - Runtime... 245s FAILED tests/test_client.py::TestClientWithSetHost::test_uri_parser2 - Runtim... 245s FAILED tests/test_client.py::TestClientWithHostlessMessages::test_uri_parser 245s FAILED tests/test_client.py::TestClientWithHostlessMessages::test_uri_parser2 245s FAILED tests/test_client.py::TestClientOther::test_freeoncancel - RuntimeErro... 245s FAILED tests/test_client.py::TestClientOther::test_freeoncancel_non - Runtime... 245s FAILED tests/test_client.py::TestClientOther::test_nonraising - RuntimeError:... 245s FAILED tests/test_client.py::TestClientOther::test_raising - RuntimeError: Th... 245s FAILED tests/test_commandline.py::TestCommandlineClient::test_erroneous - Run... 245s FAILED tests/test_commandline.py::TestCommandlineClient::test_get - RuntimeEr... 245s FAILED tests/test_commandline.py::TestCommandlineClient::test_help - RuntimeE... 245s FAILED tests/test_commandline.py::TestCommandlineClient::test_noproxy - Runti... 245s FAILED tests/test_commandline.py::TestCommandlineClient::test_post - RuntimeE... 245s FAILED tests/test_doctest.py::test_017 - RuntimeError: Doctest failed (see ab... 245s FAILED tests/test_fileserver.py::TestFileServer::test_fullcycle - RuntimeErro... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_duplicate - Runt... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_noresponse - Run... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_ping - RuntimeEr... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_short_mid - Runt... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_unknownresponse_noreset 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_unknownresponse_reset 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_version2 - Runti... 245s FAILED tests/test_noncoap_client.py::TestNoncoapClient::test_veryshort - Runt... 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_early_get 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_compulsory_csm_option 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_compulsory_csm_option_late 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_exotic_elective_csm_option 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_http_get 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large1 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large2 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large3 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_large4 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_incomplete_small 245s FAILED tests/test_noncoap_tcp_client.py::TestNoncoapTCPClient::test_wrong_tkl 245s FAILED tests/test_observe.py::TestObserve::test_counter - RuntimeError: There... 245s FAILED tests/test_observe.py::TestObserve::test_counter_blockwise - RuntimeEr... 245s FAILED tests/test_observe.py::TestObserve::test_counter_double - RuntimeError... 245s FAILED tests/test_observe.py::TestObserve::test_counter_fetch - RuntimeError:... 245s FAILED tests/test_observe.py::TestObserve::test_echo - RuntimeError: There is... 245s FAILED tests/test_observe.py::TestObserve::test_failure - RuntimeError: There... 245s FAILED tests/test_observe.py::TestObserve::test_late_subscription_eventual_consistency 245s FAILED tests/test_observe.py::TestObserve::test_lingering - RuntimeError: The... 245s FAILED tests/test_observe.py::TestObserve::test_normal_get - RuntimeError: Th... 245s FAILED tests/test_observe.py::TestObserve::test_notreally - RuntimeError: The... 245s FAILED tests/test_observe.py::TestObserve::test_unknownhost - RuntimeError: T... 245s FAILED tests/test_observe.py::TestObserve::test_unobservable - RuntimeError: ... 245s FAILED tests/test_protocol.py::TestProtocolSetup::test_empty_setup_shutdown 245s FAILED tests/test_protocol.py::TestProtocolSetup::test_multiple_contexts - Ru... 245s FAILED tests/test_protocol.py::TestProtocolSetup::test_serverports_no_conflict 245s FAILED tests/test_rd_examples.py::TestDiscovery::test_discovery - RuntimeErro... 245s FAILED tests/test_rd_examples.py::TestDiscovery::test_registration - RuntimeE... 245s FAILED tests/test_reverseproxy.py::TestReverseProxy::test_options - RuntimeEr... 245s FAILED tests/test_reverseproxy.py::TestReverseProxy::test_routing - RuntimeEr... 245s FAILED tests/test_server.py::TestServer::test_big_resource - RuntimeError: Th... 245s FAILED tests/test_server.py::TestServer::test_clean_shutdown - RuntimeError: ... 245s FAILED tests/test_server.py::TestServer::test_empty_accept - RuntimeError: Th... 245s FAILED tests/test_server.py::TestServer::test_error_resources - RuntimeError:... 245s FAILED tests/test_server.py::TestServer::test_fast_resource - RuntimeError: T... 245s FAILED tests/test_server.py::TestServer::test_js_accept - RuntimeError: There... 245s FAILED tests/test_server.py::TestServer::test_manualbig_resource - RuntimeErr... 245s FAILED tests/test_server.py::TestServer::test_nonexisting_resource - RuntimeE... 245s FAILED tests/test_server.py::TestServer::test_replacing_resource - RuntimeErr... 245s FAILED tests/test_server.py::TestServer::test_root_resource - RuntimeError: T... 245s FAILED tests/test_server.py::TestServer::test_slow_resource - RuntimeError: T... 245s FAILED tests/test_server.py::TestServer::test_slowbig_resource - RuntimeError... 245s FAILED tests/test_server.py::TestServer::test_spurious_resource - RuntimeErro... 245s FAILED tests/test_server.py::TestServer::test_unacceptable_accept - RuntimeEr... 245s FAILED tests/test_server.py::TestServerTCP::test_big_resource - RuntimeError:... 245s FAILED tests/test_server.py::TestServerTCP::test_clean_shutdown - RuntimeErro... 245s FAILED tests/test_server.py::TestServerTCP::test_empty_accept - RuntimeError:... 245s FAILED tests/test_server.py::TestServerTCP::test_error_resources - RuntimeErr... 245s FAILED tests/test_server.py::TestServerTCP::test_fast_resource - RuntimeError... 245s FAILED tests/test_server.py::TestServerTCP::test_js_accept - RuntimeError: Th... 245s FAILED tests/test_server.py::TestServerTCP::test_manualbig_resource - Runtime... 245s FAILED tests/test_server.py::TestServerTCP::test_nonexisting_resource - Runti... 245s FAILED tests/test_server.py::TestServerTCP::test_replacing_resource - Runtime... 245s FAILED tests/test_server.py::TestServerTCP::test_root_resource - RuntimeError... 245s FAILED tests/test_server.py::TestServerTCP::test_slow_resource - RuntimeError... 245s FAILED tests/test_server.py::TestServerTCP::test_slowbig_resource - RuntimeEr... 245s FAILED tests/test_server.py::TestServerTCP::test_spurious_resource - RuntimeE... 245s FAILED tests/test_server.py::TestServerTCP::test_unacceptable_accept - Runtim... 245s FAILED tests/test_timeoutdict.py::TestTimeoutDict::test_presence_and_absence 245s FAILED tests/test_tls.py::TestTLS::test_tls - RuntimeError: There is no curre... 245s ================== 86 failed, 51 passed, 123 skipped in 4.59s ================== 246s autopkgtest [16:21:27]: test unittest: -----------------------] 250s autopkgtest [16:21:31]: test unittest: - - - - - - - - - - results - - - - - - - - - - 250s unittest FAIL non-zero exit status 1 255s autopkgtest [16:21:36]: @@@@@@@@@@@@@@@@@@@@ summary 255s unittest FAIL non-zero exit status 1