0s autopkgtest [20:52:36]: starting date and time: 2024-11-23 20:52:36+0000 0s autopkgtest [20:52:36]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:52:36]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._7rgyoqv/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.28 lxd-armhf-10.145.243.28:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [20:53:30]: testbed dpkg architecture: armhf 56s autopkgtest [20:53:32]: testbed apt version: 2.9.8 56s autopkgtest [20:53:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 65s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.2 kB] 65s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 65s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [925 kB] 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [61.7 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [721 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 66s Fetched 1865 kB in 1s (1762 kB/s) 66s Reading package lists... 84s tee: /proc/self/fd/2: Permission denied 106s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 106s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 106s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 106s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 108s Reading package lists... 108s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Calculating upgrade... 111s The following packages will be upgraded: 111s bash debconf debconf-i18n dracut-install pinentry-curses python3-blinker 111s python3-debconf vim-common vim-tiny xxd 111s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 2249 kB of archives. 111s After this operation, 4096 B of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 112s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 112s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 112s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 112s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 112s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 112s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 112s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu2 [37.5 kB] 112s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-0ubuntu2 [40.0 kB] 112s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 112s Preconfiguring packages ... 112s Fetched 2249 kB in 1s (3525 kB/s) 113s (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 ... 59616 files and directories currently installed.) 113s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 113s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 113s Setting up bash (5.2.32-1ubuntu2) ... 113s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 113s (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 ... 59616 files and directories currently installed.) 113s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 113s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 113s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 113s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 113s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 113s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 113s Setting up debconf (1.5.87ubuntu1) ... 113s (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 ... 59616 files and directories currently installed.) 113s Preparing to unpack .../0-vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 113s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../1-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 113s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 114s Preparing to unpack .../2-xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 114s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 114s Preparing to unpack .../3-dracut-install_105-2ubuntu2_armhf.deb ... 114s Unpacking dracut-install (105-2ubuntu2) over (105-1ubuntu1) ... 114s Preparing to unpack .../4-pinentry-curses_1.3.1-0ubuntu2_armhf.deb ... 114s Unpacking pinentry-curses (1.3.1-0ubuntu2) over (1.2.1-3ubuntu5) ... 114s Preparing to unpack .../5-python3-blinker_1.9.0-1_all.deb ... 114s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 114s Setting up pinentry-curses (1.3.1-0ubuntu2) ... 114s Setting up python3-debconf (1.5.87ubuntu1) ... 114s Setting up debconf-i18n (1.5.87ubuntu1) ... 114s Setting up xxd (2:9.1.0861-1ubuntu1) ... 114s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 114s Setting up dracut-install (105-2ubuntu2) ... 114s Setting up python3-blinker (1.9.0-1) ... 114s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 114s Processing triggers for debianutils (5.21) ... 114s Processing triggers for install-info (7.1.1-1) ... 115s Processing triggers for man-db (2.13.0-1) ... 116s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s autopkgtest [20:54:36]: rebooting testbed after setup commands that affected boot 191s autopkgtest [20:55:47]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 221s autopkgtest [20:56:17]: @@@@@@@@@@@@@@@@@@@@ apt-source pass-audit 233s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (dsc) [2160 B] 233s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (tar) [56.6 kB] 233s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (asc) [963 B] 233s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe pass-audit 1.2-1.2 (diff) [4328 B] 233s gpgv: Signature made Sun Sep 8 17:32:35 2024 UTC 233s gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 233s gpgv: issuer "bage@debian.org" 233s gpgv: Can't check signature: No public key 233s dpkg-source: warning: cannot verify inline signature for ./pass-audit_1.2-1.2.dsc: no acceptable signature found 233s autopkgtest [20:56:29]: testing package pass-audit version 1.2-1.2 235s autopkgtest [20:56:31]: build not needed 237s autopkgtest [20:56:33]: test unittests: preparing testbed 248s Reading package lists... 248s Building dependency tree... 248s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 248s Starting 2 pkgProblemResolver with broken count: 0 248s Done 249s The following additional packages will be installed: 249s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 249s libjs-jquery-metadata libjs-jquery-tablesorter 249s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 249s pass pass-extension-audit python3-all python3-coverage python3-iniconfig 249s python3-packaging python3-pluggy python3-pytest python3-pytest-cov 249s python3-python-zxcvbn-rs-py python3.13 python3.13-minimal tree 249s Suggested packages: 249s libxml-simple-perl python ruby python-coverage-doc python3.13-venv 249s python3.13-doc binfmt-support 249s Recommended packages: 249s javascript-common git qrencode wl-clipboard xclip 249s The following NEW packages will be installed: 249s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 249s libjs-jquery-metadata libjs-jquery-tablesorter 249s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 249s pass pass-extension-audit python3-all python3-coverage python3-iniconfig 249s python3-packaging python3-pluggy python3-pytest python3-pytest-cov 249s python3-python-zxcvbn-rs-py python3.13 python3.13-minimal tree 249s 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. 249s Need to get 7687 kB/7688 kB of archives. 249s After this operation, 29.7 MB of additional disk space will be used. 249s Get:1 /tmp/autopkgtest.nKbWFa/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [736 B] 250s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 250s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 250s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 250s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 250s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-metadata all 12-4 [6582 B] 250s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 250s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 250s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 250s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf tree armhf 2.1.1-2ubuntu3 [43.8 kB] 250s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf pass all 1.7.4-7 [34.7 kB] 250s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-python-zxcvbn-rs-py armhf 0.1.1-2build1 [1128 kB] 250s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf pass-extension-audit all 1.2-1.2 [15.8 kB] 250s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 250s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 250s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-coverage armhf 7.4.4+dfsg1-0ubuntu3 [148 kB] 250s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 250s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 250s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 250s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 250s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 250s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-cov all 5.0.0-1 [21.3 kB] 251s Fetched 7687 kB in 1s (8234 kB/s) 251s Selecting previously unselected package libpython3.13-minimal:armhf. 251s (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 ... 59616 files and directories currently installed.) 251s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 251s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 251s Selecting previously unselected package python3.13-minimal. 251s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 251s Unpacking python3.13-minimal (3.13.0-2) ... 251s Selecting previously unselected package libjs-jquery. 251s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 251s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 251s Selecting previously unselected package libjs-jquery-hotkeys. 251s Preparing to unpack .../03-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 251s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 251s Selecting previously unselected package libjs-jquery-metadata. 251s Preparing to unpack .../04-libjs-jquery-metadata_12-4_all.deb ... 251s Unpacking libjs-jquery-metadata (12-4) ... 251s Selecting previously unselected package libjs-jquery-tablesorter. 251s Preparing to unpack .../05-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 251s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 251s Selecting previously unselected package libjs-jquery-throttle-debounce. 251s Preparing to unpack .../06-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 251s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 251s Selecting previously unselected package libpython3.13-stdlib:armhf. 251s Preparing to unpack .../07-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 251s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 252s Selecting previously unselected package tree. 252s Preparing to unpack .../08-tree_2.1.1-2ubuntu3_armhf.deb ... 252s Unpacking tree (2.1.1-2ubuntu3) ... 252s Selecting previously unselected package pass. 252s Preparing to unpack .../09-pass_1.7.4-7_all.deb ... 252s Unpacking pass (1.7.4-7) ... 252s Selecting previously unselected package python3-python-zxcvbn-rs-py. 252s Preparing to unpack .../10-python3-python-zxcvbn-rs-py_0.1.1-2build1_armhf.deb ... 252s Unpacking python3-python-zxcvbn-rs-py (0.1.1-2build1) ... 252s Selecting previously unselected package pass-extension-audit. 252s Preparing to unpack .../11-pass-extension-audit_1.2-1.2_all.deb ... 252s Unpacking pass-extension-audit (1.2-1.2) ... 252s Selecting previously unselected package python3-all. 252s Preparing to unpack .../12-python3-all_3.12.6-0ubuntu1_armhf.deb ... 252s Unpacking python3-all (3.12.6-0ubuntu1) ... 252s Selecting previously unselected package python3.13. 252s Preparing to unpack .../13-python3.13_3.13.0-2_armhf.deb ... 252s Unpacking python3.13 (3.13.0-2) ... 252s Selecting previously unselected package python3-coverage. 252s Preparing to unpack .../14-python3-coverage_7.4.4+dfsg1-0ubuntu3_armhf.deb ... 252s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 252s Selecting previously unselected package python3-iniconfig. 252s Preparing to unpack .../15-python3-iniconfig_1.1.1-2_all.deb ... 252s Unpacking python3-iniconfig (1.1.1-2) ... 252s Selecting previously unselected package python3-packaging. 252s Preparing to unpack .../16-python3-packaging_24.2-1_all.deb ... 252s Unpacking python3-packaging (24.2-1) ... 252s Selecting previously unselected package python3-pluggy. 252s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 252s Unpacking python3-pluggy (1.5.0-1) ... 252s Selecting previously unselected package python3-pytest. 252s Preparing to unpack .../18-python3-pytest_8.3.3-1_all.deb ... 252s Unpacking python3-pytest (8.3.3-1) ... 252s Selecting previously unselected package libjs-jquery-isonscreen. 252s Preparing to unpack .../19-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 252s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 252s Selecting previously unselected package python3-pytest-cov. 252s Preparing to unpack .../20-python3-pytest-cov_5.0.0-1_all.deb ... 252s Unpacking python3-pytest-cov (5.0.0-1) ... 252s Selecting previously unselected package autopkgtest-satdep. 253s Preparing to unpack .../21-1-autopkgtest-satdep.deb ... 253s Unpacking autopkgtest-satdep (0) ... 253s Setting up python3-iniconfig (1.1.1-2) ... 253s Setting up python3-all (3.12.6-0ubuntu1) ... 253s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 253s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 253s Setting up python3-packaging (24.2-1) ... 253s Setting up tree (2.1.1-2ubuntu3) ... 253s Setting up pass (1.7.4-7) ... 253s Setting up python3-pluggy (1.5.0-1) ... 253s Setting up python3.13-minimal (3.13.0-2) ... 255s Setting up python3-python-zxcvbn-rs-py (0.1.1-2build1) ... 255s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 255s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 255s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 255s Setting up python3.13 (3.13.0-2) ... 257s Setting up python3-pytest (8.3.3-1) ... 257s Setting up pass-extension-audit (1.2-1.2) ... 258s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 258s Setting up libjs-jquery-metadata (12-4) ... 258s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 258s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 258s Setting up python3-pytest-cov (5.0.0-1) ... 258s Setting up autopkgtest-satdep (0) ... 258s Processing triggers for man-db (2.13.0-1) ... 259s Processing triggers for systemd (256.5-2ubuntu4) ... 273s (Reading database ... 60877 files and directories currently installed.) 273s Removing autopkgtest-satdep (0) ... 279s autopkgtest [20:57:15]: test unittests: [----------------------- 288s ============================= test session starts ============================== 288s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 288s rootdir: /tmp/autopkgtest.nKbWFa/autopkgtest_tmp 288s plugins: typeguard-4.4.1, cov-5.0.0 288s collected 42 items 288s 289s tests/test_audit.py .....FF [ 16%] 292s tests/test_main.py .....FFFFF.. [ 45%] 292s tests/test_msg.py ........ [ 64%] 292s tests/test_pass.py .............. [ 97%] 292s tests/test_pwned.py . [100%] 292s 292s =================================== FAILURES =================================== 292s _______________________ TestPassAudit.test_zxcvbn_strong _______________________ 292s 292s self = 292s 292s def test_zxcvbn_strong(self): 292s """Testing: pass audit for strong password with zxcvbn.""" 292s data = tests.getdata('Password/good') 292s audit = pass_audit.audit.PassAudit(data, True) 292s > weak = audit.zxcvbn() 292s 292s tests/test_audit.py:51: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ----------------------------- Captured stdout call ----------------------------- 292s Checking Password/good/1 292s ________________________ TestPassAudit.test_zxcvbn_weak ________________________ 292s 292s self = 292s 292s def test_zxcvbn_weak(self): 292s """Testing: pass audit for weak password with zxcvbn.""" 292s data = tests.getdata('Password/pwned/1') 292s audit = pass_audit.audit.PassAudit(data, True) 292s > weak = audit.zxcvbn() 292s 292s tests/test_audit.py:43: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ----------------------------- Captured stdout call ----------------------------- 292s Checking Password/pwned/1 292s _______________________ TestMain.test_main_passwords_all _______________________ 292s 292s self = 292s 292s @mock.patch('requests.get', tests.mock_request) 292s def test_main_passwords_all(self): 292s """Testing: pass audit .""" 292s cmd = [''] 292s > self.main(cmd) 292s 292s tests/test_main.py:104: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s tests/__init__.py:129: in main 292s pass_audit.__main__.main() 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 292s weak = audit.zxcvbn() 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ----------------------------- Captured stdout call ----------------------------- 292s  . Auditing whole store - this may take some time 292s  w Imposible to read dummy from the password store: gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest.nKbWFa/autopkgtest_tmp/tests/assets/gnupg' 292s gpg: decrypt_message failed: Unknown system error 292s  292s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 292s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 292s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 292s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 292s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 292s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 292s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 292s ____________________ TestMain.test_main_passwords_duplicate ____________________ 292s 292s self = 292s 292s @mock.patch('requests.get', tests.mock_request) 292s def test_main_passwords_duplicate(self): 292s """Testing: pass audit for duplicates.""" 292s shutil.copy(os.path.join(self.store.prefix, 'Password/good/1.gpg'), 292s os.path.join(self.store.prefix, 'Password/good/10.gpg')) 292s cmd = ['Password/good'] 292s > self.main(cmd) 292s 292s tests/test_main.py:91: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s tests/__init__.py:129: in main 292s pass_audit.__main__.main() 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 292s weak = audit.zxcvbn() 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ______________________ TestMain.test_main_passwords_good _______________________ 292s 292s self = 292s 292s @mock.patch('requests.get', tests.mock_request) 292s def test_main_passwords_good(self): 292s """Testing: pass audit Password/good.""" 292s cmd = ['Password/good'] 292s > self.main(cmd) 292s 292s tests/test_main.py:98: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s tests/__init__.py:129: in main 292s pass_audit.__main__.main() 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 292s weak = audit.zxcvbn() 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ____________________ TestMain.test_main_passwords_notpwned _____________________ 292s 292s self = 292s 292s @mock.patch('requests.get', tests.mock_request) 292s def test_main_passwords_notpwned(self): 292s """Testing: pass audit Password/notpwned.""" 292s cmd = ['Password/notpwned'] 292s > self.main(cmd) 292s 292s tests/test_main.py:77: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s tests/__init__.py:129: in main 292s pass_audit.__main__.main() 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 292s weak = audit.zxcvbn() 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ______________________ TestMain.test_main_passwords_pwned ______________________ 292s 292s self = 292s 292s @mock.patch('requests.get', tests.mock_request) 292s def test_main_passwords_pwned(self): 292s """Testing: pass audit Password/pwned.""" 292s cmd = ['Password/pwned'] 292s > self.main(cmd) 292s 292s tests/test_main.py:83: 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s tests/__init__.py:129: in main 292s pass_audit.__main__.main() 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py:130: in main 292s weak = audit.zxcvbn() 292s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 292s 292s self = 292s 292s def zxcvbn(self): 292s """Password strength estimaton usuing Dropbox' zxcvbn.""" 292s if not ZXCVBN: 292s raise ImportError(name='zxcvbn') 292s 292s weak = [] 292s for path, entry in self.data.items(): 292s if self.verbose: 292s print(f"Checking {path}") 292s if entry.get('password', '') == '': 292s continue 292s password = entry['password'] 292s user_input = list(entry.values()) + path.split(os.sep) 292s if password in user_input: 292s user_input.remove(password) 292s results = zxcvbn(password, user_inputs=user_input) 292s > if results['score'] <= 2: 292s E TypeError: 'zxcvbn_rs_py.Entropy' object is not subscriptable 292s 292s /usr/lib/python3/dist-packages/pass_audit/audit.py:90: TypeError 292s ----------------------------- Captured stdout call ----------------------------- 292s  w Password breached: P@ssw0rd from Password/pwned/1 has been breached 52579 time(s). 292s  w Password breached: correct horse battery staple from Password/pwned/2 has been breached 3 time(s). 292s  w Password breached: correcthorsebatterystaple from Password/pwned/3 has been breached 120 time(s). 292s  w Password breached: ILoveYou from Password/pwned/4 has been breached 1386 time(s). 292s  w Password breached: password from Password/pwned/5 has been breached 3730471 time(s). 292s  w Password breached: a from Password/pwned/6 has been breached 123422 time(s). 292s  w Password breached: iamagenius from Password/pwned/7 has been breached 411 time(s). 292s 292s ---------- coverage: platform linux, python 3.12.7-final-0 ----------- 292s Name Stmts Miss Branch BrPart Cover Missing 292s -------------------------------------------------------------------------------------------------------- 292s /usr/lib/python3/dist-packages/pass_audit/__init__.py 10 0 0 0 100% 292s /usr/lib/python3/dist-packages/pass_audit/__main__.py 81 19 24 1 73% 108-112, 132-150, 154-155 292s /usr/lib/python3/dist-packages/pass_audit/audit.py 80 4 36 4 93% 13-14, 77, 87->89, 90->80, 91 292s /usr/lib/python3/dist-packages/pass_audit/msg.py 41 0 12 3 94% 38->exit, 49->exit, 55->exit 292s /usr/lib/python3/dist-packages/pass_audit/passwordstore.py 114 4 52 5 95% 59, 107-108, 111->118, 124->118, 155, 166->164 292s -------------------------------------------------------------------------------------------------------- 292s TOTAL 326 27 124 13 89% 292s 292s FAIL Required test coverage of 94% not reached. Total coverage: 89.33% 292s =========================== short test summary info ============================ 292s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_strong - TypeError: 'z... 292s FAILED tests/test_audit.py::TestPassAudit::test_zxcvbn_weak - TypeError: 'zxc... 292s FAILED tests/test_main.py::TestMain::test_main_passwords_all - TypeError: 'zx... 292s FAILED tests/test_main.py::TestMain::test_main_passwords_duplicate - TypeErro... 292s FAILED tests/test_main.py::TestMain::test_main_passwords_good - TypeError: 'z... 292s FAILED tests/test_main.py::TestMain::test_main_passwords_notpwned - TypeError... 292s FAILED tests/test_main.py::TestMain::test_main_passwords_pwned - TypeError: '... 292s ======================== 7 failed, 35 passed in 10.07s ========================= 293s autopkgtest [20:57:29]: test unittests: -----------------------] 297s autopkgtest [20:57:33]: test unittests: - - - - - - - - - - results - - - - - - - - - - 297s unittests FAIL non-zero exit status 1 301s autopkgtest [20:57:37]: @@@@@@@@@@@@@@@@@@@@ summary 301s unittests FAIL non-zero exit status 1