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

Flaky Test NeuralQueryEnricherProcessorIT #2381

Closed
mingshl opened this issue Apr 30, 2024 · 2 comments
Closed

Flaky Test NeuralQueryEnricherProcessorIT #2381

mingshl opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working untriaged

Comments

@mingshl
Copy link
Collaborator

mingshl commented Apr 30, 2024

What is the bug?

when merging #2378 found a flaky test in NeuralQueryEnricherProcessorIT

How can one reproduce the bug?

REPRODUCE WITH: ./gradlew ':integTest' --tests "org.opensearch.neuralsearch.processor.NeuralQueryEnricherProcessorIT.testNeuralQueryEnricherProcessor_whenNoModelIdPassed_thenSuccess" -Dtests.seed=8CD5F0F23E3C4488 -Dtests.security.manager=false -Dtests.locale=zh-Hans-CN -Dtests.timezone=Asia/Makassar -Druntime.java=21
  2> org.opensearch.client.ResponseException: method [POST], host [https://127.0.0.1:44495/], URI [/my-nlp-index/_search?size=2], status line [HTTP/2.0 400 Bad Request]
    {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Model not ready yet. Please deploy the model first."}],"type":"illegal_argument_exception","reason":"Model not ready yet. Please deploy the model first."},"status":400}
        at __randomizedtesting.SeedInfo.seed([8CD5F0F23E3C4488:D63CE89FF1D4BCD9]:0)
        at app//org.opensearch.client.RestClient.convertResponse(RestClient.java:385)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:355)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:330)
        at app//org.opensearch.neuralsearch.BaseNeuralSearchIT.search(BaseNeuralSearchIT.java:513)
        at app//org.opensearch.neuralsearch.BaseNeuralSearchIT.search(BaseNeuralSearchIT.java:467)
        at app//org.opensearch.neuralsearch.BaseNeuralSearchIT.search(BaseNeuralSearchIT.java:455)
        at app//org.opensearch.neuralsearch.BaseNeuralSearchIT.search(BaseNeuralSearchIT.java:434)
        at app//org.opensearch.neuralsearch.BaseNeuralSearchIT.search(BaseNeuralSearchIT.java:415)

What is the expected behavior?
CI test passed

What is your host/environment?

  • OS:
  • Version 2.14
  • Plugins ml commons
@mingshl mingshl added bug Something isn't working untriaged labels Apr 30, 2024
@mingshl mingshl changed the title Flaky Test Flaky Test NeuralQueryEnricherProcessorIT Apr 30, 2024
@ylwu-amzn
Copy link
Collaborator

@mingshl Is this the same bug in this issue #2382 ?

@mingshl
Copy link
Collaborator Author

mingshl commented May 3, 2024

@ylwu-amzn seems like the same bug, closing this issue to avoid duplication, Please refer to #2382 for future reference.

@mingshl mingshl closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants