-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding tests>test-failureTriaged test failures from CITriaged test failures from CI
Description
IndexWithShadowReplicasIT.testIndexWithFewDocuments fails every few days in our CI. Happens in both 5.x and master.
ERROR 3.31s J0 | IndexWithShadowReplicasIT.testIndexWithFewDocuments <<< FAILURES!
> Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=1570, name=elasticsearch[node_t0][__mock_network_thread][T#7], state=RUNNABLE, group=TGRP-IndexWithShadowReplicasIT]
> at __randomizedtesting.SeedInfo.seed([4FDB1AE2E4E7D59C:A847CECC0DF52B87]:0)
> Caused by: java.lang.AssertionError: setting value but not in fetching mode
> at __randomizedtesting.SeedInfo.seed([4FDB1AE2E4E7D59C]:0)
> at org.elasticsearch.gateway.AsyncShardFetch$NodeEntry.doneFetching(AsyncShardFetch.java:372)
> at org.elasticsearch.gateway.AsyncShardFetch.processAsyncFetch(AsyncShardFetch.java:206)
> at org.elasticsearch.gateway.AsyncShardFetch$1.onResponse(AsyncShardFetch.java:275)
> at org.elasticsearch.gateway.AsyncShardFetch$1.onResponse(AsyncShardFetch.java:272)
> at org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:85)
> at org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:81)
> at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.finishHim(TransportNodesAction.java:261)
> at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.onOperation(TransportNodesAction.java:236)
> at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction.access$100(TransportNodesAction.java:160)
> at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction$1.handleResponse(TransportNodesAction.java:213)
> at org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction$1.handleResponse(TransportNodesAction.java:205)
> at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1030)
> at org.elasticsearch.transport.TcpTransport$2.doRun(TcpTransport.java:1379)
> at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
> at org.elasticsearch.common.util.concurrent.EsExecutors$1.execute(EsExecutors.java:110)
> at org.elasticsearch.transport.TcpTransport.handleResponse(TcpTransport.java:1371)
> at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1340)
> at org.elasticsearch.transport.MockTcpTransport.readMessage(MockTcpTransport.java:172)
> at org.elasticsearch.transport.MockTcpTransport.access$900(MockTcpTransport.java:73)
> at org.elasticsearch.transport.MockTcpTransport$MockChannel$1.lambda$doRun$90(MockTcpTransport.java:359)
> at org.elasticsearch.common.util.CancellableThreads.executeIO(CancellableThreads.java:105)
> at org.elasticsearch.transport.MockTcpTransport$MockChannel$1.doRun(MockTcpTransport.java:359)
> at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
Although we are going to remove shadow replicas in master, we should have a look at the failures and see whether there's anything that needs fixing in 5.x.
Metadata
Metadata
Assignees
Labels
>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding tests>test-failureTriaged test failures from CITriaged test failures from CI