Thanks Adrien!

Mike McCandless

http://blog.mikemccandless.com


On Fri, Jun 26, 2015 at 5:25 AM, Adrien Grand <jpou...@gmail.com> wrote:
> I was afraid it might be related to the other failure since it also
> uses DirectPostingsFormat but it looks unrelated. DirectPostingsFormat
> is just too wasteful for the amount of data that is indexed in this
> test, I changed the test to use the default codec when it indexes a
> lot of data (at the same place where it already forced using a
> FS-based directory and not RAMDirectory).
>
> On Fri, Jun 26, 2015 at 6:20 AM, Apache Jenkins Server
> <jenk...@builds.apache.org> wrote:
>> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/723/
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.search.TestGeoPointQuery.testRandomBig
>>
>> Error Message:
>> Java heap space
>>
>> Stack Trace:
>> java.lang.OutOfMemoryError: Java heap space
>>         at 
>> __randomizedtesting.SeedInfo.seed([6B911B594745C33D:ECC666D6D61CBFBD]:0)
>>         at org.apache.lucene.util.ArrayUtil.grow(ArrayUtil.java:345)
>>         at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat$DirectField.<init>(DirectPostingsFormat.java:352)
>>         at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat$DirectFields.<init>(DirectPostingsFormat.java:130)
>>         at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat.fieldsProducer(DirectPostingsFormat.java:114)
>>         at 
>> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:261)
>>         at 
>> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:341)
>>         at 
>> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:104)
>>         at 
>> org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:65)
>>         at 
>> org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:132)
>>         at 
>> org.apache.lucene.index.BufferedUpdatesStream$SegmentState.<init>(BufferedUpdatesStream.java:378)
>>         at 
>> org.apache.lucene.index.BufferedUpdatesStream.openSegmentStates(BufferedUpdatesStream.java:410)
>>         at 
>> org.apache.lucene.index.BufferedUpdatesStream.applyDeletesAndUpdates(BufferedUpdatesStream.java:255)
>>         at 
>> org.apache.lucene.index.IndexWriter.applyAllDeletesAndUpdates(IndexWriter.java:3046)
>>         at 
>> org.apache.lucene.index.IndexWriter.maybeApplyDeletes(IndexWriter.java:3032)
>>         at 
>> org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:432)
>>         at 
>> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:86)
>>         at 
>> org.apache.lucene.search.TestGeoPointQuery.verify(TestGeoPointQuery.java:291)
>>         at 
>> org.apache.lucene.search.TestGeoPointQuery.doTestRandom(TestGeoPointQuery.java:252)
>>         at 
>> org.apache.lucene.search.TestGeoPointQuery.testRandomBig(TestGeoPointQuery.java:183)
>>         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:483)
>>         at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
>>         at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
>>         at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
>>         at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
>>         at 
>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>         at 
>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>         at 
>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>>         at 
>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>>         at 
>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 8592 lines...]
>>    [junit4] Suite: org.apache.lucene.search.TestGeoPointQuery
>>    [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=TestGeoPointQuery -Dtests.method=testRandomBig 
>> -Dtests.seed=6B911B594745C33D -Dtests.multiplier=2 -Dtests.nightly=true 
>> -Dtests.slow=true 
>> -Dtests.linedocsfile=/x1/jenkins/lucene-data/enwiki.random.lines.txt 
>> -Dtests.locale=sl_SI -Dtests.timezone=Pacific/Auckland -Dtests.asserts=true 
>> -Dtests.file.encoding=UTF-8
>>    [junit4] ERROR    180s J1 | TestGeoPointQuery.testRandomBig <<<
>>    [junit4]    > Throwable #1: java.lang.OutOfMemoryError: Java heap space
>>    [junit4]    >        at 
>> __randomizedtesting.SeedInfo.seed([6B911B594745C33D:ECC666D6D61CBFBD]:0)
>>    [junit4]    >        at 
>> org.apache.lucene.util.ArrayUtil.grow(ArrayUtil.java:345)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat$DirectField.<init>(DirectPostingsFormat.java:352)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat$DirectFields.<init>(DirectPostingsFormat.java:130)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.memory.DirectPostingsFormat.fieldsProducer(DirectPostingsFormat.java:114)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:261)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:341)
>>    [junit4]    >        at 
>> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:104)
>>    [junit4]    >        at 
>> org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:65)
>>    [junit4]    >        at 
>> org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:132)
>>    [junit4]    >        at 
>> org.apache.lucene.index.BufferedUpdatesStream$SegmentState.<init>(BufferedUpdatesStream.java:378)
>>    [junit4]    >        at 
>> org.apache.lucene.index.BufferedUpdatesStream.openSegmentStates(BufferedUpdatesStream.java:410)
>>    [junit4]    >        at 
>> org.apache.lucene.index.BufferedUpdatesStream.applyDeletesAndUpdates(BufferedUpdatesStream.java:255)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.applyAllDeletesAndUpdates(IndexWriter.java:3046)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.maybeApplyDeletes(IndexWriter.java:3032)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:432)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:86)
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestGeoPointQuery.verify(TestGeoPointQuery.java:291)
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestGeoPointQuery.doTestRandom(TestGeoPointQuery.java:252)
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestGeoPointQuery.testRandomBig(TestGeoPointQuery.java:183)
>>    [junit4]   2> NOTE: leaving temporary files on disk at: 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build/sandbox/test/J1/temp/lucene.search.TestGeoPointQuery_6B911B594745C33D-001
>>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): 
>> {id=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128))),
>>  geoField=PostingsFormat(name=Direct)}, 
>> docValues:{id=DocValuesFormat(name=Asserting)}, sim=DefaultSimilarity, 
>> locale=sl_SI, timezone=Pacific/Auckland
>>    [junit4]   2> NOTE: Linux 3.13.0-52-generic amd64/Oracle Corporation 
>> 1.8.0_25 (64-bit)/cpus=4,threads=1,free=328368552,total=391643136
>>    [junit4]   2> NOTE: All tests run in this JVM: 
>> [TestFieldCacheTermsFilter, DuplicateFilterTest, TestGeoPointQuery]
>>    [junit4] Completed [13/15] on J1 in 228.56s, 6 tests, 1 error <<< 
>> FAILURES!
>>
>> [...truncated 1 lines...]
>>    [junit4] JVM J1: stdout was not empty, see: 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build/sandbox/test/temp/junit4-J1-20150626_001350_639.sysout
>>    [junit4] >>> JVM J1: stdout (verbatim) ----
>>    [junit4] java.lang.OutOfMemoryError: Java heap space
>>    [junit4] Dumping heap to 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/heapdumps/java_pid9631.hprof
>>  ...
>>    [junit4] Heap dump file created [567668985 bytes in 3.652 secs]
>>    [junit4] <<< JVM J1: EOF ----
>>
>> [...truncated 16 lines...]
>> BUILD FAILED
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:533:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:474:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:61:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/extra-targets.xml:39:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build.xml:467:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:2156:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/module-build.xml:58:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:1426:
>>  The following error occurred while executing this line:
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:981:
>>  There were test failures: 15 suites, 90 tests, 1 error
>>
>> Total time: 112 minutes 36 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> No prior successful build to compare, so performing full copy of artifacts
>> Recording test results
>> Email was triggered for: Failure
>> Sending email for trigger: Failure
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

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

Reply via email to