0s autopkgtest [16:26:29]: starting date and time: 2024-11-13 16:26:29+0000 0s autopkgtest [16:26:29]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [16:26:29]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8k5o_dw8/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade lavacli --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-2.secgroup --name adt-plucky-ppc64el-lavacli-20241113-162629-juju-7f2275-prod-proposed-migration-environment-20-0df5a4ec-65c2-4ce1-bccf-31d791fdadd8 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -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/ 135s autopkgtest [16:28:44]: testbed dpkg architecture: ppc64el 135s autopkgtest [16:28:44]: testbed apt version: 2.9.8 135s autopkgtest [16:28:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 136s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 136s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 136s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 137s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 137s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 137s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [111 kB] 137s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [660 kB] 137s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.8 kB] 137s Fetched 1944 kB in 1s (1444 kB/s) 137s Reading package lists... 140s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s Calculating upgrade... 142s The following NEW packages will be installed: 142s python3.13-gdbm 142s The following packages will be upgraded: 142s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 142s libutempter0 python3 python3-gdbm python3-minimal 142s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 142s Need to get 1265 kB of archives. 142s After this operation, 141 kB of additional disk space will be used. 142s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 142s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 142s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 142s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 142s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 142s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 142s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 142s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 143s Fetched 1265 kB in 1s (2226 kB/s) 143s (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 ... 73767 files and directories currently installed.) 143s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 143s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 144s Setting up python3-minimal (3.12.7-1) ... 144s (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 ... 73767 files and directories currently installed.) 144s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 144s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 144s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 144s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 144s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 144s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 144s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 144s Selecting previously unselected package python3.13-gdbm. 144s (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 ... 73767 files and directories currently installed.) 144s Preparing to unpack .../python3.13-gdbm_3.13.0-2_ppc64el.deb ... 144s Unpacking python3.13-gdbm (3.13.0-2) ... 144s Preparing to unpack .../python3-gdbm_3.12.7-1_ppc64el.deb ... 144s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 144s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 144s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 144s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 144s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 145s Preparing to unpack .../libutempter0_1.2.1-4_ppc64el.deb ... 145s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 145s Setting up libutempter0:ppc64el (1.2.1-4) ... 145s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 145s Setting up python3.13-gdbm (3.13.0-2) ... 145s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 145s Setting up python3 (3.12.7-1) ... 145s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 145s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 145s Processing triggers for man-db (2.12.1-3) ... 147s Processing triggers for libc-bin (2.40-1ubuntu3) ... 147s Reading package lists... 147s Building dependency tree... 147s Reading state information... 148s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 148s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 148s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 148s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 149s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 150s Reading package lists... 150s Reading package lists... 151s Building dependency tree... 151s Reading state information... 152s Calculating upgrade... 152s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 152s Reading package lists... 153s Building dependency tree... 153s Reading state information... 153s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 156s autopkgtest [16:29:05]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 156s autopkgtest [16:29:05]: @@@@@@@@@@@@@@@@@@@@ apt-source lavacli 158s Get:1 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (dsc) [2181 B] 158s Get:2 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (tar) [70.3 kB] 158s Get:3 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (diff) [15.3 kB] 158s gpgv: Signature made Fri Dec 17 18:28:19 2021 UTC 158s gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE 158s gpgv: Can't check signature: No public key 158s dpkg-source: warning: cannot verify inline signature for ./lavacli_1.2-1.dsc: no acceptable signature found 158s autopkgtest [16:29:07]: testing package lavacli version 1.2-1 159s autopkgtest [16:29:08]: build not needed 159s autopkgtest [16:29:08]: test testsuite: preparing testbed 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 162s Starting pkgProblemResolver with broken count: 0 162s Starting 2 pkgProblemResolver with broken count: 0 162s Done 162s The following additional packages will be installed: 162s lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 python3-aiohttp 162s python3-aiosignal python3-async-timeout python3-frozenlist python3-iniconfig 162s python3-multidict python3-packaging python3-pluggy python3-py python3-pytest 162s python3-yarl python3-zmq 162s Suggested packages: 162s subversion 162s Recommended packages: 162s libjs-jquery python3-aiodns 162s The following NEW packages will be installed: 162s autopkgtest-satdep lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 162s python3-aiohttp python3-aiosignal python3-async-timeout python3-frozenlist 162s python3-iniconfig python3-multidict python3-packaging python3-pluggy 162s python3-py python3-pytest python3-yarl python3-zmq 162s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 162s Need to get 2057 kB/2058 kB of archives. 162s After this operation, 8929 kB of additional disk space will be used. 162s Get:1 /tmp/autopkgtest.BNrgBm/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [716 B] 163s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-multidict ppc64el 6.1.0-1 [36.6 kB] 163s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-yarl ppc64el 1.9.4-1 [76.4 kB] 163s Get:4 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-async-timeout all 4.0.3-1 [6412 B] 163s Get:5 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-frozenlist ppc64el 1.5.0-1 [54.8 kB] 163s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-aiosignal all 1.3.1-1 [5172 B] 163s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-aiohttp ppc64el 3.9.5-1 [307 kB] 163s Get:8 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-py all 1.11.0-2 [72.7 kB] 163s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libnorm1t64 ppc64el 1.5.9+dfsg-3.1build1 [194 kB] 163s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libpgm-5.3-0t64 ppc64el 5.3.128~dfsg-2.1build1 [185 kB] 163s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsodium23 ppc64el 1.0.18-1build3 [150 kB] 163s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libzmq5 ppc64el 4.3.5-1build2 [297 kB] 163s Get:13 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zmq ppc64el 24.0.1-5build1 [316 kB] 163s Get:14 http://ftpmaster.internal/ubuntu plucky/universe ppc64el lavacli all 1.2-1 [37.0 kB] 163s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 163s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 163s Get:17 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 163s Get:18 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 164s Fetched 2057 kB in 1s (3113 kB/s) 164s Selecting previously unselected package python3-multidict. 164s (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 ... 73774 files and directories currently installed.) 164s Preparing to unpack .../00-python3-multidict_6.1.0-1_ppc64el.deb ... 164s Unpacking python3-multidict (6.1.0-1) ... 164s Selecting previously unselected package python3-yarl. 164s Preparing to unpack .../01-python3-yarl_1.9.4-1_ppc64el.deb ... 164s Unpacking python3-yarl (1.9.4-1) ... 164s Selecting previously unselected package python3-async-timeout. 164s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 164s Unpacking python3-async-timeout (4.0.3-1) ... 164s Selecting previously unselected package python3-frozenlist. 164s Preparing to unpack .../03-python3-frozenlist_1.5.0-1_ppc64el.deb ... 164s Unpacking python3-frozenlist (1.5.0-1) ... 164s Selecting previously unselected package python3-aiosignal. 164s Preparing to unpack .../04-python3-aiosignal_1.3.1-1_all.deb ... 164s Unpacking python3-aiosignal (1.3.1-1) ... 164s Selecting previously unselected package python3-aiohttp. 164s Preparing to unpack .../05-python3-aiohttp_3.9.5-1_ppc64el.deb ... 164s Unpacking python3-aiohttp (3.9.5-1) ... 164s Selecting previously unselected package python3-py. 164s Preparing to unpack .../06-python3-py_1.11.0-2_all.deb ... 164s Unpacking python3-py (1.11.0-2) ... 164s Selecting previously unselected package libnorm1t64:ppc64el. 164s Preparing to unpack .../07-libnorm1t64_1.5.9+dfsg-3.1build1_ppc64el.deb ... 164s Unpacking libnorm1t64:ppc64el (1.5.9+dfsg-3.1build1) ... 164s Selecting previously unselected package libpgm-5.3-0t64:ppc64el. 164s Preparing to unpack .../08-libpgm-5.3-0t64_5.3.128~dfsg-2.1build1_ppc64el.deb ... 164s Unpacking libpgm-5.3-0t64:ppc64el (5.3.128~dfsg-2.1build1) ... 164s Selecting previously unselected package libsodium23:ppc64el. 164s Preparing to unpack .../09-libsodium23_1.0.18-1build3_ppc64el.deb ... 164s Unpacking libsodium23:ppc64el (1.0.18-1build3) ... 164s Selecting previously unselected package libzmq5:ppc64el. 164s Preparing to unpack .../10-libzmq5_4.3.5-1build2_ppc64el.deb ... 164s Unpacking libzmq5:ppc64el (4.3.5-1build2) ... 164s Selecting previously unselected package python3-zmq. 164s Preparing to unpack .../11-python3-zmq_24.0.1-5build1_ppc64el.deb ... 164s Unpacking python3-zmq (24.0.1-5build1) ... 164s Selecting previously unselected package lavacli. 164s Preparing to unpack .../12-lavacli_1.2-1_all.deb ... 164s Unpacking lavacli (1.2-1) ... 164s Selecting previously unselected package python3-iniconfig. 164s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 164s Unpacking python3-iniconfig (1.1.1-2) ... 164s Selecting previously unselected package python3-packaging. 164s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 164s Unpacking python3-packaging (24.1-1) ... 165s Selecting previously unselected package python3-pluggy. 165s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 165s Unpacking python3-pluggy (1.5.0-1) ... 165s Selecting previously unselected package python3-pytest. 165s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 165s Unpacking python3-pytest (8.3.3-1) ... 165s Selecting previously unselected package autopkgtest-satdep. 165s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 165s Unpacking autopkgtest-satdep (0) ... 165s Setting up python3-iniconfig (1.1.1-2) ... 165s Setting up libnorm1t64:ppc64el (1.5.9+dfsg-3.1build1) ... 165s Setting up libsodium23:ppc64el (1.0.18-1build3) ... 165s Setting up python3-py (1.11.0-2) ... 165s Setting up python3-multidict (6.1.0-1) ... 165s Setting up python3-frozenlist (1.5.0-1) ... 166s Setting up python3-aiosignal (1.3.1-1) ... 166s Setting up python3-async-timeout (4.0.3-1) ... 166s Setting up libpgm-5.3-0t64:ppc64el (5.3.128~dfsg-2.1build1) ... 166s Setting up python3-packaging (24.1-1) ... 166s Setting up python3-pluggy (1.5.0-1) ... 167s Setting up python3-yarl (1.9.4-1) ... 167s Setting up libzmq5:ppc64el (4.3.5-1build2) ... 167s Setting up python3-pytest (8.3.3-1) ... 167s Setting up python3-aiohttp (3.9.5-1) ... 168s Setting up python3-zmq (24.0.1-5build1) ... 168s Setting up lavacli (1.2-1) ... 169s Setting up autopkgtest-satdep (0) ... 169s Processing triggers for man-db (2.12.1-3) ... 169s Processing triggers for libc-bin (2.40-1ubuntu3) ... 173s (Reading database ... 74398 files and directories currently installed.) 173s Removing autopkgtest-satdep (0) ... 174s autopkgtest [16:29:23]: test testsuite: [----------------------- 176s ============================= test session starts ============================== 176s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 176s rootdir: /tmp/autopkgtest.BNrgBm/autopkgtest_tmp 176s plugins: typeguard-4.4.1 176s collected 199 items 176s 176s tests/test_aliases.py ............. [ 6%] 177s tests/test_device_types.py ........FF............... [ 19%] 178s tests/test_devices.py ................................... [ 36%] 179s tests/test_events.py ............ [ 42%] 179s tests/test_helpers.py .. [ 43%] 179s tests/test_identities.py ............. [ 50%] 181s tests/test_jobs.py ......................................... [ 70%] 181s tests/test_lavacli.py ... [ 72%] 181s tests/test_results.py .............. [ 79%] 182s tests/test_system.py ............ [ 85%] 182s tests/test_tags.py ........ [ 89%] 182s tests/test_workers.py ..................... [100%] 182s 182s =================================== FAILURES =================================== 182s _________________________ test_dt_hc_get_before_2018_4 _________________________ 182s 182s setup = None 182s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x686ff658c7a0> 182s capsys = <_pytest.capture.CaptureFixture object at 0x686ff658c3b0> 182s 182s def test_dt_hc_get_before_2018_4(setup, monkeypatch, capsys): 182s version = "2018.2" 182s monkeypatch.setattr( 182s sys, "argv", ["lavacli", "device-types", "health-check", "get", "mydt"] 182s ) 182s monkeypatch.setattr( 182s xmlrpc.client.ServerProxy, 182s "data", 182s [ 182s {"request": "system.version", "args": (), "ret": version}, 182s {"request": None, "args": (), "ret": []}, 182s ], 182s ) 182s with pytest.raises(SystemExit): 182s main() 182s > assert ( # nosec 182s capsys.readouterr()[1] 182s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 182s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 182s """ 182s ) 182s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 182s E 182s E Skipping 166 identical leading characters in diff, use -v to show 182s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 182s E ? - - - - - - - - - - - - 182s E + oose from add, aliases, list, show, template, update) 182s 182s tests/test_device_types.py:227: AssertionError 182s _________________________ test_dt_hc_set_before_2018_4 _________________________ 182s 182s setup = None 182s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x686ff663ee40> 182s capsys = <_pytest.capture.CaptureFixture object at 0x686ff663f080> 182s 182s def test_dt_hc_set_before_2018_4(setup, monkeypatch, capsys): 182s version = "2018.2" 182s monkeypatch.setattr( 182s sys, "argv", ["lavacli", "device-types", "health-check", "set", "mydt"] 182s ) 182s monkeypatch.setattr( 182s xmlrpc.client.ServerProxy, 182s "data", 182s [ 182s {"request": "system.version", "args": (), "ret": version}, 182s {"request": None, "args": (), "ret": []}, 182s ], 182s ) 182s with pytest.raises(SystemExit): 182s main() 182s > assert ( # nosec 182s capsys.readouterr()[1] 182s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 182s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 182s """ 182s ) 182s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 182s E 182s E Skipping 166 identical leading characters in diff, use -v to show 182s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 182s E ? - - - - - - - - - - - - 182s E + oose from add, aliases, list, show, template, update) 182s 182s tests/test_device_types.py:250: AssertionError 182s =============================== warnings summary =============================== 182s tests/test_events.py: 114 warnings 182s /usr/lib/python3/dist-packages/lavacli/commands/events.py:208: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 182s (topic, _, dt, username, data) = (u(m) for m in msg) 182s 182s tests/test_events.py::test_events_wait_device 182s tests/test_events.py::test_events_wait_device_state 182s tests/test_events.py::test_events_wait_device_health 182s tests/test_events.py::test_events_wait_job 182s tests/test_events.py::test_events_wait_worker 182s tests/test_events.py::test_events_wait_worker_invalid_message 182s /usr/lib/python3/dist-packages/lavacli/commands/events.py:268: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 182s sock.setsockopt(zmq.SUBSCRIBE, b(config.get("events", {}).get("topic", ""))) 182s 182s tests/test_events.py: 106 warnings 182s /usr/lib/python3/dist-packages/lavacli/commands/events.py:293: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 182s (topic, _uuid, _dt, _username, data) = (u(m) for m in msg) 182s 182s tests/test_jobs.py::test_jobs_logs_failure_comment_and_polling 182s /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). 182s "dt": datetime.datetime.utcnow().isoformat(), 182s 182s tests/test_jobs.py::test_jobs_resubmit_follow 182s /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). 182s "dt": datetime.datetime.utcnow().isoformat(), 182s 182s tests/test_jobs.py::test_jobs_run 182s /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). 182s "dt": datetime.datetime.utcnow().isoformat(), 182s 182s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 182s =========================== short test summary info ============================ 182s FAILED tests/test_device_types.py::test_dt_hc_get_before_2018_4 - assert 'usa... 182s FAILED tests/test_device_types.py::test_dt_hc_set_before_2018_4 - assert 'usa... 182s ================= 2 failed, 197 passed, 229 warnings in 7.89s ================== 183s autopkgtest [16:29:32]: test testsuite: -----------------------] 183s testsuite FAIL non-zero exit status 1 183s autopkgtest [16:29:32]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 184s autopkgtest [16:29:33]: @@@@@@@@@@@@@@@@@@@@ summary 184s testsuite FAIL non-zero exit status 1 196s nova [W] Using flock in prodstack6-ppc64el 196s Creating nova instance adt-plucky-ppc64el-lavacli-20241113-162629-juju-7f2275-prod-proposed-migration-environment-20-0df5a4ec-65c2-4ce1-bccf-31d791fdadd8 from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...