0s autopkgtest [03:27:19]: starting date and time: 2024-11-27 03:27:19+0000 0s autopkgtest [03:27:19]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [03:27:19]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.vgpkba2k/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,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\n" >> /etc/environment' --apt-pocket=proposed=src:pydantic,src:pydantic-core --apt-upgrade aiopurpleair --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pydantic/2.10.1-1 pydantic-core/2.27.1-1' -- lxd -r lxd-armhf-10.145.243.197 lxd-armhf-10.145.243.197:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [03:28:13]: testbed dpkg architecture: armhf 57s autopkgtest [03:28:16]: testbed apt version: 2.9.14ubuntu1 57s autopkgtest [03:28:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 66s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 66s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.1 kB] 66s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 66s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [799 kB] 66s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 66s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [66.5 kB] 66s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B] 66s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [578 kB] 66s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6096 B] 67s Fetched 1601 kB in 1s (1804 kB/s) 67s Reading package lists... 86s tee: /proc/self/fd/2: Permission denied 103s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 103s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 103s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 103s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 104s Reading package lists... 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s Calculating upgrade... 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s autopkgtest [03:29:08]: rebooting testbed after setup commands that affected boot 188s autopkgtest [03:30:27]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 221s autopkgtest [03:31:00]: @@@@@@@@@@@@@@@@@@@@ apt-source aiopurpleair 233s Get:1 http://ftpmaster.internal/ubuntu plucky/universe aiopurpleair 2023.12.0-2 (dsc) [2458 B] 233s Get:2 http://ftpmaster.internal/ubuntu plucky/universe aiopurpleair 2023.12.0-2 (tar) [73.0 kB] 233s Get:3 http://ftpmaster.internal/ubuntu plucky/universe aiopurpleair 2023.12.0-2 (diff) [2464 B] 233s gpgv: Signature made Sun Aug 11 10:53:10 2024 UTC 233s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 233s gpgv: Can't check signature: No public key 233s dpkg-source: warning: cannot verify inline signature for ./aiopurpleair_2023.12.0-2.dsc: no acceptable signature found 233s autopkgtest [03:31:12]: testing package aiopurpleair version 2023.12.0-2 236s autopkgtest [03:31:15]: build not needed 238s autopkgtest [03:31:17]: test run-tests: preparing testbed 250s Reading package lists... 250s Building dependency tree... 250s Reading state information... 251s Starting pkgProblemResolver with broken count: 0 252s Starting 2 pkgProblemResolver with broken count: 0 252s Done 254s The following additional packages will be installed: 254s python3-aiohttp python3-aiopurpleair python3-aiosignal python3-all 254s python3-annotated-types python3-aresponses python3-async-generator 254s python3-async-timeout python3-dnspython python3-email-validator 254s python3-frozenlist python3-iniconfig python3-multidict python3-packaging 254s python3-pluggy python3-pydantic python3-pydantic-core python3-pytest 254s python3-pytest-asyncio python3-yarl 254s Suggested packages: 254s python3-trio python3-aioquic python3-h2 python3-httpx python3-httpcore 254s Recommended packages: 254s libjs-jquery python3-aiodns 254s The following NEW packages will be installed: 254s autopkgtest-satdep python3-aiohttp python3-aiopurpleair python3-aiosignal 254s python3-all python3-annotated-types python3-aresponses 254s python3-async-generator python3-async-timeout python3-dnspython 254s python3-email-validator python3-frozenlist python3-iniconfig 254s python3-multidict python3-packaging python3-pluggy python3-pydantic 254s python3-pydantic-core python3-pytest python3-pytest-asyncio python3-yarl 254s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 254s Need to get 3047 kB/3047 kB of archives. 254s After this operation, 16.0 MB of additional disk space will be used. 254s Get:1 /tmp/autopkgtest.GeoJKt/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [740 B] 254s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-multidict armhf 6.1.0-1build1 [34.6 kB] 254s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-yarl armhf 1.9.4-1 [67.1 kB] 254s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-timeout all 4.0.3-1 [6412 B] 254s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-frozenlist armhf 1.5.0-1build1 [56.1 kB] 254s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiosignal all 1.3.1-1 [5172 B] 254s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiohttp armhf 3.9.5-1 [274 kB] 254s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-annotated-types all 0.7.0-1 [19.4 kB] 254s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pydantic-core armhf 2.27.1-1 [1694 kB] 254s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 254s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-email-validator all 2.2.0-1 [28.5 kB] 254s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pydantic armhf 2.10.1-1 [307 kB] 254s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiopurpleair all 2023.12.0-2 [17.9 kB] 254s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 254s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 254s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 254s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 254s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 255s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 255s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 255s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aresponses all 3.0.0-2 [13.8 kB] 255s Fetched 3047 kB in 1s (3817 kB/s) 255s Selecting previously unselected package python3-multidict. 255s (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 ... 59972 files and directories currently installed.) 255s Preparing to unpack .../00-python3-multidict_6.1.0-1build1_armhf.deb ... 255s Unpacking python3-multidict (6.1.0-1build1) ... 256s Selecting previously unselected package python3-yarl. 256s Preparing to unpack .../01-python3-yarl_1.9.4-1_armhf.deb ... 256s Unpacking python3-yarl (1.9.4-1) ... 256s Selecting previously unselected package python3-async-timeout. 256s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 256s Unpacking python3-async-timeout (4.0.3-1) ... 256s Selecting previously unselected package python3-frozenlist. 256s Preparing to unpack .../03-python3-frozenlist_1.5.0-1build1_armhf.deb ... 256s Unpacking python3-frozenlist (1.5.0-1build1) ... 256s Selecting previously unselected package python3-aiosignal. 256s Preparing to unpack .../04-python3-aiosignal_1.3.1-1_all.deb ... 256s Unpacking python3-aiosignal (1.3.1-1) ... 256s Selecting previously unselected package python3-aiohttp. 256s Preparing to unpack .../05-python3-aiohttp_3.9.5-1_armhf.deb ... 256s Unpacking python3-aiohttp (3.9.5-1) ... 256s Selecting previously unselected package python3-annotated-types. 256s Preparing to unpack .../06-python3-annotated-types_0.7.0-1_all.deb ... 256s Unpacking python3-annotated-types (0.7.0-1) ... 256s Selecting previously unselected package python3-pydantic-core. 256s Preparing to unpack .../07-python3-pydantic-core_2.27.1-1_armhf.deb ... 256s Unpacking python3-pydantic-core (2.27.1-1) ... 256s Selecting previously unselected package python3-dnspython. 256s Preparing to unpack .../08-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 256s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 256s Selecting previously unselected package python3-email-validator. 256s Preparing to unpack .../09-python3-email-validator_2.2.0-1_all.deb ... 256s Unpacking python3-email-validator (2.2.0-1) ... 256s Selecting previously unselected package python3-pydantic. 256s Preparing to unpack .../10-python3-pydantic_2.10.1-1_armhf.deb ... 256s Unpacking python3-pydantic (2.10.1-1) ... 256s Selecting previously unselected package python3-aiopurpleair. 256s Preparing to unpack .../11-python3-aiopurpleair_2023.12.0-2_all.deb ... 256s Unpacking python3-aiopurpleair (2023.12.0-2) ... 256s Selecting previously unselected package python3-all. 256s Preparing to unpack .../12-python3-all_3.12.6-0ubuntu1_armhf.deb ... 256s Unpacking python3-all (3.12.6-0ubuntu1) ... 256s Selecting previously unselected package python3-async-generator. 256s Preparing to unpack .../13-python3-async-generator_1.10-4_all.deb ... 256s Unpacking python3-async-generator (1.10-4) ... 256s Selecting previously unselected package python3-iniconfig. 256s Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... 256s Unpacking python3-iniconfig (1.1.1-2) ... 256s Selecting previously unselected package python3-packaging. 256s Preparing to unpack .../15-python3-packaging_24.2-1_all.deb ... 256s Unpacking python3-packaging (24.2-1) ... 256s Selecting previously unselected package python3-pluggy. 256s Preparing to unpack .../16-python3-pluggy_1.5.0-1_all.deb ... 256s Unpacking python3-pluggy (1.5.0-1) ... 256s Selecting previously unselected package python3-pytest. 256s Preparing to unpack .../17-python3-pytest_8.3.3-1_all.deb ... 256s Unpacking python3-pytest (8.3.3-1) ... 256s Selecting previously unselected package python3-pytest-asyncio. 256s Preparing to unpack .../18-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 256s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 256s Selecting previously unselected package python3-aresponses. 256s Preparing to unpack .../19-python3-aresponses_3.0.0-2_all.deb ... 256s Unpacking python3-aresponses (3.0.0-2) ... 256s Selecting previously unselected package autopkgtest-satdep. 256s Preparing to unpack .../20-1-autopkgtest-satdep.deb ... 256s Unpacking autopkgtest-satdep (0) ... 256s Setting up python3-iniconfig (1.1.1-2) ... 256s Setting up python3-pydantic-core (2.27.1-1) ... 257s Setting up python3-async-generator (1.10-4) ... 257s Setting up python3-all (3.12.6-0ubuntu1) ... 257s Setting up python3-annotated-types (0.7.0-1) ... 257s Setting up python3-multidict (6.1.0-1build1) ... 257s Setting up python3-frozenlist (1.5.0-1build1) ... 257s Setting up python3-aiosignal (1.3.1-1) ... 257s Setting up python3-async-timeout (4.0.3-1) ... 258s Setting up python3-packaging (24.2-1) ... 258s Setting up python3-pluggy (1.5.0-1) ... 258s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 259s Setting up python3-email-validator (2.2.0-1) ... 259s Setting up python3-yarl (1.9.4-1) ... 259s Setting up python3-pytest (8.3.3-1) ... 259s Setting up python3-aiohttp (3.9.5-1) ... 259s Setting up python3-pydantic (2.10.1-1) ... 260s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 260s Setting up python3-aiopurpleair (2023.12.0-2) ... 260s Setting up python3-aresponses (3.0.0-2) ... 260s Setting up autopkgtest-satdep (0) ... 260s Processing triggers for man-db (2.13.0-1) ... 274s (Reading database ... 60739 files and directories currently installed.) 274s Removing autopkgtest-satdep (0) ... 280s autopkgtest [03:31:59]: test run-tests: [----------------------- 283s ============================= test session starts ============================== 283s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 283s cachedir: .pytest_cache 283s rootdir: /tmp/autopkgtest.GeoJKt/autopkgtest_tmp 283s plugins: typeguard-4.4.1, asyncio-0.20.3, aresponses-3.0.0 283s asyncio: mode=Mode.AUTO 283s collecting ... collected 37 items 283s 283s tests/endpoints/test_sensors.py::test_get_nearby_sensors[None-output0] PASSED [ 2%] 283s tests/endpoints/test_sensors.py::test_get_nearby_sensors[1-output1] PASSED [ 5%] 283s tests/endpoints/test_sensors.py::test_get_sensor PASSED [ 8%] 283s tests/endpoints/test_sensors.py::test_get_sensor_validation_error PASSED [ 10%] 283s tests/endpoints/test_sensors.py::test_get_sensors PASSED [ 13%] 283s tests/endpoints/test_sensors.py::test_get_sensors_validation_error PASSED [ 16%] 283s tests/models/test_keys.py::test_get_keys_response PASSED [ 18%] 283s tests/models/test_keys.py::test_get_keys_response_errors[get_keys_response0] PASSED [ 21%] 283s tests/models/test_keys.py::test_get_keys_response_errors[get_keys_response1] PASSED [ 24%] 283s tests/models/test_sensors.py::test_get_sensors_request[input_payload0-output_payload0] PASSED [ 27%] 283s tests/models/test_sensors.py::test_get_sensors_request_errors[payload0-foobar is an unknown field] PASSED [ 29%] 283s tests/models/test_sensors.py::test_get_sensors_request_errors[payload1--100.2416796 is an invalid latitude] PASSED [ 32%] 283s tests/models/test_sensors.py::test_get_sensors_request_errors[payload2--200.2416796 is an invalid longitude] PASSED [ 35%] 283s tests/models/test_sensors.py::test_get_sensors_request_errors[payload3-must pass none or all of the bounding box coordinates] PASSED [ 37%] 283s tests/models/test_sensors.py::test_get_sensors_response[input_payload0-output_payload0] PASSED [ 40%] 283s tests/models/test_sensors.py::test_get_sensors_response_errors[payload0-foobar is an unknown field] PASSED [ 43%] 283s tests/models/test_sensors.py::test_get_sensors_response_errors[payload1-2 is an unknown location type] PASSED [ 45%] 283s tests/models/test_sensors.py::test_get_sensors_response_errors[payload2-7 is an unknown channel flag] PASSED [ 48%] 283s tests/models/test_sensors.py::test_get_sensors_response_errors[payload3-7 is an unknown channel state] PASSED [ 51%] 283s tests/test_api.py::test_api_error[error_invalid_api_key_response.json-InvalidApiKeyError-403] PASSED [ 54%] 283s tests/test_api.py::test_api_error[error_missing_api_key_response.json-InvalidApiKeyError-403] PASSED [ 56%] 283s tests/test_api.py::test_api_error[error_not_found_response.json-NotFoundError-404] PASSED [ 59%] 283s tests/test_api.py::test_api_error[error_unknown_response.json-RequestError-500] PASSED [ 62%] 283s tests/test_api.py::test_check_api_key[True] PASSED [ 64%] 283s tests/test_api.py::test_check_api_key[False] PASSED [ 67%] 283s tests/test_api.py::test_check_api_key_validation_error PASSED [ 70%] 283s tests/test_api.py::test_get_map_url PASSED [ 72%] 283s tests/util/test_dt.py::test_utc_to_timestamp PASSED [ 75%] 283s tests/util/test_geo.py::test_geo_location_bounding_box[51.5285582--0.2416796-5-51.57347--0.31388-51.48364--0.16948] PASSED [ 78%] 283s tests/util/test_geo.py::test_geo_location_bounding_box[0.2-179.99999999999-500-4.6916-175.50837--4.2916--175.50837] PASSED [ 81%] 283s tests/util/test_geo.py::test_geo_location_bounding_box[0.2--179.99999999999-500-4.6916-175.50837--4.2916--175.50837] PASSED [ 83%] 283s tests/util/test_geo.py::test_geo_location_bounding_box[89.9-0.2-500-90.0--180.0-85.4084-180.0] PASSED [ 86%] 283s tests/util/test_geo.py::test_geo_location_bounding_box_invalid_distance PASSED [ 89%] 283s tests/util/test_geo.py::test_geo_location_distance_to PASSED [ 91%] 283s tests/util/test_geo.py::test_geo_location_from_degrees PASSED [ 94%] 283s tests/util/test_geo.py::test_geo_location_from_radians PASSED [ 97%] 283s tests/util/test_geo.py::test_geo_location_invalid_coordinates PASSED [100%] 283s 283s =============================== warnings summary =============================== 283s tests/endpoints/test_sensors.py::test_get_sensors 283s /usr/lib/python3/dist-packages/pydantic/main.py:426: UserWarning: Pydantic serializer warnings: 283s Expected `enum` but got `int` with value `0` - serialized value may not be as expected 283s return self.__pydantic_serializer__.to_python( 283s 283s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 283s ======================== 37 passed, 1 warning in 0.44s ========================= 284s autopkgtest [03:32:03]: test run-tests: -----------------------] 288s autopkgtest [03:32:07]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 288s run-tests PASS 292s autopkgtest [03:32:11]: @@@@@@@@@@@@@@@@@@@@ summary 292s run-tests PASS