Project

General

Profile

action #34783

Updated by okurz almost 5 years ago

## Motivation 

 It would be nice if openQA could detect missing resources (e.g. 404 on an ISO-download) on its own and report it back to the end-user/reviewer (e.g. set the job to failed and give a short explanation on the details tab). 
 A typical example where we, as product QA, could benefit from such a feature, are the all-packages-iso-tests: https://openqa.suse.de/tests/1611728 . 

 Since these tests always need ISO and ISO_1 to be available it can happen from time to time that they incomplete if one of them did not build in our build-system. These tests then show up as incomplete (which usually indicates some serious problem in the backend) and the reviewer needs to read the logs first just to see that one resource was not available. 

 ## Acceptance criteria 

 * <del>**AC1:** **AC1:** Jobs that are triggered while necessary assets are missing end up as "failed"</del> "failed" 
 * **AC2:** The details tab shows a corresponding test details content 


 ## Suggestions 

 * Check the status-code on asset downloads 
   * Display 404-errors with a (maybe customizable) message in the details-tab, e.g. like from "isosize" in https://openqa.opensuse.org/tests/1112060#step/isosize/1 
   * Report the test as failed and not incomplete

Back