Skip to content

[CI] EsqlClientYamlIT test {p0=esql/40_tsdb/TS Command grouping on text field} failing #142544

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:esql:qa:server:mixed-cluster:v9.2.7#yamlRestTest" -Dtests.class="org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT" -Dtests.method="test {p0=esql/40_tsdb/TS Command grouping on text field}" -Dtests.seed=198121741846A9E4 -Dtests.bwc=true -Dtests.locale=fr-TN -Dtests.timezone=America/Atikokan -Druntime.java=25

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: java.lang.AssertionError: indices.create[{index=test-text-field}]: got unexpected warning header [
	299 Elasticsearch-9.4.0-198aee2d55e01a23c83c465a6e535dc8c7f862d8 "Parameter [default_metric] is deprecated and will be removed in a future version"
]

Issue Reasons:

  • [main] 3 failures in test test {p0=esql/40_tsdb/TS Command grouping on text field} (1.2% fail rate in 258 executions)
  • [main] 2 failures in pipeline elasticsearch-pull-request (2.2% fail rate in 93 executions)

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

Activity

  1. elasticsearchmachine commented on Feb 16, 2026

    @elasticsearchmachine
    CollaboratorAuthor

    This has been muted on branch main

    Mute Reasons:

    • [main] 2 failures in test test {p0=esql/40_tsdb/TS Command grouping on text field} (0.3% fail rate in 634 executions)

    Build Scans:

  2. added
    Team:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)
    needs:riskRequires assignment of a risk label (low, medium, blocker)
    on Feb 16, 2026
  3. elasticsearchmachine commented on Feb 16, 2026

    @elasticsearchmachine
    CollaboratorAuthor

    Pinging @elastic/es-analytical-engine (Team:Analytics)

  4. cimequinox commented on Feb 16, 2026

    @cimequinox
    Contributor

    Similar error as #142525

  5. cimequinox commented on Feb 16, 2026

    @cimequinox
    Contributor

    Unlike other tests, this doesn't allowed_warnings Parameter default_metric is deprecated

    TS Command grouping on text field:
      - requires:
          test_runner_features: [ capabilities ]
          capabilities:
            - method: POST
              path: /_query
              parameters: [ ]
              capabilities: [ ts_permit_text_becoming_keyword_when_grouped_on, ts_command_v0 ]
          reason: "fix grouping on text fields with TS command"
    
      - do:
          indices.create:
             ...
    

    perhaps that should be added to the test?

  6. cimequinox commented on Feb 16, 2026

    @cimequinox
    Contributor

    Unfortunately I could not reproduce this locally.

    ■ pull recent main

    % cd ~/GitHub/elasticsearch-public
    % git pull
    

    ■ edit muted-tests.yml
    - comment out

    # - class: org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT
    #   method: test {p0=esql/40_tsdb/TS Command grouping on text field}
    #   issue: https://github.com/elastic/elasticsearch/issues/142544
    

    ■ run the gradle command reported in the failure

    % ./gradlew ":x-pack:plugin:esql:qa:server:mixed-cluster:v9.3.1#yamlRestTest" \
        -Dtests.class="org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT" \
        -Dtests.method="test {p0=esql/40_tsdb/TS Command grouping on text field}" \
        -Dtests.seed=482DCF5010D531D1 -Dtests.bwc=true -Dtests.locale=en-BS \
        -Dtests.timezone=America/Port-au-Prince -Druntime.java=25 
    
    • observe test passes
  7. added
    :StorageEngine/ES|QLTimeseries / metrics / logsdb capabilities in ES|QL
    and removed
    Team:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)
    on Feb 18, 2026
  8. elasticsearchmachine commented on Feb 18, 2026

    @elasticsearchmachine
    CollaboratorAuthor

    Pinging @elastic/es-storage-engine (Team:StorageEngine)

  9. added
    low-riskAn open issue or test failure that is a low risk to future releases
    and removed
    needs:riskRequires assignment of a risk label (low, medium, blocker)
    on Feb 18, 2026
  10. gmarouli commented on Feb 24, 2026

    @gmarouli
    Contributor

    @cimequinox , thank you for looking into this.

    There is something weird going on here. The test itself does not use aggregate_metric_double which means it should not be throwing this warning. Then I am thinking it must be the test set-up; however, it seems to me that the relevant requests are already handling this warning, so I am not sure yet what is causing this.

  11. elasticsearchmachine commented on Mar 2, 2026

    @elasticsearchmachine
    CollaboratorAuthor

    This has been muted on branch main

    Mute Reasons:

    • [main] 3 failures in test test {p0=esql/40_tsdb/TS Command grouping on text field} (1.2% fail rate in 258 executions)
    • [main] 2 failures in pipeline elasticsearch-pull-request (2.2% fail rate in 93 executions)

    Build Scans:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

:StorageEngine/ES|QLTimeseries / metrics / logsdb capabilities in ES|QL>test-failureTriaged test failures from CITeam:StorageEnginelow-riskAn open issue or test failure that is a low risk to future releases

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions