Skip to content

[CI] CCR: testFollowIndexAndCloseNode fails #33337

Closed
@dnhatn

Description

@dnhatn

testFollowIndexAndCloseNode fails on 6.x:

ERROR   58.1s J1 | ShardChangesIT.testFollowIndexAndCloseNode <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: 
   > Expected: <0>
   >      but: was <3>
   > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
   > 	at org.elasticsearch.xpack.ccr.ShardChangesIT.lambda$unfollowIndex$12(ShardChangesIT.java:533)
   > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:847)
   > 	at org.elasticsearch.xpack.ccr.ShardChangesIT.unfollowIndex(ShardChangesIT.java:519)
   > 	at org.elasticsearch.xpack.ccr.ShardChangesIT.testFollowIndexAndCloseNode(ShardChangesIT.java:351)
   > 	at java.lang.Thread.run(Thread.java:748)

This may be the actual reason.

  2> WARNING: Uncaught exception in thread: Thread[elasticsearch[node_td4][write][T#1],5,TGRP-ShardChangesIT]
  2> java.lang.AssertionError: seqNo [133] was processed twice in generation [2], with different data. prvOp [Index{id='CBdenGUBUjHVaMehll6c', type='doc', seqNo=133, primaryTerm=1, version=1, autoGeneratedIdTimestamp=-1}], newOp [Index{id='CBdenGUBUjHVaMehll6c', type='doc', seqNo=133, primaryTerm=2, version=1, autoGeneratedIdTimestamp=-1}]
  1> [2018-09-02T17:19:26,895][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node_tm2] removing template [random_index_template]
  2> 	at __randomizedtesting.SeedInfo.seed([26198A03C82BA27]:0)
  1> [2018-09-02T17:19:26,903][INFO ][o.e.n.Node               ] [testValidateFollowingIndexSettings] stopping ...
  2> 	at org.elasticsearch.index.translog.TranslogWriter.assertNoSeqNumberConflict(TranslogWriter.java:214)
  2> 	at org.elasticsearch.index.translog.TranslogWriter.add(TranslogWriter.java:181)
  1> [2018-09-02T17:19:26,906][INFO ][o.e.c.s.MasterService    ] [node_tm2] zen-disco-node-left({node_tc4}{mIMSWWHESX-PxSM6NVVikw}{ZqmDtVfPSTaqXDkLLas5WA}{127.0.0.1}{127.0.0.1:33427}{xpack.installed=true}), reason(left), reason: removed {{node_tc4}{mIMSWWHESX-PxSM6NVVikw}{ZqmDtVfPSTaqXDkLLas5WA}{127.0.0.1}{127.0.0.1:33427}{xpack.installed=true},}

CI: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+intake/2388/console
Log: testFollowIndexAndCloseNode.txt.zip

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CCRIssues around the Cross Cluster State Replication features>test-failureTriaged test failures from CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions