From dev-return-90731-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Thu Mar 1 08:34:27 2012 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 647789BDD for ; Thu, 1 Mar 2012 08:34:27 +0000 (UTC) Received: (qmail 13819 invoked by uid 500); 1 Mar 2012 08:34:26 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13756 invoked by uid 500); 1 Mar 2012 08:34:26 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 13749 invoked by uid 99); 1 Mar 2012 08:34:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 08:34:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 08:34:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0FEE5C853E for ; Thu, 1 Mar 2012 08:34:01 +0000 (UTC) Date: Thu, 1 Mar 2012 08:34:01 +0000 (UTC) From: "Sami Siren (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <591946872.6591.1330590841080.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2069204742.19092.1308482447413.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2608) TestReplicationHandler is flakey MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219909#comment-13219909 ] Sami Siren commented on SOLR-2608: ---------------------------------- I am also seeing this test fail quite often. The stacktrace is now different: {code} 23987 T1101 oasc.SolrException.log SEVERE SnapPull failed :org.apache.solr.common.SolrException at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1388) at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:505) at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:348) at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:298) at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:163) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.util.concurrent.RejectedExecutionException at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768) at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92) at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:603) at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1356) ... 13 more 25051 T3 oasu.ConcurrentLRUCache.finalize SEVERE ConcurrentLRUCache was not destroyed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! 40748 T1120 oasc.SolrException.log SEVERE SnapPull failed :org.apache.solr.common.SolrException: Unable to download _7_1.del completely. Downloaded 0!=92 at org.apache.solr.handler.SnapPuller$FileFetcher.cleanup(SnapPuller.java:1081) at org.apache.solr.handler.SnapPuller$FileFetcher.fetchFile(SnapPuller.java:961) at org.apache.solr.handler.SnapPuller.downloadIndexFiles(SnapPuller.java:587) at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:322) at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:298) at org.apache.solr.handler.ReplicationHandler$1.run(ReplicationHandler.java:179) {code} > TestReplicationHandler is flakey > -------------------------------- > > Key: SOLR-2608 > URL: https://issues.apache.org/jira/browse/SOLR-2608 > Project: Solr > Issue Type: Bug > Reporter: selckin > > I've been running some while(1) tests on trunk, and TestReplicationHandler is very flakey it fails about every 10th run. > Probably not a bug, but the test not waiting correctly > {code} > [junit] Testsuite: org.apache.solr.handler.TestReplicationHandler > [junit] Testcase: org.apache.solr.handler.TestReplicationHandler: FAILED > [junit] ERROR: SolrIndexSearcher opens=48 closes=47 > [junit] junit.framework.AssertionFailedError: ERROR: SolrIndexSearcher opens=48 closes=47 > [junit] at org.apache.solr.SolrTestCaseJ4.endTrackingSearchers(SolrTestCaseJ4.java:131) > [junit] at org.apache.solr.SolrTestCaseJ4.afterClassSolrTestCase(SolrTestCaseJ4.java:74) > [junit] > [junit] > [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 40.772 sec > [junit] > [junit] ------------- Standard Error ----------------- > [junit] 19-Jun-2011 21:26:44 org.apache.solr.handler.SnapPuller fetchLatestIndex > [junit] SEVERE: Master at: http://localhost:51817/solr/replication is not available. Index fetch failed. Exception: Connection refused > [junit] 19-Jun-2011 21:26:49 org.apache.solr.common.SolrException log > [junit] SEVERE: java.util.concurrent.RejectedExecutionException > [junit] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768) > [junit] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767) > [junit] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658) > [junit] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92) > [junit] at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:603) > [junit] at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1149) > [junit] at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:346) > [junit] at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:483) > [junit] at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:332) > [junit] at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:267) > [junit] at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:166) > [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > [junit] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > [junit] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) > [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) > [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [junit] at java.lang.Thread.run(Thread.java:662) > [junit] > [junit] 19-Jun-2011 21:26:51 org.apache.solr.update.SolrIndexWriter finalize > [junit] SEVERE: SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! > [junit] 19-Jun-2011 21:26:51 org.apache.solr.common.util.ConcurrentLRUCache finalize > [junit] SEVERE: ConcurrentLRUCache was not destroyed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! > [junit] 19-Jun-2011 21:27:13 org.apache.solr.handler.SnapPuller fetchLatestIndex > [junit] SEVERE: Master at: http://localhost:46559/solr/replication is not available. Index fetch failed. Exception: Connection refused > [junit] 19-Jun-2011 21:27:14 org.apache.solr.handler.SnapPuller fetchLatestIndex > [junit] SEVERE: Master at: http://localhost:46559/solr/replication is not available. Index fetch failed. Exception: Connection refused > [junit] 19-Jun-2011 21:27:14 org.apache.solr.SolrTestCaseJ4 endTrackingSearchers > [junit] SEVERE: ERROR: SolrIndexSearcher opens=48 closes=47 > [junit] ------------- ---------------- --------------- > [junit] TEST org.apache.solr.handler.TestReplicationHandler FAILED > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org