0s autopkgtest [16:57:38]: starting date and time: 2024-11-15 16:57:38+0000 0s autopkgtest [16:57:38]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [16:57:38]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.httnb80j/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-16.secgroup --name adt-plucky-arm64-python-directv-20241115-165738-juju-7f2275-prod-proposed-migration-environment-20-6c94b1c7-b724-4000-806a-8888c38c0354 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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/ 102s autopkgtest [16:59:20]: testbed dpkg architecture: arm64 103s autopkgtest [16:59:21]: testbed apt version: 2.9.8 103s autopkgtest [16:59:21]: @@@@@@@@@@@@@@@@@@@@ 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/main Sources [94.2 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 104s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 104s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [172 kB] 104s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 104s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [793 kB] 104s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6404 B] 105s Fetched 2263 kB in 1s (2258 kB/s) 105s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s Calculating upgrade... 109s The following packages will be upgraded: 109s python3-markupsafe 109s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Need to get 13.0 kB of archives. 109s After this operation, 69.6 kB of additional disk space will be used. 109s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-markupsafe arm64 2.1.5-1build3 [13.0 kB] 109s Fetched 13.0 kB in 0s (89.2 kB/s) 110s (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.) 110s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_arm64.deb ... 110s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 110s Setting up python3-markupsafe (2.1.5-1build3) ... 110s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 112s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 112s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 112s 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... 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s autopkgtest [16:59:36]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 119s autopkgtest [16:59:37]: @@@@@@@@@@@@@@@@@@@@ apt-source python-directv 120s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (dsc) [2349 B] 120s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (tar) [19.1 kB] 120s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (diff) [2440 B] 120s gpgv: Signature made Fri Aug 2 01:08:32 2024 UTC 120s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 120s gpgv: Can't check signature: No public key 120s dpkg-source: warning: cannot verify inline signature for ./python-directv_0.4.0-2.dsc: no acceptable signature found 121s autopkgtest [16:59:39]: testing package python-directv version 0.4.0-2 121s autopkgtest [16:59:39]: build not needed 121s autopkgtest [16:59:39]: test run-tests: preparing testbed 122s Reading package lists... 123s Building dependency tree... 123s Reading state information... 124s Starting pkgProblemResolver with broken count: 0 124s Starting 2 pkgProblemResolver with broken count: 0 124s Done 124s The following additional packages will be installed: 124s python3-aiohappyeyeballs python3-aiohttp python3-aiosignal python3-all 124s python3-aresponses python3-async-generator python3-async-timeout 124s python3-directv python3-frozenlist python3-iniconfig python3-multidict 124s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 124s python3-yarl 124s Recommended packages: 124s libjs-jquery python3-aiodns 125s The following NEW packages will be installed: 125s autopkgtest-satdep python3-aiohappyeyeballs python3-aiohttp 125s python3-aiosignal python3-all python3-aresponses python3-async-generator 125s python3-async-timeout python3-directv python3-frozenlist python3-iniconfig 125s python3-multidict python3-packaging python3-pluggy python3-pytest 125s python3-pytest-asyncio python3-yarl 125s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 125s Need to get 917 kB/918 kB of archives. 125s After this operation, 4865 kB of additional disk space will be used. 125s Get:1 /tmp/autopkgtest.6RXV7G/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [744 B] 125s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 125s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1 [34.0 kB] 125s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-yarl arm64 1.13.1-1build1 [110 kB] 125s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 4.0.3-1 [6412 B] 125s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1 [46.8 kB] 125s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.1-1 [5172 B] 125s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-aiohttp arm64 3.10.10-2build1 [334 kB] 125s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 125s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 125s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 125s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 125s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 125s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 125s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 125s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aresponses all 3.0.0-2 [13.8 kB] 125s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-directv all 0.4.0-2 [7796 B] 126s Fetched 917 kB in 1s (1640 kB/s) 126s Selecting previously unselected package python3-aiohappyeyeballs. 126s (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.) 126s Preparing to unpack .../00-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 126s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 126s Selecting previously unselected package python3-multidict. 126s Preparing to unpack .../01-python3-multidict_6.1.0-1_arm64.deb ... 126s Unpacking python3-multidict (6.1.0-1) ... 126s Selecting previously unselected package python3-yarl. 126s Preparing to unpack .../02-python3-yarl_1.13.1-1build1_arm64.deb ... 126s Unpacking python3-yarl (1.13.1-1build1) ... 126s Selecting previously unselected package python3-async-timeout. 126s Preparing to unpack .../03-python3-async-timeout_4.0.3-1_all.deb ... 126s Unpacking python3-async-timeout (4.0.3-1) ... 126s Selecting previously unselected package python3-frozenlist. 126s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_arm64.deb ... 126s Unpacking python3-frozenlist (1.5.0-1) ... 126s Selecting previously unselected package python3-aiosignal. 126s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 126s Unpacking python3-aiosignal (1.3.1-1) ... 126s Selecting previously unselected package python3-aiohttp. 126s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_arm64.deb ... 126s Unpacking python3-aiohttp (3.10.10-2build1) ... 126s Selecting previously unselected package python3-all. 126s Preparing to unpack .../07-python3-all_3.12.6-0ubuntu1_arm64.deb ... 126s Unpacking python3-all (3.12.6-0ubuntu1) ... 126s Selecting previously unselected package python3-async-generator. 126s Preparing to unpack .../08-python3-async-generator_1.10-4_all.deb ... 126s Unpacking python3-async-generator (1.10-4) ... 126s Selecting previously unselected package python3-iniconfig. 126s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 126s Unpacking python3-iniconfig (1.1.1-2) ... 126s Selecting previously unselected package python3-packaging. 126s Preparing to unpack .../10-python3-packaging_24.1-1_all.deb ... 126s Unpacking python3-packaging (24.1-1) ... 126s Selecting previously unselected package python3-pluggy. 126s Preparing to unpack .../11-python3-pluggy_1.5.0-1_all.deb ... 126s Unpacking python3-pluggy (1.5.0-1) ... 126s Selecting previously unselected package python3-pytest. 126s Preparing to unpack .../12-python3-pytest_8.3.3-1_all.deb ... 126s Unpacking python3-pytest (8.3.3-1) ... 126s Selecting previously unselected package python3-pytest-asyncio. 126s Preparing to unpack .../13-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 126s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 126s Selecting previously unselected package python3-aresponses. 126s Preparing to unpack .../14-python3-aresponses_3.0.0-2_all.deb ... 126s Unpacking python3-aresponses (3.0.0-2) ... 126s Selecting previously unselected package python3-directv. 126s Preparing to unpack .../15-python3-directv_0.4.0-2_all.deb ... 126s Unpacking python3-directv (0.4.0-2) ... 126s Selecting previously unselected package autopkgtest-satdep. 126s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 126s Unpacking autopkgtest-satdep (0) ... 127s Setting up python3-iniconfig (1.1.1-2) ... 127s Setting up python3-async-generator (1.10-4) ... 127s Setting up python3-all (3.12.6-0ubuntu1) ... 127s Setting up python3-multidict (6.1.0-1) ... 127s Setting up python3-frozenlist (1.5.0-1) ... 127s Setting up python3-aiosignal (1.3.1-1) ... 127s Setting up python3-async-timeout (4.0.3-1) ... 127s Setting up python3-packaging (24.1-1) ... 128s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 128s Setting up python3-pluggy (1.5.0-1) ... 128s Setting up python3-yarl (1.13.1-1build1) ... 128s Setting up python3-pytest (8.3.3-1) ... 128s Setting up python3-aiohttp (3.10.10-2build1) ... 129s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 129s Setting up python3-aresponses (3.0.0-2) ... 129s Setting up python3-directv (0.4.0-2) ... 129s Setting up autopkgtest-satdep (0) ... 129s Processing triggers for man-db (2.13.0-1) ... 133s (Reading database ... 80375 files and directories currently installed.) 133s Removing autopkgtest-satdep (0) ... 134s autopkgtest [16:59:52]: test run-tests: [----------------------- 134s ============================= test session starts ============================== 134s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 134s cachedir: .pytest_cache 134s rootdir: /tmp/autopkgtest.6RXV7G/autopkgtest_tmp 134s plugins: typeguard-4.4.1, aresponses-3.0.0, asyncio-0.20.3 134s asyncio: mode=Mode.AUTO 135s collecting ... collected 36 items 135s 135s tests/test_directv.py::test_json_request PASSED [ 2%] 135s tests/test_directv.py::test_authenticated_request PASSED [ 5%] 135s tests/test_directv.py::test_text_request PASSED [ 8%] 135s tests/test_directv.py::test_internal_session PASSED [ 11%] 135s tests/test_directv.py::test_request_port PASSED [ 13%] 136s tests/test_directv.py::test_timeout PASSED [ 16%] 136s tests/test_directv.py::test_client_error FAILED [ 19%] 136s 136s =================================== FAILURES =================================== 136s ______________________________ test_client_error _______________________________ 136s 136s @pytest.mark.asyncio 136s async def test_client_error(): 136s """Test http client error.""" 136s async with ClientSession() as session: 136s dtv = DIRECTV("#", session=session) 136s with pytest.raises(DIRECTVConnectionError): 136s > assert await dtv._request("/info/getVersion") 136s 136s tests/test_directv.py:139: 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s /usr/lib/python3/dist-packages/directv/directv.py:59: in _request 136s url = URL.build( 136s /usr/lib/python3/dist-packages/yarl/_url.py:385: in build 136s netloc = cls._make_netloc( 136s /usr/lib/python3/dist-packages/yarl/_url.py:1057: in _make_netloc 136s ret = cls._encode_host(host) 136s /usr/lib/python3/dist-packages/yarl/_url.py:1038: in _encode_host 136s _host_validate(host) 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s 136s host = '#' 136s 136s @lru_cache(_MAXCACHE) 136s def _host_validate(host: str) -> None: 136s """Validate an ascii host name.""" 136s invalid = _not_reg_name.search(host) 136s if invalid is None: 136s return 136s value, pos, extra = invalid.group(), invalid.start(), "" 136s if value == "@" or (value == ":" and "@" in host[pos:]): 136s # this looks like an authority string 136s extra = ( 136s ", if the value includes a username or password, " 136s "use 'authority' instead of 'host'" 136s ) 136s > raise ValueError( 136s f"Host {host!r} cannot contain {value!r} (at position " f"{pos}){extra}" 136s ) from None 136s E ValueError: Host '#' cannot contain '#' (at position 0) 136s 136s /usr/lib/python3/dist-packages/yarl/_url.py:1607: ValueError 136s =============================== warnings summary =============================== 136s ../../../usr/lib/python3/dist-packages/directv/models.py:128 136s /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). 136s at: datetime = datetime.utcnow() 136s 136s tests/test_directv.py::test_json_request 136s tests/test_directv.py::test_authenticated_request 136s tests/test_directv.py::test_text_request 136s tests/test_directv.py::test_internal_session 136s tests/test_directv.py::test_request_port 136s tests/test_directv.py::test_timeout 136s /usr/lib/python3/dist-packages/directv/directv.py:77: DeprecationWarning: with timeout() is deprecated, use async with timeout() instead 136s with async_timeout.timeout(self.request_timeout): 136s 136s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 136s =========================== short test summary info ============================ 136s FAILED tests/test_directv.py::test_client_error - ValueError: Host '#' cannot... 136s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 136s =================== 1 failed, 6 passed, 7 warnings in 1.24s ==================== 136s autopkgtest [16:59:54]: test run-tests: -----------------------] 137s run-tests FAIL non-zero exit status 1 137s autopkgtest [16:59:55]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 137s autopkgtest [16:59:55]: @@@@@@@@@@@@@@@@@@@@ summary 137s run-tests FAIL non-zero exit status 1 150s nova [W] Skipping flock in bos03-arm64 150s Creating nova instance adt-plucky-arm64-python-directv-20241115-165738-juju-7f2275-prod-proposed-migration-environment-20-6c94b1c7-b724-4000-806a-8888c38c0354 from image adt/ubuntu-plucky-arm64-server-20241115.img (UUID bf337bb2-b8c9-4fc7-87ba-f6e99408dba6)...