bug in the test... i committed a fix On Mon, Jun 6, 2011 at 8:14 AM, Apache Jenkins Server <[email protected]> wrote: > Build: https://builds.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/8638/ > > 4 tests failed. > REGRESSION: org.apache.lucene.index.TestLazyBug.testLazyWorks > > Error Message: > Read past EOF > > Stack Trace: > java.io.IOException: Read past EOF > at > org.apache.lucene.store.RAMInputStream.switchCurrentBuffer(RAMInputStream.java:90) > at > org.apache.lucene.store.RAMInputStream.readByte(RAMInputStream.java:63) > at org.apache.lucene.store.DataInput.readInt(DataInput.java:73) > at org.apache.lucene.store.DataInput.readLong(DataInput.java:115) > at > org.apache.lucene.store.MockIndexInputWrapper.readLong(MockIndexInputWrapper.java:128) > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:211) > at > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:463) > at > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:565) > at org.apache.lucene.index.TestLazyBug.doTest(TestLazyBug.java:105) > at > org.apache.lucene.index.TestLazyBug.testLazyWorks(TestLazyBug.java:129) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1362) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1280) > > > REGRESSION: org.apache.lucene.index.TestLazyBug.testLazyAlsoWorks > > Error Message: > Read past EOF > > Stack Trace: > java.io.IOException: Read past EOF > at > org.apache.lucene.store.RAMInputStream.switchCurrentBuffer(RAMInputStream.java:90) > at > org.apache.lucene.store.RAMInputStream.readByte(RAMInputStream.java:63) > at org.apache.lucene.store.DataInput.readInt(DataInput.java:73) > at org.apache.lucene.store.DataInput.readLong(DataInput.java:115) > at > org.apache.lucene.store.MockIndexInputWrapper.readLong(MockIndexInputWrapper.java:128) > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:211) > at > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:463) > at > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:565) > at org.apache.lucene.index.TestLazyBug.doTest(TestLazyBug.java:105) > at > org.apache.lucene.index.TestLazyBug.testLazyAlsoWorks(TestLazyBug.java:133) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1362) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1280) > > > REGRESSION: org.apache.lucene.index.TestLazyBug.testLazyBroken > > Error Message: > Read past EOF > > Stack Trace: > java.io.IOException: Read past EOF > at > org.apache.lucene.store.RAMInputStream.switchCurrentBuffer(RAMInputStream.java:90) > at > org.apache.lucene.store.RAMInputStream.readByte(RAMInputStream.java:63) > at org.apache.lucene.store.DataInput.readInt(DataInput.java:73) > at org.apache.lucene.store.DataInput.readLong(DataInput.java:115) > at > org.apache.lucene.store.MockIndexInputWrapper.readLong(MockIndexInputWrapper.java:128) > at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:211) > at > org.apache.lucene.index.SegmentReader.document(SegmentReader.java:463) > at > org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:565) > at org.apache.lucene.index.TestLazyBug.doTest(TestLazyBug.java:105) > at > org.apache.lucene.index.TestLazyBug.testLazyBroken(TestLazyBug.java:137) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1362) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1280) > > > FAILED: junit.framework.TestSuite.org.apache.lucene.index.TestLazyBug > > Error Message: > MockDirectoryWrapper: cannot close: there are still open files: {_0_2.doc=3, > _0_1.skp=3, _1_0.frq=3, _0_2.frq=3, _1_2.frq=3, _1_3.frq=3, _1_3.tib=3, > _0_1.doc=3, _0_2.pyl=3, _1_1.tib=3, _0_0.tib=3, _0.tvd=3, _1_2.doc=3, > _0.tvf=3, _1_0.prx=3, _0_1.frq=3, _1_2.pyl=3, _1.fdx=3, _0_3.prx=3, > _0_2.skp=3, _1.fdt=3, _0.tvx=3, _0_2.pos=3, _1_3.prx=3, _1.nrm=3, _1_1.pyl=3, > _1_0.tib=3, _0_1.tib=3, _1_2.tib=3, _1_1.doc=3, _0_0.prx=3, _1_1.frq=3, > _0_3.frq=3, _1.tvx=3, _0.nrm=3, _0_0.frq=3, _1_1.pos=3, _0_3.tib=3, > _0_2.tib=3, _1_1.skp=3, _1.tvf=3, _1_2.skp=3, _0_1.pyl=3, _0.fdx=3, _1.tvd=3, > _1_2.pos=3, _0_1.pos=3, _0.fdt=3} > > Stack Trace: > java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are > still open files: {_0_2.doc=3, _0_1.skp=3, _1_0.frq=3, _0_2.frq=3, > _1_2.frq=3, _1_3.frq=3, _1_3.tib=3, _0_1.doc=3, _0_2.pyl=3, _1_1.tib=3, > _0_0.tib=3, _0.tvd=3, _1_2.doc=3, _0.tvf=3, _1_0.prx=3, _0_1.frq=3, > _1_2.pyl=3, _1.fdx=3, _0_3.prx=3, _0_2.skp=3, _1.fdt=3, _0.tvx=3, _0_2.pos=3, > _1_3.prx=3, _1.nrm=3, _1_1.pyl=3, _1_0.tib=3, _0_1.tib=3, _1_2.tib=3, > _1_1.doc=3, _0_0.prx=3, _1_1.frq=3, _0_3.frq=3, _1.tvx=3, _0.nrm=3, > _0_0.frq=3, _1_1.pos=3, _0_3.tib=3, _0_2.tib=3, _1_1.skp=3, _1.tvf=3, > _1_2.skp=3, _0_1.pyl=3, _0.fdx=3, _1.tvd=3, _1_2.pos=3, _0_1.pos=3, _0.fdt=3} > at > org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:461) > at org.apache.lucene.index.TestLazyBug.afterClass(TestLazyBug.java:64) > Caused by: java.lang.RuntimeException: unclosed IndexInput: _0.fdt > at > org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:400) > at > org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:416) > at org.apache.lucene.store.Directory.openInput(Directory.java:118) > at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:122) > at > org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:178) > at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:116) > at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:91) > at > org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:123) > at > org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:89) > at > org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:698) > at > org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:84) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:500) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:293) > at org.apache.lucene.index.TestLazyBug.doTest(TestLazyBug.java:103) > at > org.apache.lucene.index.TestLazyBug.testLazyWorks(TestLazyBug.java:129) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1362) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1280) > > > > > Build Log (for compile errors): > [...truncated 3313 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]
