Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Sebastien Bacher
Mon, 30 Nov 2026 11:00
Bug#1155893: radicale: autopkgtest fails with ModuleNotFoundError: No module named 'pam' (new test in 3.9.2)
Author: Sebastien Bacher
Date: Mon, 30 Nov 2026 11:00
Date: Mon, 30 Nov 2026 11:00
85 lines
4514 bytes
4514 bytes
This is a multi-part MIME message sent by reportbug.
--===============6004954314110926614==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Source: radicale
Version: 3.7.8+ds-3
Severity: important
Tags: patch
X-Debbugs-Cc: seb128@ubuntu.com
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu tenacious ubuntu-patch
Hi,
Since the 3.9.2+ds-1 upload, radicale's autopkgtest ("pytest-3 radicale")
fails on every architecture (confirmed via both Ubuntu's proposed-migration
results and Debian's own package tracker) with:
self = <radicale.auth.pam.Auth object at 0x71063b047380>
configuration = <radicale.config.Configuration object at 0x71063b163770>
def __init__(self, configuration) -> None:
super().__init__(configuration)
try:
> import pam
E ModuleNotFoundError: No module named 'pam'
radicale/auth/pam.py:45: ModuleNotFoundError
The failing test is
tests/test_group.py::TestBaseGroupRequests::test_from_auth_pam_groups_are_empty_and_copied,
which is new upstream in 3.9.2 (it does not exist in the 3.9.0/3.9.1
sources). It is only guarded against running on Windows:
@pytest.mark.skipif(sys.platform == "win32", reason="PAM authentication is unavailable on Windows")
def test_from_auth_pam_groups_are_empty_and_copied(self) -> None:
but nothing guards against the python3-pam module simply not being
installed, which is the case in the normal build/autopkgtest
environment since debian/tests/control does not list python3-pam
as a test dependency.
Attached patch adds python3-pam to debian/tests/control's Depends so
the pam auth backend can actually be exercised, which fixes the
autopkgtest failure for me locally.
Thanks for maintaining radicale!
-- System Information:
Debian Release: forky/sid
APT prefers resolute-updates
APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.0-44-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--===============6004954314110926614==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tests-control-add-python3-pam.patch"
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -6,6 +6,7 @@
mypy,
python3-argon2,
python3-bcrypt,
+ python3-pam,
python3-pytest,
python3-pytest-cov,
python3-radicale,
--===============6004954314110926614==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads