Project

General

Profile

action #34783

Updated by okurz over 4 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 To start with this feature I'd *suggest*: 

 * **AC1:** Jobs that are triggered while necessary assets are missing end up as "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 details-tab 
   * Report the test as failed and not incomplete

Back