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

FastVectorHighlighterTest.testCommonTermsQueryHighlight() failure

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • modules/highlighter
    • None
    • New

    Description

      My Jenkins found a reproducing seed on master:

        [junit4] Suite: org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest
        [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=FastVectorHighlighterTest -Dtests.method=testCommonTermsQueryHighlight -Dtests.seed=B7CD4D02A5D5B9B7 -Dtests.slow=true -Dtests.locale=ro -Dtests.timezone=Asia/Yakutsk -Dtests.asserts=true -Dtests.file.encoding=UTF-8
        [junit4] FAILURE 0.09s J4 | FastVectorHighlighterTest.testCommonTermsQueryHighlight <<<
        [junit4]    > Throwable #1: org.junit.ComparisonFailure: expected:<[This piece of <b>text</b> refers to Kennedy at the beginning then has a longer piece of <b>text</b> that is <b>very</b> <b>long</b> in the middle and finally ends with another reference to Kennedy]> but was:<[Hello this is a piece of <b>text</b> that is <b>very</b> <b>long</b> and contains too much preamble and the meat is really here which says kennedy has been shot]>
        [junit4]    > 	at __randomizedtesting.SeedInfo.seed([B7CD4D02A5D5B9B7:8A208887DCBC2AEB]:0)
        [junit4]    > 	at org.apache.lucene.search.vectorhighlight.FastVectorHighlighterTest.testCommonTermsQueryHighlight(FastVectorHighlighterTest.java:356)
        [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
        [junit4]   2> NOTE: test params are: codec=Lucene70, sim=RandomSimilarity(queryNorm=false): {field_der_red=DFR I(ne)1, no_long_term=DFR GB1, field=org.apache.lucene.search.similarities.BooleanSimilarity@2f4ba3ab, field_sliced=DFR I(ne)BZ(0.3), field_tripples=DFR I(F)BZ(0.3), field_exact=DFR I(F)1, text=IB SPL-L1, field_super_exact=DFR I(n)2, field_characters=DFR I(F)3(800.0), long_term=DFR GB1}, locale=ro, timezone=Asia/Yakutsk
        [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=396825712,total=514850816
        [junit4]   2> NOTE: All tests run in this JVM: [TestSplittingBreakIterator, WeightedFragListBuilderTest, FieldTermStackTest, FastVectorHighlighterTest]
        [junit4] Completed [22/31 (1!)] on J4 in 1.65s, 11 tests, 1 failure <<< FAILURES!
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment