You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/09/11 15:33:46 UTC

[jira] [Resolved] (LUCENE-6799) TestLucene45DocValuesFormat.testRandomExceptions failure

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

Michael McCandless resolved LUCENE-6799.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.4

OK the cause was actually "buggy" codec formats (SegmentInfoFormat) deleting the .si file yet claiming to have created it, and IW now gets angry about such lies.

> TestLucene45DocValuesFormat.testRandomExceptions failure
> --------------------------------------------------------
>
>                 Key: LUCENE-6799
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6799
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.4
>            Reporter: Steve Rowe
>            Assignee: Michael McCandless
>             Fix For: 5.4
>
>
> My Jenkins found a seed [http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.x-Java8/1895/] that reproduces for me on OS X:
> {noformat}
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestLucene45DocValuesFormat -Dtests.method=testRandomExceptions -Dtests.seed=85EF209F818919DC -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=it -Dtests.timezone=Asia/Vladivostok -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 0.65s J4 | TestLucene45DocValuesFormat.testRandomExceptions <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: hit unexpected FileNotFoundException: file=_1q.si
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([85EF209F818919DC:EDC04E5B1F87407C]:0)
>    [junit4]    > 	at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:740)
>    [junit4]    > 	at org.apache.lucene.index.IndexFileDeleter.deletePendingFiles(IndexFileDeleter.java:516)
>    [junit4]    > 	at org.apache.lucene.index.IndexFileDeleter.deleteNewFiles(IndexFileDeleter.java:719)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.flushFailed(IndexWriter.java:4684)
>    [junit4]    > 	at org.apache.lucene.index.DocumentsWriter$FlushFailedEvent.process(DocumentsWriter.java:722)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4734)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4725)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3109)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3076)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1078)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1123)
>    [junit4]    > 	at org.apache.lucene.index.BaseIndexFileFormatTestCase.testRandomExceptions(BaseIndexFileFormatTestCase.java:499)
>    [junit4]    > 	at org.apache.lucene.index.BaseDocValuesFormatTestCase.testRandomExceptions(BaseDocValuesFormatTestCase.java:78)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
> {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