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-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1atjpkey/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-14.secgroup --name adt-plucky-s390x-python-homeassistant-analytics-20241227-171305-juju-7f2275-prod-proposed-migration-environment-20-1f563f83-e98a-439a-933d-640ea791d990 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -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/ 97s autopkgtest [17:14:42]: testbed dpkg architecture: s390x 97s autopkgtest [17:14:42]: testbed apt version: 2.9.18 97s autopkgtest [17:14:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 97s autopkgtest [17:14:42]: testbed release detected to be: None 98s autopkgtest [17:14:43]: updating testbed package index (apt update) 98s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 99s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 99s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 99s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 99s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [56.0 kB] 99s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [620 kB] 99s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 99s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 99s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [57.3 kB] 99s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 99s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [469 kB] 99s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4260 B] 99s Fetched 1303 kB in 1s (1538 kB/s) 100s Reading package lists... 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s Calculating upgrade... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 101s autopkgtest [17:14:46]: upgrading testbed (apt dist-upgrade and autopurge) 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 101s Starting 2 pkgProblemResolver with broken count: 0 101s Done 102s Entering ResolveByKeep 102s 102s The following packages will be upgraded: 102s libpython3-stdlib python3 python3-minimal 102s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Need to get 61.5 kB of archives. 102s After this operation, 0 B of additional disk space will be used. 102s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.8-1 [27.5 kB] 102s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.8-1 [23.9 kB] 102s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.8-1 [10.1 kB] 102s Fetched 61.5 kB in 0s (230 kB/s) 102s (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 ... 55491 files and directories currently installed.) 102s Preparing to unpack .../python3-minimal_3.12.8-1_s390x.deb ... 102s Unpacking python3-minimal (3.12.8-1) over (3.12.7-1) ... 102s Setting up python3-minimal (3.12.8-1) ... 102s (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 ... 55491 files and directories currently installed.) 102s Preparing to unpack .../python3_3.12.8-1_s390x.deb ... 103s Unpacking python3 (3.12.8-1) over (3.12.7-1) ... 103s Preparing to unpack .../libpython3-stdlib_3.12.8-1_s390x.deb ... 103s Unpacking libpython3-stdlib:s390x (3.12.8-1) over (3.12.7-1) ... 103s Setting up libpython3-stdlib:s390x (3.12.8-1) ... 103s Setting up python3 (3.12.8-1) ... 103s Processing triggers for man-db (2.13.0-1) ... 103s Reading package lists... 104s Building dependency tree... 104s Reading state information... 104s Starting pkgProblemResolver with broken count: 0 104s Starting 2 pkgProblemResolver with broken count: 0 104s Done 104s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s autopkgtest [17:14:51]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 106s autopkgtest [17:14:51]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 108s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (dsc) [2711 B] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (tar) [1747 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (diff) [2540 B] 108s gpgv: Signature made Sun Nov 3 16:32:42 2024 UTC 108s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 108s gpgv: Can't check signature: No public key 108s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.8.0-1.dsc: no acceptable signature found 108s autopkgtest [17:14:53]: testing package python-homeassistant-analytics version 0.8.0-1 108s autopkgtest [17:14:53]: build not needed 109s autopkgtest [17:14:54]: test run-tests: preparing testbed 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Starting pkgProblemResolver with broken count: 0 110s Starting 2 pkgProblemResolver with broken count: 0 110s Done 110s The following NEW packages will be installed: 110s libpython3.13-minimal libpython3.13-stdlib python3-aiohttp 110s python3-aioresponses python3-aiosignal python3-all python3-async-generator 110s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 110s python3-msgpack python3-multidict python3-orjson python3-packaging 110s python3-pluggy python3-pytest python3-pytest-asyncio 110s python3-python-homeassistant-analytics python3-syrupy python3-tomli 110s python3-tomli-w python3-yarl python3.13 python3.13-minimal 110s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 7521 kB of archives. 110s After this operation, 29.8 MB of additional disk space will be used. 110s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.1-2 [880 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.1-2 [2364 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.1-2 [2074 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-multidict s390x 6.1.0-1build1 [38.4 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-yarl s390x 1.9.4-1 [72.8 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-timeout all 5.0.1-1 [6830 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-frozenlist s390x 1.5.0-1build1 [64.2 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiosignal all 1.3.1-1 [5172 B] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiohttp s390x 3.9.5-1 [294 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aioresponses all 0.7.6-2 [10.9 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.1-2 [729 kB] 111s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-all s390x 3.12.8-1 [894 B] 111s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 111s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 111s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x python3-msgpack s390x 1.0.3-3build3 [117 kB] 111s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-orjson s390x 3.10.7-2 [336 kB] 111s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli all 2.0.1-2 [16.5 kB] 111s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli-w all 1.0.0-2 [7368 B] 111s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mashumaro all 3.13.1-4 [87.3 kB] 111s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 111s Get:22 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 111s Get:23 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 111s Get:24 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-python-homeassistant-analytics all 0.8.0-1 [9560 B] 111s Get:25 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-syrupy all 4.7.2-1 [44.3 kB] 111s Fetched 7521 kB in 1s (8240 kB/s) 111s Selecting previously unselected package libpython3.13-minimal:s390x. 111s (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 ... 55491 files and directories currently installed.) 111s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_s390x.deb ... 111s Unpacking libpython3.13-minimal:s390x (3.13.1-2) ... 111s Selecting previously unselected package python3.13-minimal. 111s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_s390x.deb ... 111s Unpacking python3.13-minimal (3.13.1-2) ... 111s Selecting previously unselected package libpython3.13-stdlib:s390x. 111s Preparing to unpack .../02-libpython3.13-stdlib_3.13.1-2_s390x.deb ... 111s Unpacking libpython3.13-stdlib:s390x (3.13.1-2) ... 111s Selecting previously unselected package python3-multidict. 111s Preparing to unpack .../03-python3-multidict_6.1.0-1build1_s390x.deb ... 111s Unpacking python3-multidict (6.1.0-1build1) ... 111s Selecting previously unselected package python3-yarl. 111s Preparing to unpack .../04-python3-yarl_1.9.4-1_s390x.deb ... 111s Unpacking python3-yarl (1.9.4-1) ... 111s Selecting previously unselected package python3-async-timeout. 111s Preparing to unpack .../05-python3-async-timeout_5.0.1-1_all.deb ... 111s Unpacking python3-async-timeout (5.0.1-1) ... 111s Selecting previously unselected package python3-frozenlist. 111s Preparing to unpack .../06-python3-frozenlist_1.5.0-1build1_s390x.deb ... 111s Unpacking python3-frozenlist (1.5.0-1build1) ... 111s Selecting previously unselected package python3-aiosignal. 111s Preparing to unpack .../07-python3-aiosignal_1.3.1-1_all.deb ... 111s Unpacking python3-aiosignal (1.3.1-1) ... 111s Selecting previously unselected package python3-aiohttp. 111s Preparing to unpack .../08-python3-aiohttp_3.9.5-1_s390x.deb ... 111s Unpacking python3-aiohttp (3.9.5-1) ... 111s Selecting previously unselected package python3-packaging. 111s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 111s Unpacking python3-packaging (24.2-1) ... 111s Selecting previously unselected package python3-aioresponses. 111s Preparing to unpack .../10-python3-aioresponses_0.7.6-2_all.deb ... 111s Unpacking python3-aioresponses (0.7.6-2) ... 111s Selecting previously unselected package python3.13. 111s Preparing to unpack .../11-python3.13_3.13.1-2_s390x.deb ... 111s Unpacking python3.13 (3.13.1-2) ... 111s Selecting previously unselected package python3-all. 111s Preparing to unpack .../12-python3-all_3.12.8-1_s390x.deb ... 111s Unpacking python3-all (3.12.8-1) ... 111s Selecting previously unselected package python3-async-generator. 111s Preparing to unpack .../13-python3-async-generator_1.10-4_all.deb ... 111s Unpacking python3-async-generator (1.10-4) ... 111s Selecting previously unselected package python3-iniconfig. 111s Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... 111s Unpacking python3-iniconfig (1.1.1-2) ... 111s Selecting previously unselected package python3-msgpack. 112s Preparing to unpack .../15-python3-msgpack_1.0.3-3build3_s390x.deb ... 112s Unpacking python3-msgpack (1.0.3-3build3) ... 112s Selecting previously unselected package python3-orjson. 112s Preparing to unpack .../16-python3-orjson_3.10.7-2_s390x.deb ... 112s Unpacking python3-orjson (3.10.7-2) ... 112s Selecting previously unselected package python3-tomli. 112s Preparing to unpack .../17-python3-tomli_2.0.1-2_all.deb ... 112s Unpacking python3-tomli (2.0.1-2) ... 112s Selecting previously unselected package python3-tomli-w. 112s Preparing to unpack .../18-python3-tomli-w_1.0.0-2_all.deb ... 112s Unpacking python3-tomli-w (1.0.0-2) ... 112s Selecting previously unselected package python3-mashumaro. 112s Preparing to unpack .../19-python3-mashumaro_3.13.1-4_all.deb ... 112s Unpacking python3-mashumaro (3.13.1-4) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../20-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../21-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Selecting previously unselected package python3-pytest-asyncio. 112s Preparing to unpack .../22-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 112s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 112s Selecting previously unselected package python3-python-homeassistant-analytics. 112s Preparing to unpack .../23-python3-python-homeassistant-analytics_0.8.0-1_all.deb ... 112s Unpacking python3-python-homeassistant-analytics (0.8.0-1) ... 112s Selecting previously unselected package python3-syrupy. 112s Preparing to unpack .../24-python3-syrupy_4.7.2-1_all.deb ... 112s Unpacking python3-syrupy (4.7.2-1) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up python3-orjson (3.10.7-2) ... 112s Setting up python3-async-generator (1.10-4) ... 112s Setting up python3-tomli (2.0.1-2) ... 112s Setting up python3-multidict (6.1.0-1build1) ... 112s Setting up python3-frozenlist (1.5.0-1build1) ... 112s Setting up python3-aiosignal (1.3.1-1) ... 113s Setting up python3-async-timeout (5.0.1-1) ... 113s Setting up libpython3.13-minimal:s390x (3.13.1-2) ... 113s Setting up python3-packaging (24.2-1) ... 113s Setting up python3-pluggy (1.5.0-1) ... 113s Setting up python3.13-minimal (3.13.1-2) ... 114s Setting up python3-msgpack (1.0.3-3build3) ... 114s Setting up python3-tomli-w (1.0.0-2) ... 114s Setting up python3-yarl (1.9.4-1) ... 114s Setting up libpython3.13-stdlib:s390x (3.13.1-2) ... 114s Setting up python3-mashumaro (3.13.1-4) ... 114s Setting up python3.13 (3.13.1-2) ... 115s Setting up python3-pytest (8.3.3-1) ... 115s Setting up python3-syrupy (4.7.2-1) ... 116s Setting up python3-aiohttp (3.9.5-1) ... 116s Setting up python3-all (3.12.8-1) ... 116s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 116s Setting up python3-aioresponses (0.7.6-2) ... 116s Setting up python3-python-homeassistant-analytics (0.8.0-1) ... 116s Processing triggers for man-db (2.13.0-1) ... 117s Processing triggers for systemd (257-2ubuntu1) ... 117s autopkgtest [17:15:02]: test run-tests: [----------------------- 118s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 118s 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" 118s 118s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 118s ============================= test session starts ============================== 118s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 118s cachedir: .pytest_cache 118s rootdir: /tmp/autopkgtest.7AJSTE/autopkgtest_tmp 118s plugins: syrupy-4.7.2, typeguard-4.4.1, asyncio-0.24.0a1 118s asyncio: mode=Mode.AUTO, default_loop_scope=None 118s collecting ... collected 10 items 118s 118s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 10%] 118s 118s =================================== FAILURES =================================== 118s _________________________ test_putting_in_own_session __________________________ 118s 118s responses = 118s 118s async def test_putting_in_own_session( 118s responses: aioresponses, 118s ) -> None: 118s """Test putting in own session.""" 118s responses.get( 118s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 118s status=200, 118s body=load_fixture("data.json"), 118s ) 118s async with aiohttp.ClientSession() as session: 118s analytics = HomeassistantAnalyticsClient(session=session) 118s > await analytics.get_analytics() 118s 118s tests/test_python_homeassistant_analytics.py:34: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:89: in get_analytics 118s response = await self._request("analytics.home-assistant.io", "data.json") 118s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:61: in _request 118s response = await self.session.get( 118s :3: in _request 118s ??? 118s /usr/lib/python3.13/unittest/mock.py:2330: in _execute_mock_call 118s result = await effect(*args, **kwargs) 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s orig_self = 118s method = 'GET', url = URL('https://analytics.home-assistant.io:443/data.json') 118s args = () 118s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 118s url_origin = URL('https://analytics.home-assistant.io:443/data.json') 118s url_str = 'https://analytics.home-assistant.io:443/data.json' 118s key = ('GET', URL('https://analytics.home-assistant.io:443/data.json')) 118s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 118s response = None 118s 118s async def _request_mock(self, orig_self: ClientSession, 118s method: str, url: 'Union[URL, str]', 118s *args: Tuple, 118s **kwargs: Any) -> 'ClientResponse': 118s """Return mocked response object or raise connection error.""" 118s if orig_self.closed: 118s raise RuntimeError('Session is closed') 118s 118s url_origin = url 118s url = normalize_url(merge_params(url, kwargs.get('params'))) 118s url_str = str(url) 118s for prefix in self._passthrough: 118s if url_str.startswith(prefix): 118s return (await self.patcher.temp_original( 118s orig_self, method, url_origin, *args, **kwargs 118s )) 118s 118s key = (method, url) 118s self.requests.setdefault(key, []) 118s request_call = self._build_request_call(method, *args, **kwargs) 118s self.requests[key].append(request_call) 118s 118s response = await self.match(method, url, **kwargs) 118s 118s if response is None: 118s > raise ClientConnectionError( 118s 'Connection refused: {} {}'.format(method, url) 118s ) 118s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io:443/data.json 118s 118s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 118s =========================== short test summary info ============================ 118s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 118s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 118s ============================== 1 failed in 0.07s =============================== 118s autopkgtest [17:15:03]: test run-tests: -----------------------] 119s run-tests FAIL non-zero exit status 1 119s autopkgtest [17:15:04]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 119s autopkgtest [17:15:04]: @@@@@@@@@@@@@@@@@@@@ summary 119s run-tests FAIL non-zero exit status 1 135s nova [W] Using flock in prodstack6-s390x 135s flock: timeout while waiting to get lock 135s Creating nova instance adt-plucky-s390x-python-homeassistant-analytics-20241227-171305-juju-7f2275-prod-proposed-migration-environment-20-1f563f83-e98a-439a-933d-640ea791d990 from image adt/ubuntu-plucky-s390x-server-20241227.img (UUID d15d5a0a-5e13-427a-80a7-01b67a54bf40)... 135s nova [W] Timed out waiting for 313221fb-14d8-4776-8c29-770b1f636f19 to get deleted.