Skip to content

WatchBackwardsCompatibilityIT failure #44814

@dimitris-athanasiou

Description

@dimitris-athanasiou

Build link: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.8+bwc-tests/190/console

Reproduce:

./gradlew :x-pack:qa:rolling-upgrade:with-system-key:v6.3.1#oldClusterTestRunner -Dtests.seed=7151E0B6D1D9F670 -Dtests.class=org.elasticsearch.upgrades.WatchBackwardsCompatibilityIT -Dtests.method="testWatchCrudApis" -Dtests.security.manager=true -Dtests.locale=es-CU -Dtests.timezone=Etc/GMT-3 -Dcompiler.java=12 -Druntime.java=8

Failure:

ERROR   0.81s | WatchBackwardsCompatibilityIT.testWatchCrudApis <<< FAILURES!
   > Throwable #1: org.elasticsearch.client.ResponseException: method [PUT], host [http://127.0.0.1:45421], URI [/.triggered_watches], status line [HTTP/1.1 400 Bad Request]
   > {"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [.triggered_watches/cOEVmRIeSA2jjqs67I1PCA] already exists","index_uuid":"cOEVmRIeSA2jjqs67I1PCA","index":".triggered_watches"}],"type":"resource_already_exists_exception","reason":"index [.triggered_watches/cOEVmRIeSA2jjqs67I1PCA] already exists","index_uuid":"cOEVmRIeSA2jjqs67I1PCA","index":".triggered_watches"},"status":400}
   > 	at __randomizedtesting.SeedInfo.seed([7151E0B6D1D9F670:2BE982E89CCA769E]:0)
   > 	at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:936)
   > 	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:233)
   > 	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:278)
   > 	at org.elasticsearch.upgrades.WatchBackwardsCompatibilityIT.lambda$waitForSecuritySetup$1(WatchBackwardsCompatibilityIT.java:131)
   > 	at org.elasticsearch.upgrades.WatchBackwardsCompatibilityIT.executeAgainstMasterNode(WatchBackwardsCompatibilityIT.java:272)
   > 	at org.elasticsearch.upgrades.WatchBackwardsCompatibilityIT.waitForSecuritySetup(WatchBackwardsCompatibilityIT.java:118)
   > 	at java.lang.Thread.run(Thread.java:748)
   > Caused by: org.elasticsearch.client.ResponseException: method [PUT], host [http://127.0.0.1:45421], URI [/.triggered_watches], status line [HTTP/1.1 400 Bad Request]
   > {"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [.triggered_watches/cOEVmRIeSA2jjqs67I1PCA] already exists","index_uuid":"cOEVmRIeSA2jjqs67I1PCA","index":".triggered_watches"}],"type":"resource_already_exists_exception","reason":"index [.triggered_watches/cOEVmRIeSA2jjqs67I1PCA] already exists","index_uuid":"cOEVmRIeSA2jjqs67I1PCA","index":".triggered_watches"},"status":400}
   > 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:552)
   > 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:537)
   > 	at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:119)
   > 	at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177)
   > 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:436)
   > 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:326)
   > 	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265)
   > 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
   > 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
   > 	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
   > 	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
   > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
   > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
   > 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
   > 	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
   > 	at org.apache.http.imp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions