OH.

This is caused by this:
> volatile static InfoStream infoStream;

You should null static vars on afterClass(). Or alternatively convert to a 
non-static field.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: Policeman Jenkins Server [mailto:[email protected]]
> Sent: Thursday, February 18, 2016 4:13 PM
> To: [email protected]; [email protected]; [email protected]
> Subject: [JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) - Build # 3094
> - Failure!
> 
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/3094/
> Java: 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC
> 
> 1 tests failed.
> FAILED:
> junit.framework.TestSuite.org.apache.lucene.TestMergeSchedulerExternal
> 
> Error Message:
> access denied ("java.lang.RuntimePermission"
> "accessClassInPackage.sun.nio.cs")
> 
> Stack Trace:
> java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.cs")
>       at __randomizedtesting.SeedInfo.seed([12244950C6C73109]:0)
>       at
> java.security.AccessControlContext.checkPermission(AccessControlContext.j
> ava:472)
>       at
> java.security.AccessController.checkPermission(AccessController.java:884)
>       at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>       at
> java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564)
>       at java.lang.Class.checkPackageAccess(Class.java:2372)
>       at java.lang.Class.checkMemberAccess(Class.java:2351)
>       at java.lang.Class.getDeclaredFields(Class.java:1915)
>       at
> com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$2.run(RamU
> sageEstimator.java:585)
>       at
> com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$2.run(RamU
> sageEstimator.java:582)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at
> com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.createCache
> Entry(RamUsageEstimator.java:582)
>       at
> com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.measureSize
> Of(RamUsageEstimator.java:545)
>       at
> com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.sizeOfAll(Ra
> mUsageEstimator.java:387)
>       at
> com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterA
> lways(StaticFieldsInvariantRule.java:127)
>       at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat
> ementAdapter.java:43)
>       at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat
> ementAdapter.java:36)
>       at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat
> ementAdapter.java:36)
>       at
> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAss
> ertionsRequired.java:53)
>       at
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure
> .java:47)
>       at
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRule
> IgnoreAfterMaxFailures.java:64)
>       at
> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnore
> TestSuites.java:54)
>       at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(Stat
> ementAdapter.java:36)
>       at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.
> run(ThreadLeakControl.java:367)
>       at java.lang.Thread.run(Thread.java:745)
> 
> 
> 
> 
> Build Log:
> [...truncated 459 lines...]
>    [junit4] Suite: org.apache.lucene.TestMergeSchedulerExternal
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60):
> {id=Lucene50(blocksize=128)}, docValues:{},
> sim=RandomSimilarity(queryNorm=false,coord=no): {}, locale=es,
> timezone=Asia/Urumqi
>    [junit4]   2> NOTE: Mac OS X 10.8.5 x86_64/Oracle Corporation 1.8.0_72 (64-
> bit)/cpus=3,threads=1,free=45295032,total=54853632
>    [junit4]   2> NOTE: All tests run in this JVM: [TestForceMergeForever,
> TestNumericRangeQuery32, TestStringHelper, TestSortRescorer,
> TestFieldCacheRewriteMethod, TestPositiveScoresOnlyCollector,
> TestMaxPosition, TestIndexWriterCommit, TestParallelLeafReader,
> TestSloppyPhraseQuery, TestVirtualMethod, TestNoMergeScheduler,
> TestIndexWriterThreadsToSegments, TestIndexWriterNRTIsCurrent,
> TestSPIClassIterator, TestTimSorterWorstCase,
> TestDocumentsWriterDeleteQueue, TestMergeSchedulerExternal]
>    [junit4]   2> NOTE: reproduce with: ant test  -
> Dtestcase=TestMergeSchedulerExternal -Dtests.seed=12244950C6C73109 -
> Dtests.slow=true -Dtests.locale=es -Dtests.timezone=Asia/Urumqi -
> Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   0.00s J1 | TestMergeSchedulerExternal (suite) <<<
>    [junit4]    > Throwable #1: java.security.AccessControlException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.cs")
>    [junit4]    >      at
> __randomizedtesting.SeedInfo.seed([12244950C6C73109]:0)
>    [junit4]    >      at
> java.security.AccessControlContext.checkPermission(AccessControlContext.j
> ava:472)
>    [junit4]    >      at
> java.security.AccessController.checkPermission(AccessController.java:884)
>    [junit4]    >      at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>    [junit4]    >      at
> java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564)
>    [junit4]    >      at java.lang.Class.checkPackageAccess(Class.java:2372)
>    [junit4]    >      at java.lang.Class.checkMemberAccess(Class.java:2351)
>    [junit4]    >      at java.lang.Class.getDeclaredFields(Class.java:1915)
>    [junit4]    >      at java.security.AccessController.doPrivileged(Native
> Method)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:745)
>    [junit4] Completed [71/411 (1!)] on J1 in 0.66s, 2 tests, 1 error <<<
> FAILURES!
> 
> [...truncated 1131 lines...]
> BUILD FAILED
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:740: The
> following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:684: The
> following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:59: The
> following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/build.xml:50:
> The following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-
> build.xml:1457: The following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-
> build.xml:1014: There were test failures: 411 suites (1 ignored), 3386 tests, 
> 1
> suite-level error, 61 ignored (57 assumptions) [seed: 12244950C6C73109]
> 
> Total time: 5 minutes 18 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> [WARNINGS] Skipping publisher since build result is FAILURE
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to