1s autopkgtest [10:25:48]: starting date and time: 2024-11-11 10:25:48+0000 1s autopkgtest [10:25:48]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 1s autopkgtest [10:25:48]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.socgb8s0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-6.secgroup --name adt-plucky-s390x-python-foobot-async-20241111-102547-juju-7f2275-prod-proposed-migration-environment-15-461aca03-e9b2-4fa0-aa6f-0cb3a30519bf --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 90s autopkgtest [10:27:17]: testbed dpkg architecture: s390x 90s autopkgtest [10:27:17]: testbed apt version: 2.9.8 90s autopkgtest [10:27:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 91s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 91s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [913 kB] 91s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [91.3 kB] 91s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 91s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 91s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [101 kB] 91s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [638 kB] 91s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 91s Fetched 1855 kB in 1s (2451 kB/s) 91s Reading package lists... 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s Calculating upgrade... 93s The following packages will be upgraded: 93s libperl5.40 libpng16-16t64 libpython3.12-minimal libpython3.12-stdlib 93s libpython3.12t64 perl perl-base perl-modules-5.40 python3.12 python3.12-gdbm 93s python3.12-minimal 94s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 94s Need to get 19.1 MB of archives. 94s After this operation, 16.4 kB of additional disk space will be used. 94s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libperl5.40 s390x 5.40.0-7 [4985 kB] 94s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x perl s390x 5.40.0-7 [263 kB] 94s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x perl-base s390x 5.40.0-7 [1971 kB] 95s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x perl-modules-5.40 all 5.40.0-7 [3214 kB] 95s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12t64 s390x 3.12.7-3 [2507 kB] 95s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12 s390x 3.12.7-3 [661 kB] 95s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-stdlib s390x 3.12.7-3 [2064 kB] 95s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-minimal s390x 3.12.7-3 [2391 kB] 95s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-minimal s390x 3.12.7-3 [834 kB] 95s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libpng16-16t64 s390x 1.6.44-2 [199 kB] 95s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-gdbm s390x 3.12.7-3 [30.2 kB] 95s Fetched 19.1 MB in 2s (11.2 MB/s) 96s (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 ... 55519 files and directories currently installed.) 96s Preparing to unpack .../libperl5.40_5.40.0-7_s390x.deb ... 96s Unpacking libperl5.40:s390x (5.40.0-7) over (5.40.0-6) ... 96s Preparing to unpack .../perl_5.40.0-7_s390x.deb ... 96s Unpacking perl (5.40.0-7) over (5.40.0-6) ... 96s Preparing to unpack .../perl-base_5.40.0-7_s390x.deb ... 96s Unpacking perl-base (5.40.0-7) over (5.40.0-6) ... 96s Setting up perl-base (5.40.0-7) ... 96s (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 ... 55521 files and directories currently installed.) 96s Preparing to unpack .../0-perl-modules-5.40_5.40.0-7_all.deb ... 96s Unpacking perl-modules-5.40 (5.40.0-7) over (5.40.0-6) ... 96s Preparing to unpack .../1-libpython3.12t64_3.12.7-3_s390x.deb ... 96s Unpacking libpython3.12t64:s390x (3.12.7-3) over (3.12.7-2) ... 96s Preparing to unpack .../2-python3.12_3.12.7-3_s390x.deb ... 96s Unpacking python3.12 (3.12.7-3) over (3.12.7-2) ... 96s Preparing to unpack .../3-libpython3.12-stdlib_3.12.7-3_s390x.deb ... 96s Unpacking libpython3.12-stdlib:s390x (3.12.7-3) over (3.12.7-2) ... 96s Preparing to unpack .../4-python3.12-minimal_3.12.7-3_s390x.deb ... 96s Unpacking python3.12-minimal (3.12.7-3) over (3.12.7-2) ... 96s Preparing to unpack .../5-libpython3.12-minimal_3.12.7-3_s390x.deb ... 96s Unpacking libpython3.12-minimal:s390x (3.12.7-3) over (3.12.7-2) ... 96s Preparing to unpack .../6-libpng16-16t64_1.6.44-2_s390x.deb ... 96s Unpacking libpng16-16t64:s390x (1.6.44-2) over (1.6.44-1) ... 96s Preparing to unpack .../7-python3.12-gdbm_3.12.7-3_s390x.deb ... 96s Unpacking python3.12-gdbm (3.12.7-3) over (3.12.7-2) ... 96s Setting up python3.12-gdbm (3.12.7-3) ... 96s Setting up libpython3.12-minimal:s390x (3.12.7-3) ... 96s Setting up libpng16-16t64:s390x (1.6.44-2) ... 96s Setting up perl-modules-5.40 (5.40.0-7) ... 96s Setting up python3.12-minimal (3.12.7-3) ... 97s Setting up libpython3.12-stdlib:s390x (3.12.7-3) ... 97s Setting up python3.12 (3.12.7-3) ... 98s Setting up libpython3.12t64:s390x (3.12.7-3) ... 98s Setting up libperl5.40:s390x (5.40.0-7) ... 98s Setting up perl (5.40.0-7) ... 98s Processing triggers for systemd (256.5-2ubuntu4) ... 98s Processing triggers for man-db (2.12.1-3) ... 99s Processing triggers for libc-bin (2.40-1ubuntu3) ... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 99s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 100s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 100s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 100s Reading package lists... 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 101s Calculating upgrade... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [10:27:30]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 103s autopkgtest [10:27:30]: @@@@@@@@@@@@@@@@@@@@ apt-source python-foobot-async 105s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (dsc) [2325 B] 105s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (tar) [33.6 kB] 105s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-foobot-async 1.0.1-2 (diff) [2056 B] 105s gpgv: Signature made Mon Sep 9 12:25:32 2024 UTC 105s gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE 105s gpgv: Can't check signature: No public key 105s dpkg-source: warning: cannot verify inline signature for ./python-foobot-async_1.0.1-2.dsc: no acceptable signature found 105s autopkgtest [10:27:32]: testing package python-foobot-async version 1.0.1-2 105s autopkgtest [10:27:32]: build not needed 106s autopkgtest [10:27:33]: test pybuild-autopkgtest: preparing testbed 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Starting pkgProblemResolver with broken count: 0 107s Starting 2 pkgProblemResolver with broken count: 0 107s Done 108s The following additional packages will be installed: 108s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 108s cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 108s dh-python dh-strip-nondeterminism dwz g++ g++-14 g++-14-s390x-linux-gnu 108s g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu 108s gettext intltool-debian libarchive-zip-perl libasan8 libcc1-0 108s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 108s libisl23 libitm1 libmpc3 libstdc++-14-dev libtool libubsan1 m4 108s openstack-pkg-tools po-debconf pybuild-plugin-autopkgtest 108s pybuild-plugin-pyproject python3-aiohttp python3-aioresponses 108s python3-aiosignal python3-all python3-async-timeout python3-build 108s python3-foobot-async python3-frozenlist python3-iniconfig python3-installer 108s python3-multidict python3-packaging python3-pip python3-pluggy 108s python3-pyproject-hooks python3-pytest python3-toml python3-wheel 108s python3-yarl 108s Suggested packages: 108s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 108s cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb 108s gcc-doc gdb-s390x-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 108s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 108s libmail-box-perl python3-venv python-build-doc python-installer-doc 108s Recommended packages: 108s libarchive-cpio-perl libltdl-dev autopkgtest madison-lite pristine-tar 108s libmail-sendmail-perl libjs-jquery python3-aiodns python3-dev 108s libjs-sphinxdoc 108s The following NEW packages will be installed: 108s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 108s cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 108s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 108s g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu 108s gcc-s390x-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 108s libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev 108s libgomp1 libisl23 libitm1 libmpc3 libstdc++-14-dev libtool libubsan1 m4 108s openstack-pkg-tools po-debconf pybuild-plugin-autopkgtest 108s pybuild-plugin-pyproject python3-aiohttp python3-aioresponses 108s python3-aiosignal python3-all python3-async-timeout python3-build 108s python3-foobot-async python3-frozenlist python3-iniconfig python3-installer 108s python3-multidict python3-packaging python3-pip python3-pluggy 108s python3-pyproject-hooks python3-pytest python3-toml python3-wheel 108s python3-yarl 108s 0 upgraded, 63 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 55.8 MB/55.8 MB of archives. 108s After this operation, 183 MB of additional disk space will be used. 108s Get:1 /tmp/autopkgtest.aXMKRA/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [828 B] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-2 [616 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 108s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-7ubuntu1 [9570 kB] 109s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-7ubuntu1 [1022 B] 109s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 109s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 109s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-7ubuntu1 [50.6 kB] 109s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-7ubuntu1 [151 kB] 109s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-7ubuntu1 [30.9 kB] 109s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-7ubuntu1 [2963 kB] 109s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-7ubuntu1 [1184 kB] 109s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-7ubuntu1 [1037 kB] 109s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-7ubuntu1 [18.7 MB] 109s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-7ubuntu1 [515 kB] 109s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 109s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 109s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-7ubuntu1 [2607 kB] 109s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-7ubuntu1 [11.0 MB] 110s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-7ubuntu1 [19.8 kB] 110s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 110s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 110s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 110s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 110s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-7build1 [166 kB] 110s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 110s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 110s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 110s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 110s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 110s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 110s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-2 [996 kB] 110s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 110s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 110s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.20ubuntu1 [893 kB] 110s Get:41 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20241024 [112 kB] 110s Get:42 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 110s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 110s Get:44 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 110s Get:45 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 110s Get:46 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-wheel all 0.44.0-1 [54.2 kB] 110s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-build all 1.2.2-1 [31.0 kB] 110s Get:48 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 110s Get:49 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-pyproject all 6.20241024 [1728 B] 110s Get:50 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-multidict s390x 6.1.0-1 [34.1 kB] 110s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-yarl s390x 1.9.4-1 [72.8 kB] 110s Get:52 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-async-timeout all 5.0.1-1 [6830 B] 110s Get:53 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-frozenlist s390x 1.5.0-1 [49.7 kB] 110s Get:54 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiosignal all 1.3.1-1 [5172 B] 110s Get:55 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aiohttp s390x 3.9.5-1 [294 kB] 110s Get:56 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-aioresponses all 0.7.6-2 [10.9 kB] 110s Get:57 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 110s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-foobot-async all 1.0.1-2 [5386 B] 110s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 110s Get:60 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pip all 24.2+dfsg-1 [1398 kB] 110s Get:61 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 110s Get:62 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 110s Get:63 http://ftpmaster.internal/ubuntu plucky/universe s390x openstack-pkg-tools all 123ubuntu2 [94.5 kB] 110s Fetched 55.8 MB in 2s (24.4 MB/s) 110s Selecting previously unselected package m4. 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 ... 55521 files and directories currently installed.) 110s Preparing to unpack .../00-m4_1.4.19-4build1_s390x.deb ... 110s Unpacking m4 (1.4.19-4build1) ... 110s Selecting previously unselected package autoconf. 110s Preparing to unpack .../01-autoconf_2.72-3_all.deb ... 110s Unpacking autoconf (2.72-3) ... 110s Selecting previously unselected package autotools-dev. 110s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 110s Unpacking autotools-dev (20220109.1) ... 110s Selecting previously unselected package automake. 110s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 110s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 110s Selecting previously unselected package autopoint. 110s Preparing to unpack .../04-autopoint_0.22.5-2_all.deb ... 110s Unpacking autopoint (0.22.5-2) ... 110s Selecting previously unselected package libisl23:s390x. 110s Preparing to unpack .../05-libisl23_0.27-1_s390x.deb ... 110s Unpacking libisl23:s390x (0.27-1) ... 110s Selecting previously unselected package libmpc3:s390x. 110s Preparing to unpack .../06-libmpc3_1.3.1-1build2_s390x.deb ... 110s Unpacking libmpc3:s390x (1.3.1-1build2) ... 110s Selecting previously unselected package cpp-14-s390x-linux-gnu. 110s Preparing to unpack .../07-cpp-14-s390x-linux-gnu_14.2.0-7ubuntu1_s390x.deb ... 110s Unpacking cpp-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package cpp-14. 111s Preparing to unpack .../08-cpp-14_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking cpp-14 (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package cpp-s390x-linux-gnu. 111s Preparing to unpack .../09-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package cpp. 111s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking cpp (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package libcc1-0:s390x. 111s Preparing to unpack .../11-libcc1-0_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libcc1-0:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package libgomp1:s390x. 111s Preparing to unpack .../12-libgomp1_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libgomp1:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package libitm1:s390x. 111s Preparing to unpack .../13-libitm1_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libitm1:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package libasan8:s390x. 111s Preparing to unpack .../14-libasan8_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libasan8:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package libubsan1:s390x. 111s Preparing to unpack .../15-libubsan1_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libubsan1:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package libgcc-14-dev:s390x. 111s Preparing to unpack .../16-libgcc-14-dev_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libgcc-14-dev:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package gcc-14-s390x-linux-gnu. 111s Preparing to unpack .../17-gcc-14-s390x-linux-gnu_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking gcc-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package gcc-14. 111s Preparing to unpack .../18-gcc-14_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking gcc-14 (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package gcc-s390x-linux-gnu. 111s Preparing to unpack .../19-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package gcc. 111s Preparing to unpack .../20-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking gcc (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package libstdc++-14-dev:s390x. 111s Preparing to unpack .../21-libstdc++-14-dev_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking libstdc++-14-dev:s390x (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package g++-14-s390x-linux-gnu. 111s Preparing to unpack .../22-g++-14-s390x-linux-gnu_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking g++-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package g++-14. 111s Preparing to unpack .../23-g++-14_14.2.0-7ubuntu1_s390x.deb ... 111s Unpacking g++-14 (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package g++-s390x-linux-gnu. 111s Preparing to unpack .../24-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package g++. 111s Preparing to unpack .../25-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 111s Unpacking g++ (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package build-essential. 111s Preparing to unpack .../26-build-essential_12.10ubuntu1_s390x.deb ... 111s Unpacking build-essential (12.10ubuntu1) ... 111s Selecting previously unselected package libdebhelper-perl. 111s Preparing to unpack .../27-libdebhelper-perl_13.20ubuntu1_all.deb ... 111s Unpacking libdebhelper-perl (13.20ubuntu1) ... 111s Selecting previously unselected package libtool. 111s Preparing to unpack .../28-libtool_2.4.7-7build1_all.deb ... 111s Unpacking libtool (2.4.7-7build1) ... 111s Selecting previously unselected package dh-autoreconf. 111s Preparing to unpack .../29-dh-autoreconf_20_all.deb ... 111s Unpacking dh-autoreconf (20) ... 111s Selecting previously unselected package libarchive-zip-perl. 111s Preparing to unpack .../30-libarchive-zip-perl_1.68-1_all.deb ... 111s Unpacking libarchive-zip-perl (1.68-1) ... 111s Selecting previously unselected package libfile-stripnondeterminism-perl. 111s Preparing to unpack .../31-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 111s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 111s Selecting previously unselected package dh-strip-nondeterminism. 111s Preparing to unpack .../32-dh-strip-nondeterminism_1.14.0-1_all.deb ... 111s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 111s Selecting previously unselected package debugedit. 111s Preparing to unpack .../33-debugedit_1%3a5.1-1_s390x.deb ... 111s Unpacking debugedit (1:5.1-1) ... 111s Selecting previously unselected package dwz. 111s Preparing to unpack .../34-dwz_0.15-1build6_s390x.deb ... 111s Unpacking dwz (0.15-1build6) ... 111s Selecting previously unselected package gettext. 111s Preparing to unpack .../35-gettext_0.22.5-2_s390x.deb ... 111s Unpacking gettext (0.22.5-2) ... 111s Selecting previously unselected package intltool-debian. 111s Preparing to unpack .../36-intltool-debian_0.35.0+20060710.6_all.deb ... 111s Unpacking intltool-debian (0.35.0+20060710.6) ... 111s Selecting previously unselected package po-debconf. 111s Preparing to unpack .../37-po-debconf_1.0.21+nmu1_all.deb ... 111s Unpacking po-debconf (1.0.21+nmu1) ... 112s Selecting previously unselected package debhelper. 112s Preparing to unpack .../38-debhelper_13.20ubuntu1_all.deb ... 112s Unpacking debhelper (13.20ubuntu1) ... 112s Selecting previously unselected package dh-python. 112s Preparing to unpack .../39-dh-python_6.20241024_all.deb ... 112s Unpacking dh-python (6.20241024) ... 112s Selecting previously unselected package pybuild-plugin-autopkgtest. 112s Preparing to unpack .../40-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 112s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 112s Selecting previously unselected package python3-packaging. 112s Preparing to unpack .../41-python3-packaging_24.1-1_all.deb ... 112s Unpacking python3-packaging (24.1-1) ... 112s Selecting previously unselected package python3-pyproject-hooks. 112s Preparing to unpack .../42-python3-pyproject-hooks_1.2.0-1_all.deb ... 112s Unpacking python3-pyproject-hooks (1.2.0-1) ... 112s Selecting previously unselected package python3-toml. 112s Preparing to unpack .../43-python3-toml_0.10.2-1_all.deb ... 112s Unpacking python3-toml (0.10.2-1) ... 112s Selecting previously unselected package python3-wheel. 112s Preparing to unpack .../44-python3-wheel_0.44.0-1_all.deb ... 112s Unpacking python3-wheel (0.44.0-1) ... 112s Selecting previously unselected package python3-build. 112s Preparing to unpack .../45-python3-build_1.2.2-1_all.deb ... 112s Unpacking python3-build (1.2.2-1) ... 112s Selecting previously unselected package python3-installer. 112s Preparing to unpack .../46-python3-installer_0.7.0+dfsg1-3_all.deb ... 112s Unpacking python3-installer (0.7.0+dfsg1-3) ... 112s Selecting previously unselected package pybuild-plugin-pyproject. 112s Preparing to unpack .../47-pybuild-plugin-pyproject_6.20241024_all.deb ... 112s Unpacking pybuild-plugin-pyproject (6.20241024) ... 112s Selecting previously unselected package python3-multidict. 112s Preparing to unpack .../48-python3-multidict_6.1.0-1_s390x.deb ... 112s Unpacking python3-multidict (6.1.0-1) ... 112s Selecting previously unselected package python3-yarl. 112s Preparing to unpack .../49-python3-yarl_1.9.4-1_s390x.deb ... 112s Unpacking python3-yarl (1.9.4-1) ... 112s Selecting previously unselected package python3-async-timeout. 112s Preparing to unpack .../50-python3-async-timeout_5.0.1-1_all.deb ... 112s Unpacking python3-async-timeout (5.0.1-1) ... 112s Selecting previously unselected package python3-frozenlist. 112s Preparing to unpack .../51-python3-frozenlist_1.5.0-1_s390x.deb ... 112s Unpacking python3-frozenlist (1.5.0-1) ... 112s Selecting previously unselected package python3-aiosignal. 112s Preparing to unpack .../52-python3-aiosignal_1.3.1-1_all.deb ... 112s Unpacking python3-aiosignal (1.3.1-1) ... 112s Selecting previously unselected package python3-aiohttp. 112s Preparing to unpack .../53-python3-aiohttp_3.9.5-1_s390x.deb ... 112s Unpacking python3-aiohttp (3.9.5-1) ... 112s Selecting previously unselected package python3-aioresponses. 112s Preparing to unpack .../54-python3-aioresponses_0.7.6-2_all.deb ... 112s Unpacking python3-aioresponses (0.7.6-2) ... 112s Selecting previously unselected package python3-all. 112s Preparing to unpack .../55-python3-all_3.12.6-0ubuntu1_s390x.deb ... 112s Unpacking python3-all (3.12.6-0ubuntu1) ... 112s Selecting previously unselected package python3-foobot-async. 112s Preparing to unpack .../56-python3-foobot-async_1.0.1-2_all.deb ... 112s Unpacking python3-foobot-async (1.0.1-2) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../57-python3-iniconfig_1.1.1-2_all.deb ... 112s Unpacking python3-iniconfig (1.1.1-2) ... 112s Selecting previously unselected package python3-pip. 112s Preparing to unpack .../58-python3-pip_24.2+dfsg-1_all.deb ... 112s Unpacking python3-pip (24.2+dfsg-1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../59-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../60-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Selecting previously unselected package openstack-pkg-tools. 112s Preparing to unpack .../61-openstack-pkg-tools_123ubuntu2_all.deb ... 112s Unpacking openstack-pkg-tools (123ubuntu2) ... 112s Selecting previously unselected package autopkgtest-satdep. 112s Preparing to unpack .../62-1-autopkgtest-satdep.deb ... 112s Unpacking autopkgtest-satdep (0) ... 112s Setting up dh-python (6.20241024) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up libarchive-zip-perl (1.68-1) ... 112s Setting up libdebhelper-perl (13.20ubuntu1) ... 112s Setting up m4 (1.4.19-4build1) ... 112s Setting up python3-all (3.12.6-0ubuntu1) ... 112s Setting up libgomp1:s390x (14.2.0-7ubuntu1) ... 112s Setting up python3-wheel (0.44.0-1) ... 112s Setting up python3-multidict (6.1.0-1) ... 112s Setting up python3-frozenlist (1.5.0-1) ... 112s Setting up python3-aiosignal (1.3.1-1) ... 112s Setting up python3-async-timeout (5.0.1-1) ... 112s Setting up autotools-dev (20220109.1) ... 112s Setting up python3-packaging (24.1-1) ... 113s Setting up python3-pyproject-hooks (1.2.0-1) ... 113s Setting up libmpc3:s390x (1.3.1-1build2) ... 113s Setting up autopoint (0.22.5-2) ... 113s Setting up python3-pip (24.2+dfsg-1) ... 114s Setting up python3-toml (0.10.2-1) ... 114s Setting up python3-installer (0.7.0+dfsg1-3) ... 114s Setting up autoconf (2.72-3) ... 114s Setting up python3-pluggy (1.5.0-1) ... 114s Setting up libubsan1:s390x (14.2.0-7ubuntu1) ... 114s Setting up dwz (0.15-1build6) ... 114s Setting up libasan8:s390x (14.2.0-7ubuntu1) ... 114s Setting up debugedit (1:5.1-1) ... 114s Setting up libisl23:s390x (0.27-1) ... 114s Setting up python3-build (1.2.2-1) ... 114s Setting up python3-yarl (1.9.4-1) ... 114s Setting up libcc1-0:s390x (14.2.0-7ubuntu1) ... 114s Setting up libitm1:s390x (14.2.0-7ubuntu1) ... 114s Setting up automake (1:1.16.5-1.3ubuntu1) ... 114s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 114s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 114s Setting up gettext (0.22.5-2) ... 114s Setting up pybuild-plugin-pyproject (6.20241024) ... 114s Setting up python3-pytest (8.3.3-1) ... 114s Setting up python3-aiohttp (3.9.5-1) ... 115s Setting up intltool-debian (0.35.0+20060710.6) ... 115s Setting up cpp-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 115s Setting up cpp-14 (14.2.0-7ubuntu1) ... 115s Setting up dh-strip-nondeterminism (1.14.0-1) ... 115s Setting up libgcc-14-dev:s390x (14.2.0-7ubuntu1) ... 115s Setting up libstdc++-14-dev:s390x (14.2.0-7ubuntu1) ... 115s Setting up python3-aioresponses (0.7.6-2) ... 115s Setting up python3-foobot-async (1.0.1-2) ... 115s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Setting up po-debconf (1.0.21+nmu1) ... 115s Setting up openstack-pkg-tools (123ubuntu2) ... 115s Setting up gcc-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 115s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Setting up g++-14-s390x-linux-gnu (14.2.0-7ubuntu1) ... 115s Setting up cpp (4:14.1.0-2ubuntu1) ... 115s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Setting up gcc-14 (14.2.0-7ubuntu1) ... 115s Setting up g++-14 (14.2.0-7ubuntu1) ... 115s Setting up libtool (2.4.7-7build1) ... 115s Setting up gcc (4:14.1.0-2ubuntu1) ... 115s Setting up dh-autoreconf (20) ... 115s Setting up g++ (4:14.1.0-2ubuntu1) ... 115s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 115s Setting up build-essential (12.10ubuntu1) ... 115s Setting up debhelper (13.20ubuntu1) ... 115s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 115s Setting up autopkgtest-satdep (0) ... 115s Processing triggers for man-db (2.12.1-3) ... 115s Processing triggers for install-info (7.1.1-1) ... 115s Processing triggers for libc-bin (2.40-1ubuntu3) ... 117s (Reading database ... 59081 files and directories currently installed.) 117s Removing autopkgtest-satdep (0) ... 117s autopkgtest [10:27:44]: test pybuild-autopkgtest: pybuild-autopkgtest 117s autopkgtest [10:27:44]: test pybuild-autopkgtest: [----------------------- 118s make: pyversions: No such file or directory 118s py3versions: no X-Python3-Version in control file, using supported versions 118s pybuild-autopkgtest 118s I: pybuild base:311: cd /tmp/autopkgtest.aXMKRA/autopkgtest_tmp/build; python3.12 -m pytest -v /tmp/autopkgtest.aXMKRA/build.WvA/src/foobot_async/tests 118s ============================= test session starts ============================== 118s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 118s cachedir: .pytest_cache 118s rootdir: /tmp/autopkgtest.aXMKRA/build.WvA/src 118s plugins: typeguard-4.4.1 118s collecting ... collected 10 items 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_devices_request FAILED [ 10%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_failed_auth_request FAILED [ 20%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_failed_bad_format_request FAILED [ 30%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_forbidden_access_request FAILED [ 40%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_overquota_request FAILED [ 50%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_internal_error_request FAILED [ 60%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_unhandled_error_request FAILED [ 70%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_last_data_request FAILED [ 80%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_historical_data_request FAILED [ 90%] 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_bad_data_request FAILED [100%] 118s 118s =================================== FAILURES =================================== 118s ___________________________ test_get_devices_request ___________________________ 118s 118s def test_get_devices_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=200, body='''[{"uuid": "1234127987696AB", 118s "userId": 2353, 118s "mac": "013843C3C20A", 118s "name": "FooBot"}]''') 118s > resp = loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:20: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s ___________________________ test_failed_auth_request ___________________________ 118s 118s def test_failed_auth_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=401, body='{"message": "invalid key provided"}') 118s 118s with pytest.raises(FoobotClient.AuthFailure): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:51: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s ________________________ test_failed_bad_format_request ________________________ 118s 118s def test_failed_bad_format_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=400, body='''{"state": 400, 118s "message": "ParseException : Bad date format : bad date format [test]", 118s "requestedUri": "/v2/device/26025766336015C0/datapoint/test/last/test/", 118s "stack": "[obfuscated]", 118s "propagatedException": null}''') 118s 118s with pytest.raises(FoobotClient.BadFormat): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:64: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s ________________________ test_forbidden_access_request _________________________ 118s 118s def test_forbidden_access_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=403, body='''{"{"state": 403, "message": null, 118s "stack": "403 - Forbidden", 118s "propagatedException": null }": 118s "invalid key provided"}''') 118s 118s with pytest.raises(FoobotClient.ForbiddenAccess): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:76: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s ____________________________ test_overquota_request ____________________________ 118s 118s def test_overquota_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=429, body='') 118s 118s with pytest.raises(FoobotClient.TooManyRequests): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:85: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s _________________________ test_internal_error_request __________________________ 118s 118s def test_internal_error_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=500, body='') 118s 118s with pytest.raises(FoobotClient.InternalError): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:94: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s _________________________ test_unhandled_error_request _________________________ 118s 118s def test_unhandled_error_request(): 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/owner/example@example.com/device/', 118s status=404, body='') 118s 118s with pytest.raises(FoobotClient.ClientError): 118s > loop.run_until_complete(client.get_devices()) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:103: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:59: in get_devices 118s return (await self._get(DEVICE_URL.format( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/owner/example@example.com/device/', kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s __________________________ test_get_last_data_request __________________________ 118s 118s def test_get_last_data_request(): 118s body = '''{"uuid": "1234127987696AB", 118s "start": 1518131274, 118s "end": 1518131874, 118s "sensors": ["time", "pm", "tmp", "hum", "co2", "voc", "allpollu"], 118s "units": [ "s", "ugm3", "C", "pc", "ppm", "ppb", "%" ], 118s "datapoints": [ [ 1518131274, 135.70001, 21.046001, 46.6885, 1178.0, 118s 325.5, 131.19643 ] ] }''' 118s 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/600/last/601/', 118s status=200, body=body) 118s 118s > resp = loop.run_until_complete(client.get_last_data("1234127987696AB", 118s 600, 601)) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:118: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:86: in get_last_data 118s return self.parse_data((await self._get( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/600/last/601/' 118s kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s _______________________ test_get_historical_data_request _______________________ 118s 118s def test_get_historical_data_request(): 118s body = '''{"uuid": "1234127987696AB", 118s "start": 1518131274, 118s "end": 1518131874, 118s "sensors": ["time", "pm", "tmp", "hum", "co2", "voc", "allpollu"], 118s "units": [ "s", "ugm3", "C", "pc", "ppm", "ppb", "%" ], 118s "datapoints": [ [ 1518131274, 135.70001, 21.046001, 46.6885, 1178.0, 118s 325.5, 131.19643 ] ] }''' 118s 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/', 118s status=200, body=body) 118s 118s > resp = loop.run_until_complete(client.get_historical_data("1234127987696AB", 118s datetime.utcfromtimestamp(1518121274), 118s datetime.utcfromtimestamp(1518131274), 118s 3600)) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:142: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:117: in get_historical_data 118s return self.parse_data((await self._get( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/' 118s kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s __________________________ test_get_bad_data_request ___________________________ 118s 118s def test_get_bad_data_request(): 118s body = '''{"uuid": "1234127987696AB", 118s "start": 1518131274, 118s "end": 1518131874}''' 118s 118s with aioresponses() as mocked: 118s mocked.get('https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/', 118s status=200, body=body) 118s 118s with pytest.raises(FoobotClient.InvalidData): 118s > loop.run_until_complete(client.get_historical_data("1234127987696AB", 118s datetime.utcfromtimestamp(1518121274), 118s datetime.utcfromtimestamp(1518131274), 118s 3600)) 118s 118s ../../build.WvA/src/foobot_async/tests/test_foobot_async.py:165: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s /usr/lib/python3.12/asyncio/base_events.py:686: in run_until_complete 118s return future.result() 118s ../../build.WvA/src/foobot_async/__init__.py:117: in get_historical_data 118s return self.parse_data((await self._get( 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s path = 'https://api.foobot.io/v2/device/1234127987696AB/datapoint/1518121274/1518131274/3600/' 118s kwargs = {} 118s 118s async def _get(self, path, **kwargs): 118s if not hasattr(self, '_session'): 118s self._session = aiohttp.ClientSession() 118s > with async_timeout.timeout(self._timeout): 118s E TypeError: 'Timeout' object does not support the context manager protocol 118s 118s ../../build.WvA/src/foobot_async/__init__.py:158: TypeError 118s =============================== warnings summary =============================== 118s foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 118s /tmp/autopkgtest.aXMKRA/build.WvA/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). 118s datetime.utcfromtimestamp(1518121274), 118s 118s foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 118s /tmp/autopkgtest.aXMKRA/build.WvA/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). 118s datetime.utcfromtimestamp(1518131274), 118s 118s foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 118s /tmp/autopkgtest.aXMKRA/build.WvA/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). 118s datetime.utcfromtimestamp(1518121274), 118s 118s foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 118s /tmp/autopkgtest.aXMKRA/build.WvA/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). 118s datetime.utcfromtimestamp(1518131274), 118s 118s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 118s =========================== short test summary info ============================ 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_devices_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_failed_auth_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_failed_bad_format_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_forbidden_access_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_overquota_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_internal_error_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_unhandled_error_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_last_data_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_historical_data_request 118s FAILED ../../build.WvA/src/foobot_async/tests/test_foobot_async.py::test_get_bad_data_request 118s ======================== 10 failed, 4 warnings in 0.37s ======================== 118s Unclosed client session 118s client_session: 118s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.aXMKRA/autopkgtest_tmp/build; python3.12 -m pytest -v /tmp/autopkgtest.aXMKRA/build.WvA/src/foobot_async/tests 118s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13 118s make: *** [/tmp/zuqrCQNMM6/run:4: pybuild-autopkgtest] Error 25 118s pybuild-autopkgtest: error: /tmp/zuqrCQNMM6/run pybuild-autopkgtest returned exit code 2 119s autopkgtest [10:27:46]: test pybuild-autopkgtest: -----------------------] 119s pybuild-autopkgtest FAIL non-zero exit status 25 119s autopkgtest [10:27:46]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 120s autopkgtest [10:27:47]: @@@@@@@@@@@@@@@@@@@@ summary 120s pybuild-autopkgtest FAIL non-zero exit status 25 131s nova [W] Using flock in prodstack6-s390x 131s Creating nova instance adt-plucky-s390x-python-foobot-async-20241111-102547-juju-7f2275-prod-proposed-migration-environment-15-461aca03-e9b2-4fa0-aa6f-0cb3a30519bf from image adt/ubuntu-plucky-s390x-server-20241110.img (UUID 29703a40-b183-4ea3-8076-92820c0513a2)...