Project

General

Profile

Actions

action #68956

closed

Restart the parent and child jobs of a test in a START_DIRECTLY_AFTER_TEST test chain

Added by Julie_CAO almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-07-14
Due date:
% Done:

0%

Estimated time:

Description

Hi openQA experts,

I found START_DIRECTLY_AFTER_TEST has limitation in case of restarting tests, i.e. only parent jobs are run with openqa-client(including openqa-clone-job), and only child jobs are run by pressing restart button on openQA web UI. Can we have another button on the web UI to restart both the parent and child jobs for a test?

Our virtualization team has the plan to reconstruct our tests based on the test suite setting START_DIRECTLY_AFTER_TEST. We met problem based on current restarting logic.

fg. for this most common tree of chained tests(the tree is attached):
chained_test.png

they will be triggered in daily build in this order, A->B->C->D->E->F. In the case B fails, C & D are canceled and A->E->F will continue to run. but how do I rerun the failing chain: A-> B -> C -> D? The restart button in web UI with existing logic is not capable to handle this.

What I can think of is to openqa-clone-job C & D, but this approach has two drawbacks: first, it is not so friendly as restart button in web UI; second, we need to know the test chain well, ie. to trigger the canceled C & D rather than the failing B directly, it becomes even impossible when the leaf nodes (like C & D) are plenty enough.

So could openQA provide a feature to restart jobs with its both parent and child jobs? We would not like to change the existing restarting logic as we need it as well. We'd like one more button as we need them both.


Files

chained_test.png (3.82 KB) chained_test.png chained_test.png Julie_CAO, 2020-07-14 12:48
Screenshot_20200728_171714.png (20 KB) Screenshot_20200728_171714.png Julie_CAO, 2020-07-28 09:17
Screenshot_20200728_172309.png (5.94 KB) Screenshot_20200728_172309.png Julie_CAO, 2020-07-28 09:22
Screenshot_20200728_172515.png (10.2 KB) Screenshot_20200728_172515.png Julie_CAO, 2020-07-28 09:25
Screenshot_20200731_180724.png (16.2 KB) Screenshot_20200731_180724.png Julie_CAO, 2020-07-31 10:08
Screenshot_20200806_142047.png (10.5 KB) Screenshot_20200806_142047.png Julie_CAO, 2020-08-06 06:21
Screenshot_20200806_142736.png (22.4 KB) Screenshot_20200806_142736.png Julie_CAO, 2020-08-06 06:28
Screenshot_20200806_144712.png (14.7 KB) Screenshot_20200806_144712.png Julie_CAO, 2020-08-06 06:47

Related issues 2 (1 open1 closed)

Related to openQA Project - action #69979: Advanced job restarting via the web UIResolvedokurz2020-08-13

Actions
Related to openQA Project - action #70618: Automatically avoid restarting the directly chained parent if possible to save timeNew2020-08-27

Actions
Actions

Also available in: Atom PDF