Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Windows/997/
Java: 64bit/jdk-9-ea+173 -XX:-UseCompressedOops -XX:+UseG1GC
1 tests failed.
FAILED: org.apache.solr.cloud.MissingSegmentRecoveryTest.testLeaderRecovery
Error Message:
Expected a collection with one shard and two replicas null Last available
state:
DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/7)={
"replicationFactor":"2", "shards":{"shard1":{
"range":"80000000-7fffffff", "state":"active", "replicas":{
"core_node1":{ "core":"MissingSegmentRecoveryTest_shard1_replica2",
"base_url":"http://127.0.0.1:64594/solr",
"node_name":"127.0.0.1:64594_solr", "state":"active",
"leader":"true"}, "core_node2":{
"core":"MissingSegmentRecoveryTest_shard1_replica1",
"base_url":"http://127.0.0.1:64591/solr",
"node_name":"127.0.0.1:64591_solr", "state":"down"}}}},
"router":{"name":"compositeId"}, "maxShardsPerNode":"1",
"autoAddReplicas":"false"}
Stack Trace:
java.lang.AssertionError: Expected a collection with one shard and two replicas
null
Last available state:
DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/7)={
"replicationFactor":"2",
"shards":{"shard1":{
"range":"80000000-7fffffff",
"state":"active",
"replicas":{
"core_node1":{
"core":"MissingSegmentRecoveryTest_shard1_replica2",
"base_url":"http://127.0.0.1:64594/solr",
"node_name":"127.0.0.1:64594_solr",
"state":"active",
"leader":"true"},
"core_node2":{
"core":"MissingSegmentRecoveryTest_shard1_replica1",
"base_url":"http://127.0.0.1:64591/solr",
"node_name":"127.0.0.1:64591_solr",
"state":"down"}}}},
"router":{"name":"compositeId"},
"maxShardsPerNode":"1",
"autoAddReplicas":"false"}
at
__randomizedtesting.SeedInfo.seed([63F2A0F1E6723306:33A738F2BF53851B]:0)
at org.junit.Assert.fail(Assert.java:93)
at
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:265)
at
org.apache.solr.cloud.MissingSegmentRecoveryTest.testLeaderRecovery(MissingSegmentRecoveryTest.java:105)
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:564)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1713)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:907)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:943)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:957)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:916)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:802)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:852)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
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:53)
at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.base/java.lang.Thread.run(Thread.java:844)
Build Log:
[...truncated 11260 lines...]
[junit4] Suite: org.apache.solr.cloud.MissingSegmentRecoveryTest
[junit4] 2> Creating dataDir:
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\init-core-data-001
[junit4] 2> 269651 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.SolrTestCaseJ4 Using PointFields
[junit4] 2> 269652 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (false) via:
@org.apache.solr.util.RandomizeSSL(reason="", value=0.0/0.0, ssl=0.0/0.0,
clientAuth=0.0/0.0)
[junit4] 2> 269653 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.MiniSolrCloudCluster Starting cluster of 2 servers in
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001
[junit4] 2> 269653 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
[junit4] 2> 269654 INFO (Thread-830) [ ] o.a.s.c.ZkTestServer client
port:0.0.0.0/0.0.0.0:0
[junit4] 2> 269654 INFO (Thread-830) [ ] o.a.s.c.ZkTestServer Starting
server
[junit4] 2> 269659 ERROR (Thread-830) [ ] o.a.z.s.ZooKeeperServer
ZKShutdownHandler is not registered, so ZooKeeper server won't take any action
on ERROR or SHUTDOWN server state changes
[junit4] 2> 269755 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.ZkTestServer start zk server on port:64587
[junit4] 2> 269767 WARN (NIOServerCxn.Factory:0.0.0.0/0.0.0.0:0) [ ]
o.a.z.s.NIOServerCnxn caught end of stream exception
[junit4] 2> EndOfStreamException: Unable to read additional data from
client sessionid 0x15cd9af4b630000, likely client has closed socket
[junit4] 2> at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
[junit4] 2> at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
[junit4] 2> at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] 2> 269769 INFO (jetty-launcher-536-thread-2) [ ]
o.e.j.s.Server jetty-9.3.14.v20161028
[junit4] 2> 269770 INFO (jetty-launcher-536-thread-1) [ ]
o.e.j.s.Server jetty-9.3.14.v20161028
[junit4] 2> 269771 INFO (jetty-launcher-536-thread-2) [ ]
o.e.j.s.h.ContextHandler Started
o.e.j.s.ServletContextHandler@7fa4f790{/solr,null,AVAILABLE}
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.e.j.s.AbstractConnector Started
ServerConnector@5f022294{HTTP/1.1,[http/1.1]}{127.0.0.1:64591}
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.e.j.s.Server Started @272371ms
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr,
hostPort=64591}
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-1) [ ]
o.e.j.s.h.ContextHandler Started
o.e.j.s.ServletContextHandler@3221d75{/solr,null,AVAILABLE}
[junit4] 2> 269772 ERROR (jetty-launcher-536-thread-2) [ ]
o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be
missing or incomplete.
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version
6.7.0
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time:
2017-06-24T10:39:23.093964Z
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-1) [ ]
o.e.j.s.AbstractConnector Started
ServerConnector@5e4ee623{HTTP/1.1,[http/1.1]}{127.0.0.1:64594}
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-1) [ ]
o.e.j.s.Server Started @272372ms
[junit4] 2> 269772 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr,
hostPort=64594}
[junit4] 2> 269774 ERROR (jetty-launcher-536-thread-1) [ ]
o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be
missing or incomplete.
[junit4] 2> 269774 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version
6.7.0
[junit4] 2> 269774 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null
[junit4] 2> 269774 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null
[junit4] 2> 269774 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time:
2017-06-24T10:39:23.095292900Z
[junit4] 2> 269785 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading...
[junit4] 2> 269785 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading...
[junit4] 2> 269797 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params:
socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 269798 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:64587/solr
[junit4] 2> 269799 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params:
socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 269803 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:64587/solr
[junit4] 2> 269879 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.Overseer Overseer (id=null) closing
[junit4] 2> 269882 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.OverseerElectionContext I am going to be the leader 127.0.0.1:64591_solr
[junit4] 2> 269882 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.Overseer Overseer
(id=98192638802591749-127.0.0.1:64591_solr-n_0000000000) starting
[junit4] 2> 269892 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.c.Overseer Overseer (id=null) closing
[junit4] 2> 269905 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.c.ZkController Register node as live in
ZooKeeper:/live_nodes/127.0.0.1:64594_solr
[junit4] 2> 269908 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.ZkController Register node as live in
ZooKeeper:/live_nodes/127.0.0.1:64591_solr
[junit4] 2> 269912 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1)
[junit4] 2> 269929 INFO (zkCallback-548-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1)
[junit4] 2> 270006 INFO (jetty-launcher-536-thread-2) [ ]
o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.
[junit4] 2> 270077 INFO (jetty-launcher-536-thread-1) [ ]
o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node2\.
[junit4] 2> 270094 INFO
(OverseerStateUpdate-98192638802591749-127.0.0.1:64591_solr-n_0000000000) [
] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2)
[junit4] 2> 270110 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2)
[junit4] 2> 270131 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (2)
[junit4] 2> 270132 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.s.i.ZkClientClusterStateProvider Cluster at 127.0.0.1:64587/solr ready
[junit4] 2> 270159 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.SolrTestCaseJ4 ###Starting testLeaderRecovery
[junit4] 2> 270166 INFO (qtp2023335610-2979) [ ]
o.a.s.h.a.CollectionsHandler Invoked Collection Action :create with params
replicationFactor=2&collection.configName=conf&maxShardsPerNode=1&name=MissingSegmentRecoveryTest&action=CREATE&numShards=1&wt=javabin&version=2
and sendToOCPQueue=true
[junit4] 2> 270170 INFO (OverseerThreadFactory-1246-thread-1) [ ]
o.a.s.c.CreateCollectionCmd Create collection MissingSegmentRecoveryTest
[junit4] 2> 270295 INFO (qtp2014227689-2996) [ ]
o.a.s.h.a.CoreAdminOperation core create command
qt=/admin/cores&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica2&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2
[junit4] 2> 270295 INFO (qtp2023335610-3003) [ ]
o.a.s.h.a.CoreAdminOperation core create command
qt=/admin/cores&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica1&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2
[junit4] 2> 270297 INFO (qtp2023335610-3003) [ ]
o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647
transient cores
[junit4] 2> 270297 INFO (qtp2014227689-2996) [ ]
o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647
transient cores
[junit4] 2> 270405 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 270405 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 271310 INFO (qtp2023335610-3003) [ ] o.a.s.c.SolrConfig
Using Lucene MatchVersion: 6.7.0
[junit4] 2> 271311 INFO (qtp2014227689-2996) [ ] o.a.s.c.SolrConfig
Using Lucene MatchVersion: 6.7.0
[junit4] 2> 271328 INFO (qtp2014227689-2996) [ ] o.a.s.s.IndexSchema
[MissingSegmentRecoveryTest_shard1_replica2] Schema name=minimal
[junit4] 2> 271328 INFO (qtp2023335610-3003) [ ] o.a.s.s.IndexSchema
[MissingSegmentRecoveryTest_shard1_replica1] Schema name=minimal
[junit4] 2> 271330 INFO (qtp2023335610-3003) [ ] o.a.s.s.IndexSchema
Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 271331 INFO (qtp2014227689-2996) [ ] o.a.s.s.IndexSchema
Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 271331 INFO (qtp2014227689-2996) [ ] o.a.s.c.CoreContainer
Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica2' using
configuration from collection MissingSegmentRecoveryTest, trusted=true
[junit4] 2> 271331 INFO (qtp2014227689-2996) [ ] o.a.s.c.SolrCore
solr.RecoveryStrategy.Builder
[junit4] 2> 271331 INFO (qtp2014227689-2996) [ ] o.a.s.c.SolrCore
[[MissingSegmentRecoveryTest_shard1_replica2] ] Opening new SolrCore at
[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node2\MissingSegmentRecoveryTest_shard1_replica2],
dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node2\.\MissingSegmentRecoveryTest_shard1_replica2\data\]
[junit4] 2> 271331 INFO (qtp2023335610-3003) [ ] o.a.s.c.CoreContainer
Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica1' using
configuration from collection MissingSegmentRecoveryTest, trusted=true
[junit4] 2> 271333 INFO (qtp2023335610-3003) [ ] o.a.s.c.SolrCore
solr.RecoveryStrategy.Builder
[junit4] 2> 271333 INFO (qtp2023335610-3003) [ ] o.a.s.c.SolrCore
[[MissingSegmentRecoveryTest_shard1_replica1] ] Opening new SolrCore at
[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1],
dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\]
[junit4] 2> 271481 INFO (qtp2014227689-2996) [ ] o.a.s.u.UpdateHandler
Using UpdateLog implementation: org.apache.solr.update.UpdateLog
[junit4] 2> 271481 INFO (qtp2014227689-2996) [ ] o.a.s.u.UpdateLog
Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH
numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
[junit4] 2> 271482 INFO (qtp2014227689-2996) [ ] o.a.s.u.CommitTracker
Hard AutoCommit: disabled
[junit4] 2> 271482 INFO (qtp2014227689-2996) [ ] o.a.s.u.CommitTracker
Soft AutoCommit: disabled
[junit4] 2> 271485 INFO (qtp2014227689-2996) [ ]
o.a.s.s.SolrIndexSearcher Opening
[Searcher@7aee21a7[MissingSegmentRecoveryTest_shard1_replica2] main]
[junit4] 2> 271487 INFO (qtp2014227689-2996) [ ]
o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase:
/configs/conf
[junit4] 2> 271488 INFO (qtp2014227689-2996) [ ]
o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using
ZooKeeperStorageIO:path=/configs/conf
[junit4] 2> 271488 INFO (qtp2014227689-2996) [ ]
o.a.s.h.ReplicationHandler Commits will be reserved for 10000
[junit4] 2> 271488 INFO (qtp2014227689-2996) [ ] o.a.s.u.UpdateLog
Could not find max version in index or recent updates, using new clock
1571082222760361984
[junit4] 2> 271492 INFO (searcherExecutor-1247-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] Registered new
searcher Searcher@7aee21a7[MissingSegmentRecoveryTest_shard1_replica2]
main{ExitableDirectoryReader(UninvertingDirectoryReader())}
[junit4] 2> 271498 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext Waiting until we see more replicas up for
shard shard1: total=2 found=1 timeoutin=9999ms
[junit4] 2> 271517 INFO (qtp2023335610-3003) [ ] o.a.s.u.UpdateHandler
Using UpdateLog implementation: org.apache.solr.update.UpdateLog
[junit4] 2> 271518 INFO (qtp2023335610-3003) [ ] o.a.s.u.UpdateLog
Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH
numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
[junit4] 2> 271519 INFO (qtp2023335610-3003) [ ] o.a.s.u.CommitTracker
Hard AutoCommit: disabled
[junit4] 2> 271519 INFO (qtp2023335610-3003) [ ] o.a.s.u.CommitTracker
Soft AutoCommit: disabled
[junit4] 2> 271523 INFO (qtp2023335610-3003) [ ]
o.a.s.s.SolrIndexSearcher Opening
[Searcher@7dad8337[MissingSegmentRecoveryTest_shard1_replica1] main]
[junit4] 2> 271524 INFO (qtp2023335610-3003) [ ]
o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase:
/configs/conf
[junit4] 2> 271525 INFO (qtp2023335610-3003) [ ]
o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using
ZooKeeperStorageIO:path=/configs/conf
[junit4] 2> 271525 INFO (qtp2023335610-3003) [ ]
o.a.s.h.ReplicationHandler Commits will be reserved for 10000
[junit4] 2> 271526 INFO (searcherExecutor-1248-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] Registered new
searcher Searcher@7dad8337[MissingSegmentRecoveryTest_shard1_replica1]
main{ExitableDirectoryReader(UninvertingDirectoryReader())}
[junit4] 2> 271526 INFO (qtp2023335610-3003) [ ] o.a.s.u.UpdateLog
Could not find max version in index or recent updates, using new clock
1571082222800207872
[junit4] 2> 271602 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 271602 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272000 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext Enough replicas found to continue.
[junit4] 2> 272000 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext I may be the new leader - try and sync
[junit4] 2> 272000 INFO (qtp2014227689-2996) [ ] o.a.s.c.SyncStrategy
Sync replicas to
http://127.0.0.1:64594/solr/MissingSegmentRecoveryTest_shard1_replica2/
[junit4] 2> 272001 INFO (qtp2014227689-2996) [ ] o.a.s.u.PeerSync
PeerSync: core=MissingSegmentRecoveryTest_shard1_replica2
url=http://127.0.0.1:64594/solr START
replicas=[http://127.0.0.1:64591/solr/MissingSegmentRecoveryTest_shard1_replica1/]
nUpdates=100
[junit4] 2> 272001 INFO (qtp2014227689-2996) [ ] o.a.s.u.PeerSync
PeerSync: core=MissingSegmentRecoveryTest_shard1_replica2
url=http://127.0.0.1:64594/solr DONE. We have no versions. sync failed.
[junit4] 2> 272012 INFO (qtp2023335610-2986) [ ] o.a.s.c.S.Request
[MissingSegmentRecoveryTest_shard1_replica1] webapp=/solr path=/get
params={distrib=false&qt=/get&fingerprint=false&getVersions=100&wt=javabin&version=2}
status=0 QTime=0
[junit4] 2> 272013 INFO (qtp2014227689-2996) [ ] o.a.s.c.SyncStrategy
Leader's attempt to sync with shard failed, moving to the next candidate
[junit4] 2> 272013 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext We failed sync, but we have no versions - we
can't sync in that case - we were active before, so become leader anyway
[junit4] 2> 272013 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext Found all replicas participating in
election, clear LIR
[junit4] 2> 272019 INFO (qtp2014227689-2996) [ ]
o.a.s.c.ShardLeaderElectionContext I am the new leader:
http://127.0.0.1:64594/solr/MissingSegmentRecoveryTest_shard1_replica2/ shard1
[junit4] 2> 272134 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272134 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272177 INFO (qtp2014227689-2996) [ ] o.a.s.c.ZkController
I am the leader, no recovery necessary
[junit4] 2> 272181 INFO (qtp2014227689-2996) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/cores
params={qt=/admin/cores&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica2&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2}
status=0 QTime=1885
[junit4] 2> 272287 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272287 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272536 INFO (qtp2023335610-3003) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/cores
params={qt=/admin/cores&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica1&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2}
status=0 QTime=2241
[junit4] 2> 272555 INFO (qtp2023335610-2979) [ ]
o.a.s.h.a.CollectionsHandler Wait for new collection to be active for at most
30 seconds. Check all shard replicas
[junit4] 2> 272657 INFO (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 272657 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 273556 INFO (qtp2023335610-2979) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/collections
params={replicationFactor=2&collection.configName=conf&maxShardsPerNode=1&name=MissingSegmentRecoveryTest&action=CREATE&numShards=1&wt=javabin&version=2}
status=0 QTime=3388
[junit4] 2> 273603 INFO (qtp2023335610-2984) [ ]
o.a.s.u.p.LogUpdateProcessorFactory
[MissingSegmentRecoveryTest_shard1_replica1] webapp=/solr path=/update
params={update.distrib=FROMLEADER&distrib.from=http://127.0.0.1:64594/solr/MissingSegmentRecoveryTest_shard1_replica2/&wt=javabin&version=2}{add=[0
(1571082224945594368), 1 (1571082224953982976), 2 (1571082224953982977), 3
(1571082224955031552), 4 (1571082224955031553), 5 (1571082224955031554), 6
(1571082224955031555), 7 (1571082224955031556), 8 (1571082224955031557), 9
(1571082224955031558)]} 0 7
[junit4] 2> 273607 INFO (qtp2014227689-2993) [ ]
o.a.s.u.p.LogUpdateProcessorFactory
[MissingSegmentRecoveryTest_shard1_replica2] webapp=/solr path=/update
params={wt=javabin&version=2}{add=[0 (1571082224945594368), 1
(1571082224953982976), 2 (1571082224953982977), 3 (1571082224955031552), 4
(1571082224955031553), 5 (1571082224955031554), 6 (1571082224955031555), 7
(1571082224955031556), 8 (1571082224955031557), 9 (1571082224955031558)]} 0 35
[junit4] 2> 273619 INFO (qtp2014227689-2989) [ ]
o.a.s.u.DirectUpdateHandler2 start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4] 2> 273620 INFO (qtp2014227689-2989) [ ]
o.a.s.u.SolrIndexWriter Calling setCommitData with
IW:org.apache.solr.update.SolrIndexWriter@108f3098
[junit4] 2> 273624 INFO (qtp2023335610-2984) [ ]
o.a.s.u.DirectUpdateHandler2 start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4] 2> 273624 INFO (qtp2023335610-2984) [ ]
o.a.s.u.SolrIndexWriter Calling setCommitData with
IW:org.apache.solr.update.SolrIndexWriter@4965a1be
[junit4] 2> 273756 INFO (qtp2014227689-2989) [ ]
o.a.s.s.SolrIndexSearcher Opening
[Searcher@31ec0ab1[MissingSegmentRecoveryTest_shard1_replica2] main]
[junit4] 2> 273760 INFO (searcherExecutor-1247-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] Registered new
searcher Searcher@31ec0ab1[MissingSegmentRecoveryTest_shard1_replica2]
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(6.7.0):C10)))}
[junit4] 2> 273760 INFO (qtp2014227689-2989) [ ]
o.a.s.u.DirectUpdateHandler2 end_commit_flush
[junit4] 2> 273760 INFO (qtp2014227689-2989) [ ]
o.a.s.u.p.LogUpdateProcessorFactory
[MissingSegmentRecoveryTest_shard1_replica2] webapp=/solr path=/update
params={update.distrib=FROMLEADER&waitSearcher=true&openSearcher=true&commit=true&softCommit=false&distrib.from=http://127.0.0.1:64594/solr/MissingSegmentRecoveryTest_shard1_replica2/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=}
0 140
[junit4] 2> 273762 INFO (qtp2023335610-2984) [ ]
o.a.s.s.SolrIndexSearcher Opening
[Searcher@40533549[MissingSegmentRecoveryTest_shard1_replica1] main]
[junit4] 2> 273762 INFO (searcherExecutor-1248-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] Registered new
searcher Searcher@40533549[MissingSegmentRecoveryTest_shard1_replica1]
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(6.7.0):C10)))}
[junit4] 2> 273762 INFO (qtp2023335610-2984) [ ]
o.a.s.u.DirectUpdateHandler2 end_commit_flush
[junit4] 2> 273762 INFO (qtp2023335610-2984) [ ]
o.a.s.u.p.LogUpdateProcessorFactory
[MissingSegmentRecoveryTest_shard1_replica1] webapp=/solr path=/update
params={update.distrib=FROMLEADER&waitSearcher=true&openSearcher=true&commit=true&softCommit=false&distrib.from=http://127.0.0.1:64594/solr/MissingSegmentRecoveryTest_shard1_replica2/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=}
0 140
[junit4] 2> 273762 INFO (qtp2014227689-2992) [ ]
o.a.s.u.p.LogUpdateProcessorFactory
[MissingSegmentRecoveryTest_shard1_replica2] webapp=/solr path=/update
params={_stateVer_=MissingSegmentRecoveryTest:5&waitSearcher=true&commit=true&softCommit=false&wt=javabin&version=2}{commit=}
0 154
[junit4] 2> 273773 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.AbstractConnector Stopped
ServerConnector@5f022294{HTTP/1.1,[http/1.1]}{127.0.0.1:0}
[junit4] 2> 273775 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.CoreContainer Shutting down CoreContainer instance=1193058257
[junit4] 2> 273775 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node
[junit4] 2> 273775 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jvm
[junit4] 2> 273793 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jetty
[junit4] 2> 273828 INFO (coreCloseExecutor-1257-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] CLOSING SolrCore
org.apache.solr.core.SolrCore@9088d14
[junit4] 2> 273841 INFO (coreCloseExecutor-1257-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for:
solr.core.MissingSegmentRecoveryTest.shard1.replica1
[junit4] 2> 273851 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.Overseer Overseer
(id=98192638802591749-127.0.0.1:64591_solr-n_0000000000) closing
[junit4] 2> 273854 INFO
(OverseerStateUpdate-98192638802591749-127.0.0.1:64591_solr-n_0000000000) [
] o.a.s.c.Overseer Overseer Loop exiting : 127.0.0.1:64591_solr
[junit4] 2> 273888 WARN (zkCallback-547-thread-1) [ ]
o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK:
[KeeperErrorCode = Session expired for /live_nodes]
[junit4] 2> 273894 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.h.ContextHandler Stopped
o.e.j.s.ServletContextHandler@7fa4f790{/solr,null,UNAVAILABLE}
[junit4] 2> 273904 INFO (zkCallback-548-thread-2) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1)
[junit4] 2> 273904 INFO (zkCallback-548-thread-1) [ ]
o.a.s.c.OverseerElectionContext I am going to be the leader 127.0.0.1:64594_solr
[junit4] 2> 273904 INFO (zkCallback-554-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1)
[junit4] 2> 273920 INFO (zkCallback-548-thread-1) [ ] o.a.s.c.Overseer
Overseer (id=98192638802591750-127.0.0.1:64594_solr-n_0000000001) starting
[junit4] 2> 273981 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.Server jetty-9.3.14.v20161028
[junit4] 2> 273998 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.h.ContextHandler Started
o.e.j.s.ServletContextHandler@75e293c9{/solr,null,AVAILABLE}
[junit4] 2> 274009 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.AbstractConnector Started
ServerConnector@260661ab{HTTP/1.1,[http/1.1]}{127.0.0.1:64591}
[junit4] 2> 274009 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.e.j.s.Server Started @276609ms
[junit4] 2> 274023 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr,
hostPort=64591}
[junit4] 2> 274024 ERROR
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may
be missing or incomplete.
[junit4] 2> 274024 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™
version 6.7.0
[junit4] 2> 274024 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port
null
[junit4] 2> 274024 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null
[junit4] 2> 274024 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time:
2017-06-24T10:39:27.345160500Z
[junit4] 2> 274091 INFO (zkCallback-548-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [1])
[junit4] 2> 274102 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading...
[junit4] 2> 274121 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with
params: socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 274122 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:64587/solr
[junit4] 2> 274254 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1)
[junit4] 2> 274266 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.Overseer Overseer (id=null) closing
[junit4] 2> 274282 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.ZkController Register node as live in
ZooKeeper:/live_nodes/127.0.0.1:64591_solr
[junit4] 2> 274295 INFO (zkCallback-548-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2)
[junit4] 2> 274296 INFO (zkCallback-554-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2)
[junit4] 2> 274298 INFO (zkCallback-559-thread-1) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2)
[junit4] 2> 274372 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.
[junit4] 2> 274373 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.c.CorePropertiesLocator Cores are:
[MissingSegmentRecoveryTest_shard1_replica1]
[junit4] 2> 274389 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647
transient cores
[junit4] 2> 274415 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.7.0
[junit4] 2> 274429 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica1] Schema
name=minimal
[junit4] 2> 274432 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 274432 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.CoreContainer Creating SolrCore
'MissingSegmentRecoveryTest_shard1_replica1' using configuration from
collection MissingSegmentRecoveryTest, trusted=true
[junit4] 2> 274432 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore solr.RecoveryStrategy.Builder
[junit4] 2> 274432 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica1] ] Opening new
SolrCore at
[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1],
dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\]
[junit4] 2> 274501 INFO (zkCallback-548-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 274509 INFO (zkCallback-559-thread-1) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 274516 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.UpdateHandler Using UpdateLog implementation:
org.apache.solr.update.UpdateLog
[junit4] 2> 274516 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH
numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
[junit4] 2> 274518 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.CommitTracker Hard AutoCommit: disabled
[junit4] 2> 274518 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.CommitTracker Soft AutoCommit: disabled
[junit4] 2> 274539 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] CLOSING SolrCore
org.apache.solr.core.SolrCore@66291490
[junit4] 2> 274551 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for:
solr.core.MissingSegmentRecoveryTest.shard1.replica1
[junit4] 2> 274556 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.CoreContainer Found active leader, will attempt to create fresh core
and recover.
[junit4] 2> 274556 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore Updating index properties... index=index.20170624113927877
[junit4] 2> 274563 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore solr.RecoveryStrategy.Builder
[junit4] 2> 274563 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica1] ] Opening new
SolrCore at
[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1],
dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\]
[junit4] 2> 274582 INFO
(OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica1)
[ ] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up
under
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\
afterReload=false
[junit4] 2> 274611 ERROR
(OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica1)
[ ] o.a.s.c.DirectoryFactory Failed to delete old directory
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\index.20170624113927877
due to: java.io.IOException: Unable to delete directory
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\index.20170624113927877.
[junit4] 2> 274622 ERROR (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.SolrIndexWriter Error closing IndexWriter
[junit4] 2> java.nio.file.AccessDeniedException:
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1\data\index.20170624113927877\write.lock
[junit4] 2> at
java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
[junit4] 2> at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[junit4] 2> at
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[junit4] 2> at
java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
[junit4] 2> at
java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
[junit4] 2> at
java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:194)
[junit4] 2> at
java.base/java.nio.file.Files.readAttributes(Files.java:1755)
[junit4] 2> at
org.apache.lucene.store.NativeFSLockFactory$NativeFSLock.ensureValid(NativeFSLockFactory.java:177)
[junit4] 2> at
org.apache.lucene.store.LockValidatingDirectoryWrapper.sync(LockValidatingDirectoryWrapper.java:67)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:4724)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:3085)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3244)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1128)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1171)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.close(SolrIndexWriter.java:278)
[junit4] 2> at
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:730)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:923)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:830)
[junit4] 2> at
org.apache.solr.core.CoreContainer.processCoreCreateException(CoreContainer.java:1004)
[junit4] 2> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:932)
[junit4] 2> at
org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:565)
[junit4] 2> at
com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
[junit4] 2> at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[junit4] 2> at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
[junit4] 2> at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
[junit4] 2> at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[junit4] 2> at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] 2> 274689 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.UpdateHandler Using UpdateLog implementation:
org.apache.solr.update.UpdateLog
[junit4] 2> 274689 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH
numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536
[junit4] 2> 274691 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.CommitTracker Hard AutoCommit: disabled
[junit4] 2> 274692 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.u.CommitTracker Soft AutoCommit: disabled
[junit4] 2> 274698 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] CLOSING SolrCore
org.apache.solr.core.SolrCore@4d318d05
[junit4] 2> 274700 INFO
(OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica1)
[ ] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up
under
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\
afterReload=false
[junit4] 2> 274711 INFO
(OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica1)
[ ] o.a.s.c.DirectoryFactory Deleted old index directory:
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica1\data\index
[junit4] 2> 274719 INFO (coreLoadExecutor-1266-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for:
solr.core.MissingSegmentRecoveryTest.shard1.replica1
[junit4] 2> 274720 ERROR (coreContainerWorkExecutor-1262-thread-1) [ ]
o.a.s.c.CoreContainer Error waiting for SolrCore to be created
[junit4] 2> java.util.concurrent.ExecutionException:
org.apache.solr.common.SolrException: Unable to create core
[MissingSegmentRecoveryTest_shard1_replica1]
[junit4] 2> at
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[junit4] 2> at
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[junit4] 2> at
org.apache.solr.core.CoreContainer.lambda$load$6(CoreContainer.java:593)
[junit4] 2> at
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
[junit4] 2> at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
[junit4] 2> at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[junit4] 2> at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
[junit4] 2> at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
[junit4] 2> at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[junit4] 2> at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Unable to
create core [MissingSegmentRecoveryTest_shard1_replica1]
[junit4] 2> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:945)
[junit4] 2> at
org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:565)
[junit4] 2> at
com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
[junit4] 2> ... 5 more
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Error opening
new searcher
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:977)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:830)
[junit4] 2> at
org.apache.solr.core.CoreContainer.processCoreCreateException(CoreContainer.java:1004)
[junit4] 2> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:932)
[junit4] 2> ... 7 more
[junit4] 2> Suppressed: org.apache.solr.common.SolrException: Error
opening new searcher
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:977)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:830)
[junit4] 2> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:930)
[junit4] 2> ... 7 more
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Error
opening new searcher
[junit4] 2> at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2069)
[junit4] 2> at
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2189)
[junit4] 2> at
org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:949)
[junit4] 2> ... 9 more
[junit4] 2> Caused by:
org.apache.lucene.index.CorruptIndexException: Unexpected file read error while
reading index.
(resource=BufferedChecksumIndexInput(MMapIndexInput(path="C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1\data\index\segments_2")))
[junit4] 2> at
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:290)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:930)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:118)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:93)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:248)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:122)
[junit4] 2> at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2030)
[junit4] 2> ... 12 more
[junit4] 2> Caused by: java.io.EOFException: read past EOF:
MMapIndexInput(path="C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1\data\index\segments_2")
[junit4] 2> at
org.apache.lucene.store.ByteBufferIndexInput.readByte(ByteBufferIndexInput.java:75)
[junit4] 2> at
org.apache.lucene.store.BufferedChecksumIndexInput.readByte(BufferedChecksumIndexInput.java:41)
[junit4] 2> at
org.apache.lucene.store.DataInput.readInt(DataInput.java:101)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:300)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:288)
[junit4] 2> ... 18 more
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Error opening
new searcher
[junit4] 2> at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2069)
[junit4] 2> at
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2189)
[junit4] 2> at
org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071)
[junit4] 2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:949)
[junit4] 2> ... 10 more
[junit4] 2> Caused by: org.apache.lucene.index.IndexNotFoundException: no
segments* file found in
LockValidatingDirectoryWrapper(MMapDirectory@C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica1\data\index.20170624113927877
lockFactory=org.apache.lucene.store.NativeFSLockFactory@713824b2): files:
[write.lock]
[junit4] 2> at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:925)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:118)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:93)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:248)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:122)
[junit4] 2> at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2030)
[junit4] 2> ... 13 more
[junit4] 2> 364893 INFO (qtp390467847-3068) [ ]
o.a.s.h.a.CollectionsHandler Invoked Collection Action :delete with params
name=MissingSegmentRecoveryTest&action=DELETE&wt=javabin&version=2 and
sendToOCPQueue=true
[junit4] 2> 364896 INFO (OverseerThreadFactory-1260-thread-1) [ ]
o.a.s.c.OverseerCollectionMessageHandler Executing Collection Cmd :
action=UNLOAD&deleteInstanceDir=true&deleteDataDir=true
[junit4] 2> 364903 INFO (qtp2014227689-2989) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for:
solr.core.MissingSegmentRecoveryTest.shard1.replica2
[junit4] 2> 364904 INFO (qtp2014227689-2989) [ ] o.a.s.c.SolrCore
[MissingSegmentRecoveryTest_shard1_replica2] CLOSING SolrCore
org.apache.solr.core.SolrCore@24c39aba
[junit4] 2> 364907 INFO (qtp390467847-3064) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/cores
params={deleteInstanceDir=true&core=MissingSegmentRecoveryTest_shard1_replica1&qt=/admin/cores&deleteDataDir=true&action=UNLOAD&wt=javabin&version=2}
status=0 QTime=6
[junit4] 2> 364910 INFO (qtp2014227689-2989) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for:
solr.core.MissingSegmentRecoveryTest.shard1.replica2
[junit4] 2> 364923 INFO (qtp2014227689-2989) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/cores
params={deleteInstanceDir=true&core=MissingSegmentRecoveryTest_shard1_replica2&qt=/admin/cores&deleteDataDir=true&action=UNLOAD&wt=javabin&version=2}
status=0 QTime=21
[junit4] 2> 364926 INFO (zkCallback-559-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDataChanged
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 365032 INFO (zkCallback-559-thread-2) [ ]
o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent
state:SyncConnected type:NodeDeleted
path:/collections/MissingSegmentRecoveryTest/state.json] for collection
[MissingSegmentRecoveryTest] has occurred - updating... (live nodes size: [2])
[junit4] 2> 365637 INFO (qtp390467847-3068) [ ] o.a.s.s.HttpSolrCall
[admin] webapp=null path=/admin/collections
params={name=MissingSegmentRecoveryTest&action=DELETE&wt=javabin&version=2}
status=0 QTime=743
[junit4] 2> 365637 INFO
(TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[63F2A0F1E6723306]) [
] o.a.s.SolrTestCaseJ4 ###Ending testLeaderRecovery
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=MissingSegmentRecoveryTest -Dtests.method=testLeaderRecovery
-Dtests.seed=63F2A0F1E6723306 -Dtests.slow=true -Dtests.locale=en-FI
-Dtests.timezone=Africa/Luanda -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 95.5s J1 | MissingSegmentRecoveryTest.testLeaderRecovery <<<
[junit4] > Throwable #1: java.lang.AssertionError: Expected a collection
with one shard and two replicas
[junit4] > null
[junit4] > Last available state:
DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/7)={
[junit4] > "replicationFactor":"2",
[junit4] > "shards":{"shard1":{
[junit4] > "range":"80000000-7fffffff",
[junit4] > "state":"active",
[junit4] > "replicas":{
[junit4] > "core_node1":{
[junit4] > "core":"MissingSegmentRecoveryTest_shard1_replica2",
[junit4] > "base_url":"http://127.0.0.1:64594/solr",
[junit4] > "node_name":"127.0.0.1:64594_solr",
[junit4] > "state":"active",
[junit4] > "leader":"true"},
[junit4] > "core_node2":{
[junit4] > "core":"MissingSegmentRecoveryTest_shard1_replica1",
[junit4] > "base_url":"http://127.0.0.1:64591/solr",
[junit4] > "node_name":"127.0.0.1:64591_solr",
[junit4] > "state":"down"}}}},
[junit4] > "router":{"name":"compositeId"},
[junit4] > "maxShardsPerNode":"1",
[junit4] > "autoAddReplicas":"false"}
[junit4] > at
__randomizedtesting.SeedInfo.seed([63F2A0F1E6723306:33A738F2BF53851B]:0)
[junit4] > at
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:265)
[junit4] > at
org.apache.solr.cloud.MissingSegmentRecoveryTest.testLeaderRecovery(MissingSegmentRecoveryTest.java:105)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit4] > at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit4] > at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4] > at
java.base/java.lang.reflect.Method.invoke(Method.java:564)
[junit4] > at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] 2> 365640 WARN (NIOServerCxn.Factory:0.0.0.0/0.0.0.0:0) [ ]
o.a.z.s.NIOServerCnxn caught end of stream exception
[junit4] 2> EndOfStreamException: Unable to read additional data from
client sessionid 0x15cd9af4b630008, likely client has closed socket
[junit4] 2> at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
[junit4] 2> at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
[junit4] 2> at java.base/java.lang.Thread.run(Thread.java:844)
[junit4] 2> 365643 INFO (jetty-closer-537-thread-1) [ ]
o.e.j.s.AbstractConnector Stopped
ServerConnector@260661ab{HTTP/1.1,[http/1.1]}{127.0.0.1:64591}
[junit4] 2> 365645 INFO (jetty-closer-537-thread-1) [ ]
o.a.s.c.CoreContainer Shutting down CoreContainer instance=684065243
[junit4] 2> 365646 INFO (jetty-closer-537-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node
[junit4] 2> 365646 INFO (jetty-closer-537-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jvm
[junit4] 2> 365646 INFO (jetty-closer-537-thread-1) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jetty
[junit4] 2> 365647 INFO (jetty-closer-537-thread-2) [ ]
o.e.j.s.AbstractConnector Stopped
ServerConnector@5e4ee623{HTTP/1.1,[http/1.1]}{127.0.0.1:0}
[junit4] 2> 365647 INFO (jetty-closer-537-thread-2) [ ]
o.a.s.c.CoreContainer Shutting down CoreContainer instance=688703425
[junit4] 2> 365647 INFO (jetty-closer-537-thread-2) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node
[junit4] 2> 365647 INFO (jetty-closer-537-thread-2) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jvm
[junit4] 2> 365648 INFO (jetty-closer-537-thread-2) [ ]
o.a.s.m.SolrMetricManager Closing metric reporters for: solr.jetty
[junit4] 2> 365660 INFO (jetty-closer-537-thread-2) [ ]
o.a.s.c.Overseer Overseer
(id=98192638802591750-127.0.0.1:64594_solr-n_0000000001) closing
[junit4] 2> 365661 INFO
(OverseerStateUpdate-98192638802591750-127.0.0.1:64594_solr-n_0000000001) [
] o.a.s.c.Overseer Overseer Loop exiting : 127.0.0.1:64594_solr
[junit4] 2> 365667 WARN (zkCallback-559-thread-2) [ ]
o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK:
[KeeperErrorCode = Session expired for /live_nodes]
[junit4] 2> 365669 INFO (zkCallback-548-thread-4) [ ]
o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1)
[junit4] 2> 365669 INFO (jetty-closer-537-thread-1) [ ]
o.e.j.s.h.ContextHandler Stopped
o.e.j.s.ServletContextHandler@75e293c9{/solr,null,UNAVAILABLE}
[junit4] 2> 365671 WARN (zkCallback-548-thread-4) [ ]
o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK:
[KeeperErrorCode = Session expired for /live_nodes]
[junit4] 2> 365672 INFO (jetty-closer-537-thread-2) [ ]
o.e.j.s.h.ContextHandler Stopped
o.e.j.s.ServletContextHandler@3221d75{/solr,null,UNAVAILABLE}
[junit4] 2> 365673 ERROR
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.z.s.ZooKeeperServer ZKShutdownHandler is not registered, so ZooKeeper
server won't take any action on ERROR or SHUTDOWN server state changes
[junit4] 2> 365673 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.c.ZkTestServer connecting to 127.0.0.1:64587 64587
[junit4] 2> 365674 INFO (Thread-830) [ ] o.a.s.c.ZkTestServer
connecting to 127.0.0.1:64587 64587
[junit4] 2> 365679 WARN (Thread-830) [ ] o.a.s.c.ZkTestServer Watch
limit violations:
[junit4] 2> Maximum concurrent create/delete watches above limit:
[junit4] 2>
[junit4] 2> 4 /solr/aliases.json
[junit4] 2> 4 /solr/clusterprops.json
[junit4] 2> 3 /solr/security.json
[junit4] 2> 2 /solr/configs/conf
[junit4] 2>
[junit4] 2> Maximum concurrent data watches above limit:
[junit4] 2>
[junit4] 2> 4 /solr/clusterstate.json
[junit4] 2> 4
/solr/collections/MissingSegmentRecoveryTest/state.json
[junit4] 2>
[junit4] 2> Maximum concurrent children watches above limit:
[junit4] 2>
[junit4] 2> 4 /solr/collections
[junit4] 2> 3 /solr/live_nodes
[junit4] 2> 2 /solr/overseer/queue
[junit4] 2> 2 /solr/overseer/collection-queue-work
[junit4] 2>
[junit4] 2> 365679 INFO
(SUITE-MissingSegmentRecoveryTest-seed#[63F2A0F1E6723306]-worker) [ ]
o.a.s.SolrTestCaseJ4 ###deleteCore
[junit4] 2> NOTE: leaving temporary files on disk at:
C:\Users\jenkins\workspace\Lucene-Solr-6.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.MissingSegmentRecoveryTest_63F2A0F1E6723306-001
[junit4] 2> Jun 24, 2017 10:40:59 AM
com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
[junit4] 2> WARNING: Will linger awaiting termination of 4 leaked
thread(s).
[junit4] 2> NOTE: test params are: codec=Lucene62,
sim=RandomSimilarity(queryNorm=true,coord=no): {}, locale=en-FI,
timezone=Africa/Luanda
[junit4] 2> NOTE: Windows 10 10.0 amd64/Oracle Corporation 9-ea
(64-bit)/cpus=3,threads=1,free=180167544,total=301989888
[junit4] 2> NOTE: All tests run in this JVM:
[TestDocBasedVersionConstraints, DOMUtilTest, TestBinaryResponseWriter,
TermVectorComponentTest, DistributedQueryElevationComponentTest,
TestElisionMultitermQuery, SolrJmxReporterTest, AutoCommitTest,
TestReqParamsAPI, TestComplexPhraseLeadingWildcard, MultiTermTest,
TestManagedResource, ReplaceNodeTest, FullHLLTest, JavabinLoaderTest,
TestHalfAndHalfDocValues, CollectionReloadTest, BasicFunctionalityTest,
ParsingFieldUpdateProcessorsTest, TestCloudNestedDocsSort,
TestMiniSolrCloudCluster, TestTrie, PluginInfoTest, SuggestComponentTest,
TestPostingsSolrHighlighter, TestRangeQuery, DistributedIntervalFacetingTest,
TestObjectReleaseTracker, TestPushWriter, DistributedTermsComponentTest,
TestRequestForwarding, HdfsDirectoryTest, FileUtilsTest,
TestPKIAuthenticationPlugin, TestSolrCoreSnapshots, TestConfigSetsAPI,
SpellCheckCollatorTest, SolrCoreCheckLockOnStartupTest,
MissingSegmentRecoveryTest]
[junit4] Completed [88/713 (1!)] on J1 in 96.30s, 1 test, 1 failure <<<
FAILURES!
[...truncated 38505 lines...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]