Flaky DEP8 test: saslauthd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-sasl2 (Debian) |
Fix Released
|
Unknown
|
|||
cyrus-sasl2 (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
It looks like the saslauthd test is a bit flaky, and more so in platforms like arm64[1]:
autopkgtest [15:14:52]: test saslauthd: [------
Setting up saslauthd with mecanism sasldb
Authentication of user user1887 with correct password should succeed... FAIL
exit status: 255
output:
connect() : No such file or directory
0:
autopkgtest [15:14:53]: test saslauthd: -------
autopkgtest [15:14:53]: test saslauthd: - - - - - - - - - - results - - - - - - - - - -
saslauthd FAIL non-zero exit status 1
The "connect()" error looks like the saslauthd unix socket isn't ready yet. That test happens right after a saslauthd restart:
echo "Setting up saslauthd with mecanism ${mech}"
setup_saslauthd ${mech} <--- restart happens here
# test correct credentials
echo -n "Authentication of user ${sasluser} with correct password should succeed... "
result=0
output=
Maybe we should loop for a few times in a check for the socket, and if it still fails, add extra logging to the output so it can be troubleshooted better.
1. https:/
description: | updated |
Changed in cyrus-sasl2 (Debian): | |
status: | Unknown → New |
Changed in cyrus-sasl2 (Ubuntu): | |
status: | New → Triaged |
Changed in cyrus-sasl2 (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | Triaged → In Progress |
Changed in cyrus-sasl2 (Debian): | |
status: | New → Fix Released |
I have a fix for this.