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

TestSwedishLightStemFilter fails on J9

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Lucene Fields:
      New

      Description

      Doesn't reproduce. I was running tests with -Dtests.slow=true -Dtests.asserts=false and hit it.

      Probably need to do a loop like this under analysis/common: rm -rf .caches + ant test -Dtests.asserts=false to get something that might reproduce with a master seed.

      Those damn caches

         [junit4] Suite: org.apache.lucene.analysis.sv.TestSwedishLightStemFilter
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSwedishLightStemFilter -Dtests.method=testVocabulary -Dtests.seed=DB407AEEEC58B35D -Dtests.slow=true -Dtests.locale=sk_SK -Dtests.timezone=America/Sitka -Dtests.asserts=false -Dtests.file.encoding=US-ASCII
         [junit4] FAILURE 0.32s J0 | TestSwedishLightStemFilter.testVocabulary <<<
         [junit4]    > Throwable #1: org.junit.ComparisonFailure: term 0 expected:<helsa[d]> but was:<helsa[$]>
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([DB407AEEEC58B35D:2A5D8E52345FAAE7]:0)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:180)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:295)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:299)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:303)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertAnalyzesTo(BaseTokenStreamTestCase.java:353)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertAnalyzesTo(BaseTokenStreamTestCase.java:362)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkOneTerm(BaseTokenStreamTestCase.java:423)
         [junit4]    > 	at org.apache.lucene.analysis.VocabularyAssert.assertVocabulary(VocabularyAssert.java:61)
         [junit4]    > 	at org.apache.lucene.analysis.VocabularyAssert.assertVocabulary(VocabularyAssert.java:84)
         [junit4]    > 	at org.apache.lucene.analysis.sv.TestSwedishLightStemFilter.testVocabulary(TestSwedishLightStemFilter.java:59)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:785)
         [junit4]   2> NOTE: leaving temporary files on disk at: /home/rmuir/workspace/trunk/lucene/build/analysis/common/test/J0/temp/lucene.analysis.sv.TestSwedishLightStemFilter_DB407AEEEC58B35D-001
         [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, chunkSize=10, maxDocsPerChunk=1, blockSize=83), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, chunkSize=10, blockSize=83)), sim=RandomSimilarityProvider(queryNorm=false,coord=no): {}, locale=sk_SK, timezone=America/Sitka
         [junit4]   2> NOTE: Linux 3.13.0-49-generic amd64/IBM Corporation 1.8.0 (64-bit)/cpus=8,threads=1,free=28804176,total=63700992
         [junit4]   2> NOTE: All tests run in this JVM: [TestBrazilianStemFilterFactory, TestHunspellStemFilter, TestSnowballVocab, TestSpanishAnalyzer, TestHyphenationCompoundWordTokenFilterFactory, TestWordnetSynonymParser, TestCommonGramsFilterFactory, TestPrefixAwareTokenFilter, TestPrefixAndSuffixAwareTokenFilter, TestAllAnalyzersHaveFactories, TestCharTokenizers, CommonGramsFilterTest, TestNorwegianMinimalStemFilterFactory, TestSwedishLightStemFilter]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: