improve AD provisioning DEP8 test
Bug #2009485 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
The samba AD provisioning test runs with "set -e", and when it fails, there is nothing else logged. Example:
## DNS tests
Obtaining administrator kerberos ticket
Password for <email address hidden>:
autopkgtest [19:22:43]: test samba-ad-
autopkgtest [19:22:46]: test samba-ad-
samba-ad-
From the exit code, I know it was a timeout (124). We should amend the exit trap with logs, like kerberos logs, samba logs, /var/log/syslog, etc.
To post a comment you must log in.
This bug was fixed in the package samba - 2:4.17. 5+dfsg- 2ubuntu2
--------------- 5+dfsg- 2ubuntu2) lunar; urgency=medium
samba (2:4.17.
* d/t/samba- ad-dc-provision ing-internal- dns: test improvements
(LP: #2009485):
- increase kinit timeout, as it also does DNS lookups
- add a trap on exit to show logs in the case of some failure
-- Andreas Hasenack <email address hidden> Mon, 06 Mar 2023 11:49:34 -0300