Project

General

Profile

action #115178

Updated by tinita almost 2 years ago

## Observation 

 In #114451 I found that it can happen that [openqa-investigate](https://github.com/os-autoinst/scripts/blob/master/openqa-label-known-issues-and-investigate-hook#L18) can abort the script and therefor the bisect script is never run. 
 Also the error messages are not really helpful: 
 ``` 
 % env script_dir=/opt/os-autoinst-scripts enable_force_result=true host=openqa.suse.de exclude_group_regex='.*(Development|Public Cloud|Released|Others|Kernel|Virtualization).*' grep_timeout=60 nice ionice -c idle /tmp/openqa-label-known-issues-and-investigate-hook 9298857 
 try openqa-investigate 
 Skipping investigation of job 9298857: job cluster is already being investigated, see comment on job 9298857 
 403 Forbidden 
 404 Not Found 
 {"error_status":404} 
 % echo $? 
 255 
 ``` 

 ## Acceptance criteria 
 * **AC1:** openqa-investigate does exit with zero usually (if there is no fatal problem) 
 * **AC2**: Errors from fetching urls should be handled better so we know which URL resulted in an error 

Back