0s autopkgtest [10:22:37]: starting date and time: 2024-06-16 10:22:37+0000 0s autopkgtest [10:22:37]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:22:37]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.yxm07e1c/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-paho-mqtt --apt-upgrade python-asyncio-mqtt --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-paho-mqtt/2.0.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-55.secgroup --name adt-oracular-amd64-python-asyncio-mqtt-20240616-102237-juju-7f2275-prod-proposed-migration-environment-2-0f87e3f0-fa8e-4829-972d-4e8d66731f8f --image adt/ubuntu-oracular-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 59s autopkgtest [10:23:36]: testbed dpkg architecture: amd64 59s autopkgtest [10:23:36]: testbed apt version: 2.9.3 59s autopkgtest [10:23:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 59s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 59s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 59s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 59s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 59s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 59s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [38.2 kB] 59s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [53.8 kB] 59s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [6732 B] 59s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [28.9 kB] 59s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [138 kB] 59s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [317 kB] 59s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3884 B] 59s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [8364 B] 59s Fetched 1140 kB in 0s (4630 kB/s) 59s Reading package lists... 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 62s The following packages will be upgraded: 62s apt apt-utils libapt-pkg6.0t64 libldap-common libldap2 62s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 2875 kB of archives. 62s After this operation, 11.3 kB of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 libapt-pkg6.0t64 amd64 2.9.5 [1023 kB] 62s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 apt amd64 2.9.5 [1403 kB] 62s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 apt-utils amd64 2.9.5 [223 kB] 62s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 62s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap2 amd64 2.6.7+dfsg-1~exp1ubuntu9 [195 kB] 62s Fetched 2875 kB in 0s (43.8 MB/s) 62s (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 ... 74430 files and directories currently installed.) 62s Preparing to unpack .../libapt-pkg6.0t64_2.9.5_amd64.deb ... 62s Unpacking libapt-pkg6.0t64:amd64 (2.9.5) over (2.9.3) ... 62s Setting up libapt-pkg6.0t64:amd64 (2.9.5) ... 62s (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 ... 74430 files and directories currently installed.) 62s Preparing to unpack .../archives/apt_2.9.5_amd64.deb ... 62s Unpacking apt (2.9.5) over (2.9.3) ... 63s Setting up apt (2.9.5) ... 63s (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 ... 74430 files and directories currently installed.) 63s Preparing to unpack .../apt-utils_2.9.5_amd64.deb ... 63s Unpacking apt-utils (2.9.5) over (2.9.3) ... 63s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 63s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 63s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_amd64.deb ... 63s Unpacking libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 63s Setting up apt-utils (2.9.5) ... 63s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 63s Setting up libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) ... 63s Processing triggers for man-db (2.12.1-2) ... 65s Processing triggers for libc-bin (2.39-0ubuntu9) ... 66s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 67s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 68s Reading package lists... 68s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Calculating upgrade... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 70s autopkgtest [10:23:47]: rebooting testbed after setup commands that affected boot 73s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 84s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 88s autopkgtest [10:24:05]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 88s autopkgtest [10:24:05]: @@@@@@@@@@@@@@@@@@@@ apt-source python-asyncio-mqtt 89s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (dsc) [2230 B] 89s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (tar) [26.3 kB] 89s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (diff) [3540 B] 90s gpgv: Signature made Wed Feb 1 11:47:04 2023 UTC 90s gpgv: using RSA key 7ED1DEA345D9A0A118D4A740E3E0A1C286B963EA 90s gpgv: Can't check signature: No public key 90s dpkg-source: warning: cannot verify inline signature for ./python-asyncio-mqtt_0.16.1-3.dsc: no acceptable signature found 90s autopkgtest [10:24:07]: testing package python-asyncio-mqtt version 0.16.1-3 90s autopkgtest [10:24:07]: build not needed 90s autopkgtest [10:24:07]: test command1: preparing testbed 90s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s Starting pkgProblemResolver with broken count: 0 91s Starting 2 pkgProblemResolver with broken count: 0 91s Done 91s The following additional packages will be installed: 91s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 91s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 91s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 91s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 91s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 91s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 91s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 91s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool libtsan2 91s libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-anyio 91s python3-asyncio-mqtt python3-build python3-iniconfig python3-installer 91s python3-packaging python3-paho-mqtt python3-pluggy python3-pyproject-hooks 91s python3-pytest python3-sniffio python3-toml python3-wheel 91s Suggested packages: 91s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 91s cpp-13-doc dh-make flit g++-multilib g++-13-multilib gcc-13-doc gcc-multilib 91s manpages-dev flex bison gdb gcc-doc gcc-13-multilib gdb-x86-64-linux-gnu 91s gettext-doc libasprintf-dev libgettextpo-dev libstdc++-13-doc libtool-doc 91s gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-pip 91s python3-venv python-build-doc python-installer-doc 91s Recommended packages: 91s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 92s The following NEW packages will be installed: 92s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 92s cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 92s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 92s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 92s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 92s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 92s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 92s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool libtsan2 92s libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-anyio 92s python3-asyncio-mqtt python3-build python3-iniconfig python3-installer 92s python3-packaging python3-paho-mqtt python3-pluggy python3-pyproject-hooks 92s python3-pytest python3-sniffio python3-toml python3-wheel 92s 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. 92s Need to get 67.2 MB/67.2 MB of archives. 92s After this operation, 238 MB of additional disk space will be used. 92s Get:1 /tmp/autopkgtest.TG7CkN/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [812 B] 92s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 92s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 autoconf all 2.71-3 [339 kB] 92s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 autotools-dev all 20220109.1 [44.9 kB] 92s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 92s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 92s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-base amd64 13.2.0-23ubuntu4 [49.0 kB] 92s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 92s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 92s Get:10 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [11.2 MB] 92s Get:11 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13 amd64 13.2.0-23ubuntu4 [1032 B] 92s Get:12 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 92s Get:13 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 92s Get:14 http://ftpmaster.internal/ubuntu oracular/main amd64 libcc1-0 amd64 14.1.0-1ubuntu1 [48.0 kB] 92s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 libgomp1 amd64 14.1.0-1ubuntu1 [148 kB] 92s Get:16 http://ftpmaster.internal/ubuntu oracular/main amd64 libitm1 amd64 14.1.0-1ubuntu1 [29.1 kB] 92s Get:17 http://ftpmaster.internal/ubuntu oracular/main amd64 libatomic1 amd64 14.1.0-1ubuntu1 [10.4 kB] 92s Get:18 http://ftpmaster.internal/ubuntu oracular/main amd64 libasan8 amd64 14.1.0-1ubuntu1 [3025 kB] 92s Get:19 http://ftpmaster.internal/ubuntu oracular/main amd64 liblsan0 amd64 14.1.0-1ubuntu1 [1313 kB] 92s Get:20 http://ftpmaster.internal/ubuntu oracular/main amd64 libtsan2 amd64 14.1.0-1ubuntu1 [2736 kB] 92s Get:21 http://ftpmaster.internal/ubuntu oracular/main amd64 libubsan1 amd64 14.1.0-1ubuntu1 [1174 kB] 92s Get:22 http://ftpmaster.internal/ubuntu oracular/main amd64 libhwasan0 amd64 14.1.0-1ubuntu1 [1632 kB] 92s Get:23 http://ftpmaster.internal/ubuntu oracular/main amd64 libquadmath0 amd64 14.1.0-1ubuntu1 [153 kB] 92s Get:24 http://ftpmaster.internal/ubuntu oracular/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB] 92s Get:25 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB] 92s Get:26 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB] 92s Get:27 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 92s Get:28 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 92s Get:29 http://ftpmaster.internal/ubuntu oracular/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB] 92s Get:30 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB] 92s Get:31 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB] 92s Get:32 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 92s Get:33 http://ftpmaster.internal/ubuntu oracular/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 92s Get:34 http://ftpmaster.internal/ubuntu oracular/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 92s Get:35 http://ftpmaster.internal/ubuntu oracular/main amd64 libdebhelper-perl all 13.15.3ubuntu2 [92.3 kB] 92s Get:36 http://ftpmaster.internal/ubuntu oracular/main amd64 libtool all 2.4.7-7build1 [166 kB] 92s Get:37 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-autoreconf all 20 [16.1 kB] 92s Get:38 http://ftpmaster.internal/ubuntu oracular/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 92s Get:39 http://ftpmaster.internal/ubuntu oracular/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 92s Get:40 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 92s Get:41 http://ftpmaster.internal/ubuntu oracular/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 92s Get:42 http://ftpmaster.internal/ubuntu oracular/main amd64 dwz amd64 0.15-1build6 [115 kB] 92s Get:43 http://ftpmaster.internal/ubuntu oracular/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 92s Get:44 http://ftpmaster.internal/ubuntu oracular/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 92s Get:45 http://ftpmaster.internal/ubuntu oracular/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 92s Get:46 http://ftpmaster.internal/ubuntu oracular/main amd64 debhelper all 13.15.3ubuntu2 [878 kB] 92s Get:47 http://ftpmaster.internal/ubuntu oracular/universe amd64 dh-python all 6.20240422 [110 kB] 92s Get:48 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 92s Get:49 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pyproject-hooks all 1.1.0-1 [9852 B] 92s Get:50 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 92s Get:51 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-wheel all 0.43.0-1 [53.5 kB] 92s Get:52 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-build all 1.2.1-1 [29.7 kB] 92s Get:53 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 92s Get:54 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-pyproject all 6.20240422 [1730 B] 92s Get:55 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-sniffio all 1.3.1-1 [7262 B] 92s Get:56 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-anyio all 4.3.0-1 [56.6 kB] 92s Get:57 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-paho-mqtt all 2.0.0-1 [58.1 kB] 92s Get:58 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-asyncio-mqtt all 0.16.1-3 [22.8 kB] 92s Get:59 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 92s Get:60 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 92s Get:61 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest all 7.4.4-1 [305 kB] 93s Fetched 67.2 MB in 1s (114 MB/s) 93s Selecting previously unselected package m4. 93s (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 ... 74430 files and directories currently installed.) 93s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 93s Unpacking m4 (1.4.19-4build1) ... 93s Selecting previously unselected package autoconf. 93s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 93s Unpacking autoconf (2.71-3) ... 93s Selecting previously unselected package autotools-dev. 93s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 93s Unpacking autotools-dev (20220109.1) ... 93s Selecting previously unselected package automake. 93s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 93s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 93s Selecting previously unselected package autopoint. 93s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 93s Unpacking autopoint (0.21-14ubuntu2) ... 93s Selecting previously unselected package gcc-13-base:amd64. 93s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_amd64.deb ... 93s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 93s Selecting previously unselected package libisl23:amd64. 93s Preparing to unpack .../06-libisl23_0.26-3build1_amd64.deb ... 93s Unpacking libisl23:amd64 (0.26-3build1) ... 93s Selecting previously unselected package libmpc3:amd64. 93s Preparing to unpack .../07-libmpc3_1.3.1-1build1_amd64.deb ... 93s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 93s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 93s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 93s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 93s Selecting previously unselected package cpp-13. 93s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_amd64.deb ... 93s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 93s Selecting previously unselected package cpp-x86-64-linux-gnu. 93s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 93s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 93s Selecting previously unselected package cpp. 93s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 93s Unpacking cpp (4:13.2.0-7ubuntu1) ... 93s Selecting previously unselected package libcc1-0:amd64. 93s Preparing to unpack .../12-libcc1-0_14.1.0-1ubuntu1_amd64.deb ... 93s Unpacking libcc1-0:amd64 (14.1.0-1ubuntu1) ... 93s Selecting previously unselected package libgomp1:amd64. 93s Preparing to unpack .../13-libgomp1_14.1.0-1ubuntu1_amd64.deb ... 93s Unpacking libgomp1:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libitm1:amd64. 94s Preparing to unpack .../14-libitm1_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libitm1:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libatomic1:amd64. 94s Preparing to unpack .../15-libatomic1_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libatomic1:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libasan8:amd64. 94s Preparing to unpack .../16-libasan8_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libasan8:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package liblsan0:amd64. 94s Preparing to unpack .../17-liblsan0_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking liblsan0:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libtsan2:amd64. 94s Preparing to unpack .../18-libtsan2_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libtsan2:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libubsan1:amd64. 94s Preparing to unpack .../19-libubsan1_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libubsan1:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libhwasan0:amd64. 94s Preparing to unpack .../20-libhwasan0_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libhwasan0:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libquadmath0:amd64. 94s Preparing to unpack .../21-libquadmath0_14.1.0-1ubuntu1_amd64.deb ... 94s Unpacking libquadmath0:amd64 (14.1.0-1ubuntu1) ... 94s Selecting previously unselected package libgcc-13-dev:amd64. 94s Preparing to unpack .../22-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ... 94s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 94s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 94s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 94s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 94s Selecting previously unselected package gcc-13. 94s Preparing to unpack .../24-gcc-13_13.2.0-23ubuntu4_amd64.deb ... 94s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 94s Selecting previously unselected package gcc-x86-64-linux-gnu. 94s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 94s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 94s Selecting previously unselected package gcc. 94s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 94s Unpacking gcc (4:13.2.0-7ubuntu1) ... 94s Selecting previously unselected package libstdc++-13-dev:amd64. 94s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ... 94s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 95s Selecting previously unselected package g++-13-x86-64-linux-gnu. 95s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 95s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 95s Selecting previously unselected package g++-13. 95s Preparing to unpack .../29-g++-13_13.2.0-23ubuntu4_amd64.deb ... 95s Unpacking g++-13 (13.2.0-23ubuntu4) ... 95s Selecting previously unselected package g++-x86-64-linux-gnu. 95s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 95s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 95s Selecting previously unselected package g++. 95s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 95s Unpacking g++ (4:13.2.0-7ubuntu1) ... 95s Selecting previously unselected package build-essential. 95s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 95s Unpacking build-essential (12.10ubuntu1) ... 95s Selecting previously unselected package libdebhelper-perl. 95s Preparing to unpack .../33-libdebhelper-perl_13.15.3ubuntu2_all.deb ... 95s Unpacking libdebhelper-perl (13.15.3ubuntu2) ... 95s Selecting previously unselected package libtool. 95s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 95s Unpacking libtool (2.4.7-7build1) ... 95s Selecting previously unselected package dh-autoreconf. 95s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 95s Unpacking dh-autoreconf (20) ... 95s Selecting previously unselected package libarchive-zip-perl. 95s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 95s Unpacking libarchive-zip-perl (1.68-1) ... 95s Selecting previously unselected package libfile-stripnondeterminism-perl. 95s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 95s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 95s Selecting previously unselected package dh-strip-nondeterminism. 95s Preparing to unpack .../38-dh-strip-nondeterminism_1.14.0-1_all.deb ... 95s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 95s Selecting previously unselected package debugedit. 95s Preparing to unpack .../39-debugedit_1%3a5.0-5build2_amd64.deb ... 95s Unpacking debugedit (1:5.0-5build2) ... 95s Selecting previously unselected package dwz. 95s Preparing to unpack .../40-dwz_0.15-1build6_amd64.deb ... 95s Unpacking dwz (0.15-1build6) ... 95s Selecting previously unselected package gettext. 95s Preparing to unpack .../41-gettext_0.21-14ubuntu2_amd64.deb ... 95s Unpacking gettext (0.21-14ubuntu2) ... 95s Selecting previously unselected package intltool-debian. 95s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 95s Unpacking intltool-debian (0.35.0+20060710.6) ... 95s Selecting previously unselected package po-debconf. 95s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 95s Unpacking po-debconf (1.0.21+nmu1) ... 95s Selecting previously unselected package debhelper. 95s Preparing to unpack .../44-debhelper_13.15.3ubuntu2_all.deb ... 95s Unpacking debhelper (13.15.3ubuntu2) ... 95s Selecting previously unselected package dh-python. 95s Preparing to unpack .../45-dh-python_6.20240422_all.deb ... 95s Unpacking dh-python (6.20240422) ... 95s Selecting previously unselected package python3-packaging. 95s Preparing to unpack .../46-python3-packaging_24.0-1_all.deb ... 95s Unpacking python3-packaging (24.0-1) ... 95s Selecting previously unselected package python3-pyproject-hooks. 95s Preparing to unpack .../47-python3-pyproject-hooks_1.1.0-1_all.deb ... 95s Unpacking python3-pyproject-hooks (1.1.0-1) ... 95s Selecting previously unselected package python3-toml. 95s Preparing to unpack .../48-python3-toml_0.10.2-1_all.deb ... 95s Unpacking python3-toml (0.10.2-1) ... 95s Selecting previously unselected package python3-wheel. 95s Preparing to unpack .../49-python3-wheel_0.43.0-1_all.deb ... 95s Unpacking python3-wheel (0.43.0-1) ... 95s Selecting previously unselected package python3-build. 96s Preparing to unpack .../50-python3-build_1.2.1-1_all.deb ... 96s Unpacking python3-build (1.2.1-1) ... 96s Selecting previously unselected package python3-installer. 96s Preparing to unpack .../51-python3-installer_0.7.0+dfsg1-3_all.deb ... 96s Unpacking python3-installer (0.7.0+dfsg1-3) ... 96s Selecting previously unselected package pybuild-plugin-pyproject. 96s Preparing to unpack .../52-pybuild-plugin-pyproject_6.20240422_all.deb ... 96s Unpacking pybuild-plugin-pyproject (6.20240422) ... 96s Selecting previously unselected package python3-sniffio. 96s Preparing to unpack .../53-python3-sniffio_1.3.1-1_all.deb ... 96s Unpacking python3-sniffio (1.3.1-1) ... 96s Selecting previously unselected package python3-anyio. 96s Preparing to unpack .../54-python3-anyio_4.3.0-1_all.deb ... 96s Unpacking python3-anyio (4.3.0-1) ... 96s Selecting previously unselected package python3-paho-mqtt. 96s Preparing to unpack .../55-python3-paho-mqtt_2.0.0-1_all.deb ... 96s Unpacking python3-paho-mqtt (2.0.0-1) ... 96s Selecting previously unselected package python3-asyncio-mqtt. 96s Preparing to unpack .../56-python3-asyncio-mqtt_0.16.1-3_all.deb ... 96s Unpacking python3-asyncio-mqtt (0.16.1-3) ... 96s Selecting previously unselected package python3-iniconfig. 96s Preparing to unpack .../57-python3-iniconfig_1.1.1-2_all.deb ... 96s Unpacking python3-iniconfig (1.1.1-2) ... 96s Selecting previously unselected package python3-pluggy. 96s Preparing to unpack .../58-python3-pluggy_1.5.0-1_all.deb ... 96s Unpacking python3-pluggy (1.5.0-1) ... 96s Selecting previously unselected package python3-pytest. 96s Preparing to unpack .../59-python3-pytest_7.4.4-1_all.deb ... 96s Unpacking python3-pytest (7.4.4-1) ... 96s Selecting previously unselected package autopkgtest-satdep. 96s Preparing to unpack .../60-1-autopkgtest-satdep.deb ... 96s Unpacking autopkgtest-satdep (0) ... 96s Setting up dh-python (6.20240422) ... 96s Setting up python3-iniconfig (1.1.1-2) ... 96s Setting up python3-sniffio (1.3.1-1) ... 96s Setting up python3-anyio (4.3.0-1) ... 96s Setting up libarchive-zip-perl (1.68-1) ... 96s Setting up libdebhelper-perl (13.15.3ubuntu2) ... 96s Setting up m4 (1.4.19-4build1) ... 96s Setting up libgomp1:amd64 (14.1.0-1ubuntu1) ... 96s Setting up python3-wheel (0.43.0-1) ... 97s Setting up autotools-dev (20220109.1) ... 97s Setting up python3-packaging (24.0-1) ... 97s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 97s Setting up python3-pyproject-hooks (1.1.0-1) ... 97s Setting up libquadmath0:amd64 (14.1.0-1ubuntu1) ... 97s Setting up python3-paho-mqtt (2.0.0-1) ... 97s Setting up libmpc3:amd64 (1.3.1-1build1) ... 97s Setting up libatomic1:amd64 (14.1.0-1ubuntu1) ... 97s Setting up autopoint (0.21-14ubuntu2) ... 97s Setting up python3-asyncio-mqtt (0.16.1-3) ... 97s Setting up python3-toml (0.10.2-1) ... 97s Setting up python3-installer (0.7.0+dfsg1-3) ... 97s Setting up autoconf (2.71-3) ... 97s Setting up python3-pluggy (1.5.0-1) ... 97s Setting up libubsan1:amd64 (14.1.0-1ubuntu1) ... 97s Setting up dwz (0.15-1build6) ... 97s Setting up libhwasan0:amd64 (14.1.0-1ubuntu1) ... 97s Setting up libasan8:amd64 (14.1.0-1ubuntu1) ... 97s Setting up debugedit (1:5.0-5build2) ... 97s Setting up libtsan2:amd64 (14.1.0-1ubuntu1) ... 97s Setting up libisl23:amd64 (0.26-3build1) ... 97s Setting up python3-build (1.2.1-1) ... 97s Setting up libcc1-0:amd64 (14.1.0-1ubuntu1) ... 97s Setting up liblsan0:amd64 (14.1.0-1ubuntu1) ... 97s Setting up libitm1:amd64 (14.1.0-1ubuntu1) ... 97s Setting up automake (1:1.16.5-1.3ubuntu1) ... 98s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 98s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 98s Setting up gettext (0.21-14ubuntu2) ... 98s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 98s Setting up pybuild-plugin-pyproject (6.20240422) ... 98s Setting up python3-pytest (7.4.4-1) ... 98s Setting up intltool-debian (0.35.0+20060710.6) ... 98s Setting up dh-strip-nondeterminism (1.14.0-1) ... 98s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 98s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 98s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 98s Setting up cpp-13 (13.2.0-23ubuntu4) ... 98s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 98s Setting up po-debconf (1.0.21+nmu1) ... 98s Setting up gcc-13 (13.2.0-23ubuntu4) ... 98s Setting up cpp (4:13.2.0-7ubuntu1) ... 98s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 98s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 98s Setting up libtool (2.4.7-7build1) ... 98s Setting up gcc (4:13.2.0-7ubuntu1) ... 98s Setting up dh-autoreconf (20) ... 98s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 98s Setting up g++-13 (13.2.0-23ubuntu4) ... 98s Setting up debhelper (13.15.3ubuntu2) ... 98s Setting up g++ (4:13.2.0-7ubuntu1) ... 98s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 98s Setting up build-essential (12.10ubuntu1) ... 98s Setting up autopkgtest-satdep (0) ... 98s Processing triggers for man-db (2.12.1-2) ... 99s Processing triggers for install-info (7.1-3build2) ... 99s Processing triggers for libc-bin (2.39-0ubuntu9) ... 101s (Reading database ... 77203 files and directories currently installed.) 101s Removing autopkgtest-satdep (0) ... 102s autopkgtest [10:24:19]: test command1: cp -r tests "$AUTOPKGTEST_TMP"; cd "$AUTOPKGTEST_TMP"; python3 -m pytest tests 102s autopkgtest [10:24:19]: test command1: [----------------------- 102s ============================= test session starts ============================== 102s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 102s rootdir: /tmp/autopkgtest.TG7CkN/autopkgtest_tmp 102s plugins: anyio-4.3.0 102s collected 50 items 102s 102s tests/test_client.py ...ssssFFFsssssssss [ 38%] 102s tests/test_error.py ............................... [100%] 102s 102s =================================== FAILURES =================================== 102s _____________________________ test_client_id[3-22] _____________________________ 102s 102s protocol = , length = 22 102s 102s @pytest.mark.parametrize( 102s "protocol, length", 102s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 102s ) 102s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 102s > client = Client(HOSTNAME, protocol=protocol) 102s 102s tests/test_client.py:187: 102s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 102s 102s self = 102s hostname = 'test.mosquitto.org', port = 1883 102s 102s def __init__( # noqa: C901 102s self, 102s hostname: str, 102s port: int = 1883, 102s *, 102s username: str | None = None, 102s password: str | None = None, 102s logger: logging.Logger | None = None, 102s client_id: str | None = None, 102s tls_context: ssl.SSLContext | None = None, 102s tls_params: TLSParameters | None = None, 102s proxy: ProxySettings | None = None, 102s protocol: ProtocolVersion | None = None, 102s will: Will | None = None, 102s clean_session: bool | None = None, 102s transport: str = "tcp", 102s keepalive: int = 60, 102s bind_address: str = "", 102s bind_port: int = 0, 102s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 102s properties: Properties | None = None, 102s message_retry_set: int = 20, 102s socket_options: Iterable[SocketOption] | None = None, 102s max_concurrent_outgoing_calls: int | None = None, 102s websocket_path: str | None = None, 102s websocket_headers: WebSocketHeaders | None = None, 102s ): 102s self._hostname = hostname 102s self._port = port 102s self._keepalive = keepalive 102s self._bind_address = bind_address 102s self._bind_port = bind_port 102s self._clean_start = clean_start 102s self._properties = properties 102s self._loop = asyncio.get_event_loop() 102s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 102s self._disconnected: asyncio.Future[ 102s int | mqtt.ReasonCodes | None 102s ] = asyncio.Future() 102s # Pending subscribe, unsubscribe, and publish calls 102s self._pending_subscribes: dict[ 102s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 102s ] = {} 102s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 102s self._pending_publishes: dict[int, asyncio.Event] = {} 102s self._pending_calls_threshold: int = 10 102s self._misc_task: asyncio.Task[None] | None = None 102s 102s # List of all callbacks to call when a message is received 102s self._on_message_callbacks: list[Callable[[Message], None]] = [] 102s self._unfiltered_messages_callback: Callable[ 102s [mqtt.Client, Any, mqtt.MQTTMessage], None 102s ] | None = None 102s 102s self._outgoing_calls_sem: asyncio.Semaphore | None 102s if max_concurrent_outgoing_calls is not None: 102s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 102s else: 102s self._outgoing_calls_sem = None 102s 102s if protocol is None: 102s protocol = ProtocolVersion.V311 102s 102s > self._client: mqtt.Client = mqtt.Client( 102s client_id=client_id, 102s protocol=protocol, 102s clean_session=clean_session, 102s transport=transport, 102s reconnect_on_failure=False, 102s ) 102s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 102s 102s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 102s _____________________________ test_client_id[4-0] ______________________________ 102s 102s protocol = , length = 0 102s 102s @pytest.mark.parametrize( 102s "protocol, length", 102s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 102s ) 102s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 102s > client = Client(HOSTNAME, protocol=protocol) 102s 102s tests/test_client.py:187: 102s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 102s 102s self = 102s hostname = 'test.mosquitto.org', port = 1883 102s 102s def __init__( # noqa: C901 102s self, 102s hostname: str, 102s port: int = 1883, 102s *, 102s username: str | None = None, 102s password: str | None = None, 102s logger: logging.Logger | None = None, 102s client_id: str | None = None, 102s tls_context: ssl.SSLContext | None = None, 102s tls_params: TLSParameters | None = None, 102s proxy: ProxySettings | None = None, 102s protocol: ProtocolVersion | None = None, 102s will: Will | None = None, 102s clean_session: bool | None = None, 102s transport: str = "tcp", 102s keepalive: int = 60, 102s bind_address: str = "", 102s bind_port: int = 0, 102s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 102s properties: Properties | None = None, 102s message_retry_set: int = 20, 102s socket_options: Iterable[SocketOption] | None = None, 102s max_concurrent_outgoing_calls: int | None = None, 102s websocket_path: str | None = None, 102s websocket_headers: WebSocketHeaders | None = None, 102s ): 102s self._hostname = hostname 102s self._port = port 102s self._keepalive = keepalive 102s self._bind_address = bind_address 102s self._bind_port = bind_port 102s self._clean_start = clean_start 102s self._properties = properties 102s self._loop = asyncio.get_event_loop() 102s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 102s self._disconnected: asyncio.Future[ 102s int | mqtt.ReasonCodes | None 102s ] = asyncio.Future() 102s # Pending subscribe, unsubscribe, and publish calls 102s self._pending_subscribes: dict[ 102s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 102s ] = {} 102s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 102s self._pending_publishes: dict[int, asyncio.Event] = {} 102s self._pending_calls_threshold: int = 10 102s self._misc_task: asyncio.Task[None] | None = None 102s 102s # List of all callbacks to call when a message is received 102s self._on_message_callbacks: list[Callable[[Message], None]] = [] 102s self._unfiltered_messages_callback: Callable[ 102s [mqtt.Client, Any, mqtt.MQTTMessage], None 102s ] | None = None 102s 102s self._outgoing_calls_sem: asyncio.Semaphore | None 102s if max_concurrent_outgoing_calls is not None: 102s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 102s else: 102s self._outgoing_calls_sem = None 102s 102s if protocol is None: 102s protocol = ProtocolVersion.V311 102s 102s > self._client: mqtt.Client = mqtt.Client( 102s client_id=client_id, 102s protocol=protocol, 102s clean_session=clean_session, 102s transport=transport, 102s reconnect_on_failure=False, 102s ) 102s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 102s 102s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 102s _____________________________ test_client_id[5-0] ______________________________ 102s 102s protocol = , length = 0 102s 102s @pytest.mark.parametrize( 102s "protocol, length", 102s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 102s ) 102s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 102s > client = Client(HOSTNAME, protocol=protocol) 102s 102s tests/test_client.py:187: 102s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 102s 102s self = 102s hostname = 'test.mosquitto.org', port = 1883 102s 102s def __init__( # noqa: C901 102s self, 102s hostname: str, 102s port: int = 1883, 102s *, 102s username: str | None = None, 102s password: str | None = None, 102s logger: logging.Logger | None = None, 102s client_id: str | None = None, 102s tls_context: ssl.SSLContext | None = None, 102s tls_params: TLSParameters | None = None, 102s proxy: ProxySettings | None = None, 102s protocol: ProtocolVersion | None = None, 102s will: Will | None = None, 102s clean_session: bool | None = None, 102s transport: str = "tcp", 102s keepalive: int = 60, 102s bind_address: str = "", 102s bind_port: int = 0, 102s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 102s properties: Properties | None = None, 102s message_retry_set: int = 20, 102s socket_options: Iterable[SocketOption] | None = None, 102s max_concurrent_outgoing_calls: int | None = None, 102s websocket_path: str | None = None, 102s websocket_headers: WebSocketHeaders | None = None, 102s ): 102s self._hostname = hostname 102s self._port = port 102s self._keepalive = keepalive 102s self._bind_address = bind_address 102s self._bind_port = bind_port 102s self._clean_start = clean_start 102s self._properties = properties 102s self._loop = asyncio.get_event_loop() 102s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 102s self._disconnected: asyncio.Future[ 102s int | mqtt.ReasonCodes | None 102s ] = asyncio.Future() 102s # Pending subscribe, unsubscribe, and publish calls 102s self._pending_subscribes: dict[ 102s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 102s ] = {} 102s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 102s self._pending_publishes: dict[int, asyncio.Event] = {} 102s self._pending_calls_threshold: int = 10 102s self._misc_task: asyncio.Task[None] | None = None 102s 102s # List of all callbacks to call when a message is received 102s self._on_message_callbacks: list[Callable[[Message], None]] = [] 102s self._unfiltered_messages_callback: Callable[ 102s [mqtt.Client, Any, mqtt.MQTTMessage], None 102s ] | None = None 102s 102s self._outgoing_calls_sem: asyncio.Semaphore | None 102s if max_concurrent_outgoing_calls is not None: 102s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 102s else: 102s self._outgoing_calls_sem = None 102s 102s if protocol is None: 102s protocol = ProtocolVersion.V311 102s 102s > self._client: mqtt.Client = mqtt.Client( 102s client_id=client_id, 102s protocol=protocol, 102s clean_session=clean_session, 102s transport=transport, 102s reconnect_on_failure=False, 102s ) 102s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 102s 102s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 102s =============================== warnings summary =============================== 102s tests/test_client.py::test_client_id[3-22] 102s tests/test_client.py::test_client_id[4-0] 102s tests/test_client.py::test_client_id[5-0] 102s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: 102s 102s Traceback (most recent call last): 102s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 874, in __del__ 102s self._reset_sockets() 102s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 1133, in _reset_sockets 102s self._sock_close() 102s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 1119, in _sock_close 102s if not self._sock: 102s ^^^^^^^^^^ 102s AttributeError: 'Client' object has no attribute '_sock' 102s 102s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 102s 102s tests/test_error.py::test_mqtt_code_error_reason_codes[2-Success] 102s tests/test_error.py::test_mqtt_code_error_reason_codes[4-Success] 102s tests/test_error.py::test_mqtt_code_error_reason_codes[9-Granted QoS 1] 102s /tmp/autopkgtest.TG7CkN/autopkgtest_tmp/tests/test_error.py:44: DeprecationWarning: ReasonCodes is deprecated, use ReasonCode (singular) instead 102s rc = mqtt.ReasonCodes(packet_type, a_name) 102s 102s tests/test_error.py::test_mqtt_connect_error_reason_codes[2-Success] 102s tests/test_error.py::test_mqtt_connect_error_reason_codes[4-Success] 102s tests/test_error.py::test_mqtt_connect_error_reason_codes[9-Granted QoS 1] 102s /tmp/autopkgtest.TG7CkN/autopkgtest_tmp/tests/test_error.py:71: DeprecationWarning: ReasonCodes is deprecated, use ReasonCode (singular) instead 102s rc = mqtt.ReasonCodes(packet_type, a_name) 102s 102s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 102s =========================== short test summary info ============================ 102s FAILED tests/test_client.py::test_client_id[3-22] - TypeError: Client.__init_... 102s FAILED tests/test_client.py::test_client_id[4-0] - TypeError: Client.__init__... 102s FAILED tests/test_client.py::test_client_id[5-0] - TypeError: Client.__init__... 102s ============= 3 failed, 34 passed, 13 skipped, 9 warnings in 0.21s ============= 103s autopkgtest [10:24:20]: test command1: -----------------------] 103s autopkgtest [10:24:20]: test command1: - - - - - - - - - - results - - - - - - - - - - 103s command1 FAIL non-zero exit status 1 103s autopkgtest [10:24:20]: @@@@@@@@@@@@@@@@@@@@ summary 103s command1 FAIL non-zero exit status 1 115s nova [W] Skipping flock for amd64 115s Creating nova instance adt-oracular-amd64-python-asyncio-mqtt-20240616-102237-juju-7f2275-prod-proposed-migration-environment-2-0f87e3f0-fa8e-4829-972d-4e8d66731f8f from image adt/ubuntu-oracular-amd64-server-20240615.img (UUID 94fd7b6f-4495-4684-bd31-1d1deeaa1788)...