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 Fri, 04 Aug 2017 23:20:00 GMT

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

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

My Jenkins found a reproducing seed for a failure in one of the beefed up tests - I'll investigate:

{noformat}
Checking out Revision d09d8bcaa9cc7e1f58646028f4389e11958dd93f (refs/remotes/origin/branch_7x)
[...]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPointFields -Dtests.method=testDoublePointFieldRangeFacet
-Dtests.seed=3F61066AF1671866 -Dtests.slow=true -Dtests.locale=es-SV -Dtests.timezone=America/Cambridge_Bay
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] ERROR   0.01s J4  | TestPointFields.testDoublePointFieldRangeFacet <<<
   [junit4]    > Throwable #1: java.lang.NumberFormatException
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([3F61066AF1671866:603562685C3CEB8D]:0)
   [junit4]    > 	at java.math.BigDecimal.<init>(BigDecimal.java:494)
   [junit4]    > 	at java.math.BigDecimal.<init>(BigDecimal.java:383)
   [junit4]    > 	at java.math.BigDecimal.<init>(BigDecimal.java:806)
   [junit4]    > 	at java.math.BigDecimal.valueOf(BigDecimal.java:1274)
   [junit4]    > 	at org.apache.solr.schema.TestPointFields.testDoublePointFieldRangeFacet(TestPointFields.java:618)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
