Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetadataIndexTemplateServiceTests.testUpdateComponentTemplateFailsIfResolvedIndexTemplatesWouldBeInvalid failure #57842

Closed
benwtrent opened this issue Jun 8, 2020 · 2 comments
Assignees
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI

Comments

@benwtrent
Copy link
Member

Build scan: https://gradle-enterprise.elastic.co/s/q423gz7r7stn2
Repro line:

./gradlew ':server:test' --tests "org.elasticsearch.cluster.metadata.MetadataIndexTemplateServiceTests.testUpdateComponentTemplateFailsIfResolvedIndexTemplatesWouldBeInvalid" -Dtests.seed=BEF24209C2530602 -Dtests.security.manager=true -Dtests.locale=es-SV -Dtests.timezone=US/East-Indiana -Druntime.java=8

Reproduces locally?: Yes
Applicable branches: 7.8
Failure excerpt:

org.elasticsearch.cluster.metadata.MetadataIndexTemplateServiceTests > testUpdateComponentTemplateFailsIfResolvedIndexTemplatesWouldBeInvalid FAILED
    java.lang.AssertionError:
    Expected: (a string containing "mapping fields [field2] cannot be replaced during template composition" or a string containing "mapper [field2] of different type, current_type [text], merged_type [ObjectMapper]")
         but: was "Can't merge a non object mapping [field2] with an object mapping [field2]"
        at __randomizedtesting.SeedInfo.seed([BEF24209C2530602:1C14F7565B1ABA64]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at org.elasticsearch.cluster.metadata.MetadataIndexTemplateServiceTests.testUpdateComponentTemplateFailsIfResolvedIndexTemplatesWouldBeInvalid(MetadataIndexTemplateServiceTests.java:979)
@benwtrent benwtrent added >test-failure Triaged test failures from CI :Data Management/Indices APIs APIs to create and manage indices and templates labels Jun 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@dakrone
Copy link
Member

dakrone commented Jun 9, 2020

Resolved by #57844

@dakrone dakrone closed this as completed Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants