lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: TestAddIndexes failure
Date Wed, 08 Jun 2011 18:23:03 GMT
I'm currently digging on this... it's a doozie.  Robert fang'd up this test!!

Mike McCandless

http://blog.mikemccandless.com

On Wed, Jun 8, 2011 at 2:11 PM, Ryan McKinley <ryantxu@gmail.com> wrote:
> Hit this while testing some solr changes...  I have not tried on a
> clean trunk yet
>
>
>    [junit] Testsuite: org.apache.lucene.index.TestAddIndexes
>    [junit] Testcase:
> testAddIndexesWithRollback(org.apache.lucene.index.TestAddIndexes):
>   FAILED
>    [junit]
>    [junit] junit.framework.AssertionFailedError:
>    [junit]     at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1362)
>    [junit]     at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1280)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes.testAddIndexesWithRollback(TestAddIndexes.java:932)
>    [junit]
>    [junit]
>    [junit] Tests run: 20, Failures: 1, Errors: 0, Time elapsed: 9.521 sec
>    [junit]
>    [junit] ------------- Standard Output ---------------
>    [junit] java.io.FileNotFoundException: _cb_0.tib
>    [junit]     at
> org.apache.lucene.store.RAMDirectory.fileLength(RAMDirectory.java:121)
>    [junit]     at
> org.apache.lucene.store.MockDirectoryWrapper.fileLength(MockDirectoryWrapper.java:606)
>    [junit]     at
> org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:294)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:633)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy.java:611)
>    [junit]     at
> org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2459)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$CommitAndAddIndexes3.doBody(TestAddIndexes.java:847)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads$1.run(TestAddIndexes.java:675)
>    [junit] java.io.FileNotFoundException: _c3.fdt
>    [junit]     at
> org.apache.lucene.store.RAMDirectory.fileLength(RAMDirectory.java:121)
>    [junit]     at
> org.apache.lucene.store.MockDirectoryWrapper.fileLength(MockDirectoryWrapper.java:606)
>    [junit]     at
> org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:294)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:633)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy.java:611)
>    [junit]     at
> org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2459)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$CommitAndAddIndexes3.doBody(TestAddIndexes.java:847)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads$1.run(TestAddIndexes.java:675)
>    [junit] java.io.FileNotFoundException: _cu.fdt
>    [junit]     at
> org.apache.lucene.store.RAMDirectory.fileLength(RAMDirectory.java:121)
>    [junit]     at
> org.apache.lucene.store.MockDirectoryWrapper.fileLength(MockDirectoryWrapper.java:606)
>    [junit]     at
> org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:294)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:633)
>    [junit]     at
> org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy.java:611)
>    [junit]     at
> org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:2459)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$CommitAndAddIndexes3.doBody(TestAddIndexes.java:847)
>    [junit]     at
> org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads$1.run(TestAddIndexes.java:675)
>    [junit] ------------- ---------------- ---------------
>    [junit] ------------- Standard Error -----------------
>    [junit] NOTE: reproduce with: ant test -Dtestcase=TestAddIndexes
> -Dtestmethod=testAddIndexesWithRollback
> -Dtests.seed=-4910267235658469444:-5699216116893861784
>    [junit] NOTE: test params are: codec=RandomCodecProvider:
> {id=MockRandom, content=Standard,
> d=MockVariableIntBlock(baseBlockSize=41),
> c=MockFixedIntBlock(blockSize=61)}, locale=el_GR, timezone=Eur
> ope/Zurich
>    [junit] NOTE: all tests run in this JVM:
>    [junit] [TestAssertions, TestCharTermAttributeImpl, TestAddIndexes]
>    [junit] NOTE: Windows Vista 6.0 amd64/Sun Microsystems Inc.
> 1.6.0_13 (64-bit)/cpus=8,threads=1,free=124894328,total=220463104
>    [junit] ------------- ---------------- ---------------
>    [junit] TEST org.apache.lucene.index.TestAddIndexes FAILED
>
>
> ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

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


Mime
View raw message