Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9225

TestGroupingSearch.testGroupAPI() failures

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.2
    • Fix Version/s: 5.5.2
    • Component/s: None
    • Labels:
      None

      Description

      ASF Jenkins found a branch_5_5 seed that reproduces for me https://builds.apache.org/job/Lucene-Solr-NightlyTests-5.5/15/:

      Checking out Revision c6b9ac065571718e7e92174fa7e2a927583012fa (refs/remotes/origin/branch_5_5)
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGroupingSearch -Dtests.method=testGroupAPI -Dtests.seed=668CC8A01DD2DBBD -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/x1/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=tr -Dtests.timezone=Europe/Vienna -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   0.03s J2 | TestGroupingSearch.testGroupAPI <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '2'!='5' @ grouped/id:[2 TO 5]/doclist/docs/[2]/id
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([668CC8A01DD2DBBD:FB29FCED8EEF2B97]:0)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:842)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:789)
         [junit4]    > 	at org.apache.solr.TestGroupingSearch.testGroupAPI(TestGroupingSearch.java:542)
      

      Looking through Jenkins emails I found the following seeds (predating the 5.5.2 backports) that still reproduce on current branch_5_5:

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGroupingSearch -Dtests.method=testGroupAPI -Dtests.seed=9A8D561E5B3CA1B7 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=be -Dtests.timezone=AST -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [junit4] ERROR   0.46s | TestGroupingSearch.testGroupAPI <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '2'!='5' @ grouped/id:[2 TO 5]/doclist/docs/[2]/id
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([9A8D561E5B3CA1B7:7286253C801519D]:0)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:842)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:789)
         [junit4]    >        at org.apache.solr.TestGroupingSearch.testGroupAPI(TestGroupingSearch.java:542)
         [junit4]    >        at java.lang.Thread.run(Thread.java:745)
      
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGroupingSearch -Dtests.method=testGroupAPI -Dtests.seed=744FDA000EE20202 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=ar-TN -Dtests.timezone=America/Kralendijk -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] ERROR   0.51s | TestGroupingSearch.testGroupAPI <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '2'!='5' @ grouped/id:[2 TO 5]/doclist/docs/[2]/id
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([744FDA000EE20202:E9EAEE4D9DDFF228]:0)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:842)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:789)
         [junit4]    >        at org.apache.solr.TestGroupingSearch.testGroupAPI(TestGroupingSearch.java:542)
      
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGroupingSearch -Dtests.method=testGroupAPI -Dtests.seed=F6C16547AE9263BA -Dtests.multiplier=3 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=ga-IE -Dtests.timezone=America/Curacao -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   0.48s | TestGroupingSearch.testGroupAPI <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '2'!='5' @ grouped/id:[2 TO 5]/doclist/docs/[2]/id
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([F6C16547AE9263BA:6B64510A3DAF9390]:0)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:842)
         [junit4]    >        at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:789)
         [junit4]    >        at org.apache.solr.TestGroupingSearch.testGroupAPI(TestGroupingSearch.java:542)
      

      None of these reproduce for me on master or on branch_6_0.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: