Brian's hotfix has made it into master, I have a more appropriate change that I'm linking to this bug now.
** Merge proposal linked: https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/447886 -- You received this bug notification because you are a member of Canonical's Ubuntu QA, which is subscribed to Auto Package Testing. https://bugs.launchpad.net/bugs/2028796 Title: Traceback if a test is not queued or running Status in Auto Package Testing: Triaged 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/juju/agents/unit-autopkgtest-web-2/charm/webcontrol/request/submit.py", line 595, in is_test_in_queue: /var/lib/juju/agents/unit-autopkgtest-web-2/charm/webcontrol/request.cgi, referer: https://autopkgtest.ubuntu.com/packages/libs/libsoup3/mantic/amd64 [Wed Jul 26 17:44:12.430878 2023] [cgi:error] [pid 2582036] [client 10.15.102.10:43748] AH01215: triggers = details["triggers"]: /var/lib/juju/agents/unit-autopkgtest-web-2/charm/webcontrol/request.cgi, referer: https://autopkgtest.ubuntu.com/packages/libs/libsoup3/mantic/amd64 [Wed Jul 26 17:44:12.430892 2023] [cgi:error] [pid 2582036] [client 10.15.102.10:43748] AH01215: KeyError: 'triggers': /var/lib/juju/agents/unit-autopkgtest-web-2/charm/webcontrol/request.cgi, referer: https://autopkgtest.ubuntu.com/packages/libs/libsoup3/mantic/amd64 If there is not a test in the queue then getting the triggers for that test will not work. To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/2028796/+subscriptions -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp