0s autopkgtest [19:29:31]: starting date and time: 2025-11-17 19:29:31+0000 0s autopkgtest [19:29:31]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:29:31]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d9uoo8a_/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytibber --apt-upgrade pytibber --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytibber/0.32.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-4.secgroup --name adt-resolute-ppc64el-pytibber-20251117-192931-juju-7f2275-prod-proposed-migration-environment-2-49ac8cd5-8aa3-482f-898c-76aa97fae22c --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-pytibber-20251117-192931-juju-7f2275-prod-proposed-migration-environment-2-49ac8cd5-8aa3-482f-898c-76aa97fae22c from image adt/ubuntu-resolute-ppc64el-server-20251117.img (UUID c6f5b741-c77a-45db-84cb-f00b40e77676)... 52s autopkgtest [19:30:23]: testbed dpkg architecture: ppc64el 52s autopkgtest [19:30:23]: testbed apt version: 3.1.11 53s autopkgtest [19:30:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 53s autopkgtest [19:30:24]: testbed release detected to be: None 53s autopkgtest [19:30:24]: updating testbed package index (apt update) 54s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 54s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 54s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 54s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 54s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 54s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [72.6 kB] 54s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [778 kB] 55s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 55s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [135 kB] 55s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [1276 B] 55s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [499 kB] 55s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [11.0 kB] 55s Fetched 1618 kB in 1s (1108 kB/s) 56s Reading package lists... 57s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 58s Reading package lists... 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 58s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 3180 kB of archives. 58s After this operation, 118 kB of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt1 ppc64el 1:4.5.1-1 [125 kB] 59s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libapt-pkg7.0 ppc64el 3.1.12 [1286 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el apt ppc64el 3.1.12 [1516 kB] 60s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el usbutils ppc64el 1:019-1 [91.5 kB] 60s dpkg-preconfigure: unable to re-open stdin: No such file or directory 60s Fetched 3180 kB in 2s (1978 kB/s) 60s (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 ... 81022 files and directories currently installed.) 60s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 60s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 61s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_ppc64el.deb ... 61s Unpacking libcrypt1:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 61s Setting up libcrypt1:ppc64el (1:4.5.1-1) ... 61s (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 ... 81022 files and directories currently installed.) 61s Preparing to unpack .../libapt-pkg7.0_3.1.12_ppc64el.deb ... 61s Unpacking libapt-pkg7.0:ppc64el (3.1.12) over (3.1.11) ... 61s Preparing to unpack .../apt_3.1.12_ppc64el.deb ... 61s Unpacking apt (3.1.12) over (3.1.11) ... 61s Preparing to unpack .../usbutils_1%3a019-1_ppc64el.deb ... 61s Unpacking usbutils (1:019-1) over (1:018-2) ... 61s Setting up usbutils (1:019-1) ... 61s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 61s Setting up libapt-pkg7.0:ppc64el (3.1.12) ... 61s Setting up apt (3.1.12) ... 62s Processing triggers for man-db (2.13.1-1) ... 64s Processing triggers for libc-bin (2.42-2ubuntu2) ... 64s autopkgtest [19:30:35]: upgrading testbed (apt dist-upgrade and autopurge) 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Solving dependencies... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s autopkgtest [19:30:37]: rebooting testbed after setup commands that affected boot 93s autopkgtest [19:31:04]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 96s autopkgtest [19:31:07]: @@@@@@@@@@@@@@@@@@@@ apt-source pytibber 98s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe pytibber 0.32.2-1 (dsc) [2237 B] 98s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe pytibber 0.32.2-1 (tar) [29.4 kB] 98s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe pytibber 0.32.2-1 (diff) [2248 B] 98s gpgv: Signature made Mon Oct 13 17:41:24 2025 UTC 98s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 98s gpgv: Can't check signature: No public key 98s dpkg-source: warning: cannot verify inline signature for ./pytibber_0.32.2-1.dsc: no acceptable signature found 98s autopkgtest [19:31:09]: testing package pytibber version 0.32.2-1 99s autopkgtest [19:31:10]: build not needed 100s autopkgtest [19:31:11]: test pybuild-autopkgtest: preparing testbed 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s Solving dependencies... 100s The following NEW packages will be installed: 100s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 100s cpp-15-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 100s dh-autoreconf dh-python dh-strip-nondeterminism dwz fonts-font-awesome 100s fonts-lato g++ g++-15 g++-15-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu 100s gcc gcc-15 gcc-15-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 100s intltool-debian libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 100s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libisl23 libitm1 100s libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libquadmath0 100s libstdc++-15-dev libtool libtsan2 libubsan1 m4 po-debconf 100s pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-aiohappyeyeballs 100s python3-aiohttp python3-aiosignal python3-all python3-anyio 100s python3-async-generator python3-async-timeout python3-backoff python3-build 100s python3-frozenlist python3-gql python3-graphql-core python3-iniconfig 100s python3-installer python3-multidict python3-pluggy python3-propcache 100s python3-pyproject-hooks python3-pytest python3-pytest-asyncio 100s python3-pytibber python3-sniffio python3-websockets python3-wheel 100s python3-yarl sphinx-rtd-theme-common 100s 0 upgraded, 76 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 72.9 MB of archives. 100s After this operation, 262 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el fonts-lato all 2.015-1 [2781 kB] 102s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el m4 ppc64el 1.4.20-2 [236 kB] 102s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el autoconf all 2.72-3.1ubuntu1 [384 kB] 102s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el autotools-dev all 20240727.1 [43.4 kB] 102s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el automake all 1:1.18.1-2 [581 kB] 102s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el autopoint all 0.23.2-1 [620 kB] 102s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 102s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 102s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [11.4 MB] 103s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-7ubuntu1 [1032 B] 103s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 103s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 103s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-7ubuntu1 [49.0 kB] 104s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-7ubuntu1 [169 kB] 104s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-7ubuntu1 [32.3 kB] 104s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-7ubuntu1 [3006 kB] 104s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-7ubuntu1 [1374 kB] 104s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-7ubuntu1 [2728 kB] 104s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-7ubuntu1 [1231 kB] 104s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-7ubuntu1 [160 kB] 104s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-7ubuntu1 [1670 kB] 104s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [22.4 MB] 105s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-7ubuntu1 [524 kB] 105s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 105s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 105s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-7ubuntu1 [2744 kB] 106s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [13.0 MB] 106s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-7ubuntu1 [23.7 kB] 106s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 106s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 106s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 106s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 106s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtool all 2.5.4-7 [169 kB] 106s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-autoreconf all 21 [12.5 kB] 106s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 106s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 106s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-strip-nondeterminism all 1.15.0-1 [5090 B] 106s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el debugedit ppc64el 1:5.2-3 [57.3 kB] 106s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el dwz ppc64el 0.16-2 [142 kB] 106s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el gettext ppc64el 0.23.2-1 [1177 kB] 106s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 106s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 106s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el debhelper all 13.24.2ubuntu1 [896 kB] 106s Get:44 http://ftpmaster.internal/ubuntu resolute/universe ppc64el dh-python all 6.20250414 [119 kB] 106s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 106s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 106s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 106s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 106s Get:49 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-autopkgtest all 6.20250414 [1746 B] 106s Get:50 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 106s Get:51 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-wheel all 0.46.1-2 [22.1 kB] 107s Get:52 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-build all 1.2.2-4 [31.0 kB] 107s Get:53 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 107s Get:54 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-pyproject all 6.20250414 [1728 B] 107s Get:55 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiohappyeyeballs all 2.6.1-2 [11.1 kB] 107s Get:56 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-multidict ppc64el 6.4.3-1build1 [74.0 kB] 107s Get:57 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-propcache ppc64el 0.3.1-1build1 [57.0 kB] 107s Get:58 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-yarl ppc64el 1.22.0-1 [106 kB] 107s Get:59 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-timeout all 5.0.1-1 [6830 B] 107s Get:60 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-frozenlist ppc64el 1.8.0-1 [60.5 kB] 107s Get:61 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiosignal all 1.4.0-1 [5628 B] 107s Get:62 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiohttp ppc64el 3.13.1-1 [491 kB] 107s Get:63 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-all ppc64el 3.13.7-1 [884 B] 107s Get:64 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-sniffio all 1.3.1-1 [7262 B] 107s Get:65 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-anyio all 4.11.0-3 [72.6 kB] 107s Get:66 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-generator all 1.10-7 [18.1 kB] 107s Get:67 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-backoff all 2.2.1-2 [17.9 kB] 107s Get:68 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-graphql-core all 3.2.7-1 [125 kB] 107s Get:69 http://ftpmaster.internal/ubuntu resolute/main ppc64el sphinx-rtd-theme-common all 3.0.2+dfsg-3 [1013 kB] 107s Get:70 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-gql all 3.6.0~b4-1 [144 kB] 107s Get:71 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-1 [6840 B] 107s Get:72 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-1 [21.0 kB] 107s Get:73 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest all 8.3.5-2 [252 kB] 107s Get:74 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 107s Get:75 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-websockets ppc64el 15.0.1-1build1 [98.7 kB] 107s Get:76 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el python3-pytibber all 0.32.2-1 [14.9 kB] 107s Fetched 72.9 MB in 7s (10.7 MB/s) 107s Selecting previously unselected package fonts-lato. 107s (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 ... 81022 files and directories currently installed.) 107s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 107s Unpacking fonts-lato (2.015-1) ... 108s Selecting previously unselected package m4. 108s Preparing to unpack .../01-m4_1.4.20-2_ppc64el.deb ... 108s Unpacking m4 (1.4.20-2) ... 108s Selecting previously unselected package autoconf. 108s Preparing to unpack .../02-autoconf_2.72-3.1ubuntu1_all.deb ... 108s Unpacking autoconf (2.72-3.1ubuntu1) ... 108s Selecting previously unselected package autotools-dev. 108s Preparing to unpack .../03-autotools-dev_20240727.1_all.deb ... 108s Unpacking autotools-dev (20240727.1) ... 108s Selecting previously unselected package automake. 108s Preparing to unpack .../04-automake_1%3a1.18.1-2_all.deb ... 108s Unpacking automake (1:1.18.1-2) ... 108s Selecting previously unselected package autopoint. 108s Preparing to unpack .../05-autopoint_0.23.2-1_all.deb ... 108s Unpacking autopoint (0.23.2-1) ... 108s Selecting previously unselected package libisl23:ppc64el. 108s Preparing to unpack .../06-libisl23_0.27-1_ppc64el.deb ... 108s Unpacking libisl23:ppc64el (0.27-1) ... 108s Selecting previously unselected package libmpc3:ppc64el. 108s Preparing to unpack .../07-libmpc3_1.3.1-2_ppc64el.deb ... 108s Unpacking libmpc3:ppc64el (1.3.1-2) ... 108s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 108s Preparing to unpack .../08-cpp-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package cpp-15. 108s Preparing to unpack .../09-cpp-15_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 108s Preparing to unpack .../10-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 108s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package cpp. 108s Preparing to unpack .../11-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 108s Unpacking cpp (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package libcc1-0:ppc64el. 108s Preparing to unpack .../12-libcc1-0_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libcc1-0:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libgomp1:ppc64el. 108s Preparing to unpack .../13-libgomp1_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libgomp1:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libitm1:ppc64el. 108s Preparing to unpack .../14-libitm1_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libitm1:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libasan8:ppc64el. 108s Preparing to unpack .../15-libasan8_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libasan8:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package liblsan0:ppc64el. 108s Preparing to unpack .../16-liblsan0_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking liblsan0:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libtsan2:ppc64el. 108s Preparing to unpack .../17-libtsan2_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libtsan2:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libubsan1:ppc64el. 108s Preparing to unpack .../18-libubsan1_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libubsan1:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libquadmath0:ppc64el. 108s Preparing to unpack .../19-libquadmath0_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libquadmath0:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package libgcc-15-dev:ppc64el. 108s Preparing to unpack .../20-libgcc-15-dev_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking libgcc-15-dev:ppc64el (15.2.0-7ubuntu1) ... 108s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 108s Preparing to unpack .../21-gcc-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 108s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package gcc-15. 109s Preparing to unpack .../22-gcc-15_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 109s Preparing to unpack .../23-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package gcc. 109s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking gcc (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package libstdc++-15-dev:ppc64el. 109s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libstdc++-15-dev:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 109s Preparing to unpack .../26-g++-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package g++-15. 109s Preparing to unpack .../27-g++-15_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking g++-15 (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package g++-powerpc64le-linux-gnu. 109s Preparing to unpack .../28-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package g++. 109s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking g++ (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package build-essential. 109s Preparing to unpack .../30-build-essential_12.12ubuntu1_ppc64el.deb ... 109s Unpacking build-essential (12.12ubuntu1) ... 109s Selecting previously unselected package libdebhelper-perl. 109s Preparing to unpack .../31-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 109s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 109s Selecting previously unselected package libtool. 109s Preparing to unpack .../32-libtool_2.5.4-7_all.deb ... 109s Unpacking libtool (2.5.4-7) ... 109s Selecting previously unselected package dh-autoreconf. 109s Preparing to unpack .../33-dh-autoreconf_21_all.deb ... 109s Unpacking dh-autoreconf (21) ... 109s Selecting previously unselected package libarchive-zip-perl. 109s Preparing to unpack .../34-libarchive-zip-perl_1.68-1_all.deb ... 109s Unpacking libarchive-zip-perl (1.68-1) ... 109s Selecting previously unselected package libfile-stripnondeterminism-perl. 109s Preparing to unpack .../35-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 109s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 109s Selecting previously unselected package dh-strip-nondeterminism. 109s Preparing to unpack .../36-dh-strip-nondeterminism_1.15.0-1_all.deb ... 109s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 109s Selecting previously unselected package debugedit. 109s Preparing to unpack .../37-debugedit_1%3a5.2-3_ppc64el.deb ... 109s Unpacking debugedit (1:5.2-3) ... 109s Selecting previously unselected package dwz. 109s Preparing to unpack .../38-dwz_0.16-2_ppc64el.deb ... 109s Unpacking dwz (0.16-2) ... 109s Selecting previously unselected package gettext. 109s Preparing to unpack .../39-gettext_0.23.2-1_ppc64el.deb ... 109s Unpacking gettext (0.23.2-1) ... 109s Selecting previously unselected package intltool-debian. 109s Preparing to unpack .../40-intltool-debian_0.35.0+20060710.6_all.deb ... 109s Unpacking intltool-debian (0.35.0+20060710.6) ... 109s Selecting previously unselected package po-debconf. 109s Preparing to unpack .../41-po-debconf_1.0.21+nmu1_all.deb ... 109s Unpacking po-debconf (1.0.21+nmu1) ... 109s Selecting previously unselected package debhelper. 109s Preparing to unpack .../42-debhelper_13.24.2ubuntu1_all.deb ... 109s Unpacking debhelper (13.24.2ubuntu1) ... 109s Selecting previously unselected package dh-python. 109s Preparing to unpack .../43-dh-python_6.20250414_all.deb ... 109s Unpacking dh-python (6.20250414) ... 109s Selecting previously unselected package fonts-font-awesome. 109s Preparing to unpack .../44-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 109s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 110s Selecting previously unselected package libjs-jquery. 110s Preparing to unpack .../45-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 110s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 110s Selecting previously unselected package libjs-underscore. 110s Preparing to unpack .../46-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 110s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 110s Selecting previously unselected package libjs-sphinxdoc. 110s Preparing to unpack .../47-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 110s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 110s Selecting previously unselected package pybuild-plugin-autopkgtest. 110s Preparing to unpack .../48-pybuild-plugin-autopkgtest_6.20250414_all.deb ... 110s Unpacking pybuild-plugin-autopkgtest (6.20250414) ... 110s Selecting previously unselected package python3-pyproject-hooks. 110s Preparing to unpack .../49-python3-pyproject-hooks_1.2.0-1_all.deb ... 110s Unpacking python3-pyproject-hooks (1.2.0-1) ... 110s Selecting previously unselected package python3-wheel. 110s Preparing to unpack .../50-python3-wheel_0.46.1-2_all.deb ... 110s Unpacking python3-wheel (0.46.1-2) ... 110s Selecting previously unselected package python3-build. 110s Preparing to unpack .../51-python3-build_1.2.2-4_all.deb ... 110s Unpacking python3-build (1.2.2-4) ... 110s Selecting previously unselected package python3-installer. 110s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 110s Unpacking python3-installer (0.7.0+dfsg1-3) ... 110s Selecting previously unselected package pybuild-plugin-pyproject. 110s Preparing to unpack .../53-pybuild-plugin-pyproject_6.20250414_all.deb ... 110s Unpacking pybuild-plugin-pyproject (6.20250414) ... 110s Selecting previously unselected package python3-aiohappyeyeballs. 110s Preparing to unpack .../54-python3-aiohappyeyeballs_2.6.1-2_all.deb ... 110s Unpacking python3-aiohappyeyeballs (2.6.1-2) ... 110s Selecting previously unselected package python3-multidict. 110s Preparing to unpack .../55-python3-multidict_6.4.3-1build1_ppc64el.deb ... 110s Unpacking python3-multidict (6.4.3-1build1) ... 110s Selecting previously unselected package python3-propcache. 110s Preparing to unpack .../56-python3-propcache_0.3.1-1build1_ppc64el.deb ... 110s Unpacking python3-propcache (0.3.1-1build1) ... 110s Selecting previously unselected package python3-yarl. 110s Preparing to unpack .../57-python3-yarl_1.22.0-1_ppc64el.deb ... 110s Unpacking python3-yarl (1.22.0-1) ... 110s Selecting previously unselected package python3-async-timeout. 110s Preparing to unpack .../58-python3-async-timeout_5.0.1-1_all.deb ... 110s Unpacking python3-async-timeout (5.0.1-1) ... 110s Selecting previously unselected package python3-frozenlist. 110s Preparing to unpack .../59-python3-frozenlist_1.8.0-1_ppc64el.deb ... 110s Unpacking python3-frozenlist (1.8.0-1) ... 110s Selecting previously unselected package python3-aiosignal. 110s Preparing to unpack .../60-python3-aiosignal_1.4.0-1_all.deb ... 110s Unpacking python3-aiosignal (1.4.0-1) ... 110s Selecting previously unselected package python3-aiohttp. 110s Preparing to unpack .../61-python3-aiohttp_3.13.1-1_ppc64el.deb ... 110s Unpacking python3-aiohttp (3.13.1-1) ... 110s Selecting previously unselected package python3-all. 110s Preparing to unpack .../62-python3-all_3.13.7-1_ppc64el.deb ... 110s Unpacking python3-all (3.13.7-1) ... 110s Selecting previously unselected package python3-sniffio. 110s Preparing to unpack .../63-python3-sniffio_1.3.1-1_all.deb ... 110s Unpacking python3-sniffio (1.3.1-1) ... 110s Selecting previously unselected package python3-anyio. 110s Preparing to unpack .../64-python3-anyio_4.11.0-3_all.deb ... 110s Unpacking python3-anyio (4.11.0-3) ... 110s Selecting previously unselected package python3-async-generator. 110s Preparing to unpack .../65-python3-async-generator_1.10-7_all.deb ... 110s Unpacking python3-async-generator (1.10-7) ... 110s Selecting previously unselected package python3-backoff. 110s Preparing to unpack .../66-python3-backoff_2.2.1-2_all.deb ... 110s Unpacking python3-backoff (2.2.1-2) ... 110s Selecting previously unselected package python3-graphql-core. 110s Preparing to unpack .../67-python3-graphql-core_3.2.7-1_all.deb ... 110s Unpacking python3-graphql-core (3.2.7-1) ... 110s Selecting previously unselected package sphinx-rtd-theme-common. 110s Preparing to unpack .../68-sphinx-rtd-theme-common_3.0.2+dfsg-3_all.deb ... 110s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 110s Selecting previously unselected package python3-gql. 110s Preparing to unpack .../69-python3-gql_3.6.0~b4-1_all.deb ... 110s Unpacking python3-gql (3.6.0~b4-1) ... 110s Selecting previously unselected package python3-iniconfig. 110s Preparing to unpack .../70-python3-iniconfig_2.1.0-1_all.deb ... 110s Unpacking python3-iniconfig (2.1.0-1) ... 110s Selecting previously unselected package python3-pluggy. 110s Preparing to unpack .../71-python3-pluggy_1.6.0-1_all.deb ... 110s Unpacking python3-pluggy (1.6.0-1) ... 110s Selecting previously unselected package python3-pytest. 110s Preparing to unpack .../72-python3-pytest_8.3.5-2_all.deb ... 110s Unpacking python3-pytest (8.3.5-2) ... 110s Selecting previously unselected package python3-pytest-asyncio. 110s Preparing to unpack .../73-python3-pytest-asyncio_0.25.1-1_all.deb ... 110s Unpacking python3-pytest-asyncio (0.25.1-1) ... 110s Selecting previously unselected package python3-websockets. 110s Preparing to unpack .../74-python3-websockets_15.0.1-1build1_ppc64el.deb ... 110s Unpacking python3-websockets (15.0.1-1build1) ... 110s Selecting previously unselected package python3-pytibber. 110s Preparing to unpack .../75-python3-pytibber_0.32.2-1_all.deb ... 110s Unpacking python3-pytibber (0.32.2-1) ... 110s Setting up dh-python (6.20250414) ... 110s Setting up python3-iniconfig (2.1.0-1) ... 110s Setting up python3-sniffio (1.3.1-1) ... 110s Setting up fonts-lato (2.015-1) ... 110s Setting up python3-async-generator (1.10-7) ... 110s Setting up python3-anyio (4.11.0-3) ... 111s Setting up libarchive-zip-perl (1.68-1) ... 111s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 111s Setting up m4 (1.4.20-2) ... 111s Setting up python3-all (3.13.7-1) ... 111s Setting up libgomp1:ppc64el (15.2.0-7ubuntu1) ... 111s Setting up python3-wheel (0.46.1-2) ... 111s Setting up python3-multidict (6.4.3-1build1) ... 111s Setting up python3-frozenlist (1.8.0-1) ... 111s Setting up python3-aiosignal (1.4.0-1) ... 111s Setting up python3-async-timeout (5.0.1-1) ... 111s Setting up autotools-dev (20240727.1) ... 111s Setting up python3-pyproject-hooks (1.2.0-1) ... 111s Setting up libquadmath0:ppc64el (15.2.0-7ubuntu1) ... 111s Setting up libmpc3:ppc64el (1.3.1-2) ... 111s Setting up autopoint (0.23.2-1) ... 111s Setting up python3-graphql-core (3.2.7-1) ... 111s Setting up python3-aiohappyeyeballs (2.6.1-2) ... 111s Setting up python3-installer (0.7.0+dfsg1-3) ... 112s Setting up autoconf (2.72-3.1ubuntu1) ... 112s Setting up python3-pluggy (1.6.0-1) ... 112s Setting up libubsan1:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up dwz (0.16-2) ... 112s Setting up python3-propcache (0.3.1-1build1) ... 112s Setting up libasan8:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up python3-backoff (2.2.1-2) ... 112s Setting up debugedit (1:5.2-3) ... 112s Setting up libtsan2:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 112s Setting up libisl23:ppc64el (0.27-1) ... 112s Setting up python3-build (1.2.2-4) ... 112s Setting up python3-yarl (1.22.0-1) ... 112s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 112s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 112s Setting up libcc1-0:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up liblsan0:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up libitm1:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 112s Setting up python3-websockets (15.0.1-1build1) ... 112s Setting up automake (1:1.18.1-2) ... 112s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 112s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 112s Setting up gettext (0.23.2-1) ... 112s Setting up libgcc-15-dev:ppc64el (15.2.0-7ubuntu1) ... 112s Setting up pybuild-plugin-pyproject (6.20250414) ... 112s Setting up python3-pytest (8.3.5-2) ... 113s Setting up python3-aiohttp (3.13.1-1) ... 113s Setting up intltool-debian (0.35.0+20060710.6) ... 113s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 113s Setting up libstdc++-15-dev:ppc64el (15.2.0-7ubuntu1) ... 113s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 113s Setting up python3-pytest-asyncio (0.25.1-1) ... 113s Setting up dh-strip-nondeterminism (1.15.0-1) ... 113s Setting up cpp-15 (15.2.0-7ubuntu1) ... 113s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 113s Setting up po-debconf (1.0.21+nmu1) ... 113s Setting up gcc-15 (15.2.0-7ubuntu1) ... 113s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up python3-gql (3.6.0~b4-1) ... 113s Setting up cpp (4:15.2.0-4ubuntu1) ... 113s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 113s Setting up libtool (2.5.4-7) ... 113s Setting up gcc (4:15.2.0-4ubuntu1) ... 113s Setting up dh-autoreconf (21) ... 113s Setting up python3-pytibber (0.32.2-1) ... 113s Setting up g++-15 (15.2.0-7ubuntu1) ... 113s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 113s Setting up debhelper (13.24.2ubuntu1) ... 113s Setting up g++ (4:15.2.0-4ubuntu1) ... 113s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 113s Setting up build-essential (12.12ubuntu1) ... 113s Setting up pybuild-plugin-autopkgtest (6.20250414) ... 113s Processing triggers for install-info (7.2-5) ... 113s Processing triggers for libc-bin (2.42-2ubuntu2) ... 113s Processing triggers for man-db (2.13.1-1) ... 116s autopkgtest [19:31:27]: test pybuild-autopkgtest: pybuild-autopkgtest 116s autopkgtest [19:31:27]: test pybuild-autopkgtest: [----------------------- 116s pybuild-autopkgtest 116s I: pybuild base:311: cd /tmp/autopkgtest.Ry2tE1/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_logging_rt_subscribe" 117s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 117s 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" 117s 117s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 117s ============================= test session starts ============================== 117s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 117s rootdir: /tmp/autopkgtest.Ry2tE1/autopkgtest_tmp/build 117s configfile: pyproject.toml 117s plugins: anyio-4.11.0, typeguard-4.4.2, asyncio-0.25.1 117s asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None 117s collected 8 items / 1 deselected / 7 selected 117s 280s test/test_tibber.py FFFFFFF [100%] 280s 280s =================================== FAILURES =================================== 280s ____________________________ test_tibber_no_session ____________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('52.50.48.96', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('52.50.48.96', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_no_session(): 280s tibber_connection = tibber.Tibber( 280s user_agent="test", 280s ) 280s > await tibber_connection.update_info() 280s 280s test/test_tibber.py:20: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:139: in update_info 280s if (data := await self.execute(INFO)) is None: 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('52.50.48.96', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('52.50.48.96', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('52.50.48.96', 443)] 280s _________________________________ test_tibber __________________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('108.128.250.37', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s websession=session, 280s user_agent="test", 280s ) 280s > await tibber_connection.update_info() 280s 280s test/test_tibber.py:32: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:139: in update_info 280s if (data := await self.execute(INFO)) is None: 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s __________________________ test_tibber_invalid_token ___________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('34.255.43.86', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('34.255.43.86', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_invalid_token(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s access_token="INVALID_TOKEN", 280s websession=session, 280s user_agent="test", 280s ) 280s with pytest.raises(InvalidLoginError, match="invalid token"): 280s > await tibber_connection.update_info() 280s 280s test/test_tibber.py:86: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:139: in update_info 280s if (data := await self.execute(INFO)) is None: 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('34.255.43.86', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('34.255.43.86', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('34.255.43.86', 443)] 280s __________________________ test_tibber_invalid_query ___________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('108.128.250.37', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_invalid_query(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s websession=session, 280s user_agent="test", 280s ) 280s 280s with pytest.raises(FatalHttpExceptionError, match="Syntax Error*"): 280s > await tibber_connection.execute("invalidquery") 280s 280s test/test_tibber.py:100: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s ___________________________ test_tibber_notification ___________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('108.128.250.37', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_notification(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s websession=session, 280s user_agent="test", 280s ) 280s with pytest.raises(NotForDemoUserError, match="operation not allowed for demo user"): 280s > await tibber_connection.send_notification("Test title", "message") 280s 280s test/test_tibber.py:114: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:188: in send_notification 280s res := await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('108.128.250.37', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('108.128.250.37', 443)] 280s ________________________ test_tibber_current_price_rank ________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('34.255.43.86', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('34.255.43.86', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_current_price_rank(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s websession=session, 280s user_agent="test", 280s ) 280s > await tibber_connection.update_info() 280s 280s test/test_tibber.py:124: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:139: in update_info 280s if (data := await self.execute(INFO)) is None: 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('34.255.43.86', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('34.255.43.86', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('34.255.43.86', 443)] 280s ________________________ test_tibber_get_historic_data _________________________ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s > sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1268: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:122: in start_connection 280s raise first_exception 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:73: in start_connection 280s sock = await _connect_sock( 280s /usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py:208: in _connect_sock 280s await loop.sock_connect(sock, address) 280s /usr/lib/python3.13/asyncio/selector_events.py:641: in sock_connect 280s return await fut 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = <_UnixSelectorEventLoop running=False closed=False debug=False> 280s fut = None, sock = 280s address = ('52.50.48.96', 443) 280s 280s def _sock_connect_cb(self, fut, sock, address): 280s if fut.done(): 280s return 280s 280s try: 280s err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) 280s if err != 0: 280s # Jump to any except clause below. 280s > raise OSError(err, f'Connect call failed {address}') 280s E ConnectionRefusedError: [Errno 111] Connect call failed ('52.50.48.96', 443) 280s 280s /usr/lib/python3.13/asyncio/selector_events.py:681: ConnectionRefusedError 280s 280s The above exception was the direct cause of the following exception: 280s 280s @pytest.mark.asyncio 280s async def test_tibber_get_historic_data(): 280s async with aiohttp.ClientSession() as session: 280s tibber_connection = tibber.Tibber( 280s websession=session, 280s user_agent="test", 280s ) 280s > await tibber_connection.update_info() 280s 280s test/test_tibber.py:143: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/tibber/__init__.py:139: in update_info 280s if (data := await self.execute(INFO)) is None: 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:109: in execute 280s return await self.execute( 280s /usr/lib/python3/dist-packages/tibber/__init__.py:97: in execute 280s resp = await self.websession.post( 280s /usr/lib/python3/dist-packages/aiohttp/client.py:786: in _request 280s resp = await handler(req) 280s /usr/lib/python3/dist-packages/aiohttp/client.py:741: in _connect_and_send_request 280s conn = await self._connector.connect( 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:642: in connect 280s proto = await self._create_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1209: in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1581: in _create_direct_connection 280s raise last_exc 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1550: in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s addr_infos = [] 280s req = 280s timeout = ClientTimeout(total=10, connect=None, sock_read=None, sock_connect=None, ceil_threshold=5) 280s client_error = 280s args = (functools.partial(, loop=<_UnixSelectorEventLoop running=False closed=False debug=False>),) 280s kwargs = {'server_hostname': 'api.tibber.com', 'ssl': } 280s 280s async def _wrap_create_connection( 280s self, 280s *args: Any, 280s addr_infos: List[AddrInfoType], 280s req: ClientRequest, 280s timeout: "ClientTimeout", 280s client_error: Type[Exception] = ClientConnectorError, 280s **kwargs: Any, 280s ) -> Tuple[asyncio.Transport, ResponseHandler]: 280s try: 280s async with ceil_timeout( 280s timeout.sock_connect, ceil_threshold=timeout.ceil_threshold 280s ): 280s sock = await aiohappyeyeballs.start_connection( 280s addr_infos=addr_infos, 280s local_addr_infos=self._local_addr_infos, 280s happy_eyeballs_delay=self._happy_eyeballs_delay, 280s interleave=self._interleave, 280s loop=self._loop, 280s socket_factory=self._socket_factory, 280s ) 280s # Add ssl_shutdown_timeout for Python 3.11+ when SSL is used 280s if ( 280s kwargs.get("ssl") 280s and self._ssl_shutdown_timeout 280s and sys.version_info >= (3, 11) 280s ): 280s kwargs["ssl_shutdown_timeout"] = self._ssl_shutdown_timeout 280s return await self._loop.create_connection(*args, **kwargs, sock=sock) 280s except cert_errors as exc: 280s raise ClientConnectorCertificateError(req.connection_key, exc) from exc 280s except ssl_errors as exc: 280s raise ClientConnectorSSLError(req.connection_key, exc) from exc 280s except OSError as exc: 280s if exc.errno is None and isinstance(exc, asyncio.TimeoutError): 280s raise 280s > raise client_error(req.connection_key, exc) from exc 280s E aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('52.50.48.96', 443)] 280s 280s /usr/lib/python3/dist-packages/aiohttp/connector.py:1291: ClientConnectorError 280s ------------------------------ Captured log call ------------------------------- 280s ERROR tibber:__init__.py:118 Error connecting to Tibber 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection 280s sock = await aiohappyeyeballs.start_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 122, in start_connection 280s raise first_exception 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 73, in start_connection 280s sock = await _connect_sock( 280s ^^^^^^^^^^^^^^^^^^^^ 280s ...<6 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock 280s await loop.sock_connect(sock, address) 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect 280s return await fut 280s ^^^^^^^^^ 280s File "/usr/lib/python3.13/asyncio/selector_events.py", line 681, in _sock_connect_cb 280s raise OSError(err, f'Connect call failed {address}') 280s ConnectionRefusedError: [Errno 111] Connect call failed ('52.50.48.96', 443) 280s 280s The above exception was the direct cause of the following exception: 280s 280s Traceback (most recent call last): 280s File "/usr/lib/python3/dist-packages/tibber/__init__.py", line 97, in execute 280s resp = await self.websession.post( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 786, in _request 280s resp = await handler(req) 280s ^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 741, in _connect_and_send_request 280s conn = await self._connector.connect( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s req, traces=traces, timeout=real_timeout 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect 280s proto = await self._create_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection 280s _, proto = await self._create_direct_connection(req, traces, timeout) 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1581, in _create_direct_connection 280s raise last_exc 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection 280s transp, proto = await self._wrap_create_connection( 280s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 280s ...<7 lines>... 280s ) 280s ^ 280s File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1291, in _wrap_create_connection 280s raise client_error(req.connection_key, exc) from exc 280s aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.tibber.com:443 ssl:default [Connect call failed ('52.50.48.96', 443)] 280s =============================== warnings summary =============================== 280s ../../../../usr/lib/python3/dist-packages/gql/transport/websockets_base.py:11 280s /usr/lib/python3/dist-packages/gql/transport/websockets_base.py:11: DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated 280s from websockets.client import WebSocketClientProtocol 280s 280s ../../../../usr/lib/python3/dist-packages/websockets/legacy/__init__.py:6 280s /usr/lib/python3/dist-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions 280s warnings.warn( # deprecated in 14.0 - 2024-11-09 280s 280s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 280s =========================== short test summary info ============================ 280s FAILED test/test_tibber.py::test_tibber_no_session - aiohttp.client_exception... 280s FAILED test/test_tibber.py::test_tibber - aiohttp.client_exceptions.ClientCon... 280s FAILED test/test_tibber.py::test_tibber_invalid_token - aiohttp.client_except... 280s FAILED test/test_tibber.py::test_tibber_invalid_query - aiohttp.client_except... 280s FAILED test/test_tibber.py::test_tibber_notification - aiohttp.client_excepti... 280s FAILED test/test_tibber.py::test_tibber_current_price_rank - aiohttp.client_e... 280s FAILED test/test_tibber.py::test_tibber_get_historic_data - aiohttp.client_ex... 280s =========== 7 failed, 1 deselected, 2 warnings in 163.23s (0:02:43) ============ 280s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.Ry2tE1/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_logging_rt_subscribe" 280s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13 280s make: *** [/tmp/63nVz1K66s/run:4: pybuild-autopkgtest] Error 25 280s pybuild-autopkgtest: error: /tmp/63nVz1K66s/run pybuild-autopkgtest returned exit code 2 280s autopkgtest [19:34:11]: test pybuild-autopkgtest: -----------------------] 281s pybuild-autopkgtest FAIL non-zero exit status 25 281s autopkgtest [19:34:12]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 281s autopkgtest [19:34:12]: @@@@@@@@@@@@@@@@@@@@ summary 281s pybuild-autopkgtest FAIL non-zero exit status 25