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 C3F80DEB8 for ; Tue, 18 Sep 2012 12:18:09 +0000 (UTC) Received: (qmail 94481 invoked by uid 500); 18 Sep 2012 12:18:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 94246 invoked by uid 500); 18 Sep 2012 12:18:08 -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 94221 invoked by uid 99); 18 Sep 2012 12:18:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 12:18:07 +0000 Date: Tue, 18 Sep 2012 23:18:07 +1100 (NCT) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <1169181025.91959.1347970687673.JavaMail.jiratomcat@arcas> In-Reply-To: <1952170534.91044.1347942727933.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (SOLR-3849) ScriptEngineTest failure RE system properties and ThreadLeakError MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457765#comment-13457765 ] Uwe Schindler commented on SOLR-3849: ------------------------------------- +1, we should do this in all cases (unrelated to this issue) > ScriptEngineTest failure RE system properties and ThreadLeakError > ----------------------------------------------------------------- > > Key: SOLR-3849 > URL: https://issues.apache.org/jira/browse/SOLR-3849 > Project: Solr > Issue Type: Bug > Components: update > Affects Versions: 5.0 > Environment: Mac OS X 10.8.1 x86_64/Oracle Corporation 1.7.0_07 (64-bit)/cpus=4,threads=1,free=65764312,total=85065728 > Reporter: David Smiley > Assignee: Dawid Weiss > Attachments: SOLR-3849.patch > > > 100% reproducible for me: > solr$ ant test -Dtestcase=ScriptEngineTest > {noformat} > [junit4:junit4] says hi! Master seed: E62CC5FBAC2CEFA4 > [junit4:junit4] Executing 1 suite with 1 JVM. > [junit4:junit4] > [junit4:junit4] Suite: org.apache.solr.update.processor.ScriptEngineTest > [junit4:junit4] OK 0.17s | ScriptEngineTest.testPut > [junit4:junit4] OK 0.02s | ScriptEngineTest.testEvalReader > [junit4:junit4] IGNOR/A 0.10s | ScriptEngineTest.testJRuby > [junit4:junit4] > Assumption #1: got: <[null]>, expected: each not null > [junit4:junit4] OK 0.01s | ScriptEngineTest.testEvalText > [junit4:junit4] OK 0.01s | ScriptEngineTest.testGetEngineByExtension > [junit4:junit4] OK 0.01s | ScriptEngineTest.testGetEngineByName > [junit4:junit4] 2> -9 T9 ccr.ThreadLeakControl.checkThreadLeaks WARNING Will linger awaiting termination of 2 leaked thread(s). > [junit4:junit4] 2> 20163 T9 ccr.ThreadLeakControl.checkThreadLeaks SEVERE 1 thread leaked from SUITE scope at org.apache.solr.update.processor.ScriptEngineTest: > [junit4:junit4] 2> 1) Thread[id=11, name=AppKit Thread, state=RUNNABLE, group=main] > [junit4:junit4] 2> at (empty stack) > [junit4:junit4] 2> 20164 T9 ccr.ThreadLeakControl.tryToInterruptAll Starting to interrupt leaked threads: > [junit4:junit4] 2> 1) Thread[id=11, name=AppKit Thread, state=RUNNABLE, group=main] > [junit4:junit4] 2> 23172 T9 ccr.ThreadLeakControl.tryToInterruptAll SEVERE There are still zombie threads that couldn't be terminated: > [junit4:junit4] 2> 1) Thread[id=11, name=AppKit Thread, state=RUNNABLE, group=main] > [junit4:junit4] 2> at (empty stack) > [junit4:junit4] 2> NOTE: test params are: codec=SimpleText, sim=RandomSimilarityProvider(queryNorm=true,coord=yes): {}, locale=es_PR, timezone=America/Edmonton > [junit4:junit4] 2> NOTE: Mac OS X 10.8.1 x86_64/Oracle Corporation 1.7.0_07 (64-bit)/cpus=4,threads=1,free=65764312,total=85065728 > [junit4:junit4] 2> NOTE: All tests run in this JVM: [ScriptEngineTest] > [junit4:junit4] 2> NOTE: reproduce with: ant test -Dtestcase=ScriptEngineTest -Dtests.seed=E62CC5FBAC2CEFA4 -Dtests.slow=true -Dtests.locale=es_PR -Dtests.timezone=America/Edmonton -Dtests.file.encoding=UTF-8 > [junit4:junit4] ERROR 0.00s | ScriptEngineTest (suite) <<< > [junit4:junit4] > Throwable #1: java.lang.AssertionError: System properties invariant violated. > [junit4:junit4] > New keys: > [junit4:junit4] > sun.awt.enableExtraMouseButtons=true > [junit4:junit4] > sun.font.fontmanager=sun.font.CFontManager > [junit4:junit4] > > [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:66) > [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > [junit4:junit4] > at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) > [junit4:junit4] > at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) > [junit4:junit4] > at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) > [junit4:junit4] > at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) > [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > [junit4:junit4] > at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358) > [junit4:junit4] > at java.lang.Thread.run(Thread.java:722) > [junit4:junit4] > Throwable #2: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.update.processor.ScriptEngineTest: > [junit4:junit4] > 1) Thread[id=11, name=AppKit Thread, state=RUNNABLE, group=main] > [junit4:junit4] > at (empty stack) > [junit4:junit4] > at __randomizedtesting.SeedInfo.seed([E62CC5FBAC2CEFA4]:0) > [junit4:junit4] > Throwable #3: com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie threads that couldn't be terminated: > [junit4:junit4] > 1) Thread[id=11, name=AppKit Thread, state=RUNNABLE, group=main] > [junit4:junit4] > at (empty stack) > [junit4:junit4] > at __randomizedtesting.SeedInfo.seed([E62CC5FBAC2CEFA4]:0) > [junit4:junit4] Completed in 24.29s, 6 tests, 1 failure, 2 errors, 1 skipped <<< FAILURES! > [junit4:junit4] > [junit4:junit4] JVM J0: 1.38 .. 26.54 = 25.16s > [junit4:junit4] Execution time total: 26 seconds > [junit4:junit4] Tests summary: 1 suite, 6 tests, 3 suite-level errors, 1 ignored (1 assumption) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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