-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 Build failed on Jenkins with Build Successful message #4125
Comments
It looks like the Github action failed because Jenkins marked the build as "unstable" - #3992 (comment) A build is considered "unstable" if it was built successfully, but one or more publishers report it unstable. For example if the JUnit publisher is configured and a test fails then the build will be marked unstable. This means even if Gradle check is successful but if the corresponding JUnit reports show some errors it will report unstable. In this case, it looks like the Jenkins run 1426 reported a few transient test failures:
Closing this issue since this behavior is expected. Please feel free to reopen if you have further questions! |
Can you please provide me a reason for those exceptions? Because when I re-run using the same code it succeeded. So this is strange. |
@navneet1v not sure if this is too late. But I suspect a potential issue that is occurring is... test cases are not synced with the updated code base. That inconsistency alone could trigger this issue. I've faced it myself. Where I update a decorator for example on a file, yet the test case was using an older decorator, that would trigger ci to fail. Not sure if that helps 😄 |
Closing this issue. as it is not happening now |
Describe the bug
The gradle build action failed while raising the pull request, the logs says that Build Successful but github action is failed.
Link: https://build.ci.opensearch.org/job/gradle-check/1426/
To Reproduce
Steps to reproduce the behavior:
Jenkins link: Rerun this CI workflow: https://build.ci.opensearch.org/job/gradle-check/1426/
Expected behavior
The ./gradle check should have succeeded as build have succeeded.
Plugins
NA
Screenshots
NA
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: