0s autopkgtest [17:13:04]: starting date and time: 2024-12-27 17:13:04+0000 0s autopkgtest [17:13:04]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:13:04]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.86_r6z5x/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-homeassistant-analytics --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.8-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-5.secgroup --name adt-plucky-arm64-python-homeassistant-analytics-20241227-171304-juju-7f2275-prod-proposed-migration-environment-20-02d884b1-4d69-4aeb-8ee2-ed51ed6386db --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 109s autopkgtest [17:14:53]: testbed dpkg architecture: arm64 109s autopkgtest [17:14:53]: testbed apt version: 2.9.18 109s autopkgtest [17:14:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 109s autopkgtest [17:14:53]: testbed release detected to be: None 110s autopkgtest [17:14:54]: updating testbed package index (apt update) 110s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 111s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 111s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 111s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 111s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 111s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 111s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [56.0 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [620 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [74.2 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [503 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 111s Fetched 1417 kB in 1s (1630 kB/s) 112s Reading package lists... 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 114s Calculating upgrade... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 115s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 115s autopkgtest [17:14:59]: upgrading testbed (apt dist-upgrade and autopurge) 115s Reading package lists... 116s Building dependency tree... 116s Reading state information... 116s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 117s Entering ResolveByKeep 118s 118s The following packages will be upgraded: 118s libpython3-stdlib python3 python3-minimal 118s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 61.5 kB of archives. 118s After this operation, 0 B of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.8-1 [27.5 kB] 118s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.8-1 [23.9 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.8-1 [10.1 kB] 119s Fetched 61.5 kB in 0s (221 kB/s) 119s (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 ... 80060 files and directories currently installed.) 119s Preparing to unpack .../python3-minimal_3.12.8-1_arm64.deb ... 119s Unpacking python3-minimal (3.12.8-1) over (3.12.7-1) ... 119s Setting up python3-minimal (3.12.8-1) ... 119s (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 ... 80060 files and directories currently installed.) 119s Preparing to unpack .../python3_3.12.8-1_arm64.deb ... 119s Unpacking python3 (3.12.8-1) over (3.12.7-1) ... 119s Preparing to unpack .../libpython3-stdlib_3.12.8-1_arm64.deb ... 119s Unpacking libpython3-stdlib:arm64 (3.12.8-1) over (3.12.7-1) ... 120s Setting up libpython3-stdlib:arm64 (3.12.8-1) ... 120s Setting up python3 (3.12.8-1) ... 120s Processing triggers for man-db (2.13.0-1) ... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 122s Starting pkgProblemResolver with broken count: 0 122s Starting 2 pkgProblemResolver with broken count: 0 122s Done 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [17:15:09]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 125s autopkgtest [17:15:09]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 127s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (dsc) [2711 B] 127s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (tar) [1747 kB] 127s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (diff) [2540 B] 127s gpgv: Signature made Sun Nov 3 16:32:42 2024 UTC 127s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 127s gpgv: Can't check signature: No public key 127s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.8.0-1.dsc: no acceptable signature found 127s autopkgtest [17:15:11]: testing package python-homeassistant-analytics version 0.8.0-1 128s autopkgtest [17:15:12]: build not needed 129s autopkgtest [17:15:13]: test run-tests: preparing testbed 129s Reading package lists... 129s Building dependency tree... 129s Reading state information... 130s Starting pkgProblemResolver with broken count: 0 130s Starting 2 pkgProblemResolver with broken count: 0 130s Done 131s The following NEW packages will be installed: 131s libpython3.13-minimal libpython3.13-stdlib python3-aiohttp 131s python3-aioresponses python3-aiosignal python3-all python3-async-generator 131s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 131s python3-msgpack python3-multidict python3-orjson python3-packaging 131s python3-pluggy python3-pytest python3-pytest-asyncio 131s python3-python-homeassistant-analytics python3-syrupy python3-tomli 131s python3-tomli-w python3-yarl python3.13 python3.13-minimal 131s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 131s Need to get 7314 kB of archives. 131s After this operation, 31.0 MB of additional disk space will be used. 131s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 131s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 131s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 131s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1build1 [38.3 kB] 131s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-yarl arm64 1.9.4-1 [68.2 kB] 131s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 5.0.1-1 [6830 B] 131s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1build1 [59.0 kB] 131s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.1-1 [5172 B] 131s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohttp arm64 3.9.5-1 [278 kB] 131s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 131s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aioresponses all 0.7.6-2 [10.9 kB] 131s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 131s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.8-1 [892 B] 131s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 131s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 131s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-msgpack arm64 1.0.3-3build3 [106 kB] 131s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-orjson arm64 3.10.7-2 [282 kB] 132s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 132s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli-w all 1.0.0-2 [7368 B] 132s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mashumaro all 3.13.1-4 [87.3 kB] 132s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 132s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 132s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 132s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-python-homeassistant-analytics all 0.8.0-1 [9560 B] 132s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-syrupy all 4.7.2-1 [44.3 kB] 132s Fetched 7314 kB in 1s (7035 kB/s) 132s Selecting previously unselected package libpython3.13-minimal:arm64. 132s (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 ... 80060 files and directories currently installed.) 132s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_arm64.deb ... 132s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 132s Selecting previously unselected package python3.13-minimal. 132s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_arm64.deb ... 132s Unpacking python3.13-minimal (3.13.1-2) ... 132s Selecting previously unselected package libpython3.13-stdlib:arm64. 132s Preparing to unpack .../02-libpython3.13-stdlib_3.13.1-2_arm64.deb ... 132s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 132s Selecting previously unselected package python3-multidict. 132s Preparing to unpack .../03-python3-multidict_6.1.0-1build1_arm64.deb ... 132s Unpacking python3-multidict (6.1.0-1build1) ... 132s Selecting previously unselected package python3-yarl. 132s Preparing to unpack .../04-python3-yarl_1.9.4-1_arm64.deb ... 132s Unpacking python3-yarl (1.9.4-1) ... 132s Selecting previously unselected package python3-async-timeout. 132s Preparing to unpack .../05-python3-async-timeout_5.0.1-1_all.deb ... 132s Unpacking python3-async-timeout (5.0.1-1) ... 132s Selecting previously unselected package python3-frozenlist. 133s Preparing to unpack .../06-python3-frozenlist_1.5.0-1build1_arm64.deb ... 133s Unpacking python3-frozenlist (1.5.0-1build1) ... 133s Selecting previously unselected package python3-aiosignal. 133s Preparing to unpack .../07-python3-aiosignal_1.3.1-1_all.deb ... 133s Unpacking python3-aiosignal (1.3.1-1) ... 133s Selecting previously unselected package python3-aiohttp. 133s Preparing to unpack .../08-python3-aiohttp_3.9.5-1_arm64.deb ... 133s Unpacking python3-aiohttp (3.9.5-1) ... 133s Selecting previously unselected package python3-packaging. 133s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 133s Unpacking python3-packaging (24.2-1) ... 133s Selecting previously unselected package python3-aioresponses. 133s Preparing to unpack .../10-python3-aioresponses_0.7.6-2_all.deb ... 133s Unpacking python3-aioresponses (0.7.6-2) ... 133s Selecting previously unselected package python3.13. 133s Preparing to unpack .../11-python3.13_3.13.1-2_arm64.deb ... 133s Unpacking python3.13 (3.13.1-2) ... 133s Selecting previously unselected package python3-all. 133s Preparing to unpack .../12-python3-all_3.12.8-1_arm64.deb ... 133s Unpacking python3-all (3.12.8-1) ... 133s Selecting previously unselected package python3-async-generator. 133s Preparing to unpack .../13-python3-async-generator_1.10-4_all.deb ... 133s Unpacking python3-async-generator (1.10-4) ... 133s Selecting previously unselected package python3-iniconfig. 133s Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... 133s Unpacking python3-iniconfig (1.1.1-2) ... 133s Selecting previously unselected package python3-msgpack. 133s Preparing to unpack .../15-python3-msgpack_1.0.3-3build3_arm64.deb ... 133s Unpacking python3-msgpack (1.0.3-3build3) ... 133s Selecting previously unselected package python3-orjson. 133s Preparing to unpack .../16-python3-orjson_3.10.7-2_arm64.deb ... 133s Unpacking python3-orjson (3.10.7-2) ... 133s Selecting previously unselected package python3-tomli. 133s Preparing to unpack .../17-python3-tomli_2.0.1-2_all.deb ... 133s Unpacking python3-tomli (2.0.1-2) ... 133s Selecting previously unselected package python3-tomli-w. 133s Preparing to unpack .../18-python3-tomli-w_1.0.0-2_all.deb ... 133s Unpacking python3-tomli-w (1.0.0-2) ... 133s Selecting previously unselected package python3-mashumaro. 133s Preparing to unpack .../19-python3-mashumaro_3.13.1-4_all.deb ... 133s Unpacking python3-mashumaro (3.13.1-4) ... 133s Selecting previously unselected package python3-pluggy. 133s Preparing to unpack .../20-python3-pluggy_1.5.0-1_all.deb ... 133s Unpacking python3-pluggy (1.5.0-1) ... 133s Selecting previously unselected package python3-pytest. 133s Preparing to unpack .../21-python3-pytest_8.3.3-1_all.deb ... 133s Unpacking python3-pytest (8.3.3-1) ... 133s Selecting previously unselected package python3-pytest-asyncio. 133s Preparing to unpack .../22-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 133s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 133s Selecting previously unselected package python3-python-homeassistant-analytics. 133s Preparing to unpack .../23-python3-python-homeassistant-analytics_0.8.0-1_all.deb ... 133s Unpacking python3-python-homeassistant-analytics (0.8.0-1) ... 133s Selecting previously unselected package python3-syrupy. 133s Preparing to unpack .../24-python3-syrupy_4.7.2-1_all.deb ... 133s Unpacking python3-syrupy (4.7.2-1) ... 133s Setting up python3-iniconfig (1.1.1-2) ... 134s Setting up python3-orjson (3.10.7-2) ... 134s Setting up python3-async-generator (1.10-4) ... 134s Setting up python3-tomli (2.0.1-2) ... 134s Setting up python3-multidict (6.1.0-1build1) ... 134s Setting up python3-frozenlist (1.5.0-1build1) ... 135s Setting up python3-aiosignal (1.3.1-1) ... 135s Setting up python3-async-timeout (5.0.1-1) ... 135s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 135s Setting up python3-packaging (24.2-1) ... 135s Setting up python3-pluggy (1.5.0-1) ... 136s Setting up python3.13-minimal (3.13.1-2) ... 136s Setting up python3-msgpack (1.0.3-3build3) ... 137s Setting up python3-tomli-w (1.0.0-2) ... 137s Setting up python3-yarl (1.9.4-1) ... 137s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 137s Setting up python3-mashumaro (3.13.1-4) ... 137s Setting up python3.13 (3.13.1-2) ... 138s Setting up python3-pytest (8.3.3-1) ... 139s Setting up python3-syrupy (4.7.2-1) ... 139s Setting up python3-aiohttp (3.9.5-1) ... 140s Setting up python3-all (3.12.8-1) ... 140s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 140s Setting up python3-aioresponses (0.7.6-2) ... 140s Setting up python3-python-homeassistant-analytics (0.8.0-1) ... 141s Processing triggers for man-db (2.13.0-1) ... 141s Processing triggers for systemd (257-2ubuntu1) ... 142s autopkgtest [17:15:26]: test run-tests: [----------------------- 143s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 143s 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" 143s 143s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 143s ============================= test session starts ============================== 143s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 143s cachedir: .pytest_cache 143s rootdir: /tmp/autopkgtest.HyUZwK/autopkgtest_tmp 143s plugins: asyncio-0.24.0a1, syrupy-4.7.2, typeguard-4.4.1 143s asyncio: mode=Mode.AUTO, default_loop_scope=None 143s collecting ... collected 10 items 143s 143s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 10%] 143s 143s =================================== FAILURES =================================== 143s _________________________ test_putting_in_own_session __________________________ 143s 143s responses = 143s 143s async def test_putting_in_own_session( 143s responses: aioresponses, 143s ) -> None: 143s """Test putting in own session.""" 143s responses.get( 143s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 143s status=200, 143s body=load_fixture("data.json"), 143s ) 143s async with aiohttp.ClientSession() as session: 143s analytics = HomeassistantAnalyticsClient(session=session) 143s > await analytics.get_analytics() 143s 143s tests/test_python_homeassistant_analytics.py:34: 143s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 143s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:89: in get_analytics 143s response = await self._request("analytics.home-assistant.io", "data.json") 143s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:61: in _request 143s response = await self.session.get( 143s :3: in _request 143s ??? 143s /usr/lib/python3.13/unittest/mock.py:2330: in _execute_mock_call 143s result = await effect(*args, **kwargs) 143s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 143s 143s self = 143s orig_self = 143s method = 'GET', url = URL('https://analytics.home-assistant.io:443/data.json') 143s args = () 143s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 143s url_origin = URL('https://analytics.home-assistant.io:443/data.json') 143s url_str = 'https://analytics.home-assistant.io:443/data.json' 143s key = ('GET', URL('https://analytics.home-assistant.io:443/data.json')) 143s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 143s response = None 143s 143s async def _request_mock(self, orig_self: ClientSession, 143s method: str, url: 'Union[URL, str]', 143s *args: Tuple, 143s **kwargs: Any) -> 'ClientResponse': 143s """Return mocked response object or raise connection error.""" 143s if orig_self.closed: 143s raise RuntimeError('Session is closed') 143s 143s url_origin = url 143s url = normalize_url(merge_params(url, kwargs.get('params'))) 143s url_str = str(url) 143s for prefix in self._passthrough: 143s if url_str.startswith(prefix): 143s return (await self.patcher.temp_original( 143s orig_self, method, url_origin, *args, **kwargs 143s )) 143s 143s key = (method, url) 143s self.requests.setdefault(key, []) 143s request_call = self._build_request_call(method, *args, **kwargs) 143s self.requests[key].append(request_call) 143s 143s response = await self.match(method, url, **kwargs) 143s 143s if response is None: 143s > raise ClientConnectionError( 143s 'Connection refused: {} {}'.format(method, url) 143s ) 143s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io:443/data.json 143s 143s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 143s =========================== short test summary info ============================ 143s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 143s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 143s ============================== 1 failed in 0.11s =============================== 144s autopkgtest [17:15:28]: test run-tests: -----------------------] 144s run-tests FAIL non-zero exit status 1 144s autopkgtest [17:15:28]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 145s autopkgtest [17:15:29]: @@@@@@@@@@@@@@@@@@@@ summary 145s run-tests FAIL non-zero exit status 1 161s nova [W] Using flock in prodstack6-arm64 161s Creating nova instance adt-plucky-arm64-python-homeassistant-analytics-20241227-171304-juju-7f2275-prod-proposed-migration-environment-20-02d884b1-4d69-4aeb-8ee2-ed51ed6386db from image adt/ubuntu-plucky-arm64-server-20241227.img (UUID 738fbed8-b15b-470e-9f16-b6f749c8a417)... 161s nova [W] Timed out waiting for 0fac210b-71d8-4a9a-a8cb-bd0a89fe6fd2 to get deleted.