this is an endless merge loop due to merge policy accounting issues
that were not implemented yet. I opened
https://issues.apache.org/jira/browse/LUCENE-8246

On Mon, Apr 9, 2018 at 12:19 PM, Simon Willnauer
<simon.willna...@gmail.com> wrote:
> I am looking into this
>
> On Mon, Apr 9, 2018 at 12:06 PM, Apache Jenkins Server
> <jenk...@builds.apache.org> wrote:
>> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-7.x/196/
>>
>> 5 tests failed.
>> FAILED:  
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy.testSoftDeleteWithRetention
>>
>> Error Message:
>> GC overhead limit exceeded
>>
>> Stack Trace:
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at 
>> __randomizedtesting.SeedInfo.seed([248C95A59BE17434:3432A38A78701E91]:0)
>>         at java.util.HashMap$KeySet.iterator(HashMap.java:917)
>>         at java.util.HashSet.iterator(HashSet.java:173)
>>         at 
>> org.apache.lucene.index.IndexWriter.maxNumSegmentsMergesPending(IndexWriter.java:2216)
>>         at 
>> org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:2190)
>>         at 
>> org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:2119)
>>         at 
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy.testSoftDeleteWithRetention(TestSoftDeletesRetentionMergePolicy.java:266)
>>         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)
>>
>>
>> FAILED:  
>> junit.framework.TestSuite.org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy
>>
>> Error Message:
>> 2 threads leaked from SUITE scope at 
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy:     1) 
>> Thread[id=289762, name=Lucene Merge Thread #281215, state=RUNNABLE, 
>> group=TGRP-TestSoftDeletesRetentionMergePolicy]         at 
>> java.lang.Thread.yield(Native Method)         at 
>> org.apache.lucene.store.MockDirectoryWrapper.maybeYield(MockDirectoryWrapper.java:626)
>>          at 
>> org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:644)
>>          at 
>> org.apache.lucene.store.LockValidatingDirectoryWrapper.createOutput(LockValidatingDirectoryWrapper.java:44)
>>          at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$1.createOutput(ConcurrentMergeScheduler.java:288)
>>          at 
>> org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:43)
>>          at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.finish(Lucene60PointsWriter.java:243)
>>          at 
>> org.apache.lucene.codecs.PointsWriter.merge(PointsWriter.java:189)         
>> at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.merge(Lucene60PointsWriter.java:144)
>>          at 
>> org.apache.lucene.index.SegmentMerger.mergePoints(SegmentMerger.java:187)    
>>      at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:136)  
>>        at 
>> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4483)       
>>   at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4144)        
>>  at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>          at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>
>> Stack Trace:
>> com.carrotsearch.randomizedtesting.ThreadLeakError: 2 threads leaked from 
>> SUITE scope at org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy:
>>    1) Thread[id=289762, name=Lucene Merge Thread #281215, state=RUNNABLE, 
>> group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>         at java.lang.Thread.yield(Native Method)
>>         at 
>> org.apache.lucene.store.MockDirectoryWrapper.maybeYield(MockDirectoryWrapper.java:626)
>>         at 
>> org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:644)
>>         at 
>> org.apache.lucene.store.LockValidatingDirectoryWrapper.createOutput(LockValidatingDirectoryWrapper.java:44)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$1.createOutput(ConcurrentMergeScheduler.java:288)
>>         at 
>> org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:43)
>>         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.finish(Lucene60PointsWriter.java:243)
>>         at org.apache.lucene.codecs.PointsWriter.merge(PointsWriter.java:189)
>>         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.merge(Lucene60PointsWriter.java:144)
>>         at 
>> org.apache.lucene.index.SegmentMerger.mergePoints(SegmentMerger.java:187)
>>         at 
>> org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:136)
>>         at 
>> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4483)
>>         at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4144)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>         at __randomizedtesting.SeedInfo.seed([248C95A59BE17434]:0)
>>
>>
>> FAILED:  
>> org.apache.lucene.search.TestCustomSearcherSort.testFieldSortCustomSearcher
>>
>> Error Message:
>> GC overhead limit exceeded
>>
>> Stack Trace:
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at 
>> org.apache.lucene.util.packed.PackedLongValues$Iterator.<init>(PackedLongValues.java:131)
>>         at 
>> org.apache.lucene.util.packed.PackedLongValues.iterator(PackedLongValues.java:120)
>>         at 
>> org.apache.lucene.index.SortedDocValuesWriter$BufferedSortedDocValues.<init>(SortedDocValuesWriter.java:194)
>>         at 
>> org.apache.lucene.index.SortedDocValuesWriter$1.getSorted(SortedDocValuesWriter.java:171)
>>         at 
>> org.apache.lucene.codecs.lucene70.Lucene70DocValuesConsumer.doAddSortedField(Lucene70DocValuesConsumer.java:413)
>>         at 
>> org.apache.lucene.codecs.lucene70.Lucene70DocValuesConsumer.addSortedField(Lucene70DocValuesConsumer.java:394)
>>         at 
>> org.apache.lucene.codecs.asserting.AssertingDocValuesFormat$AssertingDocValuesConsumer.addSortedField(AssertingDocValuesFormat.java:141)
>>         at 
>> org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addSortedField(PerFieldDocValuesFormat.java:119)
>>         at 
>> org.apache.lucene.index.SortedDocValuesWriter.flush(SortedDocValuesWriter.java:163)
>>         at 
>> org.apache.lucene.index.DefaultIndexingChain.writeDocValues(DefaultIndexingChain.java:248)
>>         at 
>> org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:132)
>>         at 
>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:463)
>>         at 
>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:556)
>>         at 
>> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:416)
>>         at 
>> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:517)
>>         at 
>> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1776)
>>         at 
>> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1468)
>>         at 
>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:185)
>>         at 
>> org.apache.lucene.search.TestCustomSearcherSort.setUp(TestCustomSearcherSort.java:70)
>>         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$9.evaluate(RandomizedRunner.java:968)
>>         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)
>>
>>
>> FAILED:  
>> org.apache.lucene.search.TestCustomSearcherSort.testFieldSortSingleSearcher
>>
>> Error Message:
>> GC overhead limit exceeded
>>
>> Stack Trace:
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at java.util.Arrays.copyOf(Arrays.java:3332)
>>         at 
>> java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
>>         at 
>> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
>>         at java.lang.StringBuilder.append(StringBuilder.java:136)
>>         at java.lang.StringBuilder.append(StringBuilder.java:131)
>>         at 
>> org.apache.lucene.index.IndexWriterConfig.toString(IndexWriterConfig.java:480)
>>         at 
>> org.apache.lucene.util.LuceneTestCase.maybeChangeLiveIndexWriterConfig(LuceneTestCase.java:1157)
>>         at 
>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:148)
>>         at 
>> org.apache.lucene.search.TestCustomSearcherSort.setUp(TestCustomSearcherSort.java:70)
>>         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$9.evaluate(RandomizedRunner.java:968)
>>         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)
>>
>>
>> FAILED:  
>> junit.framework.TestSuite.org.apache.lucene.search.TestCustomSearcherSort
>>
>> Error Message:
>> Captured an uncaught exception in thread: Thread[id=289802, name=Lucene 
>> Merge Thread #281253, state=RUNNABLE, 
>> group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>
>> Stack Trace:
>> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
>> uncaught exception in thread: Thread[id=289802, name=Lucene Merge Thread 
>> #281253, state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>         at __randomizedtesting.SeedInfo.seed([248C95A59BE17434]:0)
>> Caused by: org.apache.lucene.index.MergePolicy$MergeException: 
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:704)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:684)
>>         Suppressed: java.lang.IllegalStateException: No context information 
>> for thread: Thread[id=289802, name=Lucene Merge Thread #281253, 
>> state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]. Is this 
>> thread running under a class 
>> com.carrotsearch.randomizedtesting.RandomizedRunner runner context? Add 
>> @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to 
>> your test class. Make sure your code accesses random contexts within 
>> @BeforeClass and @AfterClass boundary (for example, static test class 
>> initializers are not permitted to access random contexts).
>>                 at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:248)
>>                 at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:134)
>>                 at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner.augmentStackTrace(RandomizedRunner.java:1872)
>>                 at 
>> com.carrotsearch.randomizedtesting.RunnerThreadGroup.uncaughtException(RunnerThreadGroup.java:20)
>>                 at 
>> java.lang.Thread.dispatchUncaughtException(Thread.java:1959)
>> Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at 
>> org.apache.lucene.index.BufferedUpdatesStream.waitApplyForMerge(BufferedUpdatesStream.java:202)
>>         at 
>> org.apache.lucene.index.IndexWriter.mergeInit(IndexWriter.java:4282)
>>         at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4138)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 1880 lines...]
>>    [junit4] Suite: 
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy
>>    [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=TestSoftDeletesRetentionMergePolicy 
>> -Dtests.method=testSoftDeleteWithRetention -Dtests.seed=248C95A59BE17434 
>> -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=sr-Latn -Dtests.timezone=Etc/GMT-0 -Dtests.asserts=true 
>> -Dtests.file.encoding=ISO-8859-1
>>    [junit4] ERROR   3948s J1 | 
>> TestSoftDeletesRetentionMergePolicy.testSoftDeleteWithRetention <<<
>>    [junit4]    > Throwable #1: java.lang.OutOfMemoryError: GC overhead limit 
>> exceeded
>>    [junit4]    >        at 
>> __randomizedtesting.SeedInfo.seed([248C95A59BE17434:3432A38A78701E91]:0)
>>    [junit4]    >        at 
>> java.util.HashMap$KeySet.iterator(HashMap.java:917)
>>    [junit4]    >        at java.util.HashSet.iterator(HashSet.java:173)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.maxNumSegmentsMergesPending(IndexWriter.java:2216)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:2190)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:2119)
>>    [junit4]    >        at 
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy.testSoftDeleteWithRetention(TestSoftDeletesRetentionMergePolicy.java:266)
>>    [junit4]   2> NOTE: leaving temporary files on disk at: 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/lucene/build/core/test/J1/temp/lucene.index.TestSoftDeletesRetentionMergePolicy_248C95A59BE17434-001
>>    [junit4]   2> Apr 09, 2018 7:11:50 AM 
>> com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
>>    [junit4]   2> WARNING: Will linger awaiting termination of 1 leaked 
>> thread(s).
>>    [junit4]   2> Apr 09, 2018 7:12:11 AM 
>> com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
>>    [junit4]   2> SEVERE: 2 threads leaked from SUITE scope at 
>> org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy:
>>    [junit4]   2>    1) Thread[id=289762, name=Lucene Merge Thread #281215, 
>> state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>    [junit4]   2>         at java.lang.Thread.yield(Native Method)
>>    [junit4]   2>         at 
>> org.apache.lucene.store.MockDirectoryWrapper.maybeYield(MockDirectoryWrapper.java:626)
>>    [junit4]   2>         at 
>> org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:644)
>>    [junit4]   2>         at 
>> org.apache.lucene.store.LockValidatingDirectoryWrapper.createOutput(LockValidatingDirectoryWrapper.java:44)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$1.createOutput(ConcurrentMergeScheduler.java:288)
>>    [junit4]   2>         at 
>> org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:43)
>>    [junit4]   2>         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.finish(Lucene60PointsWriter.java:243)
>>    [junit4]   2>         at 
>> org.apache.lucene.codecs.PointsWriter.merge(PointsWriter.java:189)
>>    [junit4]   2>         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.merge(Lucene60PointsWriter.java:144)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.SegmentMerger.mergePoints(SegmentMerger.java:187)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:136)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4483)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4144)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>    [junit4]   2>         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>    [junit4]   2> Apr 09, 2018 7:12:12 AM 
>> com.carrotsearch.randomizedtesting.ThreadLeakControl tryToInterruptAll
>>    [junit4]   2> INFO: Starting to interrupt leaked threads:
>>    [junit4]   2>    1) Thread[id=289762, name=Lucene Merge Thread #281215, 
>> state=TERMINATED, group={null group}]
>>    [junit4]   2> Apr 09, 2018 7:12:12 AM 
>> com.carrotsearch.randomizedtesting.ThreadLeakControl tryToInterruptAll
>>    [junit4]   2> INFO: All leaked threads terminated.
>>    [junit4]   2> NOTE: test params are: 
>> codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST,
>>  chunkSize=3, maxDocsPerChunk=139, blockSize=342), 
>> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, 
>> chunkSize=3, blockSize=342)), sim=RandomSimilarity(queryNorm=false): {}, 
>> locale=sr-Latn, timezone=Etc/GMT-0
>>    [junit4]   2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation 
>> 1.8.0_152 (64-bit)/cpus=4,threads=2,free=1315128,total=536346624
>>    [junit4]   2> NOTE: All tests run in this JVM: [TestPriorityQueue, 
>> TestCheckIndex, TestCustomNorms, TestFilterLeafReader, 
>> TestDoubleRangeFieldQueries, TestExternalCodecs, TestComplexExplanations, 
>> TestIndexWriterFromReader, TestMinimize, TestTermVectorsReader, 
>> TestAllFilesHaveChecksumFooter, TestRAMDirectory, TestIndexWriterUnicode, 
>> TestSimpleAttributeImpl, TestSpanFirstQuery, TestTimeLimitingCollector, 
>> TestForTooMuchCloning, Test2BTerms, Test2BPostings, TestByteSlices, 
>> TestClassicSimilarity, TestToken, TestQueryRescorer, 
>> TestFileSwitchDirectory, TestLucene70DocValuesFormat, TestWeakIdentityMap, 
>> TestLucene50StoredFieldsFormat, TestLongValuesSource, 
>> TestAutomatonQueryUnicode, TestRollback, TestDemo, 
>> TestDemoParallelLeafReader, TestIndexFileDeleter, 
>> TestLucene60FieldInfoFormat, TestSpanCollection, TestPolygon2D, 
>> TestDeterminism, TestBooleanRewrites, TestRecyclingIntBlockAllocator, 
>> TestGeoEncodingUtils, TestIntroSorter, TestWildcard, 
>> TestIndexWriterOutOfFileDescriptors, TestFSTs, TestSpanNotQuery, TestRegExp, 
>> TestBooleanQuery, TestMultiTermConstantScore, TestFieldReuse, 
>> TestRecyclingByteBlockAllocator, TestMutableValues, 
>> TestFrequencyTrackingRingBuffer, TestTerms, TestExceedMaxTermLength, 
>> TestIndexWriterDelete, TestSizeBoundedForceMerge, TestDocIdSetBuilder, 
>> Test2BPostingsBytes, Test2BPagedBytes, TestNativeFSLockFactory, 
>> TestEarlyTermination, LimitedFiniteStringsIteratorTest, TestMSBRadixSorter, 
>> Test2BDocs, TestNGramPhraseQuery, TestDirectory, TestDocIdsWriter, 
>> TestFloatRangeFieldQueries, TestTransactionRollback, TestPendingDeletes, 
>> TestControlledRealTimeReopenThread, TestNumericDocValuesUpdates, 
>> TestPerFieldDocValuesFormat, TestSoftDeletesRetentionMergePolicy]
>>    [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=TestSoftDeletesRetentionMergePolicy -Dtests.seed=248C95A59BE17434 
>> -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=sr-Latn -Dtests.timezone=Etc/GMT-0 -Dtests.asserts=true 
>> -Dtests.file.encoding=ISO-8859-1
>>    [junit4] ERROR   0.00s J1 | TestSoftDeletesRetentionMergePolicy (suite) 
>> <<<
>>    [junit4]    > Throwable #1: 
>> com.carrotsearch.randomizedtesting.ThreadLeakError: 2 threads leaked from 
>> SUITE scope at org.apache.lucene.index.TestSoftDeletesRetentionMergePolicy:
>>    [junit4]    >    1) Thread[id=289762, name=Lucene Merge Thread #281215, 
>> state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>    [junit4]    >         at java.lang.Thread.yield(Native Method)
>>    [junit4]    >         at 
>> org.apache.lucene.store.MockDirectoryWrapper.maybeYield(MockDirectoryWrapper.java:626)
>>    [junit4]    >         at 
>> org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:644)
>>    [junit4]    >         at 
>> org.apache.lucene.store.LockValidatingDirectoryWrapper.createOutput(LockValidatingDirectoryWrapper.java:44)
>>    [junit4]    >         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$1.createOutput(ConcurrentMergeScheduler.java:288)
>>    [junit4]    >         at 
>> org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:43)
>>    [junit4]    >         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.finish(Lucene60PointsWriter.java:243)
>>    [junit4]    >         at 
>> org.apache.lucene.codecs.PointsWriter.merge(PointsWriter.java:189)
>>    [junit4]    >         at 
>> org.apache.lucene.codecs.lucene60.Lucene60PointsWriter.merge(Lucene60PointsWriter.java:144)
>>    [junit4]    >         at 
>> org.apache.lucene.index.SegmentMerger.mergePoints(SegmentMerger.java:187)
>>    [junit4]    >         at 
>> org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:136)
>>    [junit4]    >         at 
>> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4483)
>>    [junit4]    >         at 
>> org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4144)
>>    [junit4]    >         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>    [junit4]    >         at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>    [junit4]    >        at 
>> __randomizedtesting.SeedInfo.seed([248C95A59BE17434]:0)
>>    [junit4] Completed [466/470 (1!)] on J1 in 3970.86s, 4 tests, 2 errors 
>> <<< FAILURES!
>>
>> [...truncated 1 lines...]
>>    [junit4] Suite: org.apache.lucene.search.TestCustomSearcherSort
>>    [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=TestCustomSearcherSort -Dtests.method=testFieldSortCustomSearcher 
>> -Dtests.seed=248C95A59BE17434 -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=sr-CS -Dtests.timezone=Asia/Thimphu -Dtests.asserts=true 
>> -Dtests.file.encoding=ISO-8859-1
>>    [junit4] ERROR   5.35s J1 | 
>> TestCustomSearcherSort.testFieldSortCustomSearcher <<<
>>    [junit4]    > Throwable #1: java.lang.OutOfMemoryError: GC overhead limit 
>> exceeded
>>    [junit4]    >        at 
>> org.apache.lucene.util.packed.PackedLongValues$Iterator.<init>(PackedLongValues.java:131)
>>    [junit4]    >        at 
>> org.apache.lucene.util.packed.PackedLongValues.iterator(PackedLongValues.java:120)
>>    [junit4]    >        at 
>> org.apache.lucene.index.SortedDocValuesWriter$BufferedSortedDocValues.<init>(SortedDocValuesWriter.java:194)
>>    [junit4]    >        at 
>> org.apache.lucene.index.SortedDocValuesWriter$1.getSorted(SortedDocValuesWriter.java:171)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.lucene70.Lucene70DocValuesConsumer.doAddSortedField(Lucene70DocValuesConsumer.java:413)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.lucene70.Lucene70DocValuesConsumer.addSortedField(Lucene70DocValuesConsumer.java:394)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.asserting.AssertingDocValuesFormat$AssertingDocValuesConsumer.addSortedField(AssertingDocValuesFormat.java:141)
>>    [junit4]    >        at 
>> org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addSortedField(PerFieldDocValuesFormat.java:119)
>>    [junit4]    >        at 
>> org.apache.lucene.index.SortedDocValuesWriter.flush(SortedDocValuesWriter.java:163)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DefaultIndexingChain.writeDocValues(DefaultIndexingChain.java:248)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:132)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:463)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:556)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:416)
>>    [junit4]    >        at 
>> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:517)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1776)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1468)
>>    [junit4]    >        at 
>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:185)
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestCustomSearcherSort.setUp(TestCustomSearcherSort.java:70)Throwable
>>  #2: java.lang.NullPointerException
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestCustomSearcherSort.tearDown(TestCustomSearcherSort.java:79)
>>    [junit4]    >        at java.lang.Thread.run(Thread.java:748)
>>    [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=TestCustomSearcherSort -Dtests.method=testFieldSortSingleSearcher 
>> -Dtests.seed=248C95A59BE17434 -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=sr-CS -Dtests.timezone=Asia/Thimphu -Dtests.asserts=true 
>> -Dtests.file.encoding=ISO-8859-1
>>    [junit4] ERROR   4.00s J1 | 
>> TestCustomSearcherSort.testFieldSortSingleSearcher <<<
>>    [junit4]    > Throwable #1: java.lang.OutOfMemoryError: GC overhead limit 
>> exceeded
>>    [junit4]    >        at java.util.Arrays.copyOf(Arrays.java:3332)
>>    [junit4]    >        at 
>> java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
>>    [junit4]    >        at 
>> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
>>    [junit4]    >        at 
>> java.lang.StringBuilder.append(StringBuilder.java:136)
>>    [junit4]    >        at 
>> java.lang.StringBuilder.append(StringBuilder.java:131)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriterConfig.toString(IndexWriterConfig.java:480)
>>    [junit4]    >        at 
>> org.apache.lucene.util.LuceneTestCase.maybeChangeLiveIndexWriterConfig(LuceneTestCase.java:1157)
>>    [junit4]    >        at 
>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:148)
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestCustomSearcherSort.setUp(TestCustomSearcherSort.java:70)Throwable
>>  #2: java.lang.NullPointerException
>>    [junit4]    >        at 
>> org.apache.lucene.search.TestCustomSearcherSort.tearDown(TestCustomSearcherSort.java:79)
>>    [junit4]    >        at java.lang.Thread.run(Thread.java:748)
>>    [junit4]   2> NOTE: leaving temporary files on disk at: 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/lucene/build/core/test/J1/temp/lucene.search.TestCustomSearcherSort_248C95A59BE17434-001
>>    [junit4]   2> Apr 09, 2018 7:12:30 AM 
>> com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
>>    [junit4]   2> WARNING: Will linger awaiting termination of 1 leaked 
>> thread(s).
>>    [junit4]   2> Apr 09, 2018 7:12:34 AM 
>> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>>  uncaughtException
>>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[Lucene Merge 
>> Thread #281253,5,TGRP-TestSoftDeletesRetentionMergePolicy]
>>    [junit4]   2> org.apache.lucene.index.MergePolicy$MergeException: 
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>    [junit4]   2>        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:704)
>>    [junit4]   2>        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:684)
>>    [junit4]   2>        Suppressed: java.lang.IllegalStateException: No 
>> context information for thread: Thread[id=289802, name=Lucene Merge Thread 
>> #281253, state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]. Is 
>> this thread running under a class 
>> com.carrotsearch.randomizedtesting.RandomizedRunner runner context? Add 
>> @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to 
>> your test class. Make sure your code accesses random contexts within 
>> @BeforeClass and @AfterClass boundary (for example, static test class 
>> initializers are not permitted to access random contexts).
>>    [junit4]   2>                at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:248)
>>    [junit4]   2>                at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:134)
>>    [junit4]   2>                at 
>> com.carrotsearch.randomizedtesting.RandomizedRunner.augmentStackTrace(RandomizedRunner.java:1872)
>>    [junit4]   2>                at 
>> com.carrotsearch.randomizedtesting.RunnerThreadGroup.uncaughtException(RunnerThreadGroup.java:20)
>>    [junit4]   2>                at 
>> java.lang.Thread.dispatchUncaughtException(Thread.java:1959)
>>    [junit4]   2> Caused by: java.lang.OutOfMemoryError: GC overhead limit 
>> exceeded
>>    [junit4]   2>        at 
>> org.apache.lucene.index.BufferedUpdatesStream.waitApplyForMerge(BufferedUpdatesStream.java:202)
>>    [junit4]   2>        at 
>> org.apache.lucene.index.IndexWriter.mergeInit(IndexWriter.java:4282)
>>    [junit4]   2>        at 
>> org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4138)
>>    [junit4]   2>        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>    [junit4]   2>        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>    [junit4]   2>
>>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {}, 
>> docValues:{publicationDate_=DocValuesFormat(name=Asserting)}, 
>> maxPointsInLeafNode=1664, maxMBSortInHeap=7.714473367744617, 
>> sim=RandomSimilarity(queryNorm=true): {content=IB SPL-LZ(0.3)}, 
>> locale=sr-CS, timezone=Asia/Thimphu
>>    [junit4]   2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation 
>> 1.8.0_152 (64-bit)/cpus=4,threads=1,free=1254800,total=536346624
>>    [junit4]   2> NOTE: All tests run in this JVM: [TestPriorityQueue, 
>> TestCheckIndex, TestCustomNorms, TestFilterLeafReader, 
>> TestDoubleRangeFieldQueries, TestExternalCodecs, TestComplexExplanations, 
>> TestIndexWriterFromReader, TestMinimize, TestTermVectorsReader, 
>> TestAllFilesHaveChecksumFooter, TestRAMDirectory, TestIndexWriterUnicode, 
>> TestSimpleAttributeImpl, TestSpanFirstQuery, TestTimeLimitingCollector, 
>> TestForTooMuchCloning, Test2BTerms, Test2BPostings, TestByteSlices, 
>> TestClassicSimilarity, TestToken, TestQueryRescorer, 
>> TestFileSwitchDirectory, TestLucene70DocValuesFormat, TestWeakIdentityMap, 
>> TestLucene50StoredFieldsFormat, TestLongValuesSource, 
>> TestAutomatonQueryUnicode, TestRollback, TestDemo, 
>> TestDemoParallelLeafReader, TestIndexFileDeleter, 
>> TestLucene60FieldInfoFormat, TestSpanCollection, TestPolygon2D, 
>> TestDeterminism, TestBooleanRewrites, TestRecyclingIntBlockAllocator, 
>> TestGeoEncodingUtils, TestIntroSorter, TestWildcard, 
>> TestIndexWriterOutOfFileDescriptors, TestFSTs, TestSpanNotQuery, TestRegExp, 
>> TestBooleanQuery, TestMultiTermConstantScore, TestFieldReuse, 
>> TestRecyclingByteBlockAllocator, TestMutableValues, 
>> TestFrequencyTrackingRingBuffer, TestTerms, TestExceedMaxTermLength, 
>> TestIndexWriterDelete, TestSizeBoundedForceMerge, TestDocIdSetBuilder, 
>> Test2BPostingsBytes, Test2BPagedBytes, TestNativeFSLockFactory, 
>> TestEarlyTermination, LimitedFiniteStringsIteratorTest, TestMSBRadixSorter, 
>> Test2BDocs, TestNGramPhraseQuery, TestDirectory, TestDocIdsWriter, 
>> TestFloatRangeFieldQueries, TestTransactionRollback, TestPendingDeletes, 
>> TestControlledRealTimeReopenThread, TestNumericDocValuesUpdates, 
>> TestPerFieldDocValuesFormat, TestSoftDeletesRetentionMergePolicy, 
>> TestCustomSearcherSort]
>>    [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=TestCustomSearcherSort -Dtests.seed=248C95A59BE17434 
>> -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=sr-CS -Dtests.timezone=Asia/Thimphu -Dtests.asserts=true 
>> -Dtests.file.encoding=ISO-8859-1
>>    [junit4] ERROR   0.00s J1 | TestCustomSearcherSort (suite) <<<
>>    [junit4]    > Throwable #1: 
>> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
>> uncaught exception in thread: Thread[id=289802, name=Lucene Merge Thread 
>> #281253, state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]
>>    [junit4]    >        at 
>> __randomizedtesting.SeedInfo.seed([248C95A59BE17434]:0)
>>    [junit4]    > Caused by: 
>> org.apache.lucene.index.MergePolicy$MergeException: 
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>    [junit4]    >        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:704)
>>    [junit4]    >        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:684)
>>    [junit4]    >        Suppressed: java.lang.IllegalStateException: No 
>> context information for thread: Thread[id=289802, name=Lucene Merge Thread 
>> #281253, state=RUNNABLE, group=TGRP-TestSoftDeletesRetentionMergePolicy]. Is 
>> this thread running under a class 
>> com.carrotsearch.randomizedtesting.RandomizedRunner runner context? Add 
>> @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to 
>> your test class. Make sure your code accesses random contexts within 
>> @BeforeClass and @AfterClass boundary (for example, static test class 
>> initializers are not permitted to access random contexts).
>>    [junit4]    >                at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:248)
>>    [junit4]    >                at 
>> com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:134)
>>    [junit4]    >                at 
>> com.carrotsearch.randomizedtesting.RunnerThreadGroup.uncaughtException(RunnerThreadGroup.java:20)
>>    [junit4]    >                at 
>> java.lang.Thread.dispatchUncaughtException(Thread.java:1959)
>>    [junit4]    > Caused by: java.lang.OutOfMemoryError: GC overhead limit 
>> exceeded
>>    [junit4]    >        at 
>> org.apache.lucene.index.BufferedUpdatesStream.waitApplyForMerge(BufferedUpdatesStream.java:202)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.mergeInit(IndexWriter.java:4282)
>>    [junit4]    >        at 
>> org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4138)
>>    [junit4]    >        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:625)
>>    [junit4]    >        at 
>> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:662)
>>    [junit4] Completed [467/470 (2!)] on J1 in 18.88s, 2 tests, 3 errors <<< 
>> FAILURES!
>>
>> [...truncated 10 lines...]
>>    [junit4] JVM J1: stdout was not empty, see: 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/lucene/build/core/test/temp/junit4-J1-20180409_052828_757440584628941507603.sysout
>>    [junit4] >>> JVM J1 emitted unexpected output (verbatim) ----
>>    [junit4] java.lang.OutOfMemoryError: GC overhead limit exceeded
>>    [junit4] Dumping heap to 
>> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/heapdumps/java_pid17525.hprof
>>  ...
>>    [junit4] Heap dump file created [803738033 bytes in 4.637 secs]
>>    [junit4] <<< JVM J1: EOF ----
>>
>> [...truncated 22795 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_pid17525.hprof
>>
>> Total time: 278 minutes 11 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-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