Build: https://builds.apache.org/job/Lucene-Solr-Tests-master/1699/
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/6)={ "replicationFactor":"2", "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "core":"MissingSegmentRecoveryTest_shard1_replica2", "base_url":"https://127.0.0.1:41308/solr", "node_name":"127.0.0.1:41308_solr", "state":"down"}, "core_node2":{ "core":"MissingSegmentRecoveryTest_shard1_replica1", "base_url":"https://127.0.0.1:60247/solr", "node_name":"127.0.0.1:60247_solr", "state":"active", "leader":"true"}}}}, "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/6)={ "replicationFactor":"2", "shards":{"shard1":{ "range":"80000000-7fffffff", "state":"active", "replicas":{ "core_node1":{ "core":"MissingSegmentRecoveryTest_shard1_replica2", "base_url":"https://127.0.0.1:41308/solr", "node_name":"127.0.0.1:41308_solr", "state":"down"}, "core_node2":{ "core":"MissingSegmentRecoveryTest_shard1_replica1", "base_url":"https://127.0.0.1:60247/solr", "node_name":"127.0.0.1:60247_solr", "state":"active", "leader":"true"}}}}, "router":{"name":"compositeId"}, "maxShardsPerNode":"1", "autoAddReplicas":"false"} at __randomizedtesting.SeedInfo.seed([B800C15EC6F11C02:E855595D9FD0AA1F]: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 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:745) Build Log: [...truncated 11596 lines...] [junit4] Suite: org.apache.solr.cloud.MissingSegmentRecoveryTest [junit4] 2> Creating dataDir: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/init-core-data-001 [junit4] 2> 595587 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.SolrTestCaseJ4 Using TrieFields [junit4] 2> 595591 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized ssl (true) and clientAuth (false) via: @org.apache.solr.util.RandomizeSSL(reason=, ssl=NaN, value=NaN, clientAuth=NaN) [junit4] 2> 595591 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.MiniSolrCloudCluster Starting cluster of 2 servers in /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001 [junit4] 2> 595591 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.ZkTestServer STARTING ZK TEST SERVER [junit4] 2> 595595 INFO (Thread-1863) [ ] o.a.s.c.ZkTestServer client port:0.0.0.0/0.0.0.0:0 [junit4] 2> 595595 INFO (Thread-1863) [ ] o.a.s.c.ZkTestServer Starting server [junit4] 2> 595695 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.ZkTestServer start zk server on port:45514 [junit4] 2> 595706 INFO (jetty-launcher-1055-thread-1) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 595712 INFO (jetty-launcher-1055-thread-1) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@1ff24de{/solr,null,AVAILABLE} [junit4] 2> 595714 INFO (jetty-launcher-1055-thread-2) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.e.j.s.AbstractConnector Started ServerConnector@2f1a6142{SSL,[ssl, http/1.1]}{127.0.0.1:60247} [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.e.j.s.Server Started @602110ms [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=60247} [junit4] 2> 595715 ERROR (jetty-launcher-1055-thread-1) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr? version 7.0.0 [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null [junit4] 2> 595715 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-02-28T00:09:05.231Z [junit4] 2> 595717 INFO (jetty-launcher-1055-thread-2) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@2221908{/solr,null,AVAILABLE} [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.e.j.s.AbstractConnector Started ServerConnector@548713ec{SSL,[ssl, http/1.1]}{127.0.0.1:41308} [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.e.j.s.Server Started @602113ms [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=41308} [junit4] 2> 595718 ERROR (jetty-launcher-1055-thread-2) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr? version 7.0.0 [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null [junit4] 2> 595718 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-02-28T00:09:05.234Z [junit4] 2> 595724 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 595724 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 595731 INFO (jetty-launcher-1055-thread-2) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:45514/solr [junit4] 2> 595738 INFO (jetty-launcher-1055-thread-1) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:45514/solr [junit4] 2> 595758 INFO (jetty-launcher-1055-thread-1) [n:127.0.0.1:60247_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 595759 INFO (jetty-launcher-1055-thread-1) [n:127.0.0.1:60247_solr ] o.a.s.c.OverseerElectionContext I am going to be the leader 127.0.0.1:60247_solr [junit4] 2> 595760 INFO (jetty-launcher-1055-thread-1) [n:127.0.0.1:60247_solr ] o.a.s.c.Overseer Overseer (id=97533332364394502-127.0.0.1:60247_solr-n_0000000000) starting [junit4] 2> 595760 INFO (jetty-launcher-1055-thread-2) [n:127.0.0.1:41308_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 595761 INFO (jetty-launcher-1055-thread-2) [n:127.0.0.1:41308_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:41308_solr [junit4] 2> 595763 INFO (zkCallback-1067-thread-1-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 595776 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 595780 INFO (jetty-launcher-1055-thread-1) [n:127.0.0.1:60247_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:60247_solr [junit4] 2> 595781 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 595781 INFO (zkCallback-1067-thread-1-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 595891 INFO (jetty-launcher-1055-thread-1) [n:127.0.0.1:60247_solr ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node1/. [junit4] 2> 595945 INFO (jetty-launcher-1055-thread-2) [n:127.0.0.1:41308_solr ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/. [junit4] 2> 596449 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (2) [junit4] 2> 596450 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.s.i.ZkClientClusterStateProvider Cluster at 127.0.0.1:45514/solr ready [junit4] 2> 596471 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.SolrTestCaseJ4 ###Starting testLeaderRecovery [junit4] 2> 596494 INFO (qtp436388359-6718) [n:127.0.0.1:41308_solr ] 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> 596496 INFO (OverseerThreadFactory-3232-thread-1-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.CreateCollectionCmd Create collection MissingSegmentRecoveryTest [junit4] 2> 596616 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr ] 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> 596630 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr ] 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> 596733 INFO (zkCallback-1067-thread-2-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 596733 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 597635 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 597640 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 597657 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica1] Schema name=minimal [junit4] 2> 597658 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica2] Schema name=minimal [junit4] 2> 597659 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 597660 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 597660 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica1' using configuration from collection MissingSegmentRecoveryTest [junit4] 2> 597661 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica1] ] Opening new SolrCore at [/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node1/MissingSegmentRecoveryTest_shard1_replica1], dataDir=[/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node1/./MissingSegmentRecoveryTest_shard1_replica1/data/] [junit4] 2> 597661 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica2' using configuration from collection MissingSegmentRecoveryTest [junit4] 2> 597661 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica2] ] Opening new SolrCore at [/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2], dataDir=[/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/] [junit4] 2> 597704 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 597705 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 597705 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 597705 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 597707 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.s.SolrIndexSearcher Opening [Searcher@1e495d8d[MissingSegmentRecoveryTest_shard1_replica1] main] [junit4] 2> 597707 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase: /configs/conf [junit4] 2> 597708 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf [junit4] 2> 597708 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.h.ReplicationHandler Commits will be reserved for 10000 [junit4] 2> 597708 INFO (searcherExecutor-3237-thread-1-processing-n:127.0.0.1:60247_solr x:MissingSegmentRecoveryTest_shard1_replica1 s:shard1 c:MissingSegmentRecoveryTest) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] Registered new searcher Searcher@1e495d8d[MissingSegmentRecoveryTest_shard1_replica1] main{ExitableDirectoryReader(UninvertingDirectoryReader())} [junit4] 2> 597708 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1560533320045953024 [junit4] 2> 597713 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ShardLeaderElectionContext Waiting until we see more replicas up for shard shard1: total=2 found=1 timeoutin=9999ms [junit4] 2> 597715 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 597715 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 597715 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 597715 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 597716 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.SolrIndexSearcher Opening [Searcher@18b9afd5[MissingSegmentRecoveryTest_shard1_replica2] main] [junit4] 2> 597717 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.r.ManagedResourceStorage Configured ZooKeeperStorageIO with znodeBase: /configs/conf [junit4] 2> 597717 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.r.ManagedResourceStorage Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf [junit4] 2> 597717 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.h.ReplicationHandler Commits will be reserved for 10000 [junit4] 2> 597718 INFO (searcherExecutor-3238-thread-1-processing-n:127.0.0.1:41308_solr x:MissingSegmentRecoveryTest_shard1_replica2 s:shard1 c:MissingSegmentRecoveryTest) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] Registered new searcher Searcher@18b9afd5[MissingSegmentRecoveryTest_shard1_replica2] main{ExitableDirectoryReader(UninvertingDirectoryReader())} [junit4] 2> 597718 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateLog Could not find max version in index or recent updates, using new clock 1560533320056438784 [junit4] 2> 597815 INFO (zkCallback-1067-thread-4-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 597815 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 598214 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ShardLeaderElectionContext Enough replicas found to continue. [junit4] 2> 598214 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ShardLeaderElectionContext I may be the new leader - try and sync [junit4] 2> 598214 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SyncStrategy Sync replicas to https://127.0.0.1:60247/solr/MissingSegmentRecoveryTest_shard1_replica1/ [junit4] 2> 598214 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.PeerSync PeerSync: core=MissingSegmentRecoveryTest_shard1_replica1 url=https://127.0.0.1:60247/solr START replicas=[https://127.0.0.1:41308/solr/MissingSegmentRecoveryTest_shard1_replica2/] nUpdates=100 [junit4] 2> 598215 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.PeerSync PeerSync: core=MissingSegmentRecoveryTest_shard1_replica1 url=https://127.0.0.1:60247/solr DONE. We have no versions. sync failed. [junit4] 2> 598219 INFO (qtp436388359-6713) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.S.Request [MissingSegmentRecoveryTest_shard1_replica2] webapp=/solr path=/get params={distrib=false&qt=/get&fingerprint=false&getVersions=100&wt=javabin&version=2} status=0 QTime=0 [junit4] 2> 598219 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SyncStrategy Leader's attempt to sync with shard failed, moving to the next candidate [junit4] 2> 598219 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] 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> 598219 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ShardLeaderElectionContext Found all replicas participating in election, clear LIR [junit4] 2> 598225 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ShardLeaderElectionContext I am the new leader: https://127.0.0.1:60247/solr/MissingSegmentRecoveryTest_shard1_replica1/ shard1 [junit4] 2> 598326 INFO (zkCallback-1067-thread-2-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 598326 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 598376 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.ZkController I am the leader, no recovery necessary [junit4] 2> 598379 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica1] 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=1748 [junit4] 2> 598479 INFO (zkCallback-1067-thread-2-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 598479 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 598724 INFO (qtp436388359-6715) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 x:MissingSegmentRecoveryTest_shard1_replica2] 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=2107 [junit4] 2> 598727 INFO (qtp436388359-6718) [n:127.0.0.1:41308_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> 598827 INFO (zkCallback-1067-thread-2-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 598827 INFO (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 599727 INFO (qtp436388359-6718) [n:127.0.0.1:41308_solr ] 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=3233 [junit4] 2> 599746 INFO (qtp436388359-6717) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica2] webapp=/solr path=/update params={update.distrib=FROMLEADER&distrib.from=https://127.0.0.1:60247/solr/MissingSegmentRecoveryTest_shard1_replica1/&wt=javabin&version=2}{add=[0 (1560533322173513728), 1 (1560533322175610880), 2 (1560533322175610881), 3 (1560533322175610882), 4 (1560533322175610883), 5 (1560533322175610884), 6 (1560533322175610885), 7 (1560533322175610886), 8 (1560533322175610887), 9 (1560533322175610888)]} 0 4 [junit4] 2> 599747 INFO (qtp1925059162-6707) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica1] webapp=/solr path=/update params={wt=javabin&version=2}{add=[0 (1560533322173513728), 1 (1560533322175610880), 2 (1560533322175610881), 3 (1560533322175610882), 4 (1560533322175610883), 5 (1560533322175610884), 6 (1560533322175610885), 7 (1560533322175610886), 8 (1560533322175610887), 9 (1560533322175610888)]} 0 10 [junit4] 2> 599749 INFO (qtp436388359-6714) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} [junit4] 2> 599749 INFO (qtp436388359-6714) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.SolrIndexWriter Calling setCommitData with IW:org.apache.solr.update.SolrIndexWriter@2c3caa86 [junit4] 2> 599757 INFO (qtp1925059162-6704) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} [junit4] 2> 599757 INFO (qtp1925059162-6704) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.SolrIndexWriter Calling setCommitData with IW:org.apache.solr.update.SolrIndexWriter@22b8ea1e [junit4] 2> 599786 INFO (qtp436388359-6714) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.SolrIndexSearcher Opening [Searcher@2d8a7a90[MissingSegmentRecoveryTest_shard1_replica2] main] [junit4] 2> 599786 INFO (searcherExecutor-3238-thread-1-processing-n:127.0.0.1:41308_solr x:MissingSegmentRecoveryTest_shard1_replica2 s:shard1 c:MissingSegmentRecoveryTest r:core_node1) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] Registered new searcher Searcher@2d8a7a90[MissingSegmentRecoveryTest_shard1_replica2] main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(7.0.0):C10)))} [junit4] 2> 599790 INFO (qtp436388359-6714) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.DirectUpdateHandler2 end_commit_flush [junit4] 2> 599790 INFO (qtp436388359-6714) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] 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=https://127.0.0.1:60247/solr/MissingSegmentRecoveryTest_shard1_replica1/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=} 0 40 [junit4] 2> 599788 INFO (qtp1925059162-6704) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.s.SolrIndexSearcher Opening [Searcher@1c0b7e0b[MissingSegmentRecoveryTest_shard1_replica1] main] [junit4] 2> 599790 INFO (searcherExecutor-3237-thread-1-processing-n:127.0.0.1:60247_solr x:MissingSegmentRecoveryTest_shard1_replica1 s:shard1 c:MissingSegmentRecoveryTest r:core_node2) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] Registered new searcher Searcher@1c0b7e0b[MissingSegmentRecoveryTest_shard1_replica1] main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(7.0.0):C10)))} [junit4] 2> 599791 INFO (qtp1925059162-6704) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.DirectUpdateHandler2 end_commit_flush [junit4] 2> 599791 INFO (qtp1925059162-6704) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] 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=https://127.0.0.1:60247/solr/MissingSegmentRecoveryTest_shard1_replica1/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false}{commit=} 0 33 [junit4] 2> 599792 INFO (qtp1925059162-6708) [n:127.0.0.1:60247_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node2 x:MissingSegmentRecoveryTest_shard1_replica1] o.a.s.u.p.LogUpdateProcessorFactory [MissingSegmentRecoveryTest_shard1_replica1] webapp=/solr path=/update params={_stateVer_=MissingSegmentRecoveryTest:5&waitSearcher=true&commit=true&softCommit=false&wt=javabin&version=2}{commit=} 0 43 [junit4] 2> 599794 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@548713ec{SSL,[ssl, http/1.1]}{127.0.0.1:0} [junit4] 2> 599794 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=747806296 [junit4] 2> 599795 INFO (coreCloseExecutor-3247-thread-1) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] CLOSING SolrCore org.apache.solr.core.SolrCore@167edb12 [junit4] 2> 599797 INFO (coreCloseExecutor-3247-thread-1) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.MissingSegmentRecoveryTest.shard1.replica2 [junit4] 2> 599798 WARN (zkCallback-1066-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 599798 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node [junit4] 2> 599798 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 0x15a820c8d570005, likely client has closed socket [junit4] 2> at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) [junit4] 2> at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) [junit4] 2> at java.lang.Thread.run(Thread.java:745) [junit4] 2> 599798 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@2221908{/solr,null,UNAVAILABLE} [junit4] 2> 599800 INFO (zkCallback-1073-thread-1) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1) [junit4] 2> 599800 INFO (zkCallback-1067-thread-4-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (2) -> (1) [junit4] 2> 599802 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.Server jetty-9.3.14.v20161028 [junit4] 2> 599804 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.h.ContextHandler Started o.e.j.s.ServletContextHandler@6ae04a74{/solr,null,AVAILABLE} [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.AbstractConnector Started ServerConnector@603df41d{SSL,[ssl, http/1.1]}{127.0.0.1:41308} [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.e.j.s.Server Started @606200ms [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.c.s.e.JettySolrRunner Jetty properties: {hostContext=/solr, hostPort=41308} [junit4] 2> 599805 ERROR (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete. [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr? version 7.0.0 [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in cloud mode on port null [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: null [junit4] 2> 599805 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2017-02-28T00:09:09.321Z [junit4] 2> 599810 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.s.SolrDispatchFilter solr.xml found in ZooKeeper. Loading... [junit4] 2> 599822 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.c.ZkContainer Zookeeper client=127.0.0.1:45514/solr [junit4] 2> 599838 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (0) -> (1) [junit4] 2> 599839 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [n:127.0.0.1:41308_solr ] o.a.s.c.Overseer Overseer (id=null) closing [junit4] 2> 599840 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [n:127.0.0.1:41308_solr ] o.a.s.c.ZkController Register node as live in ZooKeeper:/live_nodes/127.0.0.1:41308_solr [junit4] 2> 599843 INFO (zkCallback-1073-thread-1) [ ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 599843 INFO (zkCallback-1067-thread-3-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 599850 INFO (zkCallback-1078-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader Updated live nodes from ZooKeeper... (1) -> (2) [junit4] 2> 599895 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [n:127.0.0.1:41308_solr ] o.a.s.c.CorePropertiesLocator Found 1 core definitions underneath /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/. [junit4] 2> 599896 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [n:127.0.0.1:41308_solr ] o.a.s.c.CorePropertiesLocator Cores are: [MissingSegmentRecoveryTest_shard1_replica2] [junit4] 2> 599906 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0 [junit4] 2> 599913 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.IndexSchema [MissingSegmentRecoveryTest_shard1_replica2] Schema name=minimal [junit4] 2> 599915 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id [junit4] 2> 599916 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.CoreContainer Creating SolrCore 'MissingSegmentRecoveryTest_shard1_replica2' using configuration from collection MissingSegmentRecoveryTest [junit4] 2> 599916 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica2] ] Opening new SolrCore at [/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2], dataDir=[/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/] [junit4] 2> 599947 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 599947 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 599948 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 599948 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 599950 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] CLOSING SolrCore org.apache.solr.core.SolrCore@33f13a32 [junit4] 2> 599950 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.MissingSegmentRecoveryTest.shard1.replica2 [junit4] 2> 599951 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.CoreContainer Found active leader, will attempt to create fresh core and recover. [junit4] 2> 599952 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore Updating index properties... index=index.20170228030909468 [junit4] 2> 599955 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [[MissingSegmentRecoveryTest_shard1_replica2] ] Opening new SolrCore at [/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2], dataDir=[/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/] [junit4] 2> 599957 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica2) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up under /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/ afterReload=false [junit4] 2> 599962 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica2) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.DirectoryFactory Deleted old index directory: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/index.20170228030909468 [junit4] 2> 599977 ERROR (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.SolrIndexWriter Error closing IndexWriter [junit4] 2> java.nio.file.NoSuchFileException: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2/data/index.20170228030909468/write.lock [junit4] 2> at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) [junit4] 2> at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) [junit4] 2> at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) [junit4] 2> at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) [junit4] 2> at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) [junit4] 2> at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99) [junit4] 2> at java.nio.file.Files.readAttributes(Files.java:1737) [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:4698) [junit4] 2> at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:3093) [junit4] 2> at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3227) [junit4] 2> at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1136) [junit4] 2> at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1179) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.close(SolrIndexWriter.java:291) [junit4] 2> at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:728) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:911) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:828) [junit4] 2> at org.apache.solr.core.CoreContainer.processCoreCreateException(CoreContainer.java:1011) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:939) [junit4] 2> at org.apache.solr.core.CoreContainer.lambda$load$3(CoreContainer.java:572) [junit4] 2> at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197) [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:229) [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:745) [junit4] 2> 599978 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica2) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.DirectoryFactory Found 1 old index directories to clean-up under /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/ afterReload=false [junit4] 2> 599980 INFO (OldIndexDirectoryCleanupThreadForCore-MissingSegmentRecoveryTest_shard1_replica2) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.DirectoryFactory Deleted old index directory: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/./MissingSegmentRecoveryTest_shard1_replica2/data/index [junit4] 2> 599998 INFO (zkCallback-1078-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 599999 INFO (zkCallback-1067-thread-4-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_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> 600002 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateHandler Using UpdateLog implementation: org.apache.solr.update.UpdateLog [junit4] 2> 600002 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.UpdateLog Initializing UpdateLog: dataDir=null defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10 numVersionBuckets=65536 [junit4] 2> 600003 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Hard AutoCommit: disabled [junit4] 2> 600003 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.u.CommitTracker Soft AutoCommit: disabled [junit4] 2> 600004 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica2] CLOSING SolrCore org.apache.solr.core.SolrCore@37e377e8 [junit4] 2> 600005 INFO (coreLoadExecutor-3254-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr c:MissingSegmentRecoveryTest s:shard1 r:core_node1 x:MissingSegmentRecoveryTest_shard1_replica2] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.MissingSegmentRecoveryTest.shard1.replica2 [junit4] 2> 600005 ERROR (coreContainerWorkExecutor-3250-thread-1-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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_replica2] [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$4(CoreContainer.java:600) [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:229) [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:745) [junit4] 2> Caused by: org.apache.solr.common.SolrException: Unable to create core [MissingSegmentRecoveryTest_shard1_replica2] [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:952) [junit4] 2> at org.apache.solr.core.CoreContainer.lambda$load$3(CoreContainer.java:572) [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:964) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:828) [junit4] 2> at org.apache.solr.core.CoreContainer.processCoreCreateException(CoreContainer.java:1011) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:939) [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:964) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:828) [junit4] 2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:937) [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:2005) [junit4] 2> at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2125) [junit4] 2> at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1053) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:937) [junit4] 2> ... 9 more [junit4] 2> Caused by: org.apache.lucene.index.CorruptIndexException: Unexpected file read error while reading index. (resource=BufferedChecksumIndexInput(MMapIndexInput(path="/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2/data/index/segments_2"))) [junit4] 2> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:286) [junit4] 2> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:938) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:125) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:100) [junit4] 2> at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:240) [junit4] 2> at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:114) [junit4] 2> at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1966) [junit4] 2> ... 12 more [junit4] 2> Caused by: java.io.EOFException: read past EOF: MMapIndexInput(path="/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2/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:296) [junit4] 2> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:284) [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:2005) [junit4] 2> at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2125) [junit4] 2> at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1053) [junit4] 2> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:937) [junit4] 2> ... 10 more [junit4] 2> Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in LockValidatingDirectoryWrapper(MMapDirectory@/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001/tempDir-001/node2/MissingSegmentRecoveryTest_shard1_replica2/data/index.20170228030909468 lockFactory=org.apache.lucene.store.NativeFSLockFactory@74782755): files: [write.lock] [junit4] 2> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:933) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:125) [junit4] 2> at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:100) [junit4] 2> at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:240) [junit4] 2> at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:114) [junit4] 2> at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1966) [junit4] 2> ... 13 more [junit4] 2> 600498 INFO (OverseerCollectionConfigSetProcessor-97533332364394502-127.0.0.1:60247_solr-n_0000000000) [n:127.0.0.1:60247_solr ] o.a.s.c.OverseerTaskQueue Response ZK path: /overseer/collection-queue-work/qnr-0000000000 doesn't exist. Requestor may have disconnected from ZooKeeper [junit4] 2> 690302 INFO (qtp731561646-6784) [n:127.0.0.1:41308_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> 690305 INFO (OverseerThreadFactory-3232-thread-2-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.OverseerCollectionMessageHandler Executing Collection Cmd : action=UNLOAD&deleteInstanceDir=true&deleteDataDir=true [junit4] 2> 690311 INFO (qtp1925059162-6709) [n:127.0.0.1:60247_solr ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.MissingSegmentRecoveryTest.shard1.replica1 [junit4] 2> 690311 INFO (qtp1925059162-6709) [n:127.0.0.1:60247_solr ] o.a.s.c.SolrCore [MissingSegmentRecoveryTest_shard1_replica1] CLOSING SolrCore org.apache.solr.core.SolrCore@7220db26 [junit4] 2> 690316 INFO (qtp1925059162-6709) [n:127.0.0.1:60247_solr ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.core.MissingSegmentRecoveryTest.shard1.replica1 [junit4] 2> 690325 INFO (qtp1925059162-6709) [n:127.0.0.1:60247_solr ] 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=14 [junit4] 2> 690333 INFO (qtp731561646-6786) [n:127.0.0.1:41308_solr ] 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=1 [junit4] 2> 690334 INFO (zkCallback-1078-thread-2-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 690437 INFO (zkCallback-1078-thread-2-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_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> 691037 INFO (qtp731561646-6784) [n:127.0.0.1:41308_solr ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections params={name=MissingSegmentRecoveryTest&action=DELETE&wt=javabin&version=2} status=0 QTime=734 [junit4] 2> 691040 INFO (TEST-MissingSegmentRecoveryTest.testLeaderRecovery-seed#[B800C15EC6F11C02]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testLeaderRecovery [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=MissingSegmentRecoveryTest -Dtests.method=testLeaderRecovery -Dtests.seed=B800C15EC6F11C02 -Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=fi-FI -Dtests.timezone=Asia/Famagusta -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1 [junit4] FAILURE 94.6s J2 | 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/6)={ [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":"https://127.0.0.1:41308/solr", [junit4] > "node_name":"127.0.0.1:41308_solr", [junit4] > "state":"down"}, [junit4] > "core_node2":{ [junit4] > "core":"MissingSegmentRecoveryTest_shard1_replica1", [junit4] > "base_url":"https://127.0.0.1:60247/solr", [junit4] > "node_name":"127.0.0.1:60247_solr", [junit4] > "state":"active", [junit4] > "leader":"true"}}}}, [junit4] > "router":{"name":"compositeId"}, [junit4] > "maxShardsPerNode":"1", [junit4] > "autoAddReplicas":"false"} [junit4] > at __randomizedtesting.SeedInfo.seed([B800C15EC6F11C02:E855595D9FD0AA1F]: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.lang.Thread.run(Thread.java:745) [junit4] 2> 691046 INFO (jetty-closer-1056-thread-2) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@603df41d{SSL,[ssl, http/1.1]}{127.0.0.1:41308} [junit4] 2> 691046 INFO (jetty-closer-1056-thread-1) [ ] o.e.j.s.AbstractConnector Stopped ServerConnector@2f1a6142{SSL,[ssl, http/1.1]}{127.0.0.1:0} [junit4] 2> 691046 INFO (jetty-closer-1056-thread-2) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=18073774 [junit4] 2> 691047 INFO (jetty-closer-1056-thread-1) [ ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=712788040 [junit4] 2> 691049 INFO (jetty-closer-1056-thread-1) [ ] o.a.s.c.Overseer Overseer (id=97533332364394502-127.0.0.1:60247_solr-n_0000000000) closing [junit4] 2> 691049 INFO (OverseerStateUpdate-97533332364394502-127.0.0.1:60247_solr-n_0000000000) [n:127.0.0.1:60247_solr ] o.a.s.c.Overseer Overseer Loop exiting : 127.0.0.1:60247_solr [junit4] 2> 691050 WARN (zkCallback-1067-thread-16-processing-n:127.0.0.1:60247_solr) [n:127.0.0.1:60247_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 691050 INFO (jetty-closer-1056-thread-1) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node [junit4] 2> 691051 INFO (jetty-closer-1056-thread-1) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@1ff24de{/solr,null,UNAVAILABLE} [junit4] 2> 692550 WARN (zkCallback-1078-thread-2-processing-n:127.0.0.1:41308_solr) [n:127.0.0.1:41308_solr ] o.a.s.c.c.ZkStateReader ZooKeeper watch triggered, but Solr cannot talk to ZK: [KeeperErrorCode = Session expired for /live_nodes] [junit4] 2> 692550 INFO (jetty-closer-1056-thread-2) [ ] o.a.s.m.SolrMetricManager Closing metric reporters for: solr.node [junit4] 2> 692551 INFO (jetty-closer-1056-thread-2) [ ] o.e.j.s.h.ContextHandler Stopped o.e.j.s.ServletContextHandler@6ae04a74{/solr,null,UNAVAILABLE} [junit4] 2> 692551 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:45514 45514 [junit4] 2> 692636 INFO (Thread-1863) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:45514 45514 [junit4] 2> 692637 WARN (Thread-1863) [ ] 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> 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> 4 /solr/clusterprops.json [junit4] 2> 2 /solr/overseer_elect/election/97533332364394502-127.0.0.1:60247_solr-n_0000000000 [junit4] 2> [junit4] 2> Maximum concurrent children watches above limit: [junit4] 2> [junit4] 2> 91 /solr/overseer/collection-queue-work [junit4] 2> 17 /solr/overseer/queue [junit4] 2> 4 /solr/collections [junit4] 2> 3 /solr/live_nodes [junit4] 2> 3 /solr/overseer/queue-work [junit4] 2> [junit4] 2> 692637 INFO (SUITE-MissingSegmentRecoveryTest-seed#[B800C15EC6F11C02]-worker) [ ] o.a.s.SolrTestCaseJ4 ###deleteCore [junit4] 2> NOTE: leaving temporary files on disk at: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/solr/build/solr-core/test/J2/temp/solr.cloud.MissingSegmentRecoveryTest_B800C15EC6F11C02-001 [junit4] 2> Feb 28, 2017 12:10:42 AM com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks [junit4] 2> WARNING: Will linger awaiting termination of 1 leaked thread(s). [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): {_version_=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))), id=FST50}, docValues:{}, maxPointsInLeafNode=1106, maxMBSortInHeap=6.191537660994534, sim=RandomSimilarity(queryNorm=true): {}, locale=fi-FI, timezone=Asia/Famagusta [junit4] 2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_121 (64-bit)/cpus=4,threads=1,free=138683768,total=527433728 [junit4] 2> NOTE: All tests run in this JVM: [TestQueryWrapperFilter, TestConfig, SliceStateTest, HdfsRecoverLeaseTest, TlogReplayBufferedWhileIndexingTest, TestManagedSchemaThreadSafety, TestStandardQParsers, BlockCacheTest, TestRecovery, EchoParamsTest, HdfsBasicDistributedZk2Test, ResourceLoaderTest, TestSizeLimitedDistributedMap, TestLeaderElectionWithEmptyReplica, TestSolrDeletionPolicy1, TestSolrQueryParser, StatelessScriptUpdateProcessorFactoryTest, DirectUpdateHandlerTest, DeleteStatusTest, V2ApiIntegrationTest, HighlighterConfigTest, TestCloudInspectUtil, TestRestoreCore, PrimitiveFieldTypeTest, TestSSLRandomization, TestIndexSearcher, NoCacheHeaderTest, TestDistributedMissingSort, TestDownShardTolerantSearch, RequestHandlersTest, SuggesterWFSTTest, SolrTestCaseJ4Test, LeaderElectionContextKeyTest, TestReload, SimpleFacetsTest, AddSchemaFieldsUpdateProcessorFactoryTest, TestExceedMaxTermLength, TestSolrQueryParserDefaultOperatorResource, PreAnalyzedFieldTest, TestReversedWildcardFilterFactory, DistribJoinFromCollectionTest, UpdateParamsTest, BadIndexSchemaTest, RecoveryZkTest, TestInitParams, SolrIndexConfigTest, TestSchemalessBufferedUpdates, DeleteNodeTest, CurrencyFieldXmlFileTest, FieldMutatingUpdateProcessorTest, TestReRankQParserPlugin, CdcrReplicationHandlerTest, TestSort, TermVectorComponentDistributedTest, TestManagedResource, TestNamedUpdateProcessors, OverseerRolesTest, SubstringBytesRefFilterTest, TestRandomFlRTGCloud, TestQuerySenderNoQuery, DistributedQueryComponentCustomSortTest, TestHdfsBackupRestoreCore, TestIBSimilarityFactory, TestFieldTypeResource, TestSubQueryTransformer, PreAnalyzedFieldManagedSchemaCloudTest, RequestLoggingTest, TestExportWriter, OutputWriterTest, TestBinaryField, TestPHPSerializedResponseWriter, TestShardHandlerFactory, DocValuesMissingTest, RollingRestartTest, UnloadDistributedZkTest, TestClusterStateMutator, TestCryptoKeys, DocValuesMultiTest, PrimUtilsTest, TestStressReorder, TestScoreJoinQPNoScore, TestNumericTerms64, TestLocalFSCloudBackupRestore, FieldAnalysisRequestHandlerTest, TestZkChroot, TestFileDictionaryLookup, MetricUtilsTest, HdfsDirectoryTest, TestCoreDiscovery, WrapperMergePolicyFactoryTest, DistanceUnitsTest, TestExactSharedStatsCache, ShowFileRequestHandlerTest, PreAnalyzedUpdateProcessorTest, TestJavabinTupleStreamParser, URLClassifyProcessorTest, TestLMDirichletSimilarityFactory, TestDefaultSearchFieldResource, TestMacroExpander, CircularListTest, TestFastOutputStream, CollectionReloadTest, SolrPluginUtilsTest, TestConfigOverlay, MBeansHandlerTest, MissingSegmentRecoveryTest] [junit4] Completed [238/693 (1!)] on J2 in 98.07s, 1 test, 1 failure <<< FAILURES! [...truncated 64110 lines...]
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org