0s autopkgtest [09:34:39]: starting date and time: 2024-12-03 09:34:39+0000 0s autopkgtest [09:34:39]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [09:34:39]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bgefg3t5/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python-syrupy --apt-upgrade python-homeassistant-analytics --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-syrupy/4.8.0-1 -- lxd -r lxd-armhf-10.145.243.232 lxd-armhf-10.145.243.232:autopkgtest/ubuntu/plucky/armhf 58s autopkgtest [09:35:37]: testbed dpkg architecture: armhf 61s autopkgtest [09:35:40]: testbed apt version: 2.9.14ubuntu1 69s autopkgtest [09:35:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 73s autopkgtest [09:35:52]: testbed release detected to be: None 92s autopkgtest [09:36:11]: updating testbed package index (apt update) 97s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 97s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 97s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 97s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 97s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [65.3 kB] 97s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 97s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 97s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [781 kB] 98s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [119 kB] 98s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B] 98s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [622 kB] 98s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [7468 B] 98s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB] 103s Get:14 http://ftpmaster.internal/ubuntu plucky/main Sources [1381 kB] 103s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 103s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB] 103s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 106s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [174 kB] 107s Fetched 40.7 MB in 11s (3798 kB/s) 109s Reading package lists... 121s autopkgtest [09:36:40]: upgrading testbed (apt dist-upgrade and autopurge) 125s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 127s Entering ResolveByKeep 127s 128s The following packages will be upgraded: 128s fwupd gcc-14-base libatomic1 libfwupd3 libgcc-s1 libstdc++6 128s python3-software-properties software-properties-common 128s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Need to get 6003 kB of archives. 128s After this operation, 1024 B of additional disk space will be used. 128s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B] 128s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB] 128s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB] 129s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB] 129s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB] 129s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB] 129s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB] 129s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB] 130s Fetched 6003 kB in 1s (7359 kB/s) 130s (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 ... 59970 files and directories currently installed.) 130s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ... 130s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 130s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ... 130s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 130s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ... 130s (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 ... 59970 files and directories currently installed.) 130s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ... 130s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 130s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ... 130s (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 ... 59970 files and directories currently installed.) 130s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ... 130s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 130s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ... 130s (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 ... 59970 files and directories currently installed.) 130s Preparing to unpack .../fwupd_2.0.2-2_armhf.deb ... 130s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ... 131s Preparing to unpack .../libfwupd3_2.0.2-2_armhf.deb ... 131s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ... 131s Preparing to unpack .../software-properties-common_0.107_all.deb ... 131s Unpacking software-properties-common (0.107) over (0.105) ... 131s Preparing to unpack .../python3-software-properties_0.107_all.deb ... 131s Unpacking python3-software-properties (0.107) over (0.105) ... 131s Setting up libfwupd3:armhf (2.0.2-2) ... 131s Setting up python3-software-properties (0.107) ... 131s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ... 131s Setting up fwupd (2.0.2-2) ... 132s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 132s fwupd.service is a disabled or a static unit not running, not starting it. 132s Setting up software-properties-common (0.107) ... 132s Processing triggers for libc-bin (2.40-1ubuntu3) ... 132s Processing triggers for man-db (2.13.0-1) ... 133s Processing triggers for dbus (1.14.10-4ubuntu5) ... 136s Reading package lists... 136s Building dependency tree... 136s Reading state information... 137s Starting pkgProblemResolver with broken count: 0 137s Starting 2 pkgProblemResolver with broken count: 0 137s Done 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 141s autopkgtest [09:37:00]: rebooting testbed after setup commands that affected boot 240s autopkgtest [09:38:39]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 306s autopkgtest [09:39:45]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 334s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (dsc) [2711 B] 334s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (tar) [1747 kB] 334s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (diff) [2540 B] 335s gpgv: Signature made Sun Nov 3 16:32:42 2024 UTC 335s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 335s gpgv: Can't check signature: No public key 335s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.8.0-1.dsc: no acceptable signature found 335s autopkgtest [09:40:14]: testing package python-homeassistant-analytics version 0.8.0-1 339s autopkgtest [09:40:18]: build not needed 346s autopkgtest [09:40:25]: test run-tests: preparing testbed 350s Reading package lists... 350s Building dependency tree... 350s Reading state information... 351s Starting pkgProblemResolver with broken count: 0 351s Starting 2 pkgProblemResolver with broken count: 0 351s Done 351s The following NEW packages will be installed: 352s python3-aiohttp python3-aioresponses python3-aiosignal python3-all 352s python3-async-generator python3-async-timeout python3-frozenlist 352s python3-iniconfig python3-mashumaro python3-msgpack python3-multidict 352s python3-orjson python3-packaging python3-pluggy python3-pytest 352s python3-pytest-asyncio python3-python-homeassistant-analytics python3-syrupy 352s python3-tomli python3-tomli-w python3-yarl 352s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 352s Need to get 1373 kB of archives. 352s After this operation, 5889 kB of additional disk space will be used. 352s Get:1 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-multidict armhf 6.1.0-1build1 [34.6 kB] 352s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-yarl armhf 1.9.4-1 [67.1 kB] 352s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-timeout all 4.0.3-1 [6412 B] 352s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-frozenlist armhf 1.5.0-1build1 [56.1 kB] 352s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiosignal all 1.3.1-1 [5172 B] 352s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiohttp armhf 3.9.5-1 [274 kB] 352s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 352s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aioresponses all 0.7.6-2 [10.9 kB] 352s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 352s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 352s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 352s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf python3-msgpack armhf 1.0.3-3build3 [106 kB] 352s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-orjson armhf 3.10.7-2 [289 kB] 352s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli all 2.0.1-2 [16.5 kB] 352s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli-w all 1.0.0-2 [7368 B] 352s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mashumaro all 3.13.1-4 [87.3 kB] 352s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 352s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 352s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 352s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-python-homeassistant-analytics all 0.8.0-1 [9560 B] 352s Get:21 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-syrupy all 4.8.0-1 [44.7 kB] 353s Fetched 1373 kB in 1s (1430 kB/s) 353s Selecting previously unselected package python3-multidict. 353s (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 ... 59970 files and directories currently installed.) 353s Preparing to unpack .../00-python3-multidict_6.1.0-1build1_armhf.deb ... 353s Unpacking python3-multidict (6.1.0-1build1) ... 353s Selecting previously unselected package python3-yarl. 353s Preparing to unpack .../01-python3-yarl_1.9.4-1_armhf.deb ... 353s Unpacking python3-yarl (1.9.4-1) ... 353s Selecting previously unselected package python3-async-timeout. 353s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 353s Unpacking python3-async-timeout (4.0.3-1) ... 353s Selecting previously unselected package python3-frozenlist. 353s Preparing to unpack .../03-python3-frozenlist_1.5.0-1build1_armhf.deb ... 353s Unpacking python3-frozenlist (1.5.0-1build1) ... 353s Selecting previously unselected package python3-aiosignal. 353s Preparing to unpack .../04-python3-aiosignal_1.3.1-1_all.deb ... 353s Unpacking python3-aiosignal (1.3.1-1) ... 353s Selecting previously unselected package python3-aiohttp. 353s Preparing to unpack .../05-python3-aiohttp_3.9.5-1_armhf.deb ... 353s Unpacking python3-aiohttp (3.9.5-1) ... 353s Selecting previously unselected package python3-packaging. 353s Preparing to unpack .../06-python3-packaging_24.2-1_all.deb ... 353s Unpacking python3-packaging (24.2-1) ... 353s Selecting previously unselected package python3-aioresponses. 353s Preparing to unpack .../07-python3-aioresponses_0.7.6-2_all.deb ... 353s Unpacking python3-aioresponses (0.7.6-2) ... 353s Selecting previously unselected package python3-all. 353s Preparing to unpack .../08-python3-all_3.12.6-0ubuntu1_armhf.deb ... 353s Unpacking python3-all (3.12.6-0ubuntu1) ... 353s Selecting previously unselected package python3-async-generator. 353s Preparing to unpack .../09-python3-async-generator_1.10-4_all.deb ... 353s Unpacking python3-async-generator (1.10-4) ... 353s Selecting previously unselected package python3-iniconfig. 353s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 353s Unpacking python3-iniconfig (1.1.1-2) ... 353s Selecting previously unselected package python3-msgpack. 353s Preparing to unpack .../11-python3-msgpack_1.0.3-3build3_armhf.deb ... 353s Unpacking python3-msgpack (1.0.3-3build3) ... 353s Selecting previously unselected package python3-orjson. 353s Preparing to unpack .../12-python3-orjson_3.10.7-2_armhf.deb ... 353s Unpacking python3-orjson (3.10.7-2) ... 353s Selecting previously unselected package python3-tomli. 353s Preparing to unpack .../13-python3-tomli_2.0.1-2_all.deb ... 353s Unpacking python3-tomli (2.0.1-2) ... 353s Selecting previously unselected package python3-tomli-w. 353s Preparing to unpack .../14-python3-tomli-w_1.0.0-2_all.deb ... 353s Unpacking python3-tomli-w (1.0.0-2) ... 353s Selecting previously unselected package python3-mashumaro. 353s Preparing to unpack .../15-python3-mashumaro_3.13.1-4_all.deb ... 353s Unpacking python3-mashumaro (3.13.1-4) ... 353s Selecting previously unselected package python3-pluggy. 353s Preparing to unpack .../16-python3-pluggy_1.5.0-1_all.deb ... 353s Unpacking python3-pluggy (1.5.0-1) ... 353s Selecting previously unselected package python3-pytest. 353s Preparing to unpack .../17-python3-pytest_8.3.3-1_all.deb ... 353s Unpacking python3-pytest (8.3.3-1) ... 353s Selecting previously unselected package python3-pytest-asyncio. 353s Preparing to unpack .../18-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 353s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 354s Selecting previously unselected package python3-python-homeassistant-analytics. 354s Preparing to unpack .../19-python3-python-homeassistant-analytics_0.8.0-1_all.deb ... 354s Unpacking python3-python-homeassistant-analytics (0.8.0-1) ... 354s Selecting previously unselected package python3-syrupy. 354s Preparing to unpack .../20-python3-syrupy_4.8.0-1_all.deb ... 354s Unpacking python3-syrupy (4.8.0-1) ... 354s Setting up python3-iniconfig (1.1.1-2) ... 354s Setting up python3-orjson (3.10.7-2) ... 354s Setting up python3-async-generator (1.10-4) ... 354s Setting up python3-tomli (2.0.1-2) ... 354s Setting up python3-all (3.12.6-0ubuntu1) ... 354s Setting up python3-multidict (6.1.0-1build1) ... 354s Setting up python3-frozenlist (1.5.0-1build1) ... 354s Setting up python3-aiosignal (1.3.1-1) ... 354s Setting up python3-async-timeout (4.0.3-1) ... 355s Setting up python3-packaging (24.2-1) ... 355s Setting up python3-pluggy (1.5.0-1) ... 355s Setting up python3-msgpack (1.0.3-3build3) ... 355s Setting up python3-tomli-w (1.0.0-2) ... 355s Setting up python3-yarl (1.9.4-1) ... 355s Setting up python3-mashumaro (3.13.1-4) ... 355s Setting up python3-pytest (8.3.3-1) ... 356s Setting up python3-syrupy (4.8.0-1) ... 356s Setting up python3-aiohttp (3.9.5-1) ... 356s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 356s Setting up python3-aioresponses (0.7.6-2) ... 356s Setting up python3-python-homeassistant-analytics (0.8.0-1) ... 357s Processing triggers for man-db (2.13.0-1) ... 376s autopkgtest [09:40:55]: test run-tests: [----------------------- 380s ============================= test session starts ============================== 380s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 380s cachedir: .pytest_cache 380s rootdir: /tmp/autopkgtest.Sj2bn4/autopkgtest_tmp 380s plugins: typeguard-4.4.1, asyncio-0.20.3, syrupy-4.8.0 380s asyncio: mode=Mode.AUTO 380s collecting ... collected 10 items 380s 380s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 10%] 380s 380s =================================== FAILURES =================================== 380s _________________________ test_putting_in_own_session __________________________ 380s 380s responses = 380s 380s async def test_putting_in_own_session( 380s responses: aioresponses, 380s ) -> None: 380s """Test putting in own session.""" 380s responses.get( 380s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 380s status=200, 380s body=load_fixture("data.json"), 380s ) 380s async with aiohttp.ClientSession() as session: 380s analytics = HomeassistantAnalyticsClient(session=session) 380s > await analytics.get_analytics() 380s 380s tests/test_python_homeassistant_analytics.py:34: 380s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 380s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:89: in get_analytics 380s response = await self._request("analytics.home-assistant.io", "data.json") 380s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:61: in _request 380s response = await self.session.get( 380s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 380s result = await effect(*args, **kwargs) 380s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 380s 380s self = 380s orig_self = , method = 'GET' 380s url = URL('https://analytics.home-assistant.io:443/data.json'), args = () 380s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 380s url_origin = URL('https://analytics.home-assistant.io:443/data.json') 380s url_str = 'https://analytics.home-assistant.io:443/data.json' 380s key = ('GET', URL('https://analytics.home-assistant.io:443/data.json')) 380s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 380s response = None 380s 380s async def _request_mock(self, orig_self: ClientSession, 380s method: str, url: 'Union[URL, str]', 380s *args: Tuple, 380s **kwargs: Any) -> 'ClientResponse': 380s """Return mocked response object or raise connection error.""" 380s if orig_self.closed: 380s raise RuntimeError('Session is closed') 380s 380s url_origin = url 380s url = normalize_url(merge_params(url, kwargs.get('params'))) 380s url_str = str(url) 380s for prefix in self._passthrough: 380s if url_str.startswith(prefix): 380s return (await self.patcher.temp_original( 380s orig_self, method, url_origin, *args, **kwargs 380s )) 380s 380s key = (method, url) 380s self.requests.setdefault(key, []) 380s request_call = self._build_request_call(method, *args, **kwargs) 380s self.requests[key].append(request_call) 380s 380s response = await self.match(method, url, **kwargs) 380s 380s if response is None: 380s > raise ClientConnectionError( 380s 'Connection refused: {} {}'.format(method, url) 380s ) 380s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io:443/data.json 380s 380s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 380s =========================== short test summary info ============================ 380s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 380s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 380s ============================== 1 failed in 0.15s =============================== 381s autopkgtest [09:41:00]: test run-tests: -----------------------] 387s autopkgtest [09:41:06]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 387s run-tests FAIL non-zero exit status 1 394s autopkgtest [09:41:13]: @@@@@@@@@@@@@@@@@@@@ summary 394s run-tests FAIL non-zero exit status 1