0s autopkgtest [23:19:17]: starting date and time: 2025-01-09 23:19:17+0000 0s autopkgtest [23:19:17]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [23:19:17]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ywkgpt_r/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-19.secgroup --name adt-plucky-ppc64el-pass-audit-20250109-231917-juju-7f2275-prod-proposed-migration-environment-15-dab1257e-5ec9-4def-b699-4759b4aa3749 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 64s autopkgtest [23:20:21]: testbed dpkg architecture: ppc64el 65s autopkgtest [23:20:22]: testbed apt version: 2.9.18 65s autopkgtest [23:20:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s autopkgtest [23:20:22]: testbed release detected to be: None 66s autopkgtest [23:20:23]: updating testbed package index (apt update) 66s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 66s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 67s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 67s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [781 kB] 67s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 67s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.0 kB] 67s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [268 kB] 67s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 67s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [1002 kB] 67s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5088 B] 67s Fetched 2281 kB in 1s (2141 kB/s) 68s Reading package lists... 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Calculating upgrade... 69s The following packages will be upgraded: 69s firmware-sof-signed 69s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s Need to get 7093 kB of archives. 69s After this operation, 0 B of additional disk space will be used. 69s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el firmware-sof-signed all 2024.06-1ubuntu4 [7093 kB] 71s Fetched 7093 kB in 1s (7363 kB/s) 71s (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 ... 74025 files and directories currently installed.) 71s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu4_all.deb ... 71s Unpacking firmware-sof-signed (2024.06-1ubuntu4) over (2024.06-1ubuntu3) ... 71s Setting up firmware-sof-signed (2024.06-1ubuntu4) ... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s autopkgtest [23:20:29]: upgrading testbed (apt dist-upgrade and autopurge) 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 72s Starting 2 pkgProblemResolver with broken count: 0 72s Done 73s Entering ResolveByKeep 73s 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s Starting pkgProblemResolver with broken count: 0 74s Starting 2 pkgProblemResolver with broken count: 0 74s Done 74s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s autopkgtest [23:20:33]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 77s autopkgtest [23:20:34]: @@@@@@@@@@@@@@@@@@@@ apt-source pass-audit 78s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (dsc) [2160 B] 78s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (tar) [56.6 kB] 78s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (asc) [963 B] 78s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (diff) [4328 B] 78s gpgv: Signature made Sun Sep 8 17:32:35 2024 UTC 78s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 78s gpgv: issuer "bage@debian.org" 78s gpgv: Can't check signature: No public key 78s dpkg-source: warning: cannot verify inline signature for ./pass-audit_1.2-1.2.dsc: no acceptable signature found 78s autopkgtest [23:20:35]: testing package pass-audit version 1.2-1.2 79s autopkgtest [23:20:36]: build not needed 79s autopkgtest [23:20:36]: test unittests: preparing testbed 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Starting pkgProblemResolver with broken count: 0 80s Starting 2 pkgProblemResolver with broken count: 0 80s Done 80s The following NEW packages will be installed: 80s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 80s libjs-jquery-metadata libjs-jquery-tablesorter 80s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 80s pass pass-extension-audit python3-all python3-coverage python3-iniconfig 80s python3-packaging python3-pluggy python3-pytest python3-pytest-cov 80s python3-python-zxcvbn-rs-py python3.13 python3.13-minimal tree 80s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 8643 kB of archives. 80s After this operation, 38.7 MB of additional disk space will be used. 80s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.1-2 [883 kB] 80s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.1-2 [2496 kB] 81s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 81s Get:4 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 81s Get:5 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 81s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 81s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 81s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.1-2 [2131 kB] 81s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el tree ppc64el 2.1.1-2ubuntu3 [54.4 kB] 81s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el pass all 1.7.4-7 [34.7 kB] 81s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-python-zxcvbn-rs-py ppc64el 0.2.0-1 [1243 kB] 81s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el pass-extension-audit all 1.2-1.2 [15.8 kB] 81s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.1-2 [729 kB] 81s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.8-1 [892 B] 81s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-coverage ppc64el 7.4.4+dfsg1-0ubuntu3 [151 kB] 81s Get:16 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 81s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 81s Get:18 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 81s Get:19 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.4-1 [252 kB] 81s Get:20 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 81s Get:21 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-cov all 5.0.0-1 [21.3 kB] 81s Fetched 8643 kB in 1s (8401 kB/s) 81s Selecting previously unselected package libpython3.13-minimal:ppc64el. 81s (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 ... 74025 files and directories currently installed.) 81s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_ppc64el.deb ... 81s Unpacking libpython3.13-minimal:ppc64el (3.13.1-2) ... 81s Selecting previously unselected package python3.13-minimal. 81s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_ppc64el.deb ... 81s Unpacking python3.13-minimal (3.13.1-2) ... 81s Selecting previously unselected package libjs-jquery. 81s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 81s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 81s Selecting previously unselected package libjs-jquery-hotkeys. 81s Preparing to unpack .../03-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 81s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 81s Selecting previously unselected package libjs-jquery-metadata. 81s Preparing to unpack .../04-libjs-jquery-metadata_12-4_all.deb ... 81s Unpacking libjs-jquery-metadata (12-4) ... 81s Selecting previously unselected package libjs-jquery-tablesorter. 81s Preparing to unpack .../05-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 81s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 81s Selecting previously unselected package libjs-jquery-throttle-debounce. 81s Preparing to unpack .../06-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 81s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 81s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 81s Preparing to unpack .../07-libpython3.13-stdlib_3.13.1-2_ppc64el.deb ... 81s Unpacking libpython3.13-stdlib:ppc64el (3.13.1-2) ... 82s Selecting previously unselected package tree. 82s Preparing to unpack .../08-tree_2.1.1-2ubuntu3_ppc64el.deb ... 82s Unpacking tree (2.1.1-2ubuntu3) ... 82s Selecting previously unselected package pass. 82s Preparing to unpack .../09-pass_1.7.4-7_all.deb ... 82s Unpacking pass (1.7.4-7) ... 82s Selecting previously unselected package python3-python-zxcvbn-rs-py. 82s Preparing to unpack .../10-python3-python-zxcvbn-rs-py_0.2.0-1_ppc64el.deb ... 82s Unpacking python3-python-zxcvbn-rs-py (0.2.0-1) ... 82s Selecting previously unselected package pass-extension-audit. 82s Preparing to unpack .../11-pass-extension-audit_1.2-1.2_all.deb ... 82s Unpacking pass-extension-audit (1.2-1.2) ... 82s Selecting previously unselected package python3.13. 82s Preparing to unpack .../12-python3.13_3.13.1-2_ppc64el.deb ... 82s Unpacking python3.13 (3.13.1-2) ... 82s Selecting previously unselected package python3-all. 82s Preparing to unpack .../13-python3-all_3.12.8-1_ppc64el.deb ... 82s Unpacking python3-all (3.12.8-1) ... 82s Selecting previously unselected package python3-coverage. 82s Preparing to unpack .../14-python3-coverage_7.4.4+dfsg1-0ubuntu3_ppc64el.deb ... 82s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 82s Selecting previously unselected package python3-iniconfig. 82s Preparing to unpack .../15-python3-iniconfig_1.1.1-2_all.deb ... 82s Unpacking python3-iniconfig (1.1.1-2) ... 82s Selecting previously unselected package python3-packaging. 82s Preparing to unpack .../16-python3-packaging_24.2-1_all.deb ... 82s Unpacking python3-packaging (24.2-1) ... 82s Selecting previously unselected package python3-pluggy. 82s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 82s Unpacking python3-pluggy (1.5.0-1) ... 82s Selecting previously unselected package python3-pytest. 82s Preparing to unpack .../18-python3-pytest_8.3.4-1_all.deb ... 82s Unpacking python3-pytest (8.3.4-1) ... 82s Selecting previously unselected package libjs-jquery-isonscreen. 82s Preparing to unpack .../19-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 82s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 82s Selecting previously unselected package python3-pytest-cov. 82s Preparing to unpack .../20-python3-pytest-cov_5.0.0-1_all.deb ... 82s Unpacking python3-pytest-cov (5.0.0-1) ... 82s Setting up python3-iniconfig (1.1.1-2) ... 82s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 82s Setting up libpython3.13-minimal:ppc64el (3.13.1-2) ... 82s Setting up python3-packaging (24.2-1) ... 82s Setting up tree (2.1.1-2ubuntu3) ... 82s Setting up pass (1.7.4-7) ... 82s Setting up python3-pluggy (1.5.0-1) ... 83s Setting up python3.13-minimal (3.13.1-2) ... 83s Setting up python3-python-zxcvbn-rs-py (0.2.0-1) ... 83s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 83s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 83s Setting up libpython3.13-stdlib:ppc64el (3.13.1-2) ... 83s Setting up python3.13 (3.13.1-2) ... 85s Setting up python3-pytest (8.3.4-1) ... 85s Setting up pass-extension-audit (1.2-1.2) ... 85s Setting up python3-all (3.12.8-1) ... 85s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 86s Setting up libjs-jquery-metadata (12-4) ... 86s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 86s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 86s Setting up python3-pytest-cov (5.0.0-1) ... 86s Processing triggers for man-db (2.13.0-1) ... 87s Processing triggers for systemd (257-2ubuntu1) ... 88s autopkgtest [23:20:45]: test unittests: [----------------------- 89s ============================= test session starts ============================== 89s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 89s rootdir: /tmp/autopkgtest.qH4t2O/autopkgtest_tmp 89s plugins: typeguard-4.4.1, cov-5.0.0 89s collected 42 items 89s 90s tests/test_audit.py .....FF [ 16%] 91s tests/test_main.py .....FFFFF.. [ 45%] 91s tests/test_msg.py ........ [ 64%] 91s tests/test_pass.py .............. [ 97%] 91s tests/test_pwned.py . [100%] 91s 91s =================================== FAILURES =================================== 91s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 91s 91s self = 91s 91s def test_zxcvbn_strong(self): 91s """Testing: pass audit for strong password with zxcvbn.""" 91s data = tests.getdata('Password/good') 91s audit = pass_audit.audit.PassAudit(data, True) 91s > weak = audit.zxcvbn() 91s 91s tests/test_audit.py:51: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ----------------------------- Captured stdout call ----------------------------- 91s Checking Password/good/1 91s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 91s 91s self = 91s 91s def test_zxcvbn_weak(self): 91s """Testing: pass audit for weak password with zxcvbn.""" 91s data = tests.getdata('Password/pwned/1') 91s audit = pass_audit.audit.PassAudit(data, True) 91s > weak = audit.zxcvbn() 91s 91s tests/test_audit.py:43: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ----------------------------- Captured stdout call ----------------------------- 91s Checking Password/pwned/1 91s _______________________ TestMain.test_main_passwords_all _______________________ 91s 91s self = 91s 91s @mock.patch('requests.get', tests.mock_request) 91s def test_main_passwords_all(self): 91s """Testing: pass audit .""" 91s cmd = [''] 91s > self.main(cmd) 91s 91s tests/test_main.py:104: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s tests/__init__.py:129: in main 91s pass_audit.__main__.main() 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 91s weak = audit.zxcvbn() 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ----------------------------- Captured stdout call ----------------------------- 91s  . Auditing whole store - this may take some time 91s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.qH4t2O/autopkgtest_tmp/tests/assets/gnupg' 91s gpg: decrypt_message failed: Unknown system error 91s  91s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 91s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 91s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 91s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 91s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 91s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 91s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 91s ____________________ TestMain.test_main_passwords_duplicate ____________________ 91s 91s self = 91s 91s @mock.patch('requests.get', tests.mock_request) 91s def test_main_passwords_duplicate(self): 91s """Testing: pass audit for duplicates.""" 91s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 91s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 91s cmd = ['Password/good'] 91s > self.main(cmd) 91s 91s tests/test_main.py:91: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s tests/__init__.py:129: in main 91s pass_audit.__main__.main() 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 91s weak = audit.zxcvbn() 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ______________________ TestMain.test_main_passwords_good _______________________ 91s 91s self = 91s 91s @mock.patch('requests.get', tests.mock_request) 91s def test_main_passwords_good(self): 91s """Testing: pass audit Password/good.""" 91s cmd = ['Password/good'] 91s > self.main(cmd) 91s 91s tests/test_main.py:98: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s tests/__init__.py:129: in main 91s pass_audit.__main__.main() 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 91s weak = audit.zxcvbn() 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ____________________ TestMain.test_main_passwords_notpwned _____________________ 91s 91s self = 91s 91s @mock.patch('requests.get', tests.mock_request) 91s def test_main_passwords_notpwned(self): 91s """Testing: pass audit Password/notpwned.""" 91s cmd = ['Password/notpwned'] 91s > self.main(cmd) 91s 91s tests/test_main.py:77: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s tests/__init__.py:129: in main 91s pass_audit.__main__.main() 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 91s weak = audit.zxcvbn() 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ______________________ TestMain.test_main_passwords_pwned ______________________ 91s 91s self = 91s 91s @mock.patch('requests.get', tests.mock_request) 91s def test_main_passwords_pwned(self): 91s """Testing: pass audit Password/pwned.""" 91s cmd = ['Password/pwned'] 91s > self.main(cmd) 91s 91s tests/test_main.py:83: 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s tests/__init__.py:129: in main 91s pass_audit.__main__.main() 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 91s weak = audit.zxcvbn() 91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 91s 91s self = 91s 91s def zxcvbn(self): 91s """Password strength estimaton usuing Dropbox' zxcvbn.""" 91s if not ZXCVBN: 91s raise ImportError(name='zxcvbn') 91s 91s weak = [] 91s for path, entry in self.data.items(): 91s if self.verbose: 91s print(f"Checking {path}") 91s if entry.get('password', '') == '': 91s continue 91s password = entry['password'] 91s user_input = list(entry.values()) + path.split(os.sep) 91s if password in user_input: 91s user_input.remove(password) 91s results = zxcvbn(password, user_inputs=user_input) 91s > if results['score'] <= 2: 91s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 91s 91s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 91s ----------------------------- Captured stdout call ----------------------------- 91s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 91s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 91s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 91s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 91s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 91s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 91s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 91s 91s ---------- coverage: platform linux, python 3.13.1-final-0 ----------- 91s Name Stmts Miss Branch BrPart Cover Missing 91s -------------------------------------------------------------------------------------------------------- 91s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 91s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 91s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 91s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 91s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 91s -------------------------------------------------------------------------------------------------------- 91s TOTAL 326 27 124 13 89% 91s 91s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 91s =========================== short test summary info ============================ 91s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 91s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 91s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 91s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 91s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 91s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 91s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 91s ========================= 7 failed, 35 passed in 2.84s ========================= 97s ============================= test session starts ============================== 97s platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 97s rootdir: /tmp/autopkgtest.qH4t2O/autopkgtest_tmp 97s plugins: typeguard-4.4.1, cov-5.0.0 97s collected 42 items 97s 98s tests/test_audit.py .....FF [ 16%] 99s tests/test_main.py .....FFFFF.. [ 45%] 99s tests/test_msg.py ........ [ 64%] 99s tests/test_pass.py .............. [ 97%] 99s tests/test_pwned.py . [100%] 99s 99s =================================== FAILURES =================================== 99s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 99s 99s self = 99s 99s def test_zxcvbn_strong(self): 99s """Testing: pass audit for strong password with zxcvbn.""" 99s data = tests.getdata('Password/good') 99s audit = pass_audit.audit.PassAudit(data, True) 99s > weak = audit.zxcvbn() 99s 99s tests/test_audit.py:51: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ----------------------------- Captured stdout call ----------------------------- 99s Checking Password/good/1 99s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 99s 99s self = 99s 99s def test_zxcvbn_weak(self): 99s """Testing: pass audit for weak password with zxcvbn.""" 99s data = tests.getdata('Password/pwned/1') 99s audit = pass_audit.audit.PassAudit(data, True) 99s > weak = audit.zxcvbn() 99s 99s tests/test_audit.py:43: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ----------------------------- Captured stdout call ----------------------------- 99s Checking Password/pwned/1 99s _______________________ TestMain.test_main_passwords_all _______________________ 99s 99s self = 99s 99s @mock.patch('requests.get', tests.mock_request) 99s def test_main_passwords_all(self): 99s """Testing: pass audit .""" 99s cmd = [''] 99s > self.main(cmd) 99s 99s tests/test_main.py:104: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s tests/__init__.py:129: in main 99s pass_audit.__main__.main() 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 99s weak = audit.zxcvbn() 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ----------------------------- Captured stdout call ----------------------------- 99s  . Auditing whole store - this may take some time 99s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.qH4t2O/autopkgtest_tmp/tests/assets/gnupg' 99s gpg: decrypt_message failed: Unknown system error 99s  99s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 99s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 99s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 99s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 99s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 99s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 99s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 99s ____________________ TestMain.test_main_passwords_duplicate ____________________ 99s 99s self = 99s 99s @mock.patch('requests.get', tests.mock_request) 99s def test_main_passwords_duplicate(self): 99s """Testing: pass audit for duplicates.""" 99s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 99s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 99s cmd = ['Password/good'] 99s > self.main(cmd) 99s 99s tests/test_main.py:91: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s tests/__init__.py:129: in main 99s pass_audit.__main__.main() 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 99s weak = audit.zxcvbn() 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ______________________ TestMain.test_main_passwords_good _______________________ 99s 99s self = 99s 99s @mock.patch('requests.get', tests.mock_request) 99s def test_main_passwords_good(self): 99s """Testing: pass audit Password/good.""" 99s cmd = ['Password/good'] 99s > self.main(cmd) 99s 99s tests/test_main.py:98: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s tests/__init__.py:129: in main 99s pass_audit.__main__.main() 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 99s weak = audit.zxcvbn() 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ____________________ TestMain.test_main_passwords_notpwned _____________________ 99s 99s self = 99s 99s @mock.patch('requests.get', tests.mock_request) 99s def test_main_passwords_notpwned(self): 99s """Testing: pass audit Password/notpwned.""" 99s cmd = ['Password/notpwned'] 99s > self.main(cmd) 99s 99s tests/test_main.py:77: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s tests/__init__.py:129: in main 99s pass_audit.__main__.main() 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 99s weak = audit.zxcvbn() 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ______________________ TestMain.test_main_passwords_pwned ______________________ 99s 99s self = 99s 99s @mock.patch('requests.get', tests.mock_request) 99s def test_main_passwords_pwned(self): 99s """Testing: pass audit Password/pwned.""" 99s cmd = ['Password/pwned'] 99s > self.main(cmd) 99s 99s tests/test_main.py:83: 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s tests/__init__.py:129: in main 99s pass_audit.__main__.main() 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 99s weak = audit.zxcvbn() 99s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 99s 99s self = 99s 99s def zxcvbn(self): 99s """Password strength estimaton usuing Dropbox' zxcvbn.""" 99s if not ZXCVBN: 99s raise ImportError(name='zxcvbn') 99s 99s weak = [] 99s for path, entry in self.data.items(): 99s if self.verbose: 99s print(f"Checking {path}") 99s if entry.get('password', '') == '': 99s continue 99s password = entry['password'] 99s user_input = list(entry.values()) + path.split(os.sep) 99s if password in user_input: 99s user_input.remove(password) 99s results = zxcvbn(password, user_inputs=user_input) 99s > if results['score'] <= 2: 99s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 99s 99s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 99s ----------------------------- Captured stdout call ----------------------------- 99s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 99s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 99s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 99s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 99s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 99s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 99s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 99s 99s ---------- coverage: platform linux, python 3.12.8-final-0 ----------- 99s Name Stmts Miss Branch BrPart Cover Missing 99s -------------------------------------------------------------------------------------------------------- 99s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 99s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 99s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 99s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 99s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 99s -------------------------------------------------------------------------------------------------------- 99s TOTAL 326 27 124 13 89% 99s 99s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 99s =========================== short test summary info ============================ 99s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 99s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 99s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 99s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 99s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 99s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 99s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 99s ========================= 7 failed, 35 passed in 7.58s ========================= 99s autopkgtest [23:20:56]: test unittests: -----------------------] 100s unittests FAIL non-zero exit status 1 100s autopkgtest [23:20:57]: test unittests: - - - - - - - - - - results - - - - - - - - - - 100s autopkgtest [23:20:57]: @@@@@@@@@@@@@@@@@@@@ summary 100s unittests FAIL non-zero exit status 1 105s nova [W] Using flock in prodstack6-ppc64el 105s Creating nova instance adt-plucky-ppc64el-pass-audit-20250109-231917-juju-7f2275-prod-proposed-migration-environment-15-dab1257e-5ec9-4def-b699-4759b4aa3749 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 105s nova [W] Timed out waiting for 5ed830f0-9b04-43bf-b282-77c409252a41 to get deleted.