0s autopkgtest [17:03:51]: starting date and time: 2024-11-15 17:03:51+0000 0s autopkgtest [17:03:51]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [17:03:51]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.i9bs413p/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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-12.secgroup --name adt-plucky-amd64-python-homeassistant-analytics-20241115-170351-juju-7f2275-prod-proposed-migration-environment-2-154ba6eb-e1d7-4d3c-9703-d87604ebfb25 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -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/ 50s autopkgtest [17:04:41]: testbed dpkg architecture: amd64 51s autopkgtest [17:04:42]: testbed apt version: 2.9.8 51s autopkgtest [17:04:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 52s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 52s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 52s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 52s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 52s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [178 kB] 52s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [111 kB] 52s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 52s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [299 kB] 52s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [825 kB] 52s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 52s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9416 B] 52s Fetched 2699 kB in 1s (3159 kB/s) 52s Reading package lists... 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 56s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 56s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 56s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 57s Reading package lists... 57s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s autopkgtest [17:04:52]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 62s autopkgtest [17:04:53]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 64s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (dsc) [2711 B] 64s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (tar) [1547 kB] 64s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (diff) [2504 B] 64s gpgv: Signature made Thu Aug 22 22:11:53 2024 UTC 64s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 64s gpgv: Can't check signature: No public key 64s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.7.0-2.dsc: no acceptable signature found 64s autopkgtest [17:04:55]: testing package python-homeassistant-analytics version 0.7.0-2 64s autopkgtest [17:04:55]: build not needed 65s autopkgtest [17:04:56]: test run-tests: preparing testbed 66s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Starting pkgProblemResolver with broken count: 0 67s Starting 2 pkgProblemResolver with broken count: 0 67s Done 67s The following additional packages will be installed: 67s python3-aiohappyeyeballs python3-aiohttp python3-aioresponses 67s python3-aiosignal python3-all python3-async-generator python3-async-timeout 67s python3-frozenlist python3-iniconfig python3-mashumaro python3-msgpack 67s python3-multidict python3-orjson python3-packaging python3-pluggy 67s python3-pytest python3-pytest-asyncio python3-python-homeassistant-analytics 67s python3-syrupy python3-tomli python3-tomli-w python3-yarl 67s Recommended packages: 67s libjs-jquery python3-aiodns python3-ciso8601 python3-pendulum 67s The following NEW packages will be installed: 67s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 67s python3-aioresponses python3-aiosignal python3-all python3-async-generator 67s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 67s python3-msgpack python3-multidict python3-orjson python3-packaging 67s python3-pluggy python3-pytest python3-pytest-asyncio 67s python3-python-homeassistant-analytics python3-syrupy python3-tomli 67s python3-tomli-w python3-yarl 67s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 67s Need to get 1491 kB/1492 kB of archives. 67s After this operation, 6715 kB of additional disk space will be used. 67s Get:1 /tmp/autopkgtest.LJWaPj/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [756 B] 67s Get:2 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 67s Get:3 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-multidict amd64 6.1.0-1 [34.3 kB] 68s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-yarl amd64 1.13.1-1build1 [127 kB] 68s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-timeout all 4.0.3-1 [6412 B] 68s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-frozenlist amd64 1.5.0-1 [53.2 kB] 68s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiosignal all 1.3.1-1 [5172 B] 68s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-aiohttp amd64 3.10.10-2build1 [377 kB] 68s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 68s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aioresponses all 0.7.6-2 [10.9 kB] 68s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.6-0ubuntu1 [886 B] 68s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-generator all 1.10-4 [17.5 kB] 68s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 68s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-msgpack amd64 1.0.3-3build2 [80.1 kB] 68s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-orjson amd64 3.10.7-1 [273 kB] 68s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-tomli all 2.0.1-2 [16.5 kB] 68s Get:17 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-tomli-w all 1.0.0-2 [7368 B] 68s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-mashumaro all 3.13.1-4 [87.3 kB] 69s Get:19 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 69s Get:20 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 69s Get:21 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 69s Get:22 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-python-homeassistant-analytics all 0.7.0-2 [9468 B] 69s Get:23 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-syrupy all 4.7.2-1 [44.3 kB] 69s Fetched 1491 kB in 1s (1022 kB/s) 69s Selecting previously unselected package python3-aiohappyeyeballs. 69s (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 ... 75576 files and directories currently installed.) 69s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 69s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 69s Selecting previously unselected package python3-multidict. 69s Preparing to unpack .../01-python3-multidict_6.1.0-1_amd64.deb ... 69s Unpacking python3-multidict (6.1.0-1) ... 69s Selecting previously unselected package python3-yarl. 69s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_amd64.deb ... 69s Unpacking python3-yarl (1.13.1-1build1) ... 69s Selecting previously unselected package python3-async-timeout. 69s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 69s Unpacking python3-async-timeout (4.0.3-1) ... 69s Selecting previously unselected package python3-frozenlist. 69s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_amd64.deb ... 69s Unpacking python3-frozenlist (1.5.0-1) ... 69s Selecting previously unselected package python3-aiosignal. 69s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 69s Unpacking python3-aiosignal (1.3.1-1) ... 69s Selecting previously unselected package python3-aiohttp. 69s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_amd64.deb ... 69s Unpacking python3-aiohttp (3.10.10-2build1) ... 69s Selecting previously unselected package python3-packaging. 69s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 69s Unpacking python3-packaging (24.1-1) ... 69s Selecting previously unselected package python3-aioresponses. 69s Preparing to unpack .../08-python3-aioresponses_0.7.6-2_all.deb ... 69s Unpacking python3-aioresponses (0.7.6-2) ... 69s Selecting previously unselected package python3-all. 69s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_amd64.deb ... 69s Unpacking python3-all (3.12.6-0ubuntu1) ... 69s Selecting previously unselected package python3-async-generator. 69s Preparing to unpack .../10-python3-async-generator_1.10-4_all.deb ... 69s Unpacking python3-async-generator (1.10-4) ... 69s Selecting previously unselected package python3-iniconfig. 69s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 69s Unpacking python3-iniconfig (1.1.1-2) ... 69s Selecting previously unselected package python3-msgpack. 69s Preparing to unpack .../12-python3-msgpack_1.0.3-3build2_amd64.deb ... 69s Unpacking python3-msgpack (1.0.3-3build2) ... 69s Selecting previously unselected package python3-orjson. 69s Preparing to unpack .../13-python3-orjson_3.10.7-1_amd64.deb ... 69s Unpacking python3-orjson (3.10.7-1) ... 70s Selecting previously unselected package python3-tomli. 70s Preparing to unpack .../14-python3-tomli_2.0.1-2_all.deb ... 70s Unpacking python3-tomli (2.0.1-2) ... 70s Selecting previously unselected package python3-tomli-w. 70s Preparing to unpack .../15-python3-tomli-w_1.0.0-2_all.deb ... 70s Unpacking python3-tomli-w (1.0.0-2) ... 70s Selecting previously unselected package python3-mashumaro. 70s Preparing to unpack .../16-python3-mashumaro_3.13.1-4_all.deb ... 70s Unpacking python3-mashumaro (3.13.1-4) ... 70s Selecting previously unselected package python3-pluggy. 70s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 70s Unpacking python3-pluggy (1.5.0-1) ... 70s Selecting previously unselected package python3-pytest. 70s Preparing to unpack .../18-python3-pytest_8.3.3-1_all.deb ... 70s Unpacking python3-pytest (8.3.3-1) ... 70s Selecting previously unselected package python3-pytest-asyncio. 70s Preparing to unpack .../19-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 70s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 70s Selecting previously unselected package python3-python-homeassistant-analytics. 70s Preparing to unpack .../20-python3-python-homeassistant-analytics_0.7.0-2_all.deb ... 70s Unpacking python3-python-homeassistant-analytics (0.7.0-2) ... 70s Selecting previously unselected package python3-syrupy. 70s Preparing to unpack .../21-python3-syrupy_4.7.2-1_all.deb ... 70s Unpacking python3-syrupy (4.7.2-1) ... 70s Selecting previously unselected package autopkgtest-satdep. 70s Preparing to unpack .../22-1-autopkgtest-satdep.deb ... 70s Unpacking autopkgtest-satdep (0) ... 70s Setting up python3-iniconfig (1.1.1-2) ... 70s Setting up python3-orjson (3.10.7-1) ... 70s Setting up python3-async-generator (1.10-4) ... 70s Setting up python3-tomli (2.0.1-2) ... 70s Setting up python3-all (3.12.6-0ubuntu1) ... 70s Setting up python3-multidict (6.1.0-1) ... 70s Setting up python3-frozenlist (1.5.0-1) ... 70s Setting up python3-aiosignal (1.3.1-1) ... 70s Setting up python3-async-timeout (4.0.3-1) ... 70s Setting up python3-packaging (24.1-1) ... 71s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 71s Setting up python3-pluggy (1.5.0-1) ... 71s Setting up python3-msgpack (1.0.3-3build2) ... 71s Setting up python3-tomli-w (1.0.0-2) ... 71s Setting up python3-yarl (1.13.1-1build1) ... 71s Setting up python3-mashumaro (3.13.1-4) ... 71s Setting up python3-pytest (8.3.3-1) ... 72s Setting up python3-syrupy (4.7.2-1) ... 72s Setting up python3-aiohttp (3.10.10-2build1) ... 72s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 72s Setting up python3-aioresponses (0.7.6-2) ... 72s Setting up python3-python-homeassistant-analytics (0.7.0-2) ... 72s Setting up autopkgtest-satdep (0) ... 72s Processing triggers for man-db (2.13.0-1) ... 75s (Reading database ... 76139 files and directories currently installed.) 75s Removing autopkgtest-satdep (0) ... 76s autopkgtest [17:05:07]: test run-tests: [----------------------- 76s ============================= test session starts ============================== 76s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 76s cachedir: .pytest_cache 76s rootdir: /tmp/autopkgtest.LJWaPj/autopkgtest_tmp 76s plugins: typeguard-4.4.1, asyncio-0.20.3, syrupy-4.7.2 76s asyncio: mode=Mode.AUTO 76s collecting ... collected 9 items 76s 77s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 11%] 77s 77s =================================== FAILURES =================================== 77s _________________________ test_putting_in_own_session __________________________ 77s 77s responses = 77s 77s async def test_putting_in_own_session( 77s responses: aioresponses, 77s ) -> None: 77s """Test putting in own session.""" 77s responses.get( 77s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 77s status=200, 77s body=load_fixture("data.json"), 77s ) 77s async with aiohttp.ClientSession() as session: 77s analytics = HomeassistantAnalyticsClient(session=session) 77s > await analytics.get_analytics() 77s 77s tests/test_python_homeassistant_analytics.py:33: 77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 77s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:87: in get_analytics 77s response = await self._request("analytics.home-assistant.io", "data.json") 77s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:59: in _request 77s response = await self.session.get( 77s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 77s result = await effect(*args, **kwargs) 77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 77s 77s self = 77s orig_self = 77s method = 'GET', url = URL('https://analytics.home-assistant.io/data.json') 77s args = () 77s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 77s url_origin = URL('https://analytics.home-assistant.io/data.json') 77s url_str = 'https://analytics.home-assistant.io/data.json' 77s key = ('GET', URL('https://analytics.home-assistant.io/data.json')) 77s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 77s response = None 77s 77s async def _request_mock(self, orig_self: ClientSession, 77s method: str, url: 'Union[URL, str]', 77s *args: Tuple, 77s **kwargs: Any) -> 'ClientResponse': 77s """Return mocked response object or raise connection error.""" 77s if orig_self.closed: 77s raise RuntimeError('Session is closed') 77s 77s url_origin = url 77s url = normalize_url(merge_params(url, kwargs.get('params'))) 77s url_str = str(url) 77s for prefix in self._passthrough: 77s if url_str.startswith(prefix): 77s return (await self.patcher.temp_original( 77s orig_self, method, url_origin, *args, **kwargs 77s )) 77s 77s key = (method, url) 77s self.requests.setdefault(key, []) 77s request_call = self._build_request_call(method, *args, **kwargs) 77s self.requests[key].append(request_call) 77s 77s response = await self.match(method, url, **kwargs) 77s 77s if response is None: 77s > raise ClientConnectionError( 77s 'Connection refused: {} {}'.format(method, url) 77s ) 77s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io/data.json 77s 77s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 77s =========================== short test summary info ============================ 77s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 77s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 77s ============================== 1 failed in 0.09s =============================== 77s autopkgtest [17:05:08]: test run-tests: -----------------------] 77s autopkgtest [17:05:08]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 77s run-tests FAIL non-zero exit status 1 78s autopkgtest [17:05:09]: @@@@@@@@@@@@@@@@@@@@ summary 78s run-tests FAIL non-zero exit status 1 90s virt: nova [W] Skipping flock for amd64 90s virt: Creating nova instance adt-plucky-amd64-python-homeassistant-analytics-20241115-170351-juju-7f2275-prod-proposed-migration-environment-2-154ba6eb-e1d7-4d3c-9703-d87604ebfb25 from image adt/ubuntu-plucky-amd64-server-20241115.img (UUID 9bb4dd9c-454f-45da-a125-77b9d27ed145)...