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¶
Actions