java.lang.AssertionError: Didn't see all replicas for shard shard1 in collection1 come up within 30000 ms! ClusterState: { "control_collection":{ "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{"core_node1":{ "node_name":"127.0.0.1:42458_vjzm%2Fw", "state":"active", "base_url":"http://127.0.0.1:42458/vjzm/w", "core":"collection1", "leader":"true"}}}}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "replicationFactor":"1", "router":{"name":"compositeId"}, "autoCreated":"true"}, "collection1":{ "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "node_name":"127.0.0.1:54354_vjzm%2Fw", "state":"active", "base_url":"http://127.0.0.1:54354/vjzm/w", "core":"collection1", "leader":"true"}, "core_node2":{ "node_name":"127.0.0.1:36450_vjzm%2Fw", "state":"recovering", "base_url":"http://127.0.0.1:36450/vjzm/w", "core":"collection1"}}}}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "replicationFactor":"1", "router":{"name":"compositeId"}, "autoCreated":"true"}} at __randomizedtesting.SeedInfo.seed([CB5E58F11124E1F9:430A672BBFD88C01]:0)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Check your assert declaration and the method implementation with the condition.

,

My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

Solutions on the web

via lucene-dev by Policeman Jenkins Server, 1 year ago
Didn't see all replicas for shard shard1 in collection1 come up within 30000 ms! ClusterState: { "control_collection":{ "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{"core_node1
via grokbase.com by Unknown author, 2 years ago
Didn't see all replicas for shard shard1 in collection1 come up within 30000 ms! ClusterState: {  "control_collection":{    "autoCreated":"true",    "router":{"name":"compositeId"},    "maxShardsPerNode":"1",    "shards":{"shard1":{        "range
via nabble.com by Unknown author, 1 year ago
[/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-6.x/solr/build/solr-core/test/J0/temp/solr.handler.TestReplicationHandler_E508D7D5DC31F5A1-001/solr-instance-008/./collection1/data/index.20160521002414498, /x1/jenkins/jenkins-slave
via GitHub by mistaguy
, 1 year ago
Unexpected state: MS Office component is not running expected:<3> but was:<-6>
via GitHub by wildfly-ci
, 1 year ago
expected:<2> but was:<1>
java.lang.AssertionError: Didn't see all replicas for shard shard1 in collection1 come up within 30000 ms! ClusterState: { "control_collection":{ "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{"core_node1":{ "node_name":"127.0.0.1:42458_vjzm%2Fw", "state":"active", "base_url":"http://127.0.0.1:42458/vjzm/w", "core":"collection1", "leader":"true"}}}}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "replicationFactor":"1", "router":{"name":"compositeId"}, "autoCreated":"true"}, "collection1":{ "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "node_name":"127.0.0.1:54354_vjzm%2Fw", "state":"active", "base_url":"http://127.0.0.1:54354/vjzm/w", "core":"collection1", "leader":"true"}, "core_node2":{ "node_name":"127.0.0.1:36450_vjzm%2Fw", "state":"recovering", "base_url":"http://127.0.0.1:36450/vjzm/w", "core":"collection1"}}}}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "replicationFactor":"1", "router":{"name":"compositeId"}, "autoCreated":"true"}} at __randomizedtesting.SeedInfo.seed([CB5E58F11124E1F9:430A672BBFD88C01]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.apache.solr.cloud.AbstractFullDistribZkTestBase.ensureAllReplicasAreActive(AbstractFullDistribZkTestBase.java:1844)
at org.apache.solr.cloud.RecoveryAfterSoftCommitTest.test(RecoveryAfterSoftCommitTest.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1764)
at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:871)
at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:907)
at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:965)
at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367)
at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:809)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:460)
at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:880)
at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:781)
at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:816)
at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:827)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

5 times, 52 minutes ago
Once, 2 days ago
Once, 1 week ago
2 times, 1 week ago
Once, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.