I'll fix ... test should not be using a RAMDir :) Mike McCandless
http://blog.mikemccandless.com On Fri, Oct 16, 2015 at 11:24 AM, Apache Jenkins Server <jenk...@builds.apache.org> wrote: > Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/823/ > > 1 tests failed. > FAILED: org.apache.lucene.util.TestOfflineSorter.testLargerRandom > > Error Message: > Java heap space > > Stack Trace: > java.lang.OutOfMemoryError: Java heap space > at > __randomizedtesting.SeedInfo.seed([3981AB846E3D92CC:D0B6A0D417D0B1C4]:0) > at org.apache.lucene.store.RAMFile.newBuffer(RAMFile.java:78) > at org.apache.lucene.store.RAMFile.addBuffer(RAMFile.java:51) > at > org.apache.lucene.store.RAMOutputStream.switchCurrentBuffer(RAMOutputStream.java:164) > at > org.apache.lucene.store.RAMOutputStream.writeBytes(RAMOutputStream.java:150) > at > org.apache.lucene.util.OfflineSorter$ByteSequencesWriter.write(OfflineSorter.java:434) > at > org.apache.lucene.util.OfflineSorter$ByteSequencesWriter.write(OfflineSorter.java:409) > at > org.apache.lucene.util.OfflineSorter.sortPartition(OfflineSorter.java:297) > at org.apache.lucene.util.OfflineSorter.sort(OfflineSorter.java:244) > at > org.apache.lucene.util.TestOfflineSorter.checkSort(TestOfflineSorter.java:144) > at > org.apache.lucene.util.TestOfflineSorter.testLargerRandom(TestOfflineSorter.java:101) > 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:497) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1665) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:864) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:900) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:914) > 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) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:809) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:460) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:873) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:775) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:809) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:820) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) > > > > > Build Log: > [...truncated 1761 lines...] > [junit4] Suite: org.apache.lucene.util.TestOfflineSorter > [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=TestOfflineSorter > -Dtests.method=testLargerRandom -Dtests.seed=3981AB846E3D92CC > -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true > -Dtests.linedocsfile=/x1/jenkins/lucene-data/enwiki.random.lines.txt > -Dtests.locale=es_GT -Dtests.timezone=Pacific/Johnston -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > [junit4] ERROR 12.1s J1 | TestOfflineSorter.testLargerRandom <<< > [junit4] > Throwable #1: java.lang.OutOfMemoryError: Java heap space > [junit4] > at > __randomizedtesting.SeedInfo.seed([3981AB846E3D92CC:D0B6A0D417D0B1C4]:0) > [junit4] > at > org.apache.lucene.store.RAMFile.newBuffer(RAMFile.java:78) > [junit4] > at > org.apache.lucene.store.RAMFile.addBuffer(RAMFile.java:51) > [junit4] > at > org.apache.lucene.store.RAMOutputStream.switchCurrentBuffer(RAMOutputStream.java:164) > [junit4] > at > org.apache.lucene.store.RAMOutputStream.writeBytes(RAMOutputStream.java:150) > [junit4] > at > org.apache.lucene.util.OfflineSorter$ByteSequencesWriter.write(OfflineSorter.java:434) > [junit4] > at > org.apache.lucene.util.OfflineSorter$ByteSequencesWriter.write(OfflineSorter.java:409) > [junit4] > at > org.apache.lucene.util.OfflineSorter.sortPartition(OfflineSorter.java:297) > [junit4] > at > org.apache.lucene.util.OfflineSorter.sort(OfflineSorter.java:244) > [junit4] > at > org.apache.lucene.util.TestOfflineSorter.checkSort(TestOfflineSorter.java:144) > [junit4] > at > org.apache.lucene.util.TestOfflineSorter.testLargerRandom(TestOfflineSorter.java:101) > [junit4] 2> NOTE: leaving temporary files on disk at: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build/core/test/J1/temp/lucene.util.TestOfflineSorter_3981AB846E3D92CC-001 > [junit4] 2> NOTE: test params are: codec=CheapBastard, > sim=ClassicSimilarity, locale=es_GT, timezone=Pacific/Johnston > [junit4] 2> NOTE: Linux 3.13.0-52-generic amd64/Oracle Corporation > 1.8.0_45 (64-bit)/cpus=4,threads=1,free=333390128,total=477626368 > [junit4] 2> NOTE: All tests run in this JVM: [TestSameScoresWithThreads, > TestDocIdSetBuilder, TestOmitTf, TestPerFieldDocValuesFormat, > TestByteArrayDataInput, TestNumericUtils, TestDocValuesRewriteMethod, > LimitedFiniteStringsIteratorTest, TestTerms, TestTerm, Test2BPostings, > TestBooleanQueryVisitSubscorers, TestTimSorterWorstCase, TestDuelingCodecs, > TestOmitPositions, TestAutomaton, TestSearch, TestNotDocIdSet, > TestFilterDirectoryReader, TestScorerPerf, TestDocument, > TestNoMergeScheduler, TestPriorityQueue, TestBagOfPostings, > TestMultiCollector, TestFilterLeafReader, TestPhrasePrefixQuery, > TestFieldsReader, TestOmitNorms, TestCollectionUtil, TestBoolean2, > TestIndexWriterExceptions, TestBooleanQuery, TestDirectoryReaderReopen, > TestTopFieldCollector, TestRecyclingByteBlockAllocator, TestSubScorerFreqs, > TestSpanSearchEquivalence, TestAddIndexes, TestMutableValues, > TestAllFilesHaveCodecHeader, TestByteSlices, TestFSTs, > TestReaderWrapperDVTypeCheck, TestWindowsMMap, TestNRTCachingDirectory, > TestIntsRef, TestSimpleFSLockFactory, TestDirectory, TestCodecHoldsOpenFiles, > TestSearchForDuplicates, TestSimilarityProvider, TestIndexWriterMaxDocs, > TestNRTReaderWithThreads, TestCharFilter, TestSimpleExplanationsOfNonMatches, > TestSearchAfter, TestFilterSpans, TestInPlaceMergeSorter, > TestDocumentsWriterStallControl, TestLucene50CompoundFormat, > TestSortedNumericSortField, TestStressAdvance, TestMaxPosition, TestNot, > TestIOUtils, TestDocumentsWriterDeleteQueue, TestLucene50FieldInfoFormat, > TestLucene50SegmentInfoFormat, TestLucene50StoredFieldsFormatHighCompression, > TestLucene53NormsFormat, TestIndexWriterThreadsToSegments, > TestEarlyTermination, TestFieldValueQuery, TestIndexSearcher, > TestLRUQueryCache, TestMatchNoDocsQuery, TestMultiPhraseEnum, TestMultiset, > TestQueryCachingPolicy, TestQueryRescorer, TestSortRescorer, > TestSortedSetSortField, TestSynonymQuery, > TestUsageTrackingFilterCachingPolicy, TestClassicSimilarity, > TestSpanCollection, TestSpanNearQuery, TestSpanNotQuery, TestSpanOrQuery, > TestSpanTermQuery, TestSpansEnum, TestBufferedChecksum, TestMmapDirectory, > TestNIOFSDirectory, TestNativeFSLockFactory, TestRateLimiter, > TestSimpleFSDirectory, TestSleepingLockWrapper, TestTrackingDirectoryWrapper, > TestFrequencyTrackingRingBuffer, TestIntArrayDocIdSet, TestLSBRadixSorter, > TestLongBitSet, TestMergedIterator, TestOfflineSorter] > [junit4] Completed [397/398] on J1 in 20.25s, 7 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/core/test/temp/junit4-J1-20151016_102819_579.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_pid19384.hprof > ... > [junit4] Heap dump file created [426142380 bytes in 0.845 secs] > [junit4] <<< JVM J1: EOF ---- > > [...truncated 13 lines...] > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:782: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:719: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:59: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build.xml:50: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:1432: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:987: > There were test failures: 398 suites (1 ignored), 3227 tests, 1 error, 25 > ignored (21 assumptions) [seed: 3981AB846E3D92CC] > > Total time: 54 minutes 39 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 - Any > Sending email for trigger: Failure - Any > > > > > --------------------------------------------------------------------- > 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