Project

General

Profile

action #163781

Updated by tinita 7 months ago

https://progress.opensuse.org/issues/163781 

 Jobs randomly fail with unspecified "api failure", there should be more details in the error message size:S 

 ## Observation 
 A few kernel jobs have failed during upload phase with quite non-descript reason: "api failure". As a result, there's no autoinst-log.txt nor worker-log.txt. 
 https://openqa.suse.de/tests/14897579 
 https://openqa.suse.de/tests/14897580 
 https://openqa.suse.de/tests/14895759 

 ## Acceptance criteria 
 * **AC1:** No jobs can fail with unspecified reason "api failure" without more details 
 * **AC2:** API failures are still handled and shown via the reason field 

 ## Suggestions 
 * Maybe just consider rephrasing the generic error message in the ternary return in 
 https://github.com/os-autoinst/openQA/blob/b24c267195fc746c17cededd84e9db4789fd6c67/lib/OpenQA/Worker/Job.pm#L576 

Back