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

TestSimpleTextPostingsFormat.testInvertedWrite() failure: An SPI class of type PostingsFormat with name 'SimpleText' does not exist

    XMLWordPrintableJSON

    Details

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

      Description

      My Jenkins found a master seed that reproduces on branch_6x but not on branch_6_1:

      Checking out Revision 963206969eddca6ec743f5f0901e0abdfeacd3cc (refs/remotes/origin/master)
      [...]
        2> NOTE: reproduce with: ant test  -Dtestcase=TestSimpleTextPostingsFormat -Dtests.method=testInvertedWrite -Dtests.seed=7555A4CF724BDB74 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=es -Dtests.timezone=Australia/Brisbane -Dtests.asserts=true -Dtests.file.encoding=UTF-8
      [23:09:22.113] ERROR   0.23s J3 | TestSimpleTextPostingsFormat.testInvertedWrite <<<
         > Throwable #1: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.PostingsFormat with name 'SimpleText' does not exist.  You need to add the corresponding JAR file supporting this SPI to your classpath.  The current classpath supports the following names: [MockRandom, RAMOnly, LuceneFixedGap, LuceneVarGapFixedInterval, LuceneVarGapDocFreqInterval, TestBloomFilteredLucenePostings, Asserting, BlockTreeOrds, BloomFilter, Direct, FSTOrd50, FST50, Memory, AutoPrefix, Lucene50]
         >    at __randomizedtesting.SeedInfo.seed([7555A4CF724BDB74:6C21E9040C1050A8]:0)
         >    at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
         >    at org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
         >    at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:258)
         >    at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:341)
         >    at org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:106)
         >    at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:67)
         >    at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:61)
         >    at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53)
         >    at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:675)
         >    at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:76)
         >    at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
         >    at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:383)
         >    at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:313)
         >    at org.apache.lucene.index.BasePostingsFormatTestCase.testInvertedWrite(BasePostingsFormatTestCase.java:519)
      [...]
        2> NOTE: test params are: codec=Asserting(Lucene62): {}, docValues:{}, maxPointsInLeafNode=1657, maxMBSortInHeap=5.09627287608914, sim=RandomSimilarity(queryNorm=true,coord=crazy): {f_DOCS_AND_FREQS=DFR I(ne)Z(0.3), field=DFR I(ne)L3(800.0), f_DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS=DFI(Saturated), f_DOCS_AND_FREQS_AND_POSITIONS=IB SPL-L1, titleTokenized=IB LL-L3(800.0), body=DFR I(F)L1, f_DOCS=DFR I(n)L2}, locale=es, timezone=Australia/Brisbane
        2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=257107688,total=486539264
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: