Skip to content

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

@davidcui1225

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions