Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-9.x/4327/
1 tests failed.
FAILED:
org.apache.solr.cloud.SplitShardWithNodeRoleTest.testSolrClusterWithNodeRoleWithPull
Error Message:
java.lang.AssertionError: Timed out waiting for sub shards to be active. Number
of active shards=1
Timeout waiting to see state for collection=coll_NRT_PULL
:DocCollection(coll_NRT_PULL//collections/coll_NRT_PULL/state.json/14
{/collections/coll_NRT_PULL/state.json/[28]: [core_node2:1:A, core_node10:2:A,
core_node4:2:A:L, core_node8:2:A:L, core_node9:2:A, core_node7:2:A:L]})={
"pullReplicas":1,
"configName":"conf",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":0,
"perReplicaState":true,
"shards":{
"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"core_node2":{
"core":"coll_NRT_PULL_shard1_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"},
"core_node4":{
"core":"coll_NRT_PULL_shard1_replica_n3",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"}}},
"shard1_0":{
"parent":"shard1",
"stateTimestamp":"1684110128445947872",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node7":{
"core":"coll_NRT_PULL_shard1_0_replica_n5",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node10":{
"core":"coll_NRT_PULL_shard1_0_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"80000000-ffffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"},
"shard1_1":{
"parent":"shard1",
"stateTimestamp":"1684110128445877626",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node8":{
"core":"coll_NRT_PULL_shard1_1_replica_n6",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node9":{
"core":"coll_NRT_PULL_shard1_1_replica_p0",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"0-7fffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"}}}
Live Nodes: [127.0.0.1:36261_solr, 127.0.0.1:38651_solr, 127.0.0.1:39359_solr,
127.0.0.1:40715_solr, 127.0.0.1:43171_solr, 127.0.0.1:45125_solr]
Last available state:
DocCollection(coll_NRT_PULL//collections/coll_NRT_PULL/state.json/14
{/collections/coll_NRT_PULL/state.json/[28]: [core_node2:1:A, core_node10:2:A,
core_node4:2:A:L, core_node8:2:A:L, core_node9:2:A, core_node7:2:A:L]})={
"pullReplicas":1,
"configName":"conf",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":0,
"perReplicaState":true,
"shards":{
"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"core_node2":{
"core":"coll_NRT_PULL_shard1_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"},
"core_node4":{
"core":"coll_NRT_PULL_shard1_replica_n3",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"}}},
"shard1_0":{
"parent":"shard1",
"stateTimestamp":"1684110128445947872",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node7":{
"core":"coll_NRT_PULL_shard1_0_replica_n5",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node10":{
"core":"coll_NRT_PULL_shard1_0_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"80000000-ffffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"},
"shard1_1":{
"parent":"shard1",
"stateTimestamp":"1684110128445877626",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node8":{
"core":"coll_NRT_PULL_shard1_1_replica_n6",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node9":{
"core":"coll_NRT_PULL_shard1_1_replica_p0",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"0-7fffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"}}}
Stack Trace:
java.lang.AssertionError: Timed out waiting for sub shards to be active. Number
of active shards=1
Timeout waiting to see state for collection=coll_NRT_PULL
:DocCollection(coll_NRT_PULL//collections/coll_NRT_PULL/state.json/14
{/collections/coll_NRT_PULL/state.json/[28]: [core_node2:1:A, core_node10:2:A,
core_node4:2:A:L, core_node8:2:A:L, core_node9:2:A, core_node7:2:A:L]})={
"pullReplicas":1,
"configName":"conf",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":0,
"perReplicaState":true,
"shards":{
"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"core_node2":{
"core":"coll_NRT_PULL_shard1_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"},
"core_node4":{
"core":"coll_NRT_PULL_shard1_replica_n3",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"}}},
"shard1_0":{
"parent":"shard1",
"stateTimestamp":"1684110128445947872",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node7":{
"core":"coll_NRT_PULL_shard1_0_replica_n5",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node10":{
"core":"coll_NRT_PULL_shard1_0_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"80000000-ffffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"},
"shard1_1":{
"parent":"shard1",
"stateTimestamp":"1684110128445877626",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node8":{
"core":"coll_NRT_PULL_shard1_1_replica_n6",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node9":{
"core":"coll_NRT_PULL_shard1_1_replica_p0",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"0-7fffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"}}}
Live Nodes: [127.0.0.1:36261_solr, 127.0.0.1:38651_solr, 127.0.0.1:39359_solr,
127.0.0.1:40715_solr, 127.0.0.1:43171_solr, 127.0.0.1:45125_solr]
Last available state:
DocCollection(coll_NRT_PULL//collections/coll_NRT_PULL/state.json/14
{/collections/coll_NRT_PULL/state.json/[28]: [core_node2:1:A, core_node10:2:A,
core_node4:2:A:L, core_node8:2:A:L, core_node9:2:A, core_node7:2:A:L]})={
"pullReplicas":1,
"configName":"conf",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":0,
"perReplicaState":true,
"shards":{
"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"core_node2":{
"core":"coll_NRT_PULL_shard1_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"},
"core_node4":{
"core":"coll_NRT_PULL_shard1_replica_n3",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"}}},
"shard1_0":{
"parent":"shard1",
"stateTimestamp":"1684110128445947872",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node7":{
"core":"coll_NRT_PULL_shard1_0_replica_n5",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node10":{
"core":"coll_NRT_PULL_shard1_0_replica_p1",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"80000000-ffffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"},
"shard1_1":{
"parent":"shard1",
"stateTimestamp":"1684110128445877626",
"shard_parent_node":"127.0.0.1:40715_solr",
"replicas":{
"core_node8":{
"core":"coll_NRT_PULL_shard1_1_replica_n6",
"node_name":"127.0.0.1:40715_solr",
"type":"NRT",
"state":"active",
"leader":"true",
"force_set_state":"false",
"base_url":"http://127.0.0.1:40715/solr"},
"core_node9":{
"core":"coll_NRT_PULL_shard1_1_replica_p0",
"node_name":"127.0.0.1:45125_solr",
"type":"PULL",
"state":"active",
"force_set_state":"false",
"base_url":"http://127.0.0.1:45125/solr"}},
"range":"0-7fffffff",
"state":"recovery",
"shard_parent_zk_session":"72057613825933318"}}}
at
__randomizedtesting.SeedInfo.seed([C6E8BFB84DF344C4:1C4E2D9CE93D09B9]:0)
at org.junit.Assert.fail(Assert.java:89)
at
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:171)
at
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:137)
at
org.apache.solr.cloud.SplitShardWithNodeRoleTest.doSplit(SplitShardWithNodeRoleTest.java:87)
at
org.apache.solr.cloud.SplitShardWithNodeRoleTest.testSolrClusterWithNodeRoleWithPull(SplitShardWithNodeRoleTest.java:65)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
org.apache.lucene.tests.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:48)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
org.apache.lucene.tests.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
at
org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
at
org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:843)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:490)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:955)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:840)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:891)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:902)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
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.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
at
org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
at
org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
at java.base/java.lang.Thread.run(Thread.java:829)
Build Log:
[...truncated 3892 lines...]
# ERROR: Error from server at
http://localhost:8983/solr/admin/collections?action=CREATE&name=COLL_NAME&collection.configName=COLL_NAME&numShards=1&nrtReplicas=1&wt=javabin&version=2:
org.apache.solr.cluster.placement.PlacementException: Not enough eligible
nodes to place 1 replica(s) of type NRT for shard shard1 of collection COLL_NAME
ok 40 Affinity placement plugin using ENV
ok 41 post solr log into solr
ok 42 start solr with ssl
ok 43 start solr with ssl and auth
ok 44 SOLR11740 check f
ok 45 status detects locally running solr
ok 46 status does not expose cli parameters to end user
ok 47 listing out files
ok 48 copying files around
ok 49 upconfig
> Task :solr:packaging:integrationTests FAILED
ERROR: The following test(s) have failed:
-
org.apache.solr.cloud.SplitShardWithNodeRoleTest.testSolrClusterWithNodeRoleWithPull
(:solr:core)
Test output:
/tmp/src/solr/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.cloud.SplitShardWithNodeRoleTest.txt
Reproduce with: gradlew :solr:core:test --tests
"org.apache.solr.cloud.SplitShardWithNodeRoleTest.testSolrClusterWithNodeRoleWithPull"
-Ptests.jvms=96 "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m"
-Ptests.seed=C6E8BFB84DF344C4 -Ptests.file.encoding=US-ASCII
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':solr:core:test'.
> There were failing tests. See the results at:
> file:///tmp/src/solr/solr/core/build/test-results/test/
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Build file '/tmp/src/solr/solr/packaging/build.gradle' line: 285
* What went wrong:
Execution failed for task ':solr:packaging:integrationTests'.
> Process 'command
> '/tmp/src/solr/.gradle/node/packaging/node_modules/bats/bin/bats'' finished
> with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
BUILD FAILED in 15m 46s
625 actionable tasks: 609 executed, 16 up-to-date
[0m[?12l[?25h
------------------------------------------------------------------------
Build Failed: returned 1
Total time: 16m6.5s
------------------------------------------------------------------------
+ status=1
+ ./crave pull '**/build/**/test/TEST-*.xml' '**/*.events' 'heapdumps/**'
'**/hs_err_pid*'
[31mError:[0m rsync: [sender] change_dir "/tmp/src/solr/heapdumps" failed: No
such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1684) [Receiver=3.1.3]
rsync: [Receiver] write error: Broken pipe (32)
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]