0s autopkgtest [17:13:01]: starting date and time: 2024-12-27 17:13:01+0000 0s autopkgtest [17:13:01]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:13:01]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.y0j0ob_n/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-14.secgroup --name adt-plucky-s390x-python-directv-20241227-171301-juju-7f2275-prod-proposed-migration-environment-15-bba76559-90f3-4229-a355-c41e9cf0ab3e --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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 98s autopkgtest [17:14:39]: testbed dpkg architecture: s390x 98s autopkgtest [17:14:39]: testbed apt version: 2.9.18 98s autopkgtest [17:14:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 99s autopkgtest [17:14:40]: testbed release detected to be: None 99s autopkgtest [17:14:40]: updating testbed package index (apt update) 100s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 100s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 100s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 100s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 100s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 100s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 100s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [620 kB] 100s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [56.0 kB] 100s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [57.3 kB] 100s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 100s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [469 kB] 100s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4260 B] 100s Fetched 1303 kB in 1s (1540 kB/s) 101s Reading package lists... 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Calculating upgrade... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 102s autopkgtest [17:14:43]: upgrading testbed (apt dist-upgrade and autopurge) 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 103s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 103s Starting 2 pkgProblemResolver with broken count: 0 103s Done 103s Entering ResolveByKeep 103s 103s The following packages will be upgraded: 103s libpython3-stdlib python3 python3-minimal 103s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 61.5 kB of archives. 103s After this operation, 0 B of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.8-1 [27.5 kB] 103s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.8-1 [23.9 kB] 103s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.8-1 [10.1 kB] 104s Fetched 61.5 kB in 0s (219 kB/s) 104s (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 ... 55491 files and directories currently installed.) 104s Preparing to unpack .../python3-minimal_3.12.8-1_s390x.deb ... 104s Unpacking python3-minimal (3.12.8-1) over (3.12.7-1) ... 104s Setting up python3-minimal (3.12.8-1) ... 104s (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 ... 55491 files and directories currently installed.) 104s Preparing to unpack .../python3_3.12.8-1_s390x.deb ... 104s Unpacking python3 (3.12.8-1) over (3.12.7-1) ... 104s Preparing to unpack .../libpython3-stdlib_3.12.8-1_s390x.deb ... 104s Unpacking libpython3-stdlib:s390x (3.12.8-1) over (3.12.7-1) ... 104s Setting up libpython3-stdlib:s390x (3.12.8-1) ... 104s Setting up python3 (3.12.8-1) ... 104s Processing triggers for man-db (2.13.0-1) ... 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s autopkgtest [17:14:48]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 108s autopkgtest [17:14:49]: @@@@@@@@@@@@@@@@@@@@ apt-source python-directv 109s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (dsc) [2349 B] 109s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (tar) [19.1 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-directv 0.4.0-2 (diff) [2440 B] 109s gpgv: Signature made Fri Aug 2 01:08:32 2024 UTC 109s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 109s gpgv: Can't check signature: No public key 109s dpkg-source: warning: cannot verify inline signature for ./python-directv_0.4.0-2.dsc: no acceptable signature found 109s autopkgtest [17:14:50]: testing package python-directv version 0.4.0-2 109s autopkgtest [17:14:50]: build not needed 110s autopkgtest [17:14:51]: test run-tests: preparing testbed 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Starting pkgProblemResolver with broken count: 0 110s Starting 2 pkgProblemResolver with broken count: 0 110s Done 110s The following NEW packages will be installed: 110s libpython3.13-minimal libpython3.13-stdlib python3-aiohttp python3-aiosignal 110s python3-all python3-aresponses python3-async-generator python3-async-timeout 110s python3-directv python3-frozenlist python3-iniconfig python3-multidict 110s python3-packaging python3-pluggy python3-pytest python3-pytest-asyncio 110s python3-yarl python3.13 python3.13-minimal 110s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 6914 kB of archives. 110s After this operation, 26.8 MB of additional disk space will be used. 110s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.1-2 [880 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.1-2 [2364 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.1-2 [2074 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-multidict s390x 6.1.0-1build1 [38.4 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-yarl s390x 1.9.4-1 [72.8 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-timeout all 5.0.1-1 [6830 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-frozenlist s390x 1.5.0-1build1 [64.2 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiosignal all 1.3.1-1 [5172 B] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiohttp s390x 3.9.5-1 [294 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.1-2 [729 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-all s390x 3.12.8-1 [894 B] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 111s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 111s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 111s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 111s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 111s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 111s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aresponses all 3.0.0-2 [13.8 kB] 111s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-directv all 0.4.0-2 [7796 B] 111s Fetched 6914 kB in 1s (7789 kB/s) 112s Selecting previously unselected package libpython3.13-minimal:s390x. 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 ... 55491 files and directories currently installed.) 112s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_s390x.deb ... 112s Unpacking libpython3.13-minimal:s390x (3.13.1-2) ... 112s Selecting previously unselected package python3.13-minimal. 112s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_s390x.deb ... 112s Unpacking python3.13-minimal (3.13.1-2) ... 112s Selecting previously unselected package libpython3.13-stdlib:s390x. 112s Preparing to unpack .../02-libpython3.13-stdlib_3.13.1-2_s390x.deb ... 112s Unpacking libpython3.13-stdlib:s390x (3.13.1-2) ... 112s Selecting previously unselected package python3-multidict. 112s Preparing to unpack .../03-python3-multidict_6.1.0-1build1_s390x.deb ... 112s Unpacking python3-multidict (6.1.0-1build1) ... 112s Selecting previously unselected package python3-yarl. 112s Preparing to unpack .../04-python3-yarl_1.9.4-1_s390x.deb ... 112s Unpacking python3-yarl (1.9.4-1) ... 112s Selecting previously unselected package python3-async-timeout. 112s Preparing to unpack .../05-python3-async-timeout_5.0.1-1_all.deb ... 112s Unpacking python3-async-timeout (5.0.1-1) ... 112s Selecting previously unselected package python3-frozenlist. 112s Preparing to unpack .../06-python3-frozenlist_1.5.0-1build1_s390x.deb ... 112s Unpacking python3-frozenlist (1.5.0-1build1) ... 112s Selecting previously unselected package python3-aiosignal. 112s Preparing to unpack .../07-python3-aiosignal_1.3.1-1_all.deb ... 112s Unpacking python3-aiosignal (1.3.1-1) ... 112s Selecting previously unselected package python3-aiohttp. 112s Preparing to unpack .../08-python3-aiohttp_3.9.5-1_s390x.deb ... 112s Unpacking python3-aiohttp (3.9.5-1) ... 112s Selecting previously unselected package python3.13. 112s Preparing to unpack .../09-python3.13_3.13.1-2_s390x.deb ... 112s Unpacking python3.13 (3.13.1-2) ... 112s Selecting previously unselected package python3-all. 112s Preparing to unpack .../10-python3-all_3.12.8-1_s390x.deb ... 112s Unpacking python3-all (3.12.8-1) ... 112s Selecting previously unselected package python3-async-generator. 112s Preparing to unpack .../11-python3-async-generator_1.10-4_all.deb ... 112s Unpacking python3-async-generator (1.10-4) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 112s Unpacking python3-iniconfig (1.1.1-2) ... 112s Selecting previously unselected package python3-packaging. 112s Preparing to unpack .../13-python3-packaging_24.2-1_all.deb ... 112s Unpacking python3-packaging (24.2-1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../15-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Selecting previously unselected package python3-pytest-asyncio. 112s Preparing to unpack .../16-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 112s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 112s Selecting previously unselected package python3-aresponses. 112s Preparing to unpack .../17-python3-aresponses_3.0.0-2_all.deb ... 112s Unpacking python3-aresponses (3.0.0-2) ... 112s Selecting previously unselected package python3-directv. 112s Preparing to unpack .../18-python3-directv_0.4.0-2_all.deb ... 112s Unpacking python3-directv (0.4.0-2) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up python3-async-generator (1.10-4) ... 112s Setting up python3-multidict (6.1.0-1build1) ... 112s Setting up python3-frozenlist (1.5.0-1build1) ... 112s Setting up python3-aiosignal (1.3.1-1) ... 112s Setting up python3-async-timeout (5.0.1-1) ... 112s Setting up libpython3.13-minimal:s390x (3.13.1-2) ... 112s Setting up python3-packaging (24.2-1) ... 113s Setting up python3-pluggy (1.5.0-1) ... 113s Setting up python3.13-minimal (3.13.1-2) ... 113s Setting up python3-yarl (1.9.4-1) ... 113s Setting up libpython3.13-stdlib:s390x (3.13.1-2) ... 113s Setting up python3.13 (3.13.1-2) ... 114s Setting up python3-pytest (8.3.3-1) ... 115s Setting up python3-aiohttp (3.9.5-1) ... 115s Setting up python3-all (3.12.8-1) ... 115s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 115s Setting up python3-aresponses (3.0.0-2) ... 115s Setting up python3-directv (0.4.0-2) ... 115s Processing triggers for man-db (2.13.0-1) ... 116s Processing triggers for systemd (257-2ubuntu1) ... 117s autopkgtest [17:14:58]: test run-tests: [----------------------- 117s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 117s 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" 117s 117s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 117s ============================= test session starts ============================== 117s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 117s cachedir: .pytest_cache 117s rootdir: /tmp/autopkgtest.gMKgG6/autopkgtest_tmp 117s plugins: aresponses-3.0.0, typeguard-4.4.1, asyncio-0.24.0a1 117s asyncio: mode=Mode.AUTO, default_loop_scope=None 117s collecting ... collected 36 items 117s 117s tests/test_directv.py::test_json_request FAILED [ 2%] 117s 117s =================================== FAILURES =================================== 117s ______________________________ test_json_request _______________________________ 117s 117s aresponses = 117s 117s @pytest.mark.asyncio 117s async def test_json_request(aresponses): 117s """Test DIRECTV response is handled correctly.""" 117s aresponses.add( 117s MATCH_HOST, 117s "/info/getVersion", 117s "GET", 117s aresponses.Response( 117s status=200, 117s headers={"Content-Type": "application/json"}, 117s text='{"status": {"code": 200, "commandResult": 0}}', 117s ), 117s ) 117s 117s async with ClientSession() as session: 117s dtv = DIRECTV(HOST, session=session) 117s > response = await dtv._request("/info/getVersion") 117s 117s tests/test_directv.py:38: 117s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 117s 117s self = 117s uri = '/info/getVersion', method = 'GET', data = None, params = None 117s 117s async def _request( 117s self, 117s uri: str = "", 117s method: str = "GET", 117s data: Optional[Any] = None, 117s params: Optional[Mapping[str, str]] = None, 117s ) -> Any: 117s """Handle a request to a receiver.""" 117s scheme = "http" 117s 117s url = URL.build( 117s scheme=scheme, host=self.host, port=self.port, path=self.base_path 117s ).join(URL(uri)) 117s 117s auth = None 117s if self.username and self.password: 117s auth = aiohttp.BasicAuth(self.username, self.password) 117s 117s headers = { 117s "User-Agent": self.user_agent, 117s "Accept": "application/json, text/plain, */*", 117s } 117s 117s if self._session is None: 117s self._session = aiohttp.ClientSession() 117s self._close_session = True 117s 117s try: 117s > with async_timeout.timeout(self.request_timeout): 117s E TypeError: 'Timeout' object does not support the context manager protocol 117s 117s /usr/lib/python3/dist-packages/directv/directv.py:77: TypeError 117s =============================== warnings summary =============================== 117s ../../../usr/lib/python3/dist-packages/directv/models.py:128 117s /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). 117s at: datetime = datetime.utcnow() 117s 117s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 117s =========================== short test summary info ============================ 117s FAILED tests/test_directv.py::test_json_request - TypeError: 'Timeout' object... 117s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 117s ========================= 1 failed, 1 warning in 0.08s ========================= 118s autopkgtest [17:14:59]: test run-tests: -----------------------] 118s autopkgtest [17:14:59]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 118s run-tests FAIL non-zero exit status 1 118s autopkgtest [17:14:59]: @@@@@@@@@@@@@@@@@@@@ summary 118s run-tests FAIL non-zero exit status 1 123s nova [W] Using flock in prodstack6-s390x 123s flock: timeout while waiting to get lock 123s Creating nova instance adt-plucky-s390x-python-directv-20241227-171301-juju-7f2275-prod-proposed-migration-environment-15-bba76559-90f3-4229-a355-c41e9cf0ab3e from image adt/ubuntu-plucky-s390x-server-20241227.img (UUID d15d5a0a-5e13-427a-80a7-01b67a54bf40)... 123s nova [W] Timed out waiting for 12c3ccfe-519e-4ea3-8a04-7d215287dba6 to get deleted.