0s autopkgtest [10:26:16]: starting date and time: 2024-11-11 10:26:16+0000 0s autopkgtest [10:26:16]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [10:26:16]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.slnph5pn/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest-httpx --apt-upgrade python-glances-api --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytest-httpx/0.33.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-22.secgroup --name adt-plucky-amd64-python-glances-api-20241111-102615-juju-7f2275-prod-proposed-migration-environment-2-87da9c03-c14d-45f6-93f7-f9a7166322e7 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 58s autopkgtest [10:27:14]: testbed dpkg architecture: amd64 58s autopkgtest [10:27:14]: testbed apt version: 2.9.8 58s autopkgtest [10:27:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 59s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 59s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 59s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 59s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 59s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 59s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [78.4 kB] 59s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [132 kB] 59s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 59s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [696 kB] 59s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [293 kB] 59s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 59s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 59s Fetched 2383 kB in 1s (4607 kB/s) 59s Reading package lists... 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 63s Calculating upgrade... 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s Reading package lists... 63s Building dependency tree... 63s Reading state information... 64s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 64s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 64s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 64s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 64s Get:5 http://ftpmaster.internal/ubuntu plucky/main Sources [1372 kB] 65s Get:6 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 Packages [1429 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky/main i386 Packages [1068 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky/universe i386 Packages [8571 kB] 65s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 Packages [15.5 MB] 69s Fetched 48.9 MB in 5s (9599 kB/s) 70s Reading package lists... 70s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Calculating upgrade... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s autopkgtest [10:27:29]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 74s autopkgtest [10:27:30]: @@@@@@@@@@@@@@@@@@@@ apt-source python-glances-api 74s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-glances-api 0.8.0-1 (dsc) [2405 B] 74s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-glances-api 0.8.0-1 (tar) [15.5 kB] 74s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-glances-api 0.8.0-1 (diff) [2488 B] 74s gpgv: Signature made Mon Sep 16 05:29:51 2024 UTC 74s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 74s gpgv: Can't check signature: No public key 74s dpkg-source: warning: cannot verify inline signature for ./python-glances-api_0.8.0-1.dsc: no acceptable signature found 75s autopkgtest [10:27:31]: testing package python-glances-api version 0.8.0-1 75s autopkgtest [10:27:31]: build not needed 75s autopkgtest [10:27:31]: test run-tests: preparing testbed 75s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Starting pkgProblemResolver with broken count: 0 76s Starting 2 pkgProblemResolver with broken count: 0 76s Done 77s The following additional packages will be installed: 77s python3-all python3-anyio python3-async-generator python3-click 77s python3-colorama python3-glances-api python3-h11 python3-httpcore 77s python3-httpx python3-iniconfig python3-packaging python3-pluggy 77s python3-pytest python3-pytest-asyncio python3-pytest-httpx python3-sniffio 77s The following NEW packages will be installed: 77s autopkgtest-satdep python3-all python3-anyio python3-async-generator 77s python3-click python3-colorama python3-glances-api python3-h11 77s python3-httpcore python3-httpx python3-iniconfig python3-packaging 77s python3-pluggy python3-pytest python3-pytest-asyncio python3-pytest-httpx 77s python3-sniffio 77s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 77s Need to get 706 kB/707 kB of archives. 77s After this operation, 3685 kB of additional disk space will be used. 77s Get:1 /tmp/autopkgtest.abH7Lg/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [744 B] 77s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.6-0ubuntu1 [886 B] 77s Get:3 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sniffio all 1.3.1-1 [7262 B] 77s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-anyio all 4.4.0-1 [57.4 kB] 77s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-generator all 1.10-4 [17.5 kB] 77s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-colorama all 0.4.6-4 [32.1 kB] 77s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-click all 8.1.7-2 [79.5 kB] 77s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-h11 all 0.14.0-1 [51.1 kB] 77s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-httpcore all 1.0.4-1 [38.8 kB] 77s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-httpx all 0.26.0-2 [61.3 kB] 77s Get:11 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-glances-api all 0.8.0-1 [6618 B] 77s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 77s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 77s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 77s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 77s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 77s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-pytest-httpx all 0.33.0-1 [23.2 kB] 77s Fetched 706 kB in 0s (5213 kB/s) 77s Selecting previously unselected package python3-all. 78s (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 ... 75552 files and directories currently installed.) 78s Preparing to unpack .../00-python3-all_3.12.6-0ubuntu1_amd64.deb ... 78s Unpacking python3-all (3.12.6-0ubuntu1) ... 78s Selecting previously unselected package python3-sniffio. 78s Preparing to unpack .../01-python3-sniffio_1.3.1-1_all.deb ... 78s Unpacking python3-sniffio (1.3.1-1) ... 78s Selecting previously unselected package python3-anyio. 78s Preparing to unpack .../02-python3-anyio_4.4.0-1_all.deb ... 78s Unpacking python3-anyio (4.4.0-1) ... 78s Selecting previously unselected package python3-async-generator. 78s Preparing to unpack .../03-python3-async-generator_1.10-4_all.deb ... 78s Unpacking python3-async-generator (1.10-4) ... 78s Selecting previously unselected package python3-colorama. 78s Preparing to unpack .../04-python3-colorama_0.4.6-4_all.deb ... 78s Unpacking python3-colorama (0.4.6-4) ... 78s Selecting previously unselected package python3-click. 78s Preparing to unpack .../05-python3-click_8.1.7-2_all.deb ... 78s Unpacking python3-click (8.1.7-2) ... 78s Selecting previously unselected package python3-h11. 78s Preparing to unpack .../06-python3-h11_0.14.0-1_all.deb ... 78s Unpacking python3-h11 (0.14.0-1) ... 78s Selecting previously unselected package python3-httpcore. 78s Preparing to unpack .../07-python3-httpcore_1.0.4-1_all.deb ... 78s Unpacking python3-httpcore (1.0.4-1) ... 78s Selecting previously unselected package python3-httpx. 78s Preparing to unpack .../08-python3-httpx_0.26.0-2_all.deb ... 78s Unpacking python3-httpx (0.26.0-2) ... 78s Selecting previously unselected package python3-glances-api. 78s Preparing to unpack .../09-python3-glances-api_0.8.0-1_all.deb ... 78s Unpacking python3-glances-api (0.8.0-1) ... 78s Selecting previously unselected package python3-iniconfig. 78s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 78s Unpacking python3-iniconfig (1.1.1-2) ... 78s Selecting previously unselected package python3-packaging. 78s Preparing to unpack .../11-python3-packaging_24.1-1_all.deb ... 78s Unpacking python3-packaging (24.1-1) ... 78s Selecting previously unselected package python3-pluggy. 78s Preparing to unpack .../12-python3-pluggy_1.5.0-1_all.deb ... 78s Unpacking python3-pluggy (1.5.0-1) ... 78s Selecting previously unselected package python3-pytest. 78s Preparing to unpack .../13-python3-pytest_8.3.3-1_all.deb ... 78s Unpacking python3-pytest (8.3.3-1) ... 78s Selecting previously unselected package python3-pytest-asyncio. 78s Preparing to unpack .../14-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 78s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 78s Selecting previously unselected package python3-pytest-httpx. 78s Preparing to unpack .../15-python3-pytest-httpx_0.33.0-1_all.deb ... 78s Unpacking python3-pytest-httpx (0.33.0-1) ... 78s Selecting previously unselected package autopkgtest-satdep. 78s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 78s Unpacking autopkgtest-satdep (0) ... 78s Setting up python3-iniconfig (1.1.1-2) ... 78s Setting up python3-sniffio (1.3.1-1) ... 79s Setting up python3-async-generator (1.10-4) ... 79s Setting up python3-anyio (4.4.0-1) ... 79s Setting up python3-colorama (0.4.6-4) ... 79s Setting up python3-all (3.12.6-0ubuntu1) ... 79s Setting up python3-click (8.1.7-2) ... 79s Setting up python3-packaging (24.1-1) ... 79s Setting up python3-h11 (0.14.0-1) ... 79s Setting up python3-pluggy (1.5.0-1) ... 80s Setting up python3-httpcore (1.0.4-1) ... 80s Setting up python3-pytest (8.3.3-1) ... 80s Setting up python3-httpx (0.26.0-2) ... 80s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 80s Setting up python3-glances-api (0.8.0-1) ... 81s Setting up python3-pytest-httpx (0.33.0-1) ... 81s Setting up autopkgtest-satdep (0) ... 81s Processing triggers for man-db (2.12.1-3) ... 84s (Reading database ... 76028 files and directories currently installed.) 84s Removing autopkgtest-satdep (0) ... 84s autopkgtest [10:27:40]: test run-tests: [----------------------- 85s ============================= test session starts ============================== 85s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 85s cachedir: .pytest_cache 85s rootdir: /tmp/autopkgtest.abH7Lg/autopkgtest_tmp 85s plugins: asyncio-0.20.3, anyio-4.4.0, httpx-0.33.0, typeguard-4.4.1 85s asyncio: mode=Mode.STRICT 85s collecting ... collected 7 items 85s 85s tests/test_responses.py::test_non_existing_endpoint PASSED [ 14%] 85s tests/test_responses.py::test_plugins_list PASSED [ 28%] 85s tests/test_responses.py::test_exisiting_endpoint FAILED [ 42%] 85s tests/test_responses.py::test_exisiting_endpoint ERROR [ 42%] 85s 85s ==================================== ERRORS ==================================== 85s _________________ ERROR at teardown of test_exisiting_endpoint _________________ 85s 85s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x756a47ef5b80> 85s request = > 85s 85s @pytest.fixture 85s def httpx_mock( 85s monkeypatch: MonkeyPatch, 85s request: FixtureRequest, 85s ) -> Generator[HTTPXMock, None, None]: 85s options = {} 85s for marker in request.node.iter_markers("httpx_mock"): 85s options = marker.kwargs | options 85s __tracebackhide__ = methodcaller("errisinstance", TypeError) 85s options = _HTTPXMockOptions(**options) 85s 85s mock = HTTPXMock(options) 85s 85s # Mock synchronous requests 85s real_handle_request = httpx.HTTPTransport.handle_request 85s 85s def mocked_handle_request( 85s transport: httpx.HTTPTransport, request: httpx.Request 85s ) -> httpx.Response: 85s if options.should_mock(request): 85s return mock._handle_request(transport, request) 85s return real_handle_request(transport, request) 85s 85s monkeypatch.setattr( 85s httpx.HTTPTransport, 85s "handle_request", 85s mocked_handle_request, 85s ) 85s 85s # Mock asynchronous requests 85s real_handle_async_request = httpx.AsyncHTTPTransport.handle_async_request 85s 85s async def mocked_handle_async_request( 85s transport: httpx.AsyncHTTPTransport, request: httpx.Request 85s ) -> httpx.Response: 85s if options.should_mock(request): 85s return await mock._handle_async_request(transport, request) 85s return await real_handle_async_request(transport, request) 85s 85s monkeypatch.setattr( 85s httpx.AsyncHTTPTransport, 85s "handle_async_request", 85s mocked_handle_async_request, 85s ) 85s 85s yield mock 85s try: 85s > mock._assert_options() 85s 85s /usr/lib/python3/dist-packages/pytest_httpx/__init__.py:67: 85s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 85s 85s self = 85s 85s def _assert_options(self) -> None: 85s if self._options.assert_all_responses_were_requested: 85s callbacks_not_executed = [ 85s matcher for matcher, _ in self._callbacks if not matcher.nb_calls 85s ] 85s matchers_description = "\n".join( 85s [f"- {matcher}" for matcher in callbacks_not_executed] 85s ) 85s 85s assert not callbacks_not_executed, ( 85s "The following responses are mocked but not requested:\n" 85s f"{matchers_description}\n" 85s "\n" 85s "If this is on purpose, refer to https://github.com/Colin-b/pytest_httpx/blob/master/README.md#allow-to-register-more-responses-than-what-will-be-requested" 85s ) 85s 85s if self._options.assert_all_requests_were_expected: 85s requests_description = "\n".join( 85s [ 85s f"- {request.method} request on {request.url}" 85s for request in self._requests_not_matched 85s ] 85s ) 85s > assert not self._requests_not_matched, ( 85s f"The following requests were not expected:\n" 85s f"{requests_description}\n" 85s "\n" 85s "If this is on purpose, refer to https://github.com/Colin-b/pytest_httpx/blob/master/README.md#allow-to-not-register-responses-for-every-request" 85s ) 85s E AssertionError: The following requests were not expected: 85s E - GET request on http://localhost:61208/api/3/pluginslist 85s E 85s E If this is on purpose, refer to https://github.com/Colin-b/pytest_httpx/blob/master/README.md#allow-to-not-register-responses-for-every-request 85s 85s /usr/lib/python3/dist-packages/pytest_httpx/_httpx_mock.py:329: AssertionError 85s =================================== FAILURES =================================== 85s ___________________________ test_exisiting_endpoint ____________________________ 85s 85s self = , endpoint = 'pluginslist' 85s 85s async def get_data(self, endpoint: str) -> None: 85s """Retrieve the data.""" 85s url = f"{self.url}/{endpoint}" 85s 85s httpx_client = ( 85s self.httpx_client 85s if self.httpx_client 85s else httpx.AsyncClient(verify=self.verify_ssl) 85s ) 85s 85s try: 85s async with httpx_client as client: 85s if self.password is None: 85s > response = await client.get(url) 85s 85s /usr/lib/python3/dist-packages/glances_api/__init__.py:59: 85s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 85s /usr/lib/python3/dist-packages/httpx/_client.py:1786: in get 85s return await self.request( 85s /usr/lib/python3/dist-packages/httpx/_client.py:1559: in request 85s return await self.send(request, auth=auth, follow_redirects=follow_redirects) 85s /usr/lib/python3/dist-packages/httpx/_client.py:1646: in send 85s response = await self._send_handling_auth( 85s /usr/lib/python3/dist-packages/httpx/_client.py:1674: in _send_handling_auth 85s response = await self._send_handling_redirects( 85s /usr/lib/python3/dist-packages/httpx/_client.py:1711: in _send_handling_redirects 85s response = await self._send_single_request(request) 85s /usr/lib/python3/dist-packages/httpx/_client.py:1748: in _send_single_request 85s response = await transport.handle_async_request(request) 85s /usr/lib/python3/dist-packages/pytest_httpx/__init__.py:56: in mocked_handle_async_request 85s return await mock._handle_async_request(transport, request) 85s /usr/lib/python3/dist-packages/pytest_httpx/_httpx_mock.py:178: in _handle_async_request 85s self._request_not_matched(real_transport, request) 85s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 85s 85s self = 85s real_transport = 85s request = 85s 85s def _request_not_matched( 85s self, 85s real_transport: Union[httpx.AsyncHTTPTransport, httpx.HTTPTransport], 85s request: httpx.Request, 85s ) -> NoReturn: 85s self._requests_not_matched.append(request) 85s > raise httpx.TimeoutException( 85s self._explain_that_no_response_was_found(real_transport, request), 85s request=request, 85s ) 85s E httpx.TimeoutException: No response can be found for GET request on http://localhost:61208/api/3/pluginslist amongst: 85s E - Already matched any request 85s E 85s E If you wanted to reuse an already matched response instead of registering it again, refer to https://github.com/Colin-b/pytest_httpx/blob/master/README.md#allow-to-register-a-response-for-more-than-one-request 85s 85s /usr/lib/python3/dist-packages/pytest_httpx/_httpx_mock.py:186: TimeoutException 85s 85s The above exception was the direct cause of the following exception: 85s 85s httpx_mock = 85s 85s @pytest.mark.asyncio 85s async def test_exisiting_endpoint(httpx_mock: HTTPXMock) -> None: 85s """Test the a valid endpoint.""" 85s httpx_mock.add_response(json=RESPONSE) 85s 85s client = Glances() 85s > await client.get_metrics("cpu") 85s 85s tests/test_responses.py:412: 85s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 85s /usr/lib/python3/dist-packages/glances_api/__init__.py:95: in get_metrics 85s await self.get_data("pluginslist") 85s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 85s 85s self = , endpoint = 'pluginslist' 85s 85s async def get_data(self, endpoint: str) -> None: 85s """Retrieve the data.""" 85s url = f"{self.url}/{endpoint}" 85s 85s httpx_client = ( 85s self.httpx_client 85s if self.httpx_client 85s else httpx.AsyncClient(verify=self.verify_ssl) 85s ) 85s 85s try: 85s async with httpx_client as client: 85s if self.password is None: 85s response = await client.get(url) 85s elif self.username is not None: 85s response = await client.get( 85s url, auth=(self.username, self.password) 85s ) 85s else: 85s raise ValueError("username and password must be provided.") 85s except (httpx.ConnectError, httpx.TimeoutException) as err: 85s > raise exceptions.GlancesApiConnectionError( 85s f"Connection to {url} failed" 85s ) from err 85s E glances_api.exceptions.GlancesApiConnectionError: Connection to http://localhost:61208/api/3/pluginslist failed 85s 85s /usr/lib/python3/dist-packages/glances_api/__init__.py:67: GlancesApiConnectionError 85s =========================== short test summary info ============================ 85s FAILED tests/test_responses.py::test_exisiting_endpoint - glances_api.excepti... 85s ERROR tests/test_responses.py::test_exisiting_endpoint - AssertionError: The ... 85s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 2 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 85s ===================== 1 failed, 2 passed, 1 error in 0.21s ===================== 85s autopkgtest [10:27:41]: test run-tests: -----------------------] 86s run-tests FAIL non-zero exit status 1 86s autopkgtest [10:27:42]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 86s autopkgtest [10:27:42]: @@@@@@@@@@@@@@@@@@@@ summary 86s run-tests FAIL non-zero exit status 1 102s virt: nova [W] Skipping flock for amd64 102s virt: Creating nova instance adt-plucky-amd64-python-glances-api-20241111-102615-juju-7f2275-prod-proposed-migration-environment-2-87da9c03-c14d-45f6-93f7-f9a7166322e7 from image adt/ubuntu-plucky-amd64-server-20241111.img (UUID 16cfd7cb-b672-4e72-8116-aeed04ab05a8)...