Project

General

Profile

Actions

action #150917

closed

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

Added by MDoucha about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-11-15
Due date:
% Done:

0%

Estimated time:

Description

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)
Actions

Also available in: Atom PDF