0s autopkgtest [17:13:00]: starting date and time: 2024-12-27 17:13:00+0000 0s autopkgtest [17:13:00]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:13:00]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ry6l15zi/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-directv --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.8-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-33.secgroup --name adt-plucky-arm64-python-directv-20241227-171300-juju-7f2275-prod-proposed-migration-environment-15-66c610da-c4b0-4ab5-af0c-b0f2299cb9f1 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 135s autopkgtest [17:15:15]: testbed dpkg architecture: arm64 136s autopkgtest [17:15:16]: testbed apt version: 2.9.18 136s autopkgtest [17:15:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 136s autopkgtest [17:15:16]: testbed release detected to be: None 137s autopkgtest [17:15:17]: updating testbed package index (apt update) 137s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 138s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 138s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 138s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 138s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 138s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 138s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [56.0 kB] 138s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [620 kB] 138s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [74.2 kB] 138s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 138s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [503 kB] 138s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 138s Fetched 1417 kB in 1s (1677 kB/s) 139s Reading package lists... 140s Reading package lists... 140s Building dependency tree... 140s Reading state information... 140s Calculating upgrade... 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 141s Reading package lists... 141s Building dependency tree... 141s Reading state information... 142s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 142s autopkgtest [17:15:22]: upgrading testbed (apt dist-upgrade and autopurge) 142s Reading package lists... 142s Building dependency tree... 142s Reading state information... 143s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 143s Starting 2 pkgProblemResolver with broken count: 0 143s Done 144s Entering ResolveByKeep 144s 144s The following packages will be upgraded: 144s libpython3-stdlib python3 python3-minimal 145s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 145s Need to get 61.5 kB of archives. 145s After this operation, 0 B of additional disk space will be used. 145s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.8-1 [27.5 kB] 145s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.8-1 [23.9 kB] 145s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.8-1 [10.1 kB] 145s Fetched 61.5 kB in 0s (223 kB/s) 145s (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 ... 80060 files and directories currently installed.) 145s Preparing to unpack .../python3-minimal_3.12.8-1_arm64.deb ... 145s Unpacking python3-minimal (3.12.8-1) over (3.12.7-1) ... 145s Setting up python3-minimal (3.12.8-1) ... 145s (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 ... 80060 files and directories currently installed.) 145s Preparing to unpack .../python3_3.12.8-1_arm64.deb ... 146s Unpacking python3 (3.12.8-1) over (3.12.7-1) ... 146s Preparing to unpack .../libpython3-stdlib_3.12.8-1_arm64.deb ... 146s Unpacking libpython3-stdlib:arm64 (3.12.8-1) over (3.12.7-1) ... 146s Setting up libpython3-stdlib:arm64 (3.12.8-1) ... 146s Setting up python3 (3.12.8-1) ... 146s Processing triggers for man-db (2.13.0-1) ... 147s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s Starting pkgProblemResolver with broken count: 0 148s Starting 2 pkgProblemResolver with broken count: 0 148s Done 148s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 151s autopkgtest [17:15:31]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 151s autopkgtest [17:15:31]: @@@@@@@@@@@@@@@@@@@@ apt-source python-directv 152s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (dsc) [2349 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (tar) [19.1 kB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (diff) [2440 B] 153s gpgv: Signature made Fri Aug 2 01:08:32 2024 UTC 153s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 153s gpgv: Can't check signature: No public key 153s dpkg-source: warning: cannot verify inline signature for ./python-directv_0.4.0-2.dsc: no acceptable signature found 153s autopkgtest [17:15:33]: testing package python-directv version 0.4.0-2 153s autopkgtest [17:15:33]: build not needed 153s autopkgtest [17:15:33]: test run-tests: preparing testbed 153s Reading package lists... 154s Building dependency tree... 154s Reading state information... 154s Starting pkgProblemResolver with broken count: 0 154s Starting 2 pkgProblemResolver with broken count: 0 154s Done 155s The following NEW packages will be installed: 155s libpython3.13-minimal libpython3.13-stdlib python3-aiohttp python3-aiosignal 155s python3-all python3-aresponses python3-async-generator python3-async-timeout 155s python3-directv python3-frozenlist python3-iniconfig python3-multidict 155s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 155s python3-yarl python3.13 python3.13-minimal 155s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 155s Need to get 6772 kB of archives. 155s After this operation, 28.5 MB of additional disk space will be used. 155s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 155s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 155s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 155s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1build1 [38.3 kB] 155s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-yarl arm64 1.9.4-1 [68.2 kB] 155s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 5.0.1-1 [6830 B] 155s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1build1 [59.0 kB] 155s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.1-1 [5172 B] 155s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohttp arm64 3.9.5-1 [278 kB] 155s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 155s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.8-1 [892 B] 155s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 156s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 156s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 156s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 156s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 156s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 156s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aresponses all 3.0.0-2 [13.8 kB] 156s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-directv all 0.4.0-2 [7796 B] 156s Fetched 6772 kB in 1s (7882 kB/s) 156s Selecting previously unselected package libpython3.13-minimal:arm64. 156s (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 ... 80060 files and directories currently installed.) 156s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_arm64.deb ... 156s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 156s Selecting previously unselected package python3.13-minimal. 156s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_arm64.deb ... 156s Unpacking python3.13-minimal (3.13.1-2) ... 156s Selecting previously unselected package libpython3.13-stdlib:arm64. 156s Preparing to unpack .../02-libpython3.13-stdlib_3.13.1-2_arm64.deb ... 156s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 156s Selecting previously unselected package python3-multidict. 156s Preparing to unpack .../03-python3-multidict_6.1.0-1build1_arm64.deb ... 156s Unpacking python3-multidict (6.1.0-1build1) ... 156s Selecting previously unselected package python3-yarl. 156s Preparing to unpack .../04-python3-yarl_1.9.4-1_arm64.deb ... 156s Unpacking python3-yarl (1.9.4-1) ... 156s Selecting previously unselected package python3-async-timeout. 156s Preparing to unpack .../05-python3-async-timeout_5.0.1-1_all.deb ... 156s Unpacking python3-async-timeout (5.0.1-1) ... 157s Selecting previously unselected package python3-frozenlist. 157s Preparing to unpack .../06-python3-frozenlist_1.5.0-1build1_arm64.deb ... 157s Unpacking python3-frozenlist (1.5.0-1build1) ... 157s Selecting previously unselected package python3-aiosignal. 157s Preparing to unpack .../07-python3-aiosignal_1.3.1-1_all.deb ... 157s Unpacking python3-aiosignal (1.3.1-1) ... 157s Selecting previously unselected package python3-aiohttp. 157s Preparing to unpack .../08-python3-aiohttp_3.9.5-1_arm64.deb ... 157s Unpacking python3-aiohttp (3.9.5-1) ... 157s Selecting previously unselected package python3.13. 157s Preparing to unpack .../09-python3.13_3.13.1-2_arm64.deb ... 157s Unpacking python3.13 (3.13.1-2) ... 157s Selecting previously unselected package python3-all. 157s Preparing to unpack .../10-python3-all_3.12.8-1_arm64.deb ... 157s Unpacking python3-all (3.12.8-1) ... 157s Selecting previously unselected package python3-async-generator. 157s Preparing to unpack .../11-python3-async-generator_1.10-4_all.deb ... 157s Unpacking python3-async-generator (1.10-4) ... 157s Selecting previously unselected package python3-iniconfig. 157s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 157s Unpacking python3-iniconfig (1.1.1-2) ... 157s Selecting previously unselected package python3-packaging. 157s Preparing to unpack .../13-python3-packaging_24.2-1_all.deb ... 157s Unpacking python3-packaging (24.2-1) ... 157s Selecting previously unselected package python3-pluggy. 157s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 157s Unpacking python3-pluggy (1.5.0-1) ... 157s Selecting previously unselected package python3-pytest. 157s Preparing to unpack .../15-python3-pytest_8.3.3-1_all.deb ... 157s Unpacking python3-pytest (8.3.3-1) ... 157s Selecting previously unselected package python3-pytest-asyncio. 157s Preparing to unpack .../16-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 157s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 157s Selecting previously unselected package python3-aresponses. 157s Preparing to unpack .../17-python3-aresponses_3.0.0-2_all.deb ... 157s Unpacking python3-aresponses (3.0.0-2) ... 157s Selecting previously unselected package python3-directv. 157s Preparing to unpack .../18-python3-directv_0.4.0-2_all.deb ... 157s Unpacking python3-directv (0.4.0-2) ... 157s Setting up python3-iniconfig (1.1.1-2) ... 158s Setting up python3-async-generator (1.10-4) ... 158s Setting up python3-multidict (6.1.0-1build1) ... 158s Setting up python3-frozenlist (1.5.0-1build1) ... 158s Setting up python3-aiosignal (1.3.1-1) ... 158s Setting up python3-async-timeout (5.0.1-1) ... 158s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 158s Setting up python3-packaging (24.2-1) ... 159s Setting up python3-pluggy (1.5.0-1) ... 159s Setting up python3.13-minimal (3.13.1-2) ... 159s Setting up python3-yarl (1.9.4-1) ... 160s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 160s Setting up python3.13 (3.13.1-2) ... 161s Setting up python3-pytest (8.3.3-1) ... 161s Setting up python3-aiohttp (3.9.5-1) ... 162s Setting up python3-all (3.12.8-1) ... 162s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 162s Setting up python3-aresponses (3.0.0-2) ... 162s Setting up python3-directv (0.4.0-2) ... 162s Processing triggers for man-db (2.13.0-1) ... 163s Processing triggers for systemd (257-2ubuntu1) ... 164s autopkgtest [17:15:44]: test run-tests: [----------------------- 164s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 164s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 164s 164s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 164s ============================= test session starts ============================== 164s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 164s cachedir: .pytest_cache 164s rootdir: /tmp/autopkgtest.4JS7xv/autopkgtest_tmp 164s plugins: asyncio-0.24.0a1, aresponses-3.0.0, typeguard-4.4.1 164s asyncio: mode=Mode.AUTO, default_loop_scope=None 164s collecting ... collected 36 items 164s 164s tests/test_directv.py::test_json_request FAILED [ 2%] 164s 164s =================================== FAILURES =================================== 164s ______________________________ test_json_request _______________________________ 164s 164s aresponses = 164s 164s @pytest.mark.asyncio 164s async def test_json_request(aresponses): 164s """Test DIRECTV response is handled correctly.""" 164s aresponses.add( 164s MATCH_HOST, 164s "/info/getVersion", 164s "GET", 164s aresponses.Response( 164s status=200, 164s headers={"Content-Type": "application/json"}, 164s text='{"status": {"code": 200, "commandResult": 0}}', 164s ), 164s ) 164s 164s async with ClientSession() as session: 164s dtv = DIRECTV(HOST, session=session) 164s > response = await dtv._request("/info/getVersion") 164s 164s tests/test_directv.py:38: 164s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 164s 164s self = 164s uri = '/info/getVersion', method = 'GET', data = None, params = None 164s 164s async def _request( 164s self, 164s uri: str = "", 164s method: str = "GET", 164s data: Optional[Any] = None, 164s params: Optional[Mapping[str, str]] = None, 164s ) -> Any: 164s """Handle a request to a receiver.""" 164s scheme = "http" 164s 164s url = URL.build( 164s scheme=scheme, host=self.host, port=self.port, path=self.base_path 164s ).join(URL(uri)) 164s 164s auth = None 164s if self.username and self.password: 164s auth = aiohttp.BasicAuth(self.username, self.password) 164s 164s headers = { 164s "User-Agent": self.user_agent, 164s "Accept": "application/json, text/plain, */*", 164s } 164s 164s if self._session is None: 164s self._session = aiohttp.ClientSession() 164s self._close_session = True 164s 164s try: 164s > with async_timeout.timeout(self.request_timeout): 164s E TypeError: 'Timeout' object does not support the context manager protocol 164s 164s /usr/lib/python3/dist-packages/directv/directv.py:77: TypeError 164s =============================== warnings summary =============================== 164s ../../../usr/lib/python3/dist-packages/directv/models.py:128 164s /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). 164s at: datetime = datetime.utcnow() 164s 164s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 164s =========================== short test summary info ============================ 164s FAILED tests/test_directv.py::test_json_request - TypeError: 'Timeout' object... 164s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 164s ========================= 1 failed, 1 warning in 0.11s ========================= 165s autopkgtest [17:15:45]: test run-tests: -----------------------] 165s autopkgtest [17:15:45]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 165s run-tests FAIL non-zero exit status 1 166s autopkgtest [17:15:46]: @@@@@@@@@@@@@@@@@@@@ summary 166s run-tests FAIL non-zero exit status 1 170s nova [W] Using flock in prodstack6-arm64 170s Creating nova instance adt-plucky-arm64-python-directv-20241227-171300-juju-7f2275-prod-proposed-migration-environment-15-66c610da-c4b0-4ab5-af0c-b0f2299cb9f1 from image adt/ubuntu-plucky-arm64-server-20241227.img (UUID 738fbed8-b15b-470e-9f16-b6f749c8a417)... 170s nova [W] Timed out waiting for bb999ed6-6fa8-4603-aa9c-16443bc9238c to get deleted.