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

[BUG] : Gradle Build failed on Jenkins with Build Successful message #4125

Closed
navneet1v opened this issue Aug 4, 2022 · 4 comments
Closed
Labels
CI CI related non-issue bugs / unexpected behaviors that end up non issues; audit trail simple changes that aren't issues

Comments

@navneet1v
Copy link
Contributor

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:

  1. NA, as I am not sure how we can reun the build on jenkins.
    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):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@navneet1v navneet1v added bug Something isn't working untriaged labels Aug 4, 2022
@kartg
Copy link
Member

kartg commented Aug 8, 2022

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:

Tests with failures:
 - org.opensearch.common.util.concurrent.QueueResizableOpenSearchThreadPoolExecutorTests.testResizeQueueDown
 - org.opensearch.common.util.concurrent.QueueResizableOpenSearchThreadPoolExecutorTests.classMethod

Closing this issue since this behavior is expected. Please feel free to reopen if you have further questions!

@kartg kartg closed this as completed Aug 8, 2022
@kartg kartg added CI CI related non-issue bugs / unexpected behaviors that end up non issues; audit trail simple changes that aren't issues and removed bug Something isn't working untriaged labels Aug 8, 2022
@navneet1v
Copy link
Contributor Author

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 navneet1v reopened this Aug 8, 2022
@andreAbtahi96
Copy link

@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 😄

@navneet1v
Copy link
Contributor Author

Closing this issue. as it is not happening now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI related non-issue bugs / unexpected behaviors that end up non issues; audit trail simple changes that aren't issues
Projects
None yet
Development

No branches or pull requests

3 participants