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

TestRandomChains.testRandomChainsWithLargeStrings() failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Reproducing seed for TestRandomChains.testRandomChainsWithLargeStrings() failure from https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2196/:

      Checking out Revision 53ec8224705f4f0d35751b18b3f0168517c43121 (refs/remotes/origin/branch_7x)
      [...]
         [junit4] Suite: org.apache.lucene.analysis.core.TestRandomChains
         [junit4]   2> TEST FAIL: useCharFilter=true text='\ua97b  \uebcf\ueb06\uf85b\uf649\uf0b7 esgm s \uabfd \ue11c\udbb4\udc48\ue90d\u0142\u0014\u0018 cr \u30ed\u30a8\u30ec\u30e1 <? gr \ud835\udf53\ud835\udc58\ud835\ude2b \ueff5\uda61\ude33\ud94d\udcbb\udb3b\uddc8\u0738 \ua711\ua719 xqu ygvfwc ~?\u0781%'
         [junit4]   2> Exception from random analyzer: 
         [junit4]   2> charfilters=
         [junit4]   2>   org.apache.lucene.analysis.fa.PersianCharFilter(java.io.StringReader@12c9ec6)
         [junit4]   2> tokenizer=
         [junit4]   2>   org.apache.lucene.analysis.core.LowerCaseTokenizer()
         [junit4]   2> filters=
         [junit4]   2>   org.apache.lucene.analysis.hunspell.HunspellStemFilter(ValidatingTokenFilter@17533c4 term=,bytes=[],startOffset=0,endOffset=0,positionIncrement=1,positionLength=1,type=word,termFrequency=1,keyword=false, org.apache.lucene.analysis.hunspell.Dictionary@1e0b337, true, false)
         [junit4]   2>   Conditional:org.apache.lucene.analysis.no.NorwegianLightStemFilter(OneTimeWrapper@3e3989 term=,bytes=[],startOffset=0,endOffset=0,positionIncrement=1,positionLength=1,type=word,termFrequency=1,keyword=false)
         [junit4]   2>   Conditional:org.apache.lucene.analysis.en.EnglishPossessiveFilter(OneTimeWrapper@96b77b term=,bytes=[],startOffset=0,endOffset=0,positionIncrement=1,positionLength=1,type=word,termFrequency=1,keyword=false)
         [junit4]   2>   Conditional:org.apache.lucene.analysis.shingle.FixedShingleFilter(OneTimeWrapper@d4fade term=,bytes=[],startOffset=0,endOffset=0,positionIncrement=1,positionLength=1,type=word,termFrequency=1,keyword=false, 3)
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRandomChains -Dtests.method=testRandomChainsWithLargeStrings -Dtests.seed=8C3CDE29C6D4A774 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=ms -Dtests.timezone=Europe/Saratov -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 0.42s J2 | TestRandomChains.testRandomChainsWithLargeStrings <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: finalOffset expected:<74> but was:<73>
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([8C3CDE29C6D4A774:E66761389F9A8787]:0)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:305)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:320)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.assertTokenStreamContents(BaseTokenStreamTestCase.java:324)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkAnalysisConsistency(BaseTokenStreamTestCase.java:860)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:659)
         [junit4]    > 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:561)
         [junit4]    > 	at org.apache.lucene.analysis.core.TestRandomChains.testRandomChainsWithLargeStrings(TestRandomChains.java:893)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {dummy=PostingsFormat(name=Memory)}, docValues:{}, maxPointsInLeafNode=1890, maxMBSortInHeap=7.329943162959591, sim=RandomSimilarity(queryNorm=false): {}, locale=ms, timezone=Europe/Saratov
         [junit4]   2> NOTE: Linux 4.13.0-41-generic i386/Oracle Corporation 1.8.0_172 (32-bit)/cpus=8,threads=1,free=313060856,total=533725184
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: