Being slightly irritated by the fact one of my tests shows up in this, I did some digging and I found
[junit4] 2> 485679 ERROR (OverseerThreadFactory-788-thread-1-processing-n:127.0.0.1:35771_solr) [n:127.0.0.1:35771_solr ] o.a.s.c.a.c.OverseerCollectionMessageHandler Collection: testAliasCplx0 operation: createalias failed:org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /configs/_default [junit4] 2> at org.apache.zookeeper.KeeperException.create(KeeperException.java:130) [junit4] 2> at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) [junit4] 2> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1105) [junit4] 2> at org.apache.solr.common.cloud.SolrZkClient.lambda$exists$3(SolrZkClient.java:316) [junit4] 2> at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60) [junit4] 2> at org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:316) [junit4] 2> at org.apache.solr.client.solrj.impl.ZkDistribStateManager.hasData(ZkDistribStateManager.java:58) [junit4] 2> at org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler.validateConfigOrThrowSolrException(OverseerCollectionMessageHandler.java:737) [junit4] 2> at org.apache.solr.cloud.api.collections.CreateCollectionCmd.call(CreateCollectionCmd.java:114) [junit4] 2> at org.apache.solr.cloud.api.collections.MaintainRoutedAliasCmd.createCollectionAndWait(MaintainRoutedAliasCmd.java:282) [junit4] 2> at org.apache.solr.cloud.api.collections.CreateAliasCmd.callCreateRoutedAlias(CreateAliasCmd.java:124) [junit4] 2> at org.apache.solr.cloud.api.collections.CreateAliasCmd.call(CreateAliasCmd.java:65) [junit4] 2> at org.apache.solr.cloud.api.collections.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:252) [junit4] 2> at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:469) [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:1149) [junit4] 2> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [junit4] 2> at java.lang.Thread.run(Thread.java:748) [junit4] 2> in the full log for https://jenkins.thetaphi.de/view/Lucene-Solr/job/Lucene-Solr-master-Solaris/1719/console After some digging I found this code in ZkTestServer: public void run() throws InterruptedException { log.info("STARTING ZK TEST SERVER"); // we don't call super.distribSetUp zooThread = new Thread() { @Override public void run() { ServerConfig config = new ServerConfig() { { setClientPort(ZkTestServer.this.clientPort); this.dataDir = zkDir; this.dataLogDir = zkDir; this.tickTime = theTickTime; } public void setClientPort(int clientPort) { if (clientPortAddress != null) { try { this.clientPortAddress = new InetSocketAddress( InetAddress.getByName(clientPortAddress.getHostName()), clientPort); } catch (UnknownHostException e) { throw new RuntimeException(e); } } else { this.clientPortAddress = new InetSocketAddress(clientPort); } log.info("client port:" + this.clientPortAddress); } }; try { zkServer.runFromConfig(config); } catch (Throwable e) { throw new RuntimeException(e); } } }; And what I noticed is that min/max timeouts are unset and theTickTime is onlly ever set to a big blue 1000 leading to default min/max timeout values of 2/20 seconds ( https://discuss.pivotal.io/hc/en-us/articles/205187157-Pivotal-HD-About-how-to-correctly-config-zookeeper-session-timeout-parameter-minSessionTimeout-and-maxSessionTimeout --> jibes with the zk code I see in my editor). So my question is whether or not our big blue friend can be given more time, or is this by design and a config level we wish to explicitly support? Note that this is not the default zk config, which would be a 3 sec tick time. Maybe we're unintentionally being harsh on ourselves? I have noticed that a lot of the tests that fail in my local builds are zk realated.... On Wed, Mar 14, 2018 at 5:52 PM, Erick Erickson <[email protected]> wrote: > We had a drop off in the number of failing tests over the last couple > of days, so I'm > going to ignore the fails 11-12 Mar. Or it was a temporary increase > for those days, take your > pick ;) > > > I'll check against Hoss' and Mark's lists and only BadApple tests > that've failed Friday > or later. > > In particular what do the Lucene folks think about the two Lucene tests? > > > junit.framework.TestSuite.org.apache.solr.cloud.TestLeaderElectionZkExpiry > > org.apache.lucene.index.TestIndexSorting.testRandom3 > org.apache.lucene.index.TestIndexWriterWithThreads.testCloseWithThreads > > org.apache.solr.cloud.api.collections.CollectionsAPIAsyncDistributed > ZkTest.testAsyncIdBackCompat > org.apache.solr.cloud.autoscaling.ComputePlanActionTest. > testNodeWithMultipleReplicasLost > org.apache.solr.cloud.autoscaling.ScheduledMaintenanceTriggerTes > t.testInactiveShardCleanup > org.apache.solr.cloud.ConcurrentCreateRoutedAliasTest. > testConcurrentCreateRoutedAliasComplex > org.apache.solr.cloud.DocValuesNotIndexedTest.testGroupingDVOnly > org.apache.solr.cloud.LeaderVoteWaitTimeoutTest.basicTest > org.apache.solr.cloud.LeaderVoteWaitTimeoutTest. > testMostInSyncReplicasCanWinElection > org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > org.apache.solr.cloud.SSLMigrationTest.test > org.apache.solr.cloud.TestTlogReplica.testCreateDelete > org.apache.solr.handler.admin.SegmentsInfoRequestHandlerTest > .testSegmentInfosVersion > org.apache.solr.handler.TestSolrConfigHandlerCloud.test > org.apache.solr.logging.TestLogWatcher.testLog4jWatcher > org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts > > > Fails by day are below for reference. If they're _not_ listed above, > they'll be > left to run for another week: > > 11-Mar fails: > > junit.framework.TestSuite.org.apache.solr.cloud. > BasicDistributedZkTestream.StreamExpressionTest.testGammaDistribution > junit.framework.TestSuite.org.apache.solr.cloud.TestCloudPivotFacet > junit.framework.TestSuite.org.apache.solr.cloud. > TriLevelCompositeIdRoutingTest > junit.framework.TestSuite.org.apache.solr.cloud.ZkControllerTest > junit.framework.TestSuite.org.apache.solr.search.join. > BlockJoinFacetDistribTest > org.apache.solr.client.solrj.io.storg.apache.solr.cloud. > BasicDistributedZkTest.test > org.apache.solr.cloud.autoscaling.ScheduledMaintenanceTriggerTes > t.testInactiveShardCleanup > org.apache.solr.cloud.BasicDistributedZkTest.test > org.apache.solr.cloud.FullSolrCloudDistribCmdsTest > org.apache.solr.cloud.FullSolrCloudDistribCmdsTest.test > org.apache.solr.cloud.hdfs.HdfsUnloadDistributedZkTest > org.apache.solr.cloud.hdfs.HdfsUnloadDistributedZkTest.test > org.apache.solr.cloud.hdfs.StressHdfsTest.test > org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > org.apache.solr.cloud.TestCloudPivotFacet.test > org.apache.solr.cloud.TriLevelCompositeIdRoutingTest.test > org.apache.solr.logging.TestLogWatcher.testLog4jWatcher > > 12-Mar fails: > junit.framework.TestSuite.org.apache.lucene.search.spans. > TestSpanSearchEquivalence > junit.framework.TestSuite.org.apache.solr.cloud.autoscaling. > TriggerIntegrationTest > junit.framework.TestSuite.org.apache.solr.cloud.BasicDistributedZkTest > junit.framework.TestSuite.org.apache.solr.cloud.hdfs. > HdfsUnloadDistributedZkTest > junit.framework.TestSuite.org.apache.solr.cloud.TestLeaderElectionZkExpiry > org.apache.lucene.index.TestDuelingCodecsAtNight.testBigEquals > org.apache.lucene.search.spans.TestSpanSearchEquivalence. > testSpanNearIncreasingSloppiness > org.apache.solr.cloud.autoscaling.AutoAddReplicasIntegrationTest > org.apache.solr.cloud.autoscaling.HdfsAutoAddReplicasIntegrationTest > org.apache.solr.cloud.autoscaling.ScheduledMaintenanceTriggerTest > org.apache.solr.cloud.autoscaling.ScheduledMaintenanceTriggerTes > t.testInactiveShardCleanup > org.apache.solr.cloud.autoscaling.TriggerIntegrationTest.testEventQueue > org.apache.solr.cloud.autoscaling.TriggerIntegrationTest.testMetricTrigger > org.apache.solr.cloud.BasicDistributedZkTest.test > org.apache.solr.cloud.CollectionsAPISolrJTest.testSplitShard > org.apache.solr.cloud.LeaderVoteWaitTimeoutTest. > testMostInSyncReplicasCanWinElection > org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > org.apache.solr.cloud.SSLMigrationTest.test > org.apache.solr.cloud.TestRandomFlRTGCloud.testRandomizedUpdatesAndRTGs > org.apache.solr.core.TestJmxIntegration > org.apache.solr.handler.admin.AutoscalingHistoryHandlerTest > org.apache.solr.handler.TestReplicationHandler > org.apache.solr.handler.TestReplicationHandler. > doTestReplicateAfterCoreReload > org.apache.solr.logging.TestLogWatcher.testLog4jWatcher > org.apache.solr.ltr.TestLTRReRankingPipeline > org.apache.solr.TestDistributedSearch.test > > 13-Mar fails: > junit.framework.TestSuite.org.apache.solr.cloud.TestLeaderElectionZkExpiry > org.apache.lucene.index.TestIndexSorting.testRandom3 > org.apache.lucene.index.TestIndexWriterWithThreads.testCloseWithThreads > org.apache.solr.cloud.autoscaling.ScheduledMaintenanceTriggerTes > t.testInactiveShardCleanup > org.apache.solr.cloud.ConcurrentCreateRoutedAliasTest. > testConcurrentCreateRoutedAliasComplex > org.apache.solr.cloud.LeaderVoteWaitTimeoutTest.basicTest > org.apache.solr.cloud.LeaderVoteWaitTimeoutTest. > testMostInSyncReplicasCanWinElection > org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > org.apache.solr.cloud.TestTlogReplica.testCreateDelete > org.apache.solr.logging.TestLogWatcher.testLog4jWatcher > org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts > > 14-Mar fails: > org.apache.solr.cloud.api.collections.CollectionsAPIAsyncDistributed > ZkTest.testAsyncIdBackCompat > org.apache.solr.cloud.autoscaling.ComputePlanActionTest. > testNodeWithMultipleReplicasLost > org.apache.solr.cloud.DocValuesNotIndexedTest.testGroupingDVOnly > org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > org.apache.solr.cloud.SSLMigrationTest.test > org.apache.solr.handler.admin.SegmentsInfoRequestHandlerTest > .testSegmentInfosVersion > org.apache.solr.handler.TestSolrConfigHandlerCloud.test > org.apache.solr.spelling.SpellCheckCollatorTest.testEstimatedHitCounts > > Erick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- http://www.the111shift.com
