0s autopkgtest [11:35:31]: starting date and time: 2025-11-17 11:35:31+0000 0s autopkgtest [11:35:31]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [11:35:31]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pof8i0sw/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.210 lxd-armhf-10.145.243.210:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [11:35:53]: testbed dpkg architecture: armhf 24s autopkgtest [11:35:55]: testbed apt version: 3.1.11 27s autopkgtest [11:35:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 29s autopkgtest [11:36:00]: testbed release detected to be: None 37s autopkgtest [11:36:08]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 39s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 39s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 39s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 39s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.1 kB] 39s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 39s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [868 kB] 39s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 39s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [138 kB] 39s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 39s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [536 kB] 39s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 39s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 39s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 40s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 40s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 44s Fetched 41.1 MB in 5s (8473 kB/s) 45s Reading package lists... 51s autopkgtest [11:36:22]: upgrading testbed (apt dist-upgrade and autopurge) 52s Reading package lists... 53s Building dependency tree... 53s Reading state information... 53s Calculating upgrade... 54s The following packages will be upgraded: 54s libpython3-stdlib python3 python3-minimal usbutils 54s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Need to get 140 kB of archives. 54s After this operation, 0 B of additional disk space will be used. 54s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 54s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 54s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 54s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 55s Fetched 140 kB in 0s (350 kB/s) 55s (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 ... 65904 files and directories currently installed.) 55s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 55s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 55s Setting up python3-minimal (3.13.7-2) ... 55s (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 ... 65904 files and directories currently installed.) 55s Preparing to unpack .../python3_3.13.7-2_armhf.deb ... 55s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 55s Preparing to unpack .../libpython3-stdlib_3.13.7-2_armhf.deb ... 55s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 55s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 55s Unpacking usbutils (1:019-1) over (1:018-2) ... 55s Setting up usbutils (1:019-1) ... 55s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 55s Setting up python3 (3.13.7-2) ... 55s Processing triggers for man-db (2.13.1-1) ... 58s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Solving dependencies... 59s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s autopkgtest [11:36:32]: rebooting testbed after setup commands that affected boot 101s autopkgtest [11:37:12]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 127s autopkgtest [11:37:38]: @@@@@@@@@@@@@@@@@@@@ apt-source aiotankerkoenig 137s Get:1 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (dsc) [2523 B] 137s Get:2 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (tar) [80.9 kB] 137s Get:3 http://ftpmaster.internal/ubuntu resolute/universe aiotankerkoenig 0.5.0-1 (diff) [2532 B] 137s gpgv: Signature made Sat Feb 8 07:29:43 2025 UTC 137s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 137s gpgv: Can't check signature: No public key 137s dpkg-source: warning: cannot verify inline signature for ./aiotankerkoenig_0.5.0-1.dsc: no acceptable signature found 137s autopkgtest [11:37:48]: testing package aiotankerkoenig version 0.5.0-1 139s autopkgtest [11:37:50]: build not needed 141s autopkgtest [11:37:52]: test run-tests: preparing testbed 143s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s Solving dependencies... 144s The following NEW packages will be installed: 144s libpython3.14-minimal libpython3.14-stdlib python3-aiohappyeyeballs 144s python3-aiohttp python3-aioresponses python3-aiosignal 144s python3-aiotankerkoenig python3-all python3-async-generator 144s python3-async-timeout python3-frozenlist python3-iniconfig python3-mashumaro 144s python3-msgpack python3-multidict python3-orjson python3-pluggy 144s python3-propcache python3-pytest python3-pytest-asyncio python3-syrupy 144s python3-tomli-w python3-yarl python3.14 python3.14-minimal 145s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 145s Need to get 7611 kB of archives. 145s After this operation, 29.1 MB of additional disk space will be used. 145s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.0-4 [892 kB] 145s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.0-4 [2146 kB] 146s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.0-4 [2270 kB] 147s Get:4 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 147s Get:5 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-multidict armhf 6.4.3-1build1 [67.0 kB] 147s Get:6 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-propcache armhf 0.3.1-1build1 [50.5 kB] 147s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-yarl armhf 1.22.0-1 [97.6 kB] 147s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-async-timeout all 5.0.1-1 [6830 B] 147s Get:9 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-frozenlist armhf 1.8.0-1 [53.5 kB] 147s Get:10 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiosignal all 1.4.0-1 [5628 B] 147s Get:11 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiohttp armhf 3.11.16-1 [342 kB] 147s Get:12 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aioresponses all 0.7.6-3 [11.0 kB] 147s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf python3-msgpack armhf 1.0.3-3build5 [108 kB] 147s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-orjson armhf 3.11.3-2 [273 kB] 147s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-tomli-w all 1.2.0-1 [8120 B] 147s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-mashumaro all 3.16-1 [89.7 kB] 147s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-aiotankerkoenig all 0.5.0-1 [10.1 kB] 147s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.0-4 [805 kB] 147s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.13.7-2 [890 B] 147s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-async-generator all 1.10-7 [18.1 kB] 147s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 147s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 147s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 8.3.5-2 [252 kB] 147s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 147s Get:25 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-syrupy all 5.0.0-1 [47.9 kB] 148s Fetched 7611 kB in 3s (2690 kB/s) 148s Selecting previously unselected package libpython3.14-minimal:armhf. 148s (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 ... 65904 files and directories currently installed.) 148s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-4_armhf.deb ... 148s Unpacking libpython3.14-minimal:armhf (3.14.0-4) ... 148s Selecting previously unselected package python3.14-minimal. 148s Preparing to unpack .../01-python3.14-minimal_3.14.0-4_armhf.deb ... 148s Unpacking python3.14-minimal (3.14.0-4) ... 148s Selecting previously unselected package libpython3.14-stdlib:armhf. 148s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-4_armhf.deb ... 148s Unpacking libpython3.14-stdlib:armhf (3.14.0-4) ... 148s Selecting previously unselected package python3-aiohappyeyeballs. 148s Preparing to unpack .../03-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 148s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 148s Selecting previously unselected package python3-multidict. 148s Preparing to unpack .../04-python3-multidict_6.4.3-1build1_armhf.deb ... 148s Unpacking python3-multidict (6.4.3-1build1) ... 148s Selecting previously unselected package python3-propcache. 148s Preparing to unpack .../05-python3-propcache_0.3.1-1build1_armhf.deb ... 148s Unpacking python3-propcache (0.3.1-1build1) ... 148s Selecting previously unselected package python3-yarl. 148s Preparing to unpack .../06-python3-yarl_1.22.0-1_armhf.deb ... 148s Unpacking python3-yarl (1.22.0-1) ... 148s Selecting previously unselected package python3-async-timeout. 148s Preparing to unpack .../07-python3-async-timeout_5.0.1-1_all.deb ... 148s Unpacking python3-async-timeout (5.0.1-1) ... 148s Selecting previously unselected package python3-frozenlist. 148s Preparing to unpack .../08-python3-frozenlist_1.8.0-1_armhf.deb ... 148s Unpacking python3-frozenlist (1.8.0-1) ... 148s Selecting previously unselected package python3-aiosignal. 148s Preparing to unpack .../09-python3-aiosignal_1.4.0-1_all.deb ... 148s Unpacking python3-aiosignal (1.4.0-1) ... 148s Selecting previously unselected package python3-aiohttp. 148s Preparing to unpack .../10-python3-aiohttp_3.11.16-1_armhf.deb ... 148s Unpacking python3-aiohttp (3.11.16-1) ... 149s Selecting previously unselected package python3-aioresponses. 149s Preparing to unpack .../11-python3-aioresponses_0.7.6-3_all.deb ... 149s Unpacking python3-aioresponses (0.7.6-3) ... 149s Selecting previously unselected package python3-msgpack. 149s Preparing to unpack .../12-python3-msgpack_1.0.3-3build5_armhf.deb ... 149s Unpacking python3-msgpack (1.0.3-3build5) ... 149s Selecting previously unselected package python3-orjson. 149s Preparing to unpack .../13-python3-orjson_3.11.3-2_armhf.deb ... 149s Unpacking python3-orjson (3.11.3-2) ... 149s Selecting previously unselected package python3-tomli-w. 149s Preparing to unpack .../14-python3-tomli-w_1.2.0-1_all.deb ... 149s Unpacking python3-tomli-w (1.2.0-1) ... 149s Selecting previously unselected package python3-mashumaro. 149s Preparing to unpack .../15-python3-mashumaro_3.16-1_all.deb ... 149s Unpacking python3-mashumaro (3.16-1) ... 149s Selecting previously unselected package python3-aiotankerkoenig. 149s Preparing to unpack .../16-python3-aiotankerkoenig_0.5.0-1_all.deb ... 149s Unpacking python3-aiotankerkoenig (0.5.0-1) ... 149s Selecting previously unselected package python3.14. 149s Preparing to unpack .../17-python3.14_3.14.0-4_armhf.deb ... 149s Unpacking python3.14 (3.14.0-4) ... 149s Selecting previously unselected package python3-all. 149s Preparing to unpack .../18-python3-all_3.13.7-2_armhf.deb ... 149s Unpacking python3-all (3.13.7-2) ... 149s Selecting previously unselected package python3-async-generator. 149s Preparing to unpack .../19-python3-async-generator_1.10-7_all.deb ... 149s Unpacking python3-async-generator (1.10-7) ... 149s Selecting previously unselected package python3-iniconfig. 149s Preparing to unpack .../20-python3-iniconfig_2.1.0-1_all.deb ... 149s Unpacking python3-iniconfig (2.1.0-1) ... 149s Selecting previously unselected package python3-pluggy. 149s Preparing to unpack .../21-python3-pluggy_1.6.0-1_all.deb ... 149s Unpacking python3-pluggy (1.6.0-1) ... 149s Selecting previously unselected package python3-pytest. 149s Preparing to unpack .../22-python3-pytest_8.3.5-2_all.deb ... 149s Unpacking python3-pytest (8.3.5-2) ... 149s Selecting previously unselected package python3-pytest-asyncio. 149s Preparing to unpack .../23-python3-pytest-asyncio_0.25.1-1_all.deb ... 149s Unpacking python3-pytest-asyncio (0.25.1-1) ... 149s Selecting previously unselected package python3-syrupy. 149s Preparing to unpack .../24-python3-syrupy_5.0.0-1_all.deb ... 149s Unpacking python3-syrupy (5.0.0-1) ... 149s Setting up python3-iniconfig (2.1.0-1) ... 150s Setting up python3-orjson (3.11.3-2) ... 150s Setting up python3-async-generator (1.10-7) ... 150s Setting up libpython3.14-minimal:armhf (3.14.0-4) ... 150s Setting up python3-multidict (6.4.3-1build1) ... 150s Setting up python3-frozenlist (1.8.0-1) ... 150s Setting up python3-aiosignal (1.4.0-1) ... 150s Setting up python3-async-timeout (5.0.1-1) ... 151s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 151s Setting up python3-pluggy (1.6.0-1) ... 151s Setting up python3-propcache (0.3.1-1build1) ... 151s Setting up python3-msgpack (1.0.3-3build5) ... 151s Setting up python3-tomli-w (1.2.0-1) ... 152s Setting up python3-yarl (1.22.0-1) ... 152s Setting up python3.14-minimal (3.14.0-4) ... 153s Setting up python3-mashumaro (3.16-1) ... 153s Setting up libpython3.14-stdlib:armhf (3.14.0-4) ... 153s Setting up python3-pytest (8.3.5-2) ... 154s Setting up python3-syrupy (5.0.0-1) ... 154s Setting up python3-aiohttp (3.11.16-1) ... 155s Setting up python3-aiotankerkoenig (0.5.0-1) ... 155s Setting up python3-pytest-asyncio (0.25.1-1) ... 155s Setting up python3.14 (3.14.0-4) ... 157s Setting up python3-aioresponses (0.7.6-3) ... 157s Setting up python3-all (3.13.7-2) ... 157s Processing triggers for man-db (2.13.1-1) ... 157s Processing triggers for systemd (257.9-0ubuntu2) ... 165s autopkgtest [11:38:16]: test run-tests: [----------------------- 167s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:13: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 167s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 167s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 167s 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" 167s 167s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 167s ============================= test session starts ============================== 167s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.14 167s cachedir: .pytest_cache 167s rootdir: /tmp/autopkgtest.23YfXN/autopkgtest_tmp 167s plugins: typeguard-4.4.2, asyncio-0.25.1, syrupy-5.0.0 167s asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None 167s collecting ... collected 12 items 167s 167s tests/test_aiotankerkoenig.py::test_unexpected_server_response PASSED [ 8%] 167s tests/test_aiotankerkoenig.py::test_non_200_response PASSED [ 16%] 167s tests/test_aiotankerkoenig.py::test_api_rate_limit PASSED [ 25%] 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] FAILED [ 33%] 168s 168s =================================== FAILURES =================================== 168s ____________ test_invalid_apikey_response[API-Key existiert nicht] _____________ 168s 168s responses = 168s tankerkoenig_client = Tankerkoenig(api_key='abc123', session=, _close_session=False) 168s message = 'API-Key existiert nicht' 168s 168s @pytest.mark.parametrize( 168s "message", 168s [ 168s "API-Key existiert nicht", 168s "APIKey existiert nicht.", 168s ], 168s ) 168s async def test_invalid_apikey_response( 168s responses: aioresponses, 168s tankerkoenig_client: Tankerkoenig, 168s message: str, 168s ) -> None: 168s """Test handling of invalid api key response.""" 168s responses.get( 168s f"{TANKERKOENIG_ENDPOINT}/json/detail.php?apikey=abc123&id=1", 168s status=200, 168s body='{"status": "error", "ok": false, "message": "' + message + '"}', 168s ) 168s with pytest.raises(TankerkoenigInvalidKeyError): 168s > await tankerkoenig_client.station_details(station_id="1") 168s 168s tests/test_aiotankerkoenig.py:87: 168s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 168s /usr/lib/python3/dist-packages/aiotankerkoenig/aiotankerkoenig.py:121: in station_details 168s return StationDetailResponse.from_json(result).station 168s :3: in __mashumaro_from_json__ 168s ??? 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in add_unpack_method 168s self._add_unpack_method_lines(method_name) 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in _add_unpack_method_lines 168s ).build( 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in build 168s unpacked_value = UnpackerRegistry.get( 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:222: in get 168s expr = packer(spec) 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/unpack.py:731: in unpack_dataclass 168s builder.add_unpack_method() 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:584: in add_unpack_method 168s self._add_unpack_method_lines(method_name) 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:489: in _add_unpack_method_lines 168s ).build( 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/code/builder.py:1330: in build 168s unpacked_value = UnpackerRegistry.get( 168s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 168s 168s self = Registry(_registry=[, , , ]) 168s spec = ValueSpec(type=str | None, origin_type=, expression='value', builder= Expression: 168s if is_annotated(spec.type): 168s spec.annotated_type = spec.builder.get_real_type( 168s spec.field_ctx.name, spec.type 168s ) 168s spec.type = get_type_origin(spec.type) 168s spec.type = spec.builder.get_real_type(spec.field_ctx.name, spec.type) 168s spec.builder.add_type_modules(spec.type) 168s for packer in self._registry: 168s expr = packer(spec) 168s if expr is not None: 168s return expr 168s > raise UnserializableField( 168s spec.field_ctx.name, spec.type, spec.builder.cls 168s ) 168s E mashumaro.exceptions.UnserializableField: Field "brand" of type Optional[str] in Station is not serializable 168s 168s /usr/lib/python3/dist-packages/mashumaro/core/meta/types/common.py:225: UnserializableField 168s =============================== warnings summary =============================== 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s /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 168s return asyncio.get_event_loop_policy() 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s _restore_event_loop_policy(asyncio.get_event_loop_policy()), 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s old_loop_policy = asyncio.get_event_loop_policy() 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s asyncio.set_event_loop_policy(policy) 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s loop = asyncio.get_event_loop_policy().new_event_loop() 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s policy = asyncio.get_event_loop_policy() 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s asyncio.set_event_loop_policy(old_loop_policy) 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s policy = asyncio.get_event_loop_policy() 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s asyncio.set_event_loop_policy(previous_policy) 168s 168s tests/test_aiotankerkoenig.py::test_unexpected_server_response 168s tests/test_aiotankerkoenig.py::test_non_200_response 168s tests/test_aiotankerkoenig.py::test_api_rate_limit 168s tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s /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 168s policy = asyncio.get_event_loop_policy() 168s 168s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 168s =========================== short test summary info ============================ 168s FAILED tests/test_aiotankerkoenig.py::test_invalid_apikey_response[API-Key existiert nicht] 168s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 168s =================== 1 failed, 3 passed, 37 warnings in 0.18s =================== 168s autopkgtest [11:38:19]: test run-tests: -----------------------] 172s run-tests FAIL non-zero exit status 1 172s autopkgtest [11:38:23]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 176s autopkgtest [11:38:27]: @@@@@@@@@@@@@@@@@@@@ summary 176s run-tests FAIL non-zero exit status 1