0s autopkgtest [18:09:50]: starting date and time: 2024-11-13 18:09:50+0000 0s autopkgtest [18:09:50]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [18:09:50]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.99o4zbgr/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:python3-defaults,src:python3-stdlib-extensions --apt-upgrade meteofrance-api --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- lxd -r lxd-armhf-10.145.243.149 lxd-armhf-10.145.243.149:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [18:10:43]: testbed dpkg architecture: armhf 55s autopkgtest [18:10:45]: testbed apt version: 2.9.8 55s autopkgtest [18:10:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 64s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 64s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 64s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [971 kB] 64s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [106 kB] 64s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [647 kB] 64s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 65s Fetched 1943 kB in 1s (1929 kB/s) 65s Reading package lists... 85s tee: /proc/self/fd/2: Permission denied 107s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 107s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 107s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 107s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 109s Reading package lists... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Calculating upgrade... 111s The following NEW packages will be installed: 111s python3.13-gdbm 111s The following packages will be upgraded: 111s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 111s libutempter0 python3 python3-gdbm python3-minimal 111s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 1131 kB of archives. 111s After this operation, 95.2 kB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 112s Fetched 1131 kB in 1s (2056 kB/s) 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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 112s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Setting up python3-minimal (3.12.7-1) ... 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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 112s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 112s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 112s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 112s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 112s Selecting previously unselected package python3.13-gdbm. 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 ... 59559 files and directories currently installed.) 112s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 112s Unpacking python3.13-gdbm (3.13.0-2) ... 112s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 112s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 112s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 112s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 112s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 112s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 112s Preparing to unpack .../libutempter0_1.2.1-4_armhf.deb ... 112s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 112s Setting up libutempter0:armhf (1.2.1-4) ... 112s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 112s Setting up python3.13-gdbm (3.13.0-2) ... 112s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 112s Setting up python3 (3.12.7-1) ... 113s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 113s Setting up python3-gdbm:armhf (3.12.7-1) ... 113s Processing triggers for man-db (2.12.1-3) ... 113s Processing triggers for libc-bin (2.40-1ubuntu3) ... 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [18:11:47]: rebooting testbed after setup commands that affected boot 187s autopkgtest [18:12:57]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 216s autopkgtest [18:13:26]: @@@@@@@@@@@@@@@@@@@@ apt-source meteofrance-api 227s Get:1 http://ftpmaster.internal/ubuntu plucky/universe meteofrance-api 1.3.0-2 (dsc) [2261 B] 227s Get:2 http://ftpmaster.internal/ubuntu plucky/universe meteofrance-api 1.3.0-2 (tar) [64.0 kB] 227s Get:3 http://ftpmaster.internal/ubuntu plucky/universe meteofrance-api 1.3.0-2 (diff) [2528 B] 227s gpgv: Signature made Wed Jul 31 03:29:27 2024 UTC 227s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 227s gpgv: Can't check signature: No public key 227s dpkg-source: warning: cannot verify inline signature for ./meteofrance-api_1.3.0-2.dsc: no acceptable signature found 227s autopkgtest [18:13:37]: testing package meteofrance-api version 1.3.0-2 229s autopkgtest [18:13:39]: build not needed 231s autopkgtest [18:13:41]: test run-tests: preparing testbed 242s Reading package lists... 242s Building dependency tree... 242s Reading state information... 243s Starting pkgProblemResolver with broken count: 0 243s Starting 2 pkgProblemResolver with broken count: 0 243s Done 244s The following additional packages will be installed: 244s libpython3.13-minimal libpython3.13-stdlib python3-all python3-iniconfig 244s python3-meteofrance-api python3-packaging python3-pluggy python3-pytest 244s python3-requests-mock python3-tz python3.13 python3.13-minimal 244s Suggested packages: 244s python3.13-venv python3.13-doc binfmt-support 244s The following NEW packages will be installed: 244s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 244s python3-iniconfig python3-meteofrance-api python3-packaging python3-pluggy 244s python3-pytest python3-requests-mock python3-tz python3.13 244s python3.13-minimal 244s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 244s Need to get 5800 kB/5801 kB of archives. 244s After this operation, 20.9 MB of additional disk space will be used. 244s Get:1 /tmp/autopkgtest.Nyylsd/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [740 B] 244s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 245s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 246s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 247s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 247s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 247s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 247s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tz all 2024.1-2 [31.4 kB] 247s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-meteofrance-api all 1.3.0-2 [19.7 kB] 247s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 247s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 247s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 247s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-requests-mock all 1.12.1-2 [17.8 kB] 247s Fetched 5800 kB in 3s (2084 kB/s) 248s Selecting previously unselected package libpython3.13-minimal:armhf. 248s (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 ... 59566 files and directories currently installed.) 248s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 248s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 248s Selecting previously unselected package python3.13-minimal. 248s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 248s Unpacking python3.13-minimal (3.13.0-2) ... 248s Selecting previously unselected package libpython3.13-stdlib:armhf. 248s Preparing to unpack .../02-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 248s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 248s Selecting previously unselected package python3.13. 248s Preparing to unpack .../03-python3.13_3.13.0-2_armhf.deb ... 248s Unpacking python3.13 (3.13.0-2) ... 248s Selecting previously unselected package python3-all. 248s Preparing to unpack .../04-python3-all_3.12.7-1_armhf.deb ... 248s Unpacking python3-all (3.12.7-1) ... 248s Selecting previously unselected package python3-iniconfig. 248s Preparing to unpack .../05-python3-iniconfig_1.1.1-2_all.deb ... 248s Unpacking python3-iniconfig (1.1.1-2) ... 248s Selecting previously unselected package python3-tz. 248s Preparing to unpack .../06-python3-tz_2024.1-2_all.deb ... 248s Unpacking python3-tz (2024.1-2) ... 248s Selecting previously unselected package python3-meteofrance-api. 248s Preparing to unpack .../07-python3-meteofrance-api_1.3.0-2_all.deb ... 248s Unpacking python3-meteofrance-api (1.3.0-2) ... 248s Selecting previously unselected package python3-packaging. 248s Preparing to unpack .../08-python3-packaging_24.1-1_all.deb ... 248s Unpacking python3-packaging (24.1-1) ... 248s Selecting previously unselected package python3-pluggy. 248s Preparing to unpack .../09-python3-pluggy_1.5.0-1_all.deb ... 248s Unpacking python3-pluggy (1.5.0-1) ... 248s Selecting previously unselected package python3-pytest. 248s Preparing to unpack .../10-python3-pytest_8.3.3-1_all.deb ... 248s Unpacking python3-pytest (8.3.3-1) ... 248s Selecting previously unselected package python3-requests-mock. 248s Preparing to unpack .../11-python3-requests-mock_1.12.1-2_all.deb ... 248s Unpacking python3-requests-mock (1.12.1-2) ... 248s Selecting previously unselected package autopkgtest-satdep. 248s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 248s Unpacking autopkgtest-satdep (0) ... 248s Setting up python3-iniconfig (1.1.1-2) ... 249s Setting up python3-tz (2024.1-2) ... 249s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 249s Setting up python3-packaging (24.1-1) ... 249s Setting up python3-requests-mock (1.12.1-2) ... 249s Setting up python3-pluggy (1.5.0-1) ... 249s Setting up python3.13-minimal (3.13.0-2) ... 250s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 250s Setting up python3-meteofrance-api (1.3.0-2) ... 251s Setting up python3.13 (3.13.0-2) ... 252s Setting up python3-pytest (8.3.3-1) ... 253s Setting up python3-all (3.12.7-1) ... 253s Setting up autopkgtest-satdep (0) ... 253s Processing triggers for man-db (2.12.1-3) ... 253s Processing triggers for systemd (256.5-2ubuntu4) ... 266s (Reading database ... 60538 files and directories currently installed.) 266s Removing autopkgtest-satdep (0) ... 272s autopkgtest [18:14:22]: test run-tests: [----------------------- 275s ============================= test session starts ============================== 275s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 275s cachedir: .pytest_cache 275s rootdir: /tmp/autopkgtest.Nyylsd/autopkgtest_tmp 275s plugins: typeguard-4.4.1, requests_mock-1.12.1 275s collecting ... collected 49 items / 7 deselected / 42 selected 275s 275s tests/test_exception.py::test_meteofrance_exception PASSED [ 2%] 276s tests/test_forecast.py::test_forecast_france PASSED [ 4%] 276s tests/test_forecast.py::test_forecast_world PASSED [ 7%] 277s tests/test_forecast.py::test_forecast_place PASSED [ 9%] 277s tests/test_helpers.py::test_text_helpers_fr PASSED [ 11%] 277s tests/test_helpers.py::test_get_warning_text_status_from_indice_color_en PASSED [ 14%] 277s tests/test_helpers.py::test_is_coastal_department[03-False] PASSED [ 16%] 277s tests/test_helpers.py::test_is_coastal_department[06-True] PASSED [ 19%] 277s tests/test_helpers.py::test_is_coastal_department[69-False] PASSED [ 21%] 277s tests/test_helpers.py::test_is_coastal_department[74-False] PASSED [ 23%] 277s tests/test_helpers.py::test_is_coastal_department[98-False] PASSED [ 26%] 277s tests/test_helpers.py::test_is_coastal_department[2B-True] PASSED [ 28%] 277s tests/test_helpers.py::test_is_valid_warning_department[03-True] PASSED [ 30%] 277s tests/test_helpers.py::test_is_valid_warning_department[69-True] PASSED [ 33%] 277s tests/test_helpers.py::test_is_valid_warning_department[74-True] PASSED [ 35%] 277s tests/test_helpers.py::test_is_valid_warning_department[98-False] PASSED [ 38%] 277s tests/test_helpers.py::test_is_valid_warning_department[2B-True] PASSED [ 40%] 277s tests/test_helpers.py::test_readeable_phenomenoms_dict PASSED [ 42%] 277s tests/test_helpers.py::test_sort_places_versus_distance_from_coordinates PASSED [ 45%] 277s tests/test_integrations.py::test_workflow[Montr\xe9al] PASSED [ 47%] 278s tests/test_integrations.py::test_workflow[Foix] PASSED [ 50%] 278s tests/test_observation.py::test_observation_france PASSED [ 52%] 279s tests/test_observation.py::test_observation_world PASSED [ 54%] 279s tests/test_observation.py::test_observation_place PASSED [ 57%] 279s tests/test_picture_of_the_day.py::test_picture_of_the_day PASSED [ 59%] 280s tests/test_place.py::test_places PASSED [ 61%] 280s tests/test_place.py::test_places_with_gps PASSED [ 64%] 281s tests/test_place.py::test_places_not_found PASSED [ 66%] 281s tests/test_place.py::test_places_print PASSED [ 69%] 282s tests/test_rain.py::test_rain PASSED [ 71%] 282s tests/test_rain.py::test_rain_expected PASSED [ 73%] 282s tests/test_rain.py::test_no_rain_expected PASSED [ 76%] 282s tests/test_session.py::test_session PASSED [ 78%] 282s tests/test_session.py::test_session_wrong_token PASSED [ 80%] 282s tests/test_warning.py::test_currentphenomenons PASSED [ 83%] 283s tests/test_warning.py::test_fulls PASSED [ 85%] 283s tests/test_warning.py::test_thumbnail PASSED [ 88%] 283s tests/test_warning_dictionary.py::TestWarningDictionary::test_dictionary PASSED [ 90%] 283s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_phenomenon_by_id PASSED [ 92%] 283s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_phenomenon_name_by_id PASSED [ 95%] 283s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_color_by_id PASSED [ 97%] 283s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_color_name_by_id PASSED [100%] 283s 283s =============================== warnings summary =============================== 283s tests/test_forecast.py::test_forecast_france 283s tests/test_forecast.py::test_forecast_world 283s tests/test_forecast.py::test_forecast_place 283s tests/test_rain.py::test_rain_expected 283s /usr/lib/python3/dist-packages/meteofrance_api/helpers.py:175: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 283s dt_utc = utc.localize(datetime.utcfromtimestamp(timestamp)) 283s 283s tests/test_forecast.py::test_forecast_france 283s tests/test_forecast.py::test_forecast_world 283s /usr/lib/python3/dist-packages/meteofrance_api/model/forecast.py:86: 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). 283s now_timestamp = int(utc.localize(datetime.utcnow()).timestamp()) 283s 283s tests/test_forecast.py::test_forecast_france 283s tests/test_forecast.py::test_forecast_world 283s /usr/lib/python3/dist-packages/meteofrance_api/model/forecast.py:101: 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). 283s datetime.utcnow().replace(minute=0, second=0, microsecond=0) 283s 283s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 283s ================= 42 passed, 7 deselected, 8 warnings in 8.04s ================= 284s ============================= test session starts ============================== 284s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 284s cachedir: .pytest_cache 284s rootdir: /tmp/autopkgtest.Nyylsd/autopkgtest_tmp 284s plugins: typeguard-4.4.1, requests_mock-1.12.1 284s collecting ... collected 49 items / 7 deselected / 42 selected 284s 284s tests/test_exception.py::test_meteofrance_exception PASSED [ 2%] 284s tests/test_forecast.py::test_forecast_france PASSED [ 4%] 285s tests/test_forecast.py::test_forecast_world PASSED [ 7%] 285s tests/test_forecast.py::test_forecast_place PASSED [ 9%] 285s tests/test_helpers.py::test_text_helpers_fr PASSED [ 11%] 285s tests/test_helpers.py::test_get_warning_text_status_from_indice_color_en PASSED [ 14%] 285s tests/test_helpers.py::test_is_coastal_department[03-False] PASSED [ 16%] 285s tests/test_helpers.py::test_is_coastal_department[06-True] PASSED [ 19%] 285s tests/test_helpers.py::test_is_coastal_department[69-False] PASSED [ 21%] 285s tests/test_helpers.py::test_is_coastal_department[74-False] PASSED [ 23%] 285s tests/test_helpers.py::test_is_coastal_department[98-False] PASSED [ 26%] 285s tests/test_helpers.py::test_is_coastal_department[2B-True] PASSED [ 28%] 285s tests/test_helpers.py::test_is_valid_warning_department[03-True] PASSED [ 30%] 285s tests/test_helpers.py::test_is_valid_warning_department[69-True] PASSED [ 33%] 285s tests/test_helpers.py::test_is_valid_warning_department[74-True] PASSED [ 35%] 285s tests/test_helpers.py::test_is_valid_warning_department[98-False] PASSED [ 38%] 285s tests/test_helpers.py::test_is_valid_warning_department[2B-True] PASSED [ 40%] 285s tests/test_helpers.py::test_readeable_phenomenoms_dict PASSED [ 42%] 285s tests/test_helpers.py::test_sort_places_versus_distance_from_coordinates PASSED [ 45%] 286s tests/test_integrations.py::test_workflow[Montr\xe9al] PASSED [ 47%] 286s tests/test_integrations.py::test_workflow[Foix] PASSED [ 50%] 287s tests/test_observation.py::test_observation_france PASSED [ 52%] 287s tests/test_observation.py::test_observation_world PASSED [ 54%] 287s tests/test_observation.py::test_observation_place PASSED [ 57%] 288s tests/test_picture_of_the_day.py::test_picture_of_the_day PASSED [ 59%] 288s tests/test_place.py::test_places PASSED [ 61%] 289s tests/test_place.py::test_places_with_gps PASSED [ 64%] 289s tests/test_place.py::test_places_not_found PASSED [ 66%] 289s tests/test_place.py::test_places_print PASSED [ 69%] 290s tests/test_rain.py::test_rain PASSED [ 71%] 290s tests/test_rain.py::test_rain_expected PASSED [ 73%] 290s tests/test_rain.py::test_no_rain_expected PASSED [ 76%] 290s tests/test_session.py::test_session PASSED [ 78%] 291s tests/test_session.py::test_session_wrong_token PASSED [ 80%] 291s tests/test_warning.py::test_currentphenomenons PASSED [ 83%] 291s tests/test_warning.py::test_fulls PASSED [ 85%] 291s tests/test_warning.py::test_thumbnail PASSED [ 88%] 291s tests/test_warning_dictionary.py::TestWarningDictionary::test_dictionary PASSED [ 90%] 291s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_phenomenon_by_id PASSED [ 92%] 291s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_phenomenon_name_by_id PASSED [ 95%] 291s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_color_by_id PASSED [ 97%] 292s tests/test_warning_dictionary.py::TestWarningDictionary::test_get_color_name_by_id PASSED [100%] 292s 292s =============================== warnings summary =============================== 292s tests/test_forecast.py::test_forecast_france 292s tests/test_forecast.py::test_forecast_world 292s tests/test_forecast.py::test_forecast_place 292s tests/test_rain.py::test_rain_expected 292s /usr/lib/python3/dist-packages/meteofrance_api/helpers.py:175: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 292s dt_utc = utc.localize(datetime.utcfromtimestamp(timestamp)) 292s 292s tests/test_forecast.py::test_forecast_france 292s tests/test_forecast.py::test_forecast_world 292s /usr/lib/python3/dist-packages/meteofrance_api/model/forecast.py:86: 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). 292s now_timestamp = int(utc.localize(datetime.utcnow()).timestamp()) 292s 292s tests/test_forecast.py::test_forecast_france 292s tests/test_forecast.py::test_forecast_world 292s /usr/lib/python3/dist-packages/meteofrance_api/model/forecast.py:101: 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). 292s datetime.utcnow().replace(minute=0, second=0, microsecond=0) 292s 292s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 292s ================= 42 passed, 7 deselected, 8 warnings in 7.82s ================= 292s autopkgtest [18:14:42]: test run-tests: -----------------------] 296s run-tests PASS 296s autopkgtest [18:14:46]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 301s autopkgtest [18:14:51]: @@@@@@@@@@@@@@@@@@@@ summary 301s run-tests PASS