0s autopkgtest [11:49:25]: starting date and time: 2025-11-17 11:49:25+0000 0s autopkgtest [11:49:25]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [11:49:25]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.h9lg4i45/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade aiotankerkoenig --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-3.secgroup --name adt-resolute-amd64-aiotankerkoenig-20251117-114925-juju-7f2275-prod-proposed-migration-environment-20-779c6ddb-319e-4730-90b1-debfafc1adbf --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-aiotankerkoenig-20251117-114925-juju-7f2275-prod-proposed-migration-environment-20-779c6ddb-319e-4730-90b1-debfafc1adbf from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 47cb9b95-dcf3-40f8-972d-d06b1b09ded2)... 63s autopkgtest [11:50:28]: testbed dpkg architecture: amd64 63s autopkgtest [11:50:28]: testbed apt version: 3.1.11 63s autopkgtest [11:50:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [11:50:28]: testbed release detected to be: None 64s autopkgtest [11:50:29]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 65s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 65s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 65s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 65s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.1 kB] 65s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [868 kB] 65s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 65s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 65s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [118 kB] 65s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [159 kB] 65s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3096 B] 65s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 65s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 65s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 65s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [279 kB] 65s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [607 kB] 65s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [21.2 kB] 65s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 65s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 65s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 68s Fetched 2346 kB in 1s (1782 kB/s) 69s Reading package lists... 70s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 70s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 70s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 70s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 71s Reading package lists... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Calculating upgrade... 71s The following packages will be upgraded: 71s libpython3-stdlib python3 python3-minimal usbutils 71s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s Need to get 146 kB of archives. 71s After this operation, 0 B of additional disk space will be used. 71s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.7-2 [27.8 kB] 71s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.7-2 [23.9 kB] 71s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.7-2 [10.6 kB] 71s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 72s dpkg-preconfigure: unable to re-open stdin: No such file or directory 72s Fetched 146 kB in 0s (366 kB/s) 72s (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 ... 83372 files and directories currently installed.) 72s Preparing to unpack .../python3-minimal_3.13.7-2_amd64.deb ... 72s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 72s Setting up python3-minimal (3.13.7-2) ... 72s (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 ... 83372 files and directories currently installed.) 72s Preparing to unpack .../python3_3.13.7-2_amd64.deb ... 72s running python pre-rtupdate hooks for python3.13... 72s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 72s Preparing to unpack .../libpython3-stdlib_3.13.7-2_amd64.deb ... 72s Unpacking libpython3-stdlib:amd64 (3.13.7-2) over (3.13.7-1) ... 73s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 73s Unpacking usbutils (1:019-1) over (1:018-2) ... 73s Setting up usbutils (1:019-1) ... 73s Setting up libpython3-stdlib:amd64 (3.13.7-2) ... 73s Setting up python3 (3.13.7-2) ... 73s running python rtupdate hooks for python3.13... 73s running python post-rtupdate hooks for python3.13... 73s Processing triggers for man-db (2.13.1-1) ... 74s autopkgtest [11:50:39]: upgrading testbed (apt dist-upgrade and autopurge) 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Calculating upgrade... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Solving dependencies... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s autopkgtest [11:50:43]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 78s autopkgtest [11:50:43]: @@@@@@@@@@@@@@@@@@@@ apt-source aiotankerkoenig 79s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (dsc) [2523 B] 79s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (tar) [80.9 kB] 79s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (diff) [2532 B] 79s gpgv: Signature made Sat Feb 8 07:29:43 2025 UTC 79s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 79s gpgv: Can't check signature: No public key 79s dpkg-source: warning: cannot verify inline signature for ./aiotankerkoenig_0.5.0-1.dsc: no acceptable signature found 79s autopkgtest [11:50:44]: testing package aiotankerkoenig version 0.5.0-1 80s autopkgtest [11:50:45]: build not needed 80s autopkgtest [11:50:45]: test run-tests: preparing testbed 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Solving dependencies... 81s The following NEW packages will be installed: 81s libpython3.14-minimal libpython3.14-stdlib python3-aiohappyeyeballs 81s python3-aiohttp python3-aioresponses python3-aiosignal 81s python3-aiotankerkoenig python3-all python3-async-generator 81s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 81s python3-msgpack python3-multidict python3-orjson python3-pluggy 81s python3-propcache python3-pytest python3-pytest-asyncio python3-syrupy 81s python3-tomli-w python3-yarl python3.14 python3.14-minimal 81s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 81s Need to get 8208 kB of archives. 81s After this operation, 31.6 MB of additional disk space will be used. 81s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.0-4 [906 kB] 81s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.0-4 [2559 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.0-4 [2397 kB] 82s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 82s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-multidict amd64 6.4.3-1build1 [69.2 kB] 82s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-propcache amd64 0.3.1-1build1 [54.5 kB] 82s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-yarl amd64 1.22.0-1 [98.2 kB] 82s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-async-timeout all 5.0.1-1 [6830 B] 82s Get:9 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-frozenlist amd64 1.8.0-1 [53.5 kB] 82s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aiosignal all 1.4.0-1 [5628 B] 82s Get:11 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aiohttp amd64 3.11.16-1 [367 kB] 82s Get:12 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aioresponses all 0.7.6-3 [11.0 kB] 82s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-msgpack amd64 1.0.3-3build5 [114 kB] 82s Get:14 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-orjson amd64 3.11.3-2 [279 kB] 82s Get:15 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-tomli-w all 1.2.0-1 [8120 B] 82s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-mashumaro all 3.16-1 [89.7 kB] 82s Get:17 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aiotankerkoenig all 0.5.0-1 [10.1 kB] 82s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.0-4 [805 kB] 82s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.13.7-2 [890 B] 82s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-async-generator all 1.10-7 [18.1 kB] 82s Get:21 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 82s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 82s Get:23 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 82s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 82s Get:25 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-syrupy all 5.0.0-1 [47.9 kB] 82s Fetched 8208 kB in 1s (6322 kB/s) 82s Selecting previously unselected package libpython3.14-minimal:amd64. 82s (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 ... 83372 files and directories currently installed.) 82s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-4_amd64.deb ... 82s Unpacking libpython3.14-minimal:amd64 (3.14.0-4) ... 82s Selecting previously unselected package python3.14-minimal. 82s Preparing to unpack .../01-python3.14-minimal_3.14.0-4_amd64.deb ... 82s Unpacking python3.14-minimal (3.14.0-4) ... 82s Selecting previously unselected package libpython3.14-stdlib:amd64. 82s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-4_amd64.deb ... 82s Unpacking libpython3.14-stdlib:amd64 (3.14.0-4) ... 83s Selecting previously unselected package python3-aiohappyeyeballs. 83s Preparing to unpack .../03-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 83s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 83s Selecting previously unselected package python3-multidict. 83s Preparing to unpack .../04-python3-multidict_6.4.3-1build1_amd64.deb ... 83s Unpacking python3-multidict (6.4.3-1build1) ... 83s Selecting previously unselected package python3-propcache. 83s Preparing to unpack .../05-python3-propcache_0.3.1-1build1_amd64.deb ... 83s Unpacking python3-propcache (0.3.1-1build1) ... 83s Selecting previously unselected package python3-yarl. 83s Preparing to unpack .../06-python3-yarl_1.22.0-1_amd64.deb ... 83s Unpacking python3-yarl (1.22.0-1) ... 83s Selecting previously unselected package python3-async-timeout. 83s Preparing to unpack .../07-python3-async-timeout_5.0.1-1_all.deb ... 83s Unpacking python3-async-timeout (5.0.1-1) ... 83s Selecting previously unselected package python3-frozenlist. 83s Preparing to unpack .../08-python3-frozenlist_1.8.0-1_amd64.deb ... 83s Unpacking python3-frozenlist (1.8.0-1) ... 83s Selecting previously unselected package python3-aiosignal. 83s Preparing to unpack .../09-python3-aiosignal_1.4.0-1_all.deb ... 83s Unpacking python3-aiosignal (1.4.0-1) ... 83s Selecting previously unselected package python3-aiohttp. 83s Preparing to unpack .../10-python3-aiohttp_3.11.16-1_amd64.deb ... 83s Unpacking python3-aiohttp (3.11.16-1) ... 83s Selecting previously unselected package python3-aioresponses. 83s Preparing to unpack .../11-python3-aioresponses_0.7.6-3_all.deb ... 83s Unpacking python3-aioresponses (0.7.6-3) ... 83s Selecting previously unselected package python3-msgpack. 83s Preparing to unpack .../12-python3-msgpack_1.0.3-3build5_amd64.deb ... 83s Unpacking python3-msgpack (1.0.3-3build5) ... 83s Selecting previously unselected package python3-orjson. 83s Preparing to unpack .../13-python3-orjson_3.11.3-2_amd64.deb ... 83s Unpacking python3-orjson (3.11.3-2) ... 83s Selecting previously unselected package python3-tomli-w. 83s Preparing to unpack .../14-python3-tomli-w_1.2.0-1_all.deb ... 83s Unpacking python3-tomli-w (1.2.0-1) ... 83s Selecting previously unselected package python3-mashumaro. 83s Preparing to unpack .../15-python3-mashumaro_3.16-1_all.deb ... 83s Unpacking python3-mashumaro (3.16-1) ... 83s Selecting previously unselected package python3-aiotankerkoenig. 83s Preparing to unpack .../16-python3-aiotankerkoenig_0.5.0-1_all.deb ... 83s Unpacking python3-aiotankerkoenig (0.5.0-1) ... 83s Selecting previously unselected package python3.14. 83s Preparing to unpack .../17-python3.14_3.14.0-4_amd64.deb ... 83s Unpacking python3.14 (3.14.0-4) ... 83s Selecting previously unselected package python3-all. 83s Preparing to unpack .../18-python3-all_3.13.7-2_amd64.deb ... 83s Unpacking python3-all (3.13.7-2) ... 83s Selecting previously unselected package python3-async-generator. 83s Preparing to unpack .../19-python3-async-generator_1.10-7_all.deb ... 83s Unpacking python3-async-generator (1.10-7) ... 83s Selecting previously unselected package python3-iniconfig. 83s Preparing to unpack .../20-python3-iniconfig_2.1.0-1_all.deb ... 83s Unpacking python3-iniconfig (2.1.0-1) ... 83s Selecting previously unselected package python3-pluggy. 83s Preparing to unpack .../21-python3-pluggy_1.6.0-1_all.deb ... 83s Unpacking python3-pluggy (1.6.0-1) ... 83s Selecting previously unselected package python3-pytest. 83s Preparing to unpack .../22-python3-pytest_8.3.5-2_all.deb ... 83s Unpacking python3-pytest (8.3.5-2) ... 83s Selecting previously unselected package python3-pytest-asyncio. 83s Preparing to unpack .../23-python3-pytest-asyncio_0.25.1-1_all.deb ... 83s Unpacking python3-pytest-asyncio (0.25.1-1) ... 83s Selecting previously unselected package python3-syrupy. 83s Preparing to unpack .../24-python3-syrupy_5.0.0-1_all.deb ... 83s Unpacking python3-syrupy (5.0.0-1) ... 83s Setting up python3-iniconfig (2.1.0-1) ... 83s Setting up python3-orjson (3.11.3-2) ... 83s Setting up python3-async-generator (1.10-7) ... 84s Setting up libpython3.14-minimal:amd64 (3.14.0-4) ... 84s Setting up python3-multidict (6.4.3-1build1) ... 84s Setting up python3-frozenlist (1.8.0-1) ... 84s Setting up python3-aiosignal (1.4.0-1) ... 84s Setting up python3-async-timeout (5.0.1-1) ... 84s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 84s Setting up python3-pluggy (1.6.0-1) ... 85s Setting up python3-propcache (0.3.1-1build1) ... 85s Setting up python3-msgpack (1.0.3-3build5) ... 85s Setting up python3-tomli-w (1.2.0-1) ... 85s Setting up python3-yarl (1.22.0-1) ... 85s Setting up python3.14-minimal (3.14.0-4) ... 86s Setting up python3-mashumaro (3.16-1) ... 86s Setting up libpython3.14-stdlib:amd64 (3.14.0-4) ... 86s Setting up python3-pytest (8.3.5-2) ... 87s Setting up python3-syrupy (5.0.0-1) ... 87s Setting up python3-aiohttp (3.11.16-1) ... 87s Setting up python3-aiotankerkoenig (0.5.0-1) ... 88s Setting up python3-pytest-asyncio (0.25.1-1) ... 88s Setting up python3.14 (3.14.0-4) ... 89s Setting up python3-aioresponses (0.7.6-3) ... 89s Setting up python3-all (3.13.7-2) ... 89s Processing triggers for man-db (2.13.1-1) ... 89s Processing triggers for systemd (257.9-0ubuntu2) ... 90s autopkgtest [11:50:55]: test run-tests: [----------------------- 90s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:13: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 90s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 91s 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" 91s 91s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 91s ============================= test session starts ============================== 91s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.14 91s cachedir: .pytest_cache 91s rootdir: /tmp/autopkgtest.hFgnsT/autopkgtest_tmp 91s plugins: syrupy-5.0.0, asyncio-0.25.1, typeguard-4.4.2 91s asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None 91s collecting ... collected 12 items 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response PASSED [ 8%] 91s tests/test_aiotankerkoenig.py::test_non_200_response PASSED [ 16%] 91s tests/test_aiotankerkoenig.py::test_api_rate_limit PASSED [ 25%] 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] FAILED [ 33%] 91s 91s =================================== FAILURES =================================== 91s ____________ test_invalid_apikey_response[API-Key existiert nicht] _____________ 91s 91s responses = 91s tankerkoenig_client = Tankerkoenig(api_key='abc123', session=, _close_session=False) 91s message = 'API-Key existiert nicht' 91s 91s @pytest.mark.parametrize( 91s "message", 91s [ 91s "API-Key existiert nicht", 91s "APIKey existiert nicht.", 91s ], 91s ) 91s async def test_invalid_apikey_response( 91s responses: aioresponses, 91s tankerkoenig_client: Tankerkoenig, 91s message: str, 91s ) -> None: 91s """Test handling of invalid api key response.""" 91s responses.get( 91s f"{TANKERKOENIG_ENDPOINT}/json/detail.php?apikey=abc123&id=1", 91s status=200, 91s body='{"status": "error", "ok": false, "message": "' + message + '"}', 91s ) 91s with pytest.raises(TankerkoenigInvalidKeyError): 91s > await tankerkoenig_client.station_details(station_id="1") 91s 91s tests/test_aiotankerkoenig.py:87: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s /usr/lib/python3/dist-packages/aiotankerkoenig/aiotankerkoenig.py:121: in station_details 91s return StationDetailResponse.from_json(result).station 91s :3: in __mashumaro_from_json__ 91s ??? 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in add_unpack_method 91s self._add_unpack_method_lines(method_name) 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in _add_unpack_method_lines 91s ).build( 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in build 91s unpacked_value = UnpackerRegistry.get( 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:222: in get 91s expr = packer(spec) 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/unpack.py:731: in unpack_dataclass 91s builder.add_unpack_method() 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in add_unpack_method 91s self._add_unpack_method_lines(method_name) 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in _add_unpack_method_lines 91s ).build( 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in build 91s unpacked_value = UnpackerRegistry.get( 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = Registry(_registry=[, , , ]) 91s spec = ValueSpec(type=str | None, origin_type=, expression='value', builder= Expression: 91s if is_annotated(spec.type): 91s spec.annotated_type = spec.builder.get_real_type( 91s spec.field_ctx.name, spec.type 91s ) 91s spec.type = get_type_origin(spec.type) 91s spec.type = spec.builder.get_real_type(spec.field_ctx.name, spec.type) 91s spec.builder.add_type_modules(spec.type) 91s for packer in self._registry: 91s expr = packer(spec) 91s if expr is not None: 91s return expr 91s > raise UnserializableField( 91s spec.field_ctx.name, spec.type, spec.builder.cls 91s ) 91s E mashumaro.exceptions.UnserializableField: Field "brand" of type Optional[str] in Station is not serializable 91s 91s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: UnserializableField 91s =============================== warnings summary =============================== 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:1177: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s return asyncio.get_event_loop_policy() 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:856: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s _restore_event_loop_policy(asyncio.get_event_loop_policy()), 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:755: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s old_loop_policy = asyncio.get_event_loop_policy() 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:760: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s asyncio.set_event_loop_policy(policy) 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:1151: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s loop = asyncio.get_event_loop_policy().new_event_loop() 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:871: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s policy = asyncio.get_event_loop_policy() 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:777: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s asyncio.set_event_loop_policy(old_loop_policy) 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:924: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s policy = asyncio.get_event_loop_policy() 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:948: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s asyncio.set_event_loop_policy(previous_policy) 91s 91s tests/test_aiotankerkoenig.py::test_unexpected_server_response 91s tests/test_aiotankerkoenig.py::test_non_200_response 91s tests/test_aiotankerkoenig.py::test_api_rate_limit 91s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:960: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 91s policy = asyncio.get_event_loop_policy() 91s 91s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 91s =========================== short test summary info ============================ 91s FAILED tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 91s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 91s =================== 1 failed, 3 passed, 37 warnings in 0.14s =================== 91s autopkgtest [11:50:56]: test run-tests: -----------------------] 92s autopkgtest [11:50:57]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 92s run-tests FAIL non-zero exit status 1 92s autopkgtest [11:50:57]: @@@@@@@@@@@@@@@@@@@@ summary 92s run-tests FAIL non-zero exit status 1