Project

General

Profile

Actions

action #116377

closed

openQABot pipeline failing with KeyError: 'project'

Added by livdywan over 1 year ago. Updated over 1 year ago.

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 #1

Updated by livdywan over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to livdywan

I'm taking a look

Actions #2

Updated by livdywan over 1 year ago

Actions #3

Updated by openqa_review over 1 year ago

  • Due date set to 2022-09-24

Setting due date based on mean cycle time of SUSE QE Tools

Actions #4

Updated by livdywan over 1 year 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.

Actions #5

Updated by okurz over 1 year 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

Also available in: Atom PDF