You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2016/12/16 21:27:58 UTC

[JENKINS] Lucene-Tests-MMAP-master - Build # 225 - Failure

Build: https://builds.apache.org/job/Lucene-Tests-MMAP-master/225/

1 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.lucene.facet.TestFacetQuery

Error Message:
Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:   - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter   - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader

Stack Trace:
junit.framework.AssertionFailedError: Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:
  - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter
  - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader
	at __randomizedtesting.SeedInfo.seed([F8FE8A3A4746237B]:0)
	at com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:146)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:43)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java: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(RamUsageEstimator.java:585)
	at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$2.run(RamUsageEstimator.java:582)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.createCacheEntry(RamUsageEstimator.java:582)
	at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.measureSizeOf(RamUsageEstimator.java:545)
	at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.sizeOfAll(RamUsageEstimator.java:387)
	at com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:129)
	... 10 more




Build Log:
[...truncated 6702 lines...]
   [junit4] Suite: org.apache.lucene.facet.TestFacetQuery
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {$facets=BlockTreeOrds(blocksize=128), Hello=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))}, docValues:{$facets=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=1809, maxMBSortInHeap=7.911551045518415, sim=RandomSimilarity(queryNorm=false): {Hello=DFR I(ne)B1, $facets=DFR I(F)B2}, locale=sr-Latn-BA, timezone=Antarctica/DumontDUrville
   [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=196624544,total=342360064
   [junit4]   2> NOTE: All tests run in this JVM: [TestDirectoryTaxonomyWriter, TestDirectoryTaxonomyReader, TestConcurrentFacetedIndexing, TestFacetQuery]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestFacetQuery -Dtests.seed=F8FE8A3A4746237B -Dtests.multiplier=2 -Dtests.slow=true -Dtests.directory=MMapDirectory -Dtests.locale=sr-Latn-BA -Dtests.timezone=Antarctica/DumontDUrville -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] ERROR   0.00s J2 | TestFacetQuery (suite) <<<
   [junit4]    > Throwable #1: junit.framework.AssertionFailedError: Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:
   [junit4]    >   - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter
   [junit4]    >   - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([F8FE8A3A4746237B]:0)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]    > Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
   [junit4]    > 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java: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]    > 	... 10 more
   [junit4] Completed [10/24 (1!)] on J2 in 0.56s, 2 tests, 1 failure <<< FAILURES!

[...truncated 53 lines...]
BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build.xml:478: The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:2177: The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/module-build.xml:58: The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:1443: The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:984: There were test failures: 24 suites, 155 tests, 1 suite-level error [seed: F8FE8A3A4746237B]

Total time: 34 minutes 37 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any




Re: [JENKINS] Lucene-Tests-MMAP-master - Build # 225 - Failure

Posted by Michael McCandless <lu...@mikemccandless.com>.
Woops, I'll fix.

Mike McCandless

http://blog.mikemccandless.com


On Fri, Dec 16, 2016 at 4:27 PM, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> Build: https://builds.apache.org/job/Lucene-Tests-MMAP-master/225/
>
> 1 tests failed.
> FAILED:  junit.framework.TestSuite.org.apache.lucene.facet.TestFacetQuery
>
> Error Message:
> Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:   - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter   - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader
>
> Stack Trace:
> junit.framework.AssertionFailedError: Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:
>   - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter
>   - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader
>         at __randomizedtesting.SeedInfo.seed([F8FE8A3A4746237B]:0)
>         at com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:146)
>         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:43)
>         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
>         at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
>         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at java.security.AccessControlContext.checkPermission(AccessControlContext.java: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(RamUsageEstimator.java:585)
>         at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$2.run(RamUsageEstimator.java:582)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.createCacheEntry(RamUsageEstimator.java:582)
>         at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.measureSizeOf(RamUsageEstimator.java:545)
>         at com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.sizeOfAll(RamUsageEstimator.java:387)
>         at com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:129)
>         ... 10 more
>
>
>
>
> Build Log:
> [...truncated 6702 lines...]
>    [junit4] Suite: org.apache.lucene.facet.TestFacetQuery
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {$facets=BlockTreeOrds(blocksize=128), Hello=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))}, docValues:{$facets=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=1809, maxMBSortInHeap=7.911551045518415, sim=RandomSimilarity(queryNorm=false): {Hello=DFR I(ne)B1, $facets=DFR I(F)B2}, locale=sr-Latn-BA, timezone=Antarctica/DumontDUrville
>    [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=196624544,total=342360064
>    [junit4]   2> NOTE: All tests run in this JVM: [TestDirectoryTaxonomyWriter, TestDirectoryTaxonomyReader, TestConcurrentFacetedIndexing, TestFacetQuery]
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestFacetQuery -Dtests.seed=F8FE8A3A4746237B -Dtests.multiplier=2 -Dtests.slow=true -Dtests.directory=MMapDirectory -Dtests.locale=sr-Latn-BA -Dtests.timezone=Antarctica/DumontDUrville -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   0.00s J2 | TestFacetQuery (suite) <<<
>    [junit4]    > Throwable #1: junit.framework.AssertionFailedError: Clean up static fields (in @AfterClass?) and null them, your test still has references to classes of which the sizes cannot be measured due to security restrictions or Java 9 module encapsulation:
>    [junit4]    >   - private static org.apache.lucene.index.RandomIndexWriter org.apache.lucene.facet.TestFacetQuery.indexWriter
>    [junit4]    >   - private static org.apache.lucene.index.IndexReader org.apache.lucene.facet.TestFacetQuery.indexReader
>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([F8FE8A3A4746237B]:0)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]    > Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>    [junit4]    >        at java.security.AccessControlContext.checkPermission(AccessControlContext.java: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]    >        ... 10 more
>    [junit4] Completed [10/24 (1!)] on J2 in 0.56s, 2 tests, 1 failure <<< FAILURES!
>
> [...truncated 53 lines...]
> BUILD FAILED
> /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/build.xml:478: The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:2177: The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/module-build.xml:58: The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:1443: The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Tests-MMAP-master/lucene/common-build.xml:984: There were test failures: 24 suites, 155 tests, 1 suite-level error [seed: F8FE8A3A4746237B]
>
> Total time: 34 minutes 37 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org