I fixed TestMockDirectoryWrapper already. The TestLatLonShapeQueries.testRandomBig OOM I don't know about - perhaps we'd have to decrease the size of this test?
D. D. On Wed, Jul 25, 2018 at 2:07 PM Apache Jenkins Server <[email protected]> wrote: > > Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-7.x/270/ > > 2 tests failed. > FAILED: > org.apache.lucene.store.TestMockDirectoryWrapper.testThreadSafetyInListAll > > Error Message: > Captured an uncaught exception in thread: Thread[id=607, name=Thread-582, > state=RUNNABLE, group=TGRP-TestMockDirectoryWrapper] > > Stack Trace: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=607, name=Thread-582, state=RUNNABLE, > group=TGRP-TestMockDirectoryWrapper] > at > __randomizedtesting.SeedInfo.seed([BDA551E5D65E7EDF:A6B9CE3923A6EBA8]:0) > Caused by: java.io.UncheckedIOException: Something went wrong when opening: > file-0 > at __randomizedtesting.SeedInfo.seed([BDA551E5D65E7EDF]:0) > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$11(BaseDirectoryTestCase.java:446) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.io.IOException: MockDirectoryWrapper: file "file-0" is still > open for writing > at > org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:752) > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$11(BaseDirectoryTestCase.java:440) > ... 1 more > Caused by: java.lang.RuntimeException: unclosed IndexOutput: file-0 > at > org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:729) > at > org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:668) > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$8(BaseDirectoryTestCase.java:416) > ... 1 more > > > FAILED: org.apache.lucene.document.TestLatLonShapeQueries.testRandomBig > > Error Message: > Java heap space > > Stack Trace: > java.lang.OutOfMemoryError: Java heap space > at > __randomizedtesting.SeedInfo.seed([500649313F881BC1:D75134BEAED16741]:0) > at java.lang.Double.valueOf(Double.java:519) > at > org.apache.lucene.geo.GeoTestUtil.surpriseMePolygon(GeoTestUtil.java:505) > at org.apache.lucene.geo.GeoTestUtil.nextPolygon(GeoTestUtil.java:390) > at > org.apache.lucene.document.TestLatLonShapeQueries.doTestRandom(TestLatLonShapeQueries.java:126) > at > org.apache.lucene.document.TestLatLonShapeQueries.testRandomBig(TestLatLonShapeQueries.java:106) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984) > at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > > > > > Build Log: > [...truncated 2659 lines...] > [junit4] Suite: org.apache.lucene.store.TestMockDirectoryWrapper > [junit4] IGNOR/A 0.00s J1 | > TestMockDirectoryWrapper.testFsyncDoesntCreateNewFiles > [junit4] > Assumption #1: test only works for FSDirectory subclasses > [junit4] IGNOR/A 0.00s J1 | TestMockDirectoryWrapper.testPendingDeletions > [junit4] > Assumption #1: we can only install VirusCheckingFS on an > FSDirectory > [junit4] 2> NOTE: download the large Jenkins line-docs file by running > 'ant get-jenkins-line-docs' in the lucene directory. > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestMockDirectoryWrapper -Dtests.method=testThreadSafetyInListAll > -Dtests.seed=BDA551E5D65E7EDF -Dtests.multiplier=2 -Dtests.nightly=true > -Dtests.slow=true > -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/test-data/enwiki.random.lines.txt > -Dtests.locale=it-IT -Dtests.timezone=CNT -Dtests.asserts=true > -Dtests.file.encoding=US-ASCII > [junit4] ERROR 0.23s J1 | > TestMockDirectoryWrapper.testThreadSafetyInListAll <<< > [junit4] > Throwable #1: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=607, name=Thread-582, state=RUNNABLE, > group=TGRP-TestMockDirectoryWrapper] > [junit4] > at > __randomizedtesting.SeedInfo.seed([BDA551E5D65E7EDF:A6B9CE3923A6EBA8]:0) > [junit4] > Caused by: java.io.UncheckedIOException: Something went > wrong when opening: file-0 > [junit4] > at > __randomizedtesting.SeedInfo.seed([BDA551E5D65E7EDF]:0) > [junit4] > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$11(BaseDirectoryTestCase.java:446) > [junit4] > at java.lang.Thread.run(Thread.java:748) > [junit4] > Caused by: java.io.IOException: MockDirectoryWrapper: file > "file-0" is still open for writing > [junit4] > at > org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:752) > [junit4] > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$11(BaseDirectoryTestCase.java:440) > [junit4] > ... 1 more > [junit4] > Caused by: java.lang.RuntimeException: unclosed IndexOutput: > file-0 > [junit4] > at > org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:729) > [junit4] > at > org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:668) > [junit4] > at > org.apache.lucene.store.BaseDirectoryTestCase.lambda$testThreadSafetyInListAll$8(BaseDirectoryTestCase.java:416) > [junit4] > ... 1 more > [junit4] 2> NOTE: test params are: codec=Lucene70, > sim=RandomSimilarity(queryNorm=false): {}, locale=it-IT, timezone=CNT > [junit4] 2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation > 1.8.0_172 (64-bit)/cpus=4,threads=1,free=277401384,total=326631424 > [junit4] 2> NOTE: All tests run in this JVM: [TestMockAnalyzer, > TestRamUsageTesterOnWildAnimals, TestLeakFS, TestGroupFiltering, Nested1, > Nested3, Nested2, TestMockDirectoryWrapper] > [junit4] Completed [15/41 (1!)] on J1 in 8.07s, 48 tests, 1 error, 2 > skipped <<< FAILURES! > > [...truncated 7571 lines...] > [junit4] Suite: org.apache.lucene.document.TestLatLonShapeQueries > [junit4] 2> NOTE: download the large Jenkins line-docs file by running > 'ant get-jenkins-line-docs' in the lucene directory. > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestLatLonShapeQueries -Dtests.method=testRandomBig > -Dtests.seed=500649313F881BC1 -Dtests.multiplier=2 -Dtests.nightly=true > -Dtests.slow=true > -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/test-data/enwiki.random.lines.txt > -Dtests.locale=pt -Dtests.timezone=Pacific/Truk -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > [junit4] ERROR 747s J0 | TestLatLonShapeQueries.testRandomBig <<< > [junit4] > Throwable #1: java.lang.OutOfMemoryError: Java heap space > [junit4] > at > __randomizedtesting.SeedInfo.seed([500649313F881BC1:D75134BEAED16741]:0) > [junit4] > at java.lang.Double.valueOf(Double.java:519) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.surpriseMePolygon(GeoTestUtil.java:505) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.nextPolygon(GeoTestUtil.java:390) > [junit4] > at > org.apache.lucene.document.TestLatLonShapeQueries.doTestRandom(TestLatLonShapeQueries.java:126) > [junit4] > at > org.apache.lucene.document.TestLatLonShapeQueries.testRandomBig(TestLatLonShapeQueries.java:106) > [junit4] 2> NOTE: leaving temporary files on disk at: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/lucene/build/sandbox/test/J0/temp/lucene.document.TestLatLonShapeQueries_500649313F881BC1-001 > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene70): > {id=BlockTreeOrds(blocksize=128)}, > docValues:{shape=DocValuesFormat(name=Memory), > id=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=175, > maxMBSortInHeap=6.838469249795862, sim=RandomSimilarity(queryNorm=true): {}, > locale=pt, timezone=Pacific/Truk > [junit4] 2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation > 1.8.0_172 (64-bit)/cpus=4,threads=1,free=106781984,total=243269632 > [junit4] 2> NOTE: All tests run in this JVM: [TestLatLonPoint, > TestDocValuesNumbersQuery, TestLatLonShapeQueries] > [junit4] Completed [22/24 (1!)] on J0 in 862.19s, 3 tests, 1 error <<< > FAILURES! > > [...truncated 4 lines...] > [junit4] JVM J0: stdout was not empty, see: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/lucene/build/sandbox/test/temp/junit4-J0-20180725_094928_8213644561931018444755.sysout > [junit4] >>> JVM J0 emitted unexpected output (verbatim) ---- > [junit4] java.lang.OutOfMemoryError: Java heap space > [junit4] Dumping heap to > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/heapdumps/java_pid14951.hprof > ... > [junit4] Heap dump file created [506362711 bytes in 2.475 secs] > [junit4] <<< JVM J0: EOF ---- > > [...truncated 14391 lines...] > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/build.xml:651: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/build.xml:585: > Some of the tests produced a heap dump, but did not fail. Maybe a suppressed > OutOfMemoryError? Dumps created: > * java_pid14951.hprof > > Total time: 343 minutes 25 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: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
