Skip to content

[BUG] Java CI Workflow is flaky with JDK 11  #453

Closed

Description

@davidcui1225

Describe the bug
On JDK 11, sometimes the SQL Java CI workflow fails with the following error message from Github actions logs:

2022-03-01T22:54:17.7972264Z org.opensearch.sql.legacy.JdbcTestIT > testDateTimeInQuery FAILED
2022-03-01T22:54:17.8056027Z     java.lang.RuntimeException: org.opensearch.client.ResponseException: method [POST], host [http://127.0.0.1:32963/], URI [/_plugins/_sql?format=jdbc], status line [HTTP/1.1 500 Internal Server Error]
2022-03-01T22:54:17.8056666Z     {
2022-03-01T22:54:17.8056856Z       "error": {
2022-03-01T22:54:17.8057108Z         "type": "IllegalStateException",
2022-03-01T22:54:17.8057414Z         "reason": "There was internal problem at backend",
2022-03-01T22:54:17.8057721Z         "details": "resource is not enough to load next row, quit."
2022-03-01T22:54:17.8057969Z       },
2022-03-01T22:54:17.8058142Z       "status": 503
2022-03-01T22:54:17.8058336Z     }

Re-running the workflow can resolve the issue, but it should not fail in the first place. Running ./gradlew build locally on Mac with JDK 11 has no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions