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 71272D8B8 for ; Mon, 22 Oct 2012 20:14:13 +0000 (UTC) Received: (qmail 82328 invoked by uid 500); 22 Oct 2012 20:14:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82252 invoked by uid 500); 22 Oct 2012 20:14:12 -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 82244 invoked by uid 99); 22 Oct 2012 20:14:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 20:14:12 +0000 Date: Mon, 22 Oct 2012 20:14:12 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <1531976942.12026.1350936852142.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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3849?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13481= 744#comment-13481744 ]=20 Steven Rowe commented on SOLR-3849: ----------------------------------- bq. Do anybody of you maybe have a custom scriptng engine in classpath? My CLASSPATH env. var. is undefined. bq. Maybe Apple/Macintosh has some CrazyUselessAsAlwaysM=C3=A4cintrashEngin= e shipped by default. =20 Oracle produces 1.7 JDK for OS X, and the 1.6 JDK comes from Apple. =20 > 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=3D4,threads=3D1,free=3D65764312,total=3D85065728 > Reporter: David Smiley > Assignee: Uwe Schindler > Fix For: 4.0, 5.0 > > Attachments: SOLR-3849.patch > > > 100% reproducible for me: > solr$ ant test -Dtestcase=3DScriptEngineTest > {noformat} > [junit4:junit4] says hi! Master seed: E62CC5FBAC2CEFA4 > [junit4:junit4] Executing 1 suite with 1 JVM. > [junit4:junit4]=20 > [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 nul= l > [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 SEVE= RE 1 thread leaked from SUITE scope at org.apache.solr.update.processor.Scr= iptEngineTest:=20 > [junit4:junit4] 2> =09 1) Thread[id=3D11, name=3DAppKit Thread, state= =3DRUNNABLE, group=3Dmain] > [junit4:junit4] 2> =09 at (empty stack) > [junit4:junit4] 2> 20164 T9 ccr.ThreadLeakControl.tryToInterruptAll Sta= rting to interrupt leaked threads: > [junit4:junit4] 2> =09 1) Thread[id=3D11, name=3DAppKit Thread, state= =3DRUNNABLE, group=3Dmain] > [junit4:junit4] 2> 23172 T9 ccr.ThreadLeakControl.tryToInterruptAll SEV= ERE There are still zombie threads that couldn't be terminated: > [junit4:junit4] 2> =09 1) Thread[id=3D11, name=3DAppKit Thread, state= =3DRUNNABLE, group=3Dmain] > [junit4:junit4] 2> =09 at (empty stack) > [junit4:junit4] 2> NOTE: test params are: codec=3DSimpleText, sim=3DRan= domSimilarityProvider(queryNorm=3Dtrue,coord=3Dyes): {}, locale=3Des_PR, ti= mezone=3DAmerica/Edmonton > [junit4:junit4] 2> NOTE: Mac OS X 10.8.1 x86_64/Oracle Corporation 1.7.= 0_07 (64-bit)/cpus=3D4,threads=3D1,free=3D65764312,total=3D85065728 > [junit4:junit4] 2> NOTE: All tests run in this JVM: [ScriptEngineTest] > [junit4:junit4] 2> NOTE: reproduce with: ant test -Dtestcase=3DScriptE= ngineTest -Dtests.seed=3DE62CC5FBAC2CEFA4 -Dtests.slow=3Dtrue -Dtests.local= e=3Des_PR -Dtests.timezone=3DAmerica/Edmonton -Dtests.file.encoding=3DUTF-8 > [junit4:junit4] ERROR 0.00s | ScriptEngineTest (suite) <<< > [junit4:junit4] > Throwable #1: java.lang.AssertionError: System prope= rties invariant violated. > [junit4:junit4] > New keys: > [junit4:junit4] > sun.awt.enableExtraMouseButtons=3Dtrue > [junit4:junit4] > sun.font.fontmanager=3Dsun.font.CFontManager > [junit4:junit4] >=20 > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.rules.Syste= mPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:66) > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.rules.NoSha= dowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRu= le.java:39) > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.rules.NoSha= dowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRu= le.java:39) > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.rules.State= mentAdapter.evaluate(StatementAdapter.java:36) > [junit4:junit4] > =09at org.apache.lucene.util.TestRuleAssertionsRequi= red$1.evaluate(TestRuleAssertionsRequired.java:43) > [junit4:junit4] > =09at org.apache.lucene.util.TestRuleMarkFailure$1.e= valuate(TestRuleMarkFailure.java:48) > [junit4:junit4] > =09at org.apache.lucene.util.TestRuleIgnoreAfterMaxF= ailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) > [junit4:junit4] > =09at org.apache.lucene.util.TestRuleIgnoreTestSuite= s$1.evaluate(TestRuleIgnoreTestSuites.java:55) > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.rules.State= mentAdapter.evaluate(StatementAdapter.java:36) > [junit4:junit4] > =09at com.carrotsearch.randomizedtesting.ThreadLeakC= ontrol$StatementRunner.run(ThreadLeakControl.java:358) > [junit4:junit4] > =09at java.lang.Thread.run(Thread.java:722) > [junit4:junit4] > Throwable #2: com.carrotsearch.randomizedtesting.Thr= eadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.update.pr= ocessor.ScriptEngineTest:=20 > [junit4:junit4] > 1) Thread[id=3D11, name=3DAppKit Thread, state=3D= RUNNABLE, group=3Dmain] > [junit4:junit4] > at (empty stack) > [junit4:junit4] > =09at __randomizedtesting.SeedInfo.seed([E62CC5FBAC2= CEFA4]:0) > [junit4:junit4] > Throwable #3: com.carrotsearch.randomizedtesting.Thr= eadLeakError: There are still zombie threads that couldn't be terminated: > [junit4:junit4] > 1) Thread[id=3D11, name=3DAppKit Thread, state=3D= RUNNABLE, group=3Dmain] > [junit4:junit4] > at (empty stack) > [junit4:junit4] > =09at __randomizedtesting.SeedInfo.seed([E62CC5FBAC2= CEFA4]:0) > [junit4:junit4] Completed in 24.29s, 6 tests, 1 failure, 2 errors, 1 skip= ped <<< FAILURES! > [junit4:junit4]=20 > [junit4:junit4] JVM J0: 1.38 .. 26.54 =3D 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 administrato= rs 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