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

TestCloudJSONFacetJoinDomain.testBespoke() failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0, 7.1, 8.0
    • None
    • None

    Description

      Policeman Jenkins found a reproducing branch_6x seed https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-MacOSX/980/:

      Checking out Revision 9947a811e83cc0f848f9ddaa37a4137f19efff1a (refs/remotes/origin/branch_6x)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestCloudJSONFacetJoinDomain -Dtests.method=testBespoke -Dtests.seed=CF428F9440CE16E -Dtests.slow=true -Dtests.locale=cs -Dtests.timezone=America/Aruba -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 1.72s J1 | TestCloudJSONFacetJoinDomain.testBespoke <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: {main(json.facet={top+:+{+type:terms,+field:field_9_is,+limit:+21,+domain:{join:{from:field_5_idsS,to:field_9_is}}}+}),extra(q=(field_7_ids:6+OR+field_3_is:3)&rows=0)} ===> {responseHeader={zkConnected=true,status=0,QTime=5},response={numFound=0,start=0,maxScore=0.0,docs=[]},facets={count=0}} --> top key missing from: {count=0}
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CF428F9440CE16E:72FACC08C8C2699]:0)
         [junit4]    > 	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.assertFacetCountsAreCorrect(TestCloudJSONFacetJoinDomain.java:333)
         [junit4]    > 	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.testBespoke(TestCloudJSONFacetJoinDomain.java:262)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
         [junit4]    > Caused by: java.lang.AssertionError: top key missing from: {count=0}
         [junit4]    > 	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.assertFacetCountsAreCorrect(TestCloudJSONFacetJoinDomain.java:351)
         [junit4]    > 	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.assertFacetCountsAreCorrect(TestCloudJSONFacetJoinDomain.java:331)
      [...]
         [junit4]   2> NOTE: test params are: codec=CheapBastard, sim=RandomSimilarity(queryNorm=true,coord=crazy): {}, locale=cs, timezone=America/Aruba
         [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_131 (64-bit)/cpus=3,threads=1,free=58802776,total=266338304
      

      Another reproducing branch_6x seed, from https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Solaris/849/ (job history has been removed since it's too old - notification email arrived on May 24th):

      Java: 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseSerialGC
      
      1 tests failed.
      FAILED:  org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.testBespoke
      
      Error Message:
      {main(json.facet={top+:+{+type:terms,+field:field_9_is,+limit:+21,+domain:{join:{from:field_5_idsS,to:field_9_is}}}+}),extra(q=(field_7_ids:6+OR+field_3_is:3)&rows=0)} ===> {responseHeader={zkConnected=true,status=0,QTime=2},response={numFound=0,start=0,maxScore=0.0,docs=[]},facets={count=0}} --> top key missing from: {count=0}
      
      Stack Trace:
      java.lang.AssertionError: {main(json.facet={top+:+{+type:terms,+field:field_9_is,+limit:+21,+domain:{join:{from:field_5_idsS,to:field_9_is}}}+}),extra(q=(field_7_ids:6+OR+field_3_is:3)&rows=0)} ===> {responseHeader={zkConnected=true,status=0,QTime=2},response={numFound=0,start=0,maxScore=0.0,docs=[]},facets={count=0}} --> top key missing from: {count=0}
      	at __randomizedtesting.SeedInfo.seed([D2F19637CE167869:D92A120E0696BF9E]:0)
      	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.assertFacetCountsAreCorrect(TestCloudJSONFacetJoinDomain.java:333)
      	at org.apache.solr.cloud.TestCloudJSONFacetJoinDomain.testBespoke(TestCloudJSONFacetJoinDomain.java:262)
      

      Note that both of the above seeds reproduce for me on Linux with Java8.

      Attachments

        1. SOLR-11016.patch
          6 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: