0s autopkgtest [09:19:28]: starting date and time: 2025-03-13 09:19:28+0000 0s autopkgtest [09:19:28]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:19:28]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ztp6wklq/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,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:pytest-httpx,src:httpx,src:python-urllib3 --apt-upgrade pydiscovergy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest-httpx/0.35.0-1 httpx/0.28.1-1 python-urllib3/2.3.0-2' -- lxd -r lxd-armhf-10.145.243.79 lxd-armhf-10.145.243.79:autopkgtest/ubuntu/plucky/armhf 20s autopkgtest [09:19:48]: testbed dpkg architecture: armhf 22s autopkgtest [09:19:50]: testbed apt version: 2.9.32ubuntu1 26s autopkgtest [09:19:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 27s autopkgtest [09:19:55]: testbed release detected to be: None 35s autopkgtest [09:20:03]: updating testbed package index (apt update) 37s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 37s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 37s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 37s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 37s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 37s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [429 kB] 38s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [44.2 kB] 38s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [59.9 kB] 38s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [336 kB] 38s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1712 B] 38s Get:11 http://ftpmaster.internal/ubuntu plucky/main Sources [1399 kB] 38s Get:12 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 38s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1381 kB] 38s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.4 MB] 42s Fetched 40.7 MB in 5s (7977 kB/s) 43s Reading package lists... 48s autopkgtest [09:20:16]: upgrading testbed (apt dist-upgrade and autopurge) 50s Reading package lists... 50s Building dependency tree... 50s Reading state information... 51s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 51s Starting 2 pkgProblemResolver with broken count: 0 51s Done 52s Entering ResolveByKeep 52s 52s Calculating upgrade... 53s The following packages will be upgraded: 53s gir1.2-glib-2.0 htop libglib2.0-0t64 libglib2.0-data python3-botocore 53s python3-urllib3 53s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Need to get 8911 kB of archives. 53s After this operation, 228 kB of additional disk space will be used. 53s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.84.0-1 [185 kB] 53s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.84.0-1 [1454 kB] 53s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.84.0-1 [53.0 kB] 53s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.4.0-2 [143 kB] 53s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-urllib3 all 2.3.0-2 [94.1 kB] 53s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-botocore all 1.37.9+repack-1 [6982 kB] 54s Fetched 8911 kB in 1s (10.1 MB/s) 54s (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 ... 64649 files and directories currently installed.) 54s Preparing to unpack .../0-gir1.2-glib-2.0_2.84.0-1_armhf.deb ... 54s Unpacking gir1.2-glib-2.0:armhf (2.84.0-1) over (2.83.5-1) ... 54s Preparing to unpack .../1-libglib2.0-0t64_2.84.0-1_armhf.deb ... 54s Unpacking libglib2.0-0t64:armhf (2.84.0-1) over (2.83.5-1) ... 54s Preparing to unpack .../2-libglib2.0-data_2.84.0-1_all.deb ... 54s Unpacking libglib2.0-data (2.84.0-1) over (2.83.5-1) ... 54s Preparing to unpack .../3-htop_3.4.0-2_armhf.deb ... 54s Unpacking htop (3.4.0-2) over (3.4.0-1) ... 54s Preparing to unpack .../4-python3-urllib3_2.3.0-2_all.deb ... 54s Unpacking python3-urllib3 (2.3.0-2) over (2.3.0-1) ... 54s Preparing to unpack .../5-python3-botocore_1.37.9+repack-1_all.deb ... 54s Unpacking python3-botocore (1.37.9+repack-1) over (1.36.22+repack-1) ... 55s Setting up htop (3.4.0-2) ... 55s Setting up libglib2.0-0t64:armhf (2.84.0-1) ... 55s No schema files found: doing nothing. 55s Setting up libglib2.0-data (2.84.0-1) ... 55s Setting up gir1.2-glib-2.0:armhf (2.84.0-1) ... 55s Setting up python3-urllib3 (2.3.0-2) ... 55s Setting up python3-botocore (1.37.9+repack-1) ... 56s Processing triggers for man-db (2.13.0-1) ... 56s Processing triggers for libc-bin (2.41-1ubuntu1) ... 58s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Starting pkgProblemResolver with broken count: 0 59s Starting 2 pkgProblemResolver with broken count: 0 59s Done 60s Solving dependencies... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s autopkgtest [09:20:30]: rebooting testbed after setup commands that affected boot 108s autopkgtest [09:21:16]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 132s autopkgtest [09:21:40]: @@@@@@@@@@@@@@@@@@@@ apt-source pydiscovergy 142s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (dsc) [2460 B] 142s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (tar) [46.6 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (diff) [2548 B] 142s gpgv: Signature made Thu Feb 13 15:28:46 2025 UTC 142s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 142s gpgv: Can't check signature: No public key 142s dpkg-source: warning: cannot verify inline signature for ./pydiscovergy_3.1.0-1.dsc: no acceptable signature found 142s autopkgtest [09:21:50]: testing package pydiscovergy version 3.1.0-1 144s autopkgtest [09:21:52]: build not needed 146s autopkgtest [09:21:54]: test run-tests: preparing testbed 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Starting pkgProblemResolver with broken count: 0 148s Starting 2 pkgProblemResolver with broken count: 0 148s Done 149s The following NEW packages will be installed: 149s python3-all python3-anyio python3-async-generator python3-authlib 149s python3-click python3-h11 python3-httpcore python3-httpx python3-iniconfig 149s python3-mashumaro python3-msgpack python3-orjson python3-pluggy 149s python3-pycryptodome python3-pydiscovergy python3-pytest 149s python3-pytest-asyncio python3-pytest-httpx python3-respx python3-sniffio 149s python3-tomli python3-tomli-w 149s 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. 149s Need to get 2457 kB of archives. 149s After this operation, 10.1 MB of additional disk space will be used. 149s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.13.2-2 [886 B] 149s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sniffio all 1.3.1-1 [7262 B] 149s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-anyio all 4.8.0-2 [63.4 kB] 150s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 150s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pycryptodome armhf 3.20.0+dfsg-3build1 [1089 kB] 150s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-authlib all 1.5.1-1 [116 kB] 150s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 150s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-h11 all 0.14.0-1 [51.1 kB] 150s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-httpcore all 1.0.7-1 [38.8 kB] 150s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-httpx all 0.28.1-1 [59.4 kB] 150s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 150s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf python3-msgpack armhf 1.0.3-3build4 [80.6 kB] 150s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-orjson armhf 3.10.7-2build1 [280 kB] 150s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli armhf 2.2.1-2build1 [124 kB] 150s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli-w all 1.0.0-3 [7342 B] 150s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mashumaro all 3.15-1 [89.4 kB] 150s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 150s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pydiscovergy all 3.1.0-1 [12.6 kB] 150s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.4-1 [252 kB] 150s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 150s Get:21 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pytest-httpx all 0.35.0-1 [24.0 kB] 150s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-respx all 0.21.1-2 [21.0 kB] 150s Fetched 2457 kB in 1s (3223 kB/s) 150s Selecting previously unselected package python3-all. 150s (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 ... 64656 files and directories currently installed.) 150s Preparing to unpack .../00-python3-all_3.13.2-2_armhf.deb ... 150s Unpacking python3-all (3.13.2-2) ... 150s Selecting previously unselected package python3-sniffio. 150s Preparing to unpack .../01-python3-sniffio_1.3.1-1_all.deb ... 150s Unpacking python3-sniffio (1.3.1-1) ... 150s Selecting previously unselected package python3-anyio. 150s Preparing to unpack .../02-python3-anyio_4.8.0-2_all.deb ... 150s Unpacking python3-anyio (4.8.0-2) ... 151s Selecting previously unselected package python3-async-generator. 151s Preparing to unpack .../03-python3-async-generator_1.10-4_all.deb ... 151s Unpacking python3-async-generator (1.10-4) ... 151s Selecting previously unselected package python3-pycryptodome. 151s Preparing to unpack .../04-python3-pycryptodome_3.20.0+dfsg-3build1_armhf.deb ... 151s Unpacking python3-pycryptodome (3.20.0+dfsg-3build1) ... 151s Selecting previously unselected package python3-authlib. 151s Preparing to unpack .../05-python3-authlib_1.5.1-1_all.deb ... 151s Unpacking python3-authlib (1.5.1-1) ... 151s Selecting previously unselected package python3-click. 151s Preparing to unpack .../06-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 151s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 151s Selecting previously unselected package python3-h11. 151s Preparing to unpack .../07-python3-h11_0.14.0-1_all.deb ... 151s Unpacking python3-h11 (0.14.0-1) ... 151s Selecting previously unselected package python3-httpcore. 151s Preparing to unpack .../08-python3-httpcore_1.0.7-1_all.deb ... 151s Unpacking python3-httpcore (1.0.7-1) ... 151s Selecting previously unselected package python3-httpx. 151s Preparing to unpack .../09-python3-httpx_0.28.1-1_all.deb ... 151s Unpacking python3-httpx (0.28.1-1) ... 151s Selecting previously unselected package python3-iniconfig. 151s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 151s Unpacking python3-iniconfig (1.1.1-2) ... 151s Selecting previously unselected package python3-msgpack. 151s Preparing to unpack .../11-python3-msgpack_1.0.3-3build4_armhf.deb ... 151s Unpacking python3-msgpack (1.0.3-3build4) ... 151s Selecting previously unselected package python3-orjson. 151s Preparing to unpack .../12-python3-orjson_3.10.7-2build1_armhf.deb ... 151s Unpacking python3-orjson (3.10.7-2build1) ... 151s Selecting previously unselected package python3-tomli. 151s Preparing to unpack .../13-python3-tomli_2.2.1-2build1_armhf.deb ... 151s Unpacking python3-tomli (2.2.1-2build1) ... 151s Selecting previously unselected package python3-tomli-w. 151s Preparing to unpack .../14-python3-tomli-w_1.0.0-3_all.deb ... 151s Unpacking python3-tomli-w (1.0.0-3) ... 151s Selecting previously unselected package python3-mashumaro. 151s Preparing to unpack .../15-python3-mashumaro_3.15-1_all.deb ... 151s Unpacking python3-mashumaro (3.15-1) ... 151s Selecting previously unselected package python3-pluggy. 151s Preparing to unpack .../16-python3-pluggy_1.5.0-1_all.deb ... 151s Unpacking python3-pluggy (1.5.0-1) ... 151s Selecting previously unselected package python3-pydiscovergy. 151s Preparing to unpack .../17-python3-pydiscovergy_3.1.0-1_all.deb ... 151s Unpacking python3-pydiscovergy (3.1.0-1) ... 151s Selecting previously unselected package python3-pytest. 151s Preparing to unpack .../18-python3-pytest_8.3.4-1_all.deb ... 151s Unpacking python3-pytest (8.3.4-1) ... 151s Selecting previously unselected package python3-pytest-asyncio. 151s Preparing to unpack .../19-python3-pytest-asyncio_0.25.1-1_all.deb ... 151s Unpacking python3-pytest-asyncio (0.25.1-1) ... 151s Selecting previously unselected package python3-pytest-httpx. 151s Preparing to unpack .../20-python3-pytest-httpx_0.35.0-1_all.deb ... 151s Unpacking python3-pytest-httpx (0.35.0-1) ... 151s Selecting previously unselected package python3-respx. 151s Preparing to unpack .../21-python3-respx_0.21.1-2_all.deb ... 151s Unpacking python3-respx (0.21.1-2) ... 151s Setting up python3-iniconfig (1.1.1-2) ... 151s Setting up python3-sniffio (1.3.1-1) ... 151s Setting up python3-orjson (3.10.7-2build1) ... 152s Setting up python3-async-generator (1.10-4) ... 152s Setting up python3-tomli (2.2.1-2build1) ... 152s Setting up python3-anyio (4.8.0-2) ... 152s Setting up python3-pycryptodome (3.20.0+dfsg-3build1) ... 153s Setting up python3-all (3.13.2-2) ... 153s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 153s Setting up python3-h11 (0.14.0-1) ... 153s Setting up python3-pluggy (1.5.0-1) ... 153s Setting up python3-msgpack (1.0.3-3build4) ... 153s Setting up python3-tomli-w (1.0.0-3) ... 153s Setting up python3-authlib (1.5.1-1) ... 153s Setting up python3-httpcore (1.0.7-1) ... 154s Setting up python3-mashumaro (3.15-1) ... 154s Setting up python3-pytest (8.3.4-1) ... 154s Setting up python3-httpx (0.28.1-1) ... 154s Setting up python3-pytest-asyncio (0.25.1-1) ... 154s Setting up python3-pytest-httpx (0.35.0-1) ... 154s Setting up python3-pydiscovergy (3.1.0-1) ... 155s Setting up python3-respx (0.21.1-2) ... 155s Processing triggers for man-db (2.13.0-1) ... 162s autopkgtest [09:22:10]: test run-tests: [----------------------- 165s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 165s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 165s 165s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 165s ============================= test session starts ============================== 165s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 165s cachedir: .pytest_cache 165s rootdir: /tmp/autopkgtest.YexwHa/autopkgtest_tmp 165s plugins: typeguard-4.4.2, anyio-4.8.0, asyncio-0.25.1, httpx-0.35.0, respx-0.21.1 165s asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None 165s collecting ... collected 17 items / 1 deselected / 16 selected 165s 165s tests/test_discovergy.py::test_get_timeout PASSED [ 6%] 165s tests/test_discovergy.py::test_token_auth_expired FAILED [ 12%] 165s tests/test_discovergy.py::test_token_auth_expired ERROR [ 12%] 165s 165s ==================================== ERRORS ==================================== 165s _________________ ERROR at teardown of test_token_auth_expired _________________ 165s 165s request = > 165s 165s @pytest.fixture() 165s def respx_mock(request): 165s respx_marker = request.node.get_closest_marker("respx") 165s 165s mock_router: MockRouter = ( 165s respx.mock 165s if respx_marker is None 165s else cast(MockRouter, respx.mock(**respx_marker.kwargs)) 165s ) 165s 165s > with mock_router: 165s 165s /usr/lib/python3/dist-packages/respx/plugin.py:29: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s /usr/lib/python3/dist-packages/respx/router.py:437: in __exit__ 165s self.stop(quiet=bool(exc_type is not None)) 165s /usr/lib/python3/dist-packages/respx/router.py:479: in stop 165s self.assert_all_called() 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s self = 165s 165s def assert_all_called(self) -> None: 165s not_called_routes = [route for route in self.routes if not route.called] 165s > assert not_called_routes == [], "RESPX: some routes were not called!" 165s E AssertionError: RESPX: some routes were not called! 165s 165s /usr/lib/python3/dist-packages/respx/router.py:102: AssertionError 165s =================================== FAILURES =================================== 165s ___________________________ test_token_auth_expired ____________________________ 165s 165s respx_mock = 165s discovergy_token_mock = Discovergy(email='example@example.com', password='example', timeout=10, httpx_client=None, authentication=TokenAuth(co...cret123'), access_token=AccessToken(token='access_token', token_secret='access_token_secret'), app_name='pydicovergy')) 165s 165s @pytest.mark.respx(base_url=API_BASE) 165s async def test_token_auth_expired( 165s respx_mock: MockRouter, 165s discovergy_token_mock: Discovergy, 165s ) -> None: 165s """Test if a error is raised when the access token is expired.""" 165s respx_mock.get("/test").respond(json={"key": "value"}) 165s 165s # check if AccessTokenExpired is raised when there was an HTTP status 401 165s with pytest.raises(AccessTokenExpired): 165s respx_mock.get("/test").respond(status_code=401) 165s > await discovergy_token_mock._get("/test") 165s 165s tests/test_discovergy.py:47: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s /usr/lib/python3/dist-packages/pydiscovergy/discovergy.py:47: in _get 165s response = await client.get(url=API_BASE + path, params=params) 165s /usr/lib/python3/dist-packages/httpx/_client.py:1768: in get 165s return await self.request( 165s /usr/lib/python3/dist-packages/httpx/_client.py:1540: in request 165s return await self.send(request, auth=auth, follow_redirects=follow_redirects) 165s /usr/lib/python3/dist-packages/httpx/_client.py:1629: in send 165s response = await self._send_handling_auth( 165s /usr/lib/python3/dist-packages/httpx/_client.py:1657: in _send_handling_auth 165s response = await self._send_handling_redirects( 165s /usr/lib/python3/dist-packages/httpx/_client.py:1694: in _send_handling_redirects 165s response = await self._send_single_request(request) 165s /usr/lib/python3/dist-packages/httpx/_client.py:1730: in _send_single_request 165s response = await transport.handle_async_request(request) 165s /usr/lib/python3/dist-packages/httpx/_transports/default.py:394: in handle_async_request 165s resp = await self._pool.handle_async_request(req) 165s /usr/lib/python3/dist-packages/respx/mocks.py:190: in amock 165s response = await cls._send_async_request( 165s /usr/lib/python3/dist-packages/respx/mocks.py:224: in _send_async_request 165s httpx_response = await cls.async_handler(httpx_request) 165s /usr/lib/python3/dist-packages/respx/mocks.py:136: in async_handler 165s raise assertion_error 165s /usr/lib/python3/dist-packages/respx/mocks.py:129: in async_handler 165s httpx_response = await router.async_handler(httpx_request) 165s /usr/lib/python3/dist-packages/respx/router.py:318: in async_handler 165s resolved = await self.aresolve(request) 165s /usr/lib/python3/dist-packages/respx/router.py:291: in aresolve 165s with self.resolver(request) as resolved: 165s /usr/lib/python3.13/contextlib.py:148: in __exit__ 165s next(self.gen) 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s self = 165s request = 165s 165s @contextmanager 165s def resolver(self, request: httpx.Request) -> Generator[ResolvedRoute, None, None]: 165s resolved = ResolvedRoute() 165s 165s try: 165s yield resolved 165s 165s if resolved.route is None: 165s # Assert we always get a route match, if check is enabled 165s if self._assert_all_mocked: 165s > raise AllMockedAssertionError(f"RESPX: {request!r} not mocked!") 165s E respx.models.AllMockedAssertionError: RESPX: not mocked! 165s 165s /usr/lib/python3/dist-packages/respx/router.py:250: AllMockedAssertionError 165s =========================== short test summary info ============================ 165s FAILED tests/test_discovergy.py::test_token_auth_expired - respx.models.AllMo... 165s ERROR tests/test_discovergy.py::test_token_auth_expired - AssertionError: RES... 165s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 2 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 165s ============== 1 failed, 1 passed, 1 deselected, 1 error in 0.27s ============== 166s autopkgtest [09:22:14]: test run-tests: -----------------------] 169s run-tests FAIL non-zero exit status 1 169s autopkgtest [09:22:17]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 173s autopkgtest [09:22:21]: @@@@@@@@@@@@@@@@@@@@ summary 173s run-tests FAIL non-zero exit status 1