Missing dep8 tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-sasl2 (Ubuntu) |
Fix Released
|
Medium
|
Andreas Hasenack | ||
Jammy |
Fix Released
|
Undecided
|
Lena Voytek |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
As of March 29, 2017, this source package did not contain dep8 tests in
the current development release of Ubuntu, named Zesty. This was
determined by running `pull-lp-source cyrus-sasl2 zesty` and then
checking for the existence of 'debian/tests/' and
'debian/
Test automation is essential to higher levels of quality and confidence
in updates to packages. dep8 tests [1] specify how automatic testing can
be integrated into packages and then run by package maintainers before
new uploads.
This defect is to report the absence of these tests and to report the
opportunity as a potential item for development by both new and
experienced contributors.
[1] http://
affects ubuntu/cyrus-sasl2
status new
importance wishlist
tag needs-dep8
- ---
Joshua Powers
Ubuntu Server
Canonical Ltd
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJ
JuMQGO5wwcfHRxO
3wADCH98EwLuSyJ
wD9ZhZgjwJIpLbq
4PYfqgGso/
nALDXe/
iDQF4HyltqfCNF5
WzcTFL+
Gq9uM+fHU4YHQqf
CBAwLIt1hLR9g4T
ieFMZIxmGgCq7Kj
WY9JzBOc6MUi46H
=szTz
-----END PGP SIGNATURE-----
Related branches
- git-ubuntu bot: Approve
- Andreas Hasenack (community): Approve
- Canonical Server: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 761 lines (+697/-0)10 files modifieddebian/changelog (+18/-0)
debian/patches/0034-channel-binding-gssapi-gss-spnego.patch (+122/-0)
debian/patches/0035-Add-support-for-setting-max-ssf-0-to-GSS-SPNEGO-1.patch (+93/-0)
debian/patches/0035-Add-support-for-setting-max-ssf-0-to-GSS-SPNEGO-2.patch (+59/-0)
debian/patches/series (+3/-0)
debian/tests/control (+16/-0)
debian/tests/gssapi (+151/-0)
debian/tests/pluginviewer (+14/-0)
debian/tests/saslauthd (+151/-0)
debian/tests/shared-secret-mechs (+70/-0)
Changed in cyrus-sasl2 (Ubuntu): | |
status: | New → Triaged |
Changed in cyrus-sasl2 (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in cyrus-sasl2 (Ubuntu): | |
status: | Triaged → In Progress |
importance: | Wishlist → Medium |
Changed in cyrus-sasl2 (Ubuntu Jammy): | |
assignee: | nobody → Lena Voytek (lvoytek) |
status: | New → In Progress |
We were recently hit by bug #1956833, where GSS-SPNEGO was suddenly disabled and nobody noticed until an app tried to use it.
For that case, I'm thinking about a very simple test that would be like this:
for algo in $ALGORITHMS; do
saslpluginviewer -m $algo > /dev/null || {
echo "Algorithm $algo not available"
exit 1
}
done
And ALGORITHMS is a list of the algorithms we expect to always be available, like:
SCRAM-SHA-1 SCRAM-SHA-256 GS2-IAKERB GS2-KRB5 GSS-SPNEGO GSSAPI DIGEST-MD5 EXTERNAL CRAM-MD5 NTLM PLAIN LOGIN ANONYMOUS