[...]
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {id=PostingsFormat(name=Memory)},
docValues:{foo_p_f_ni_dv_ns=DocValuesFormat(name=Lucene70), foo_p_f_ni_dv_ns_mv=DocValuesFormat(name=Lucene70),
number_p_dt_dv_ns=DocValuesFormat(name=Direct), foo_p_d_ni_dv_ns_mv=DocValuesFormat(name=Asserting),
foo_p_i_ni_dv_ns=DocValuesFormat(name=Direct), number_p_f_ni_mv_dv_smf=DocValuesFormat(name=Asserting),
number_p_dt_ni_mv_dv_sml=DocValuesFormat(name=Lucene70), number_p_i_dv_ns=DocValuesFormat(name=Lucene70),
number_p_l_ni_dv=DocValuesFormat(name=Memory), number_p_f_dv=DocValuesFormat(name=Direct),
number_p_l_dv_ns=DocValuesFormat(name=Memory), foo_p_l_ni_dv_ns=DocValuesFormat(name=Lucene70),
number_p_dt_ni_mv_dv=DocValuesFormat(name=Memory), number_p_l_dv_sml=DocValuesFormat(name=Asserting),
number_p_i_dv_smf=DocValuesFormat(name=Memory), number_p_d_ni_ns_dv=DocValuesFormat(name=Direct),
number_p_dt_ni_dv_ns_mv=DocValuesFormat(name=Direct), number_p_i_ni_dv_ns_mv=DocValuesFormat(name=Asserting),
number_p_f_dv_smf=DocValuesFormat(name=Lucene70), number_p_l_ni_dv_ns=DocValuesFormat(name=Memory),
number_p_l_dv_smf=DocValuesFormat(name=Lucene70), number_p_d_ni_mv_dv_sml=DocValuesFormat(name=Lucene70),
number_p_f_ni_dv_ns_mv=DocValuesFormat(name=Direct), number_p_d_dv_smf=DocValuesFormat(name=Lucene70),
number_p_f_ni_mv_dv_sml=DocValuesFormat(name=Lucene70), number_p_d_ni_mv_dv_smf=DocValuesFormat(name=Asserting),
number_p_dt_ni_dv=DocValuesFormat(name=Direct), number_p_f_dv_ns_mv=DocValuesFormat(name=Direct),
number_p_l_dv_ns_mv=DocValuesFormat(name=Memory), number_p_dt_mv_dv_sml=DocValuesFormat(name=Lucene70),
number_p_l_ni_ns_dv=DocValuesFormat(name=Direct), number_p_i_ni_dv_ns=DocValuesFormat(name=Asserting),
number_p_i_dv_sml=DocValuesFormat(name=Direct), number_p_f_ni_ns_dv=DocValuesFormat(name=Memory),
foo_p_d_ni_dv_ns=DocValuesFormat(name=Asserting), number_p_dt_dv_sml=DocValuesFormat(name=Lucene70),
number_p_dt_dv_smf=DocValuesFormat(name=Asserting), number_p_i_mv_dv=DocValuesFormat(name=Asserting),
number_p_l_ni_dv_ns_mv=DocValuesFormat(name=Memory), number_p_d_ni_dv=DocValuesFormat(name=Memory),
number_p_dt_ni_dv_sml=DocValuesFormat(name=Asserting), number_p_d_mv_dv_smf=DocValuesFormat(name=Asserting),
number_p_d_ni_dv_smf=DocValuesFormat(name=Asserting), number_p_dt_ni_dv_smf=DocValuesFormat(name=Lucene70),
foo_p_l_ni_dv_ns_mv=DocValuesFormat(name=Lucene70), number_p_d_mv_dv_sml=DocValuesFormat(name=Lucene70),
number_p_dt_ni_ns_dv=DocValuesFormat(name=Memory), number_p_dt_mv_dv_smf=DocValuesFormat(name=Asserting),
foo_p_i_ni_dv_ns_mv=DocValuesFormat(name=Direct), number_p_l_mv_dv=DocValuesFormat(name=Direct),
number_p_d_ni_dv_sml=DocValuesFormat(name=Lucene70), number_p_i_ni_mv_dv=DocValuesFormat(name=Lucene70),
number_p_f_mv_dv=DocValuesFormat(name=Memory), number_p_f_ni_mv_dv=DocValuesFormat(name=Memory),
number_p_i_mv_dv_smf=DocValuesFormat(name=Memory), foo_p_dt_ni_dv_ns_mv=DocValuesFormat(name=Asserting),
number_p_l_ni_mv_dv=DocValuesFormat(name=Direct), number_p_l_ni_dv_sml=DocValuesFormat(name=Asserting),
number_p_d_dv=DocValuesFormat(name=Memory), number_p_i_ni_mv_dv_smf=DocValuesFormat(name=Direct),
number_p_d_dv_ns=DocValuesFormat(name=Memory), number_p_l_ni_dv_smf=DocValuesFormat(name=Lucene70),
number_p_i_ni_mv_dv_sml=DocValuesFormat(name=Memory), number_p_dt_dv_ns_mv=DocValuesFormat(name=Direct),
number_p_l_dv=DocValuesFormat(name=Memory), number_p_dt_mv_dv=DocValuesFormat(name=Memory),
number_p_l_mv_dv_smf=DocValuesFormat(name=Lucene70), number_p_d_ni_dv_ns=DocValuesFormat(name=Memory),
number_p_i_dv_ns_mv=DocValuesFormat(name=Lucene70), number_p_d_ni_dv_ns_mv=DocValuesFormat(name=Memory),
number_p_i_ni_dv_sml=DocValuesFormat(name=Memory), number_p_i_ni_dv_smf=DocValuesFormat(name=Direct),
number_p_l_mv_dv_sml=DocValuesFormat(name=Asserting), number_p_f_dv_sml=DocValuesFormat(name=Asserting),
number_p_d_dv_sml=DocValuesFormat(name=Asserting), number_p_i_ni_ns_dv=DocValuesFormat(name=Lucene70),
number_p_f_ni_dv_ns=DocValuesFormat(name=Direct), number_p_f_ni_dv=DocValuesFormat(name=Direct),
foo_p_dt_ni_dv_ns=DocValuesFormat(name=Lucene70), number_p_l_ni_mv_dv_smf=DocValuesFormat(name=Asserting),
number_p_dt_dv=DocValuesFormat(name=Direct), number_p_dt_ni_mv_dv_smf=DocValuesFormat(name=Asserting),
number_p_l_ni_mv_dv_sml=DocValuesFormat(name=Lucene70), number_p_f_ni_dv_sml=DocValuesFormat(name=Asserting),
number_p_d_ni_mv_dv=DocValuesFormat(name=Direct), number_p_d_dv_ns_mv=DocValuesFormat(name=Memory),
number_p_d_mv_dv=DocValuesFormat(name=Direct), number_p_i_dv=DocValuesFormat(name=Asserting),
number_p_f_mv_dv_sml=DocValuesFormat(name=Asserting), number_p_i_mv_dv_sml=DocValuesFormat(name=Direct),
number_p_f_ni_dv_smf=DocValuesFormat(name=Lucene70), number_p_dt_ni_dv_ns=DocValuesFormat(name=Direct),
number_p_f_mv_dv_smf=DocValuesFormat(name=Lucene70), number_p_i_ni_dv=DocValuesFormat(name=Lucene70),
number_p_f_dv_ns=DocValuesFormat(name=Direct)}, maxPointsInLeafNode=64, maxMBSortInHeap=6.795554133146786,
sim=RandomSimilarity(queryNorm=false): {}, locale=es-SV, timezone=America/Cambridge_Bay
   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=22495096,total=534773760
{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-part2.patch, 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