Project

General

Profile

action #102200

Updated by livdywan almost 3 years ago

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

Back