Project

General

Profile

action #150917

Updated by livdywan 6 months ago

Restarting a job together with failed children will break dependencies of the new job 

 Restarting a job with parent/child jobs using the `Skip restarting "OK" (passed/softfailed) children` drop-down link will break dependencies of the new job. In addition to the restarted children, it'll also link to all parents and children of the original job: 
 https://openqa.suse.de/tests/12817616#dependencies 

 The broken dependencies then prevent further restarts. 

 ## Acceptance criteria 
 * **AC1**: After restarting a chained parent (using "Skip restarting OK" but actually regardless of the option) none of the chained children have two parents 
 * **AC2**: The same counts for other dependency types. 

 ## Suggestion 
 * Find out why we have not seen this in before. Does nobody else use that or care about it? 
 * Replicate the scenario by extending/adjusting the unit tests 
 * Clone the scenario locally to test this for real (no reason to run any jobs, just fake results via DB updates)

Back