Project

General

Profile

action #116377

openQABot pipeline failing with KeyError: 'project'

Added by cdywan 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
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

History

#1 Updated by cdywan 3 months ago

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

I'm taking a look

#2 Updated by cdywan 3 months ago

#3 Updated by openqa_review 3 months ago

  • Due date set to 2022-09-24

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

#4 Updated by cdywan 3 months 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.

#5 Updated by okurz 3 months 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.

Also available in: Atom PDF