Skip to content

[CI] FollowerFailOverIT testReadRequestsReturnsLatestMappingVersion failed #37807

@droberts195

Description

@droberts195

org.elasticsearch.xpack.ccr.FollowerFailOverIT testReadRequestsReturnsLatestMappingVersion failed in https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/1474/console

The test got an unexpected InterruptedException:

Uncaught exception in thread: Thread[elasticsearch[leaderd2][clusterApplierService#updateTask][T#1],5,TGRP-FollowerFailOverIT]
java.lang.AssertionError: java.lang.InterruptedException
	at __randomizedtesting.SeedInfo.seed([D0B1EF2765FCDBBC]:0)
	at org.elasticsearch.xpack.ccr.FollowerFailOverIT.lambda$testReadRequestsReturnsLatestMappingVersion$4(FollowerFailOverIT.java:261)
	at org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateAppliers$6(ClusterApplierService.java:487)
	at java.lang.Iterable.forEach(Iterable.java:75)
	at org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:484)
	at org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:471)
	at org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:421)
	at org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:165)
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:662)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InterruptedException
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
	at org.elasticsearch.xpack.ccr.FollowerFailOverIT.lambda$testReadRequestsReturnsLatestMappingVersion$4(FollowerFailOverIT.java:259)
	... 12 more

The repro command is:

./gradlew :x-pack:plugin:ccr:internalClusterTest \
  -Dtests.seed=97C386C4128137C7 \
  -Dtests.class=org.elasticsearch.xpack.ccr.FollowerFailOverIT \
  -Dtests.method="testReadRequestsReturnsLatestMappingVersion" \
  -Dtests.security.manager=true \
  -Dtests.locale=fi \
  -Dtests.timezone=Europe/Mariehamn \
  -Dcompiler.java=11 \
  -Druntime.java=8

This did not reproduce locally for me.

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