Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto rerun FAILURE state test jobs in test pipeline #5346

Open
llxia opened this issue May 27, 2024 · 2 comments
Open

Auto rerun FAILURE state test jobs in test pipeline #5346

llxia opened this issue May 27, 2024 · 2 comments

Comments

@llxia
Copy link
Contributor

llxia commented May 27, 2024

We support auto-rerun failed tests in the test pipeline (see #3431). It is useful for triaging and rerunning the failed tests automatically. However, this feature requires the test jobs to run to the completion (to get the failed test names). If the test jobs are in the FAILURE state (i.e., machine disconnected, machine out of space, etc), someone still needs to restart the jobs manually. This is very tedious during release time. We should have a feature to Auto rerun FAILURE state test jobs.

TRSS should support displaying the rerun test jobs. We should auto-archive the rerun jobs TAP into the parent job.

To simplify this, we will add this to the parent test job. This means a parent test job may trigger the following child test jobs:

  • parallel child test jobs
  • rerun job for failed tests
  • rerun job(s) for FAILURE child test job(s)

FYI @pshipton @JasonFengJ9

@smlambert
Copy link
Contributor

Please also see some of the recent changes done by @sophia-guo for archiving TAP files.

@llxia
Copy link
Contributor Author

llxia commented May 27, 2024

yes, all TAP files (child jobs, rerun failed tests, rerun FAILURE test jobs) should be archived.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants