-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BUG] Gradle check retry not working as expected #5239
Comments
Just as an example, from this test run back in April, if we drill into the report we can see 3 failures of the same test: But it succeeded on the 4 attempt so the overall test run is marked as successful. Not conclusive, but I have never seen an example of a test failing but succeeding on retry since we moved to the public Jenkins runner. |
Ok, now I do have an example of a test succeeding after retry from just a few minutes ago: https://build.ci.opensearch.org/job/gradle-check/6876/testReport/org.opensearch.index/ShardIndexingPressureConcurrentExecutionTests/ You can see that the test |
I think this is working as expected. I'm closing this, reopen if you can show an example where all retries failed and we still reported success. |
@dblock I think we have the opposite problem. The retries are working, but even when a test succeeds on retry we still fail the overall test run. See here for an example. |
Again looking at 6825, we see the "BUILD SUCCESSFUL" result in the output (tests succeeded on retry):
The gradle check jenkins run completes with the result "UNSTABLE" and results in a failure of the GitHub action. Is this the right behavior? I think the point of the retries is to pass the gradle check when tests pass on retry so this seems wrong to me. |
I'll look at other |
When From Jenkins docs - https://www.jenkins.io/doc/book/glossary/
|
I think that if a retry succeeded, the build should be a SUCCESS. |
Describe the bug
gradle check
Sample runs -
To Reproduce
Expected behavior
x tests completed, y failed
with y > 1 in case of failed tests with a retryPlugins
Screenshots
Host/Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: