0s autopkgtest [17:08:01]: starting date and time: 2024-11-15 17:08:01+0000 0s autopkgtest [17:08:01]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [17:08:01]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ven_ma2b/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-aiohttp,src:yarl --apt-upgrade python-homeassistant-analytics --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-aiohttp/3.10.10-2build1 yarl/1.13.1-1build1' -- lxd -r lxd-armhf-10.145.243.21 lxd-armhf-10.145.243.21:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [17:08:54]: testbed dpkg architecture: armhf 55s autopkgtest [17:08:56]: testbed apt version: 2.9.8 55s autopkgtest [17:08:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 63s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 63s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 63s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [146 kB] 63s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [751 kB] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4428 B] 64s Fetched 2144 kB in 1s (2509 kB/s) 64s Reading package lists... 81s tee: /proc/self/fd/2: Permission denied 103s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 103s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 103s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 103s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 104s Reading package lists... 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s Calculating upgrade... 105s The following packages will be upgraded: 105s python3-markupsafe 105s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 105s Need to get 12.5 kB of archives. 105s After this operation, 10.2 kB of additional disk space will be used. 105s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-markupsafe armhf 2.1.5-1build3 [12.5 kB] 106s Fetched 12.5 kB in 0s (87.9 kB/s) 106s (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 ... 59566 files and directories currently installed.) 106s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_armhf.deb ... 106s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 106s Setting up python3-markupsafe (2.1.5-1build3) ... 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s autopkgtest [17:09:50]: rebooting testbed after setup commands that affected boot 179s autopkgtest [17:11:00]: testbed running kernel: Linux 6.8.0-47-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 16:39:14 UTC 2 206s autopkgtest [17:11:27]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 218s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (dsc) [2711 B] 218s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (tar) [1547 kB] 218s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (diff) [2504 B] 218s gpgv: Signature made Thu Aug 22 22:11:53 2024 UTC 218s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 218s gpgv: Can't check signature: No public key 218s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.7.0-2.dsc: no acceptable signature found 218s autopkgtest [17:11:39]: testing package python-homeassistant-analytics version 0.7.0-2 220s autopkgtest [17:11:41]: build not needed 223s autopkgtest [17:11:44]: test run-tests: preparing testbed 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 234s Starting pkgProblemResolver with broken count: 0 234s Starting 2 pkgProblemResolver with broken count: 0 234s Done 235s The following additional packages will be installed: 235s python3-aiohappyeyeballs python3-aiohttp python3-aioresponses 235s python3-aiosignal python3-all python3-async-generator python3-async-timeout 235s python3-frozenlist python3-iniconfig python3-mashumaro python3-msgpack 235s python3-multidict python3-orjson python3-packaging python3-pluggy 235s python3-pytest python3-pytest-asyncio python3-python-homeassistant-analytics 235s python3-syrupy python3-tomli python3-tomli-w python3-yarl 235s Recommended packages: 235s libjs-jquery python3-aiodns python3-ciso8601 python3-pendulum 235s The following NEW packages will be installed: 235s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 235s python3-aioresponses python3-aiosignal python3-all python3-async-generator 235s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 235s python3-msgpack python3-multidict python3-orjson python3-packaging 235s python3-pluggy python3-pytest python3-pytest-asyncio 235s python3-python-homeassistant-analytics python3-syrupy python3-tomli 235s python3-tomli-w python3-yarl 235s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 235s Need to get 1412 kB/1413 kB of archives. 235s After this operation, 5697 kB of additional disk space will be used. 235s Get:1 /tmp/autopkgtest.gurSJ6/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 235s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 235s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-multidict armhf 6.1.0-1 [31.3 kB] 235s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-yarl armhf 1.13.1-1build1 [111 kB] 235s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-timeout all 4.0.3-1 [6412 B] 235s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-frozenlist armhf 1.5.0-1 [43.8 kB] 235s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiosignal all 1.3.1-1 [5172 B] 235s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-aiohttp armhf 3.10.10-2build1 [330 kB] 235s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 235s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aioresponses all 0.7.6-2 [10.9 kB] 235s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 235s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 235s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 235s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-msgpack armhf 1.0.3-3build2 [76.1 kB] 235s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-orjson armhf 3.10.7-1 [274 kB] 235s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli all 2.0.1-2 [16.5 kB] 235s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli-w all 1.0.0-2 [7368 B] 235s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mashumaro all 3.13.1-4 [87.3 kB] 236s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 236s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 236s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 236s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-python-homeassistant-analytics all 0.7.0-2 [9468 B] 236s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-syrupy all 4.7.2-1 [44.3 kB] 236s Fetched 1412 kB in 1s (1513 kB/s) 236s Selecting previously unselected package python3-aiohappyeyeballs. 236s (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 ... 59567 files and directories currently installed.) 236s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 236s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 236s Selecting previously unselected package python3-multidict. 236s Preparing to unpack .../01-python3-multidict_6.1.0-1_armhf.deb ... 236s Unpacking python3-multidict (6.1.0-1) ... 236s Selecting previously unselected package python3-yarl. 236s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_armhf.deb ... 236s Unpacking python3-yarl (1.13.1-1build1) ... 236s Selecting previously unselected package python3-async-timeout. 236s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 236s Unpacking python3-async-timeout (4.0.3-1) ... 236s Selecting previously unselected package python3-frozenlist. 236s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_armhf.deb ... 236s Unpacking python3-frozenlist (1.5.0-1) ... 236s Selecting previously unselected package python3-aiosignal. 236s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 236s Unpacking python3-aiosignal (1.3.1-1) ... 236s Selecting previously unselected package python3-aiohttp. 236s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_armhf.deb ... 236s Unpacking python3-aiohttp (3.10.10-2build1) ... 236s Selecting previously unselected package python3-packaging. 236s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 236s Unpacking python3-packaging (24.1-1) ... 236s Selecting previously unselected package python3-aioresponses. 236s Preparing to unpack .../08-python3-aioresponses_0.7.6-2_all.deb ... 236s Unpacking python3-aioresponses (0.7.6-2) ... 236s Selecting previously unselected package python3-all. 236s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_armhf.deb ... 236s Unpacking python3-all (3.12.6-0ubuntu1) ... 236s Selecting previously unselected package python3-async-generator. 236s Preparing to unpack .../10-python3-async-generator_1.10-4_all.deb ... 236s Unpacking python3-async-generator (1.10-4) ... 236s Selecting previously unselected package python3-iniconfig. 236s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 236s Unpacking python3-iniconfig (1.1.1-2) ... 237s Selecting previously unselected package python3-msgpack. 237s Preparing to unpack .../12-python3-msgpack_1.0.3-3build2_armhf.deb ... 237s Unpacking python3-msgpack (1.0.3-3build2) ... 237s Selecting previously unselected package python3-orjson. 237s Preparing to unpack .../13-python3-orjson_3.10.7-1_armhf.deb ... 237s Unpacking python3-orjson (3.10.7-1) ... 237s Selecting previously unselected package python3-tomli. 237s Preparing to unpack .../14-python3-tomli_2.0.1-2_all.deb ... 237s Unpacking python3-tomli (2.0.1-2) ... 237s Selecting previously unselected package python3-tomli-w. 237s Preparing to unpack .../15-python3-tomli-w_1.0.0-2_all.deb ... 237s Unpacking python3-tomli-w (1.0.0-2) ... 237s Selecting previously unselected package python3-mashumaro. 237s Preparing to unpack .../16-python3-mashumaro_3.13.1-4_all.deb ... 237s Unpacking python3-mashumaro (3.13.1-4) ... 237s Selecting previously unselected package python3-pluggy. 237s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 237s Unpacking python3-pluggy (1.5.0-1) ... 237s Selecting previously unselected package python3-pytest. 237s Preparing to unpack .../18-python3-pytest_8.3.3-1_all.deb ... 237s Unpacking python3-pytest (8.3.3-1) ... 237s Selecting previously unselected package python3-pytest-asyncio. 237s Preparing to unpack .../19-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 237s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 237s Selecting previously unselected package python3-python-homeassistant-analytics. 237s Preparing to unpack .../20-python3-python-homeassistant-analytics_0.7.0-2_all.deb ... 237s Unpacking python3-python-homeassistant-analytics (0.7.0-2) ... 237s Selecting previously unselected package python3-syrupy. 237s Preparing to unpack .../21-python3-syrupy_4.7.2-1_all.deb ... 237s Unpacking python3-syrupy (4.7.2-1) ... 237s Selecting previously unselected package autopkgtest-satdep. 237s Preparing to unpack .../22-1-autopkgtest-satdep.deb ... 237s Unpacking autopkgtest-satdep (0) ... 237s Setting up python3-iniconfig (1.1.1-2) ... 237s Setting up python3-orjson (3.10.7-1) ... 237s Setting up python3-async-generator (1.10-4) ... 237s Setting up python3-tomli (2.0.1-2) ... 237s Setting up python3-all (3.12.6-0ubuntu1) ... 237s Setting up python3-multidict (6.1.0-1) ... 237s Setting up python3-frozenlist (1.5.0-1) ... 238s Setting up python3-aiosignal (1.3.1-1) ... 238s Setting up python3-async-timeout (4.0.3-1) ... 238s Setting up python3-packaging (24.1-1) ... 238s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 238s Setting up python3-pluggy (1.5.0-1) ... 238s Setting up python3-msgpack (1.0.3-3build2) ... 238s Setting up python3-tomli-w (1.0.0-2) ... 238s Setting up python3-yarl (1.13.1-1build1) ... 238s Setting up python3-mashumaro (3.13.1-4) ... 239s Setting up python3-pytest (8.3.3-1) ... 239s Setting up python3-syrupy (4.7.2-1) ... 239s Setting up python3-aiohttp (3.10.10-2build1) ... 239s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 240s Setting up python3-aioresponses (0.7.6-2) ... 240s Setting up python3-python-homeassistant-analytics (0.7.0-2) ... 240s Setting up autopkgtest-satdep (0) ... 240s Processing triggers for man-db (2.13.0-1) ... 254s (Reading database ... 60130 files and directories currently installed.) 254s Removing autopkgtest-satdep (0) ... 260s autopkgtest [17:12:21]: test run-tests: [----------------------- 262s ============================= test session starts ============================== 262s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 262s cachedir: .pytest_cache 262s rootdir: /tmp/autopkgtest.gurSJ6/autopkgtest_tmp 262s plugins: typeguard-4.4.1, asyncio-0.20.3, syrupy-4.7.2 262s asyncio: mode=Mode.AUTO 262s collecting ... collected 9 items 262s 262s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 11%] 262s 262s =================================== FAILURES =================================== 262s _________________________ test_putting_in_own_session __________________________ 262s 262s responses = 262s 262s async def test_putting_in_own_session( 262s responses: aioresponses, 262s ) -> None: 262s """Test putting in own session.""" 262s responses.get( 262s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 262s status=200, 262s body=load_fixture("data.json"), 262s ) 262s async with aiohttp.ClientSession() as session: 262s analytics = HomeassistantAnalyticsClient(session=session) 262s > await analytics.get_analytics() 262s 262s tests/test_python_homeassistant_analytics.py:33: 262s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 262s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:87: in get_analytics 262s response = await self._request("analytics.home-assistant.io", "data.json") 262s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:59: in _request 262s response = await self.session.get( 262s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 262s result = await effect(*args, **kwargs) 262s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 262s 262s self = 262s orig_self = , method = 'GET' 262s url = URL('https://analytics.home-assistant.io/data.json'), args = () 262s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 262s url_origin = URL('https://analytics.home-assistant.io/data.json') 262s url_str = 'https://analytics.home-assistant.io/data.json' 262s key = ('GET', URL('https://analytics.home-assistant.io/data.json')) 262s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 262s response = None 262s 262s async def _request_mock(self, orig_self: ClientSession, 262s method: str, url: 'Union[URL, str]', 262s *args: Tuple, 262s **kwargs: Any) -> 'ClientResponse': 262s """Return mocked response object or raise connection error.""" 262s if orig_self.closed: 262s raise RuntimeError('Session is closed') 262s 262s url_origin = url 262s url = normalize_url(merge_params(url, kwargs.get('params'))) 262s url_str = str(url) 262s for prefix in self._passthrough: 262s if url_str.startswith(prefix): 262s return (await self.patcher.temp_original( 262s orig_self, method, url_origin, *args, **kwargs 262s )) 262s 262s key = (method, url) 262s self.requests.setdefault(key, []) 262s request_call = self._build_request_call(method, *args, **kwargs) 262s self.requests[key].append(request_call) 262s 262s response = await self.match(method, url, **kwargs) 262s 262s if response is None: 262s > raise ClientConnectionError( 262s 'Connection refused: {} {}'.format(method, url) 262s ) 262s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io/data.json 262s 262s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 262s =========================== short test summary info ============================ 262s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 262s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 262s ============================== 1 failed in 0.13s =============================== 263s autopkgtest [17:12:24]: test run-tests: -----------------------] 267s autopkgtest [17:12:28]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 267s run-tests FAIL non-zero exit status 1 271s autopkgtest [17:12:32]: @@@@@@@@@@@@@@@@@@@@ summary 271s run-tests FAIL non-zero exit status 1