Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Windows/4/ Java: 64bit/jdk1.8.0_131 -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 Live Nodes: [127.0.0.1:60344_solr, 127.0.0.1:60349_solr] Last available state: DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/9)={ "pullReplicas":"0", "replicationFactor":"2", "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "core":"MissingSegmentRecoveryTest_shard1_replica_n1", "base_url":"http://127.0.0.1:60349/solr", "node_name":"127.0.0.1:60349_solr", "state":"down", "type":"NRT"}, "core_node2":{ "core":"MissingSegmentRecoveryTest_shard1_replica_n2", "base_url":"http://127.0.0.1:60344/solr", "node_name":"127.0.0.1:60344_solr", "state":"active", "type":"NRT", "leader":"true"}}}}, "router":{"name":"compositeId"}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "nrtReplicas":"2", "tlogReplicas":"0"} Stack Trace: java.lang.AssertionError: Expected a collection with one shard and two replicas null Live Nodes: [127.0.0.1:60344_solr, 127.0.0.1:60349_solr] Last available state: DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/9)={ "pullReplicas":"0", "replicationFactor":"2", "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "core":"MissingSegmentRecoveryTest_shard1_replica_n1", "base_url":"http://127.0.0.1:60349/solr", "node_name":"127.0.0.1:60349_solr", "state":"down", "type":"NRT"}, "core_node2":{ "core":"MissingSegmentRecoveryTest_shard1_replica_n2", "base_url":"http://127.0.0.1:60344/solr", "node_name":"127.0.0.1:60344_solr", "state":"active", "type":"NRT", "leader":"true"}}}}, "router":{"name":"compositeId"}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "nrtReplicas":"2", "tlogReplicas":"0"} at __randomizedtesting.SeedInfo.seed([32FB351318002F20:62AEAD104121993D]:0) at org.junit.Assert.fail(Assert.java:93) at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:269) at org.apache.solr.cloud.MissingSegmentRecoveryTest.testLeaderRecovery(MissingSegmentRecoveryTest.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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 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.lang.Thread.run(Thread.java:748) Build Log: [...truncated 11018 lines...] [junit4] Suite: org.apache.solr.cloud.MissingSegmentRecoveryTest [junit4] 2> Creating dataDir: C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\init-core-data-001 [junit4] 2> 236027 WARN (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.SolrTestCaseJ4 startTrackingSearchers: numOpens=88 numCloses=88 [junit4] 2> 236027 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.SolrTestCaseJ4 Using PointFields (NUMERIC_POINTS_SYSPROP=true) w/NUMERIC_DOCVALUES_SYSPROP=false [junit4] 2> 236033 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (false) via: @org.apache.solr.util.RandomizeSSL(reason=, value=NaN, ssl=NaN, clientAuth=NaN) [junit4] 2> 236035 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.MiniSolrCloudCluster Starting cluster of 2 servers in C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001 [junit4] 2> 236035 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.ZkTestServer STARTING ZK TEST SERVER [junit4] 2> 236036 INFO (Thread-451) [ ] o.a.s.c.ZkTestServer client port:0.0.0.0/0.0.0.0:0 [junit4] 2> 236036 INFO (Thread-451) [ ] o.a.s.c.ZkTestServer Starting server [junit4] 2> 236039 ERROR (Thread-451) [ ] 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> 236135 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.ZkTestServer start zk server on port:60340 [junit4] 2> 236146 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 0x15d11564e0a0000, 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.lang.Thread.run(Thread.java:748) [junit4] 2> 236149 INFO (jetty-launcher-364-thread-1) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 236150 INFO (jetty-launcher-364-thread-1) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@6aa3799f{/solr,null,AVAILABLE} [junit4] 2> 236155 INFO (jetty-launcher-364-thread-1) [ ] o.e.j.s.AbstractConnector Started ServerConnector@42370503{HTTP/1.1,[http/1.1]}{127.0.0.1:60344} [junit4] 2> 236155 INFO (jetty-launcher-364-thread-1) [ ] o.e.j.s.Server Started @239253ms [junit4] 2> 236155 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=60344} [junit4] 2> 236155 ERROR (jetty-launcher-364-thread-1) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 236156 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 7.0.0 [junit4] 2> 236156 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 236156 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null, Default config dir: null [junit4] 2> 236157 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-07-05T06:00:55.168Z [junit4] 2> 236159 INFO (jetty-launcher-364-thread-2) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 236162 INFO (jetty-launcher-364-thread-2) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@47483eb2{/solr,null,AVAILABLE} [junit4] 2> 236162 INFO (jetty-launcher-364-thread-2) [ ] o.e.j.s.AbstractConnector Started ServerConnector@5c4417aa{HTTP/1.1,[http/1.1]}{127.0.0.1:60349} [junit4] 2> 236162 INFO (jetty-launcher-364-thread-2) [ ] o.e.j.s.Server Started @239261ms [junit4] 2> 236162 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=60349} [junit4] 2> 236163 ERROR (jetty-launcher-364-thread-2) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 236163 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 7.0.0 [junit4] 2> 236163 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 236163 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null, Default config dir: null [junit4] 2> 236163 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-07-05T06:00:55.174Z [junit4] 2> 236178 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 236178 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 236209 INFO (jetty-launcher-364-thread-1) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:60340/solr [junit4] 2> 236220 INFO (jetty-launcher-364-thread-2) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:60340/solr [junit4] 2> 236301 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 236302 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.c.OverseerElectionContext I am going to be the leader 127.0.0.1:60349_solr [junit4] 2> 236304 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.c.Overseer Overseer (id=98253829246156806-127.0.0.1:60349_solr-n_0000000000) starting [junit4] 2> 236315 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:60349_solr [junit4] 2> 236322 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 236446 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 236451 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 236455 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:60344_solr [junit4] 2> 236460 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 236462 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 236516 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236519 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236519 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236521 INFO (jetty-launcher-364-thread-2) [n:127.0.0.1:60349_solr ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\. [junit4] 2> 236668 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60344.solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236673 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60344.solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236673 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60344.solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 236675 INFO (jetty-launcher-364-thread-1) [n:127.0.0.1:60344_solr ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node2\. [junit4] 2> 236718 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (2) [junit4] 2> 236718 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.s.i.ZkClientClusterStateProvider Cluster at 127.0.0.1:60340/solr ready [junit4] 2> 236741 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.SolrTestCaseJ4 ###Starting testLeaderRecovery [junit4] 2> 236761 INFO (qtp1604820676-2118) [n:127.0.0.1:60349_solr ] o.a.s.h.a.CollectionsHandler Invoked Collection Action :create with params replicationFactor=2&collection.configName=conf&maxShardsPerNode=1&name=MissingSegmentRecoveryTest&nrtReplicas=2&action=CREATE&numShards=1&wt=javabin&version=2 and sendToOCPQueue=true [junit4] 2> 236825 INFO (OverseerThreadFactory-984-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.CreateCollectionCmd Create collection MissingSegmentRecoveryTest [junit4] 2> 237047 INFO (OverseerStateUpdate-98253829246156806-127.0.0.1:60349_solr-n_0000000000) [n:127.0.0.1:60349_solr ] o.a.s.c.o.SliceMutator createReplica() { [junit4] 2> "operation":"ADDREPLICA", [junit4] 2> "collection":"MissingSegmentRecoveryTest", [junit4] 2> "shard":"shard1", [junit4] 2> "core":"MissingSegmentRecoveryTest_shard1_replica_n1", [junit4] 2> "state":"down", [junit4] 2> "base_url":"http://127.0.0.1:60349/solr", [junit4] 2> "type":"NRT"} [junit4] 2> 237049 INFO (OverseerStateUpdate-98253829246156806-127.0.0.1:60349_solr-n_0000000000) [n:127.0.0.1:60349_solr ] o.a.s.c.o.SliceMutator createReplica() { [junit4] 2> "operation":"ADDREPLICA", [junit4] 2> "collection":"MissingSegmentRecoveryTest", [junit4] 2> "shard":"shard1", [junit4] 2> "core":"MissingSegmentRecoveryTest_shard1_replica_n2", [junit4] 2> "state":"down", [junit4] 2> "base_url":"http://127.0.0.1:60344/solr", [junit4] 2> "type":"NRT"} [junit4] 2> 237256 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr ] o.a.s.h.a.CoreAdminOperation core create command qt=/admin/cores&coreNodeName=core_node2&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica_n2&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2&replicaType=NRT [junit4] 2> 237257 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores [junit4] 2> 237260 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr ] o.a.s.h.a.CoreAdminOperation core create command qt=/admin/cores&coreNodeName=core_node1&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica_n1&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2&replicaType=NRT [junit4] 2> 237261 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores [junit4] 2> 237373 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 237373 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 237374 INFO (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 237374 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 238307 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 238308 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 238315 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica_n2] Schema name=minimal [junit4] 2> 238317 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica_n1] Schema name=minimal [junit4] 2> 238321 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 238321 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica_n2' using configuration from collection MissingSegmentRecoveryTest, trusted=true [junit4] 2> 238321 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60344.solr.core.MissingSegmentRecoveryTest.shard1.replica_n2' (registry 'solr.core.MissingSegmentRecoveryTest.shard1.replica_n2') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 238321 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SolrCore solr.RecoveryStrategy.Builder [junit4] 2> 238321 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica_n2] ] Opening new SolrCore at [C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node2\MissingSegmentRecoveryTest_shard1_replica_n2], dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node2\.\MissingSegmentRecoveryTest_shard1_replica_n2\data\] [junit4] 2> 238328 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 238328 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica_n1' using configuration from collection MissingSegmentRecoveryTest, trusted=true [junit4] 2> 238329 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.core.MissingSegmentRecoveryTest.shard1.replica_n1' (registry 'solr.core.MissingSegmentRecoveryTest.shard1.replica_n1') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 238329 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore solr.RecoveryStrategy.Builder [junit4] 2> 238329 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica_n1] ] Opening new SolrCore at [C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1], dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\] [junit4] 2> 238455 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 238455 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 238457 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 238458 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 238461 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.s.SolrIndexSearcher Opening [Searcher@8f241e8[MissingSegmentRecoveryTest_shard1_replica_n2] main] [junit4] 2> 238462 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase: /configs/conf [junit4] 2> 238462 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf [junit4] 2> 238463 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.h.ReplicationHandler Commits will be reserved for 10000 [junit4] 2> 238463 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1572061270480257024 [junit4] 2> 238464 INFO (searcherExecutor-989-thread-1-processing-n:127.0.0.1:60344_solr x:MissingSegmentRecoveryTest_shard1_replica_n2 s:shard1 c:MissingSegmentRecoveryTest r:core_node2) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n2] Registered new searcher Searcher@8f241e8[MissingSegmentRecoveryTest_shard1_replica_n2] main{ExitableDirectoryReader(UninvertingDirectoryReader())} [junit4] 2> 238467 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 238467 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 238469 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 238469 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 238470 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ShardLeaderElectionContext Waiting until we see more replicas up for shard shard1: total=2 found=1 timeoutin=9999ms [junit4] 2> 238473 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.SolrIndexSearcher Opening [Searcher@3661f33[MissingSegmentRecoveryTest_shard1_replica_n1] main] [junit4] 2> 238474 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase: /configs/conf [junit4] 2> 238474 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf [junit4] 2> 238475 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.h.ReplicationHandler Commits will be reserved for 10000 [junit4] 2> 238475 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1572061270492839936 [junit4] 2> 238476 INFO (searcherExecutor-990-thread-1-processing-n:127.0.0.1:60349_solr x:MissingSegmentRecoveryTest_shard1_replica_n1 s:shard1 c:MissingSegmentRecoveryTest r:core_node1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n1] Registered new searcher Searcher@3661f33[MissingSegmentRecoveryTest_shard1_replica_n1] main{ExitableDirectoryReader(UninvertingDirectoryReader())} [junit4] 2> 238573 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 238573 INFO (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 238573 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 238573 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 238971 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ShardLeaderElectionContext Enough replicas found to continue. [junit4] 2> 238971 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ShardLeaderElectionContext I may be the new leader - try and sync [junit4] 2> 238971 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SyncStrategy Sync replicas to http://127.0.0.1:60344/solr/MissingSegmentRecoveryTest_shard1_replica_n2/ [junit4] 2> 238971 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.PeerSync PeerSync: core=MissingSegmentRecoveryTest_shard1_replica_n2 url=http://127.0.0.1:60344/solr START replicas=[http://127.0.0.1:60349/solr/MissingSegmentRecoveryTest_shard1_replica_n1/] nUpdates=100 [junit4] 2> 238972 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.PeerSync PeerSync: core=MissingSegmentRecoveryTest_shard1_replica_n2 url=http://127.0.0.1:60344/solr DONE. We have no versions. sync failed. [junit4] 2> 238976 INFO (qtp1604820676-2116) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.S.Request [MissingSegmentRecoveryTest_shard1_replica_n1] webapp=/solr path=/get params={distrib=false&qt=/get&fingerprint=false&getVersions=100&wt=javabin&version=2} status=0 QTime=0 [junit4] 2> 238977 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SyncStrategy Leader's attempt to sync with shard failed, moving to the next candidate [junit4] 2> 238977 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] 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> 238977 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ShardLeaderElectionContext Found all replicas participating in election, clear LIR [junit4] 2> 238984 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ShardLeaderElectionContext I am the new leader: http://127.0.0.1:60344/solr/MissingSegmentRecoveryTest_shard1_replica_n2/ shard1 [junit4] 2> 239098 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239098 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 239098 INFO (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239098 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 239138 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.ZkController I am the leader, no recovery necessary [junit4] 2> 239147 INFO (qtp2081059827-2104) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={qt=/admin/cores&coreNodeName=core_node2&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica_n2&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2&replicaType=NRT} status=0 QTime=1890 [junit4] 2> 239243 INFO (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239243 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 239243 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 239244 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239490 INFO (qtp1604820676-2119) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={qt=/admin/cores&coreNodeName=core_node1&collection.configName=conf&newCollection=true&name=MissingSegmentRecoveryTest_shard1_replica_n1&action=CREATE&numShards=1&collection=MissingSegmentRecoveryTest&shard=shard1&wt=javabin&version=2&replicaType=NRT} status=0 QTime=2232 [junit4] 2> 239509 INFO (qtp1604820676-2118) [n:127.0.0.1:60349_solr ] o.a.s.h.a.CollectionsHandler Wait for new collection to be active for at most 30 seconds. Check all shard replicas [junit4] 2> 239588 INFO (zkCallback-376-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239589 INFO (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 239589 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 239589 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 240510 INFO (qtp1604820676-2118) [n:127.0.0.1:60349_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections params={replicationFactor=2&collection.configName=conf&maxShardsPerNode=1&name=MissingSegmentRecoveryTest&nrtReplicas=2&action=CREATE&numShards=1&wt=javabin&version=2} status=0 QTime=3749 [junit4] 2> 240530 INFO (qtp1604820676-2116) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica_n1] webapp=/solr path=/update params={update.distrib=FROMLEADER&distrib.from=http://127.0.0.1:60344/solr/MissingSegmentRecoveryTest_shard1_replica_n2/&wt=javabin&version=2}{add=[0 (1572061272630886400), 1 (1572061272635080704), 2 (1572061272635080705), 3 (1572061272635080706), 4 (1572061272635080707), 5 (1572061272636129280), 6 (1572061272636129281), 7 (1572061272636129282), 8 (1572061272636129283), 9 (1572061272636129284)]} 0 10 [junit4] 2> 240530 INFO (qtp2081059827-2126) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica_n2] webapp=/solr path=/update params={wt=javabin&version=2}{add=[0 (1572061272630886400), 1 (1572061272635080704), 2 (1572061272635080705), 3 (1572061272635080706), 4 (1572061272635080707), 5 (1572061272636129280), 6 (1572061272636129281), 7 (1572061272636129282), 8 (1572061272636129283), 9 (1572061272636129284)]} 0 16 [junit4] 2> 240533 INFO (qtp1604820676-2129) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.DirectUpdateHandler2 start commit{_version_=1572061272650809344,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} [junit4] 2> 240533 INFO (qtp1604820676-2129) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.SolrIndexWriter Calling setCommitData with IW:org.apache.solr.update.SolrIndexWriter@5aaf57be commitCommandVersion:1572061272650809344 [junit4] 2> 240535 INFO (qtp2081059827-2109) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.DirectUpdateHandler2 start commit{_version_=1572061272652906496,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} [junit4] 2> 240535 INFO (qtp2081059827-2109) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.SolrIndexWriter Calling setCommitData with IW:org.apache.solr.update.SolrIndexWriter@33a9d00b commitCommandVersion:1572061272652906496 [junit4] 2> 240565 INFO (qtp2081059827-2109) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.s.SolrIndexSearcher Opening [Searcher@625f338b[MissingSegmentRecoveryTest_shard1_replica_n2] main] [junit4] 2> 240566 INFO (qtp2081059827-2109) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.DirectUpdateHandler2 end_commit_flush [junit4] 2> 240566 INFO (searcherExecutor-989-thread-1-processing-n:127.0.0.1:60344_solr x:MissingSegmentRecoveryTest_shard1_replica_n2 s:shard1 c:MissingSegmentRecoveryTest r:core_node2) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n2] Registered new searcher Searcher@625f338b[MissingSegmentRecoveryTest_shard1_replica_n2] main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(7.0.0):C10)))} [junit4] 2> 240566 INFO (qtp2081059827-2109) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica_n2] webapp=/solr path=/update params={update.distrib=FROMLEADER&waitSearcher=true&openSearcher=true&commit=true&softCommit=false&distrib.from=http://127.0.0.1:60344/solr/MissingSegmentRecoveryTest_shard1_replica_n2/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=} 0 32 [junit4] 2> 240567 INFO (qtp1604820676-2129) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.SolrIndexSearcher Opening [Searcher@4be847af[MissingSegmentRecoveryTest_shard1_replica_n1] main] [junit4] 2> 240567 INFO (qtp1604820676-2129) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.DirectUpdateHandler2 end_commit_flush [junit4] 2> 240569 INFO (searcherExecutor-990-thread-1-processing-n:127.0.0.1:60349_solr x:MissingSegmentRecoveryTest_shard1_replica_n1 s:shard1 c:MissingSegmentRecoveryTest r:core_node1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n1] Registered new searcher Searcher@4be847af[MissingSegmentRecoveryTest_shard1_replica_n1] main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(7.0.0):C10)))} [junit4] 2> 240569 INFO (qtp1604820676-2129) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica_n1] webapp=/solr path=/update params={update.distrib=FROMLEADER&waitSearcher=true&openSearcher=true&commit=true&softCommit=false&distrib.from=http://127.0.0.1:60344/solr/MissingSegmentRecoveryTest_shard1_replica_n2/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=} 0 35 [junit4] 2> 240569 INFO (qtp2081059827-2111) [n:127.0.0.1:60344_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica_n2] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica_n2] webapp=/solr path=/update params={_stateVer_=MissingSegmentRecoveryTest:6&waitSearcher=true&commit=true&softCommit=false&wt=javabin&version=2}{commit=} 0 37 [junit4] 2> 240572 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@5c4417aa{HTTP/1.1,[http/1.1]}{127.0.0.1:0} [junit4] 2> 240572 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=459429834 [junit4] 2> 240572 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.node, tag=null [junit4] 2> 240574 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jvm, tag=null [junit4] 2> 240576 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jetty, tag=null [junit4] 2> 240577 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.cluster, tag=null [junit4] 2> 240580 INFO (coreCloseExecutor-999-thread-1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n1] CLOSING SolrCore org.apache.solr.core.SolrCore@ab722b [junit4] 2> 240583 INFO (coreCloseExecutor-999-thread-1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.core.MissingSegmentRecoveryTest.shard1.replica_n1, tag=11235883 [junit4] 2> 240586 INFO (coreCloseExecutor-999-thread-1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.collection.MissingSegmentRecoveryTest.shard1.leader, tag=11235883 [junit4] 2> 240587 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.c.Overseer Overseer (id=98253829246156806-127.0.0.1:60349_solr-n_0000000000) closing [junit4] 2> 240587 INFO (OverseerStateUpdate-98253829246156806-127.0.0.1:60349_solr-n_0000000000) [n:127.0.0.1:60349_solr ] o.a.s.c.Overseer Overseer Loop exiting : 127.0.0.1:60349_solr [junit4] 2> 240590 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 0x15d11564e0a0006, 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.lang.Thread.run(Thread.java:748) [junit4] 2> 240590 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1) [junit4] 2> 240590 INFO (zkCallback-382-thread-1) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1) [junit4] 2> 240590 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.OverseerElectionContext I am going to be the leader 127.0.0.1:60344_solr [junit4] 2> 240591 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.Overseer Overseer (id=98253829246156804-127.0.0.1:60344_solr-n_0000000001) starting [junit4] 2> 240600 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 240600 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 242089 WARN (zkCallback-376-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 242090 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@47483eb2{/solr,null,UNAVAILABLE} [junit4] 2> 242091 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 242092 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@4165d138{/solr,null,AVAILABLE} [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.AbstractConnector Started ServerConnector@bd45c73{HTTP/1.1,[http/1.1]}{127.0.0.1:60349} [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.e.j.s.Server Started @245192ms [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=60349} [junit4] 2> 242093 ERROR (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 7.0.0 [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null, Default config dir: null [junit4] 2> 242093 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-07-05T06:01:01.104Z [junit4] 2> 242098 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 242114 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:60340/solr [junit4] 2> 242118 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 0x15d11564e0a000a, 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.lang.Thread.run(Thread.java:748) [junit4] 2> 242129 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 242133 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 242135 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:60349_solr [junit4] 2> 242142 INFO (zkCallback-382-thread-1) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 242142 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 242143 INFO (zkCallback-387-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 242246 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 242246 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 242294 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 242297 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 242297 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 242301 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\. [junit4] 2> 242301 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [n:127.0.0.1:60349_solr ] o.a.s.c.CorePropertiesLocator Cores are: [MissingSegmentRecoveryTest_shard1_replica_n1] [junit4] 2> 242302 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores [junit4] 2> 242320 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 242326 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica_n1] Schema name=minimal [junit4] 2> 242329 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 242329 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica_n1' using configuration from collection MissingSegmentRecoveryTest, trusted=true [junit4] 2> 242329 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.core.MissingSegmentRecoveryTest.shard1.replica_n1' (registry 'solr.core.MissingSegmentRecoveryTest.shard1.replica_n1') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 242329 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore solr.RecoveryStrategy.Builder [junit4] 2> 242329 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica_n1] ] Opening new SolrCore at [C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1], dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\] [junit4] 2> 242402 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 242402 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 242404 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 242404 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 242409 INFO (zkCallback-387-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 242409 INFO (zkCallback-373-thread-2-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 242409 INFO (zkCallback-373-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] 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> 242411 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n1] CLOSING SolrCore org.apache.solr.core.SolrCore@10e8e52a [junit4] 2> 242422 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.core.MissingSegmentRecoveryTest.shard1.replica_n1, tag=283698474 [junit4] 2> 242423 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.collection.MissingSegmentRecoveryTest.shard1.leader, tag=283698474 [junit4] 2> 242427 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.CoreContainer Found active leader, will attempt to create fresh core and recover. [junit4] 2> 242428 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore Updating index properties... index=index.20170705090101439 [junit4] 2> 242454 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr_60349.solr.core.MissingSegmentRecoveryTest.shard1.replica_n1' (registry 'solr.core.MissingSegmentRecoveryTest.shard1.replica_n1') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@1a9b5da [junit4] 2> 242454 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore solr.RecoveryStrategy.Builder [junit4] 2> 242454 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica_n1] ] Opening new SolrCore at [C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1], dataDir=[C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\] [junit4] 2> 242466 INFO (zkCallback-387-thread-2-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 242469 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica_n1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up under C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\ afterReload=false [junit4] 2> 242472 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica_n1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.DirectoryFactory Deleted old index directory: C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\index.20170705090101439 [junit4] 2> 242511 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica_n1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up under C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\ afterReload=false [junit4] 2> 242529 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica_n1) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.DirectoryFactory Deleted old index directory: C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\.\MissingSegmentRecoveryTest_shard1_replica_n1\data\index [junit4] 2> 242577 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 242577 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 242578 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 242579 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 242586 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n1] CLOSING SolrCore org.apache.solr.core.SolrCore@2df7ad05 [junit4] 2> 242587 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.core.MissingSegmentRecoveryTest.shard1.replica_n1, tag=771206405 [junit4] 2> 242589 INFO (coreLoadExecutor-1008-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica_n1] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.collection.MissingSegmentRecoveryTest.shard1.leader, tag=771206405 [junit4] 2> 242591 ERROR (coreContainerWorkExecutor-1004-thread-1-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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_replica_n1] [junit4] 2> at java.util.concurrent.FutureTask.report(FutureTask.java:122) [junit4] 2> at java.util.concurrent.FutureTask.get(FutureTask.java:192) [junit4] 2> at org.apache.solr.core.CoreContainer.lambda$load$8(CoreContainer.java:638) [junit4] 2> at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176) [junit4] 2> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [junit4] 2> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [junit4] 2> at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188) [junit4] 2> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [junit4] 2> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [junit4] 2> at java.lang.Thread.run(Thread.java:748) [junit4] 2> Caused by: org.apache.solr.common.SolrException: Unable to create core [MissingSegmentRecoveryTest_shard1_replica_n1] [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:985) [junit4] 2> at org.apache.solr.core.CoreContainer.lambda$load$7(CoreContainer.java:610) [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:988) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843) [junit4] 2> at org.apache.solr.core.CoreContainer.processCoreCreateException(CoreContainer.java:1045) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:971) [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:988) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:969) [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:2065) [junit4] 2> at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2185) [junit4] 2> at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:960) [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-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1\data\index\segments_2"))) [junit4] 2> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:295) [junit4] 2> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1076) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:119) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:94) [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:2026) [junit4] 2> ... 12 more [junit4] 2> Caused by: java.io.EOFException: read past EOF: MMapIndexInput(path="C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1\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:305) [junit4] 2> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293) [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:2065) [junit4] 2> at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2185) [junit4] 2> at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:960) [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-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001\tempDir-001\node1\MissingSegmentRecoveryTest_shard1_replica_n1\data\index.20170705090101439 lockFactory=org.apache.lucene.store.NativeFSLockFactory@862aec5): files: [write.lock] [junit4] 2> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1071) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:119) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:94) [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:2026) [junit4] 2> ... 13 more [junit4] 2> 332828 INFO (qtp371755426-2195) [n:127.0.0.1:60349_solr ] 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> 332829 INFO (OverseerThreadFactory-1002-thread-1-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.OverseerCollectionMessageHandler Executing Collection Cmd : action=UNLOAD&deleteInstanceDir=true&deleteDataDir=true [junit4] 2> 332833 INFO (qtp2081059827-2107) [n:127.0.0.1:60344_solr ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.core.MissingSegmentRecoveryTest.shard1.replica_n2, tag=null [junit4] 2> 332837 INFO (qtp2081059827-2107) [n:127.0.0.1:60344_solr ] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica_n2] CLOSING SolrCore org.apache.solr.core.SolrCore@5eda2612 [junit4] 2> 332843 INFO (qtp2081059827-2107) [n:127.0.0.1:60344_solr ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.core.MissingSegmentRecoveryTest.shard1.replica_n2, tag=1591354898 [junit4] 2> 332843 INFO (qtp2081059827-2107) [n:127.0.0.1:60344_solr ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.collection.MissingSegmentRecoveryTest.shard1.leader, tag=1591354898 [junit4] 2> 332845 INFO (qtp371755426-2193) [n:127.0.0.1:60349_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={deleteInstanceDir=true&core=MissingSegmentRecoveryTest_shard1_replica_n1&qt=/admin/cores&deleteDataDir=true&action=UNLOAD&wt=javabin&version=2} status=0 QTime=13 [junit4] 2> 332860 INFO (qtp2081059827-2107) [n:127.0.0.1:60344_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={deleteInstanceDir=true&core=MissingSegmentRecoveryTest_shard1_replica_n2&qt=/admin/cores&deleteDataDir=true&action=UNLOAD&wt=javabin&version=2} status=0 QTime=28 [junit4] 2> 332863 INFO (zkCallback-387-thread-3-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 332864 INFO (zkCallback-387-thread-4-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 332969 INFO (zkCallback-387-thread-4-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 332969 INFO (zkCallback-387-thread-3-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] 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> 333565 INFO (qtp371755426-2195) [n:127.0.0.1:60349_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections params={name=MissingSegmentRecoveryTest&action=DELETE&wt=javabin&version=2} status=0 QTime=737 [junit4] 2> 333566 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[32FB351318002F20]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testLeaderRecovery [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=MissingSegmentRecoveryTest -Dtests.method=testLeaderRecovery -Dtests.seed=32FB351318002F20 -Dtests.slow=true -Dtests.locale=ru-RU -Dtests.timezone=Asia/Gaza -Dtests.asserts=true -Dtests.file.encoding=Cp1252 [junit4] FAILURE 96.8s J0 | MissingSegmentRecoveryTest.testLeaderRecovery <<< [junit4] > Throwable #1: java.lang.AssertionError: Expected a collection with one shard and two replicas [junit4] > null [junit4] > Live Nodes: [127.0.0.1:60344_solr, 127.0.0.1:60349_solr] [junit4] > Last available state: DocCollection(MissingSegmentRecoveryTest//collections/MissingSegmentRecoveryTest/state.json/9)={ [junit4] > "pullReplicas":"0", [junit4] > "replicationFactor":"2", [junit4] > "shards":{"shard1":{ [junit4] > "range":"80000000-7fffffff", [junit4] > "state":"active", [junit4] > "replicas":{ [junit4] > "core_node1":{ [junit4] > "core":"MissingSegmentRecoveryTest_shard1_replica_n1", [junit4] > "base_url":"http://127.0.0.1:60349/solr", [junit4] > "node_name":"127.0.0.1:60349_solr", [junit4] > "state":"down", [junit4] > "type":"NRT"}, [junit4] > "core_node2":{ [junit4] > "core":"MissingSegmentRecoveryTest_shard1_replica_n2", [junit4] > "base_url":"http://127.0.0.1:60344/solr", [junit4] > "node_name":"127.0.0.1:60344_solr", [junit4] > "state":"active", [junit4] > "type":"NRT", [junit4] > "leader":"true"}}}}, [junit4] > "router":{"name":"compositeId"}, [junit4] > "maxShardsPerNode":"1", [junit4] > "autoAddReplicas":"false", [junit4] > "nrtReplicas":"2", [junit4] > "tlogReplicas":"0"} [junit4] > at __randomizedtesting.SeedInfo.seed([32FB351318002F20:62AEAD104121993D]:0) [junit4] > at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:269) [junit4] > at org.apache.solr.cloud.MissingSegmentRecoveryTest.testLeaderRecovery(MissingSegmentRecoveryTest.java:105) [junit4] > at java.lang.Thread.run(Thread.java:748) [junit4] 2> 333569 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 0x15d11564e0a0008, 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.lang.Thread.run(Thread.java:748) [junit4] 2> 333570 INFO (jetty-closer-365-thread-1) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@bd45c73{HTTP/1.1,[http/1.1]}{127.0.0.1:60349} [junit4] 2> 333571 INFO (jetty-closer-365-thread-1) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=1560002561 [junit4] 2> 333571 INFO (jetty-closer-365-thread-1) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.node, tag=null [junit4] 2> 333572 INFO (jetty-closer-365-thread-2) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@42370503{HTTP/1.1,[http/1.1]}{127.0.0.1:0} [junit4] 2> 333572 INFO (jetty-closer-365-thread-2) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=26297458 [junit4] 2> 333572 INFO (jetty-closer-365-thread-2) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.node, tag=null [junit4] 2> 333574 INFO (jetty-closer-365-thread-1) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jvm, tag=null [junit4] 2> 333574 INFO (jetty-closer-365-thread-2) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jvm, tag=null [junit4] 2> 333574 INFO (jetty-closer-365-thread-1) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jetty, tag=null [junit4] 2> 333575 INFO (jetty-closer-365-thread-2) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jetty, tag=null [junit4] 2> 333576 INFO (jetty-closer-365-thread-1) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.cluster, tag=null [junit4] 2> 333578 INFO (jetty-closer-365-thread-2) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.cluster, tag=null [junit4] 2> 333578 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 0x15d11564e0a000b, 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.lang.Thread.run(Thread.java:748) [junit4] 2> 333580 INFO (jetty-closer-365-thread-2) [ ] o.a.s.c.Overseer Overseer (id=98253829246156804-127.0.0.1:60344_solr-n_0000000001) closing [junit4] 2> 333580 WARN (zkCallback-387-thread-3-processing-n:127.0.0.1:60349_solr) [n:127.0.0.1:60349_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 333580 INFO (OverseerStateUpdate-98253829246156804-127.0.0.1:60344_solr-n_0000000001) [n:127.0.0.1:60344_solr ] o.a.s.c.Overseer Overseer Loop exiting : 127.0.0.1:60344_solr [junit4] 2> 333580 INFO (jetty-closer-365-thread-1) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@4165d138{/solr,null,UNAVAILABLE} [junit4] 2> 333580 INFO (zkCallback-373-thread-4-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1) [junit4] 2> 333582 WARN (zkCallback-373-thread-4-processing-n:127.0.0.1:60344_solr) [n:127.0.0.1:60344_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 333584 INFO (jetty-closer-365-thread-2) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@6aa3799f{/solr,null,UNAVAILABLE} [junit4] 2> 333584 ERROR (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-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> 333585 INFO (SUITE-MissingSegmentRecoveryTest-seed#[32FB351318002F20]-worker) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:60340 60340 [junit4] 2> 333586 INFO (Thread-451) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:60340 60340 [junit4] 2> 333587 WARN (Thread-451) [ ] 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> 21 /solr/collections/MissingSegmentRecoveryTest/state.json [junit4] 2> 4 /solr/clusterstate.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> NOTE: leaving temporary files on disk at: C:\Users\jenkins\workspace\Lucene-Solr-7.x-Windows\solr\build\solr-core\test\J0\temp\solr.cloud.MissingSegmentRecoveryTest_32FB351318002F20-001 [junit4] 2> Jul 05, 2017 6:02:32 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=Asserting(Lucene70): {_version_=PostingsFormat(name=MockRandom), id=FSTOrd50}, docValues:{}, maxPointsInLeafNode=1950, maxMBSortInHeap=6.866508651463711, sim=RandomSimilarity(queryNorm=false): {}, locale=ru-RU, timezone=Asia/Gaza [junit4] 2> NOTE: Windows 10 10.0 amd64/Oracle Corporation 1.8.0_131 (64-bit)/cpus=3,threads=1,free=127875880,total=383778816 [junit4] 2> NOTE: All tests run in this JVM: [DirectUpdateHandlerTest, HdfsDirectoryTest, OverseerModifyCollectionTest, TestPseudoReturnFields, PrimUtilsTest, DistributedQueryComponentOptimizationTest, TestPointFields, SolrCoreTest, IgnoreCommitOptimizeUpdateProcessorFactoryTest, TestAtomicUpdateErrorCases, TestPivotHelperCode, CdcrVersionReplicationTest, ReplicaListTransformerTest, MoveReplicaTest, DistributedFacetPivotLargeTest, RollingRestartTest, MinimalSchemaTest, ConfigureRecoveryStrategyTest, SimpleFacetsTest, TestStressVersions, TestTrieFacet, SuggestComponentTest, TestFuzzyAnalyzedSuggestions, TestOnReconnectListenerSupport, TestXIncludeConfig, ShardRoutingTest, MissingSegmentRecoveryTest] [junit4] Completed [54/726 (1!)] on J0 in 98.10s, 1 test, 1 failure <<< FAILURES! [...truncated 45601 lines...]
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org