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

TestDocBoost.testDocBoost() failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • core/query/scoring
    • None
    • New

    Description

      My Jenkins found a reproducing seed on branch_6x:

        [junit4] Suite: org.apache.lucene.search.TestDocBoost
        [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestDocBoost -Dtests.method=testDocBoost -Dtests.seed=C95CD43AB5A619C7 -Dtests.slow=true -Dtests.locale=be -Dtests.timezone=Asia/Manila -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
        [junit4] FAILURE 0.08s J0 | TestDocBoost.testDocBoost <<<
        [junit4]    > Throwable #1: java.lang.AssertionError: score: 1.0 should be > lastScore: 1.0
        [junit4]    > 	at __randomizedtesting.SeedInfo.seed([C95CD43AB5A619C7:3863EFB838CC236B]:0)
        [junit4]    > 	at org.apache.lucene.search.TestDocBoost.testDocBoost(TestDocBoost.java:90)
        [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
        [junit4]   2> NOTE: test params are: codec=DummyCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=DUMMY, chunkSize=615, maxDocsPerChunk=842, blockSize=934), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=DUMMY, chunkSize=615, blockSize=934)), sim=RandomSimilarity(queryNorm=false,coord=crazy): {field=org.apache.lucene.search.similarities.BooleanSimilarity@46a8892c}, locale=be, timezone=Asia/Manila
        [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=198322632,total=507510784
        [junit4]   2> NOTE: All tests run in this JVM: [TestSortRescorer, TestPositionIncrement, TestSimpleExplanations, TestMultiCollector, TestIndexWriterWithThreads, TestField, TestSearch, TestStressAdvance, TestWildcard, TestRollback, TestGeoUtils, Test2BBKDPoints, TestMergeSchedulerExternal, TestUnicodeUtil, TestSortedSetDocValues, TestQueryRescorer, TestBlockPostingsFormat2, TestArrayUtil, TestOfflineSorter, TestDocBoost]
        [junit4] Completed [57/441 (1!)] on J0 in 0.14s, 1 test, 1 failure <<< FAILURES!
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: