0s autopkgtest [10:26:18]: starting date and time: 2024-06-16 10:26:18+0000 0s autopkgtest [10:26:18]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:26:18]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.6rb6l5jp/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@bos01-ppc64el-16.secgroup --name adt-oracular-ppc64el-python-asyncio-mqtt-20240616-102618-juju-7f2275-prod-proposed-migration-environment-2-73e5f356-a68e-4d99-b22e-01d40ba2603c --image adt/ubuntu-oracular-ppc64el-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://us.ports.ubuntu.com/ubuntu-ports/ 143s autopkgtest [10:28:41]: testbed dpkg architecture: ppc64el 143s autopkgtest [10:28:41]: testbed apt version: 2.9.5 143s autopkgtest [10:28:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 144s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 145s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 145s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 145s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 145s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 145s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [42.8 kB] 145s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 145s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [312 kB] 145s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [2532 B] 145s Fetched 905 kB in 1s (1003 kB/s) 145s Reading package lists... 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Calculating upgrade... 148s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 149s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 149s Get:2 http://ftpmaster.internal/ubuntu oracular InRelease [110 kB] 149s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 149s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 150s Get:5 http://ftpmaster.internal/ubuntu oracular/universe Sources [20.1 MB] 152s Get:6 http://ftpmaster.internal/ubuntu oracular/main Sources [1384 kB] 152s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el Packages [1348 kB] 153s Get:8 http://ftpmaster.internal/ubuntu oracular/universe ppc64el Packages [15.2 MB] 158s Fetched 38.1 MB in 9s (4074 kB/s) 159s Reading package lists... 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 160s Calculating upgrade... 160s The following packages will be upgraded: 160s libldap-common libldap2 160s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s Need to get 262 kB of archives. 160s After this operation, 0 B of additional disk space will be used. 160s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 160s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el libldap2 ppc64el 2.6.7+dfsg-1~exp1ubuntu9 [231 kB] 161s Fetched 262 kB in 1s (519 kB/s) 161s (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 ... 72676 files and directories currently installed.) 161s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 161s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 161s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_ppc64el.deb ... 161s Unpacking libldap2:ppc64el (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 161s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 161s Setting up libldap2:ppc64el (2.6.7+dfsg-1~exp1ubuntu9) ... 161s Processing triggers for man-db (2.12.1-2) ... 161s Processing triggers for libc-bin (2.39-0ubuntu9) ... 161s Reading package lists... 162s Building dependency tree... 162s Reading state information... 162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 164s autopkgtest [10:29:02]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 165s autopkgtest [10:29:03]: @@@@@@@@@@@@@@@@@@@@ apt-source python-asyncio-mqtt 166s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (dsc) [2230 B] 166s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (tar) [26.3 kB] 166s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-asyncio-mqtt 0.16.1-3 (diff) [3540 B] 166s gpgv: Signature made Wed Feb 1 11:47:04 2023 UTC 166s gpgv: using RSA key 7ED1DEA345D9A0A118D4A740E3E0A1C286B963EA 166s gpgv: Can't check signature: No public key 166s dpkg-source: warning: cannot verify inline signature for ./python-asyncio-mqtt_0.16.1-3.dsc: no acceptable signature found 166s autopkgtest [10:29:04]: testing package python-asyncio-mqtt version 0.16.1-3 167s autopkgtest [10:29:05]: build not needed 167s autopkgtest [10:29:05]: test command1: preparing testbed 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s Starting pkgProblemResolver with broken count: 0 168s Starting 2 pkgProblemResolver with broken count: 0 168s Done 169s The following additional packages will be installed: 169s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 169s cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 169s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 169s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 169s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 169s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 169s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 169s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool 169s libtsan2 libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-anyio 169s python3-asyncio-mqtt python3-build python3-iniconfig python3-installer 169s python3-packaging python3-paho-mqtt python3-pluggy python3-pyproject-hooks 169s python3-pytest python3-sniffio python3-toml python3-wheel 169s Suggested packages: 169s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 169s cpp-13-doc dh-make flit gcc-13-doc gcc-multilib manpages-dev flex bison gdb 169s gcc-doc gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev 169s libgettextpo-dev libstdc++-13-doc libtool-doc gfortran | fortran95-compiler 169s gcj-jdk m4-doc libmail-box-perl python3-pip python3-venv python-build-doc 169s python-installer-doc 169s Recommended packages: 169s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 169s The following NEW packages will be installed: 169s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 169s cpp cpp-13 cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper 169s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 169s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 169s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 169s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 169s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 169s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool 169s libtsan2 libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-anyio 169s python3-asyncio-mqtt python3-build python3-iniconfig python3-installer 169s python3-packaging python3-paho-mqtt python3-pluggy python3-pyproject-hooks 169s python3-pytest python3-sniffio python3-toml python3-wheel 169s 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. 169s Need to get 62.9 MB/62.9 MB of archives. 169s After this operation, 235 MB of additional disk space will be used. 169s Get:1 /tmp/autopkgtest.Afxnoc/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [816 B] 169s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 169s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el autoconf all 2.71-3 [339 kB] 169s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 169s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 169s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el autopoint all 0.21-14ubuntu2 [422 kB] 169s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-base ppc64el 13.2.0-23ubuntu4 [49.0 kB] 169s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libisl23 ppc64el 0.26-3build1 [886 kB] 169s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libmpc3 ppc64el 1.3.1-1build1 [62.1 kB] 169s Get:10 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [10.7 MB] 170s Get:11 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13 ppc64el 13.2.0-23ubuntu4 [1038 B] 170s Get:12 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 170s Get:13 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 170s Get:14 http://ftpmaster.internal/ubuntu oracular/main ppc64el libcc1-0 ppc64el 14.1.0-1ubuntu1 [48.1 kB] 170s Get:15 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgomp1 ppc64el 14.1.0-1ubuntu1 [161 kB] 170s Get:16 http://ftpmaster.internal/ubuntu oracular/main ppc64el libitm1 ppc64el 14.1.0-1ubuntu1 [32.4 kB] 170s Get:17 http://ftpmaster.internal/ubuntu oracular/main ppc64el libatomic1 ppc64el 14.1.0-1ubuntu1 [10.7 kB] 170s Get:18 http://ftpmaster.internal/ubuntu oracular/main ppc64el libasan8 ppc64el 14.1.0-1ubuntu1 [2971 kB] 170s Get:19 http://ftpmaster.internal/ubuntu oracular/main ppc64el liblsan0 ppc64el 14.1.0-1ubuntu1 [1328 kB] 170s Get:20 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtsan2 ppc64el 14.1.0-1ubuntu1 [2708 kB] 170s Get:21 http://ftpmaster.internal/ubuntu oracular/main ppc64el libubsan1 ppc64el 14.1.0-1ubuntu1 [1196 kB] 170s Get:22 http://ftpmaster.internal/ubuntu oracular/main ppc64el libquadmath0 ppc64el 14.1.0-1ubuntu1 [158 kB] 170s Get:23 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgcc-13-dev ppc64el 13.2.0-23ubuntu4 [1580 kB] 170s Get:24 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [20.6 MB] 171s Get:25 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13 ppc64el 13.2.0-23ubuntu4 [482 kB] 171s Get:26 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 171s Get:27 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 171s Get:28 http://ftpmaster.internal/ubuntu oracular/main ppc64el libstdc++-13-dev ppc64el 13.2.0-23ubuntu4 [2512 kB] 171s Get:29 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [12.2 MB] 171s Get:30 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13 ppc64el 13.2.0-23ubuntu4 [14.5 kB] 171s Get:31 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 171s Get:32 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 171s Get:33 http://ftpmaster.internal/ubuntu oracular/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 171s Get:34 http://ftpmaster.internal/ubuntu oracular/main ppc64el libdebhelper-perl all 13.15.3ubuntu2 [92.3 kB] 171s Get:35 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtool all 2.4.7-7build1 [166 kB] 171s Get:36 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-autoreconf all 20 [16.1 kB] 171s Get:37 http://ftpmaster.internal/ubuntu oracular/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 171s Get:38 http://ftpmaster.internal/ubuntu oracular/main ppc64el libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 171s Get:39 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-strip-nondeterminism all 1.14.0-1 [5058 B] 171s Get:40 http://ftpmaster.internal/ubuntu oracular/main ppc64el debugedit ppc64el 1:5.0-5build2 [51.4 kB] 171s Get:41 http://ftpmaster.internal/ubuntu oracular/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 171s Get:42 http://ftpmaster.internal/ubuntu oracular/main ppc64el gettext ppc64el 0.21-14ubuntu2 [985 kB] 171s Get:43 http://ftpmaster.internal/ubuntu oracular/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 171s Get:44 http://ftpmaster.internal/ubuntu oracular/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 171s Get:45 http://ftpmaster.internal/ubuntu oracular/main ppc64el debhelper all 13.15.3ubuntu2 [878 kB] 171s Get:46 http://ftpmaster.internal/ubuntu oracular/universe ppc64el dh-python all 6.20240422 [110 kB] 171s Get:47 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 171s Get:48 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pyproject-hooks all 1.1.0-1 [9852 B] 171s Get:49 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 171s Get:50 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-wheel all 0.43.0-1 [53.5 kB] 171s Get:51 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-build all 1.2.1-1 [29.7 kB] 171s Get:52 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 171s Get:53 http://ftpmaster.internal/ubuntu oracular/universe ppc64el pybuild-plugin-pyproject all 6.20240422 [1730 B] 171s Get:54 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-sniffio all 1.3.1-1 [7262 B] 171s Get:55 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-anyio all 4.3.0-1 [56.6 kB] 171s Get:56 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-paho-mqtt all 2.0.0-1 [58.1 kB] 171s Get:57 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-asyncio-mqtt all 0.16.1-3 [22.8 kB] 171s Get:58 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 171s Get:59 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 171s Get:60 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 172s Fetched 62.9 MB in 3s (24.1 MB/s) 172s Selecting previously unselected package m4. 172s (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 ... 72676 files and directories currently installed.) 172s Preparing to unpack .../00-m4_1.4.19-4build1_ppc64el.deb ... 172s Unpacking m4 (1.4.19-4build1) ... 172s Selecting previously unselected package autoconf. 172s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 172s Unpacking autoconf (2.71-3) ... 172s Selecting previously unselected package autotools-dev. 172s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 172s Unpacking autotools-dev (20220109.1) ... 172s Selecting previously unselected package automake. 172s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 172s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 172s Selecting previously unselected package autopoint. 172s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 172s Unpacking autopoint (0.21-14ubuntu2) ... 172s Selecting previously unselected package gcc-13-base:ppc64el. 172s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_ppc64el.deb ... 172s Unpacking gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 172s Selecting previously unselected package libisl23:ppc64el. 172s Preparing to unpack .../06-libisl23_0.26-3build1_ppc64el.deb ... 172s Unpacking libisl23:ppc64el (0.26-3build1) ... 172s Selecting previously unselected package libmpc3:ppc64el. 172s Preparing to unpack .../07-libmpc3_1.3.1-1build1_ppc64el.deb ... 172s Unpacking libmpc3:ppc64el (1.3.1-1build1) ... 172s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 172s Preparing to unpack .../08-cpp-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 172s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 172s Selecting previously unselected package cpp-13. 172s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_ppc64el.deb ... 172s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 172s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 172s Preparing to unpack .../10-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 172s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 172s Selecting previously unselected package cpp. 172s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 172s Unpacking cpp (4:13.2.0-7ubuntu1) ... 172s Selecting previously unselected package libcc1-0:ppc64el. 172s Preparing to unpack .../12-libcc1-0_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking libcc1-0:ppc64el (14.1.0-1ubuntu1) ... 172s Selecting previously unselected package libgomp1:ppc64el. 172s Preparing to unpack .../13-libgomp1_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking libgomp1:ppc64el (14.1.0-1ubuntu1) ... 172s Selecting previously unselected package libitm1:ppc64el. 172s Preparing to unpack .../14-libitm1_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking libitm1:ppc64el (14.1.0-1ubuntu1) ... 172s Selecting previously unselected package libatomic1:ppc64el. 172s Preparing to unpack .../15-libatomic1_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking libatomic1:ppc64el (14.1.0-1ubuntu1) ... 172s Selecting previously unselected package libasan8:ppc64el. 172s Preparing to unpack .../16-libasan8_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking libasan8:ppc64el (14.1.0-1ubuntu1) ... 172s Selecting previously unselected package liblsan0:ppc64el. 172s Preparing to unpack .../17-liblsan0_14.1.0-1ubuntu1_ppc64el.deb ... 172s Unpacking liblsan0:ppc64el (14.1.0-1ubuntu1) ... 173s Selecting previously unselected package libtsan2:ppc64el. 173s Preparing to unpack .../18-libtsan2_14.1.0-1ubuntu1_ppc64el.deb ... 173s Unpacking libtsan2:ppc64el (14.1.0-1ubuntu1) ... 173s Selecting previously unselected package libubsan1:ppc64el. 173s Preparing to unpack .../19-libubsan1_14.1.0-1ubuntu1_ppc64el.deb ... 173s Unpacking libubsan1:ppc64el (14.1.0-1ubuntu1) ... 173s Selecting previously unselected package libquadmath0:ppc64el. 173s Preparing to unpack .../20-libquadmath0_14.1.0-1ubuntu1_ppc64el.deb ... 173s Unpacking libquadmath0:ppc64el (14.1.0-1ubuntu1) ... 173s Selecting previously unselected package libgcc-13-dev:ppc64el. 173s Preparing to unpack .../21-libgcc-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 173s Unpacking libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 173s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 173s Preparing to unpack .../22-gcc-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 173s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 173s Selecting previously unselected package gcc-13. 173s Preparing to unpack .../23-gcc-13_13.2.0-23ubuntu4_ppc64el.deb ... 173s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 173s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 173s Preparing to unpack .../24-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 173s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 173s Selecting previously unselected package gcc. 173s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 173s Unpacking gcc (4:13.2.0-7ubuntu1) ... 173s Selecting previously unselected package libstdc++-13-dev:ppc64el. 173s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 173s Unpacking libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 174s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 174s Preparing to unpack .../27-g++-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 174s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 174s Selecting previously unselected package g++-13. 174s Preparing to unpack .../28-g++-13_13.2.0-23ubuntu4_ppc64el.deb ... 174s Unpacking g++-13 (13.2.0-23ubuntu4) ... 174s Selecting previously unselected package g++-powerpc64le-linux-gnu. 174s Preparing to unpack .../29-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 174s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 174s Selecting previously unselected package g++. 174s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 174s Unpacking g++ (4:13.2.0-7ubuntu1) ... 174s Selecting previously unselected package build-essential. 174s Preparing to unpack .../31-build-essential_12.10ubuntu1_ppc64el.deb ... 174s Unpacking build-essential (12.10ubuntu1) ... 174s Selecting previously unselected package libdebhelper-perl. 174s Preparing to unpack .../32-libdebhelper-perl_13.15.3ubuntu2_all.deb ... 174s Unpacking libdebhelper-perl (13.15.3ubuntu2) ... 174s Selecting previously unselected package libtool. 174s Preparing to unpack .../33-libtool_2.4.7-7build1_all.deb ... 174s Unpacking libtool (2.4.7-7build1) ... 174s Selecting previously unselected package dh-autoreconf. 174s Preparing to unpack .../34-dh-autoreconf_20_all.deb ... 174s Unpacking dh-autoreconf (20) ... 174s Selecting previously unselected package libarchive-zip-perl. 174s Preparing to unpack .../35-libarchive-zip-perl_1.68-1_all.deb ... 174s Unpacking libarchive-zip-perl (1.68-1) ... 174s Selecting previously unselected package libfile-stripnondeterminism-perl. 174s Preparing to unpack .../36-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 174s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 174s Selecting previously unselected package dh-strip-nondeterminism. 174s Preparing to unpack .../37-dh-strip-nondeterminism_1.14.0-1_all.deb ... 174s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 174s Selecting previously unselected package debugedit. 174s Preparing to unpack .../38-debugedit_1%3a5.0-5build2_ppc64el.deb ... 174s Unpacking debugedit (1:5.0-5build2) ... 174s Selecting previously unselected package dwz. 174s Preparing to unpack .../39-dwz_0.15-1build6_ppc64el.deb ... 174s Unpacking dwz (0.15-1build6) ... 174s Selecting previously unselected package gettext. 174s Preparing to unpack .../40-gettext_0.21-14ubuntu2_ppc64el.deb ... 174s Unpacking gettext (0.21-14ubuntu2) ... 174s Selecting previously unselected package intltool-debian. 174s Preparing to unpack .../41-intltool-debian_0.35.0+20060710.6_all.deb ... 174s Unpacking intltool-debian (0.35.0+20060710.6) ... 174s Selecting previously unselected package po-debconf. 174s Preparing to unpack .../42-po-debconf_1.0.21+nmu1_all.deb ... 174s Unpacking po-debconf (1.0.21+nmu1) ... 174s Selecting previously unselected package debhelper. 174s Preparing to unpack .../43-debhelper_13.15.3ubuntu2_all.deb ... 174s Unpacking debhelper (13.15.3ubuntu2) ... 175s Selecting previously unselected package dh-python. 175s Preparing to unpack .../44-dh-python_6.20240422_all.deb ... 175s Unpacking dh-python (6.20240422) ... 175s Selecting previously unselected package python3-packaging. 175s Preparing to unpack .../45-python3-packaging_24.0-1_all.deb ... 175s Unpacking python3-packaging (24.0-1) ... 175s Selecting previously unselected package python3-pyproject-hooks. 175s Preparing to unpack .../46-python3-pyproject-hooks_1.1.0-1_all.deb ... 175s Unpacking python3-pyproject-hooks (1.1.0-1) ... 175s Selecting previously unselected package python3-toml. 175s Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ... 175s Unpacking python3-toml (0.10.2-1) ... 175s Selecting previously unselected package python3-wheel. 175s Preparing to unpack .../48-python3-wheel_0.43.0-1_all.deb ... 175s Unpacking python3-wheel (0.43.0-1) ... 175s Selecting previously unselected package python3-build. 175s Preparing to unpack .../49-python3-build_1.2.1-1_all.deb ... 175s Unpacking python3-build (1.2.1-1) ... 175s Selecting previously unselected package python3-installer. 175s Preparing to unpack .../50-python3-installer_0.7.0+dfsg1-3_all.deb ... 175s Unpacking python3-installer (0.7.0+dfsg1-3) ... 175s Selecting previously unselected package pybuild-plugin-pyproject. 175s Preparing to unpack .../51-pybuild-plugin-pyproject_6.20240422_all.deb ... 175s Unpacking pybuild-plugin-pyproject (6.20240422) ... 175s Selecting previously unselected package python3-sniffio. 175s Preparing to unpack .../52-python3-sniffio_1.3.1-1_all.deb ... 175s Unpacking python3-sniffio (1.3.1-1) ... 175s Selecting previously unselected package python3-anyio. 175s Preparing to unpack .../53-python3-anyio_4.3.0-1_all.deb ... 175s Unpacking python3-anyio (4.3.0-1) ... 175s Selecting previously unselected package python3-paho-mqtt. 175s Preparing to unpack .../54-python3-paho-mqtt_2.0.0-1_all.deb ... 175s Unpacking python3-paho-mqtt (2.0.0-1) ... 175s Selecting previously unselected package python3-asyncio-mqtt. 175s Preparing to unpack .../55-python3-asyncio-mqtt_0.16.1-3_all.deb ... 175s Unpacking python3-asyncio-mqtt (0.16.1-3) ... 175s Selecting previously unselected package python3-iniconfig. 175s Preparing to unpack .../56-python3-iniconfig_1.1.1-2_all.deb ... 175s Unpacking python3-iniconfig (1.1.1-2) ... 175s Selecting previously unselected package python3-pluggy. 175s Preparing to unpack .../57-python3-pluggy_1.5.0-1_all.deb ... 175s Unpacking python3-pluggy (1.5.0-1) ... 175s Selecting previously unselected package python3-pytest. 175s Preparing to unpack .../58-python3-pytest_7.4.4-1_all.deb ... 175s Unpacking python3-pytest (7.4.4-1) ... 175s Selecting previously unselected package autopkgtest-satdep. 175s Preparing to unpack .../59-1-autopkgtest-satdep.deb ... 175s Unpacking autopkgtest-satdep (0) ... 175s Setting up dh-python (6.20240422) ... 175s Setting up python3-iniconfig (1.1.1-2) ... 175s Setting up python3-sniffio (1.3.1-1) ... 175s Setting up python3-anyio (4.3.0-1) ... 176s Setting up libarchive-zip-perl (1.68-1) ... 176s Setting up libdebhelper-perl (13.15.3ubuntu2) ... 176s Setting up m4 (1.4.19-4build1) ... 176s Setting up libgomp1:ppc64el (14.1.0-1ubuntu1) ... 176s Setting up python3-wheel (0.43.0-1) ... 176s Setting up autotools-dev (20220109.1) ... 176s Setting up python3-packaging (24.0-1) ... 176s Setting up gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 176s Setting up python3-pyproject-hooks (1.1.0-1) ... 176s Setting up libquadmath0:ppc64el (14.1.0-1ubuntu1) ... 176s Setting up python3-paho-mqtt (2.0.0-1) ... 176s Setting up libmpc3:ppc64el (1.3.1-1build1) ... 176s Setting up libatomic1:ppc64el (14.1.0-1ubuntu1) ... 176s Setting up autopoint (0.21-14ubuntu2) ... 176s Setting up python3-asyncio-mqtt (0.16.1-3) ... 177s Setting up python3-toml (0.10.2-1) ... 177s Setting up python3-installer (0.7.0+dfsg1-3) ... 177s Setting up autoconf (2.71-3) ... 177s Setting up python3-pluggy (1.5.0-1) ... 177s Setting up libubsan1:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up dwz (0.15-1build6) ... 177s Setting up libasan8:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up debugedit (1:5.0-5build2) ... 177s Setting up libtsan2:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up libisl23:ppc64el (0.26-3build1) ... 177s Setting up python3-build (1.2.1-1) ... 177s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 177s Setting up libcc1-0:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up liblsan0:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up libitm1:ppc64el (14.1.0-1ubuntu1) ... 177s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 177s Setting up automake (1:1.16.5-1.3ubuntu1) ... 177s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 177s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 177s Setting up gettext (0.21-14ubuntu2) ... 177s Setting up cpp-13 (13.2.0-23ubuntu4) ... 177s Setting up pybuild-plugin-pyproject (6.20240422) ... 177s Setting up python3-pytest (7.4.4-1) ... 178s Setting up intltool-debian (0.35.0+20060710.6) ... 178s Setting up dh-strip-nondeterminism (1.14.0-1) ... 178s Setting up libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 178s Setting up cpp (4:13.2.0-7ubuntu1) ... 178s Setting up libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 178s Setting up po-debconf (1.0.21+nmu1) ... 178s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 178s Setting up gcc-13 (13.2.0-23ubuntu4) ... 178s Setting up libtool (2.4.7-7build1) ... 178s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 178s Setting up dh-autoreconf (20) ... 178s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 178s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 178s Setting up g++-13 (13.2.0-23ubuntu4) ... 178s Setting up debhelper (13.15.3ubuntu2) ... 178s Setting up gcc (4:13.2.0-7ubuntu1) ... 178s Setting up g++ (4:13.2.0-7ubuntu1) ... 178s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 178s Setting up build-essential (12.10ubuntu1) ... 178s Setting up autopkgtest-satdep (0) ... 178s Processing triggers for man-db (2.12.1-2) ... 179s Processing triggers for install-info (7.1-3build2) ... 179s Processing triggers for libc-bin (2.39-0ubuntu9) ... 182s (Reading database ... 75361 files and directories currently installed.) 182s Removing autopkgtest-satdep (0) ... 182s autopkgtest [10:29:20]: test command1: cp -r tests "$AUTOPKGTEST_TMP"; cd "$AUTOPKGTEST_TMP"; python3 -m pytest tests 182s autopkgtest [10:29:20]: test command1: [----------------------- 183s ============================= test session starts ============================== 183s platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 183s rootdir: /tmp/autopkgtest.Afxnoc/autopkgtest_tmp 183s plugins: anyio-4.3.0 183s collected 50 items 183s 183s tests/test_client.py ...ssssFFFsssssssss [ 38%] 183s tests/test_error.py ............................... [100%] 183s 183s =================================== FAILURES =================================== 183s _____________________________ test_client_id[3-22] _____________________________ 183s 183s protocol = , length = 22 183s 183s @pytest.mark.parametrize( 183s "protocol, length", 183s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 183s ) 183s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 183s > client = Client(HOSTNAME, protocol=protocol) 183s 183s tests/test_client.py:187: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s hostname = 'test.mosquitto.org', port = 1883 183s 183s def __init__( # noqa: C901 183s self, 183s hostname: str, 183s port: int = 1883, 183s *, 183s username: str | None = None, 183s password: str | None = None, 183s logger: logging.Logger | None = None, 183s client_id: str | None = None, 183s tls_context: ssl.SSLContext | None = None, 183s tls_params: TLSParameters | None = None, 183s proxy: ProxySettings | None = None, 183s protocol: ProtocolVersion | None = None, 183s will: Will | None = None, 183s clean_session: bool | None = None, 183s transport: str = "tcp", 183s keepalive: int = 60, 183s bind_address: str = "", 183s bind_port: int = 0, 183s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 183s properties: Properties | None = None, 183s message_retry_set: int = 20, 183s socket_options: Iterable[SocketOption] | None = None, 183s max_concurrent_outgoing_calls: int | None = None, 183s websocket_path: str | None = None, 183s websocket_headers: WebSocketHeaders | None = None, 183s ): 183s self._hostname = hostname 183s self._port = port 183s self._keepalive = keepalive 183s self._bind_address = bind_address 183s self._bind_port = bind_port 183s self._clean_start = clean_start 183s self._properties = properties 183s self._loop = asyncio.get_event_loop() 183s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 183s self._disconnected: asyncio.Future[ 183s int | mqtt.ReasonCodes | None 183s ] = asyncio.Future() 183s # Pending subscribe, unsubscribe, and publish calls 183s self._pending_subscribes: dict[ 183s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 183s ] = {} 183s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 183s self._pending_publishes: dict[int, asyncio.Event] = {} 183s self._pending_calls_threshold: int = 10 183s self._misc_task: asyncio.Task[None] | None = None 183s 183s # List of all callbacks to call when a message is received 183s self._on_message_callbacks: list[Callable[[Message], None]] = [] 183s self._unfiltered_messages_callback: Callable[ 183s [mqtt.Client, Any, mqtt.MQTTMessage], None 183s ] | None = None 183s 183s self._outgoing_calls_sem: asyncio.Semaphore | None 183s if max_concurrent_outgoing_calls is not None: 183s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 183s else: 183s self._outgoing_calls_sem = None 183s 183s if protocol is None: 183s protocol = ProtocolVersion.V311 183s 183s > self._client: mqtt.Client = mqtt.Client( 183s client_id=client_id, 183s protocol=protocol, 183s clean_session=clean_session, 183s transport=transport, 183s reconnect_on_failure=False, 183s ) 183s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 183s 183s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 183s _____________________________ test_client_id[4-0] ______________________________ 183s 183s protocol = , length = 0 183s 183s @pytest.mark.parametrize( 183s "protocol, length", 183s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 183s ) 183s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 183s > client = Client(HOSTNAME, protocol=protocol) 183s 183s tests/test_client.py:187: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s hostname = 'test.mosquitto.org', port = 1883 183s 183s def __init__( # noqa: C901 183s self, 183s hostname: str, 183s port: int = 1883, 183s *, 183s username: str | None = None, 183s password: str | None = None, 183s logger: logging.Logger | None = None, 183s client_id: str | None = None, 183s tls_context: ssl.SSLContext | None = None, 183s tls_params: TLSParameters | None = None, 183s proxy: ProxySettings | None = None, 183s protocol: ProtocolVersion | None = None, 183s will: Will | None = None, 183s clean_session: bool | None = None, 183s transport: str = "tcp", 183s keepalive: int = 60, 183s bind_address: str = "", 183s bind_port: int = 0, 183s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 183s properties: Properties | None = None, 183s message_retry_set: int = 20, 183s socket_options: Iterable[SocketOption] | None = None, 183s max_concurrent_outgoing_calls: int | None = None, 183s websocket_path: str | None = None, 183s websocket_headers: WebSocketHeaders | None = None, 183s ): 183s self._hostname = hostname 183s self._port = port 183s self._keepalive = keepalive 183s self._bind_address = bind_address 183s self._bind_port = bind_port 183s self._clean_start = clean_start 183s self._properties = properties 183s self._loop = asyncio.get_event_loop() 183s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 183s self._disconnected: asyncio.Future[ 183s int | mqtt.ReasonCodes | None 183s ] = asyncio.Future() 183s # Pending subscribe, unsubscribe, and publish calls 183s self._pending_subscribes: dict[ 183s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 183s ] = {} 183s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 183s self._pending_publishes: dict[int, asyncio.Event] = {} 183s self._pending_calls_threshold: int = 10 183s self._misc_task: asyncio.Task[None] | None = None 183s 183s # List of all callbacks to call when a message is received 183s self._on_message_callbacks: list[Callable[[Message], None]] = [] 183s self._unfiltered_messages_callback: Callable[ 183s [mqtt.Client, Any, mqtt.MQTTMessage], None 183s ] | None = None 183s 183s self._outgoing_calls_sem: asyncio.Semaphore | None 183s if max_concurrent_outgoing_calls is not None: 183s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 183s else: 183s self._outgoing_calls_sem = None 183s 183s if protocol is None: 183s protocol = ProtocolVersion.V311 183s 183s > self._client: mqtt.Client = mqtt.Client( 183s client_id=client_id, 183s protocol=protocol, 183s clean_session=clean_session, 183s transport=transport, 183s reconnect_on_failure=False, 183s ) 183s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 183s 183s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 183s _____________________________ test_client_id[5-0] ______________________________ 183s 183s protocol = , length = 0 183s 183s @pytest.mark.parametrize( 183s "protocol, length", 183s ((ProtocolVersion.V31, 22), (ProtocolVersion.V311, 0), (ProtocolVersion.V5, 0)), 183s ) 183s async def test_client_id(protocol: ProtocolVersion, length: int) -> None: 183s > client = Client(HOSTNAME, protocol=protocol) 183s 183s tests/test_client.py:187: 183s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 183s 183s self = 183s hostname = 'test.mosquitto.org', port = 1883 183s 183s def __init__( # noqa: C901 183s self, 183s hostname: str, 183s port: int = 1883, 183s *, 183s username: str | None = None, 183s password: str | None = None, 183s logger: logging.Logger | None = None, 183s client_id: str | None = None, 183s tls_context: ssl.SSLContext | None = None, 183s tls_params: TLSParameters | None = None, 183s proxy: ProxySettings | None = None, 183s protocol: ProtocolVersion | None = None, 183s will: Will | None = None, 183s clean_session: bool | None = None, 183s transport: str = "tcp", 183s keepalive: int = 60, 183s bind_address: str = "", 183s bind_port: int = 0, 183s clean_start: int = mqtt.MQTT_CLEAN_START_FIRST_ONLY, 183s properties: Properties | None = None, 183s message_retry_set: int = 20, 183s socket_options: Iterable[SocketOption] | None = None, 183s max_concurrent_outgoing_calls: int | None = None, 183s websocket_path: str | None = None, 183s websocket_headers: WebSocketHeaders | None = None, 183s ): 183s self._hostname = hostname 183s self._port = port 183s self._keepalive = keepalive 183s self._bind_address = bind_address 183s self._bind_port = bind_port 183s self._clean_start = clean_start 183s self._properties = properties 183s self._loop = asyncio.get_event_loop() 183s self._connected: asyncio.Future[int | mqtt.ReasonCodes] = asyncio.Future() 183s self._disconnected: asyncio.Future[ 183s int | mqtt.ReasonCodes | None 183s ] = asyncio.Future() 183s # Pending subscribe, unsubscribe, and publish calls 183s self._pending_subscribes: dict[ 183s int, asyncio.Future[tuple[int] | list[mqtt.ReasonCodes]] 183s ] = {} 183s self._pending_unsubscribes: dict[int, asyncio.Event] = {} 183s self._pending_publishes: dict[int, asyncio.Event] = {} 183s self._pending_calls_threshold: int = 10 183s self._misc_task: asyncio.Task[None] | None = None 183s 183s # List of all callbacks to call when a message is received 183s self._on_message_callbacks: list[Callable[[Message], None]] = [] 183s self._unfiltered_messages_callback: Callable[ 183s [mqtt.Client, Any, mqtt.MQTTMessage], None 183s ] | None = None 183s 183s self._outgoing_calls_sem: asyncio.Semaphore | None 183s if max_concurrent_outgoing_calls is not None: 183s self._outgoing_calls_sem = asyncio.Semaphore(max_concurrent_outgoing_calls) 183s else: 183s self._outgoing_calls_sem = None 183s 183s if protocol is None: 183s protocol = ProtocolVersion.V311 183s 183s > self._client: mqtt.Client = mqtt.Client( 183s client_id=client_id, 183s protocol=protocol, 183s clean_session=clean_session, 183s transport=transport, 183s reconnect_on_failure=False, 183s ) 183s E TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version' 183s 183s /usr/lib/python3/dist-packages/asyncio_mqtt/client.py:292: TypeError 183s =============================== warnings summary =============================== 183s tests/test_client.py::test_client_id[3-22] 183s tests/test_client.py::test_client_id[4-0] 183s tests/test_client.py::test_client_id[5-0] 183s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: 183s 183s Traceback (most recent call last): 183s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 874, in __del__ 183s self._reset_sockets() 183s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 1133, in _reset_sockets 183s self._sock_close() 183s File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 1119, in _sock_close 183s if not self._sock: 183s ^^^^^^^^^^ 183s AttributeError: 'Client' object has no attribute '_sock' 183s 183s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 183s 183s tests/test_error.py::test_mqtt_code_error_reason_codes[2-Success] 183s tests/test_error.py::test_mqtt_code_error_reason_codes[4-Success] 183s tests/test_error.py::test_mqtt_code_error_reason_codes[9-Granted QoS 1] 183s /tmp/autopkgtest.Afxnoc/autopkgtest_tmp/tests/test_error.py:44: DeprecationWarning: ReasonCodes is deprecated, use ReasonCode (singular) instead 183s rc = mqtt.ReasonCodes(packet_type, a_name) 183s 183s tests/test_error.py::test_mqtt_connect_error_reason_codes[2-Success] 183s tests/test_error.py::test_mqtt_connect_error_reason_codes[4-Success] 183s tests/test_error.py::test_mqtt_connect_error_reason_codes[9-Granted QoS 1] 183s /tmp/autopkgtest.Afxnoc/autopkgtest_tmp/tests/test_error.py:71: DeprecationWarning: ReasonCodes is deprecated, use ReasonCode (singular) instead 183s rc = mqtt.ReasonCodes(packet_type, a_name) 183s 183s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 183s =========================== short test summary info ============================ 183s FAILED tests/test_client.py::test_client_id[3-22] - TypeError: Client.__init_... 183s FAILED tests/test_client.py::test_client_id[4-0] - TypeError: Client.__init__... 183s FAILED tests/test_client.py::test_client_id[5-0] - TypeError: Client.__init__... 183s ============= 3 failed, 34 passed, 13 skipped, 9 warnings in 0.28s ============= 184s autopkgtest [10:29:22]: test command1: -----------------------] 184s command1 FAIL non-zero exit status 1 184s autopkgtest [10:29:22]: test command1: - - - - - - - - - - results - - - - - - - - - - 184s autopkgtest [10:29:22]: @@@@@@@@@@@@@@@@@@@@ summary 184s command1 FAIL non-zero exit status 1 197s nova [W] Using flock in scalingstack-bos01-ppc64el 197s Creating nova instance adt-oracular-ppc64el-python-asyncio-mqtt-20240616-102618-juju-7f2275-prod-proposed-migration-environment-2-73e5f356-a68e-4d99-b22e-01d40ba2603c from image adt/ubuntu-oracular-ppc64el-server-20240616.img (UUID 9b457a1c-2888-49ee-9317-eaf7cec2f603)...