0s autopkgtest [17:01:46]: starting date and time: 2024-11-15 17:01:46+0000 0s autopkgtest [17:01:46]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [17:01:46]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gjv8nlrk/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-26.secgroup --name adt-plucky-s390x-python-homeassistant-analytics-20241115-170146-juju-7f2275-prod-proposed-migration-environment-15-a3340ac7-70d0-4ea9-9ae5-49b240c4d100 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -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/ 107s autopkgtest [17:03:33]: testbed dpkg architecture: s390x 107s autopkgtest [17:03:33]: testbed apt version: 2.9.8 107s autopkgtest [17:03:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 108s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 108s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [153 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [751 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4940 B] 108s Fetched 2150 kB in 1s (2584 kB/s) 109s Reading package lists... 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Calculating upgrade... 111s The following packages will be upgraded: 111s python3-markupsafe 111s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 12.9 kB of archives. 111s After this operation, 16.4 kB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-markupsafe s390x 2.1.5-1build3 [12.9 kB] 111s Fetched 12.9 kB in 0s (95.1 kB/s) 112s (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 ... 55517 files and directories currently installed.) 112s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_s390x.deb ... 112s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 112s Setting up python3-markupsafe (2.1.5-1build3) ... 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 113s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 113s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 113s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 113s Reading package lists... 113s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s Calculating upgrade... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [17:03:43]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 117s autopkgtest [17:03:43]: @@@@@@@@@@@@@@@@@@@@ apt-source python-homeassistant-analytics 119s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (dsc) [2711 B] 119s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (tar) [1547 kB] 119s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-homeassistant-analytics 0.7.0-2 (diff) [2504 B] 119s gpgv: Signature made Thu Aug 22 22:11:53 2024 UTC 119s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 119s gpgv: Can't check signature: No public key 119s dpkg-source: warning: cannot verify inline signature for ./python-homeassistant-analytics_0.7.0-2.dsc: no acceptable signature found 119s autopkgtest [17:03:45]: testing package python-homeassistant-analytics version 0.7.0-2 119s autopkgtest [17:03:45]: build not needed 120s autopkgtest [17:03:46]: test run-tests: preparing testbed 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Starting pkgProblemResolver with broken count: 0 122s Starting 2 pkgProblemResolver with broken count: 0 122s Done 122s The following additional packages will be installed: 122s python3-aiohappyeyeballs python3-aiohttp python3-aioresponses 122s python3-aiosignal python3-all python3-async-generator python3-async-timeout 122s python3-frozenlist python3-iniconfig python3-mashumaro python3-msgpack 122s python3-multidict python3-orjson python3-packaging python3-pluggy 122s python3-pytest python3-pytest-asyncio python3-python-homeassistant-analytics 122s python3-syrupy python3-tomli python3-tomli-w python3-yarl 122s Recommended packages: 122s libjs-jquery python3-aiodns python3-ciso8601 python3-pendulum 122s The following NEW packages will be installed: 122s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 122s python3-aioresponses python3-aiosignal python3-all python3-async-generator 122s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 122s python3-msgpack python3-multidict python3-orjson python3-packaging 122s python3-pluggy python3-pytest python3-pytest-asyncio 122s python3-python-homeassistant-analytics python3-syrupy python3-tomli 122s python3-tomli-w python3-yarl 122s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 122s Need to get 1510 kB/1511 kB of archives. 122s After this operation, 6768 kB of additional disk space will be used. 122s Get:1 /tmp/autopkgtest.zcGNKv/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [764 B] 122s Get:2 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 122s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-multidict s390x 6.1.0-1 [34.1 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-yarl s390x 1.13.1-1build1 [122 kB] 123s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-timeout all 4.0.3-1 [6412 B] 123s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-frozenlist s390x 1.5.0-1 [49.7 kB] 123s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiosignal all 1.3.1-1 [5172 B] 123s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-aiohttp s390x 3.10.10-2build1 [358 kB] 123s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 123s Get:10 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aioresponses all 0.7.6-2 [10.9 kB] 123s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 123s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 123s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 123s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x python3-msgpack s390x 1.0.3-3build2 [85.0 kB] 123s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-orjson s390x 3.10.7-1 [314 kB] 123s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli all 2.0.1-2 [16.5 kB] 123s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli-w all 1.0.0-2 [7368 B] 123s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mashumaro all 3.13.1-4 [87.3 kB] 123s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 123s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 123s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 123s Get:22 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-python-homeassistant-analytics all 0.7.0-2 [9468 B] 123s Get:23 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-syrupy all 4.7.2-1 [44.3 kB] 123s Fetched 1510 kB in 1s (2481 kB/s) 123s Selecting previously unselected package python3-aiohappyeyeballs. 123s (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 ... 55518 files and directories currently installed.) 123s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 123s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 123s Selecting previously unselected package python3-multidict. 123s Preparing to unpack .../01-python3-multidict_6.1.0-1_s390x.deb ... 123s Unpacking python3-multidict (6.1.0-1) ... 123s Selecting previously unselected package python3-yarl. 123s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_s390x.deb ... 123s Unpacking python3-yarl (1.13.1-1build1) ... 123s Selecting previously unselected package python3-async-timeout. 123s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 123s Unpacking python3-async-timeout (4.0.3-1) ... 123s Selecting previously unselected package python3-frozenlist. 123s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_s390x.deb ... 123s Unpacking python3-frozenlist (1.5.0-1) ... 123s Selecting previously unselected package python3-aiosignal. 123s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 123s Unpacking python3-aiosignal (1.3.1-1) ... 123s Selecting previously unselected package python3-aiohttp. 123s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_s390x.deb ... 123s Unpacking python3-aiohttp (3.10.10-2build1) ... 123s Selecting previously unselected package python3-packaging. 123s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 123s Unpacking python3-packaging (24.1-1) ... 123s Selecting previously unselected package python3-aioresponses. 123s Preparing to unpack .../08-python3-aioresponses_0.7.6-2_all.deb ... 123s Unpacking python3-aioresponses (0.7.6-2) ... 123s Selecting previously unselected package python3-all. 123s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_s390x.deb ... 123s Unpacking python3-all (3.12.6-0ubuntu1) ... 123s Selecting previously unselected package python3-async-generator. 123s Preparing to unpack .../10-python3-async-generator_1.10-4_all.deb ... 123s Unpacking python3-async-generator (1.10-4) ... 123s Selecting previously unselected package python3-iniconfig. 123s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 123s Unpacking python3-iniconfig (1.1.1-2) ... 123s Selecting previously unselected package python3-msgpack. 123s Preparing to unpack .../12-python3-msgpack_1.0.3-3build2_s390x.deb ... 123s Unpacking python3-msgpack (1.0.3-3build2) ... 123s Selecting previously unselected package python3-orjson. 123s Preparing to unpack .../13-python3-orjson_3.10.7-1_s390x.deb ... 123s Unpacking python3-orjson (3.10.7-1) ... 123s Selecting previously unselected package python3-tomli. 123s Preparing to unpack .../14-python3-tomli_2.0.1-2_all.deb ... 123s Unpacking python3-tomli (2.0.1-2) ... 123s Selecting previously unselected package python3-tomli-w. 123s Preparing to unpack .../15-python3-tomli-w_1.0.0-2_all.deb ... 123s Unpacking python3-tomli-w (1.0.0-2) ... 123s Selecting previously unselected package python3-mashumaro. 123s Preparing to unpack .../16-python3-mashumaro_3.13.1-4_all.deb ... 123s Unpacking python3-mashumaro (3.13.1-4) ... 123s Selecting previously unselected package python3-pluggy. 123s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 123s Unpacking python3-pluggy (1.5.0-1) ... 123s Selecting previously unselected package python3-pytest. 123s Preparing to unpack .../18-python3-pytest_8.3.3-1_all.deb ... 123s Unpacking python3-pytest (8.3.3-1) ... 123s Selecting previously unselected package python3-pytest-asyncio. 123s Preparing to unpack .../19-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 123s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 123s Selecting previously unselected package python3-python-homeassistant-analytics. 123s Preparing to unpack .../20-python3-python-homeassistant-analytics_0.7.0-2_all.deb ... 123s Unpacking python3-python-homeassistant-analytics (0.7.0-2) ... 123s Selecting previously unselected package python3-syrupy. 123s Preparing to unpack .../21-python3-syrupy_4.7.2-1_all.deb ... 123s Unpacking python3-syrupy (4.7.2-1) ... 123s Selecting previously unselected package autopkgtest-satdep. 123s Preparing to unpack .../22-1-autopkgtest-satdep.deb ... 123s Unpacking autopkgtest-satdep (0) ... 123s Setting up python3-iniconfig (1.1.1-2) ... 123s Setting up python3-orjson (3.10.7-1) ... 123s Setting up python3-async-generator (1.10-4) ... 123s Setting up python3-tomli (2.0.1-2) ... 124s Setting up python3-all (3.12.6-0ubuntu1) ... 124s Setting up python3-multidict (6.1.0-1) ... 124s Setting up python3-frozenlist (1.5.0-1) ... 124s Setting up python3-aiosignal (1.3.1-1) ... 124s Setting up python3-async-timeout (4.0.3-1) ... 124s Setting up python3-packaging (24.1-1) ... 124s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 124s Setting up python3-pluggy (1.5.0-1) ... 124s Setting up python3-msgpack (1.0.3-3build2) ... 124s Setting up python3-tomli-w (1.0.0-2) ... 124s Setting up python3-yarl (1.13.1-1build1) ... 124s Setting up python3-mashumaro (3.13.1-4) ... 124s Setting up python3-pytest (8.3.3-1) ... 125s Setting up python3-syrupy (4.7.2-1) ... 125s Setting up python3-aiohttp (3.10.10-2build1) ... 125s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 125s Setting up python3-aioresponses (0.7.6-2) ... 125s Setting up python3-python-homeassistant-analytics (0.7.0-2) ... 125s Setting up autopkgtest-satdep (0) ... 125s Processing triggers for man-db (2.13.0-1) ... 128s (Reading database ... 56081 files and directories currently installed.) 128s Removing autopkgtest-satdep (0) ... 128s autopkgtest [17:03:54]: test run-tests: [----------------------- 129s ============================= test session starts ============================== 129s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 129s cachedir: .pytest_cache 129s rootdir: /tmp/autopkgtest.zcGNKv/autopkgtest_tmp 129s plugins: typeguard-4.4.1, syrupy-4.7.2, asyncio-0.20.3 129s asyncio: mode=Mode.AUTO 129s collecting ... collected 9 items 129s 129s tests/test_python_homeassistant_analytics.py::test_putting_in_own_session FAILED [ 11%] 129s 129s =================================== FAILURES =================================== 129s _________________________ test_putting_in_own_session __________________________ 129s 129s responses = 129s 129s async def test_putting_in_own_session( 129s responses: aioresponses, 129s ) -> None: 129s """Test putting in own session.""" 129s responses.get( 129s f"{HOMEASSISTANT_ANALYTICS_URL}/data.json", 129s status=200, 129s body=load_fixture("data.json"), 129s ) 129s async with aiohttp.ClientSession() as session: 129s analytics = HomeassistantAnalyticsClient(session=session) 129s > await analytics.get_analytics() 129s 129s tests/test_python_homeassistant_analytics.py:33: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:87: in get_analytics 129s response = await self._request("analytics.home-assistant.io", "data.json") 129s /usr/lib/python3/dist-packages/python_homeassistant_analytics/python_homeassistant_analytics.py:59: in _request 129s response = await self.session.get( 129s /usr/lib/python3.12/unittest/mock.py:2293: in _execute_mock_call 129s result = await effect(*args, **kwargs) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s self = 129s orig_self = 129s method = 'GET', url = URL('https://analytics.home-assistant.io/data.json') 129s args = () 129s kwargs = {'allow_redirects': True, 'headers': {'Accept': 'application/json, text/plain, */*', 'User-Agent': 'PythonHomeassistantAnalytics/0.5.0'}} 129s url_origin = URL('https://analytics.home-assistant.io/data.json') 129s url_str = 'https://analytics.home-assistant.io/data.json' 129s key = ('GET', URL('https://analytics.home-assistant.io/data.json')) 129s request_call = RequestCall(args=(), kwargs={'headers': {'User-Agent': 'PythonHomeassistantAnalytics/0.5.0', 'Accept': 'application/json, text/plain, */*'}, 'allow_redirects': True}) 129s response = None 129s 129s async def _request_mock(self, orig_self: ClientSession, 129s method: str, url: 'Union[URL, str]', 129s *args: Tuple, 129s **kwargs: Any) -> 'ClientResponse': 129s """Return mocked response object or raise connection error.""" 129s if orig_self.closed: 129s raise RuntimeError('Session is closed') 129s 129s url_origin = url 129s url = normalize_url(merge_params(url, kwargs.get('params'))) 129s url_str = str(url) 129s for prefix in self._passthrough: 129s if url_str.startswith(prefix): 129s return (await self.patcher.temp_original( 129s orig_self, method, url_origin, *args, **kwargs 129s )) 129s 129s key = (method, url) 129s self.requests.setdefault(key, []) 129s request_call = self._build_request_call(method, *args, **kwargs) 129s self.requests[key].append(request_call) 129s 129s response = await self.match(method, url, **kwargs) 129s 129s if response is None: 129s > raise ClientConnectionError( 129s 'Connection refused: {} {}'.format(method, url) 129s ) 129s E aiohttp.client_exceptions.ClientConnectionError: Connection refused: GET https://analytics.home-assistant.io/data.json 129s 129s /usr/lib/python3/dist-packages/aioresponses/core.py:515: ClientConnectionError 129s =========================== short test summary info ============================ 129s FAILED tests/test_python_homeassistant_analytics.py::test_putting_in_own_session 129s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 129s ============================== 1 failed in 0.09s =============================== 129s autopkgtest [17:03:55]: test run-tests: -----------------------] 130s autopkgtest [17:03:56]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 130s run-tests FAIL non-zero exit status 1 130s autopkgtest [17:03:56]: @@@@@@@@@@@@@@@@@@@@ summary 130s run-tests FAIL non-zero exit status 1 142s nova [W] Using flock in prodstack6-s390x 142s flock: timeout while waiting to get lock 142s Creating nova instance adt-plucky-s390x-python-homeassistant-analytics-20241115-170146-juju-7f2275-prod-proposed-migration-environment-15-a3340ac7-70d0-4ea9-9ae5-49b240c4d100 from image adt/ubuntu-plucky-s390x-server-20241115.img (UUID c94000c6-8e8d-4693-8d37-fa9d34cd2414)...