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

TestPointFields.testDoublePointFieldSortAndFunction() failure

    XMLWordPrintableJSON

Details

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

    Description

      Reproduces for me on branch_7_0 with Java 8, from https://jenkins.thetaphi.de/job/Lucene-Solr-7.0-Linux/332/:

      Checking out Revision 3ba304b29825a94249c5145b3f5061e87b87d8f8 (refs/remotes/origin/branch_7_0)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPointFields -Dtests.method=testDoublePointFieldSortAndFunction -Dtests.seed=CD5EFEA286686CA8 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=shi -Dtests.timezone=Iceland -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   0.04s J1 | TestPointFields.testDoublePointFieldSortAndFunction <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during query
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CD5EFEA286686CA8:8FF769015EE00A46]:0)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:879)
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:839)
         [junit4]    > 	at org.apache.solr.schema.TestPointFields.doTestDoublePointFunctionQuery(TestPointFields.java:3362)
         [junit4]    > 	at org.apache.solr.schema.TestPointFields.testDoublePointFieldSortAndFunction(TestPointFields.java:561)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
         [junit4]    > 	at java.base/java.lang.Thread.run(Thread.java:844)
         [junit4]    > Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//result/doc[1]/double[@name='number_p_d'][.='9.647698707757203E196']
         [junit4]    > 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
         [junit4]    > <response>
         [junit4]    > <lst name="responseHeader"><int name="status">0</int><int name="QTime">0</int></lst><result name="response" numFound="30" start="0"><doc><str name="id">T</str><double name="number_p_d">4.2109000399066857E145</double></doc><doc><str name="id">O</str><double name="number_p_d">7.948405353274846E102</double></doc><doc><str name="id">L</str><double name="number_p_d">9.647698707757203E196</double></doc><doc><str name="id">\</str><double name="number_p_d">4.63349460224333E198</double></doc><doc><str name="id">^</str><double name="number_p_d">4.2716372537671285E258</double></doc><doc><str name="id">M</str><double name="number_p_d">2.862833159228995E-27</double></doc><doc><str name="id">U</str><double name="number_p_d">1.1675238023003433E-180</double></doc><doc><str name="id">B</str><double name="number_p_d">2.614548453729203E-179</double></doc><doc><str name="id">W</str><double name="number_p_d">-4.595176628884877E-141</double></doc><doc><str name="id">C</str><double name="number_p_d">-7.948285909421557E-173</double></doc><doc><str name="id">Q</str><double name="number_p_d">-6.862855825924174E-88</double></doc><doc><str name="id">K</str><double name="number_p_d">-1.0950667473830973E-86</double></doc><doc><str name="id">Y</str><double name="number_p_d">-6.485597050904523E-196</double></doc><doc><str name="id">G</str><double name="number_p_d">-7.716859788953592E-261</double></doc><doc><str name="id">H</str><double name="number_p_d">-9.758202630505903E-184</double></doc><doc><str name="id">E</str><double name="number_p_d">-2.1699663291589775E-101</double></doc><doc><str name="id">X</str><double name="number_p_d">-4.325010448003075E-26</double></doc><doc><str name="id">Z</str><double name="number_p_d">-1.072319359871416E-21</double></doc><doc><str name="id">[</str><double name="number_p_d">-24.004546040358317</double></doc><doc><str name="id">N</str><double name="number_p_d">-5634197.642880661</double></doc><doc><str name="id">S</str><double name="number_p_d">-8.459393954732652E134</double></doc><doc><str name="id">V</str><double name="number_p_d">-2.0505315052056294E109</double></doc><doc><str name="id">A</str><double name="number_p_d">-1.7134027804725616E186</double></doc><doc><str name="id">P</str><double name="number_p_d">-9.951406810035071E207</double></doc><doc><str name="id">R</str><double name="number_p_d">-2.5313050931632544E197</double></doc><doc><str name="id">J</str><double name="number_p_d">-1.6119189928190327E109</double></doc><doc><str name="id">I</str><double name="number_p_d">-3.6938614839840633E136</double></doc><doc><str name="id">D</str><double name="number_p_d">-3.741900820065586E217</double></doc><doc><str name="id">F</str><double name="number_p_d">-8.992776631000627E104</double></doc><doc><str name="id">]</str><double name="number_p_d">-1.7598852133908797E226</double></doc></result>
         [junit4]    > </response>
         [junit4]    > 	request was:q=*:*&fl=id,+number_p_d&sort=product(-1,number_p_d)+asc&rows=30&wt=xml
         [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:872)
      [...]
         [junit4]   2> NOTE: test params are: codec=FastDecompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST_DECOMPRESSION, chunkSize=26607, maxDocsPerChunk=468, blockSize=9), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST_DECOMPRESSION, chunkSize=26607, blockSize=9)), sim=RandomSimilarity(queryNorm=false): {}, locale=shi, timezone=Iceland
         [junit4]   2> NOTE: Linux 4.10.0-33-generic amd64/Oracle Corporation 9 (64-bit)/cpus=8,threads=1,free=220610848,total=518979584
      

      Attachments

        1. SOLR-11345.patch
          1 kB
          Steven Rowe

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: