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