0s autopkgtest [04:41:02]: starting date and time: 2025-02-19 04:41:02+0000 0s autopkgtest [04:41:02]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [04:41:02]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.yl4r2v9e/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-9.secgroup --name adt-plucky-s390x-pass-audit-20250219-044102-juju-7f2275-prod-proposed-migration-environment-2-7a7d9456-0e77-44c8-962a-dd70476e2a53 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 89s autopkgtest [04:42:31]: testbed dpkg architecture: s390x 89s autopkgtest [04:42:31]: testbed apt version: 2.9.29 90s autopkgtest [04:42:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 90s autopkgtest [04:42:32]: testbed release detected to be: None 91s autopkgtest [04:42:33]: updating testbed package index (apt update) 91s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 91s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 91s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 91s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 92s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 92s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [770 kB] 92s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.2 kB] 92s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 92s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [93.9 kB] 92s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 92s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [648 kB] 92s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [5836 B] 92s Fetched 1723 kB in 1s (1583 kB/s) 93s Reading package lists... 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s Calculating upgrade... 94s The following packages were automatically installed and are no longer required: 94s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 94s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 94s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 94s linux-tools-6.11.0-8-generic 94s Use 'sudo apt autoremove' to remove them. 94s The following NEW packages will be installed: 94s libapt-pkg7.0 94s The following packages will be upgraded: 94s apt apt-utils dhcpcd-base rsyslog s390-tools s390-tools-data 94s s390-tools-signed 94s 7 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 94s Need to get 8909 kB of archives. 94s After this operation, 3624 kB of additional disk space will be used. 94s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libapt-pkg7.0 s390x 2.9.30 [1103 kB] 94s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x apt s390x 2.9.30 [1418 kB] 94s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x apt-utils s390x 2.9.30 [214 kB] 94s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dhcpcd-base s390x 1:10.1.0-7 [219 kB] 94s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x rsyslog s390x 8.2412.0-2ubuntu1 [536 kB] 95s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools-data all 2.37.0-0ubuntu2 [20.4 kB] 95s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools s390x 2.37.0-0ubuntu2 [5385 kB] 95s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools-signed all 2.37.0-0ubuntu2 [12.4 kB] 95s Fetched 8909 kB in 1s (6975 kB/s) 95s Selecting previously unselected package libapt-pkg7.0:s390x. 95s (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 ... 80980 files and directories currently installed.) 95s Preparing to unpack .../libapt-pkg7.0_2.9.30_s390x.deb ... 95s Unpacking libapt-pkg7.0:s390x (2.9.30) ... 95s Setting up libapt-pkg7.0:s390x (2.9.30) ... 95s (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 ... 81029 files and directories currently installed.) 95s Preparing to unpack .../archives/apt_2.9.30_s390x.deb ... 95s Unpacking apt (2.9.30) over (2.9.29) ... 95s Setting up apt (2.9.30) ... 96s (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 ... 81029 files and directories currently installed.) 96s Preparing to unpack .../0-apt-utils_2.9.30_s390x.deb ... 96s Unpacking apt-utils (2.9.30) over (2.9.29) ... 96s Preparing to unpack .../1-dhcpcd-base_1%3a10.1.0-7_s390x.deb ... 96s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-6) ... 96s Preparing to unpack .../2-rsyslog_8.2412.0-2ubuntu1_s390x.deb ... 96s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2412.0-1ubuntu1) ... 96s Preparing to unpack .../3-s390-tools-data_2.37.0-0ubuntu2_all.deb ... 96s Unpacking s390-tools-data (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 96s Preparing to unpack .../4-s390-tools_2.37.0-0ubuntu2_s390x.deb ... 96s Unpacking s390-tools (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 96s Preparing to unpack .../5-s390-tools-signed_2.37.0-0ubuntu2_all.deb ... 96s Unpacking s390-tools-signed (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 96s Setting up apt-utils (2.9.30) ... 96s Setting up rsyslog (8.2412.0-2ubuntu1) ... 96s info: The user `syslog' is already a member of `adm'. 97s Setting up s390-tools-signed (2.37.0-0ubuntu2) ... 97s Setting up dhcpcd-base (1:10.1.0-7) ... 97s Setting up s390-tools-data (2.37.0-0ubuntu2) ... 97s Setting up s390-tools (2.37.0-0ubuntu2) ... 98s Processing triggers for libc-bin (2.40-4ubuntu1) ... 98s Processing triggers for man-db (2.13.0-1) ... 99s Processing triggers for initramfs-tools (0.145ubuntu2) ... 99s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 99s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 103s Using config file '/etc/zipl.conf' 103s Building bootmap in '/boot' 103s Adding IPL section 'ubuntu' (default) 103s Preparing boot device for LD-IPL: vda (0000). 103s Done. 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 104s The following packages will be REMOVED: 104s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 104s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 104s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 104s linux-tools-6.11.0-8-generic* 104s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 104s After this operation, 167 MB disk space will be freed. 105s (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 ... 81030 files and directories currently installed.) 105s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 105s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 105s Removing libpython3.12t64:s390x (3.12.9-1) ... 105s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 105s Removing libnsl2:s390x (1.3.0-3build3) ... 105s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 105s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 105s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 106s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 106s Processing triggers for libc-bin (2.40-4ubuntu1) ... 106s (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 ... 55930 files and directories currently installed.) 106s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 106s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 106s autopkgtest [04:42:48]: upgrading testbed (apt dist-upgrade and autopurge) 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 106s Starting 2 pkgProblemResolver with broken count: 0 106s Done 107s Entering ResolveByKeep 107s 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Starting pkgProblemResolver with broken count: 0 107s Starting 2 pkgProblemResolver with broken count: 0 107s Done 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [04:42:50]: rebooting testbed after setup commands that affected boot 129s autopkgtest [04:43:11]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 15:05:57 UTC 2025 132s autopkgtest [04:43:14]: @@@@@@@@@@@@@@@@@@@@ apt-source pass-audit 134s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (dsc) [2160 B] 134s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (tar) [56.6 kB] 134s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (asc) [963 B] 134s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (diff) [4328 B] 134s gpgv: Signature made Sun Sep 8 17:32:35 2024 UTC 134s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 134s gpgv: issuer "bage@debian.org" 134s gpgv: Can't check signature: No public key 134s dpkg-source: warning: cannot verify inline signature for ./pass-audit_1.2-1.2.dsc: no acceptable signature found 134s autopkgtest [04:43:16]: testing package pass-audit version 1.2-1.2 134s autopkgtest [04:43:16]: build not needed 134s autopkgtest [04:43:16]: test unittests: preparing testbed 135s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s Starting pkgProblemResolver with broken count: 0 135s Starting 2 pkgProblemResolver with broken count: 0 135s Done 135s The following NEW packages will be installed: 135s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 135s libjs-jquery-metadata libjs-jquery-tablesorter 135s libjs-jquery-throttle-debounce libnsl2 libpython3.12-minimal 135s libpython3.12-stdlib pass pass-extension-audit python3-all python3-coverage 135s python3-iniconfig python3-packaging python3-pluggy python3-pytest 135s python3-pytest-cov python3-python-zxcvbn-rs-py python3.12 python3.12-minimal 135s tree 135s 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. 135s Need to get 8495 kB of archives. 135s After this operation, 36.6 MB of additional disk space will be used. 135s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-minimal s390x 3.12.9-1 [836 kB] 136s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-minimal s390x 3.12.9-1 [2403 kB] 136s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libnsl2 s390x 1.3.0-3build3 [44.1 kB] 136s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-stdlib s390x 3.12.9-1 [2071 kB] 136s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12 s390x 3.12.9-1 [671 kB] 136s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 136s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-metadata all 12-4 [6582 B] 136s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 136s Get:10 http://ftpmaster.internal/ubuntu plucky/universe s390x tree s390x 2.1.1-2ubuntu3 [50.9 kB] 136s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x pass all 1.7.4-7 [34.7 kB] 136s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-python-zxcvbn-rs-py s390x 0.2.0-1 [1310 kB] 136s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x pass-extension-audit all 1.2-1.2 [15.8 kB] 136s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.13.1-1~exp2 [898 B] 136s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-coverage s390x 7.4.4+dfsg1-0ubuntu3 [150 kB] 136s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 136s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 136s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 136s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.4-1 [252 kB] 136s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 136s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 136s Get:22 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-cov all 5.0.0-1 [21.3 kB] 137s Fetched 8495 kB in 1s (7330 kB/s) 137s Selecting previously unselected package libpython3.12-minimal:s390x. 137s (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 ... 55928 files and directories currently installed.) 137s Preparing to unpack .../00-libpython3.12-minimal_3.12.9-1_s390x.deb ... 137s Unpacking libpython3.12-minimal:s390x (3.12.9-1) ... 137s Selecting previously unselected package python3.12-minimal. 137s Preparing to unpack .../01-python3.12-minimal_3.12.9-1_s390x.deb ... 137s Unpacking python3.12-minimal (3.12.9-1) ... 137s Selecting previously unselected package libnsl2:s390x. 137s Preparing to unpack .../02-libnsl2_1.3.0-3build3_s390x.deb ... 137s Unpacking libnsl2:s390x (1.3.0-3build3) ... 137s Selecting previously unselected package libpython3.12-stdlib:s390x. 137s Preparing to unpack .../03-libpython3.12-stdlib_3.12.9-1_s390x.deb ... 137s Unpacking libpython3.12-stdlib:s390x (3.12.9-1) ... 137s Selecting previously unselected package python3.12. 137s Preparing to unpack .../04-python3.12_3.12.9-1_s390x.deb ... 137s Unpacking python3.12 (3.12.9-1) ... 137s Selecting previously unselected package libjs-jquery. 137s Preparing to unpack .../05-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 137s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 137s Selecting previously unselected package libjs-jquery-metadata. 137s Preparing to unpack .../06-libjs-jquery-metadata_12-4_all.deb ... 137s Unpacking libjs-jquery-metadata (12-4) ... 137s Selecting previously unselected package libjs-jquery-tablesorter. 137s Preparing to unpack .../07-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 137s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 137s Selecting previously unselected package libjs-jquery-throttle-debounce. 137s Preparing to unpack .../08-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 137s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 137s Selecting previously unselected package tree. 137s Preparing to unpack .../09-tree_2.1.1-2ubuntu3_s390x.deb ... 137s Unpacking tree (2.1.1-2ubuntu3) ... 137s Selecting previously unselected package pass. 137s Preparing to unpack .../10-pass_1.7.4-7_all.deb ... 137s Unpacking pass (1.7.4-7) ... 137s Selecting previously unselected package python3-python-zxcvbn-rs-py. 137s Preparing to unpack .../11-python3-python-zxcvbn-rs-py_0.2.0-1_s390x.deb ... 137s Unpacking python3-python-zxcvbn-rs-py (0.2.0-1) ... 137s Selecting previously unselected package pass-extension-audit. 137s Preparing to unpack .../12-pass-extension-audit_1.2-1.2_all.deb ... 137s Unpacking pass-extension-audit (1.2-1.2) ... 137s Selecting previously unselected package python3-all. 137s Preparing to unpack .../13-python3-all_3.13.1-1~exp2_s390x.deb ... 137s Unpacking python3-all (3.13.1-1~exp2) ... 137s Selecting previously unselected package python3-coverage. 137s Preparing to unpack .../14-python3-coverage_7.4.4+dfsg1-0ubuntu3_s390x.deb ... 137s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 137s Selecting previously unselected package python3-iniconfig. 137s Preparing to unpack .../15-python3-iniconfig_1.1.1-2_all.deb ... 137s Unpacking python3-iniconfig (1.1.1-2) ... 137s Selecting previously unselected package python3-packaging. 137s Preparing to unpack .../16-python3-packaging_24.2-1_all.deb ... 137s Unpacking python3-packaging (24.2-1) ... 137s Selecting previously unselected package python3-pluggy. 137s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 137s Unpacking python3-pluggy (1.5.0-1) ... 137s Selecting previously unselected package python3-pytest. 137s Preparing to unpack .../18-python3-pytest_8.3.4-1_all.deb ... 137s Unpacking python3-pytest (8.3.4-1) ... 137s Selecting previously unselected package libjs-jquery-hotkeys. 137s Preparing to unpack .../19-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 137s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 137s Selecting previously unselected package libjs-jquery-isonscreen. 137s Preparing to unpack .../20-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 137s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 137s Selecting previously unselected package python3-pytest-cov. 137s Preparing to unpack .../21-python3-pytest-cov_5.0.0-1_all.deb ... 137s Unpacking python3-pytest-cov (5.0.0-1) ... 137s Setting up python3-iniconfig (1.1.1-2) ... 137s Setting up libpython3.12-minimal:s390x (3.12.9-1) ... 137s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 137s Setting up python3-packaging (24.2-1) ... 138s Setting up tree (2.1.1-2ubuntu3) ... 138s Setting up pass (1.7.4-7) ... 138s Setting up python3-pluggy (1.5.0-1) ... 138s Setting up libnsl2:s390x (1.3.0-3build3) ... 138s Setting up python3-python-zxcvbn-rs-py (0.2.0-1) ... 138s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 138s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 138s Setting up python3.12-minimal (3.12.9-1) ... 139s Setting up libpython3.12-stdlib:s390x (3.12.9-1) ... 139s Setting up python3-pytest (8.3.4-1) ... 139s Setting up python3.12 (3.12.9-1) ... 140s Setting up pass-extension-audit (1.2-1.2) ... 140s Setting up python3-all (3.13.1-1~exp2) ... 140s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 140s Setting up libjs-jquery-metadata (12-4) ... 140s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 140s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 140s Setting up python3-pytest-cov (5.0.0-1) ... 141s Processing triggers for man-db (2.13.0-1) ... 141s Processing triggers for libc-bin (2.40-4ubuntu1) ... 141s Processing triggers for systemd (257.2-3ubuntu1) ... 142s autopkgtest [04:43:24]: test unittests: [----------------------- 146s ============================= test session starts ============================== 146s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 146s rootdir: /tmp/autopkgtest.xqSwaa/autopkgtest_tmp 146s plugins: cov-5.0.0, typeguard-4.4.1 146s collected 42 items 146s 147s tests/test_audit.py .....FF [ 16%] 148s tests/test_main.py .....FFFFF.. [ 45%] 148s tests/test_msg.py ........ [ 64%] 148s tests/test_pass.py .............. [ 97%] 148s tests/test_pwned.py . [100%] 148s 148s =================================== FAILURES =================================== 148s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 148s 148s self = 148s 148s def test_zxcvbn_strong(self): 148s """Testing: pass audit for strong password with zxcvbn.""" 148s data = tests.getdata('Password/good') 148s audit = pass_audit.audit.PassAudit(data, True) 148s > weak = audit.zxcvbn() 148s 148s tests/test_audit.py:51: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ----------------------------- Captured stdout call ----------------------------- 148s Checking Password/good/1 148s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 148s 148s self = 148s 148s def test_zxcvbn_weak(self): 148s """Testing: pass audit for weak password with zxcvbn.""" 148s data = tests.getdata('Password/pwned/1') 148s audit = pass_audit.audit.PassAudit(data, True) 148s > weak = audit.zxcvbn() 148s 148s tests/test_audit.py:43: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ----------------------------- Captured stdout call ----------------------------- 148s Checking Password/pwned/1 148s _______________________ TestMain.test_main_passwords_all _______________________ 148s 148s self = 148s 148s @mock.patch('requests.get', tests.mock_request) 148s def test_main_passwords_all(self): 148s """Testing: pass audit .""" 148s cmd = [''] 148s > self.main(cmd) 148s 148s tests/test_main.py:104: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s tests/__init__.py:129: in main 148s pass_audit.__main__.main() 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 148s weak = audit.zxcvbn() 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ----------------------------- Captured stdout call ----------------------------- 148s  . Auditing whole store - this may take some time 148s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.xqSwaa/autopkgtest_tmp/tests/assets/gnupg' 148s gpg: decrypt_message failed: Unknown system error 148s  148s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 148s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 148s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 148s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 148s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 148s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 148s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 148s ____________________ TestMain.test_main_passwords_duplicate ____________________ 148s 148s self = 148s 148s @mock.patch('requests.get', tests.mock_request) 148s def test_main_passwords_duplicate(self): 148s """Testing: pass audit for duplicates.""" 148s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 148s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 148s cmd = ['Password/good'] 148s > self.main(cmd) 148s 148s tests/test_main.py:91: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s tests/__init__.py:129: in main 148s pass_audit.__main__.main() 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 148s weak = audit.zxcvbn() 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ______________________ TestMain.test_main_passwords_good _______________________ 148s 148s self = 148s 148s @mock.patch('requests.get', tests.mock_request) 148s def test_main_passwords_good(self): 148s """Testing: pass audit Password/good.""" 148s cmd = ['Password/good'] 148s > self.main(cmd) 148s 148s tests/test_main.py:98: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s tests/__init__.py:129: in main 148s pass_audit.__main__.main() 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 148s weak = audit.zxcvbn() 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ____________________ TestMain.test_main_passwords_notpwned _____________________ 148s 148s self = 148s 148s @mock.patch('requests.get', tests.mock_request) 148s def test_main_passwords_notpwned(self): 148s """Testing: pass audit Password/notpwned.""" 148s cmd = ['Password/notpwned'] 148s > self.main(cmd) 148s 148s tests/test_main.py:77: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s tests/__init__.py:129: in main 148s pass_audit.__main__.main() 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 148s weak = audit.zxcvbn() 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ______________________ TestMain.test_main_passwords_pwned ______________________ 148s 148s self = 148s 148s @mock.patch('requests.get', tests.mock_request) 148s def test_main_passwords_pwned(self): 148s """Testing: pass audit Password/pwned.""" 148s cmd = ['Password/pwned'] 148s > self.main(cmd) 148s 148s tests/test_main.py:83: 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s tests/__init__.py:129: in main 148s pass_audit.__main__.main() 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 148s weak = audit.zxcvbn() 148s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 148s 148s self = 148s 148s def zxcvbn(self): 148s """Password strength estimaton usuing Dropbox' zxcvbn.""" 148s if not ZXCVBN: 148s raise ImportError(name='zxcvbn') 148s 148s weak = [] 148s for path, entry in self.data.items(): 148s if self.verbose: 148s print(f"Checking {path}") 148s if entry.get('password', '') == '': 148s continue 148s password = entry['password'] 148s user_input = list(entry.values()) + path.split(os.sep) 148s if password in user_input: 148s user_input.remove(password) 148s results = zxcvbn(password, user_inputs=user_input) 148s > if results['score'] <= 2: 148s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 148s 148s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 148s ----------------------------- Captured stdout call ----------------------------- 148s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 148s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 148s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 148s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 148s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 148s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 148s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 148s 148s ---------- coverage: platform linux, python 3.12.9-final-0 ----------- 148s Name Stmts Miss Branch BrPart Cover Missing 148s -------------------------------------------------------------------------------------------------------- 148s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 148s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 148s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 148s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 148s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 148s -------------------------------------------------------------------------------------------------------- 148s TOTAL 326 27 124 13 89% 148s 148s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 148s =========================== short test summary info ============================ 148s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 148s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 148s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 148s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 148s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 148s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 148s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 148s ========================= 7 failed, 35 passed in 5.66s ========================= 148s ============================= test session starts ============================== 148s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 148s rootdir: /tmp/autopkgtest.xqSwaa/autopkgtest_tmp 148s plugins: cov-5.0.0, typeguard-4.4.1 148s collected 42 items 148s 149s tests/test_audit.py .....FF [ 16%] 150s tests/test_main.py .....FFFFF.. [ 45%] 150s tests/test_msg.py ........ [ 64%] 150s tests/test_pass.py .............. [ 97%] 150s tests/test_pwned.py . [100%] 150s 150s =================================== FAILURES =================================== 150s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 150s 150s self = 150s 150s def test_zxcvbn_strong(self): 150s """Testing: pass audit for strong password with zxcvbn.""" 150s data = tests.getdata('Password/good') 150s audit = pass_audit.audit.PassAudit(data, True) 150s > weak = audit.zxcvbn() 150s 150s tests/test_audit.py:51: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ----------------------------- Captured stdout call ----------------------------- 150s Checking Password/good/1 150s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 150s 150s self = 150s 150s def test_zxcvbn_weak(self): 150s """Testing: pass audit for weak password with zxcvbn.""" 150s data = tests.getdata('Password/pwned/1') 150s audit = pass_audit.audit.PassAudit(data, True) 150s > weak = audit.zxcvbn() 150s 150s tests/test_audit.py:43: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ----------------------------- Captured stdout call ----------------------------- 150s Checking Password/pwned/1 150s _______________________ TestMain.test_main_passwords_all _______________________ 150s 150s self = 150s 150s @mock.patch('requests.get', tests.mock_request) 150s def test_main_passwords_all(self): 150s """Testing: pass audit .""" 150s cmd = [''] 150s > self.main(cmd) 150s 150s tests/test_main.py:104: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s tests/__init__.py:129: in main 150s pass_audit.__main__.main() 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 150s weak = audit.zxcvbn() 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ----------------------------- Captured stdout call ----------------------------- 150s  . Auditing whole store - this may take some time 150s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.xqSwaa/autopkgtest_tmp/tests/assets/gnupg' 150s gpg: decrypt_message failed: Unknown system error 150s  150s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 150s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 150s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 150s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 150s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 150s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 150s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 150s ____________________ TestMain.test_main_passwords_duplicate ____________________ 150s 150s self = 150s 150s @mock.patch('requests.get', tests.mock_request) 150s def test_main_passwords_duplicate(self): 150s """Testing: pass audit for duplicates.""" 150s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 150s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 150s cmd = ['Password/good'] 150s > self.main(cmd) 150s 150s tests/test_main.py:91: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s tests/__init__.py:129: in main 150s pass_audit.__main__.main() 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 150s weak = audit.zxcvbn() 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ______________________ TestMain.test_main_passwords_good _______________________ 150s 150s self = 150s 150s @mock.patch('requests.get', tests.mock_request) 150s def test_main_passwords_good(self): 150s """Testing: pass audit Password/good.""" 150s cmd = ['Password/good'] 150s > self.main(cmd) 150s 150s tests/test_main.py:98: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s tests/__init__.py:129: in main 150s pass_audit.__main__.main() 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 150s weak = audit.zxcvbn() 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ____________________ TestMain.test_main_passwords_notpwned _____________________ 150s 150s self = 150s 150s @mock.patch('requests.get', tests.mock_request) 150s def test_main_passwords_notpwned(self): 150s """Testing: pass audit Password/notpwned.""" 150s cmd = ['Password/notpwned'] 150s > self.main(cmd) 150s 150s tests/test_main.py:77: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s tests/__init__.py:129: in main 150s pass_audit.__main__.main() 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 150s weak = audit.zxcvbn() 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ______________________ TestMain.test_main_passwords_pwned ______________________ 150s 150s self = 150s 150s @mock.patch('requests.get', tests.mock_request) 150s def test_main_passwords_pwned(self): 150s """Testing: pass audit Password/pwned.""" 150s cmd = ['Password/pwned'] 150s > self.main(cmd) 150s 150s tests/test_main.py:83: 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s tests/__init__.py:129: in main 150s pass_audit.__main__.main() 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 150s weak = audit.zxcvbn() 150s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 150s 150s self = 150s 150s def zxcvbn(self): 150s """Password strength estimaton usuing Dropbox' zxcvbn.""" 150s if not ZXCVBN: 150s raise ImportError(name='zxcvbn') 150s 150s weak = [] 150s for path, entry in self.data.items(): 150s if self.verbose: 150s print(f"Checking {path}") 150s if entry.get('password', '') == '': 150s continue 150s password = entry['password'] 150s user_input = list(entry.values()) + path.split(os.sep) 150s if password in user_input: 150s user_input.remove(password) 150s results = zxcvbn(password, user_inputs=user_input) 150s > if results['score'] <= 2: 150s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 150s 150s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 150s ----------------------------- Captured stdout call ----------------------------- 150s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 150s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 150s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 150s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 150s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 150s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 150s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 150s 150s ---------- coverage: platform linux, python 3.13.2-final-0 ----------- 150s Name Stmts Miss Branch BrPart Cover Missing 150s -------------------------------------------------------------------------------------------------------- 150s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 150s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 150s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 150s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 150s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 150s -------------------------------------------------------------------------------------------------------- 150s TOTAL 326 27 124 13 89% 150s 150s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 150s =========================== short test summary info ============================ 150s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 150s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 150s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 150s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 150s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 150s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 150s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 150s ========================= 7 failed, 35 passed in 1.68s ========================= 150s autopkgtest [04:43:32]: test unittests: -----------------------] 151s autopkgtest [04:43:33]: test unittests: - - - - - - - - - - results - - - - - - - - - - 151s unittests FAIL non-zero exit status 1 152s autopkgtest [04:43:33]: @@@@@@@@@@@@@@@@@@@@ summary 152s unittests FAIL non-zero exit status 1 157s nova [W] Using flock in prodstack6-s390x 157s Creating nova instance adt-plucky-s390x-pass-audit-20250219-044102-juju-7f2275-prod-proposed-migration-environment-2-7a7d9456-0e77-44c8-962a-dd70476e2a53 from image adt/ubuntu-plucky-s390x-server-20250218.img (UUID d4b3949f-1d31-4fe6-9e99-080adec067af)... 157s nova [W] Timed out waiting for ab1fdc53-03ec-4766-84c9-f76ffeda4e24 to get deleted.