0s autopkgtest [14:35:19]: starting date and time: 2025-01-17 14:35:19+0000 0s autopkgtest [14:35:19]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [14:35:19]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pifr3b9t/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-mashumaro --apt-upgrade aioelectricitymaps --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-mashumaro/3.15-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-12.secgroup --name adt-plucky-arm64-aioelectricitymaps-20250117-143519-juju-7f2275-prod-proposed-migration-environment-2-11cca068-bc42-4644-a10d-0fc794f93d63 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 133s autopkgtest [14:37:32]: testbed dpkg architecture: arm64 133s autopkgtest [14:37:32]: testbed apt version: 2.9.18 133s autopkgtest [14:37:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 134s autopkgtest [14:37:33]: testbed release detected to be: None 135s autopkgtest [14:37:34]: updating testbed package index (apt update) 135s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 135s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 135s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 136s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 136s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 136s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.7 kB] 136s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [877 kB] 136s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [318 kB] 136s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 136s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [1079 kB] 136s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [11.2 kB] 136s Fetched 2618 kB in 1s (2392 kB/s) 137s Reading package lists... 138s + lsb_release --codename --short 138s + RELEASE=plucky 138s + cat 138s + [ plucky != trusty ] 138s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 139s Calculating upgrade... 139s The following packages will be upgraded: 139s libgudev-1.0-0 usb.ids 139s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 139s Need to get 238 kB of archives. 139s After this operation, 1024 B of additional disk space will be used. 139s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 usb.ids all 2025.01.14-1 [223 kB] 139s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgudev-1.0-0 arm64 1:238-6 [14.9 kB] 140s Fetched 238 kB in 0s (496 kB/s) 140s (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 ... 80204 files and directories currently installed.) 140s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 140s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 140s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_arm64.deb ... 140s Unpacking libgudev-1.0-0:arm64 (1:238-6) over (1:238-5ubuntu1) ... 140s Setting up usb.ids (2025.01.14-1) ... 140s Setting up libgudev-1.0-0:arm64 (1:238-6) ... 140s Processing triggers for libc-bin (2.40-4ubuntu1) ... 140s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 140s + /usr/lib/apt/apt-helper analyze-pattern ?true 141s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 141s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 141s + grep -q trusty /etc/lsb-release 141s + [ ! -d /usr/share/doc/unattended-upgrades ] 141s + [ ! -d /usr/share/doc/lxd ] 141s + [ ! -d /usr/share/doc/lxd-client ] 141s + [ ! -d /usr/share/doc/snapd ] 141s + type iptables 141s + cat 141s + chmod 755 /etc/rc.local 142s + . /etc/rc.local 142s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 142s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 142s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 142s + uname -m 142s + [ aarch64 = ppc64le ] 142s + [ -d /run/systemd/system ] 142s + systemd-detect-virt --quiet --vm 142s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 142s + cat 142s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 142s + echo COMPRESS=lz4 142s + sync 142s autopkgtest [14:37:41]: upgrading testbed (apt dist-upgrade and autopurge) 142s Reading package lists... 142s Building dependency tree... 142s Reading state information... 143s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 143s Starting 2 pkgProblemResolver with broken count: 0 143s Done 144s Entering ResolveByKeep 144s 144s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 145s Starting pkgProblemResolver with broken count: 0 146s Starting 2 pkgProblemResolver with broken count: 0 146s Done 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 149s autopkgtest [14:37:48]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 149s autopkgtest [14:37:48]: @@@@@@@@@@@@@@@@@@@@ apt-source aioelectricitymaps 151s Get:1 http://ftpmaster.internal/ubuntu plucky/universe aioelectricitymaps 1.0.0-2 (dsc) [2512 B] 151s Get:2 http://ftpmaster.internal/ubuntu plucky/universe aioelectricitymaps 1.0.0-2 (tar) [74.8 kB] 151s Get:3 http://ftpmaster.internal/ubuntu plucky/universe aioelectricitymaps 1.0.0-2 (diff) [2544 B] 151s gpgv: Signature made Sun Aug 11 10:45:14 2024 UTC 151s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./aioelectricitymaps_1.0.0-2.dsc: no acceptable signature found 151s autopkgtest [14:37:50]: testing package aioelectricitymaps version 1.0.0-2 151s autopkgtest [14:37:50]: build not needed 152s autopkgtest [14:37:51]: test run-tests: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 153s Starting pkgProblemResolver with broken count: 0 153s Starting 2 pkgProblemResolver with broken count: 0 153s Done 154s The following NEW packages will be installed: 154s libpython3.13-minimal libpython3.13-stdlib python3-aioelectricitymaps 154s python3-aiohappyeyeballs python3-aiohttp python3-aioresponses 154s python3-aiosignal python3-all python3-async-generator python3-async-timeout 154s python3-frozenlist python3-iniconfig python3-mashumaro python3-msgpack 154s python3-multidict python3-orjson python3-packaging python3-pluggy 154s python3-pytest python3-pytest-asyncio python3-syrupy python3-tomli 154s python3-tomli-w python3-yarl python3.13 python3.13-minimal 154s 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 154s Need to get 7427 kB of archives. 154s After this operation, 32.0 MB of additional disk space will be used. 154s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 154s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 154s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 154s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1build1 [38.3 kB] 154s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-yarl arm64 1.13.1-1build1 [110 kB] 154s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 5.0.1-1 [6830 B] 154s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohappyeyeballs all 2.4.4-2 [10.6 kB] 154s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1build1 [59.0 kB] 154s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.2-1 [5182 B] 154s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohttp arm64 3.10.11-1 [334 kB] 154s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-msgpack arm64 1.0.3-3build3 [106 kB] 154s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-orjson arm64 3.10.7-2 [282 kB] 154s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 154s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-tomli-w all 1.0.0-2 [7368 B] 154s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-mashumaro all 3.15-1 [89.4 kB] 154s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aioelectricitymaps all 1.0.0-2 [10.8 kB] 154s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 154s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aioresponses all 0.7.6-2 [10.9 kB] 154s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 155s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.8-1 [892 B] 155s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-generator all 1.10-4 [17.5 kB] 155s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 155s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 155s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.4-1 [252 kB] 155s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-asyncio all 0.24.0a1-1 [15.8 kB] 155s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-syrupy all 4.8.0-1 [44.7 kB] 155s Fetched 7427 kB in 1s (7187 kB/s) 155s Selecting previously unselected package libpython3.13-minimal:arm64. 155s (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 ... 80204 files and directories currently installed.) 155s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_arm64.deb ... 155s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 155s Selecting previously unselected package python3.13-minimal. 155s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_arm64.deb ... 155s Unpacking python3.13-minimal (3.13.1-2) ... 155s Selecting previously unselected package libpython3.13-stdlib:arm64. 155s Preparing to unpack .../02-libpython3.13-stdlib_3.13.1-2_arm64.deb ... 155s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 155s Selecting previously unselected package python3-multidict. 155s Preparing to unpack .../03-python3-multidict_6.1.0-1build1_arm64.deb ... 155s Unpacking python3-multidict (6.1.0-1build1) ... 155s Selecting previously unselected package python3-yarl. 155s Preparing to unpack .../04-python3-yarl_1.13.1-1build1_arm64.deb ... 155s Unpacking python3-yarl (1.13.1-1build1) ... 155s Selecting previously unselected package python3-async-timeout. 155s Preparing to unpack .../05-python3-async-timeout_5.0.1-1_all.deb ... 155s Unpacking python3-async-timeout (5.0.1-1) ... 155s Selecting previously unselected package python3-aiohappyeyeballs. 155s Preparing to unpack .../06-python3-aiohappyeyeballs_2.4.4-2_all.deb ... 155s Unpacking python3-aiohappyeyeballs (2.4.4-2) ... 155s Selecting previously unselected package python3-frozenlist. 156s Preparing to unpack .../07-python3-frozenlist_1.5.0-1build1_arm64.deb ... 156s Unpacking python3-frozenlist (1.5.0-1build1) ... 156s Selecting previously unselected package python3-aiosignal. 156s Preparing to unpack .../08-python3-aiosignal_1.3.2-1_all.deb ... 156s Unpacking python3-aiosignal (1.3.2-1) ... 156s Selecting previously unselected package python3-aiohttp. 156s Preparing to unpack .../09-python3-aiohttp_3.10.11-1_arm64.deb ... 156s Unpacking python3-aiohttp (3.10.11-1) ... 156s Selecting previously unselected package python3-msgpack. 156s Preparing to unpack .../10-python3-msgpack_1.0.3-3build3_arm64.deb ... 156s Unpacking python3-msgpack (1.0.3-3build3) ... 156s Selecting previously unselected package python3-orjson. 156s Preparing to unpack .../11-python3-orjson_3.10.7-2_arm64.deb ... 156s Unpacking python3-orjson (3.10.7-2) ... 156s Selecting previously unselected package python3-tomli. 156s Preparing to unpack .../12-python3-tomli_2.0.1-2_all.deb ... 156s Unpacking python3-tomli (2.0.1-2) ... 156s Selecting previously unselected package python3-tomli-w. 156s Preparing to unpack .../13-python3-tomli-w_1.0.0-2_all.deb ... 156s Unpacking python3-tomli-w (1.0.0-2) ... 156s Selecting previously unselected package python3-mashumaro. 156s Preparing to unpack .../14-python3-mashumaro_3.15-1_all.deb ... 156s Unpacking python3-mashumaro (3.15-1) ... 156s Selecting previously unselected package python3-aioelectricitymaps. 156s Preparing to unpack .../15-python3-aioelectricitymaps_1.0.0-2_all.deb ... 156s Unpacking python3-aioelectricitymaps (1.0.0-2) ... 156s Selecting previously unselected package python3-packaging. 156s Preparing to unpack .../16-python3-packaging_24.2-1_all.deb ... 156s Unpacking python3-packaging (24.2-1) ... 156s Selecting previously unselected package python3-aioresponses. 156s Preparing to unpack .../17-python3-aioresponses_0.7.6-2_all.deb ... 156s Unpacking python3-aioresponses (0.7.6-2) ... 156s Selecting previously unselected package python3.13. 156s Preparing to unpack .../18-python3.13_3.13.1-2_arm64.deb ... 156s Unpacking python3.13 (3.13.1-2) ... 156s Selecting previously unselected package python3-all. 156s Preparing to unpack .../19-python3-all_3.12.8-1_arm64.deb ... 156s Unpacking python3-all (3.12.8-1) ... 156s Selecting previously unselected package python3-async-generator. 156s Preparing to unpack .../20-python3-async-generator_1.10-4_all.deb ... 156s Unpacking python3-async-generator (1.10-4) ... 156s Selecting previously unselected package python3-iniconfig. 156s Preparing to unpack .../21-python3-iniconfig_1.1.1-2_all.deb ... 156s Unpacking python3-iniconfig (1.1.1-2) ... 156s Selecting previously unselected package python3-pluggy. 156s Preparing to unpack .../22-python3-pluggy_1.5.0-1_all.deb ... 156s Unpacking python3-pluggy (1.5.0-1) ... 156s Selecting previously unselected package python3-pytest. 156s Preparing to unpack .../23-python3-pytest_8.3.4-1_all.deb ... 156s Unpacking python3-pytest (8.3.4-1) ... 156s Selecting previously unselected package python3-pytest-asyncio. 156s Preparing to unpack .../24-python3-pytest-asyncio_0.24.0a1-1_all.deb ... 156s Unpacking python3-pytest-asyncio (0.24.0a1-1) ... 156s Selecting previously unselected package python3-syrupy. 156s Preparing to unpack .../25-python3-syrupy_4.8.0-1_all.deb ... 156s Unpacking python3-syrupy (4.8.0-1) ... 156s Setting up python3-iniconfig (1.1.1-2) ... 157s Setting up python3-orjson (3.10.7-2) ... 157s Setting up python3-async-generator (1.10-4) ... 157s Setting up python3-tomli (2.0.1-2) ... 157s Setting up python3-multidict (6.1.0-1build1) ... 157s Setting up python3-frozenlist (1.5.0-1build1) ... 158s Setting up python3-aiosignal (1.3.2-1) ... 158s Setting up python3-async-timeout (5.0.1-1) ... 158s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 158s Setting up python3-packaging (24.2-1) ... 158s Setting up python3-aiohappyeyeballs (2.4.4-2) ... 158s Setting up python3-pluggy (1.5.0-1) ... 159s Setting up python3.13-minimal (3.13.1-2) ... 159s Setting up python3-msgpack (1.0.3-3build3) ... 160s Setting up python3-tomli-w (1.0.0-2) ... 160s Setting up python3-yarl (1.13.1-1build1) ... 160s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 160s Setting up python3-mashumaro (3.15-1) ... 160s Setting up python3.13 (3.13.1-2) ... 161s Setting up python3-pytest (8.3.4-1) ... 162s Setting up python3-syrupy (4.8.0-1) ... 162s Setting up python3-aiohttp (3.10.11-1) ... 163s Setting up python3-all (3.12.8-1) ... 163s Setting up python3-aioelectricitymaps (1.0.0-2) ... 163s Setting up python3-pytest-asyncio (0.24.0a1-1) ... 163s Setting up python3-aioresponses (0.7.6-2) ... 164s Processing triggers for man-db (2.13.0-1) ... 164s Processing triggers for systemd (257-2ubuntu1) ... 165s autopkgtest [14:38:04]: test run-tests: [----------------------- 166s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 166s 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" 166s 166s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 166s ============================= test session starts ============================== 166s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 166s cachedir: .pytest_cache 166s rootdir: /tmp/autopkgtest.dGcb8n/autopkgtest_tmp 166s plugins: syrupy-4.8.0, asyncio-0.24.0a1, typeguard-4.4.1 166s asyncio: mode=Mode.AUTO, default_loop_scope=None 166s collecting ... collected 12 items 166s 166s tests/test_electricitymaps.py::test_json_request_without_session PASSED [ 8%] 166s tests/test_electricitymaps.py::test_carbon_intensity_by_coordinates PASSED [ 16%] 166s tests/test_electricitymaps.py::test_catching_client_error PASSED [ 25%] 166s tests/test_electricitymaps.py::test_zones_request PASSED [ 33%] 166s tests/test_electricitymaps.py::test_timeout PASSED [ 41%] 166s tests/test_electricitymaps.py::test_invalid_token PASSED [ 50%] 166s tests/test_electricitymaps.py::test_not_ok_responses[no-data-response.json-ElectricityMapsNoDataError] PASSED [ 58%] 166s tests/test_electricitymaps.py::test_not_ok_responses[unknown-response.json-ElectricityMapsError] PASSED [ 66%] 166s tests/test_electricitymaps.py::test_latest_power_breakdown PASSED [ 75%] 166s tests/test_electricitymaps.py::test_power_breakdown_history FAILED [ 83%] 166s 166s =================================== FAILURES =================================== 166s _________________________ test_power_breakdown_history _________________________ 166s 166s electricitymaps_client = ElectricityMaps(token='abc123', session=, _close_session=False) 166s responses = 166s snapshot = PowerBreakdownHistory(zone='DE', history=[PowerBreakdown(time=datetime.datetime(2024, 3, 5, 20, 0, tzinfo=datetime.tim...=48570, power_import_total=5798, power_export_total=1467, is_estimated=True, estimation_method='TIME_SLICER_AVERAGE')]) 166s 166s async def test_power_breakdown_history( 166s electricitymaps_client: ElectricityMaps, 166s responses: aioresponses, 166s snapshot: SnapshotAssertion, 166s ) -> None: 166s """Test power_breakdown_history.""" 166s responses.get( 166s "https://api.electricitymap.org/v3/power-breakdown/history?zone=DE", 166s status=200, 166s headers={"Content-Type": "application/json"}, 166s body=load_fixture("power_breakdown_history.json"), 166s ) 166s > assert ( 166s await electricitymaps_client.power_breakdown_history( 166s ZoneRequest("DE"), 166s ) 166s == snapshot 166s ) 166s E AssertionError: assert [+ received] == [- snapshot] 166s E - ....timezone.utc), power_consumption_breakdown={'nuclear': 819, 'geothermal': 19, 'biomass': 5117, 'coal': 21057, 'wind': 12635, 'solar': 0, 'hydro': 3133, 'gas': 9511, 'oil': 353, 'unknown': 365, 'hydro discharge': 869, 'battery discharge': 0}, power_production_breakdown={'nuclear': None, 'geothermal': 21, 'biomass': 5360, 'coal': 22506, 'wind': 12590, 'solar': 0, 'hydro': 1634, 'gas': 10192, 'oil': 354, 'unknown': 335, 'hydro discharge': 845, 'battery discharge': None}, power_import_breakdown={'AT': 0, 'BE': 0, 'CH': 28, 'CZ': 783, 'FR': 643, 'LU': 0, 'NL': 0, 'PL': 0, 'DK-DK1': 1589, 'DK-DK2': 660, '... 166s E 166s E ...Full output truncated (2 lines hidden), use '-vv' to show 166s 166s tests/test_electricitymaps.py:169: AssertionError 166s --------------------------- snapshot report summary ---------------------------- 166s 1 snapshot failed. 4 snapshots passed. 2 snapshots unused. 166s 166s Re-run pytest with --snapshot-update to delete unused snapshots. 166s =========================== short test summary info ============================ 166s FAILED tests/test_electricitymaps.py::test_power_breakdown_history - Assertio... 166s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 166s ========================= 1 failed, 9 passed in 0.16s ========================== 167s autopkgtest [14:38:06]: test run-tests: -----------------------] 167s run-tests FAIL non-zero exit status 1 167s autopkgtest [14:38:06]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 168s autopkgtest [14:38:07]: @@@@@@@@@@@@@@@@@@@@ summary 168s run-tests FAIL non-zero exit status 1 225s nova [W] Using flock in prodstack6-arm64 225s flock: timeout while waiting to get lock 225s Creating nova instance adt-plucky-arm64-aioelectricitymaps-20250117-143519-juju-7f2275-prod-proposed-migration-environment-2-11cca068-bc42-4644-a10d-0fc794f93d63 from image adt/ubuntu-plucky-arm64-server-20250117.img (UUID 16a981e8-12f4-4912-806e-ebb4c2361146)... 225s nova [W] Timed out waiting for 8ea8b9b6-c2f8-4375-9553-816626639517 to get deleted.