I opened https://issues.apache.org/jira/browse/LUCENE-5724
Mike McCandless http://blog.mikemccandless.com On Sun, Jun 1, 2014 at 4:56 AM, Michael McCandless <[email protected]> wrote: > Now why on earth is this test using RAMDirectory .... > > I'll dig. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Sun, Jun 1, 2014 at 4:28 AM, Apache Jenkins Server > <[email protected]> wrote: >> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-4.x/561/ >> >> 1 tests failed. >> REGRESSION: org.apache.lucene.index.Test2BPostings.test >> >> Error Message: >> Java heap space >> >> Stack Trace: >> java.lang.OutOfMemoryError: Java heap space >> at >> __randomizedtesting.SeedInfo.seed([33378E77AE43B10B:BB63B1AD00BFDCF3]:0) >> at org.apache.lucene.store.RAMFile.newBuffer(RAMFile.java:77) >> at org.apache.lucene.store.RAMFile.addBuffer(RAMFile.java:50) >> at >> org.apache.lucene.store.RAMOutputStream.switchCurrentBuffer(RAMOutputStream.java:172) >> at >> org.apache.lucene.store.RAMOutputStream.writeBytes(RAMOutputStream.java:158) >> at >> org.apache.lucene.store.MockIndexOutputWrapper.writeBytes(MockIndexOutputWrapper.java:131) >> at >> org.apache.lucene.store.CompoundFileWriter$DirectCFSIndexOutput.writeBytes(CompoundFileWriter.java:365) >> at org.apache.lucene.store.DataOutput.copyBytes(DataOutput.java:255) >> at org.apache.lucene.store.Directory.copy(Directory.java:195) >> at >> org.apache.lucene.store.MockDirectoryWrapper.copy(MockDirectoryWrapper.java:954) >> at >> org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:50) >> at >> org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4673) >> at >> org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:485) >> at >> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:452) >> at >> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:502) >> at >> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:374) >> at >> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:466) >> at >> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1498) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1213) >> at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1194) >> at >> org.apache.lucene.index.Test2BPostings.test(Test2BPostings.java:77) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) >> at >> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >> at >> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) >> at >> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >> at >> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >> >> >> >> >> Build Log: >> [...truncated 865 lines...] >> [junit4] Suite: org.apache.lucene.index.Test2BPostings >> [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=Test2BPostings >> -Dtests.method=test -Dtests.seed=33378E77AE43B10B -Dtests.multiplier=2 >> -Dtests.nightly=true -Dtests.slow=true >> -Dtests.linedocsfile=/home/hudson/lucene-data/enwiki.random.lines.txt >> -Dtests.locale=sl -Dtests.timezone=America/Argentina/ComodRivadavia >> -Dtests.file.encoding=UTF-8 >> [junit4] ERROR 699s J0 | Test2BPostings.test <<< >> [junit4] > Throwable #1: java.lang.OutOfMemoryError: Java heap space >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([33378E77AE43B10B:BB63B1AD00BFDCF3]:0) >> [junit4] > at >> org.apache.lucene.store.RAMFile.newBuffer(RAMFile.java:77) >> [junit4] > at >> org.apache.lucene.store.RAMFile.addBuffer(RAMFile.java:50) >> [junit4] > at >> org.apache.lucene.store.RAMOutputStream.switchCurrentBuffer(RAMOutputStream.java:172) >> [junit4] > at >> org.apache.lucene.store.RAMOutputStream.writeBytes(RAMOutputStream.java:158) >> [junit4] > at >> org.apache.lucene.store.MockIndexOutputWrapper.writeBytes(MockIndexOutputWrapper.java:131) >> [junit4] > at >> org.apache.lucene.store.CompoundFileWriter$DirectCFSIndexOutput.writeBytes(CompoundFileWriter.java:365) >> [junit4] > at >> org.apache.lucene.store.DataOutput.copyBytes(DataOutput.java:255) >> [junit4] > at >> org.apache.lucene.store.Directory.copy(Directory.java:195) >> [junit4] > at >> org.apache.lucene.store.MockDirectoryWrapper.copy(MockDirectoryWrapper.java:954) >> [junit4] > at >> org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:50) >> [junit4] > at >> org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4673) >> [junit4] > at >> org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:485) >> [junit4] > at >> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:452) >> [junit4] > at >> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:502) >> [junit4] > at >> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:374) >> [junit4] > at >> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:466) >> [junit4] > at >> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1498) >> [junit4] > at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1213) >> [junit4] > at >> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1194) >> [junit4] > at >> org.apache.lucene.index.Test2BPostings.test(Test2BPostings.java:77) >> [junit4] 2> NOTE: leaving temporary files on disk at: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/build/core/test/J0/./lucene.index.Test2BPostings-33378E77AE43B10B-001 >> [junit4] 2> NOTE: test params are: codec=Lucene40, >> sim=DefaultSimilarity, locale=sl, timezone=America/Argentina/ComodRivadavia >> [junit4] 2> NOTE: FreeBSD 9.1-RELEASE-p3 amd64/Oracle Corporation >> 1.7.0_25 (64-bit)/cpus=16,threads=1,free=456127264,total=468320256 >> [junit4] 2> NOTE: All tests run in this JVM: [TestTransactionRollback, >> TestPhrasePrefixQuery, TestPrefixInBooleanQuery, TestMultiTermQueryRewrites, >> TestVirtualMethod, TestFilterIterator, TestDeterminizeLexicon, >> TestLucene45DocValuesFormat, TestMultiLevelSkipList, TestCustomNorms, >> Test2BSortedDocValues, TestDocTermOrds, TestTermRangeFilter, >> TestSpanFirstQuery, TestRegexpQuery, TestCachingWrapperFilter, >> TestAllFilesHaveCodecHeader, TestParallelTermEnum, TestShardSearching, >> TestReuseDocsEnum, TestTermsEnum, TestSortRandom, TestBooleanMinShouldMatch, >> TestArrayUtil, TestLucene41StoredFieldsFormat, TestMmapDirectory, >> TestRollback, TestTermsEnum2, TestMockAnalyzer, TestBroadWord, >> TestSloppyPhraseQuery2, TestSizeBoundedForceMerge, >> TestIndexWriterOnDiskFull, TestFieldCacheTermsFilter, TestStressIndexing2, >> Test2BTerms, TestFastCompressionMode, TestTryDelete, TestFieldReuse, >> TestSort, TestPayloads, Nested, Nested, Nested, Nested, Nested, Nested, >> Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, >> Nested, Nested, Nested, Nested, Nested, Nested, TestCustomSearcherSort, >> TestSameTokenSamePosition, TestIndexableBinaryStringTools, TestTermdocPerf, >> TestDeterminism, TestIndexWriterExceptions2, Test2BBinaryDocValues, >> TestDirectoryReader, TestTimSorter, TestSimpleExplanationsOfNonMatches, >> TestOmitTf, TestDocValuesWithThreads, TestVersion, >> TestMultiTermConstantScore, TestPostingsFormat, TestStressIndexing, >> TestSpansAdvanced2, TestCompiledAutomaton, TestByteSlices, >> TestPositiveScoresOnlyCollector, TestEliasFanoSequence, >> TestComplexExplanationsOfNonMatches, TestBytesRefHash, TestPagedBytes, >> TestSimpleExplanations, TestBinaryDocument, TestFileSwitchDirectory, >> TestSentinelIntSet, TestRollingBuffer, TestUTF32ToUTF8, >> FuzzyTermOnShortTermsTest, TestPhraseQuery, Test2BPostings] >> [junit4] Completed on J0 in 699.04s, 1 test, 1 error <<< FAILURES! >> >> [...truncated 855 lines...] >> [junit4] JVM J0: stdout was not empty, see: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/build/core/test/temp/junit4-J0-20140601_065554_386.sysout >> [junit4] >>> JVM J0: stdout (verbatim) ---- >> [junit4] java.lang.OutOfMemoryError: Java heap space >> [junit4] Dumping heap to >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/heapdumps/java_pid5079.hprof >> ... >> [junit4] Heap dump file created [425665048 bytes in 0.706 secs] >> [junit4] <<< JVM J0: EOF ---- >> >> [...truncated 9 lines...] >> BUILD FAILED >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/build.xml:474: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/build.xml:447: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/build.xml:45: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/extra-targets.xml:37: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/build.xml:49: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:1297: >> The following error occurred while executing this line: >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:921: >> There were test failures: 405 suites, 3219 tests, 1 error, 78 ignored (68 >> assumptions) >> >> Total time: 92 minutes 9 seconds >> Build step 'Invoke Ant' marked build as failure >> Archiving artifacts >> Recording test results >> Email was triggered for: Failure >> Sending email for trigger: Failure >> >> >> >> >> --------------------------------------------------------------------- >> 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]
