this seems indeed to be related to the changes in LUCENE-2881. This test indexed a document with TV enabled adds a new FieldInfo which sets hasVectors=true but then hits an exception before the tvx file gets created. This is as far as have observed by looking at the code and the place where it fails.
I need to run now - will look into this later again but it seems that we should reopen LUCENE-2881 and see if we can somehow rollback in such a situation or let the code which creates the file set the property on FI. simon On Wed, Feb 23, 2011 at 11:24 AM, Simon Willnauer <[email protected]> wrote: > Michael did you try with the reproduce commandline? > ant test-core -Dtestcase=TestIndexWriterExceptions > -Dtestmethod=testDocumentsWriterExceptions > -Dtests.seed=5748357769164696038:5339220614554941881 > > that one fails all the time on my machine > > simon > > On Wed, Feb 23, 2011 at 8:38 AM, Michael Busch <[email protected]> wrote: >> I just ran this test locally ~15 times and no failure. Weird... I'll keep >> looking >> >> On 2/22/11 11:29 PM, Simon Willnauer wrote: >>> >>> hmm maybe this was caused by LUCENE-2881 but I am not sure. I try to >>> dig this afternoon... >>> >>> simon >>> >>> On Wed, Feb 23, 2011 at 4:11 AM, Apache Hudson Server >>> <[email protected]> wrote: >>>> >>>> Build: https://hudson.apache.org/hudson/job/Lucene-trunk/1475/ >>>> >>>> 1 tests failed. >>>> REGRESSION: >>>> org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions >>>> >>>> Error Message: >>>> file _1.tvx does not exist >>>> >>>> Stack Trace: >>>> junit.framework.AssertionFailedError: file _1.tvx does not exist >>>> at >>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1213) >>>> at >>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1145) >>>> at >>>> org.apache.lucene.index.IndexWriter.filesExist(IndexWriter.java:3413) >>>> at >>>> org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:3467) >>>> at >>>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2375) >>>> at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2446) >>>> at >>>> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1098) >>>> at >>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1041) >>>> at >>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1005) >>>> at >>>> org.apache.lucene.index.TestIndexWriterExceptions.__CLR2_6_3n67xuk1m6p(TestIndexWriterExceptions.java:565) >>>> at >>>> org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions(TestIndexWriterExceptions.java:518) >>>> >>>> >>>> >>>> >>>> Build Log (for compile errors): >>>> [...truncated 13598 lines...] >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
