Project

General

Profile

Actions

action #101884

closed

openqa-review: list index out of range

Added by kodymo almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-11-03
Due date:
% Done:

0%

Estimated time:

Description

https://gitlab.suse.de/openqa/openqa-review/-/pipelines/243650 (parent: https://gitlab.suse.de/openqa/openqa-review/-/pipelines/243647) has three failed jobs.
There is an IndexError: list index out of range
All three of them look like this:

Traceback (most recent call last):
  File "/usr/bin/openqa-review", line 33, in <module>
    sys.exit(load_entry_point('openqa-review==0.0.0', 'console_scripts', 'openqa-review')())
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1560, in main
    report = generate_report(args)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1488, in generate_report
    return Report(browser, args, root_url, job_groups)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1437, in __init__
    self.report[k] = self._one_report(v)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1448, in _one_report
    return ProductReport(self.browser, job_group_url, self.root_url, self.args)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1162, in __init__
    self.reports[arch] = ArchReport(arch, results, args, root_url, progress_browser, bugzilla_browser, browser)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 901, in __init__
    self._search_for_bugrefs_for_softfailures(results)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 945, in _search_for_bugrefs_for_softfailures
    module_url = self._get_url_to_softfailed_module(v["href"])
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 981, in _get_url_to_softfailed_module
    "///%s//" % [i for i in details["job"]["testresults"] if i["result"] == "softfailed"][0]["name"]
IndexError: list index out of range
+ save_report=
+ cleanup
+ rm -r /tmp/tmp.kjZnVAlAye
+++ kill %1
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: command terminated with exit code 1
Actions #1

Updated by kodymo almost 3 years ago

  • Subject changed from openqa-review: Failed pipeline for master to openqa-review: Failed pipeline for master 2aec1df1
Actions #2

Updated by kodymo almost 3 years ago

  • Subject changed from openqa-review: Failed pipeline for master 2aec1df1 to openqa-review: list index out of range
  • Description updated (diff)
  • Category set to Regressions/Crashes
Actions #3

Updated by kodymo almost 3 years ago

  • Description updated (diff)
Actions #4

Updated by mkittler almost 3 years ago

  • Assignee set to mkittler
Actions #5

Updated by mkittler almost 3 years ago

  • Status changed from New to Feedback
Actions #6

Updated by mkittler almost 3 years ago

  • Status changed from Feedback to Resolved

The PR has been merged and recent pipelines pass again (although it could be that there's simply no more problematic job to be processed).

Actions

Also available in: Atom PDF