0s autopkgtest [20:31:41]: starting date and time: 2024-11-23 20:31:41+0000 0s autopkgtest [20:31:41]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:31:41]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fk1f4qm3/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python-async-timeout --apt-upgrade python-foobot-async --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-async-timeout/5.0.1-1 -- lxd -r lxd-armhf-10.145.243.227 lxd-armhf-10.145.243.227:autopkgtest/ubuntu/plucky/armhf 52s autopkgtest [20:32:33]: testbed dpkg architecture: armhf 54s autopkgtest [20:32:35]: testbed apt version: 2.9.8 54s autopkgtest [20:32:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 63s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 63s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 63s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [63.6 kB] 63s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [727 kB] 63s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 63s Fetched 1879 kB in 1s (2034 kB/s) 63s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 104s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 104s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 105s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s Calculating upgrade... 107s The following packages will be upgraded: 107s bash debconf debconf-i18n python3-blinker python3-debconf vim-common 107s vim-tiny xxd 108s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 2172 kB of archives. 108s After this operation, 1024 B disk space will be freed. 108s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 109s Preconfiguring packages ... 109s Fetched 2172 kB in 1s (3268 kB/s) 109s (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 ... 59616 files and directories currently installed.) 109s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 109s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 109s Setting up bash (5.2.32-1ubuntu2) ... 109s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 109s (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 ... 59616 files and directories currently installed.) 109s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 109s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 109s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 109s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Setting up debconf (1.5.87ubuntu1) ... 110s (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 ... 59616 files and directories currently installed.) 110s Preparing to unpack .../vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 110s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 110s Preparing to unpack .../vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 110s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 110s Preparing to unpack .../xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 110s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 110s Preparing to unpack .../python3-blinker_1.9.0-1_all.deb ... 110s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 110s Setting up python3-debconf (1.5.87ubuntu1) ... 110s Setting up debconf-i18n (1.5.87ubuntu1) ... 110s Setting up xxd (2:9.1.0861-1ubuntu1) ... 110s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 110s Setting up python3-blinker (1.9.0-1) ... 110s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 110s Processing triggers for debianutils (5.21) ... 110s Processing triggers for install-info (7.1.1-1) ... 111s Processing triggers for man-db (2.13.0-1) ... 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s autopkgtest [20:33:37]: rebooting testbed after setup commands that affected boot 193s autopkgtest [20:34:54]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 221s autopkgtest [20:35:22]: @@@@@@@@@@@@@@@@@@@@ apt-source python-foobot-async 232s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (dsc) [2325 B] 232s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (tar) [33.6 kB] 232s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (diff) [2056 B] 232s gpgv: Signature made Mon Sep 9 12:25:32 2024 UTC 232s gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE 232s gpgv: Can't check signature: No public key 232s dpkg-source: warning: cannot verify inline signature for ./python-foobot-async_1.0.1-2.dsc: no acceptable signature found 232s autopkgtest [20:35:33]: testing package python-foobot-async version 1.0.1-2 235s autopkgtest [20:35:36]: build not needed 237s autopkgtest [20:35:38]: test pybuild-autopkgtest: preparing testbed 251s Reading package lists... 251s Building dependency tree... 251s Reading state information... 252s Starting pkgProblemResolver with broken count: 0 252s Starting 2 pkgProblemResolver with broken count: 0 252s Done 253s The following additional packages will be installed: 253s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 253s cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 253s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 253s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 253s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 253s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 253s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 253s libisl23 libmpc3 libstdc++-14-dev libtool libubsan1 linux-libc-dev m4 253s openstack-pkg-tools po-debconf pybuild-plugin-autopkgtest 253s pybuild-plugin-pyproject python3-aiohttp python3-aioresponses 253s python3-aiosignal python3-all python3-async-timeout python3-build 253s python3-foobot-async python3-frozenlist python3-iniconfig python3-installer 253s python3-multidict python3-packaging python3-pip python3-pluggy 253s python3-pyproject-hooks python3-pytest python3-toml python3-wheel 253s python3-yarl rpcsvc-proto 253s Suggested packages: 253s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 253s cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb 253s gcc-doc gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 253s libc-devtools glibc-doc libstdc++-14-doc libtool-doc gfortran 253s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 253s python-build-doc python-installer-doc 253s Recommended packages: 253s manpages manpages-dev libarchive-cpio-perl libltdl-dev autopkgtest 253s madison-lite pristine-tar libmail-sendmail-perl libjs-jquery python3-aiodns 253s python3-dev libjs-sphinxdoc 253s The following NEW packages will be installed: 253s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 253s cpp cpp-14 cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 253s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 253s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 253s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 253s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 253s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 253s libisl23 libmpc3 libstdc++-14-dev libtool libubsan1 linux-libc-dev m4 253s openstack-pkg-tools po-debconf pybuild-plugin-autopkgtest 253s pybuild-plugin-pyproject python3-aiohttp python3-aioresponses 253s python3-aiosignal python3-all python3-async-timeout python3-build 253s python3-foobot-async python3-frozenlist python3-iniconfig python3-installer 253s python3-multidict python3-packaging python3-pip python3-pluggy 253s python3-pyproject-hooks python3-pytest python3-toml python3-wheel 253s python3-yarl rpcsvc-proto 253s 0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded. 253s Need to get 56.8 MB/56.8 MB of archives. 253s After this operation, 172 MB of additional disk space will be used. 253s Get:1 /tmp/autopkgtest.6Klceb/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [832 B] 253s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 254s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 254s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 254s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 254s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 254s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 254s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 254s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 254s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 254s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 254s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 254s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 254s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 254s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 254s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 254s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 254s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 254s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 254s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 254s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 254s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 254s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 255s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 255s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 255s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 255s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 255s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 255s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 255s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 255s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 255s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 255s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 255s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-8 [166 kB] 255s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 255s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 255s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 255s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 255s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 255s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 255s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 255s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 255s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 255s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 255s Get:45 http://ftpmaster.internal/ubuntu plucky/universe armhf dh-python all 6.20241024 [112 kB] 255s Get:46 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 255s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 255s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 255s Get:49 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-toml all 0.10.2-1 [16.5 kB] 255s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.45.0-1 [57.7 kB] 255s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-build all 1.2.2-1 [31.0 kB] 255s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 255s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-pyproject all 6.20241024 [1728 B] 255s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-multidict armhf 6.1.0-1build1 [34.6 kB] 255s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-yarl armhf 1.9.4-1 [67.1 kB] 255s Get:56 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-async-timeout all 5.0.1-1 [6830 B] 256s Get:57 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-frozenlist armhf 1.5.0-1build1 [56.1 kB] 256s Get:58 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiosignal all 1.3.1-1 [5172 B] 256s Get:59 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aiohttp armhf 3.9.5-1 [274 kB] 256s Get:60 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-aioresponses all 0.7.6-2 [10.9 kB] 256s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 256s Get:62 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-foobot-async all 1.0.1-2 [5386 B] 256s Get:63 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 256s Get:64 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.3.1+dfsg-1 [1404 kB] 256s Get:65 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 256s Get:66 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 256s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf openstack-pkg-tools all 123ubuntu2 [94.5 kB] 257s Fetched 56.8 MB in 2s (24.1 MB/s) 257s Selecting previously unselected package m4. 257s (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 ... 59616 files and directories currently installed.) 257s Preparing to unpack .../00-m4_1.4.19-4build1_armhf.deb ... 257s Unpacking m4 (1.4.19-4build1) ... 257s Selecting previously unselected package autoconf. 257s Preparing to unpack .../01-autoconf_2.72-3_all.deb ... 257s Unpacking autoconf (2.72-3) ... 257s Selecting previously unselected package autotools-dev. 257s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 257s Unpacking autotools-dev (20220109.1) ... 257s Selecting previously unselected package automake. 257s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 257s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 257s Selecting previously unselected package autopoint. 257s Preparing to unpack .../04-autopoint_0.22.5-2_all.deb ... 257s Unpacking autopoint (0.22.5-2) ... 257s Selecting previously unselected package libc-dev-bin. 257s Preparing to unpack .../05-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 257s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 257s Selecting previously unselected package linux-libc-dev:armhf. 257s Preparing to unpack .../06-linux-libc-dev_6.11.0-8.8_armhf.deb ... 257s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 257s Selecting previously unselected package libcrypt-dev:armhf. 257s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 258s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 258s Selecting previously unselected package rpcsvc-proto. 258s Preparing to unpack .../08-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 258s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 258s Selecting previously unselected package libc6-dev:armhf. 258s Preparing to unpack .../09-libc6-dev_2.40-1ubuntu3_armhf.deb ... 258s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 258s Selecting previously unselected package libisl23:armhf. 258s Preparing to unpack .../10-libisl23_0.27-1_armhf.deb ... 258s Unpacking libisl23:armhf (0.27-1) ... 258s Selecting previously unselected package libmpc3:armhf. 258s Preparing to unpack .../11-libmpc3_1.3.1-1build2_armhf.deb ... 258s Unpacking libmpc3:armhf (1.3.1-1build2) ... 258s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 258s Preparing to unpack .../12-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 258s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 258s Selecting previously unselected package cpp-14. 258s Preparing to unpack .../13-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 258s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 258s Selecting previously unselected package cpp-arm-linux-gnueabihf. 259s Preparing to unpack .../14-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 259s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 259s Selecting previously unselected package cpp. 259s Preparing to unpack .../15-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 259s Unpacking cpp (4:14.1.0-2ubuntu1) ... 259s Selecting previously unselected package libcc1-0:armhf. 259s Preparing to unpack .../16-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 259s Selecting previously unselected package libgomp1:armhf. 259s Preparing to unpack .../17-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 259s Selecting previously unselected package libasan8:armhf. 259s Preparing to unpack .../18-libasan8_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 259s Selecting previously unselected package libubsan1:armhf. 259s Preparing to unpack .../19-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 259s Selecting previously unselected package libgcc-14-dev:armhf. 259s Preparing to unpack .../20-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 259s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 259s Preparing to unpack .../21-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 259s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 260s Selecting previously unselected package gcc-14. 260s Preparing to unpack .../22-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 260s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 260s Selecting previously unselected package gcc-arm-linux-gnueabihf. 260s Preparing to unpack .../23-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 260s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 260s Selecting previously unselected package gcc. 260s Preparing to unpack .../24-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 260s Unpacking gcc (4:14.1.0-2ubuntu1) ... 260s Selecting previously unselected package libstdc++-14-dev:armhf. 260s Preparing to unpack .../25-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 260s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 260s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 260s Preparing to unpack .../26-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 260s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package g++-14. 261s Preparing to unpack .../27-g++-14_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking g++-14 (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package g++-arm-linux-gnueabihf. 261s Preparing to unpack .../28-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 261s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 261s Selecting previously unselected package g++. 261s Preparing to unpack .../29-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 261s Unpacking g++ (4:14.1.0-2ubuntu1) ... 261s Selecting previously unselected package build-essential. 261s Preparing to unpack .../30-build-essential_12.10ubuntu1_armhf.deb ... 261s Unpacking build-essential (12.10ubuntu1) ... 261s Selecting previously unselected package libdebhelper-perl. 261s Preparing to unpack .../31-libdebhelper-perl_13.20ubuntu1_all.deb ... 261s Unpacking libdebhelper-perl (13.20ubuntu1) ... 261s Selecting previously unselected package libtool. 261s Preparing to unpack .../32-libtool_2.4.7-8_all.deb ... 261s Unpacking libtool (2.4.7-8) ... 261s Selecting previously unselected package dh-autoreconf. 261s Preparing to unpack .../33-dh-autoreconf_20_all.deb ... 261s Unpacking dh-autoreconf (20) ... 261s Selecting previously unselected package libarchive-zip-perl. 261s Preparing to unpack .../34-libarchive-zip-perl_1.68-1_all.deb ... 261s Unpacking libarchive-zip-perl (1.68-1) ... 261s Selecting previously unselected package libfile-stripnondeterminism-perl. 261s Preparing to unpack .../35-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 261s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 261s Selecting previously unselected package dh-strip-nondeterminism. 261s Preparing to unpack .../36-dh-strip-nondeterminism_1.14.0-1_all.deb ... 261s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 261s Selecting previously unselected package debugedit. 261s Preparing to unpack .../37-debugedit_1%3a5.1-1_armhf.deb ... 261s Unpacking debugedit (1:5.1-1) ... 261s Selecting previously unselected package dwz. 261s Preparing to unpack .../38-dwz_0.15-1build6_armhf.deb ... 261s Unpacking dwz (0.15-1build6) ... 261s Selecting previously unselected package gettext. 261s Preparing to unpack .../39-gettext_0.22.5-2_armhf.deb ... 261s Unpacking gettext (0.22.5-2) ... 261s Selecting previously unselected package intltool-debian. 261s Preparing to unpack .../40-intltool-debian_0.35.0+20060710.6_all.deb ... 261s Unpacking intltool-debian (0.35.0+20060710.6) ... 261s Selecting previously unselected package po-debconf. 261s Preparing to unpack .../41-po-debconf_1.0.21+nmu1_all.deb ... 261s Unpacking po-debconf (1.0.21+nmu1) ... 261s Selecting previously unselected package debhelper. 262s Preparing to unpack .../42-debhelper_13.20ubuntu1_all.deb ... 262s Unpacking debhelper (13.20ubuntu1) ... 262s Selecting previously unselected package dh-python. 262s Preparing to unpack .../43-dh-python_6.20241024_all.deb ... 262s Unpacking dh-python (6.20241024) ... 262s Selecting previously unselected package pybuild-plugin-autopkgtest. 262s Preparing to unpack .../44-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 262s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 262s Selecting previously unselected package python3-packaging. 262s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 262s Unpacking python3-packaging (24.2-1) ... 262s Selecting previously unselected package python3-pyproject-hooks. 262s Preparing to unpack .../46-python3-pyproject-hooks_1.2.0-1_all.deb ... 262s Unpacking python3-pyproject-hooks (1.2.0-1) ... 262s Selecting previously unselected package python3-toml. 262s Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ... 262s Unpacking python3-toml (0.10.2-1) ... 262s Selecting previously unselected package python3-wheel. 262s Preparing to unpack .../48-python3-wheel_0.45.0-1_all.deb ... 262s Unpacking python3-wheel (0.45.0-1) ... 262s Selecting previously unselected package python3-build. 262s Preparing to unpack .../49-python3-build_1.2.2-1_all.deb ... 262s Unpacking python3-build (1.2.2-1) ... 262s Selecting previously unselected package python3-installer. 262s Preparing to unpack .../50-python3-installer_0.7.0+dfsg1-3_all.deb ... 262s Unpacking python3-installer (0.7.0+dfsg1-3) ... 262s Selecting previously unselected package pybuild-plugin-pyproject. 262s Preparing to unpack .../51-pybuild-plugin-pyproject_6.20241024_all.deb ... 262s Unpacking pybuild-plugin-pyproject (6.20241024) ... 262s Selecting previously unselected package python3-multidict. 262s Preparing to unpack .../52-python3-multidict_6.1.0-1build1_armhf.deb ... 262s Unpacking python3-multidict (6.1.0-1build1) ... 262s Selecting previously unselected package python3-yarl. 262s Preparing to unpack .../53-python3-yarl_1.9.4-1_armhf.deb ... 262s Unpacking python3-yarl (1.9.4-1) ... 262s Selecting previously unselected package python3-async-timeout. 263s Preparing to unpack .../54-python3-async-timeout_5.0.1-1_all.deb ... 263s Unpacking python3-async-timeout (5.0.1-1) ... 263s Selecting previously unselected package python3-frozenlist. 263s Preparing to unpack .../55-python3-frozenlist_1.5.0-1build1_armhf.deb ... 263s Unpacking python3-frozenlist (1.5.0-1build1) ... 263s Selecting previously unselected package python3-aiosignal. 263s Preparing to unpack .../56-python3-aiosignal_1.3.1-1_all.deb ... 263s Unpacking python3-aiosignal (1.3.1-1) ... 263s Selecting previously unselected package python3-aiohttp. 263s Preparing to unpack .../57-python3-aiohttp_3.9.5-1_armhf.deb ... 263s Unpacking python3-aiohttp (3.9.5-1) ... 263s Selecting previously unselected package python3-aioresponses. 263s Preparing to unpack .../58-python3-aioresponses_0.7.6-2_all.deb ... 263s Unpacking python3-aioresponses (0.7.6-2) ... 263s Selecting previously unselected package python3-all. 263s Preparing to unpack .../59-python3-all_3.12.6-0ubuntu1_armhf.deb ... 263s Unpacking python3-all (3.12.6-0ubuntu1) ... 263s Selecting previously unselected package python3-foobot-async. 263s Preparing to unpack .../60-python3-foobot-async_1.0.1-2_all.deb ... 263s Unpacking python3-foobot-async (1.0.1-2) ... 263s Selecting previously unselected package python3-iniconfig. 263s Preparing to unpack .../61-python3-iniconfig_1.1.1-2_all.deb ... 263s Unpacking python3-iniconfig (1.1.1-2) ... 263s Selecting previously unselected package python3-pip. 263s Preparing to unpack .../62-python3-pip_24.3.1+dfsg-1_all.deb ... 263s Unpacking python3-pip (24.3.1+dfsg-1) ... 263s Selecting previously unselected package python3-pluggy. 263s Preparing to unpack .../63-python3-pluggy_1.5.0-1_all.deb ... 263s Unpacking python3-pluggy (1.5.0-1) ... 263s Selecting previously unselected package python3-pytest. 263s Preparing to unpack .../64-python3-pytest_8.3.3-1_all.deb ... 263s Unpacking python3-pytest (8.3.3-1) ... 263s Selecting previously unselected package openstack-pkg-tools. 263s Preparing to unpack .../65-openstack-pkg-tools_123ubuntu2_all.deb ... 263s Unpacking openstack-pkg-tools (123ubuntu2) ... 263s Selecting previously unselected package autopkgtest-satdep. 264s Preparing to unpack .../66-1-autopkgtest-satdep.deb ... 264s Unpacking autopkgtest-satdep (0) ... 264s Setting up dh-python (6.20241024) ... 264s Setting up python3-iniconfig (1.1.1-2) ... 264s Setting up libarchive-zip-perl (1.68-1) ... 264s Setting up libdebhelper-perl (13.20ubuntu1) ... 264s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 264s Setting up m4 (1.4.19-4build1) ... 264s Setting up python3-all (3.12.6-0ubuntu1) ... 264s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 264s Setting up python3-wheel (0.45.0-1) ... 264s Setting up python3-multidict (6.1.0-1build1) ... 265s Setting up python3-frozenlist (1.5.0-1build1) ... 265s Setting up python3-aiosignal (1.3.1-1) ... 265s Setting up python3-async-timeout (5.0.1-1) ... 265s Setting up autotools-dev (20220109.1) ... 265s Setting up python3-packaging (24.2-1) ... 266s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 266s Setting up python3-pyproject-hooks (1.2.0-1) ... 266s Setting up libmpc3:armhf (1.3.1-1build2) ... 266s Setting up autopoint (0.22.5-2) ... 266s Setting up python3-pip (24.3.1+dfsg-1) ... 268s Setting up python3-toml (0.10.2-1) ... 268s Setting up python3-installer (0.7.0+dfsg1-3) ... 268s Setting up autoconf (2.72-3) ... 268s Setting up python3-pluggy (1.5.0-1) ... 268s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 268s Setting up dwz (0.15-1build6) ... 268s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 268s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 268s Setting up debugedit (1:5.1-1) ... 268s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 268s Setting up libisl23:armhf (0.27-1) ... 268s Setting up python3-build (1.2.2-1) ... 269s Setting up libc-dev-bin (2.40-1ubuntu3) ... 269s Setting up python3-yarl (1.9.4-1) ... 269s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 269s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 269s Setting up automake (1:1.16.5-1.3ubuntu1) ... 269s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 269s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 269s Setting up gettext (0.22.5-2) ... 269s Setting up pybuild-plugin-pyproject (6.20241024) ... 269s Setting up python3-pytest (8.3.3-1) ... 270s Setting up python3-aiohttp (3.9.5-1) ... 270s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 270s Setting up intltool-debian (0.35.0+20060710.6) ... 270s Setting up cpp-14 (14.2.0-8ubuntu1) ... 270s Setting up dh-strip-nondeterminism (1.14.0-1) ... 270s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 270s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 270s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 270s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 270s Setting up python3-aioresponses (0.7.6-2) ... 270s Setting up python3-foobot-async (1.0.1-2) ... 271s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 271s Setting up po-debconf (1.0.21+nmu1) ... 271s Setting up openstack-pkg-tools (123ubuntu2) ... 271s Setting up gcc-14 (14.2.0-8ubuntu1) ... 271s Setting up cpp (4:14.1.0-2ubuntu1) ... 271s Setting up g++-14 (14.2.0-8ubuntu1) ... 271s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 271s Setting up libtool (2.4.7-8) ... 271s Setting up gcc (4:14.1.0-2ubuntu1) ... 271s Setting up dh-autoreconf (20) ... 271s Setting up g++ (4:14.1.0-2ubuntu1) ... 271s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 271s Setting up build-essential (12.10ubuntu1) ... 271s Setting up debhelper (13.20ubuntu1) ... 271s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 271s Setting up autopkgtest-satdep (0) ... 271s Processing triggers for man-db (2.13.0-1) ... 272s Processing triggers for install-info (7.1.1-1) ... 272s Processing triggers for libc-bin (2.40-1ubuntu3) ... 289s (Reading database ... 64784 files and directories currently installed.) 289s Removing autopkgtest-satdep (0) ... 295s autopkgtest [20:36:36]: test pybuild-autopkgtest: pybuild-autopkgtest 295s autopkgtest [20:36:36]: test pybuild-autopkgtest: [----------------------- 297s make: pyversions: No such file or directory 297s py3versions: no X-Python3-Version in control file, using supported versions 297s pybuild-autopkgtest 298s I: pybuild base:311: cd /tmp/autopkgtest.6Klceb/autopkgtest_tmp/build; python3.12 -m pytest -v /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests 299s ============================= test session starts ============================== 299s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 299s cachedir: .pytest_cache 299s rootdir: /tmp/autopkgtest.6Klceb/build.3bT/src 299s plugins: typeguard-4.4.1 299s collecting ... collected 10 items 299s 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_devices_request FAILED [ 10%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_failed_auth_request FAILED [ 20%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_failed_bad_format_request FAILED [ 30%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_forbidden_access_request FAILED [ 40%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_overquota_request FAILED [ 50%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_internal_error_request FAILED [ 60%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_unhandled_error_request FAILED [ 70%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_last_data_request FAILED [ 80%] 299s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_historical_data_request FAILED [ 90%] 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_bad_data_request FAILED [100%] 300s 300s =================================== FAILURES =================================== 300s ___________________________ test_get_devices_request ___________________________ 300s 300s def test_get_devices_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=200, body='''[{"uuid": "1234127987696AB", 300s "userId": 2353, 300s "mac": "013843C3C20A", 300s "name": "FooBot"}]''') 300s > resp = loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:20: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s ___________________________ test_failed_auth_request ___________________________ 300s 300s def test_failed_auth_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=401, body='{"message": "invalid key provided"}') 300s 300s with pytest.raises(FoobotClient.AuthFailure): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:51: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s ________________________ test_failed_bad_format_request ________________________ 300s 300s def test_failed_bad_format_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=400, body='''{"state": 400, 300s "message": "ParseException : Bad date format : bad date format [test]", 300s "requestedUri": "/v2/device/26025766336015C0/datapoint/test/last/test/", 300s "stack": "[obfuscated]", 300s "propagatedException": null}''') 300s 300s with pytest.raises(FoobotClient.BadFormat): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:64: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s ________________________ test_forbidden_access_request _________________________ 300s 300s def test_forbidden_access_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=403, body='''{"{"state": 403, "message": null, 300s "stack": "403 - Forbidden", 300s "propagatedException": null }": 300s "invalid key provided"}''') 300s 300s with pytest.raises(FoobotClient.ForbiddenAccess): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:76: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s ____________________________ test_overquota_request ____________________________ 300s 300s def test_overquota_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=429, body='') 300s 300s with pytest.raises(FoobotClient.TooManyRequests): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:85: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s _________________________ test_internal_error_request __________________________ 300s 300s def test_internal_error_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=500, body='') 300s 300s with pytest.raises(FoobotClient.InternalError): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:94: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s _________________________ test_unhandled_error_request _________________________ 300s 300s def test_unhandled_error_request(): 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 300s status=404, body='') 300s 300s with pytest.raises(FoobotClient.ClientError): 300s > loop.run_until_complete(client.get_devices()) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:103: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:59: in get_devices 300s return (await self._get(DEVICE_URL.format( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s __________________________ test_get_last_data_request __________________________ 300s 300s def test_get_last_data_request(): 300s body = '''{"uuid": "1234127987696AB", 300s "start": 1518131274, 300s "end": 1518131874, 300s "sensors": ["time", "pm", "tmp", "hum", "co2", "voc", "allpollu"], 300s "units": [ "s", "ugm3", "C", "pc", "ppm", "ppb", "%" ], 300s "datapoints": [ [ 1518131274, 135.70001, 21.046001, 46.6885, 1178.0, 300s 325.5, 131.19643 ] ] }''' 300s 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/600/last/601/', 300s status=200, body=body) 300s 300s > resp = loop.run_until_complete(client.get_last_data("1234127987696AB", 300s 600, 601)) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:118: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:86: in get_last_data 300s return self.parse_data((await self._get( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/600/last/601/' 300s kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s _______________________ test_get_historical_data_request _______________________ 300s 300s def test_get_historical_data_request(): 300s body = '''{"uuid": "1234127987696AB", 300s "start": 1518131274, 300s "end": 1518131874, 300s "sensors": ["time", "pm", "tmp", "hum", "co2", "voc", "allpollu"], 300s "units": [ "s", "ugm3", "C", "pc", "ppm", "ppb", "%" ], 300s "datapoints": [ [ 1518131274, 135.70001, 21.046001, 46.6885, 1178.0, 300s 325.5, 131.19643 ] ] }''' 300s 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/', 300s status=200, body=body) 300s 300s > resp = loop.run_until_complete(client.get_historical_data("1234127987696AB", 300s datetime.utcfromtimestamp(1518121274), 300s datetime.utcfromtimestamp(1518131274), 300s 3600)) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:142: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:117: in get_historical_data 300s return self.parse_data((await self._get( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/' 300s kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s __________________________ test_get_bad_data_request ___________________________ 300s 300s def test_get_bad_data_request(): 300s body = '''{"uuid": "1234127987696AB", 300s "start": 1518131274, 300s "end": 1518131874}''' 300s 300s with aioresponses() as mocked: 300s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/', 300s status=200, body=body) 300s 300s with pytest.raises(FoobotClient.InvalidData): 300s > loop.run_until_complete(client.get_historical_data("1234127987696AB", 300s datetime.utcfromtimestamp(1518121274), 300s datetime.utcfromtimestamp(1518131274), 300s 3600)) 300s 300s ../../build.3bT/src/foobot_async/tests/test_foobot_async.py:165: 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 300s return future.result() 300s ../../build.3bT/src/foobot_async/__init__.py:117: in get_historical_data 300s return self.parse_data((await self._get( 300s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 300s 300s self = 300s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/' 300s kwargs = {} 300s 300s async def _get(self, path, **kwargs): 300s if not hasattr(self, '_session'): 300s self._session = aiohttp.ClientSession() 300s > with async_timeout.timeout(self._timeout): 300s E TypeError: 'Timeout' object does not support the context manager protocol 300s 300s ../../build.3bT/src/foobot_async/__init__.py:158: TypeError 300s =============================== warnings summary =============================== 300s foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 300s /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests/test_foobot_async.py:143: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 300s datetime.utcfromtimestamp(1518121274), 300s 300s foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 300s /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests/test_foobot_async.py:144: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 300s datetime.utcfromtimestamp(1518131274), 300s 300s foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 300s /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests/test_foobot_async.py:166: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 300s datetime.utcfromtimestamp(1518121274), 300s 300s foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 300s /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests/test_foobot_async.py:167: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 300s datetime.utcfromtimestamp(1518131274), 300s 300s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 300s =========================== short test summary info ============================ 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_devices_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_failed_auth_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_failed_bad_format_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_forbidden_access_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_overquota_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_internal_error_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_unhandled_error_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_last_data_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 300s FAILED ../../build.3bT/src/foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 300s ======================== 10 failed, 4 warnings in 0.82s ======================== 300s Unclosed client session 300s client_session: 300s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.6Klceb/autopkgtest_tmp/build; python3.12 -m pytest -v /tmp/autopkgtest.6Klceb/build.3bT/src/foobot_async/tests 300s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13 300s make: *** [/tmp/iJG8WykUUt/run:4: pybuild-autopkgtest] Error 25 300s pybuild-autopkgtest: error: /tmp/iJG8WykUUt/run pybuild-autopkgtest returned exit code 2 300s autopkgtest [20:36:41]: test pybuild-autopkgtest: -----------------------] 304s autopkgtest [20:36:45]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 304s pybuild-autopkgtest FAIL non-zero exit status 25 308s autopkgtest [20:36:49]: @@@@@@@@@@@@@@@@@@@@ summary 308s pybuild-autopkgtest FAIL non-zero exit status 25