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] org.opensearch.flowframework.FlowFrameworkPluginIT.testPluginInstalled test is failing on Windows CI #87

Closed
owaiskazi19 opened this issue Oct 12, 2023 · 1 comment · Fixed by #90
Assignees
Labels
bug Something isn't working

Comments

@owaiskazi19
Copy link
Member

What is the bug?

org.opensearch.flowframework.FlowFrameworkPluginIT > testPluginInstalled FAILED

    org.opensearch.client.ResponseException: method [GET], host [http://0.0.0.0:0/], URI [/_cat/plugins], status line [HTTP/1.1 404 Not Found]

        at __randomizedtesting.SeedInfo.seed([FEE4D7C34DADF2E3:F643B94C26B8D07D]:0)
Suite: Test class org.opensearch.flowframework.FlowFrameworkPluginIT
        at app//org.opensearch.client.RestClient.convertResponse(RestClient.java:376)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:346)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:321)
        at app//org.opensearch.flowframework.FlowFrameworkPluginIT.testPluginInstalled(FlowFrameworkPluginIT.java:34)
  1> [2023-10-12T13:17:21,342][INFO ][o.o.f.FlowFrameworkPluginIT] [testPluginInstalled] before test

How can one reproduce the bug?


REPRODUCE WITH: gradlew ':integTest' --tests "org.opensearch.flowframework.FlowFrameworkPluginIT.testPluginInstalled" -Dtests.seed=FEE4D7C34DADF2E3 -Dtests.security.manager=false -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en-AU -Dtests.timezone=America/Mexico_City -Druntime.java=17

What is the expected behavior?

Test should pass

What is your host/environment?

Windows

Do you have any screenshots?

If applicable, add screenshots to help explain your problem.

Do you have any additional context?

Add any other context about the problem.

@dbwiddis
Copy link
Member

See here for something possibly similar. Can we try it as a fix?

integTest {
    // ...
    doFirst {
        // ...
        // There seems to be an issue when running multi node run or integ tasks with unicast_hosts
        // not being written, the waitForAllConditions ensures it's written
        getClusters().forEach { cluster ->
            cluster.waitForAllConditions()
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants