Project

General

Profile

Actions

action #102200

closed

openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M

Added by tinita over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2021-11-10
Due date:
2021-11-25
% Done:

0%

Estimated time:

Description

Observation

https://gitlab.suse.de/openqa/openqa-review/-/jobs/684699

.
ERROR:openqa_review.openqa_review:Error retrieving details for bugref bsc#1174164 (https://bugzilla.suse.com/show_bug.cgi?id=1174164): 'NoneType' object is not subscriptable
.
.
.
.
.
.
.
ERROR:openqa_review.openqa_review:Error retrieving details for bugref boo#1183044 (https://bugzilla.opensuse.org/show_bug.cgi?id=1183044): 'NoneType' object is not subscriptable
.
ERROR:openqa_review.openqa_review:Error retrieving details for bugref boo#1185952 (https://bugzilla.opensuse.org/show_bug.cgi?id=1185952): 'NoneType' object is not subscriptable
ERROR:openqa_review.openqa_review:Error retrieving details for bugref bsc#1190740 (https://bugzilla.suse.com/show_bug.cgi?id=1190740): 'NoneType' object is not subscriptable
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 1575, in main
    reminder_comment_on_issues(report)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1558, in reminder_comment_on_issues
    reminder_comment_on_issue(ie, min_days_unchanged)
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 1536, in reminder_comment_on_issue
    (last_comment_date, last_comment_text) = issue.last_comment
  File "/usr/lib/python3.8/site-packages/openqa_review/openqa_review.py", line 780, in last_comment
    assert self.issue_type == "bugzilla"
AssertionError

Acceptance criteria

  • AC1: Pipeline succeeds without python exceptions
  • AC2: Report results only contain expected messages

Maybe related to #101722 ? https://github.com/os-autoinst/openqa_review/pull/190


Related issues 3 (0 open3 closed)

Related to QA - action #101722: openqa-review: Do not post reminder comment in progress.opensuse.org if comment would be exactly the same as the last size:MResolvedtinita2021-10-14

Actions
Related to openQA Project - action #102440: openqa-review pipeline failed with assert self.issue_type == "bugzilla"Resolvedmkittler2021-07-282021-11-30

Actions
Related to QA - action #102350: Move openqa-review CI to Github ActionsResolvedtinita2021-11-102021-11-25

Actions
Actions

Also available in: Atom PDF