-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Indexing/CCRIssues around the Cross Cluster State Replication featuresIssues around the Cross Cluster State Replication features>test-failureTriaged test failures from CITriaged test failures from CIblockerv6.7.0v7.0.0-rc1
Description
The test FollowerFailOverIT.testFailOverOnFollower failed today on 7.0:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+internalClusterTest/1446
It does not reproduce locally with:
./gradlew :x-pack:plugin:ccr:internalClusterTest \
-Dtests.seed=D87CDC85B26F55B8 \
-Dtests.class=org.elasticsearch.xpack.ccr.FollowerFailOverIT \
-Dtests.method="testFailOverOnFollower" \
-Dtests.security.manager=true \
-Dtests.locale=id-ID \
-Dtests.timezone=Africa/Ndjamena \
-Dcompiler.java=11 \
-Druntime.java=8
It is maybe related to #35403 or #38633 but I haven't found the same exact errors so I'm opening a new issue.
The log shows some timeout issues with the GlobalCheckpointListeners:
14:23:04 1> [2019-02-27T15:20:06,932][TRACE][o.e.i.s.IndexShard ] [leader1] [leader_test_failover][0] global checkpoint listener timed out
14:23:04 1> java.util.concurrent.TimeoutException: 10ms
14:23:04 1> at org.elasticsearch.index.shard.GlobalCheckpointListeners.lambda$add$3(GlobalCheckpointListeners.java:141) ~[elasticsearch-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
14:23:04 1> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_202]
14:23:04 1> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_202]
14:23:04 1> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_202]
14:23:04 1> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_202]
14:23:04 1> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202]
14:23:04 1> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
And some mismatched documents:
14:23:54 > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
14:23:54 > at org.elasticsearch.xpack.CcrIntegTestCase.lambda$assertIndexFullyReplicatedToFollower$4(CcrIntegTestCase.java:505)
14:23:54 > at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:856)
14:23:54 > ... 39 more
14:23:54 > Suppressed: java.lang.AssertionError: mismatched documents [{0=[DocIdSeqNoAndTerm{id='133 seqNo=135 primaryTerm=1}, DocIdSeqNoAndTerm{id='132 seqNo=134 primaryTerm=1}, DocIdSeqNoAndTerm{id='131 seqNo=133 primaryTerm=1}]}]
I tried to isolate the relevant test log:
consoleText.txt
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/CCRIssues around the Cross Cluster State Replication featuresIssues around the Cross Cluster State Replication features>test-failureTriaged test failures from CITriaged test failures from CIblockerv6.7.0v7.0.0-rc1