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

[CI] [_doc] can't start with '_' bwc tests failure #36468

Closed
martijnvg opened this issue Dec 11, 2018 · 5 comments
Closed

[CI] [_doc] can't start with '_' bwc tests failure #36468

martijnvg opened this issue Dec 11, 2018 · 5 comments
Assignees
Labels
:Search Foundations/Mapping Index mappings, including merging and defining field types >test-failure Triaged test failures from CI

Comments

@martijnvg
Copy link
Member

martijnvg commented Dec 11, 2018

There are FullClusterRestartIT failures that failed with mapping type name [_doc] can't start with '_' error.

Example reproduction: ./gradlew :qa:full-cluster-restart:v6.0.0#oldClusterTestRunner -Dtests.seed=82454A4C76256306 -Dtests.class=org.elasticsearch.upgrades.FullClusterRestartIT -Dtests.method="testNewReplicasWork" -Dtests.security.manager=true -Dtests.locale=es-HN -Dtests.timezone=America/Indiana/Vincennes -Dtests.distribution=zip -Dcompiler.java=11 -Druntime.java=8

Example failure:

Caused by: org.elasticsearch.client.ResponseException: method [PUT], host [http://[::1]:43277], URI [/testnewreplicaswork], status line [HTTP/1.1 400 Bad Request]
07:49:25    > {"error":{"root_cause":[{"type":"invalid_type_name_exception","reason":"mapping type name [_doc] can't start with '_'"}],"type":"invalid_type_name_exception","reason":"mapping type name [_doc] can't start with '_'"},"status":400}
07:49:25    > 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:309)
07:49:25    > 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:294)
07:49:25    > 	at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:119)
07:49:25    > 	at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177)
07:49:25    > 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:436)
07:49:25    > 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:326)
07:49:25    > 	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265)
07:49:25    > 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
07:49:25    > 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
07:49:25    > 	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
07:49:25    > 	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
07:49:25    > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
07:49:25    > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
07:49:25    > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
07:49:25    > 	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
07:49:25    > 	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
07:49:25    > 	... 1 more

Other build failures:

Related PR #35930

@martijnvg martijnvg added :Search Foundations/Mapping Index mappings, including merging and defining field types >test-failure Triaged test failures from CI labels Dec 11, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@martijnvg
Copy link
Member Author

Early 6.x ES versions don't allow _doc as type name, so looks like certain FullClusterRestartIT tests need to be skipped when testing against these early 6.x versions.

@jtibshirani
Copy link
Contributor

I merged #36511 to address the test failures and will keep an eye on the BWC builds.

@martijnvg
Copy link
Member Author

Thanks @jtibshirani!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search Foundations/Mapping Index mappings, including merging and defining field types >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

4 participants