./gradlew ":x-pack:plugin:ml:qa:ml-with-security:yamlRestTest" --tests "org.elasticsearch.smoketest.MlWithSecurityIT.test {yaml=ml/trained_model_cat_apis/Test cat trained models}" -Dtests.seed=9EF47C0940D8BA01 -Dtests.jvm.argline="-Des.entitlements.enabled=true" -Dtests.locale=es-GQ -Dtests.timezone=Europe/Madrid -Druntime.java=23
java.lang.AssertionError: Failure at [ml/trained_model_cat_apis:94]: expected [2xx] status code but api [cat.ml_trained_models] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"no_shard_available_action_exception","reason":"[yamlRestTest-0][127.0.0.1:41323][indices:data/read/search[phase/query]]","stack_trace":"org.elasticsearch.action.NoShardAvailableActionException: [yamlRestTest-0][127.0.0.1:41323][indices:data/read/search[phase/query]]\n"}],"type":"exception","reason":"Searching for stats for models [lang_ident_model_1,a-regression-model-1,a-regression-model-0] failed","caused_by":{"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":".ml-stats-000001","node":"JE72XTihR_acnUE9dmujHw","reason":{"type":"no_shard_available_action_exception","reason":"[yamlRestTest-0][127.0.0.1:41323][indices:data/read/search[phase/query]]","stack_trace":"org.elasticsearch.action.NoShardAvailableA
[truncated]
Build Scans:
Reproduction Line:
Applicable branches:
main
Reproduces locally?:
N/A
Failure History:
See dashboard
Failure Message:
Issue Reasons:
Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.