-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Closed
Copy link
Labels
:Distributed Coordination/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)All issues relating to the decision making around placing a shard (both master logic & on the nodes)>test-failureTriaged test failures from CITriaged test failures from CI
Description
See https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+internalClusterTest/173/console for an example failure
It looks to be a timing issue, it doesn't reproduce for me:
./gradlew :server:integTest \
-Dtests.seed=B04B0599D97CB9C5 \
-Dtests.class=org.elasticsearch.indices.state.CloseWhileRelocatingShardsIT \
-Dtests.method="testCloseWhileRelocatingShards" \
-Dtests.security.manager=true \
-Dtests.locale=ro \
-Dtests.timezone=Europe/London \
-Dcompiler.java=11 \
-Druntime.java=8
2> WARNING: Uncaught exception in thread: Thread[elasticsearch[node_sd2][generic][T#4],5,TGRP-CloseWhileRelocatingShardsIT]
2> java.lang.AssertionError: java.lang.InterruptedException
2> at __randomizedtesting.SeedInfo.seed([B04B0599D97CB9C5]:0)
2> at org.elasticsearch.indices.state.CloseWhileRelocatingShardsIT.lambda$testCloseWhileRelocatingShards$1(CloseWhileRelocatingShardsIT.java:159)
2> at org.elasticsearch.test.transport.StubbableTransport$WrappedConnection.sendRequest(StubbableTransport.java:223)
2> at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:626)
2> at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:541)
2> at org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:503)
2> at org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:494)
2> at org.elasticsearch.indices.recovery.PeerRecoveryTargetService.lambda$doRecovery$3(PeerRecoveryTargetService.java:263)
2> at org.elasticsearch.common.util.CancellableThreads.executeIO(CancellableThreads.java:108)
2> at org.elasticsearch.indices.recovery.PeerRecoveryTargetService.doRecovery(PeerRecoveryTargetService.java:257)
2> at org.elasticsearch.indices.recovery.PeerRecoveryTargetService.access$500(PeerRecoveryTargetService.java:84)
2> at org.elasticsearch.indices.recovery.PeerRecoveryTargetService$RecoveryRunner.doRun(PeerRecoveryTargetService.java:658)
2> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:751)
2> at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
2> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2> at java.lang.Thread.run(Thread.java:748)
2> Caused by: java.lang.InterruptedException
2> at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998)
2> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
2> at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
2> at org.elasticsearch.indices.state.CloseWhileRelocatingShardsIT.lambda$testCloseWhileRelocatingShards$1(CloseWhileRelocatingShardsIT.java:156)
2> ... 15 more
Metadata
Metadata
Assignees
Labels
:Distributed Coordination/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)All issues relating to the decision making around placing a shard (both master logic & on the nodes)>test-failureTriaged test failures from CITriaged test failures from CI