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

TestBooleanRewrites.testRandom() failures

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None
    • New

    Description

      ASF Jenkins found a reproducing seed https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1122/:

         [junit4] Suite: org.apache.lucene.search.TestBooleanRewrites
         [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom -Dtests.seed=133FC438853637FC -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt -Dtests.locale=es-CU -Dtests.timezone=Asia/Aqtobe -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 1.15s J0 | TestBooleanRewrites.testRandom <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: expected:<22> but was:<11>
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([133FC438853637FC:6173E1373456818F]:0)
         [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:417)
         [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:363)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {field=PostingsFormat(name=LuceneVarGapFixedInterval), body=PostingsFormat(name=LuceneVarGapFixedInterval)}, docValues:{}, maxPointsInLeafNode=54, maxMBSortInHeap=7.325003282600543, sim=ClassicSimilarity, locale=es-CU, timezone=Asia/Aqtobe
         [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=195289880,total=335544320
      

      Also, from my Jenkins (also reproduces) http://jenkins.sarowe.net/job/Lucene-Solr-Nightly-master/306/consoleText:

         [junit4] Suite: org.apache.lucene.search.TestBooleanRewrites
         [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom -Dtests.seed=B5A6C68D0BDEE665 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=nl-NL -Dtests.timezone=America/Boa_Vista -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 0.20s J1  | TestBooleanRewrites.testRandom <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: expected:<20> but was:<7>
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([B5A6C68D0BDEE665:C7EAE382BABE5016]:0)
         [junit4]    >        at org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:417)
         [junit4]    >        at org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:363)
         [junit4]    >        at java.lang.Thread.run(Thread.java:745)
         [junit4]   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/jobs/Lucene-Solr-Nightly-master/workspace/lucene/build/core/test/J1/temp/lucene.search.TestBooleanRewrites_B5A6C68D0BDEE665-001
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {field=PostingsFormat(name=Direct), body=PostingsFormat(name=Direct)}, docValues:{}, maxPointsInLeafNode=938, maxMBSortInHeap=7.896589122913218, sim=RandomSimilarity(queryNorm=false): {field=DFR I(n)L3(800.0), body=DFR I(n)1}, locale=nl-NL, timezone=America/Boa_Vista
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=183739760,total=412614656
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: