Project

General

Profile

action #101884

openqa-review: list index out of range

Added by kodymo 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
2021-11-03
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

History

#1 Updated by kodymo 3 months ago

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

#2 Updated by kodymo 3 months 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 Concrete Bugs

#3 Updated by kodymo 3 months ago

  • Description updated (diff)

#4 Updated by mkittler 3 months ago

  • Assignee set to mkittler

#5 Updated by mkittler 3 months ago

  • Status changed from New to Feedback

#6 Updated by mkittler 3 months 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).

Also available in: Atom PDF