0s autopkgtest [16:58:56]: starting date and time: 2024-11-15 16:58:56+0000 0s autopkgtest [16:58:56]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [16:58:56]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4vcub393/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-37.secgroup --name adt-plucky-arm64-python-homeassistant-analytics-20241115-165855-juju-7f2275-prod-proposed-migration-environment-2-648eb022-191f-4036-a2e9-729b01532207 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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/ 65s autopkgtest [17:00:01]: testbed dpkg architecture: arm64 65s autopkgtest [17:00:01]: testbed apt version: 2.9.8 65s autopkgtest [17:00:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 67s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 67s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 67s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 67s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 68s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [172 kB] 68s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 68s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [793 kB] 68s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6404 B] 68s Fetched 2263 kB in 1s (2311 kB/s) 68s Reading package lists... 72s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s Calculating upgrade... 74s The following packages will be upgraded: 74s python3-markupsafe 74s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s Need to get 13.0 kB of archives. 74s After this operation, 69.6 kB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-markupsafe arm64 2.1.5-1build3 [13.0 kB] 75s Fetched 13.0 kB in 0s (77.8 kB/s) 75s (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 ... 79957 files and directories currently installed.) 75s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_arm64.deb ... 75s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 75s Setting up python3-markupsafe (2.1.5-1build3) ... 76s Reading package lists... 76s Building dependency tree... 76s Reading state information... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 77s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 77s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 79s Reading package lists... 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Calculating upgrade... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s autopkgtest [17:00:21]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 86s autopkgtest [17:00:22]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 88s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (dsc) [2711 B] 88s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (tar) [1547 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (diff) [2504 B] 88s gpgv: Signature made Thu Aug 22 22:11:53 2024 UTC 88s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 88s gpgv: Can't check signature: No public key 88s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.7.0-2.dsc: no acceptable signature found 88s autopkgtest [17:00:24]: testing package python-homeassistant-analytics version 0.7.0-2 88s autopkgtest [17:00:24]: build not needed 89s autopkgtest [17:00:25]: test run-tests: preparing testbed 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s Starting pkgProblemResolver with broken count: 0 92s Starting 2 pkgProblemResolver with broken count: 0 92s Done 93s The following additional packages will be installed: 93s python3-aiohappyeyeballs python3-aiohttp python3-aioresponses 93s python3-aiosignal python3-all python3-async-generator python3-async-timeout 93s python3-frozenlist python3-iniconfig python3-mashumaro python3-msgpack 93s python3-multidict python3-orjson python3-packaging python3-pluggy 93s python3-pytest python3-pytest-asyncio python3-python-homeassistant-analytics 93s python3-syrupy python3-tomli python3-tomli-w python3-yarl 93s Recommended packages: 93s libjs-jquery python3-aiodns python3-ciso8601 python3-pendulum 93s The following NEW packages will be installed: 93s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 93s python3-aioresponses python3-aiosignal python3-all python3-async-generator 93s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 93s python3-msgpack python3-multidict python3-orjson python3-packaging 93s python3-pluggy python3-pytest python3-pytest-asyncio 93s python3-python-homeassistant-analytics python3-syrupy python3-tomli 93s python3-tomli-w python3-yarl 93s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 1415 kB/1416 kB of archives. 93s After this operation, 6551 kB of additional disk space will be used. 93s Get:1 /tmp/autopkgtest.MeDcLR/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [760 B] 93s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 93s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1 [34.0 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-yarl arm64 1.13.1-1build1 [110 kB] 93s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 4.0.3-1 [6412 B] 93s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1 [46.8 kB] 93s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.1-1 [5172 B] 93s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-aiohttp arm64 3.10.10-2build1 [334 kB] 93s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 93s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aioresponses all 0.7.6-2 [10.9 kB] 93s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 93s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 93s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 93s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-msgpack arm64 1.0.3-3build2 [77.9 kB] 93s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-orjson arm64 3.10.7-1 [266 kB] 93s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 93s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli-w all 1.0.0-2 [7368 B] 93s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mashumaro all 3.13.1-4 [87.3 kB] 93s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 93s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 93s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 93s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-python-homeassistant-analytics all 0.7.0-2 [9468 B] 93s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-syrupy all 4.7.2-1 [44.3 kB] 94s Fetched 1415 kB in 1s (2117 kB/s) 94s Selecting previously unselected package python3-aiohappyeyeballs. 94s (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 ... 79958 files and directories currently installed.) 94s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 94s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 94s Selecting previously unselected package python3-multidict. 94s Preparing to unpack .../01-python3-multidict_6.1.0-1_arm64.deb ... 94s Unpacking python3-multidict (6.1.0-1) ... 94s Selecting previously unselected package python3-yarl. 94s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_arm64.deb ... 94s Unpacking python3-yarl (1.13.1-1build1) ... 94s Selecting previously unselected package python3-async-timeout. 94s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 94s Unpacking python3-async-timeout (4.0.3-1) ... 94s Selecting previously unselected package python3-frozenlist. 94s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_arm64.deb ... 94s Unpacking python3-frozenlist (1.5.0-1) ... 94s Selecting previously unselected package python3-aiosignal. 94s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 94s Unpacking python3-aiosignal (1.3.1-1) ... 94s Selecting previously unselected package python3-aiohttp. 94s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_arm64.deb ... 94s Unpacking python3-aiohttp (3.10.10-2build1) ... 94s Selecting previously unselected package python3-packaging. 94s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 94s Unpacking python3-packaging (24.1-1) ... 94s Selecting previously unselected package python3-aioresponses. 94s Preparing to unpack .../08-python3-aioresponses_0.7.6-2_all.deb ... 94s Unpacking python3-aioresponses (0.7.6-2) ... 95s Selecting previously unselected package python3-all. 95s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_arm64.deb ... 95s Unpacking python3-all (3.12.6-0ubuntu1) ... 95s Selecting previously unselected package python3-async-generator. 95s Preparing to unpack .../10-python3-async-generator_1.10-4_all.deb ... 95s Unpacking python3-async-generator (1.10-4) ... 95s Selecting previously unselected package python3-iniconfig. 95s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 95s Unpacking python3-iniconfig (1.1.1-2) ... 95s Selecting previously unselected package python3-msgpack. 95s Preparing to unpack .../12-python3-msgpack_1.0.3-3build2_arm64.deb ... 95s Unpacking python3-msgpack (1.0.3-3build2) ... 95s Selecting previously unselected package python3-orjson. 95s Preparing to unpack .../13-python3-orjson_3.10.7-1_arm64.deb ... 95s Unpacking python3-orjson (3.10.7-1) ... 95s Selecting previously unselected package python3-tomli. 95s Preparing to unpack .../14-python3-tomli_2.0.1-2_all.deb ... 95s Unpacking python3-tomli (2.0.1-2) ... 95s Selecting previously unselected package python3-tomli-w. 95s Preparing to unpack .../15-python3-tomli-w_1.0.0-2_all.deb ... 95s Unpacking python3-tomli-w (1.0.0-2) ... 95s Selecting previously unselected package python3-mashumaro. 95s Preparing to unpack .../16-python3-mashumaro_3.13.1-4_all.deb ... 95s Unpacking python3-mashumaro (3.13.1-4) ... 95s Selecting previously unselected package python3-pluggy. 95s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 95s Unpacking python3-pluggy (1.5.0-1) ... 95s Selecting previously unselected package python3-pytest. 95s Preparing to unpack .../18-python3-pytest_8.3.3-1_all.deb ... 95s Unpacking python3-pytest (8.3.3-1) ... 95s Selecting previously unselected package python3-pytest-asyncio. 95s Preparing to unpack .../19-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 95s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 95s Selecting previously unselected package python3-python-homeassistant-analytics. 95s Preparing to unpack .../20-python3-python-homeassistant-analytics_0.7.0-2_all.deb ... 95s Unpacking python3-python-homeassistant-analytics (0.7.0-2) ... 95s Selecting previously unselected package python3-syrupy. 95s Preparing to unpack .../21-python3-syrupy_4.7.2-1_all.deb ... 95s Unpacking python3-syrupy (4.7.2-1) ... 95s Selecting previously unselected package autopkgtest-satdep. 95s Preparing to unpack .../22-1-autopkgtest-satdep.deb ... 95s Unpacking autopkgtest-satdep (0) ... 95s Setting up python3-iniconfig (1.1.1-2) ... 96s Setting up python3-orjson (3.10.7-1) ... 96s Setting up python3-async-generator (1.10-4) ... 96s Setting up python3-tomli (2.0.1-2) ... 96s Setting up python3-all (3.12.6-0ubuntu1) ... 96s Setting up python3-multidict (6.1.0-1) ... 96s Setting up python3-frozenlist (1.5.0-1) ... 96s Setting up python3-aiosignal (1.3.1-1) ... 96s Setting up python3-async-timeout (4.0.3-1) ... 97s Setting up python3-packaging (24.1-1) ... 97s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 97s Setting up python3-pluggy (1.5.0-1) ... 97s Setting up python3-msgpack (1.0.3-3build2) ... 97s Setting up python3-tomli-w (1.0.0-2) ... 97s Setting up python3-yarl (1.13.1-1build1) ... 98s Setting up python3-mashumaro (3.13.1-4) ... 98s Setting up python3-pytest (8.3.3-1) ... 98s Setting up python3-syrupy (4.7.2-1) ... 98s Setting up python3-aiohttp (3.10.10-2build1) ... 99s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 99s Setting up python3-aioresponses (0.7.6-2) ... 99s Setting up python3-python-homeassistant-analytics (0.7.0-2) ... 99s Setting up autopkgtest-satdep (0) ... 99s Processing triggers for man-db (2.13.0-1) ... 104s (Reading database ... 80521 files and directories currently installed.) 104s Removing autopkgtest-satdep (0) ... 105s autopkgtest [17:00:41]: test run-tests: [----------------------- 105s ============================= test session starts ============================== 105s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 105s cachedir: .pytest_cache 105s rootdir: /tmp/autopkgtest.MeDcLR/autopkgtest_tmp 105s plugins: typeguard-4.4.1, syrupy-4.7.2, asyncio-0.20.3 105s asyncio: mode=Mode.AUTO 105s collecting ... collected 9 items 105s 106s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 11%] 106s 106s =================================== FAILURES =================================== 106s _________________________ test_putting_in_own_session __________________________ 106s 106s responses = 106s 106s async def test_putting_in_own_session( 106s responses: aioresponses, 106s ) -> None: 106s """Test putting in own session.""" 106s responses.get( 106s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 106s status=200, 106s body=load_fixture("data.json"), 106s ) 106s async with aiohttp.ClientSession() as session: 106s analytics = HomeassistantAnalyticsClient(session=session) 106s > await analytics.get_analytics() 106s 106s tests/test_python_homeassistant_analytics.py:33: 106s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 106s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:87: in get_analytics 106s response = await self._request("analytics.home-assistant.io", "data.json") 106s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:59: in _request 106s response = await self.session.get( 106s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 106s result = await effect(*args, **kwargs) 106s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 106s 106s self = 106s orig_self = 106s method = 'GET', url = URL('https://analytics.home-assistant.io/data.json') 106s args = () 106s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 106s url_origin = URL('https://analytics.home-assistant.io/data.json') 106s url_str = 'https://analytics.home-assistant.io/data.json' 106s key = ('GET', URL('https://analytics.home-assistant.io/data.json')) 106s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 106s response = None 106s 106s async def _request_mock(self, orig_self: ClientSession, 106s method: str, url: 'Union[URL, str]', 106s *args: Tuple, 106s **kwargs: Any) -> 'ClientResponse': 106s """Return mocked response object or raise connection error.""" 106s if orig_self.closed: 106s raise RuntimeError('Session is closed') 106s 106s url_origin = url 106s url = normalize_url(merge_params(url, kwargs.get('params'))) 106s url_str = str(url) 106s for prefix in self._passthrough: 106s if url_str.startswith(prefix): 106s return (await self.patcher.temp_original( 106s orig_self, method, url_origin, *args, **kwargs 106s )) 106s 106s key = (method, url) 106s self.requests.setdefault(key, []) 106s request_call = self._build_request_call(method, *args, **kwargs) 106s self.requests[key].append(request_call) 106s 106s response = await self.match(method, url, **kwargs) 106s 106s if response is None: 106s > raise ClientConnectionError( 106s 'Connection refused: {} {}'.format(method, url) 106s ) 106s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io/data.json 106s 106s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 106s =========================== short test summary info ============================ 106s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 106s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 106s ============================== 1 failed in 0.12s =============================== 106s autopkgtest [17:00:42]: test run-tests: -----------------------] 106s autopkgtest [17:00:42]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 106s run-tests FAIL non-zero exit status 1 107s autopkgtest [17:00:43]: @@@@@@@@@@@@@@@@@@@@ summary 107s run-tests FAIL non-zero exit status 1 136s virt: nova [W] Skipping flock in bos03-arm64 136s virt: Creating nova instance adt-plucky-arm64-python-homeassistant-analytics-20241115-165855-juju-7f2275-prod-proposed-migration-environment-2-648eb022-191f-4036-a2e9-729b01532207 from image adt/ubuntu-plucky-arm64-server-20241115.img (UUID bf337bb2-b8c9-4fc7-87ba-f6e99408dba6)...