Project

General

Profile

action #107014

Updated by okurz over 2 years ago

## Motivation 
 SUSE SLE maintenance aggregate tests can fail if any of the included incident update causes a problem. The challenge is to find out which of the incident updates caused it. For this okurz created https://github.com/os-autoinst/scripts/blob/master/openqa-trigger-bisect-jobs . We already have automatic investigation jobs when a failure is not known and labeled accordingly in openQA. So we should combine both and trigger "openqa-trigger-bisect-jobs" as part of the automatic investigation as well. 

 ## Acceptance criteria 
 * **AC1:** Automatic investigation jobs for SUSE SLE maintenance aggregate test failures also show results from "openqa-trigger-bisect-jobs" (on OSD only) 
 * **AC2:** Other jobs do not trigger "openqa-trigger-bisect-jobs" (or the script aborts early without failure) 
 * **AC3:** OSD is not overwhelmed with "openqa-trigger-bisect-jobs"-jobs 

 ## Suggestions 
 * Take a look into https://github.com/os-autoinst/salt-states-openqa/blob/master/openqa/server.sls#L81 how we trigger investigation jobs from job done hooks. We basically call https://github.com/os-autoinst/scripts/blob/master/openqa-label-known-issues-and-investigate-hook 
 * Either extend that hook or create another one 


 ## Further details 
 See https://suse.slack.com/archives/C02D16TCP99/p1645022828339319 for more context if needed

Back