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

TestBlockMaxConjunction.testRandom() reproducing failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0
    • Fix Version/s: 8.0
    • Component/s: core/query/scoring
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      From https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1076/:

      Checking out Revision a254e7d7bcd11c2163dfbb7b3d4a3986aee7867b (refs/remotes/origin/master)
      [...]
         [smoker]    [junit4] Suite: org.apache.lucene.search.TestBlockMaxConjunction
         [smoker]    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBlockMaxConjunction -Dtests.method=testRandom -Dtests.seed=C8F831B07E6EEED8 -Dtests.multiplier=2 -Dtests.locale=bg -Dtests.timezone=Pacific/Auckland -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [smoker]    [junit4] FAILURE 2.17s J2 | TestBlockMaxConjunction.testRandom <<<
         [smoker]    [junit4]    > Throwable #1: junit.framework.AssertionFailedError
         [smoker]    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([C8F831B07E6EEED8:BAB414BFCF0E58AB]:0)
         [smoker]    [junit4]    > 	at junit.framework.Assert.fail(Assert.java:48)
         [smoker]    [junit4]    > 	at junit.framework.Assert.assertTrue(Assert.java:20)
         [smoker]    [junit4]    > 	at junit.framework.Assert.assertTrue(Assert.java:27)
         [smoker]    [junit4]    > 	at org.apache.lucene.search.CheckHits.doCheckMaxScores(CheckHits.java:617)
         [smoker]    [junit4]    > 	at org.apache.lucene.search.CheckHits.checkTopScores(CheckHits.java:582)
         [smoker]    [junit4]    > 	at org.apache.lucene.search.TestBlockMaxConjunction.testRandom(TestBlockMaxConjunction.java:69)
         [smoker]    [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
         [smoker]    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {foo=PostingsFormat(name=Direct)}, docValues:{}, maxPointsInLeafNode=1084, maxMBSortInHeap=6.8039593085931545, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@59e53bf7), locale=bg, timezone=Pacific/Auckland
         [smoker]    [junit4]   2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation 1.8.0_172 (64-bit)/cpus=4,threads=1,free=108247552,total=406323200
      

      git bisect says:

      85c00e77efdf53f30da6eaffd38c2b016a7805bc is the first bad commit
      commit 85c00e77efdf53f30da6eaffd38c2b016a7805bc
      Author: Dawid Weiss <dweiss@apache.org>
      Date:   Tue May 8 10:32:11 2018 +0200
      
          LUCENE-8267: removed references to memory codecs.
      

      but that ^^ probably just means that the random seed stops working past that commit.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: