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