[ 
https://issues.apache.org/jira/browse/LUCENE-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ishan Chattopadhyaya updated LUCENE-6960:
-----------------------------------------
    Attachment: LUCENE-6960.patch

Thanks for reporting this, Steve. It seems to me (and I may be wrong) that the 
attribute PerFieldDocValuesFormat.Suffix is added (or not added) to FieldInfos 
for docValues fields depending on the codec chosen at random; most test seeds 
seem to be adding it, the reported ones didn't.

Hence, this test for attributes being passed on to the new UninvertingReader is 
not reliable, and hence I've removed it in this patch.

> TestUninvertingReader.testFieldInfos() failure
> ----------------------------------------------
>
>                 Key: LUCENE-6960
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6960
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.5, Trunk
>            Reporter: Steve Rowe
>         Attachments: LUCENE-6960.patch
>
>
> My Jenkins found a reproducible seed for 
> {{TestUninvertingReader.testFieldInfos()}} - fails on both branch_5x and 
> trunk:
> {noformat}
>    [junit4] Suite: org.apache.lucene.uninverting.TestUninvertingReader
>    [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=TestUninvertingReader -Dtests.method=testFieldInfos 
> -Dtests.seed=349A6776161E26B5 -Dtests.slow=true 
> -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt 
> -Dtests.locale=sr_ME -Dtests.timezone=US/Indiana-Starke -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 0.31s | TestUninvertingReader.testFieldInfos <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<0> but 
> was:<null>
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([349A6776161E26B5:24AE58B19B3CAD1C]:0)
>    [junit4]    >        at 
> org.apache.lucene.uninverting.TestUninvertingReader.testFieldInfos(TestUninvertingReader.java:385)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=SimpleText, 
> sim=ClassicSimilarity, locale=sr_ME, timezone=US/Indiana-Starke
>    [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_45 (64-bit)/cpus=16,threads=1,free=412590336,total=514850816
>    [junit4]   2> NOTE: All tests run in this JVM: [TestUninvertingReader]
>    [junit4] Completed [1/1 (1!)] in 0.47s, 1 test, 1 failure <<< FAILURES!
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to