0s autopkgtest [16:57:13]: starting date and time: 2024-11-15 16:57:13+0000 0s autopkgtest [16:57:13]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [16:57:13]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.12so8kau/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-aiohttp,src:yarl --apt-upgrade lavacli --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-aiohttp/3.10.10-2build1 yarl/1.13.1-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-31.secgroup --name adt-plucky-amd64-lavacli-20241115-165712-juju-7f2275-prod-proposed-migration-environment-15-d7190a9c-9531-4785-8243-6f5042871107 --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/ 661s autopkgtest [17:08:14]: testbed dpkg architecture: amd64 661s autopkgtest [17:08:14]: testbed apt version: 2.9.8 661s autopkgtest [17:08:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 662s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 662s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1052 kB] 662s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 662s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.2 kB] 662s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 662s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [111 kB] 662s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [178 kB] 662s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 662s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [825 kB] 662s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [299 kB] 662s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9416 B] 662s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 662s Fetched 2699 kB in 1s (3221 kB/s) 662s Reading package lists... 665s Reading package lists... 665s Building dependency tree... 665s Reading state information... 665s Calculating upgrade... 665s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 665s Reading package lists... 665s Building dependency tree... 665s Reading state information... 666s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 666s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 666s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 666s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 666s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 667s Reading package lists... 667s Reading package lists... 667s Building dependency tree... 667s Reading state information... 667s Calculating upgrade... 667s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 667s Reading package lists... 668s Building dependency tree... 668s Reading state information... 668s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 670s autopkgtest [17:08:23]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 671s autopkgtest [17:08:24]: @@@@@@@@@@@@@@@@@@@@ apt-source lavacli 672s Get:1 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (dsc) [2181 B] 672s Get:2 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (tar) [70.3 kB] 672s Get:3 http://ftpmaster.internal/ubuntu plucky/universe lavacli 1.2-1 (diff) [15.3 kB] 672s gpgv: Signature made Fri Dec 17 18:28:19 2021 UTC 672s gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE 672s gpgv: Can't check signature: No public key 672s dpkg-source: warning: cannot verify inline signature for ./lavacli_1.2-1.dsc: no acceptable signature found 672s autopkgtest [17:08:25]: testing package lavacli version 1.2-1 672s autopkgtest [17:08:25]: build not needed 673s autopkgtest [17:08:26]: test testsuite: preparing testbed 675s Reading package lists... 675s Building dependency tree... 675s Reading state information... 675s Starting pkgProblemResolver with broken count: 0 675s Starting 2 pkgProblemResolver with broken count: 0 675s Done 675s The following additional packages will be installed: 675s lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 675s python3-aiohappyeyeballs python3-aiohttp python3-aiosignal 675s python3-async-timeout python3-frozenlist python3-iniconfig python3-multidict 675s python3-packaging python3-pluggy python3-py python3-pytest python3-yarl 675s python3-zmq 675s Suggested packages: 675s subversion 675s Recommended packages: 675s libjs-jquery python3-aiodns 675s The following NEW packages will be installed: 675s autopkgtest-satdep lavacli libnorm1t64 libpgm-5.3-0t64 libsodium23 libzmq5 675s python3-aiohappyeyeballs python3-aiohttp python3-aiosignal 675s python3-async-timeout python3-frozenlist python3-iniconfig python3-multidict 675s python3-packaging python3-pluggy python3-py python3-pytest python3-yarl 675s python3-zmq 675s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 675s Need to get 2071 kB/2072 kB of archives. 675s After this operation, 8665 kB of additional disk space will be used. 675s Get:1 /tmp/autopkgtest.CVoCr5/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [716 B] 676s Get:2 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-multidict amd64 6.1.0-1 [34.3 kB] 676s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-yarl amd64 1.13.1-1build1 [127 kB] 676s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-timeout all 4.0.3-1 [6412 B] 676s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiohappyeyeballs all 2.4.3-1 [10.5 kB] 676s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-frozenlist amd64 1.5.0-1 [53.2 kB] 676s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-aiosignal all 1.3.1-1 [5172 B] 676s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-aiohttp amd64 3.10.10-2build1 [377 kB] 676s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-py all 1.11.0-2 [72.7 kB] 676s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 libnorm1t64 amd64 1.5.9+dfsg-3.1build1 [154 kB] 676s Get:11 http://ftpmaster.internal/ubuntu plucky/universe amd64 libpgm-5.3-0t64 amd64 5.3.128~dfsg-2.1build1 [167 kB] 676s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libsodium23 amd64 1.0.18-1build3 [161 kB] 676s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 libzmq5 amd64 4.3.5-1build2 [260 kB] 676s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-zmq amd64 24.0.1-5build1 [286 kB] 676s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 lavacli all 1.2-1 [37.0 kB] 676s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 676s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 676s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 676s Get:19 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 676s Fetched 2071 kB in 1s (3314 kB/s) 676s Selecting previously unselected package python3-multidict. 677s (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.) 677s Preparing to unpack .../00-python3-multidict_6.1.0-1_amd64.deb ... 677s Unpacking python3-multidict (6.1.0-1) ... 677s Selecting previously unselected package python3-yarl. 677s Preparing to unpack .../01-python3-yarl_1.13.1-1build1_amd64.deb ... 677s Unpacking python3-yarl (1.13.1-1build1) ... 677s Selecting previously unselected package python3-async-timeout. 677s Preparing to unpack .../02-python3-async-timeout_4.0.3-1_all.deb ... 677s Unpacking python3-async-timeout (4.0.3-1) ... 677s Selecting previously unselected package python3-aiohappyeyeballs. 677s Preparing to unpack .../03-python3-aiohappyeyeballs_2.4.3-1_all.deb ... 677s Unpacking python3-aiohappyeyeballs (2.4.3-1) ... 677s Selecting previously unselected package python3-frozenlist. 677s Preparing to unpack .../04-python3-frozenlist_1.5.0-1_amd64.deb ... 677s Unpacking python3-frozenlist (1.5.0-1) ... 677s Selecting previously unselected package python3-aiosignal. 677s Preparing to unpack .../05-python3-aiosignal_1.3.1-1_all.deb ... 677s Unpacking python3-aiosignal (1.3.1-1) ... 677s Selecting previously unselected package python3-aiohttp. 677s Preparing to unpack .../06-python3-aiohttp_3.10.10-2build1_amd64.deb ... 677s Unpacking python3-aiohttp (3.10.10-2build1) ... 677s Selecting previously unselected package python3-py. 677s Preparing to unpack .../07-python3-py_1.11.0-2_all.deb ... 677s Unpacking python3-py (1.11.0-2) ... 677s Selecting previously unselected package libnorm1t64:amd64. 677s Preparing to unpack .../08-libnorm1t64_1.5.9+dfsg-3.1build1_amd64.deb ... 677s Unpacking libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 677s Selecting previously unselected package libpgm-5.3-0t64:amd64. 677s Preparing to unpack .../09-libpgm-5.3-0t64_5.3.128~dfsg-2.1build1_amd64.deb ... 677s Unpacking libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 677s Selecting previously unselected package libsodium23:amd64. 677s Preparing to unpack .../10-libsodium23_1.0.18-1build3_amd64.deb ... 677s Unpacking libsodium23:amd64 (1.0.18-1build3) ... 677s Selecting previously unselected package libzmq5:amd64. 677s Preparing to unpack .../11-libzmq5_4.3.5-1build2_amd64.deb ... 677s Unpacking libzmq5:amd64 (4.3.5-1build2) ... 677s Selecting previously unselected package python3-zmq. 677s Preparing to unpack .../12-python3-zmq_24.0.1-5build1_amd64.deb ... 677s Unpacking python3-zmq (24.0.1-5build1) ... 677s Selecting previously unselected package lavacli. 677s Preparing to unpack .../13-lavacli_1.2-1_all.deb ... 677s Unpacking lavacli (1.2-1) ... 677s Selecting previously unselected package python3-iniconfig. 677s Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... 677s Unpacking python3-iniconfig (1.1.1-2) ... 677s Selecting previously unselected package python3-packaging. 677s Preparing to unpack .../15-python3-packaging_24.1-1_all.deb ... 677s Unpacking python3-packaging (24.1-1) ... 677s Selecting previously unselected package python3-pluggy. 677s Preparing to unpack .../16-python3-pluggy_1.5.0-1_all.deb ... 677s Unpacking python3-pluggy (1.5.0-1) ... 677s Selecting previously unselected package python3-pytest. 677s Preparing to unpack .../17-python3-pytest_8.3.3-1_all.deb ... 677s Unpacking python3-pytest (8.3.3-1) ... 677s Selecting previously unselected package autopkgtest-satdep. 677s Preparing to unpack .../18-1-autopkgtest-satdep.deb ... 677s Unpacking autopkgtest-satdep (0) ... 677s Setting up python3-iniconfig (1.1.1-2) ... 677s Setting up libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 677s Setting up libsodium23:amd64 (1.0.18-1build3) ... 677s Setting up python3-py (1.11.0-2) ... 677s Setting up python3-multidict (6.1.0-1) ... 677s Setting up python3-frozenlist (1.5.0-1) ... 677s Setting up python3-aiosignal (1.3.1-1) ... 677s Setting up python3-async-timeout (4.0.3-1) ... 678s Setting up libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 678s Setting up python3-packaging (24.1-1) ... 678s Setting up python3-aiohappyeyeballs (2.4.3-1) ... 678s Setting up python3-pluggy (1.5.0-1) ... 678s Setting up python3-yarl (1.13.1-1build1) ... 678s Setting up libzmq5:amd64 (4.3.5-1build2) ... 678s Setting up python3-pytest (8.3.3-1) ... 678s Setting up python3-aiohttp (3.10.10-2build1) ... 678s Setting up python3-zmq (24.0.1-5build1) ... 679s Setting up lavacli (1.2-1) ... 679s Setting up autopkgtest-satdep (0) ... 679s Processing triggers for man-db (2.13.0-1) ... 679s Processing triggers for libc-bin (2.40-1ubuntu3) ... 681s (Reading database ... 76223 files and directories currently installed.) 681s Removing autopkgtest-satdep (0) ... 682s autopkgtest [17:08:35]: test testsuite: [----------------------- 683s ============================= test session starts ============================== 683s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 683s rootdir: /tmp/autopkgtest.CVoCr5/autopkgtest_tmp 683s plugins: typeguard-4.4.1 683s collected 199 items 683s 683s tests/test_aliases.py ............. [ 6%] 683s tests/test_device_types.py ........FF............... [ 19%] 684s tests/test_devices.py ................................... [ 36%] 684s tests/test_events.py ............ [ 42%] 684s tests/test_helpers.py .. [ 43%] 684s tests/test_identities.py ............. [ 50%] 685s tests/test_jobs.py ......................................... [ 70%] 685s tests/test_lavacli.py ... [ 72%] 685s tests/test_results.py .............. [ 79%] 685s tests/test_system.py ............ [ 85%] 685s tests/test_tags.py ........ [ 89%] 686s tests/test_workers.py ..................... [100%] 686s 686s =================================== FAILURES =================================== 686s _________________________ test_dt_hc_get_before_2018_4 _________________________ 686s 686s setup = None 686s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a7d22360d70> 686s capsys = <_pytest.capture.CaptureFixture object at 0x7a7d22360590> 686s 686s def test_dt_hc_get_before_2018_4(setup, monkeypatch, capsys): 686s version = "2018.2" 686s monkeypatch.setattr( 686s sys, "argv", ["lavacli", "device-types", "health-check", "get", "mydt"] 686s ) 686s monkeypatch.setattr( 686s xmlrpc.client.ServerProxy, 686s "data", 686s [ 686s {"request": "system.version", "args": (), "ret": version}, 686s {"request": None, "args": (), "ret": []}, 686s ], 686s ) 686s with pytest.raises(SystemExit): 686s main() 686s > assert ( # nosec 686s capsys.readouterr()[1] 686s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 686s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 686s """ 686s ) 686s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 686s E 686s E Skipping 166 identical leading characters in diff, use -v to show 686s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 686s E ? - - - - - - - - - - - - 686s E + oose from add, aliases, list, show, template, update) 686s 686s tests/test_device_types.py:227: AssertionError 686s _________________________ test_dt_hc_set_before_2018_4 _________________________ 686s 686s setup = None 686s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a7d220cb7a0> 686s capsys = <_pytest.capture.CaptureFixture object at 0x7a7d220ca480> 686s 686s def test_dt_hc_set_before_2018_4(setup, monkeypatch, capsys): 686s version = "2018.2" 686s monkeypatch.setattr( 686s sys, "argv", ["lavacli", "device-types", "health-check", "set", "mydt"] 686s ) 686s monkeypatch.setattr( 686s xmlrpc.client.ServerProxy, 686s "data", 686s [ 686s {"request": "system.version", "args": (), "ret": version}, 686s {"request": None, "args": (), "ret": []}, 686s ], 686s ) 686s with pytest.raises(SystemExit): 686s main() 686s > assert ( # nosec 686s capsys.readouterr()[1] 686s == """usage: lavacli device-types [-h] {add,aliases,list,show,template,update} ... 686s lavacli device-types: error: argument sub_sub_command: invalid choice: 'health-check' (choose from 'add', 'aliases', 'list', 'show', 'template', 'update') 686s """ 686s ) 686s E assert 'usage: lavac...te, update)\n' == "usage: lavac..., 'update')\n" 686s E 686s E Skipping 166 identical leading characters in diff, use -v to show 686s E - oose from 'add', 'aliases', 'list', 'show', 'template', 'update') 686s E ? - - - - - - - - - - - - 686s E + oose from add, aliases, list, show, template, update) 686s 686s tests/test_device_types.py:250: AssertionError 686s =============================== warnings summary =============================== 686s tests/test_events.py: 114 warnings 686s /usr/lib/python3/dist-packages/lavacli/commands/events.py:208: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 686s (topic, _, dt, username, data) = (u(m) for m in msg) 686s 686s tests/test_events.py::test_events_wait_device 686s tests/test_events.py::test_events_wait_device_state 686s tests/test_events.py::test_events_wait_device_health 686s tests/test_events.py::test_events_wait_job 686s tests/test_events.py::test_events_wait_worker 686s tests/test_events.py::test_events_wait_worker_invalid_message 686s /usr/lib/python3/dist-packages/lavacli/commands/events.py:268: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 686s sock.setsockopt(zmq.SUBSCRIBE, b(config.get("events", {}).get("topic", ""))) 686s 686s tests/test_events.py: 106 warnings 686s /usr/lib/python3/dist-packages/lavacli/commands/events.py:293: DeprecationWarning: zmq.utils.strtypes is deprecated in pyzmq 23. 686s (topic, _uuid, _dt, _username, data) = (u(m) for m in msg) 686s 686s tests/test_jobs.py::test_jobs_logs_failure_comment_and_polling 686s /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). 686s "dt": datetime.datetime.utcnow().isoformat(), 686s 686s tests/test_jobs.py::test_jobs_resubmit_follow 686s /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). 686s "dt": datetime.datetime.utcnow().isoformat(), 686s 686s tests/test_jobs.py::test_jobs_run 686s /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). 686s "dt": datetime.datetime.utcnow().isoformat(), 686s 686s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 686s =========================== short test summary info ============================ 686s FAILED tests/test_device_types.py::test_dt_hc_get_before_2018_4 - assert 'usa... 686s FAILED tests/test_device_types.py::test_dt_hc_set_before_2018_4 - assert 'usa... 686s ================= 2 failed, 197 passed, 229 warnings in 3.57s ================== 686s autopkgtest [17:08:39]: test testsuite: -----------------------] 687s testsuite FAIL non-zero exit status 1 687s autopkgtest [17:08:40]: test testsuite: - - - - - - - - - - results - - - - - - - - - - 687s autopkgtest [17:08:40]: @@@@@@@@@@@@@@@@@@@@ summary 687s testsuite FAIL non-zero exit status 1 699s nova [W] Skipping flock for amd64 699s Creating nova instance adt-plucky-amd64-lavacli-20241115-165712-juju-7f2275-prod-proposed-migration-environment-15-d7190a9c-9531-4785-8243-6f5042871107 from image adt/ubuntu-plucky-amd64-server-20241115.img (UUID 9bb4dd9c-454f-45da-a125-77b9d27ed145)... 699s nova [W] nova quota exceeded (attempt #0) 699s nova [W] nova quota exceeded (attempt #1)