Skip to content

[CI] CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.get_index_template/10_basic/Get index template} etc #54548

Closed
@ywangd

Description

@ywangd

The following tests failed for the first time since they are added on March 28:

org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.get_index_template/10_basic/Get all tindex emplates}
org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.get_index_template/10_basic/Get index template with local flag}
org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.get_index_template/10_basic/Get index template}
org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.put_index_template/10_basic/Put index template with 'create' flag}
org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.put_index_template/10_basic/Put index template}
org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=indices.put_index_template/10_basic/Put multiple index templates}

They were fine since added and have succeeded 825 times and this is the first failure. I am still creating the issue because 1) they are newly added; 2) the error message was "got unexpected warning header" and feels legit.

I cannot reproduce locally:

REPRODUCE WITH: gradlew ':x-pack:qa:core-rest-tests-with-security:integTestRunner' --tests "org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT" \
  -Dtests.method="test {yaml=indices.get_index_template/10_basic/Get index template}" \
  -Dtests.seed=9CD82496C2793124 \
  -Dtests.security.manager=true \
  -Dtests.locale=en-US \
  -Dtests.timezone=America/Anchorage \
  -Dcompiler.java=13 \
  -Dtests.rest.blacklist=index/10_with_id/Index with ID,indices.get_alias/10_basic/Get alias against closed indices

Sample error message:

:x-pack:qa:core-rest-tests-with-security:integTestRunner » org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT » test {yaml=indices.get_index_template/10_basic/Get index template} (0.345s)
Failure at [indices.get_index_template/10_basic:6]: got unexpected warning header [
	299 Elasticsearch-8.0.0-SNAPSHOT-436aff9731ce240a5158be8c4405b727ac994f0f "index template [test] has index patterns [test-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test] will take precedence during new index creation"
]
java.lang.AssertionError: 
Failure at [indices.get_index_template/10_basic:6]: got unexpected warning header [
	299 Elasticsearch-8.0.0-SNAPSHOT-436aff9731ce240a5158be8c4405b727ac994f0f "index template [test] has index patterns [test-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test] will take precedence during new index creation"
]

Build scan:
https://gradle-enterprise.elastic.co/s/h3qg2mhbnzufa

Failure email notification:
https://groups.google.com/a/elastic.co/forum/?utm_medium=email&utm_source=footer#!topic/build-elasticsearch/0hdjB6EiDtY

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions