lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10796) TestPointFields: increase randomized testing of non-trivial values
Date Tue, 11 Jul 2017 23:17:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083159#comment-16083159
] 

Steve Rowe commented on SOLR-10796:
-----------------------------------

A reproducing branch_7_0 failure, from [http://jenkins.sarowe.net/job/Lucene-Solr-tests-7.0/22/]
- I'm investigating:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPointFields -Dtests.method=testLongPointFieldRangeFacet
-Dtests.seed=A3AB56679F64D76 -Dtests.slow=true -Dtests.locale=id-ID -Dtests.timezone=Europe/Paris
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.09s J6  | TestPointFields.testLongPointFieldRangeFacet <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during query
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([A3AB56679F64D76:EB5AA9B848F84E66]:0)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:878)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:845)
   [junit4]    > 	at org.apache.solr.schema.TestPointFields.testLongPointFieldRangeFacet(TestPointFields.java:1217)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]    > Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//lst[@name='facet_counts']/lst[@name='facet_ranges']/lst[@name='number_p_l_dv']/lst[@name='counts']/int[@name='-894046239074522863'][.='4']
   [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="10" start="0"><doc><str
name="id">0</str><long name="number_p_l_dv">1586386398396807928</long><long
name="number_p_l">1586386398396807928</long><long name="_version_">1572667407280898048</long></doc><doc><str
name="id">1</str><long name="number_p_l_dv">8388164214690932920</long><long
name="number_p_l">8388164214690932920</long><long name="_version_">1572667407282995200</long></doc><doc><str
name="id">2</str><long name="number_p_l_dv">345919010516441979</long><long
name="number_p_l">345919010516441979</long><long name="_version_">1572667407282995201</long></doc><doc><str
name="id">3</str><long name="number_p_l_dv">-6612528902354323499</long><long
name="number_p_l">-6612528902354323499</long><long name="_version_">1572667407282995202</long></doc><doc><str
name="id">4</str><long name="number_p_l_dv">-4613459503085754991</long><long
name="number_p_l">-4613459503085754991</long><long name="_version_">1572667407284043776</long></doc><doc><str
name="id">5</str><long name="number_p_l_dv">-4144127791340196059</long><long
name="number_p_l">-4144127791340196059</long><long name="_version_">1572667407284043777</long></doc><doc><str
name="id">6</str><long name="number_p_l_dv">-1192431832086875895</long><long
name="number_p_l">-1192431832086875895</long><long name="_version_">1572667407284043778</long></doc><doc><str
name="id">7</str><long name="number_p_l_dv">-6179315529630012256</long><long
name="number_p_l">-6179315529630012256</long><long name="_version_">1572667407284043779</long></doc><doc><str
name="id">8</str><long name="number_p_l_dv">-7082186541584826723</long><long
name="number_p_l">-7082186541584826723</long><long name="_version_">1572667407285092352</long></doc><doc><str
name="id">9</str><long name="number_p_l_dv">1815644870476716143</long><long
name="number_p_l">1815644870476716143</long><long name="_version_">1572667407285092353</long></doc></result><lst
name="facet_counts"><lst name="facet_queries"/><lst name="facet_fields"/><lst
name="facet_ranges"><lst name="number_p_l_dv"><lst name="counts"><int name="-7082186541584826723">5</int><int
name="-3988116390329674793">1</int><int name="-894046239074522863">3</int><int
name="2200023912180629067">0</int><int name="5294094063435780997">1</int></lst><long
name="gap">3094070151255151930</long><long name="start">-7082186541584826723</long><long
name="end">8388164214690932927</long></lst></lst><lst name="facet_intervals"/><lst
name="facet_heatmaps"/></lst>
   [junit4]    > </response>
   [junit4]    > 	request was:facet.range=number_p_l_dv&q=*:*&facet.range.gap=3094070151255151930&facet=true&wt=xml&facet.range.start=-7082186541584826723&facet.range.end=8388164214690932920
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:871)
{noformat}

> TestPointFields: increase randomized testing of non-trivial values 
> -------------------------------------------------------------------
>
>                 Key: SOLR-10796
>                 URL: https://issues.apache.org/jira/browse/SOLR-10796
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>             Fix For: 7.0, master (8.0), 7.1
>
>         Attachments: SOLR-10796.patch, SOLR-10796.patch, SOLR-10796.patch
>
>
> A lot of TestPointFields code just uses positive nums, or only ranodmizes values between
-100 and 100, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message