You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/10/03 07:10:20 UTC

[jira] [Commented] (LUCENE-7469) TestBooleanRewrites.testRandom() failures

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

ASF subversion and git services commented on LUCENE-7469:
---------------------------------------------------------

Commit 632d129871ab35a341b9215d3bc99043cb4cc041 in lucene-solr's branch refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=632d129 ]

LUCENE-7469: Avoid TestBooleanRewrites test failures due to floating-point inaccuracy issues.


> TestBooleanRewrites.testRandom() failures
> -----------------------------------------
>
>                 Key: LUCENE-7469
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7469
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>            Priority: Blocker
>             Fix For: 6.3, 7.0
>
>
> ASF Jenkins found a reproducing seed [https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1122/]:
> {noformat}
>    [junit4] Suite: org.apache.lucene.search.TestBooleanRewrites
>    [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom -Dtests.seed=133FC438853637FC -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt -Dtests.locale=es-CU -Dtests.timezone=Asia/Aqtobe -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 1.15s J0 | TestBooleanRewrites.testRandom <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<22> but was:<11>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([133FC438853637FC:6173E1373456818F]:0)
>    [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:417)
>    [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:363)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {field=PostingsFormat(name=LuceneVarGapFixedInterval), body=PostingsFormat(name=LuceneVarGapFixedInterval)}, docValues:{}, maxPointsInLeafNode=54, maxMBSortInHeap=7.325003282600543, sim=ClassicSimilarity, locale=es-CU, timezone=Asia/Aqtobe
>    [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=195289880,total=335544320
> {noformat}
> Also, from my Jenkins (also reproduces) [http://jenkins.sarowe.net/job/Lucene-Solr-Nightly-master/306/consoleText]:
> {noformat}
>    [junit4] Suite: org.apache.lucene.search.TestBooleanRewrites
>    [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom -Dtests.seed=B5A6C68D0BDEE665 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=nl-NL -Dtests.timezone=America/Boa_Vista -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 0.20s J1  | TestBooleanRewrites.testRandom <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<20> but was:<7>
>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([B5A6C68D0BDEE665:C7EAE382BABE5016]:0)
>    [junit4]    >        at org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:417)
>    [junit4]    >        at org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:363)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/jobs/Lucene-Solr-Nightly-master/workspace/lucene/build/core/test/J1/temp/lucene.search.TestBooleanRewrites_B5A6C68D0BDEE665-001
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {field=PostingsFormat(name=Direct), body=PostingsFormat(name=Direct)}, docValues:{}, maxPointsInLeafNode=938, maxMBSortInHeap=7.896589122913218, sim=RandomSimilarity(queryNorm=false): {field=DFR I(n)L3(800.0), body=DFR I(n)1}, locale=nl-NL, timezone=America/Boa_Vista
>    [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=183739760,total=412614656
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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