Actions
action #116377
closedopenQABot pipeline failing with KeyError: 'project'
Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
The openQABot pipeline appears to be consistently failing like this:
Traceback (most recent call last):
File "./oqabot.py", line 27, in <module>
main()
File "/builds/qa-maintenance/openQABot/openqabot/main.py", line 18, in main
sys.exit(run_bot(logger, args, sys))
File "/builds/qa-maintenance/openQABot/openqabot/main.py", line 41, in run_bot
return OpenQABot(metadata, args)()
File "/builds/qa-maintenance/openQABot/openqabot/openqabot.py", line 92, in __init__
self.ptfs = PTF(self.sg)()
File "/builds/qa-maintenance/openQABot/openqabot/update/ptf.py", line 19, in __call__
return self._get_ptf_data()
File "/builds/qa-maintenance/openQABot/openqabot/update/ptf.py", line 56, in _get_ptf_data
data = [self._add_kernel_source(d) for d in data if d]
File "/builds/qa-maintenance/openQABot/openqabot/update/ptf.py", line 56, in <listcomp>
data = [self._add_kernel_source(d) for d in data if d]
File "/builds/qa-maintenance/openQABot/openqabot/update/ptf.py", line 55, in <genexpr>
data = (self.get_max_revision(d) for d in data["objects"])
File "/builds/qa-maintenance/openQABot/openqabot/update/ptf.py", line 22, in get_max_revision
repo = "http://download.suse.de/ibs/" + ptf["project"].replace(":", ":/")
KeyError: 'project'
Note that the error is also consistent between retries.
Acceptance criteria¶
- AC1: openQABot pipeline succeeds without KeyError
Suggestions¶
Updated by livdywan over 2 years ago
- Status changed from New to In Progress
- Assignee set to livdywan
I'm taking a look
Updated by livdywan over 2 years ago
- Documentation for
--only-l3
: https://gitlab.suse.de/qa-maintenance/openQABot/-/merge_requests/98 - Proper error handling in the case of an undefined
project
https://gitlab.suse.de/qa-maintenance/openQABot/-/merge_requests/99
Updated by openqa_review about 2 years ago
- Due date set to 2022-09-24
Setting due date based on mean cycle time of SUSE QE Tools
Updated by livdywan about 2 years ago
- Status changed from In Progress to Feedback
MRs have been merged. I've not seen the issue come back yet, so I couldn't confirm if this was an outage or a legitimate change. At least the error will be clearer now should it come back.
Updated by okurz about 2 years ago
- Due date deleted (
2022-09-24) - Status changed from Feedback to Resolved
Well, we don't see the error right now and did apply improvements so we are good to resolve.
Actions