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

Trial the 'automatic rerun on failure' feature for test jobs #777

Closed
smlambert opened this issue Aug 14, 2023 · 1 comment · Fixed by #879
Closed

Trial the 'automatic rerun on failure' feature for test jobs #777

smlambert opened this issue Aug 14, 2023 · 1 comment · Fixed by #879

Comments

@smlambert
Copy link
Contributor

smlambert commented Aug 14, 2023

Test jobs have an 'automatic rerun on failure' feature (https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/JenkinsfileBase#L1216) which we should try using in our regular runs.

That feature is turned on via the RERUN_ITERATIONS parameter. So in order to have it enabled, we can set that parameter in the jobs we trigger from the build pipeline (see https://github.com/adoptium/ci-jenkins-pipelines/blob/master/pipelines/build/common/openjdk_build_pipeline.groovy#L445-L462).

As a trial, we will minimally set RERUN_ITERATIONS=1 (if greater than 1, will launch in parallel, but let's not do that yet, but rather see if a simple rerun helps resolve intermittent failures we sometimes see).

@llxia
Copy link
Contributor

llxia commented Aug 14, 2023

We turned it on the selected (stabled) test builds for Semeru. Here is an example: https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/ibm/pipelines/build/common/openjdk_build_pipeline.groovy#L532

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

Successfully merging a pull request may close this issue.

2 participants