0s autopkgtest [14:53:42]: starting date and time: 2024-11-09 14:53:42+0000 0s autopkgtest [14:53:42]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [14:53:42]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.datmyoxv/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pass-audit --apt-upgrade pass-audit --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pass-audit/1.2-1.2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-39.secgroup --name adt-plucky-arm64-pass-audit-20241109-145342-juju-7f2275-prod-proposed-migration-environment-20-44297870-f5c3-4c9d-9424-158650f3bdfc --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 112s autopkgtest [14:55:34]: testbed dpkg architecture: arm64 113s autopkgtest [14:55:35]: testbed apt version: 2.9.8 113s autopkgtest [14:55:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 114s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 114s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 114s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 114s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1004 kB] 115s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 115s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [144 kB] 115s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 115s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [725 kB] 115s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 115s Fetched 2141 kB in 2s (1085 kB/s) 115s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Calculating upgrade... 119s The following NEW packages will be installed: 119s systemd-cryptsetup 119s The following packages will be upgraded: 119s base-passwd bash-completion libattr1 libbpf1 libbsd0 libbytesize-common 119s libbytesize1 libdrm-common libdrm2 libjson-glib-1.0-0 119s libjson-glib-1.0-common libmaxminddb0 libmnl0 libnghttp2-14 libnspr4 119s libnss-systemd libpam-systemd libpython3.12-minimal libpython3.12-stdlib 119s libpython3.12t64 libsystemd-shared libsystemd0 libudev1 libudisks2-0 119s liburcu8t64 linux-firmware openssh-client openssh-server openssh-sftp-server 119s pci.ids python3-gi python3-idna python3-jsonpatch python3-lazr.restfulclient 119s python3-urllib3 python3-wadllib python3.12 python3.12-gdbm 119s python3.12-minimal systemd systemd-resolved systemd-sysv systemd-timesyncd 119s udev udisks2 usbutils 119s 46 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 119s Need to get 557 MB of archives. 119s After this operation, 27.2 MB of additional disk space will be used. 119s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.5 [53.5 kB] 120s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12t64 arm64 3.12.7-2 [2312 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.7-2 [661 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-stdlib arm64 3.12.7-2 [2048 kB] 124s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.7-2 [2233 kB] 125s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-minimal arm64 3.12.7-2 [833 kB] 126s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss-systemd arm64 256.5-2ubuntu4 [162 kB] 126s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-timesyncd arm64 256.5-2ubuntu4 [39.5 kB] 126s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-resolved arm64 256.5-2ubuntu4 [312 kB] 126s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd-shared arm64 256.5-2ubuntu4 [2152 kB] 128s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd0 arm64 256.5-2ubuntu4 [446 kB] 128s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-sysv arm64 256.5-2ubuntu4 [11.9 kB] 128s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-systemd arm64 256.5-2ubuntu4 [242 kB] 128s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd arm64 256.5-2ubuntu4 [3356 kB] 131s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 udev arm64 256.5-2ubuntu4 [1950 kB] 133s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libudev1 arm64 256.5-2ubuntu4 [194 kB] 133s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-sftp-server arm64 1:9.7p1-7ubuntu5 [36.7 kB] 133s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-server arm64 1:9.7p1-7ubuntu5 [507 kB] 133s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-client arm64 1:9.7p1-7ubuntu5 [891 kB] 134s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libattr1 arm64 1:2.5.2-2 [11.5 kB] 134s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libbsd0 arm64 0.12.2-2 [41.1 kB] 134s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libbpf1 arm64 1:1.4.6-1 [175 kB] 134s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libmnl0 arm64 1.0.5-3 [12.4 kB] 134s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-gi arm64 3.50.0-3 [241 kB] 134s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.14.0-2 [210 kB] 135s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-common all 2.4.123-1 [8436 B] 135s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm2 arm64 2.4.123-1 [42.2 kB] 135s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libmaxminddb0 arm64 1.11.0-1 [18.7 kB] 135s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libnghttp2-14 arm64 1.64.0-1 [74.5 kB] 135s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 liburcu8t64 arm64 0.14.1-1 [63.5 kB] 135s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 pci.ids all 0.0~2024.10.24-1 [279 kB] 135s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-gdbm arm64 3.12.7-2 [29.8 kB] 135s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 usbutils arm64 1:018-1 [80.9 kB] 135s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize1 arm64 2.11-1ubuntu1 [13.0 kB] 135s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize-common all 2.11-1ubuntu1 [3584 B] 135s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-common all 1.10.0+ds-2 [5502 B] 135s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-0 arm64 1.10.0+ds-2 [66.4 kB] 135s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libnspr4 arm64 2:4.35-1.1ubuntu2 [116 kB] 135s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 udisks2 arm64 2.10.1-11ubuntu1 [293 kB] 136s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libudisks2-0 arm64 2.10.1-11ubuntu1 [173 kB] 136s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 linux-firmware arm64 20241108.git3bbb13a7-0ubuntu1 [536 MB] 592s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-idna all 3.8-2 [47.0 kB] 592s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jsonpatch all 1.32-4 [12.2 kB] 592s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wadllib all 2.0.0-1 [36.7 kB] 592s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lazr.restfulclient all 0.14.6-2 [50.9 kB] 592s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-urllib3 all 2.0.7-2ubuntu0.1 [93.1 kB] 592s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-cryptsetup arm64 256.5-2ubuntu4 [117 kB] 593s Preconfiguring packages ... 593s Fetched 557 MB in 7min 53s (1176 kB/s) 593s (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 ... 79695 files and directories currently installed.) 593s Preparing to unpack .../base-passwd_3.6.5_arm64.deb ... 593s Unpacking base-passwd (3.6.5) over (3.6.4) ... 593s Setting up base-passwd (3.6.5) ... 593s (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 ... 79696 files and directories currently installed.) 593s Preparing to unpack .../0-libpython3.12t64_3.12.7-2_arm64.deb ... 593s Unpacking libpython3.12t64:arm64 (3.12.7-2) over (3.12.7-1) ... 594s Preparing to unpack .../1-python3.12_3.12.7-2_arm64.deb ... 594s Unpacking python3.12 (3.12.7-2) over (3.12.7-1) ... 594s Preparing to unpack .../2-libpython3.12-stdlib_3.12.7-2_arm64.deb ... 594s Unpacking libpython3.12-stdlib:arm64 (3.12.7-2) over (3.12.7-1) ... 594s Preparing to unpack .../3-python3.12-minimal_3.12.7-2_arm64.deb ... 594s Unpacking python3.12-minimal (3.12.7-2) over (3.12.7-1) ... 594s Preparing to unpack .../4-libpython3.12-minimal_3.12.7-2_arm64.deb ... 594s Unpacking libpython3.12-minimal:arm64 (3.12.7-2) over (3.12.7-1) ... 594s Preparing to unpack .../5-libnss-systemd_256.5-2ubuntu4_arm64.deb ... 594s Unpacking libnss-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../6-systemd-timesyncd_256.5-2ubuntu4_arm64.deb ... 594s Unpacking systemd-timesyncd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../7-systemd-resolved_256.5-2ubuntu4_arm64.deb ... 594s Unpacking systemd-resolved (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../8-libsystemd-shared_256.5-2ubuntu4_arm64.deb ... 594s Unpacking libsystemd-shared:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../9-libsystemd0_256.5-2ubuntu4_arm64.deb ... 594s Unpacking libsystemd0:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Setting up libsystemd0:arm64 (256.5-2ubuntu4) ... 594s (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 ... 79696 files and directories currently installed.) 594s Preparing to unpack .../systemd-sysv_256.5-2ubuntu4_arm64.deb ... 594s Unpacking systemd-sysv (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../libpam-systemd_256.5-2ubuntu4_arm64.deb ... 594s Unpacking libpam-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 594s Preparing to unpack .../systemd_256.5-2ubuntu4_arm64.deb ... 594s Unpacking systemd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 595s Preparing to unpack .../udev_256.5-2ubuntu4_arm64.deb ... 595s Unpacking udev (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 595s Preparing to unpack .../libudev1_256.5-2ubuntu4_arm64.deb ... 595s Unpacking libudev1:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 595s Setting up libudev1:arm64 (256.5-2ubuntu4) ... 595s (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 ... 79696 files and directories currently installed.) 595s Preparing to unpack .../openssh-sftp-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 595s Unpacking openssh-sftp-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 595s Preparing to unpack .../openssh-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 595s Unpacking openssh-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 595s Preparing to unpack .../openssh-client_1%3a9.7p1-7ubuntu5_arm64.deb ... 595s Unpacking openssh-client (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 595s Preparing to unpack .../libattr1_1%3a2.5.2-2_arm64.deb ... 595s Unpacking libattr1:arm64 (1:2.5.2-2) over (1:2.5.2-1build2) ... 595s Setting up libattr1:arm64 (1:2.5.2-2) ... 595s (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 ... 79696 files and directories currently installed.) 595s Preparing to unpack .../libbsd0_0.12.2-2_arm64.deb ... 595s Unpacking libbsd0:arm64 (0.12.2-2) over (0.12.2-1) ... 595s Setting up libbsd0:arm64 (0.12.2-2) ... 595s (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 ... 79696 files and directories currently installed.) 595s Preparing to unpack .../00-libbpf1_1%3a1.4.6-1_arm64.deb ... 595s Unpacking libbpf1:arm64 (1:1.4.6-1) over (1:1.4.5-1) ... 595s Preparing to unpack .../01-libmnl0_1.0.5-3_arm64.deb ... 595s Unpacking libmnl0:arm64 (1.0.5-3) over (1.0.5-2build1) ... 595s Preparing to unpack .../02-python3-gi_3.50.0-3_arm64.deb ... 596s Unpacking python3-gi (3.50.0-3) over (3.48.2-1) ... 596s Preparing to unpack .../03-bash-completion_1%3a2.14.0-2_all.deb ... 596s Unpacking bash-completion (1:2.14.0-2) over (1:2.14.0-1) ... 596s Preparing to unpack .../04-libdrm-common_2.4.123-1_all.deb ... 596s Unpacking libdrm-common (2.4.123-1) over (2.4.122-1) ... 596s Preparing to unpack .../05-libdrm2_2.4.123-1_arm64.deb ... 596s Unpacking libdrm2:arm64 (2.4.123-1) over (2.4.122-1) ... 596s Preparing to unpack .../06-libmaxminddb0_1.11.0-1_arm64.deb ... 596s Unpacking libmaxminddb0:arm64 (1.11.0-1) over (1.10.0-1) ... 596s Preparing to unpack .../07-libnghttp2-14_1.64.0-1_arm64.deb ... 596s Unpacking libnghttp2-14:arm64 (1.64.0-1) over (1.62.1-2) ... 596s Preparing to unpack .../08-liburcu8t64_0.14.1-1_arm64.deb ... 596s Unpacking liburcu8t64:arm64 (0.14.1-1) over (0.14.0-4) ... 596s Preparing to unpack .../09-pci.ids_0.0~2024.10.24-1_all.deb ... 596s Unpacking pci.ids (0.0~2024.10.24-1) over (0.0~2024.09.12-1) ... 596s Preparing to unpack .../10-python3.12-gdbm_3.12.7-2_arm64.deb ... 596s Unpacking python3.12-gdbm (3.12.7-2) over (3.12.7-1) ... 596s Preparing to unpack .../11-usbutils_1%3a018-1_arm64.deb ... 596s Unpacking usbutils (1:018-1) over (1:017-3build1) ... 596s Preparing to unpack .../12-libbytesize1_2.11-1ubuntu1_arm64.deb ... 596s Unpacking libbytesize1:arm64 (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 596s Preparing to unpack .../13-libbytesize-common_2.11-1ubuntu1_all.deb ... 596s Unpacking libbytesize-common (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 596s Preparing to unpack .../14-libjson-glib-1.0-common_1.10.0+ds-2_all.deb ... 596s Unpacking libjson-glib-1.0-common (1.10.0+ds-2) over (1.8.0-2build2) ... 596s Preparing to unpack .../15-libjson-glib-1.0-0_1.10.0+ds-2_arm64.deb ... 596s Unpacking libjson-glib-1.0-0:arm64 (1.10.0+ds-2) over (1.8.0-2build2) ... 596s Preparing to unpack .../16-libnspr4_2%3a4.35-1.1ubuntu2_arm64.deb ... 596s Unpacking libnspr4:arm64 (2:4.35-1.1ubuntu2) over (2:4.35-1.1ubuntu1) ... 596s Preparing to unpack .../17-udisks2_2.10.1-11ubuntu1_arm64.deb ... 596s Unpacking udisks2 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 596s Preparing to unpack .../18-libudisks2-0_2.10.1-11ubuntu1_arm64.deb ... 596s Unpacking libudisks2-0:arm64 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 596s Preparing to unpack .../19-linux-firmware_20241108.git3bbb13a7-0ubuntu1_arm64.deb ... 596s Unpacking linux-firmware (20241108.git3bbb13a7-0ubuntu1) over (20240913.gita34e7a5f-0ubuntu2) ... 599s Preparing to unpack .../20-python3-idna_3.8-2_all.deb ... 599s Unpacking python3-idna (3.8-2) over (3.6-2.1) ... 599s Preparing to unpack .../21-python3-jsonpatch_1.32-4_all.deb ... 599s Unpacking python3-jsonpatch (1.32-4) over (1.32-3) ... 599s Preparing to unpack .../22-python3-wadllib_2.0.0-1_all.deb ... 599s Unpacking python3-wadllib (2.0.0-1) over (1.3.6-5) ... 599s Preparing to unpack .../23-python3-lazr.restfulclient_0.14.6-2_all.deb ... 599s Unpacking python3-lazr.restfulclient (0.14.6-2) over (0.14.6-1) ... 600s Preparing to unpack .../24-python3-urllib3_2.0.7-2ubuntu0.1_all.deb ... 600s Unpacking python3-urllib3 (2.0.7-2ubuntu0.1) over (2.0.7-2) ... 600s Selecting previously unselected package systemd-cryptsetup. 600s Preparing to unpack .../25-systemd-cryptsetup_256.5-2ubuntu4_arm64.deb ... 600s Unpacking systemd-cryptsetup (256.5-2ubuntu4) ... 600s Setting up liburcu8t64:arm64 (0.14.1-1) ... 600s Setting up pci.ids (0.0~2024.10.24-1) ... 600s Setting up linux-firmware (20241108.git3bbb13a7-0ubuntu1) ... 600s Setting up openssh-client (1:9.7p1-7ubuntu5) ... 600s Setting up libmaxminddb0:arm64 (1.11.0-1) ... 600s Setting up python3.12-gdbm (3.12.7-2) ... 600s Setting up python3-jsonpatch (1.32-4) ... 600s Setting up libpython3.12-minimal:arm64 (3.12.7-2) ... 600s Setting up libnghttp2-14:arm64 (1.64.0-1) ... 600s Setting up usbutils (1:018-1) ... 600s Setting up libnspr4:arm64 (2:4.35-1.1ubuntu2) ... 600s Setting up bash-completion (1:2.14.0-2) ... 600s Setting up python3-wadllib (2.0.0-1) ... 600s Setting up python3-gi (3.50.0-3) ... 600s Setting up libbytesize-common (2.11-1ubuntu1) ... 600s Setting up libmnl0:arm64 (1.0.5-3) ... 600s Setting up python3-idna (3.8-2) ... 600s Setting up libsystemd-shared:arm64 (256.5-2ubuntu4) ... 600s Setting up python3-urllib3 (2.0.7-2ubuntu0.1) ... 601s Setting up libjson-glib-1.0-common (1.10.0+ds-2) ... 601s Setting up libbytesize1:arm64 (2.11-1ubuntu1) ... 601s Setting up python3-lazr.restfulclient (0.14.6-2) ... 601s Setting up libdrm-common (2.4.123-1) ... 601s Setting up libbpf1:arm64 (1:1.4.6-1) ... 601s Setting up libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 601s Setting up python3.12-minimal (3.12.7-2) ... 601s Setting up openssh-sftp-server (1:9.7p1-7ubuntu5) ... 601s Setting up libpython3.12-stdlib:arm64 (3.12.7-2) ... 601s Setting up openssh-server (1:9.7p1-7ubuntu5) ... 603s Setting up python3.12 (3.12.7-2) ... 604s Setting up systemd (256.5-2ubuntu4) ... 604s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 604s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 604s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 605s Setting up libjson-glib-1.0-0:arm64 (1.10.0+ds-2) ... 605s Setting up libpython3.12t64:arm64 (3.12.7-2) ... 605s Setting up systemd-cryptsetup (256.5-2ubuntu4) ... 605s Setting up systemd-timesyncd (256.5-2ubuntu4) ... 605s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 605s Setting up udev (256.5-2ubuntu4) ... 606s Setting up libdrm2:arm64 (2.4.123-1) ... 606s Setting up systemd-resolved (256.5-2ubuntu4) ... 606s Setting up udisks2 (2.10.1-11ubuntu1) ... 607s Setting up systemd-sysv (256.5-2ubuntu4) ... 607s Setting up libnss-systemd:arm64 (256.5-2ubuntu4) ... 607s Setting up libpam-systemd:arm64 (256.5-2ubuntu4) ... 607s Processing triggers for libc-bin (2.40-1ubuntu3) ... 607s Processing triggers for ufw (0.36.2-8) ... 607s Processing triggers for man-db (2.12.1-3) ... 608s Processing triggers for dbus (1.14.10-4ubuntu5) ... 608s Processing triggers for shared-mime-info (2.4-5) ... 609s Processing triggers for initramfs-tools (0.142ubuntu34) ... 609s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 609s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 623s System running in EFI mode, skipping. 623s Reading package lists... 623s Building dependency tree... 623s Reading state information... 624s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 624s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 624s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 624s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 624s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 625s Reading package lists... 625s Reading package lists... 626s Building dependency tree... 626s Reading state information... 626s Calculating upgrade... 627s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 627s Reading package lists... 627s Building dependency tree... 627s Reading state information... 627s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 628s autopkgtest [15:04:10]: rebooting testbed after setup commands that affected boot 631s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 653s autopkgtest [15:04:35]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 656s autopkgtest [15:04:38]: @@@@@@@@@@@@@@@@@@@@ apt-source pass-audit 658s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (dsc) [2160 B] 658s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (tar) [56.6 kB] 658s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (asc) [963 B] 658s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (diff) [4328 B] 658s gpgv: Signature made Sun Sep 8 17:32:35 2024 UTC 658s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 658s gpgv: issuer "bage@debian.org" 658s gpgv: Can't check signature: No public key 658s dpkg-source: warning: cannot verify inline signature for ./pass-audit_1.2-1.2.dsc: no acceptable signature found 658s autopkgtest [15:04:40]: testing package pass-audit version 1.2-1.2 658s autopkgtest [15:04:40]: build not needed 659s autopkgtest [15:04:41]: test unittests: preparing testbed 660s Reading package lists... 660s Building dependency tree... 660s Reading state information... 660s Starting pkgProblemResolver with broken count: 0 660s Starting 2 pkgProblemResolver with broken count: 0 660s Done 661s The following additional packages will be installed: 661s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 661s libjs-jquery-metadata libjs-jquery-tablesorter 661s libjs-jquery-throttle-debounce pass pass-extension-audit python3-all 661s python3-coverage python3-iniconfig python3-packaging python3-pluggy 661s python3-pytest python3-pytest-cov python3-python-zxcvbn-rs-py tree 661s Suggested packages: 661s libxml-simple-perl python ruby python-coverage-doc 661s Recommended packages: 661s javascript-common git qrencode wl-clipboard xclip 661s The following NEW packages will be installed: 661s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 661s libjs-jquery-metadata libjs-jquery-tablesorter 661s libjs-jquery-throttle-debounce pass pass-extension-audit python3-all 661s python3-coverage python3-iniconfig python3-packaging python3-pluggy 661s python3-pytest python3-pytest-cov python3-python-zxcvbn-rs-py tree 661s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 661s Need to get 2200 kB/2201 kB of archives. 661s After this operation, 8328 kB of additional disk space will be used. 661s Get:1 /tmp/autopkgtest.b8GA8R/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [732 B] 661s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 662s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 662s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 662s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 662s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 662s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 tree arm64 2.1.1-2ubuntu3 [46.0 kB] 662s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 pass all 1.7.4-7 [34.7 kB] 662s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-python-zxcvbn-rs-py arm64 0.1.1-2 [1061 kB] 663s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 pass-extension-audit all 1.2-1.2 [15.8 kB] 663s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 663s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.4.4+dfsg1-0ubuntu2 [148 kB] 663s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 663s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 663s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 663s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.2-1 [251 kB] 664s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 664s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 664s Fetched 2200 kB in 3s (814 kB/s) 664s Selecting previously unselected package libjs-jquery. 664s (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 ... 79934 files and directories currently installed.) 664s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 664s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 664s Selecting previously unselected package libjs-jquery-hotkeys. 664s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 664s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 664s Selecting previously unselected package libjs-jquery-metadata. 665s Preparing to unpack .../02-libjs-jquery-metadata_12-4_all.deb ... 665s Unpacking libjs-jquery-metadata (12-4) ... 665s Selecting previously unselected package libjs-jquery-tablesorter. 665s Preparing to unpack .../03-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 665s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 665s Selecting previously unselected package libjs-jquery-throttle-debounce. 665s Preparing to unpack .../04-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 665s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 665s Selecting previously unselected package tree. 665s Preparing to unpack .../05-tree_2.1.1-2ubuntu3_arm64.deb ... 665s Unpacking tree (2.1.1-2ubuntu3) ... 665s Selecting previously unselected package pass. 665s Preparing to unpack .../06-pass_1.7.4-7_all.deb ... 665s Unpacking pass (1.7.4-7) ... 665s Selecting previously unselected package python3-python-zxcvbn-rs-py. 665s Preparing to unpack .../07-python3-python-zxcvbn-rs-py_0.1.1-2_arm64.deb ... 665s Unpacking python3-python-zxcvbn-rs-py (0.1.1-2) ... 665s Selecting previously unselected package pass-extension-audit. 665s Preparing to unpack .../08-pass-extension-audit_1.2-1.2_all.deb ... 665s Unpacking pass-extension-audit (1.2-1.2) ... 665s Selecting previously unselected package python3-all. 665s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_arm64.deb ... 665s Unpacking python3-all (3.12.6-0ubuntu1) ... 665s Selecting previously unselected package python3-coverage. 665s Preparing to unpack .../10-python3-coverage_7.4.4+dfsg1-0ubuntu2_arm64.deb ... 665s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 665s Selecting previously unselected package python3-iniconfig. 665s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 665s Unpacking python3-iniconfig (1.1.1-2) ... 665s Selecting previously unselected package python3-packaging. 665s Preparing to unpack .../12-python3-packaging_24.1-1_all.deb ... 665s Unpacking python3-packaging (24.1-1) ... 665s Selecting previously unselected package python3-pluggy. 665s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 665s Unpacking python3-pluggy (1.5.0-1) ... 665s Selecting previously unselected package python3-pytest. 665s Preparing to unpack .../14-python3-pytest_8.3.2-1_all.deb ... 665s Unpacking python3-pytest (8.3.2-1) ... 665s Selecting previously unselected package libjs-jquery-isonscreen. 665s Preparing to unpack .../15-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 665s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 665s Selecting previously unselected package python3-pytest-cov. 665s Preparing to unpack .../16-python3-pytest-cov_5.0.0-1_all.deb ... 665s Unpacking python3-pytest-cov (5.0.0-1) ... 665s Selecting previously unselected package autopkgtest-satdep. 665s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 665s Unpacking autopkgtest-satdep (0) ... 665s Setting up python3-iniconfig (1.1.1-2) ... 665s Setting up python3-all (3.12.6-0ubuntu1) ... 665s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 665s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 665s Setting up python3-packaging (24.1-1) ... 666s Setting up tree (2.1.1-2ubuntu3) ... 666s Setting up pass (1.7.4-7) ... 666s Setting up python3-pluggy (1.5.0-1) ... 666s Setting up python3-python-zxcvbn-rs-py (0.1.1-2) ... 666s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 666s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 666s Setting up python3-pytest (8.3.2-1) ... 666s Setting up pass-extension-audit (1.2-1.2) ... 666s Setting up libjs-jquery-metadata (12-4) ... 666s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 666s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 666s Setting up python3-pytest-cov (5.0.0-1) ... 666s Setting up autopkgtest-satdep (0) ... 666s Processing triggers for man-db (2.12.1-3) ... 670s (Reading database ... 80453 files and directories currently installed.) 670s Removing autopkgtest-satdep (0) ... 671s autopkgtest [15:04:53]: test unittests: [----------------------- 676s ============================= test session starts ============================== 676s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 676s rootdir: /tmp/autopkgtest.b8GA8R/autopkgtest_tmp 676s plugins: cov-5.0.0, typeguard-4.4.1 676s collected 42 items 676s 677s tests/test_audit.py .....FF [ 16%] 678s tests/test_main.py .....FFFFF.. [ 45%] 678s tests/test_msg.py ........ [ 64%] 678s tests/test_pass.py .............. [ 97%] 678s tests/test_pwned.py . [100%] 678s 678s =================================== FAILURES =================================== 678s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 678s 678s self = 678s 678s def test_zxcvbn_strong(self): 678s """Testing: pass audit for strong password with zxcvbn.""" 678s data = tests.getdata('Password/good') 678s audit = pass_audit.audit.PassAudit(data, True) 678s > weak = audit.zxcvbn() 678s 678s tests/test_audit.py:51: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ----------------------------- Captured stdout call ----------------------------- 678s Checking Password/good/1 678s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 678s 678s self = 678s 678s def test_zxcvbn_weak(self): 678s """Testing: pass audit for weak password with zxcvbn.""" 678s data = tests.getdata('Password/pwned/1') 678s audit = pass_audit.audit.PassAudit(data, True) 678s > weak = audit.zxcvbn() 678s 678s tests/test_audit.py:43: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ----------------------------- Captured stdout call ----------------------------- 678s Checking Password/pwned/1 678s _______________________ TestMain.test_main_passwords_all _______________________ 678s 678s self = 678s 678s @mock.patch('requests.get', tests.mock_request) 678s def test_main_passwords_all(self): 678s """Testing: pass audit .""" 678s cmd = [''] 678s > self.main(cmd) 678s 678s tests/test_main.py:104: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s tests/__init__.py:129: in main 678s pass_audit.__main__.main() 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 678s weak = audit.zxcvbn() 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ----------------------------- Captured stdout call ----------------------------- 678s  . Auditing whole store - this may take some time 678s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.b8GA8R/autopkgtest_tmp/tests/assets/gnupg' 678s gpg: decrypt_message failed: Unknown system error 678s  678s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 678s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 678s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 678s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 678s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 678s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 678s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 678s ____________________ TestMain.test_main_passwords_duplicate ____________________ 678s 678s self = 678s 678s @mock.patch('requests.get', tests.mock_request) 678s def test_main_passwords_duplicate(self): 678s """Testing: pass audit for duplicates.""" 678s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 678s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 678s cmd = ['Password/good'] 678s > self.main(cmd) 678s 678s tests/test_main.py:91: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s tests/__init__.py:129: in main 678s pass_audit.__main__.main() 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 678s weak = audit.zxcvbn() 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ______________________ TestMain.test_main_passwords_good _______________________ 678s 678s self = 678s 678s @mock.patch('requests.get', tests.mock_request) 678s def test_main_passwords_good(self): 678s """Testing: pass audit Password/good.""" 678s cmd = ['Password/good'] 678s > self.main(cmd) 678s 678s tests/test_main.py:98: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s tests/__init__.py:129: in main 678s pass_audit.__main__.main() 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 678s weak = audit.zxcvbn() 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ____________________ TestMain.test_main_passwords_notpwned _____________________ 678s 678s self = 678s 678s @mock.patch('requests.get', tests.mock_request) 678s def test_main_passwords_notpwned(self): 678s """Testing: pass audit Password/notpwned.""" 678s cmd = ['Password/notpwned'] 678s > self.main(cmd) 678s 678s tests/test_main.py:77: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s tests/__init__.py:129: in main 678s pass_audit.__main__.main() 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 678s weak = audit.zxcvbn() 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ______________________ TestMain.test_main_passwords_pwned ______________________ 678s 678s self = 678s 678s @mock.patch('requests.get', tests.mock_request) 678s def test_main_passwords_pwned(self): 678s """Testing: pass audit Password/pwned.""" 678s cmd = ['Password/pwned'] 678s > self.main(cmd) 678s 678s tests/test_main.py:83: 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s tests/__init__.py:129: in main 678s pass_audit.__main__.main() 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 678s weak = audit.zxcvbn() 678s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 678s 678s self = 678s 678s def zxcvbn(self): 678s """Password strength estimaton usuing Dropbox' zxcvbn.""" 678s if not ZXCVBN: 678s raise ImportError(name='zxcvbn') 678s 678s weak = [] 678s for path, entry in self.data.items(): 678s if self.verbose: 678s print(f"Checking {path}") 678s if entry.get('password', '') == '': 678s continue 678s password = entry['password'] 678s user_input = list(entry.values()) + path.split(os.sep) 678s if password in user_input: 678s user_input.remove(password) 678s results = zxcvbn(password, user_inputs=user_input) 678s > if results['score'] <= 2: 678s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 678s 678s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 678s ----------------------------- Captured stdout call ----------------------------- 678s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 678s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 678s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 678s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 678s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 678s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 678s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 678s 678s ---------- coverage: platform linux, python 3.12.7-final-0 ----------- 678s Name Stmts Miss Branch BrPart Cover Missing 678s -------------------------------------------------------------------------------------------------------- 678s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 678s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 678s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 678s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 678s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 678s -------------------------------------------------------------------------------------------------------- 678s TOTAL 326 27 124 13 89% 678s 678s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 678s =========================== short test summary info ============================ 678s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 678s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 678s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 678s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 678s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 678s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 678s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 678s ========================= 7 failed, 35 passed in 6.90s ========================= 679s autopkgtest [15:05:01]: test unittests: -----------------------] 679s unittests FAIL non-zero exit status 1 679s autopkgtest [15:05:01]: test unittests: - - - - - - - - - - results - - - - - - - - - - 680s autopkgtest [15:05:02]: @@@@@@@@@@@@@@@@@@@@ summary 680s unittests FAIL non-zero exit status 1 686s nova [W] Skipping flock in bos03-arm64 686s Creating nova instance adt-plucky-arm64-pass-audit-20241109-145342-juju-7f2275-prod-proposed-migration-environment-20-44297870-f5c3-4c9d-9424-158650f3bdfc from image adt/ubuntu-plucky-arm64-server-20241108.img (UUID 078531dc-7060-4700-ae1a-b631769d5369)...