lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3849) ScriptEngineTest failure RE system properties and ThreadLeakError
Date Mon, 22 Oct 2012 19:50:12 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481721#comment-13481721
] 

Dawid Weiss commented on SOLR-3849:
-----------------------------------

Interesting. We could ignore those properties but they indicate that an AWT daemon was for
some reason startup up and messed up system properties. Uwe may want to kill it rather than
just ignoring these props.
                
> 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: Uwe Schindler
>             Fix For: 4.0, 5.0
>
>         Attachments: SOLR-3849.patch
>
>
> 100% reproducible for me:
> solr$ ant test  -Dtestcase=ScriptEngineTest
> {noformat}
> [junit4: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


Mime
View raw message