Traceback if a test is not queued or running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
Triaged
|
Critical
|
Tim Andersson |
Bug Description
ahasenack was getting a server error trying to queue an autopkgtest today after the autopkgtest-web charm was updated to revision 77. I found the following in the apache2 logs:
[Wed Jul 26 17:44:12.430857 2023] [cgi:error] [pid 2582036] [client 10.15.102.10:43748] AH01215: File "/var/lib/
[Wed Jul 26 17:44:12.430878 2023] [cgi:error] [pid 2582036] [client 10.15.102.10:43748] AH01215: triggers = details[
[Wed Jul 26 17:44:12.430892 2023] [cgi:error] [pid 2582036] [client 10.15.102.10:43748] AH01215: KeyError: 'triggers': /var/lib/
If there is not a test in the queue then getting the triggers for that test will not work.
Related branches
- Tim Andersson: Approve
-
Diff: 16 lines (+4/-1)1 file modifiedcharms/focal/autopkgtest-web/webcontrol/request/submit.py (+4/-1)
Changed in auto-package-testing: | |
importance: | Undecided → Critical |
assignee: | nobody → Tim Andersson (andersson123) |
status: | New → Triaged |
tags: | added: adt-310 |
Brian's hotfix has made it into master, I have a more appropriate change that I'm linking to this bug now.