Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6804

TestIndexWriterOutOfFileDescriptors nightly failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      My Jenkins found a seed http://jenkins.sarowe.net/job/Lucene-Solr-Nightly-5.x-Java8/16 that reproduces for me about 5% of the time via beasting:

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriterOutOfFileDescriptors -Dtests.method=test -Dtests.seed=AE5CB745082C8FEA -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=tr -Dtests.timezone=Europe/Copenhagen -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [junit4] ERROR   0.74s J6  | TestIndexWriterOutOfFileDescriptors.test <<<
         [junit4]    > Throwable #1: java.lang.IllegalStateException: this writer hit an unrecoverable error; cannot commit
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([AE5CB745082C8FEA:2608889FA6D0E212]:0)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2775)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2961)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1080)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1123)
         [junit4]    > 	at org.apache.lucene.index.TestIndexWriterOutOfFileDescriptors.test(TestIndexWriterOutOfFileDescriptors.java:87)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]    > Caused by: java.io.FileNotFoundException: a random IOException (_c.cfs)
         [junit4]    > 	at org.apache.lucene.store.MockDirectoryWrapper.maybeThrowIOExceptionOnOpen(MockDirectoryWrapper.java:458)
         [junit4]    > 	at org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:635)
         [junit4]    > 	at org.apache.lucene.codecs.lucene50.Lucene50CompoundReader.<init>(Lucene50CompoundReader.java:71)
         [junit4]    > 	at org.apache.lucene.codecs.lucene50.Lucene50CompoundFormat.getCompoundReader(Lucene50CompoundFormat.java:71)
         [junit4]    > 	at org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:93)
         [junit4]    > 	at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:65)
         [junit4]    > 	at org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
         [junit4]    > 	at org.apache.lucene.index.ReadersAndUpdates.getReaderForMerge(ReadersAndUpdates.java:617)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4001)
         [junit4]    > 	at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3648)
         [junit4]    > 	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588)
         [junit4]    > 	at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626)
         [junit4]   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/jobs/Lucene-Solr-Nightly-5.x-Java8/workspace/lucene/build/core/test/J6/temp/lucene.index.TestIndexWriterOutOfFileDescriptors_AE5CB745082C8FEA-001
         [junit4]   2> NOTE: test params are: codec=Lucene53, sim=DefaultSimilarity, locale=tr, timezone=Europe/Copenhagen
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=16,threads=1,free=311559920,total=328728576
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sarowe Steven Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: