Source: aiocoap Version: 0.3-3.1 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@lists.debian.org Usertags: python3.10 Control: affects -1 src:python3-defaults
Dear maintainer(s),We are in the transition of making python3.10 the default Python versions [0]. With a recent upload of python3-defaults the autopkgtest of aiocoap fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail python3-defaults from testing 3.10.4-1 aiocoap from testing 0.3-3.1 all others from testing from testing I copied some of the output at the bottom of this report.Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists what's new in Python3.10, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/1006836 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/a/aiocoap/20646392/log.gz ====================================================================== ERROR: test_counter (tests.observe.TestObserve) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_echo (tests.observe.TestObserve) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_lingering (tests.observe.TestObserve) Simulate what happens when a request is sent with an observe option, ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_normal_get (tests.observe.TestObserve) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_unknownhost (tests.observe.TestObserve) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_unobservable (tests.observe.TestObserve) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_big_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_empty_accept (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_fast_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_js_accept (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_nonexisting_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_replacing_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_slow_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_slowbig_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_spurious_resource (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_unacceptable_accept (tests.server.TestServer) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_options (tests.reverseproxy.TestReverseProxy) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/reverseproxy.py", line 23, in tearDown
super(WithReverseProxy, self).tearDown()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 239, in tearDown
self.loop.run_until_complete(self.client.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_routing (tests.reverseproxy.TestReverseProxy) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/reverseproxy.py", line 23, in tearDown
super(WithReverseProxy, self).tearDown()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 239, in tearDown
self.loop.run_until_complete(self.client.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_raising (tests.client.TestClientOther) This test obtains results via the response_nonraising property of a ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_parser (tests.client.TestClientWithHostlessMessages) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_parser2 (tests.client.TestClientWithHostlessMessages) A difficult test because it is prone to keeping the transport ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_reconstruction (tests.client.TestClientWithHostlessMessages) This test aims for reconstruction of the URI when for some reasons ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_parser (tests.client.TestClientWithSetHost) ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_parser2 (tests.client.TestClientWithSetHost) A difficult test because it is prone to keeping the transport ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ====================================================================== ERROR: test_uri_reconstruction (tests.client.TestClientWithSetHost) This test aims for reconstruction of the URI when for some reasons ---------------------------------------------------------------------- Traceback (most recent call last):File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/tests/server.py", line 223, in tearDown
self.loop.run_until_complete(self.server.shutdown())File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()File "/tmp/autopkgtest-lxc.ziizqh7f/downtmp/build.LDO/src/aiocoap/protocol.py", line 138, in shutdown yield from asyncio.wait([te.shutdown() for te in self.transport_endpoints], timeout=3, loop=self.loop)
TypeError: wait() got an unexpected keyword argument 'loop' ---------------------------------------------------------------------- Ran 50 tests in 2.042s FAILED (errors=25) Test failed: <unittest.runner.TextTestResult run=50 errors=25 failures=0>error: Test failed: <unittest.runner.TextTestResult run=50 errors=25 failures=0>
autopkgtest [06:10:12]: test unittest
OpenPGP_signature
Description: OpenPGP digital signature