Project

General

Profile

action #109310

Updated by livdywan almost 2 years ago

## Observation 

 Maintenance sometimes re-uses reuses old incidents instead of creating new ones for package which leads lets to mixed results in dashboard :( 

 see: https://suse.slack.com/archives/C02D16TCP99/p1648721562205869 

 So we need workaround/solution for this corner case 

 See also https://github.com/openSUSE/qem-dashboard/issues/61 

 ## Problems 
 * http://dashboard.qam.suse.de/incident/20639 references "208 passed, 4 failed, 12 stopped" and a link to openQA results https://openqa.suse.de/tests/overview?build=%3A20639%3Aopensc but the openQA test results only show 183 passed and 18 soft-failed 
   * -> dashboard should not say "passed" when it means "passed+softfailed" but "ok", see https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Jobs/Constants.pm#L76= 
   * -> Consider using time-fixed links, e.g. https://openqa.suse.de/tests/overview?build=%3A20639%3Aopensc&t=2022-04-01+08%3A53%3A19+%2B0000 
   * -> Ensure that the results are current and correspond to what openQA sees itself (numbers should match) 
   * -> Exclude any results that are outside a "reasonable time range", e.g. http://dashboard.qam.suse.de/blocked for 20639 shows incident results from some months ago, build 2021… 

 ## Workarounds 
 * Ask maintenance to create a new, fresh incident, e.g. by a comment in IBS 
 * Detect invalid requests e.g. with outdates results and reject them 
 * Manually delete

Back