./gradlew ":x-pack:plugin:yamlRestTest" --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=ml/start_data_frame_analytics/Test start classification analysis when the dependent variable cardinality is too low}" -Dtests.seed=2AF51D1F410095EF -Dtests.jvm.argline="-Des.entitlements.enabled=true" -Dtests.locale=es-AR -Dtests.timezone=Europe/Rome -Druntime.java=24
java.lang.AssertionError: Failure at [ml/start_data_frame_analytics:213]: the error message was expected to match the provided regex but didn't
Expected: Field \[keyword_field\] must have at least \[2\] distinct values but there were \[1\]
but: was "{root_cause=[{type=no_shard_available_action_exception, reason=null, stack_trace=org.elasticsearch.action.NoShardAvailableActionException\n}], type=exception, reason=all shards 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=null, reason={type=no_shard_available_action_exception, reason=null, stack_trace=org.elasticsearch.action.NoShardAvailableActionException\n}}], stack_trace=Failed to execute phase [query], all shards failed; shardFailures {[_na_][.ml-stats-000001][0]: org.elasticsearch.action.NoShardAvailableActionException\n}\n\tat org.elasticsearch.server@9.1.0-SNAPSHOT/org.elasticsearch.action.search.AbstractSearc
[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.