Skip to content

[CI] MlWithSecurityIT test {yaml=ml/start_data_frame_analytics/Test start classification analysis when the dependent variable cardinality is too low} failing #123200

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:ml:qa:ml-with-security:yamlRestTest" --tests "org.elasticsearch.smoketest.MlWithSecurityIT.test {yaml=ml/start_data_frame_analytics/Test start classification analysis when the dependent variable cardinality is too low}" -Dtests.seed=3BD3AE45A1C17703 -Dtests.locale=teo-KE -Dtests.timezone=America/Guayaquil -Druntime.java=24

Applicable branches:
9.0

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

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.0.6-SNAPSHOT/org.elasticsearch.action.search.AbstractSearc
[truncated]

Issue Reasons:

  • [9.0] 3 failures in test test {yaml=ml/start_data_frame_analytics/Test start classification analysis when the dependent variable cardinality is too low} (0.6% fail rate in 488 executions)
  • [9.0] 3 failures in pipeline elasticsearch-periodic-platform-support (14.3% fail rate in 21 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Assignees

Labels

:mlMachine learning>test-failureTriaged test failures from CITeam:MLMeta label for the ML teamlow-riskAn open issue or test failure that is a low risk to future releases

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions