0s autopkgtest [09:47:46]: starting date and time: 2024-12-03 09:47:46+0000 0s autopkgtest [09:47:46]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [09:47:46]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.cqumzqfg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-3.secgroup --name adt-plucky-arm64-python-homeassistant-analytics-20241203-093439-juju-7f2275-prod-proposed-migration-environment-15-c7792a0d-bb20-4859-97cb-31bd445be381 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 102s autopkgtest [09:49:28]: testbed dpkg architecture: arm64 103s autopkgtest [09:49:29]: testbed apt version: 2.9.14ubuntu1 103s autopkgtest [09:49:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 103s autopkgtest [09:49:29]: testbed release detected to be: None 104s autopkgtest [09:49:30]: updating testbed package index (apt update) 104s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 105s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 105s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 105s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 105s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [781 kB] 105s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [65.3 kB] 105s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 105s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 105s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [145 kB] 105s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 105s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [669 kB] 105s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [21.3 kB] 105s Fetched 1838 kB in 1s (1946 kB/s) 107s Reading package lists... 107s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s Calculating upgrade... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 111s Building dependency tree... 111s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s autopkgtest [09:49:38]: upgrading testbed (apt dist-upgrade and autopurge) 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 113s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 114s Entering ResolveByKeep 114s 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [09:49:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 119s autopkgtest [09:49:45]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 121s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (dsc) [2711 B] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (tar) [1747 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.8.0-1 (diff) [2540 B] 121s gpgv: Signature made Sun Nov 3 16:32:42 2024 UTC 121s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 121s gpgv: Can't check signature: No public key 121s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.8.0-1.dsc: no acceptable signature found 121s autopkgtest [09:49:47]: testing package python-homeassistant-analytics version 0.8.0-1 122s autopkgtest [09:49:48]: build not needed 122s autopkgtest [09:49:48]: test run-tests: preparing testbed 123s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s Starting pkgProblemResolver with broken count: 0 123s Starting 2 pkgProblemResolver with broken count: 0 123s Done 124s The following NEW packages will be installed: 124s python3-aiohttp python3-aioresponses python3-aiosignal python3-all 124s python3-async-generator python3-async-timeout python3-frozenlist 124s python3-iniconfig python3-mashumaro python3-msgpack python3-multidict 124s python3-orjson python3-packaging python3-pluggy python3-pytest 124s python3-pytest-asyncio python3-python-homeassistant-analytics python3-syrupy 124s python3-tomli python3-tomli-w python3-yarl 124s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 124s Need to get 1379 kB of archives. 124s After this operation, 6612 kB of additional disk space will be used. 124s Get:1 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1build1 [38.3 kB] 124s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-yarl arm64 1.9.4-1 [68.2 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 4.0.3-1 [6412 B] 124s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1build1 [59.0 kB] 124s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.1-1 [5172 B] 124s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohttp arm64 3.9.5-1 [278 kB] 125s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 125s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aioresponses all 0.7.6-2 [10.9 kB] 125s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 125s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 125s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 125s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-msgpack arm64 1.0.3-3build3 [106 kB] 125s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-orjson arm64 3.10.7-2 [282 kB] 125s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 125s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli-w all 1.0.0-2 [7368 B] 125s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mashumaro all 3.13.1-4 [87.3 kB] 125s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 125s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 125s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 125s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-python-homeassistant-analytics all 0.8.0-1 [9560 B] 125s Get:21 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-syrupy all 4.8.0-1 [44.7 kB] 125s Fetched 1379 kB in 1s (2144 kB/s) 125s Selecting previously unselected package python3-multidict. 125s (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 ... 80333 files and directories currently installed.) 125s Preparing to unpack .../00-python3-multidict_6.1.0-1build1_arm64.deb ... 125s Unpacking python3-multidict (6.1.0-1build1) ... 126s Selecting previously unselected package python3-yarl. 126s Preparing to unpack .../01-python3-yarl_1.9.4-1_arm64.deb ... 126s Unpacking python3-yarl (1.9.4-1) ... 126s Selecting previously unselected package python3-async-timeout. 126s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 126s Unpacking python3-async-timeout (4.0.3-1) ... 126s Selecting previously unselected package python3-frozenlist. 126s Preparing to unpack .../03-python3-frozenlist_1.5.0-1build1_arm64.deb ... 126s Unpacking python3-frozenlist (1.5.0-1build1) ... 126s Selecting previously unselected package python3-aiosignal. 126s Preparing to unpack .../04-python3-aiosignal_1.3.1-1_all.deb ... 126s Unpacking python3-aiosignal (1.3.1-1) ... 126s Selecting previously unselected package python3-aiohttp. 126s Preparing to unpack .../05-python3-aiohttp_3.9.5-1_arm64.deb ... 126s Unpacking python3-aiohttp (3.9.5-1) ... 126s Selecting previously unselected package python3-packaging. 126s Preparing to unpack .../06-python3-packaging_24.2-1_all.deb ... 126s Unpacking python3-packaging (24.2-1) ... 126s Selecting previously unselected package python3-aioresponses. 126s Preparing to unpack .../07-python3-aioresponses_0.7.6-2_all.deb ... 126s Unpacking python3-aioresponses (0.7.6-2) ... 126s Selecting previously unselected package python3-all. 126s Preparing to unpack .../08-python3-all_3.12.6-0ubuntu1_arm64.deb ... 126s Unpacking python3-all (3.12.6-0ubuntu1) ... 126s Selecting previously unselected package python3-async-generator. 126s Preparing to unpack .../09-python3-async-generator_1.10-4_all.deb ... 126s Unpacking python3-async-generator (1.10-4) ... 126s Selecting previously unselected package python3-iniconfig. 126s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 126s Unpacking python3-iniconfig (1.1.1-2) ... 126s Selecting previously unselected package python3-msgpack. 126s Preparing to unpack .../11-python3-msgpack_1.0.3-3build3_arm64.deb ... 126s Unpacking python3-msgpack (1.0.3-3build3) ... 126s Selecting previously unselected package python3-orjson. 126s Preparing to unpack .../12-python3-orjson_3.10.7-2_arm64.deb ... 126s Unpacking python3-orjson (3.10.7-2) ... 126s Selecting previously unselected package python3-tomli. 126s Preparing to unpack .../13-python3-tomli_2.0.1-2_all.deb ... 126s Unpacking python3-tomli (2.0.1-2) ... 126s Selecting previously unselected package python3-tomli-w. 126s Preparing to unpack .../14-python3-tomli-w_1.0.0-2_all.deb ... 126s Unpacking python3-tomli-w (1.0.0-2) ... 126s Selecting previously unselected package python3-mashumaro. 126s Preparing to unpack .../15-python3-mashumaro_3.13.1-4_all.deb ... 126s Unpacking python3-mashumaro (3.13.1-4) ... 126s Selecting previously unselected package python3-pluggy. 126s Preparing to unpack .../16-python3-pluggy_1.5.0-1_all.deb ... 126s Unpacking python3-pluggy (1.5.0-1) ... 126s Selecting previously unselected package python3-pytest. 126s Preparing to unpack .../17-python3-pytest_8.3.3-1_all.deb ... 126s Unpacking python3-pytest (8.3.3-1) ... 126s Selecting previously unselected package python3-pytest-asyncio. 126s Preparing to unpack .../18-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 126s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 126s Selecting previously unselected package python3-python-homeassistant-analytics. 126s Preparing to unpack .../19-python3-python-homeassistant-analytics_0.8.0-1_all.deb ... 126s Unpacking python3-python-homeassistant-analytics (0.8.0-1) ... 126s Selecting previously unselected package python3-syrupy. 126s Preparing to unpack .../20-python3-syrupy_4.8.0-1_all.deb ... 126s Unpacking python3-syrupy (4.8.0-1) ... 126s Setting up python3-iniconfig (1.1.1-2) ... 127s Setting up python3-orjson (3.10.7-2) ... 127s Setting up python3-async-generator (1.10-4) ... 127s Setting up python3-tomli (2.0.1-2) ... 127s Setting up python3-all (3.12.6-0ubuntu1) ... 127s Setting up python3-multidict (6.1.0-1build1) ... 127s Setting up python3-frozenlist (1.5.0-1build1) ... 128s Setting up python3-aiosignal (1.3.1-1) ... 128s Setting up python3-async-timeout (4.0.3-1) ... 128s Setting up python3-packaging (24.2-1) ... 128s Setting up python3-pluggy (1.5.0-1) ... 128s Setting up python3-msgpack (1.0.3-3build3) ... 128s Setting up python3-tomli-w (1.0.0-2) ... 129s Setting up python3-yarl (1.9.4-1) ... 129s Setting up python3-mashumaro (3.13.1-4) ... 129s Setting up python3-pytest (8.3.3-1) ... 130s Setting up python3-syrupy (4.8.0-1) ... 130s Setting up python3-aiohttp (3.9.5-1) ... 130s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 130s Setting up python3-aioresponses (0.7.6-2) ... 130s Setting up python3-python-homeassistant-analytics (0.8.0-1) ... 131s Processing triggers for man-db (2.13.0-1) ... 132s autopkgtest [09:49:58]: test run-tests: [----------------------- 133s ============================= test session starts ============================== 133s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 133s cachedir: .pytest_cache 133s rootdir: /tmp/autopkgtest.nrZMVz/autopkgtest_tmp 133s plugins: asyncio-0.20.3, syrupy-4.8.0, typeguard-4.4.1 133s asyncio: mode=Mode.AUTO 133s collecting ... collected 10 items 133s 133s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 10%] 133s 133s =================================== FAILURES =================================== 133s _________________________ test_putting_in_own_session __________________________ 133s 133s responses = 133s 133s async def test_putting_in_own_session( 133s responses: aioresponses, 133s ) -> None: 133s """Test putting in own session.""" 133s responses.get( 133s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 133s status=200, 133s body=load_fixture("data.json"), 133s ) 133s async with aiohttp.ClientSession() as session: 133s analytics = HomeassistantAnalyticsClient(session=session) 133s > await analytics.get_analytics() 133s 133s tests/test_python_homeassistant_analytics.py:34: 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:89: in get_analytics 133s response = await self._request("analytics.home-assistant.io", "data.json") 133s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:61: in _request 133s response = await self.session.get( 133s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 133s result = await effect(*args, **kwargs) 133s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 133s 133s self = 133s orig_self = 133s method = 'GET', url = URL('https://analytics.home-assistant.io:443/data.json') 133s args = () 133s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 133s url_origin = URL('https://analytics.home-assistant.io:443/data.json') 133s url_str = 'https://analytics.home-assistant.io:443/data.json' 133s key = ('GET', URL('https://analytics.home-assistant.io:443/data.json')) 133s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 133s response = None 133s 133s async def _request_mock(self, orig_self: ClientSession, 133s method: str, url: 'Union[URL, str]', 133s *args: Tuple, 133s **kwargs: Any) -> 'ClientResponse': 133s """Return mocked response object or raise connection error.""" 133s if orig_self.closed: 133s raise RuntimeError('Session is closed') 133s 133s url_origin = url 133s url = normalize_url(merge_params(url, kwargs.get('params'))) 133s url_str = str(url) 133s for prefix in self._passthrough: 133s if url_str.startswith(prefix): 133s return (await self.patcher.temp_original( 133s orig_self, method, url_origin, *args, **kwargs 133s )) 133s 133s key = (method, url) 133s self.requests.setdefault(key, []) 133s request_call = self._build_request_call(method, *args, **kwargs) 133s self.requests[key].append(request_call) 133s 133s response = await self.match(method, url, **kwargs) 133s 133s if response is None: 133s > raise ClientConnectionError( 133s 'Connection refused: {} {}'.format(method, url) 133s ) 133s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io:443/data.json 133s 133s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 133s =========================== short test summary info ============================ 133s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 133s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 133s ============================== 1 failed in 0.14s =============================== 134s autopkgtest [09:50:00]: test run-tests: -----------------------] 134s run-tests FAIL non-zero exit status 1 134s autopkgtest [09:50:00]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 134s autopkgtest [09:50:00]: @@@@@@@@@@@@@@@@@@@@ summary 134s run-tests FAIL non-zero exit status 1 145s nova [W] Using flock in prodstack6-arm64 145s Creating nova instance adt-plucky-arm64-python-homeassistant-analytics-20241203-093439-juju-7f2275-prod-proposed-migration-environment-15-c7792a0d-bb20-4859-97cb-31bd445be381 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)...