0s autopkgtest [17:01:30]: starting date and time: 2024-11-15 17:01:30+0000 0s autopkgtest [17:01:30]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [17:01:30]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.s0xs61gs/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-directv --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-20@bos03-s390x-4.secgroup --name adt-plucky-s390x-python-directv-20241115-170130-juju-7f2275-prod-proposed-migration-environment-20-f4602dab-d622-4009-8582-03e8c8f368a8 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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/ 103s autopkgtest [17:03:13]: testbed dpkg architecture: s390x 103s autopkgtest [17:03:13]: testbed apt version: 2.9.8 103s autopkgtest [17:03:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 104s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 104s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 104s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 104s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [153 kB] 104s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [751 kB] 104s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4940 B] 105s Fetched 2150 kB in 1s (2533 kB/s) 105s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade... 107s The following packages will be upgraded: 107s python3-markupsafe 107s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 12.9 kB of archives. 107s After this operation, 16.4 kB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-markupsafe s390x 2.1.5-1build3 [12.9 kB] 107s Fetched 12.9 kB in 0s (94.2 kB/s) 108s (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.) 108s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_s390x.deb ... 108s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 108s Setting up python3-markupsafe (2.1.5-1build3) ... 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 109s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 109s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 109s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 110s Reading package lists... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Calculating upgrade... 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 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [17:03:23]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 113s autopkgtest [17:03:23]: @@@@@@@@@@@@@@@@@@@@ apt-source python-directv 114s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (dsc) [2349 B] 114s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (tar) [19.1 kB] 114s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (diff) [2440 B] 114s gpgv: Signature made Fri Aug 2 01:08:32 2024 UTC 114s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 114s gpgv: Can't check signature: No public key 114s dpkg-source: warning: cannot verify inline signature for ./python-directv_0.4.0-2.dsc: no acceptable signature found 114s autopkgtest [17:03:24]: testing package python-directv version 0.4.0-2 115s autopkgtest [17:03:25]: build not needed 115s autopkgtest [17:03:25]: test run-tests: preparing testbed 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 116s Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 116s The following additional packages will be installed: 116s python3-aiohappyeyeballs python3-aiohttp python3-aiosignal python3-all 116s python3-aresponses python3-async-generator python3-async-timeout 116s python3-directv python3-frozenlist python3-iniconfig python3-multidict 116s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 116s python3-yarl 116s Recommended packages: 116s libjs-jquery python3-aiodns 116s The following NEW packages will be installed: 116s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 116s python3-aiosignal python3-all python3-aresponses python3-async-generator 116s python3-async-timeout python3-directv python3-frozenlist python3-iniconfig 116s python3-multidict python3-packaging python3-pluggy python3-pytest 116s python3-pytest-asyncio python3-yarl 116s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 957 kB/958 kB of archives. 116s After this operation, 4865 kB of additional disk space will be used. 116s Get:1 /tmp/autopkgtest.cRLVOV/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [736 B] 117s Get:2 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 117s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-multidict s390x 6.1.0-1 [34.1 kB] 117s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-yarl s390x 1.13.1-1build1 [122 kB] 117s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-timeout all 4.0.3-1 [6412 B] 117s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-frozenlist s390x 1.5.0-1 [49.7 kB] 117s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiosignal all 1.3.1-1 [5172 B] 117s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-aiohttp s390x 3.10.10-2build1 [358 kB] 117s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 117s Get:10 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 117s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 117s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 117s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 117s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 117s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 117s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aresponses all 3.0.0-2 [13.8 kB] 117s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-directv all 0.4.0-2 [7796 B] 117s Fetched 957 kB in 1s (1791 kB/s) 117s Selecting previously unselected package python3-aiohappyeyeballs. 117s (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.) 117s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 117s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 117s Selecting previously unselected package python3-multidict. 117s Preparing to unpack .../01-python3-multidict_6.1.0-1_s390x.deb ... 117s Unpacking python3-multidict (6.1.0-1) ... 117s Selecting previously unselected package python3-yarl. 117s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_s390x.deb ... 117s Unpacking python3-yarl (1.13.1-1build1) ... 117s Selecting previously unselected package python3-async-timeout. 117s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 117s Unpacking python3-async-timeout (4.0.3-1) ... 117s Selecting previously unselected package python3-frozenlist. 117s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_s390x.deb ... 117s Unpacking python3-frozenlist (1.5.0-1) ... 117s Selecting previously unselected package python3-aiosignal. 117s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 117s Unpacking python3-aiosignal (1.3.1-1) ... 117s Selecting previously unselected package python3-aiohttp. 117s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_s390x.deb ... 117s Unpacking python3-aiohttp (3.10.10-2build1) ... 117s Selecting previously unselected package python3-all. 117s Preparing to unpack .../07-python3-all_3.12.6-0ubuntu1_s390x.deb ... 117s Unpacking python3-all (3.12.6-0ubuntu1) ... 117s Selecting previously unselected package python3-async-generator. 117s Preparing to unpack .../08-python3-async-generator_1.10-4_all.deb ... 117s Unpacking python3-async-generator (1.10-4) ... 117s Selecting previously unselected package python3-iniconfig. 117s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 117s Unpacking python3-iniconfig (1.1.1-2) ... 117s Selecting previously unselected package python3-packaging. 117s Preparing to unpack .../10-python3-packaging_24.1-1_all.deb ... 117s Unpacking python3-packaging (24.1-1) ... 117s Selecting previously unselected package python3-pluggy. 117s Preparing to unpack .../11-python3-pluggy_1.5.0-1_all.deb ... 117s Unpacking python3-pluggy (1.5.0-1) ... 117s Selecting previously unselected package python3-pytest. 117s Preparing to unpack .../12-python3-pytest_8.3.3-1_all.deb ... 117s Unpacking python3-pytest (8.3.3-1) ... 117s Selecting previously unselected package python3-pytest-asyncio. 117s Preparing to unpack .../13-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 117s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 117s Selecting previously unselected package python3-aresponses. 117s Preparing to unpack .../14-python3-aresponses_3.0.0-2_all.deb ... 117s Unpacking python3-aresponses (3.0.0-2) ... 117s Selecting previously unselected package python3-directv. 117s Preparing to unpack .../15-python3-directv_0.4.0-2_all.deb ... 117s Unpacking python3-directv (0.4.0-2) ... 117s Selecting previously unselected package autopkgtest-satdep. 117s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 117s Unpacking autopkgtest-satdep (0) ... 117s Setting up python3-iniconfig (1.1.1-2) ... 117s Setting up python3-async-generator (1.10-4) ... 118s Setting up python3-all (3.12.6-0ubuntu1) ... 118s Setting up python3-multidict (6.1.0-1) ... 118s Setting up python3-frozenlist (1.5.0-1) ... 118s Setting up python3-aiosignal (1.3.1-1) ... 118s Setting up python3-async-timeout (4.0.3-1) ... 118s Setting up python3-packaging (24.1-1) ... 118s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 118s Setting up python3-pluggy (1.5.0-1) ... 118s Setting up python3-yarl (1.13.1-1build1) ... 118s Setting up python3-pytest (8.3.3-1) ... 119s Setting up python3-aiohttp (3.10.10-2build1) ... 119s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 119s Setting up python3-aresponses (3.0.0-2) ... 119s Setting up python3-directv (0.4.0-2) ... 119s Setting up autopkgtest-satdep (0) ... 119s Processing triggers for man-db (2.13.0-1) ... 121s (Reading database ... 55935 files and directories currently installed.) 121s Removing autopkgtest-satdep (0) ... 122s autopkgtest [17:03:32]: test run-tests: [----------------------- 122s ============================= test session starts ============================== 122s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 122s cachedir: .pytest_cache 122s rootdir: /tmp/autopkgtest.cRLVOV/autopkgtest_tmp 122s plugins: aresponses-3.0.0, typeguard-4.4.1, asyncio-0.20.3 122s asyncio: mode=Mode.AUTO 122s collecting ... collected 36 items 122s 122s tests/test_directv.py::test_json_request PASSED [ 2%] 122s tests/test_directv.py::test_authenticated_request PASSED [ 5%] 122s tests/test_directv.py::test_text_request PASSED [ 8%] 122s tests/test_directv.py::test_internal_session PASSED [ 11%] 122s tests/test_directv.py::test_request_port PASSED [ 13%] 123s tests/test_directv.py::test_timeout PASSED [ 16%] 123s tests/test_directv.py::test_client_error FAILED [ 19%] 123s 123s =================================== FAILURES =================================== 123s ______________________________ test_client_error _______________________________ 123s 123s @pytest.mark.asyncio 123s async def test_client_error(): 123s """Test http client error.""" 123s async with ClientSession() as session: 123s dtv = DIRECTV("#", session=session) 123s with pytest.raises(DIRECTVConnectionError): 123s > assert await dtv._request("/info/getVersion") 123s 123s tests/test_directv.py:139: 123s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 123s /usr/lib/python3/dist-packages/directv/directv.py:59: in _request 123s url = URL.build( 123s /usr/lib/python3/dist-packages/yarl/_url.py:385: in build 123s netloc = cls._make_netloc( 123s /usr/lib/python3/dist-packages/yarl/_url.py:1057: in _make_netloc 123s ret = cls._encode_host(host) 123s /usr/lib/python3/dist-packages/yarl/_url.py:1038: in _encode_host 123s _host_validate(host) 123s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 123s 123s host = '#' 123s 123s @lru_cache(_MAXCACHE) 123s def _host_validate(host: str) -> None: 123s """Validate an ascii host name.""" 123s invalid = _not_reg_name.search(host) 123s if invalid is None: 123s return 123s value, pos, extra = invalid.group(), invalid.start(), "" 123s if value == "@" or (value == ":" and "@" in host[pos:]): 123s # this looks like an authority string 123s extra = ( 123s ", if the value includes a username or password, " 123s "use 'authority' instead of 'host'" 123s ) 123s > raise ValueError( 123s f"Host {host!r} cannot contain {value!r} (at position " f"{pos}){extra}" 123s ) from None 123s E ValueError: Host '#' cannot contain '#' (at position 0) 123s 123s /usr/lib/python3/dist-packages/yarl/_url.py:1607: ValueError 123s =============================== warnings summary =============================== 123s ../../../usr/lib/python3/dist-packages/directv/models.py:128 123s /usr/lib/python3/dist-packages/directv/models.py:128: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 123s at: datetime = datetime.utcnow() 123s 123s tests/test_directv.py::test_json_request 123s tests/test_directv.py::test_authenticated_request 123s tests/test_directv.py::test_text_request 123s tests/test_directv.py::test_internal_session 123s tests/test_directv.py::test_request_port 123s tests/test_directv.py::test_timeout 123s /usr/lib/python3/dist-packages/directv/directv.py:77: DeprecationWarning: with timeout() is deprecated, use async with timeout() instead 123s with async_timeout.timeout(self.request_timeout): 123s 123s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 123s =========================== short test summary info ============================ 123s FAILED tests/test_directv.py::test_client_error - ValueError: Host '#' cannot... 123s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 123s =================== 1 failed, 6 passed, 7 warnings in 1.16s ==================== 124s autopkgtest [17:03:34]: test run-tests: -----------------------] 124s autopkgtest [17:03:34]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 124s run-tests FAIL non-zero exit status 1 124s autopkgtest [17:03:34]: @@@@@@@@@@@@@@@@@@@@ summary 124s run-tests FAIL non-zero exit status 1 137s nova [W] Using flock in prodstack6-s390x 137s flock: timeout while waiting to get lock 137s Creating nova instance adt-plucky-s390x-python-directv-20241115-170130-juju-7f2275-prod-proposed-migration-environment-20-f4602dab-d622-4009-8582-03e8c8f368a8 from image adt/ubuntu-plucky-s390x-server-20241115.img (UUID c94000c6-8e8d-4693-8d37-fa9d34cd2414)...