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

[Backport 2.16] fix full_response false and no mapping exceptions (#2944) #2950

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

mingshl
Copy link
Collaborator

@mingshl mingshl commented Sep 13, 2024

Backport 853efd6 from #2944

dhrubo-os
dhrubo-os previously approved these changes Sep 13, 2024
@mingshl
Copy link
Collaborator Author

mingshl commented Sep 16, 2024

flaky test

org.opensearch.ml.tools.VisualizationsToolIT > testVisualizationNotFound STANDARD_OUT
    [2024-09-16T11:01:00,021][INFO ][o.o.m.t.VisualizationsToolIT] [testVisualizationNotFound] before test
    [2024-09-16T11:01:01,536][INFO ][o.o.m.t.ToolIntegrationWithLLMTest] [testVisualizationNotFound] model_id: CrL--5EBIDdBxVjAuLLh, agent_id: zkT--5EBuBCNCxJKvZ9W

REPRODUCE WITH: ./gradlew ':opensearch-ml-plugin:integTest' --tests "org.opensearch.ml.tools.VisualizationsToolIT.testVisualizationNotFound" -Dtests.seed=5077B655C9AC3A6B -Dtests.security.manager=false -Dtests.locale=el -Dtests.timezone=America/Creston -Druntime.java=17
    [2024-09-16T11:01:03,121][INFO ][o.o.m.t.VisualizationsToolIT] [testVisualizationNotFound] after test


Suite: Test class org.opensearch.ml.tools.VisualizationsToolIT
  2> ??? 16, 2024 11:00:58 ?? org.opensearch.client.RestClient logResponse
  2> WARNING: request [POST http://[::1]:43265/.kibana/_doc/bd3b9a17-023f-4ea5-999c-5e5b8835277f?refresh=true] returned 1 warnings: [299 OpenSearch-2.16.0-SNAPSHOT-f84a26e76807ea67a69822c37b1a1d89e7177d9b "index name [.kibana] starts with a dot '.', in the next major version, index names starting with a dot are reserved for hidden indices and system indices"]
  2> REPRODUCE WITH: ./gradlew ':opensearch-ml-plugin:integTest' --tests "org.opensearch.ml.tools.VisualizationsToolIT.testVisualizationNotFound" -Dtests.seed=5077B655C9AC3A6B -Dtests.security.manager=false -Dtests.locale=el -Dtests.timezone=America/Creston -Druntime.java=17
  2> org.opensearch.client.ResponseException: method [DELETE], host [http://[::1]:34649], URI [/_plugins/_ml/models/CrL--5EBIDdBxVjAuLLh], status line [HTTP/1.1 400 Bad Request]
    {"error":{"root_cause":[{"type":"status_exception","reason":"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete"}],"type":"status_exception","reason":"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete"},"status":400}

@mingshl mingshl merged commit 9630dd3 into 2.16 Sep 24, 2024
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants