0s autopkgtest [15:52:50]: starting date and time: 2024-11-09 15:52:50+0000 0s autopkgtest [15:52:50]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [15:52:50]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ue7062l6/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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-23.secgroup --name adt-plucky-amd64-pass-audit-20241109-155250-juju-7f2275-prod-proposed-migration-environment-15-28f6c6cd-4126-4c0b-a2d6-15f1822a4d7c --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/ 67s autopkgtest [15:53:57]: testbed dpkg architecture: amd64 67s autopkgtest [15:53:57]: testbed apt version: 2.9.8 67s autopkgtest [15:53:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 68s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 69s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 69s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 69s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [998 kB] 69s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 69s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [156 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [106 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 70s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [748 kB] 70s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [327 kB] 71s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 71s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 71s Fetched 2618 kB in 3s (1027 kB/s) 71s Reading package lists... 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 73s Calculating upgrade... 73s The following NEW packages will be installed: 73s systemd-cryptsetup 73s The following packages will be upgraded: 73s base-passwd bash-completion libattr1 libbpf1 libbsd0 libbytesize-common 73s libbytesize1 libdrm-common libdrm2 libjson-glib-1.0-0 73s libjson-glib-1.0-common libmaxminddb0 libmnl0 libnghttp2-14 libnspr4 73s libnss-systemd libpam-systemd libpython3.12-minimal libpython3.12-stdlib 73s libpython3.12t64 libsystemd-shared libsystemd0 libudev1 libudisks2-0 73s liburcu8t64 linux-firmware openssh-client openssh-server openssh-sftp-server 73s pci.ids python3-gi python3-idna python3-jsonpatch python3-lazr.restfulclient 73s python3-urllib3 python3-wadllib python3.12 python3.12-gdbm 73s python3.12-minimal systemd systemd-resolved systemd-sysv systemd-timesyncd 74s udev udisks2 usbutils 74s 46 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 74s Need to get 558 MB of archives. 74s After this operation, 29.4 MB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 base-passwd amd64 3.6.5 [53.4 kB] 74s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.12t64 amd64 3.12.7-2 [2372 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12 amd64 3.12.7-2 [661 kB] 76s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.12-stdlib amd64 3.12.7-2 [2079 kB] 78s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-minimal amd64 3.12.7-2 [2345 kB] 79s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.12-minimal amd64 3.12.7-2 [836 kB] 80s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libnss-systemd amd64 256.5-2ubuntu4 [191 kB] 80s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-timesyncd amd64 256.5-2ubuntu4 [40.8 kB] 80s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-resolved amd64 256.5-2ubuntu4 [339 kB] 80s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd-shared amd64 256.5-2ubuntu4 [2289 kB] 82s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd0 amd64 256.5-2ubuntu4 [511 kB] 82s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-sysv amd64 256.5-2ubuntu4 [11.9 kB] 82s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-systemd amd64 256.5-2ubuntu4 [288 kB] 82s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd amd64 256.5-2ubuntu4 [3587 kB] 85s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 udev amd64 256.5-2ubuntu4 [2081 kB] 86s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libudev1 amd64 256.5-2ubuntu4 [209 kB] 86s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-sftp-server amd64 1:9.7p1-7ubuntu5 [40.8 kB] 86s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-server amd64 1:9.7p1-7ubuntu5 [583 kB] 87s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-client amd64 1:9.7p1-7ubuntu5 [1027 kB] 87s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libattr1 amd64 1:2.5.2-2 [12.1 kB] 87s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libbsd0 amd64 0.12.2-2 [49.9 kB] 87s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbpf1 amd64 1:1.4.6-1 [184 kB] 87s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libmnl0 amd64 1.0.5-3 [12.6 kB] 87s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-3 [250 kB] 88s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 bash-completion all 1:2.14.0-2 [210 kB] 88s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-common all 2.4.123-1 [8436 B] 88s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm2 amd64 2.4.123-1 [43.7 kB] 88s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libmaxminddb0 amd64 1.11.0-1 [19.9 kB] 88s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libnghttp2-14 amd64 1.64.0-1 [80.7 kB] 88s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 liburcu8t64 amd64 0.14.1-1 [68.6 kB] 88s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 pci.ids all 0.0~2024.10.24-1 [279 kB] 88s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-gdbm amd64 3.12.7-2 [30.4 kB] 88s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 usbutils amd64 1:018-1 [84.5 kB] 88s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libbytesize1 amd64 2.11-1ubuntu1 [14.0 kB] 88s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libbytesize-common all 2.11-1ubuntu1 [3584 B] 88s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-glib-1.0-common all 1.10.0+ds-2 [5502 B] 88s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-glib-1.0-0 amd64 1.10.0+ds-2 [72.8 kB] 88s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libnspr4 amd64 2:4.35-1.1ubuntu2 [118 kB] 88s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 udisks2 amd64 2.10.1-11ubuntu1 [326 kB] 89s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libudisks2-0 amd64 2.10.1-11ubuntu1 [176 kB] 89s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-firmware amd64 20241108.git3bbb13a7-0ubuntu1 [536 MB] 154s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-idna all 3.8-2 [47.0 kB] 154s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jsonpatch all 1.32-4 [12.2 kB] 154s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-wadllib all 2.0.0-1 [36.7 kB] 154s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lazr.restfulclient all 0.14.6-2 [50.9 kB] 154s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-urllib3 all 2.0.7-2ubuntu0.1 [93.1 kB] 154s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-cryptsetup amd64 256.5-2ubuntu4 [120 kB] 154s Preconfiguring packages ... 154s Fetched 558 MB in 1min 21s (6929 kB/s) 155s (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 ... 75312 files and directories currently installed.) 155s Preparing to unpack .../base-passwd_3.6.5_amd64.deb ... 155s Unpacking base-passwd (3.6.5) over (3.6.4) ... 155s Setting up base-passwd (3.6.5) ... 155s (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 ... 75313 files and directories currently installed.) 155s Preparing to unpack .../0-libpython3.12t64_3.12.7-2_amd64.deb ... 155s Unpacking libpython3.12t64:amd64 (3.12.7-2) over (3.12.7-1) ... 155s Preparing to unpack .../1-python3.12_3.12.7-2_amd64.deb ... 155s Unpacking python3.12 (3.12.7-2) over (3.12.7-1) ... 155s Preparing to unpack .../2-libpython3.12-stdlib_3.12.7-2_amd64.deb ... 155s Unpacking libpython3.12-stdlib:amd64 (3.12.7-2) over (3.12.7-1) ... 155s Preparing to unpack .../3-python3.12-minimal_3.12.7-2_amd64.deb ... 155s Unpacking python3.12-minimal (3.12.7-2) over (3.12.7-1) ... 155s Preparing to unpack .../4-libpython3.12-minimal_3.12.7-2_amd64.deb ... 155s Unpacking libpython3.12-minimal:amd64 (3.12.7-2) over (3.12.7-1) ... 155s Preparing to unpack .../5-libnss-systemd_256.5-2ubuntu4_amd64.deb ... 155s Unpacking libnss-systemd:amd64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 155s Preparing to unpack .../6-systemd-timesyncd_256.5-2ubuntu4_amd64.deb ... 155s Unpacking systemd-timesyncd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 155s Preparing to unpack .../7-systemd-resolved_256.5-2ubuntu4_amd64.deb ... 155s Unpacking systemd-resolved (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 155s Preparing to unpack .../8-libsystemd-shared_256.5-2ubuntu4_amd64.deb ... 155s Unpacking libsystemd-shared:amd64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 155s Preparing to unpack .../9-libsystemd0_256.5-2ubuntu4_amd64.deb ... 155s Unpacking libsystemd0:amd64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 155s Setting up libsystemd0:amd64 (256.5-2ubuntu4) ... 155s (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 ... 75313 files and directories currently installed.) 155s Preparing to unpack .../systemd-sysv_256.5-2ubuntu4_amd64.deb ... 155s Unpacking systemd-sysv (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 156s Preparing to unpack .../libpam-systemd_256.5-2ubuntu4_amd64.deb ... 156s Unpacking libpam-systemd:amd64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 156s Preparing to unpack .../systemd_256.5-2ubuntu4_amd64.deb ... 156s Unpacking systemd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 156s Preparing to unpack .../udev_256.5-2ubuntu4_amd64.deb ... 156s Unpacking udev (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 156s Preparing to unpack .../libudev1_256.5-2ubuntu4_amd64.deb ... 156s Unpacking libudev1:amd64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 156s Setting up libudev1:amd64 (256.5-2ubuntu4) ... 156s (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 ... 75313 files and directories currently installed.) 156s Preparing to unpack .../openssh-sftp-server_1%3a9.7p1-7ubuntu5_amd64.deb ... 156s Unpacking openssh-sftp-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 156s Preparing to unpack .../openssh-server_1%3a9.7p1-7ubuntu5_amd64.deb ... 156s Unpacking openssh-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 156s Preparing to unpack .../openssh-client_1%3a9.7p1-7ubuntu5_amd64.deb ... 156s Unpacking openssh-client (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 156s Preparing to unpack .../libattr1_1%3a2.5.2-2_amd64.deb ... 156s Unpacking libattr1:amd64 (1:2.5.2-2) over (1:2.5.2-1build2) ... 156s Setting up libattr1:amd64 (1:2.5.2-2) ... 156s (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 ... 75313 files and directories currently installed.) 156s Preparing to unpack .../libbsd0_0.12.2-2_amd64.deb ... 156s Unpacking libbsd0:amd64 (0.12.2-2) over (0.12.2-1) ... 156s Setting up libbsd0:amd64 (0.12.2-2) ... 156s (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 ... 75313 files and directories currently installed.) 156s Preparing to unpack .../00-libbpf1_1%3a1.4.6-1_amd64.deb ... 156s Unpacking libbpf1:amd64 (1:1.4.6-1) over (1:1.4.5-1) ... 156s Preparing to unpack .../01-libmnl0_1.0.5-3_amd64.deb ... 156s Unpacking libmnl0:amd64 (1.0.5-3) over (1.0.5-2build1) ... 157s Preparing to unpack .../02-python3-gi_3.50.0-3_amd64.deb ... 157s Unpacking python3-gi (3.50.0-3) over (3.48.2-1) ... 157s Preparing to unpack .../03-bash-completion_1%3a2.14.0-2_all.deb ... 157s Unpacking bash-completion (1:2.14.0-2) over (1:2.14.0-1) ... 157s Preparing to unpack .../04-libdrm-common_2.4.123-1_all.deb ... 157s Unpacking libdrm-common (2.4.123-1) over (2.4.122-1) ... 157s Preparing to unpack .../05-libdrm2_2.4.123-1_amd64.deb ... 157s Unpacking libdrm2:amd64 (2.4.123-1) over (2.4.122-1) ... 157s Preparing to unpack .../06-libmaxminddb0_1.11.0-1_amd64.deb ... 157s Unpacking libmaxminddb0:amd64 (1.11.0-1) over (1.10.0-1) ... 157s Preparing to unpack .../07-libnghttp2-14_1.64.0-1_amd64.deb ... 157s Unpacking libnghttp2-14:amd64 (1.64.0-1) over (1.62.1-2) ... 157s Preparing to unpack .../08-liburcu8t64_0.14.1-1_amd64.deb ... 157s Unpacking liburcu8t64:amd64 (0.14.1-1) over (0.14.0-4) ... 157s Preparing to unpack .../09-pci.ids_0.0~2024.10.24-1_all.deb ... 157s Unpacking pci.ids (0.0~2024.10.24-1) over (0.0~2024.09.12-1) ... 157s Preparing to unpack .../10-python3.12-gdbm_3.12.7-2_amd64.deb ... 157s Unpacking python3.12-gdbm (3.12.7-2) over (3.12.7-1) ... 157s Preparing to unpack .../11-usbutils_1%3a018-1_amd64.deb ... 157s Unpacking usbutils (1:018-1) over (1:017-3build1) ... 157s Preparing to unpack .../12-libbytesize1_2.11-1ubuntu1_amd64.deb ... 157s Unpacking libbytesize1:amd64 (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 157s Preparing to unpack .../13-libbytesize-common_2.11-1ubuntu1_all.deb ... 157s Unpacking libbytesize-common (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 157s Preparing to unpack .../14-libjson-glib-1.0-common_1.10.0+ds-2_all.deb ... 157s Unpacking libjson-glib-1.0-common (1.10.0+ds-2) over (1.8.0-2build2) ... 157s Preparing to unpack .../15-libjson-glib-1.0-0_1.10.0+ds-2_amd64.deb ... 157s Unpacking libjson-glib-1.0-0:amd64 (1.10.0+ds-2) over (1.8.0-2build2) ... 157s Preparing to unpack .../16-libnspr4_2%3a4.35-1.1ubuntu2_amd64.deb ... 157s Unpacking libnspr4:amd64 (2:4.35-1.1ubuntu2) over (2:4.35-1.1ubuntu1) ... 157s Preparing to unpack .../17-udisks2_2.10.1-11ubuntu1_amd64.deb ... 157s Unpacking udisks2 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 157s Preparing to unpack .../18-libudisks2-0_2.10.1-11ubuntu1_amd64.deb ... 157s Unpacking libudisks2-0:amd64 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 157s Preparing to unpack .../19-linux-firmware_20241108.git3bbb13a7-0ubuntu1_amd64.deb ... 157s Unpacking linux-firmware (20241108.git3bbb13a7-0ubuntu1) over (20240913.gita34e7a5f-0ubuntu2) ... 160s Preparing to unpack .../20-python3-idna_3.8-2_all.deb ... 160s Unpacking python3-idna (3.8-2) over (3.6-2.1) ... 160s Preparing to unpack .../21-python3-jsonpatch_1.32-4_all.deb ... 160s Unpacking python3-jsonpatch (1.32-4) over (1.32-3) ... 160s Preparing to unpack .../22-python3-wadllib_2.0.0-1_all.deb ... 160s Unpacking python3-wadllib (2.0.0-1) over (1.3.6-5) ... 160s Preparing to unpack .../23-python3-lazr.restfulclient_0.14.6-2_all.deb ... 160s Unpacking python3-lazr.restfulclient (0.14.6-2) over (0.14.6-1) ... 160s Preparing to unpack .../24-python3-urllib3_2.0.7-2ubuntu0.1_all.deb ... 160s Unpacking python3-urllib3 (2.0.7-2ubuntu0.1) over (2.0.7-2) ... 160s Selecting previously unselected package systemd-cryptsetup. 160s Preparing to unpack .../25-systemd-cryptsetup_256.5-2ubuntu4_amd64.deb ... 160s Unpacking systemd-cryptsetup (256.5-2ubuntu4) ... 160s Setting up liburcu8t64:amd64 (0.14.1-1) ... 160s Setting up pci.ids (0.0~2024.10.24-1) ... 160s Setting up linux-firmware (20241108.git3bbb13a7-0ubuntu1) ... 160s Setting up openssh-client (1:9.7p1-7ubuntu5) ... 160s Setting up libmaxminddb0:amd64 (1.11.0-1) ... 160s Setting up python3.12-gdbm (3.12.7-2) ... 160s Setting up python3-jsonpatch (1.32-4) ... 160s Setting up libpython3.12-minimal:amd64 (3.12.7-2) ... 160s Setting up libnghttp2-14:amd64 (1.64.0-1) ... 160s Setting up usbutils (1:018-1) ... 160s Setting up libnspr4:amd64 (2:4.35-1.1ubuntu2) ... 160s Setting up bash-completion (1:2.14.0-2) ... 160s Setting up python3-wadllib (2.0.0-1) ... 160s Setting up python3-gi (3.50.0-3) ... 160s Setting up libbytesize-common (2.11-1ubuntu1) ... 160s Setting up libmnl0:amd64 (1.0.5-3) ... 160s Setting up python3-idna (3.8-2) ... 160s Setting up libsystemd-shared:amd64 (256.5-2ubuntu4) ... 160s Setting up python3-urllib3 (2.0.7-2ubuntu0.1) ... 161s Setting up libjson-glib-1.0-common (1.10.0+ds-2) ... 161s Setting up libbytesize1:amd64 (2.11-1ubuntu1) ... 161s Setting up python3-lazr.restfulclient (0.14.6-2) ... 161s Setting up libdrm-common (2.4.123-1) ... 161s Setting up libbpf1:amd64 (1:1.4.6-1) ... 161s Setting up libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 161s Setting up python3.12-minimal (3.12.7-2) ... 161s Setting up openssh-sftp-server (1:9.7p1-7ubuntu5) ... 161s Setting up libpython3.12-stdlib:amd64 (3.12.7-2) ... 161s Setting up openssh-server (1:9.7p1-7ubuntu5) ... 162s Setting up python3.12 (3.12.7-2) ... 163s Setting up systemd (256.5-2ubuntu4) ... 163s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 163s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 163s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 164s Setting up libjson-glib-1.0-0:amd64 (1.10.0+ds-2) ... 164s Setting up libpython3.12t64:amd64 (3.12.7-2) ... 164s Setting up systemd-cryptsetup (256.5-2ubuntu4) ... 164s Setting up systemd-timesyncd (256.5-2ubuntu4) ... 164s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 164s Setting up udev (256.5-2ubuntu4) ... 165s Setting up libdrm2:amd64 (2.4.123-1) ... 165s Setting up systemd-resolved (256.5-2ubuntu4) ... 165s Setting up udisks2 (2.10.1-11ubuntu1) ... 166s Setting up systemd-sysv (256.5-2ubuntu4) ... 166s Setting up libnss-systemd:amd64 (256.5-2ubuntu4) ... 166s Setting up libpam-systemd:amd64 (256.5-2ubuntu4) ... 166s Processing triggers for libc-bin (2.40-1ubuntu3) ... 166s Processing triggers for ufw (0.36.2-8) ... 166s Processing triggers for man-db (2.12.1-3) ... 167s Processing triggers for dbus (1.14.10-4ubuntu5) ... 167s Processing triggers for shared-mime-info (2.4-5) ... 167s Processing triggers for initramfs-tools (0.142ubuntu34) ... 167s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 167s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 176s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 176s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 176s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 176s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 177s Reading package lists... 177s Reading package lists... 177s Building dependency tree... 177s Reading state information... 177s Calculating upgrade... 177s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 177s Reading package lists... 177s Building dependency tree... 177s Reading state information... 177s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 178s autopkgtest [15:55:48]: rebooting testbed after setup commands that affected boot 194s autopkgtest [15:56:04]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 197s autopkgtest [15:56:07]: @@@@@@@@@@@@@@@@@@@@ apt-source pass-audit 198s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (dsc) [2160 B] 198s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (tar) [56.6 kB] 198s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (asc) [963 B] 198s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (diff) [4328 B] 199s gpgv: Signature made Sun Sep 8 17:32:35 2024 UTC 199s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 199s gpgv: issuer "bage@debian.org" 199s gpgv: Can't check signature: No public key 199s dpkg-source: warning: cannot verify inline signature for ./pass-audit_1.2-1.2.dsc: no acceptable signature found 199s autopkgtest [15:56:09]: testing package pass-audit version 1.2-1.2 199s autopkgtest [15:56:09]: build not needed 199s autopkgtest [15:56:09]: test unittests: preparing testbed 202s Reading package lists... 202s Building dependency tree... 202s Reading state information... 202s Starting pkgProblemResolver with broken count: 0 202s Starting 2 pkgProblemResolver with broken count: 0 202s Done 203s The following additional packages will be installed: 203s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 203s libjs-jquery-metadata libjs-jquery-tablesorter 203s libjs-jquery-throttle-debounce pass pass-extension-audit python3-all 203s python3-coverage python3-iniconfig python3-packaging python3-pluggy 203s python3-pytest python3-pytest-cov python3-python-zxcvbn-rs-py tree 203s Suggested packages: 203s libxml-simple-perl python ruby python-coverage-doc 203s Recommended packages: 203s javascript-common git qrencode wl-clipboard xclip 203s The following NEW packages will be installed: 203s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 203s libjs-jquery-metadata libjs-jquery-tablesorter 203s libjs-jquery-throttle-debounce pass pass-extension-audit python3-all 203s python3-coverage python3-iniconfig python3-packaging python3-pluggy 203s python3-pytest python3-pytest-cov python3-python-zxcvbn-rs-py tree 203s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 203s Need to get 2275 kB/2276 kB of archives. 203s After this operation, 8432 kB of additional disk space will be used. 203s Get:1 /tmp/autopkgtest.xB53Yu/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [736 B] 203s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 203s Get:3 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 203s Get:4 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-metadata all 12-4 [6582 B] 203s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 203s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 203s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 tree amd64 2.1.1-2ubuntu3 [47.1 kB] 203s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 pass all 1.7.4-7 [34.7 kB] 203s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-python-zxcvbn-rs-py amd64 0.1.1-2 [1135 kB] 204s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 pass-extension-audit all 1.2-1.2 [15.8 kB] 204s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.6-0ubuntu1 [886 B] 204s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-coverage amd64 7.4.4+dfsg1-0ubuntu2 [147 kB] 204s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 204s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 204s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 204s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.2-1 [251 kB] 204s Get:17 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 204s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 204s Fetched 2275 kB in 1s (2546 kB/s) 204s Selecting previously unselected package libjs-jquery. 204s (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 ... 75551 files and directories currently installed.) 204s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 204s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 204s Selecting previously unselected package libjs-jquery-hotkeys. 204s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 204s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 204s Selecting previously unselected package libjs-jquery-metadata. 204s Preparing to unpack .../02-libjs-jquery-metadata_12-4_all.deb ... 204s Unpacking libjs-jquery-metadata (12-4) ... 204s Selecting previously unselected package libjs-jquery-tablesorter. 204s Preparing to unpack .../03-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 204s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 204s Selecting previously unselected package libjs-jquery-throttle-debounce. 204s Preparing to unpack .../04-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 204s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 204s Selecting previously unselected package tree. 204s Preparing to unpack .../05-tree_2.1.1-2ubuntu3_amd64.deb ... 204s Unpacking tree (2.1.1-2ubuntu3) ... 204s Selecting previously unselected package pass. 204s Preparing to unpack .../06-pass_1.7.4-7_all.deb ... 204s Unpacking pass (1.7.4-7) ... 204s Selecting previously unselected package python3-python-zxcvbn-rs-py. 204s Preparing to unpack .../07-python3-python-zxcvbn-rs-py_0.1.1-2_amd64.deb ... 204s Unpacking python3-python-zxcvbn-rs-py (0.1.1-2) ... 204s Selecting previously unselected package pass-extension-audit. 204s Preparing to unpack .../08-pass-extension-audit_1.2-1.2_all.deb ... 204s Unpacking pass-extension-audit (1.2-1.2) ... 204s Selecting previously unselected package python3-all. 204s Preparing to unpack .../09-python3-all_3.12.6-0ubuntu1_amd64.deb ... 204s Unpacking python3-all (3.12.6-0ubuntu1) ... 204s Selecting previously unselected package python3-coverage. 204s Preparing to unpack .../10-python3-coverage_7.4.4+dfsg1-0ubuntu2_amd64.deb ... 204s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 204s Selecting previously unselected package python3-iniconfig. 204s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 204s Unpacking python3-iniconfig (1.1.1-2) ... 204s Selecting previously unselected package python3-packaging. 204s Preparing to unpack .../12-python3-packaging_24.1-1_all.deb ... 204s Unpacking python3-packaging (24.1-1) ... 204s Selecting previously unselected package python3-pluggy. 204s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 204s Unpacking python3-pluggy (1.5.0-1) ... 204s Selecting previously unselected package python3-pytest. 204s Preparing to unpack .../14-python3-pytest_8.3.2-1_all.deb ... 204s Unpacking python3-pytest (8.3.2-1) ... 204s Selecting previously unselected package libjs-jquery-isonscreen. 204s Preparing to unpack .../15-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 204s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 204s Selecting previously unselected package python3-pytest-cov. 204s Preparing to unpack .../16-python3-pytest-cov_5.0.0-1_all.deb ... 204s Unpacking python3-pytest-cov (5.0.0-1) ... 204s Selecting previously unselected package autopkgtest-satdep. 205s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 205s Unpacking autopkgtest-satdep (0) ... 205s Setting up python3-iniconfig (1.1.1-2) ... 205s Setting up python3-all (3.12.6-0ubuntu1) ... 205s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 205s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 205s Setting up python3-packaging (24.1-1) ... 205s Setting up tree (2.1.1-2ubuntu3) ... 205s Setting up pass (1.7.4-7) ... 205s Setting up python3-pluggy (1.5.0-1) ... 205s Setting up python3-python-zxcvbn-rs-py (0.1.1-2) ... 205s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 205s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 205s Setting up python3-pytest (8.3.2-1) ... 205s Setting up pass-extension-audit (1.2-1.2) ... 205s Setting up libjs-jquery-metadata (12-4) ... 205s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 205s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 205s Setting up python3-pytest-cov (5.0.0-1) ... 206s Setting up autopkgtest-satdep (0) ... 206s Processing triggers for man-db (2.12.1-3) ... 208s (Reading database ... 76070 files and directories currently installed.) 208s Removing autopkgtest-satdep (0) ... 209s autopkgtest [15:56:19]: test unittests: [----------------------- 213s ============================= test session starts ============================== 213s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 213s rootdir: /tmp/autopkgtest.xB53Yu/autopkgtest_tmp 213s plugins: typeguard-4.4.1, cov-5.0.0 213s collected 42 items 213s 213s tests/test_audit.py .....FF [ 16%] 214s tests/test_main.py .....FFFFF.. [ 45%] 214s tests/test_msg.py ........ [ 64%] 215s tests/test_pass.py .............. [ 97%] 215s tests/test_pwned.py . [100%] 215s 215s =================================== FAILURES =================================== 215s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 215s 215s self = 215s 215s def test_zxcvbn_strong(self): 215s """Testing: pass audit for strong password with zxcvbn.""" 215s data = tests.getdata('Password/good') 215s audit = pass_audit.audit.PassAudit(data, True) 215s > weak = audit.zxcvbn() 215s 215s tests/test_audit.py:51: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ----------------------------- Captured stdout call ----------------------------- 215s Checking Password/good/1 215s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 215s 215s self = 215s 215s def test_zxcvbn_weak(self): 215s """Testing: pass audit for weak password with zxcvbn.""" 215s data = tests.getdata('Password/pwned/1') 215s audit = pass_audit.audit.PassAudit(data, True) 215s > weak = audit.zxcvbn() 215s 215s tests/test_audit.py:43: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ----------------------------- Captured stdout call ----------------------------- 215s Checking Password/pwned/1 215s _______________________ TestMain.test_main_passwords_all _______________________ 215s 215s self = 215s 215s @mock.patch('requests.get', tests.mock_request) 215s def test_main_passwords_all(self): 215s """Testing: pass audit .""" 215s cmd = [''] 215s > self.main(cmd) 215s 215s tests/test_main.py:104: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s tests/__init__.py:129: in main 215s pass_audit.__main__.main() 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 215s weak = audit.zxcvbn() 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ----------------------------- Captured stdout call ----------------------------- 215s  . Auditing whole store - this may take some time 215s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.xB53Yu/autopkgtest_tmp/tests/assets/gnupg' 215s gpg: decrypt_message failed: Unknown system error 215s  215s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 215s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 215s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 215s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 215s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 215s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 215s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 215s ____________________ TestMain.test_main_passwords_duplicate ____________________ 215s 215s self = 215s 215s @mock.patch('requests.get', tests.mock_request) 215s def test_main_passwords_duplicate(self): 215s """Testing: pass audit for duplicates.""" 215s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 215s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 215s cmd = ['Password/good'] 215s > self.main(cmd) 215s 215s tests/test_main.py:91: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s tests/__init__.py:129: in main 215s pass_audit.__main__.main() 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 215s weak = audit.zxcvbn() 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ______________________ TestMain.test_main_passwords_good _______________________ 215s 215s self = 215s 215s @mock.patch('requests.get', tests.mock_request) 215s def test_main_passwords_good(self): 215s """Testing: pass audit Password/good.""" 215s cmd = ['Password/good'] 215s > self.main(cmd) 215s 215s tests/test_main.py:98: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s tests/__init__.py:129: in main 215s pass_audit.__main__.main() 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 215s weak = audit.zxcvbn() 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ____________________ TestMain.test_main_passwords_notpwned _____________________ 215s 215s self = 215s 215s @mock.patch('requests.get', tests.mock_request) 215s def test_main_passwords_notpwned(self): 215s """Testing: pass audit Password/notpwned.""" 215s cmd = ['Password/notpwned'] 215s > self.main(cmd) 215s 215s tests/test_main.py:77: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s tests/__init__.py:129: in main 215s pass_audit.__main__.main() 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 215s weak = audit.zxcvbn() 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ______________________ TestMain.test_main_passwords_pwned ______________________ 215s 215s self = 215s 215s @mock.patch('requests.get', tests.mock_request) 215s def test_main_passwords_pwned(self): 215s """Testing: pass audit Password/pwned.""" 215s cmd = ['Password/pwned'] 215s > self.main(cmd) 215s 215s tests/test_main.py:83: 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s tests/__init__.py:129: in main 215s pass_audit.__main__.main() 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 215s weak = audit.zxcvbn() 215s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 215s 215s self = 215s 215s def zxcvbn(self): 215s """Password strength estimaton usuing Dropbox' zxcvbn.""" 215s if not ZXCVBN: 215s raise ImportError(name='zxcvbn') 215s 215s weak = [] 215s for path, entry in self.data.items(): 215s if self.verbose: 215s print(f"Checking {path}") 215s if entry.get('password', '') == '': 215s continue 215s password = entry['password'] 215s user_input = list(entry.values()) + path.split(os.sep) 215s if password in user_input: 215s user_input.remove(password) 215s results = zxcvbn(password, user_inputs=user_input) 215s > if results['score'] <= 2: 215s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 215s 215s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 215s ----------------------------- Captured stdout call ----------------------------- 215s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 215s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 215s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 215s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 215s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 215s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 215s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 215s 215s ---------- coverage: platform linux, python 3.12.7-final-0 ----------- 215s Name Stmts Miss Branch BrPart Cover Missing 215s -------------------------------------------------------------------------------------------------------- 215s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 215s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 215s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 215s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 215s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 215s -------------------------------------------------------------------------------------------------------- 215s TOTAL 326 27 124 13 89% 215s 215s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 215s =========================== short test summary info ============================ 215s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 215s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 215s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 215s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 215s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 215s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 215s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 215s ========================= 7 failed, 35 passed in 5.09s ========================= 215s autopkgtest [15:56:25]: test unittests: -----------------------] 215s autopkgtest [15:56:25]: test unittests: - - - - - - - - - - results - - - - - - - - - - 215s unittests FAIL non-zero exit status 1 216s autopkgtest [15:56:26]: @@@@@@@@@@@@@@@@@@@@ summary 216s unittests FAIL non-zero exit status 1 227s nova [W] Skipping flock for amd64 227s Creating nova instance adt-plucky-amd64-pass-audit-20241109-155250-juju-7f2275-prod-proposed-migration-environment-15-28f6c6cd-4126-4c0b-a2d6-15f1822a4d7c from image adt/ubuntu-plucky-amd64-server-20241108.img (UUID 8e5f101b-f604-4dd5-a1be-68c34044e0a9)...