0s autopkgtest [10:01:05]: starting date and time: 2024-11-15 10:01:05+0000 0s autopkgtest [10:01:05]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [10:01:05]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7sqk2qv9/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pyyaml --apt-upgrade lavacli --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pyyaml/6.0.2-1build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-32.secgroup --name adt-plucky-amd64-lavacli-20241115-100105-juju-7f2275-prod-proposed-migration-environment-15-1f432289-5d53-446e-a4ae-6a42dc6e8ec8 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -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/ 40s autopkgtest [10:01:45]: testbed dpkg architecture: amd64 41s autopkgtest [10:01:46]: testbed apt version: 2.9.8 41s autopkgtest [10:01:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 42s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 42s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1059 kB] 42s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [95.8 kB] 42s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 42s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 42s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [109 kB] 42s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [176 kB] 42s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 42s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [835 kB] 42s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [298 kB] 42s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9416 B] 42s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 42s Fetched 2713 kB in 1s (3171 kB/s) 42s Reading package lists... 45s Reading package lists... 45s Building dependency tree... 45s Reading state information... 45s Calculating upgrade... 45s The following packages will be upgraded: 45s firmware-sof-signed grub-common grub-pc grub-pc-bin grub2-common libcap-ng0 45s libexpat1 lxd-installer man-db pastebinit python3-systemd python3-yaml 45s xfsprogs 45s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 45s Need to get 13.8 MB of archives. 45s After this operation, 765 kB of additional disk space will be used. 45s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 46s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 46s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libexpat1 amd64 2.6.4-1 [94.9 kB] 46s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-yaml amd64 6.0.2-1build1 [187 kB] 46s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 man-db amd64 2.13.0-1 [1352 kB] 46s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 grub2-common amd64 2.12-5ubuntu7 [672 kB] 46s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-pc amd64 2.12-5ubuntu7 [137 kB] 46s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-pc-bin amd64 2.12-5ubuntu7 [1127 kB] 46s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-common amd64 2.12-5ubuntu7 [2110 kB] 46s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 lxd-installer all 9 [5084 B] 46s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 46s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 46s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 xfsprogs amd64 6.8.0-2.2ubuntu2 [926 kB] 46s Preconfiguring packages ... 46s Fetched 13.8 MB in 1s (12.6 MB/s) 47s (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 ... 75542 files and directories currently installed.) 47s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 47s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 47s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 47s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 47s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 47s (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 ... 75568 files and directories currently installed.) 47s Preparing to unpack .../00-libexpat1_2.6.4-1_amd64.deb ... 47s Unpacking libexpat1:amd64 (2.6.4-1) over (2.6.2-2) ... 47s Preparing to unpack .../01-python3-yaml_6.0.2-1build1_amd64.deb ... 47s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 47s Preparing to unpack .../02-man-db_2.13.0-1_amd64.deb ... 47s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 47s Preparing to unpack .../03-grub2-common_2.12-5ubuntu7_amd64.deb ... 47s Unpacking grub2-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 47s Preparing to unpack .../04-grub-pc_2.12-5ubuntu7_amd64.deb ... 47s Unpacking grub-pc (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 47s Preparing to unpack .../05-grub-pc-bin_2.12-5ubuntu7_amd64.deb ... 47s Unpacking grub-pc-bin (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 47s Preparing to unpack .../06-grub-common_2.12-5ubuntu7_amd64.deb ... 47s Unpacking grub-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 47s Preparing to unpack .../07-lxd-installer_9_all.deb ... 47s Unpacking lxd-installer (9) over (8) ... 47s Preparing to unpack .../08-pastebinit_1.7.1-1_all.deb ... 47s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 47s Preparing to unpack .../09-python3-systemd_235-1build5_amd64.deb ... 48s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 48s Preparing to unpack .../10-xfsprogs_6.8.0-2.2ubuntu2_amd64.deb ... 48s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 48s Setting up libexpat1:amd64 (2.6.4-1) ... 48s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 48s Setting up pastebinit (1.7.1-1) ... 48s Setting up python3-yaml (6.0.2-1build1) ... 48s Setting up man-db (2.13.0-1) ... 48s Updating database of manual pages ... 50s man-db.service is a disabled or a static unit not running, not starting it. 50s Setting up grub-common (2.12-5ubuntu7) ... 50s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 50s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 50s update-initramfs: deferring update (trigger activated) 51s Setting up lxd-installer (9) ... 51s Setting up python3-systemd (235-1build5) ... 51s Setting up grub2-common (2.12-5ubuntu7) ... 51s Setting up grub-pc-bin (2.12-5ubuntu7) ... 51s Setting up grub-pc (2.12-5ubuntu7) ... 51s Installing for i386-pc platform. 52s Installation finished. No error reported. 52s Sourcing file `/etc/default/grub' 52s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 52s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 52s Generating grub configuration file ... 52s Found linux image: /boot/vmlinuz-6.11.0-8-generic 52s Found initrd image: /boot/initrd.img-6.11.0-8-generic 52s Warning: os-prober will not be executed to detect other bootable partitions. 52s Systems on them will not be added to the GRUB boot configuration. 52s Check GRUB_DISABLE_OS_PROBER documentation entry. 52s Adding boot menu entry for UEFI Firmware Settings ... 52s done 52s Processing triggers for libc-bin (2.40-1ubuntu3) ... 52s Processing triggers for install-info (7.1.1-1) ... 52s Processing triggers for initramfs-tools (0.142ubuntu34) ... 52s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 52s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 61s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 61s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 61s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 61s Reading package lists... 61s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Calculating upgrade... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s autopkgtest [10:02:07]: rebooting testbed after setup commands that affected boot 66s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 80s autopkgtest [10:02:25]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 83s autopkgtest [10:02:28]: @@@@@@@@@@@@@@@@@@@@ apt-source lavacli 84s Get:1 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (dsc) [2181 B] 84s Get:2 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (tar) [70.3 kB] 84s Get:3 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (diff) [15.3 kB] 84s gpgv: Signature made Fri Dec 17 18:28:19 2021 UTC 84s gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE 84s gpgv: Can't check signature: No public key 84s dpkg-source: warning: cannot verify inline signature for ./lavacli_1.2-1.dsc: no acceptable signature found 85s autopkgtest [10:02:30]: testing package lavacli version 1.2-1 85s autopkgtest [10:02:30]: build not needed 85s autopkgtest [10:02:30]: test testsuite: preparing testbed 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Starting pkgProblemResolver with broken count: 0 87s Starting 2 pkgProblemResolver with broken count: 0 87s Done 87s The following additional packages will be installed: 87s lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 python3-aiohttp 87s python3-aiosignal python3-async-timeout python3-frozenlist python3-iniconfig 87s python3-multidict python3-packaging python3-pluggy python3-py python3-pytest 87s python3-yarl python3-zmq 87s Suggested packages: 87s subversion 87s Recommended packages: 87s libjs-jquery python3-aiodns 87s The following NEW packages will be installed: 87s autopkgtest-satdep lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 87s python3-aiohttp python3-aiosignal python3-async-timeout python3-frozenlist 87s python3-iniconfig python3-multidict python3-packaging python3-pluggy 87s python3-py python3-pytest python3-yarl python3-zmq 87s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 1913 kB/1914 kB of archives. 87s After this operation, 7491 kB of additional disk space will be used. 87s Get:1 /tmp/autopkgtest.cY8Qld/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [716 B] 87s Get:2 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-multidict amd64 6.1.0-1 [34.3 kB] 87s Get:3 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-yarl amd64 1.9.4-1 [71.8 kB] 87s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-timeout all 4.0.3-1 [6412 B] 87s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-frozenlist amd64 1.5.0-1 [53.2 kB] 87s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiosignal all 1.3.1-1 [5172 B] 87s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiohttp amd64 3.9.5-1 [285 kB] 88s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-py all 1.11.0-2 [72.7 kB] 88s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 libnorm1t64 amd64 1.5.9+dfsg-3.1build1 [154 kB] 88s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 libpgm-5.3-0t64 amd64 5.3.128~dfsg-2.1build1 [167 kB] 88s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libsodium23 amd64 1.0.18-1build3 [161 kB] 88s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 libzmq5 amd64 4.3.5-1build2 [260 kB] 88s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-zmq amd64 24.0.1-5build1 [286 kB] 88s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 lavacli all 1.2-1 [37.0 kB] 88s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 88s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 88s Get:17 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 88s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 88s Fetched 1913 kB in 1s (3129 kB/s) 88s Selecting previously unselected package python3-multidict. 88s (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 ... 75576 files and directories currently installed.) 88s Preparing to unpack .../00-python3-multidict_6.1.0-1_amd64.deb ... 88s Unpacking python3-multidict (6.1.0-1) ... 88s Selecting previously unselected package python3-yarl. 88s Preparing to unpack .../01-python3-yarl_1.9.4-1_amd64.deb ... 88s Unpacking python3-yarl (1.9.4-1) ... 88s Selecting previously unselected package python3-async-timeout. 88s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 88s Unpacking python3-async-timeout (4.0.3-1) ... 88s Selecting previously unselected package python3-frozenlist. 88s Preparing to unpack .../03-python3-frozenlist_1.5.0-1_amd64.deb ... 88s Unpacking python3-frozenlist (1.5.0-1) ... 88s Selecting previously unselected package python3-aiosignal. 88s Preparing to unpack .../04-python3-aiosignal_1.3.1-1_all.deb ... 88s Unpacking python3-aiosignal (1.3.1-1) ... 88s Selecting previously unselected package python3-aiohttp. 88s Preparing to unpack .../05-python3-aiohttp_3.9.5-1_amd64.deb ... 88s Unpacking python3-aiohttp (3.9.5-1) ... 88s Selecting previously unselected package python3-py. 88s Preparing to unpack .../06-python3-py_1.11.0-2_all.deb ... 88s Unpacking python3-py (1.11.0-2) ... 88s Selecting previously unselected package libnorm1t64:amd64. 88s Preparing to unpack .../07-libnorm1t64_1.5.9+dfsg-3.1build1_amd64.deb ... 88s Unpacking libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 88s Selecting previously unselected package libpgm-5.3-0t64:amd64. 88s Preparing to unpack .../08-libpgm-5.3-0t64_5.3.128~dfsg-2.1build1_amd64.deb ... 88s Unpacking libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 88s Selecting previously unselected package libsodium23:amd64. 88s Preparing to unpack .../09-libsodium23_1.0.18-1build3_amd64.deb ... 88s Unpacking libsodium23:amd64 (1.0.18-1build3) ... 88s Selecting previously unselected package libzmq5:amd64. 88s Preparing to unpack .../10-libzmq5_4.3.5-1build2_amd64.deb ... 88s Unpacking libzmq5:amd64 (4.3.5-1build2) ... 88s Selecting previously unselected package python3-zmq. 88s Preparing to unpack .../11-python3-zmq_24.0.1-5build1_amd64.deb ... 88s Unpacking python3-zmq (24.0.1-5build1) ... 88s Selecting previously unselected package lavacli. 88s Preparing to unpack .../12-lavacli_1.2-1_all.deb ... 88s Unpacking lavacli (1.2-1) ... 88s Selecting previously unselected package python3-iniconfig. 88s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 88s Unpacking python3-iniconfig (1.1.1-2) ... 88s Selecting previously unselected package python3-packaging. 88s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 88s Unpacking python3-packaging (24.1-1) ... 88s Selecting previously unselected package python3-pluggy. 89s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 89s Unpacking python3-pluggy (1.5.0-1) ... 89s Selecting previously unselected package python3-pytest. 89s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 89s Unpacking python3-pytest (8.3.3-1) ... 89s Selecting previously unselected package autopkgtest-satdep. 89s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 89s Unpacking autopkgtest-satdep (0) ... 89s Setting up python3-iniconfig (1.1.1-2) ... 89s Setting up libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 89s Setting up libsodium23:amd64 (1.0.18-1build3) ... 89s Setting up python3-py (1.11.0-2) ... 89s Setting up python3-multidict (6.1.0-1) ... 89s Setting up python3-frozenlist (1.5.0-1) ... 89s Setting up python3-aiosignal (1.3.1-1) ... 89s Setting up python3-async-timeout (4.0.3-1) ... 89s Setting up libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 89s Setting up python3-packaging (24.1-1) ... 89s Setting up python3-pluggy (1.5.0-1) ... 89s Setting up python3-yarl (1.9.4-1) ... 89s Setting up libzmq5:amd64 (4.3.5-1build2) ... 89s Setting up python3-pytest (8.3.3-1) ... 90s Setting up python3-aiohttp (3.9.5-1) ... 90s Setting up python3-zmq (24.0.1-5build1) ... 90s Setting up lavacli (1.2-1) ... 90s Setting up autopkgtest-satdep (0) ... 90s Processing triggers for man-db (2.13.0-1) ... 91s Processing triggers for libc-bin (2.40-1ubuntu3) ... 93s (Reading database ... 76200 files and directories currently installed.) 93s Removing autopkgtest-satdep (0) ... 93s autopkgtest [10:02:38]: test testsuite: [----------------------- 94s ============================= test session starts ============================== 94s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 94s rootdir: /tmp/autopkgtest.cY8Qld/autopkgtest_tmp 94s plugins: typeguard-4.4.1 94s collected 199 items 94s 94s tests/test_aliases.py ............. [ 6%] 95s tests/test_device_types.py ........FF............... [ 19%] 95s tests/test_devices.py ................................... [ 36%] 96s tests/test_events.py ............ [ 42%] 96s tests/test_helpers.py .. [ 43%] 96s tests/test_identities.py ............. [ 50%] 96s tests/test_jobs.py ......................................... [ 70%] 96s tests/test_lavacli.py ... [ 72%] 97s tests/test_results.py .............. [ 79%] 97s tests/test_system.py ............ [ 85%] 97s tests/test_tags.py ........ [ 89%] 97s tests/test_workers.py ..................... [100%] 97s 97s =================================== FAILURES =================================== 97s _________________________ test_dt_hc_get_before_2018_4 _________________________ 97s 97s setup = None 97s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x798e72456a20> 97s capsys = <_pytest.capture.CaptureFixture object at 0x798e72455c10> 97s 97s def test_dt_hc_get_before_2018_4(setup, monkeypatch, capsys): 97s version = "2018.2" 97s monkeypatch.setattr( 97s sys, "argv", ["lavacli", "device-types", "health-check", "get", "mydt"] 97s ) 97s monkeypatch.setattr( 97s xmlrpc.client.ServerProxy, 97s "data", 97s [ 97s {"request": "system.version", "args": (), "ret": version}, 97s {"request": None, "args": (), "ret": []}, 97s ], 97s ) 97s with pytest.raises(SystemExit): 97s main() 97s > assert ( # nosec 97s capsys.readouterr()[1] 97s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 97s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 97s """ 97s ) 97s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 97s E 97s E Skipping 166 identical leading characters in diff, use -v to show 97s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 97s E ? - - - - - - - - - - - - 97s E + oose from add, aliases, list, show, template, update) 97s 97s tests/test_device_types.py:227: AssertionError 97s _________________________ test_dt_hc_set_before_2018_4 _________________________ 97s 97s setup = None 97s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x798e7243d3d0> 97s capsys = <_pytest.capture.CaptureFixture object at 0x798e722976b0> 97s 97s def test_dt_hc_set_before_2018_4(setup, monkeypatch, capsys): 97s version = "2018.2" 97s monkeypatch.setattr( 97s sys, "argv", ["lavacli", "device-types", "health-check", "set", "mydt"] 97s ) 97s monkeypatch.setattr( 97s xmlrpc.client.ServerProxy, 97s "data", 97s [ 97s {"request": "system.version", "args": (), "ret": version}, 97s {"request": None, "args": (), "ret": []}, 97s ], 97s ) 97s with pytest.raises(SystemExit): 97s main() 97s > assert ( # nosec 97s capsys.readouterr()[1] 97s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 97s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 97s """ 97s ) 97s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 97s E 97s E Skipping 166 identical leading characters in diff, use -v to show 97s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 97s E ? - - - - - - - - - - - - 97s E + oose from add, aliases, list, show, template, update) 97s 97s tests/test_device_types.py:250: AssertionError 97s =============================== warnings summary =============================== 97s tests/test_events.py: 114 warnings 97s /usr/lib/python3/dist-packages/lavacli/commands/events.py:208: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 97s (topic, _, dt, username, data) = (u(m) for m in msg) 97s 97s tests/test_events.py::test_events_wait_device 97s tests/test_events.py::test_events_wait_device_state 97s tests/test_events.py::test_events_wait_device_health 97s tests/test_events.py::test_events_wait_job 97s tests/test_events.py::test_events_wait_worker 97s tests/test_events.py::test_events_wait_worker_invalid_message 97s /usr/lib/python3/dist-packages/lavacli/commands/events.py:268: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 97s sock.setsockopt(zmq.SUBSCRIBE, b(config.get("events", {}).get("topic", ""))) 97s 97s tests/test_events.py: 106 warnings 97s /usr/lib/python3/dist-packages/lavacli/commands/events.py:293: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 97s (topic, _uuid, _dt, _username, data) = (u(m) for m in msg) 97s 97s tests/test_jobs.py::test_jobs_logs_failure_comment_and_polling 97s /usr/lib/python3/dist-packages/lavacli/commands/jobs.py:550: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 97s "dt": datetime.datetime.utcnow().isoformat(), 97s 97s tests/test_jobs.py::test_jobs_resubmit_follow 97s /usr/lib/python3/dist-packages/lavacli/commands/jobs.py:606: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 97s "dt": datetime.datetime.utcnow().isoformat(), 97s 97s tests/test_jobs.py::test_jobs_run 97s /usr/lib/python3/dist-packages/lavacli/commands/jobs.py:647: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 97s "dt": datetime.datetime.utcnow().isoformat(), 97s 97s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 97s =========================== short test summary info ============================ 97s FAILED tests/test_device_types.py::test_dt_hc_get_before_2018_4 - assert 'usa... 97s FAILED tests/test_device_types.py::test_dt_hc_set_before_2018_4 - assert 'usa... 97s ================= 2 failed, 197 passed, 229 warnings in 3.46s ================== 98s autopkgtest [10:02:43]: test testsuite: -----------------------] 98s testsuite FAIL non-zero exit status 1 98s autopkgtest [10:02:43]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 98s autopkgtest [10:02:43]: @@@@@@@@@@@@@@@@@@@@ summary 98s testsuite FAIL non-zero exit status 1 104s nova [W] Skipping flock for amd64 104s Creating nova instance adt-plucky-amd64-lavacli-20241115-100105-juju-7f2275-prod-proposed-migration-environment-15-1f432289-5d53-446e-a4ae-6a42dc6e8ec8 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)...