Project

General

Profile

action #99396

Updated by okurz about 3 years ago

### motivation 
 As we saw in #99153 many of these jobs can occur if the web UI is busy. It makes most sense to restart those jobs. (It is a bit unfortunate that the communication with the web UI does not work here but then *this* problem can be propagated after all. Otherwise these jobs would show up as abandoned and would already be restarted.) 

 ## Steps to reproduce 

 Find jobs referencing this ticket with the help of 
 https://raw.githubusercontent.com/os-autoinst/scripts/master/openqa-query-for-job-label , 
 call `openqa-query-for-job-label poo#99396` 

 ### acceptance criteria 
 * **AC1**: Incomplete jobs with a reason matching the regex from the ticket title (or possibly a less strict version) should be restarted automatically. 

 ### suggestions 
 * Try to configure this via settings in `openqa.ini`. 
 * Otherwise consider extending the code.

Back