lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3411) TestIndexWriterDelete checkIndex failure
Date Thu, 01 Sep 2011 15:05:10 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095333#comment-13095333
] 

Robert Muir commented on LUCENE-3411:
-------------------------------------

{noformat}
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterDelete
    [junit] Testcase: testIndexingThenDeleting(org.apache.lucene.index.TestIndexWriterDelete):
Caused an ERROR
    [junit] CheckIndex failed
    [junit] java.lang.RuntimeException: CheckIndex failed
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:161)
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:147)
    [junit] 	at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:488)
    [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testIndexingThenDeleting(TestIndexWriterDelete.java:941)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] 
    [junit] 
    [junit] Tests run: 19, Failures: 0, Errors: 1, Time elapsed: 23.776 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] CheckIndex failed
    [junit] Segments file=segments_1 numSegments=2 version=4.0 format=FORMAT_4_0 [Lucene 4.0]
    [junit]   1 of 2: name=_2 docCount=45482
    [junit]     codec=SegmentCodecs [codecs=[Memory], provider=RandomCodecProvider: {field=Memory,
content=MockVariableIntBlock(baseBlockSize=20), id=Pulsing(freqCutoff=5 minBlockSize=92 maxBlockSize=263),
body=MockSep, contents=MockDocValuesCodec, value=Standard(minBlockSize=65 maxBlockSize=188),
city=MockRandom}]
    [junit]     compound=true
    [junit]     hasProx=true
    [junit]     numFiles=2
    [junit]     size (MB)=2,256
    [junit]     diagnostics = {optimize=false, mergeFactor=2, os.version=2.6.38-10-generic,
os=Linux, lucene.version=4.0-SNAPSHOT, source=merge, os.arch=amd64, java.version=1.6.0_24,
java.vendor=Sun Microsystems Inc.}
    [junit]     no deletions
    [junit]     test: open reader.........OK
    [junit]     test: fields..............OK [1 fields]
    [junit]     test: field norms.........OK [1 fields]
    [junit]     test: terms, freq, prox...ERROR: java.lang.RuntimeException: term [31 39]:
doc 45482 >= maxDoc 45482
    [junit] java.lang.RuntimeException: term [31 39]: doc 45482 >= maxDoc 45482
    [junit] 	at org.apache.lucene.index.CheckIndex.testTermIndex(CheckIndex.java:778)
    [junit] 	at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:569)
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:157)
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:147)
    [junit] 	at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:488)
    [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testIndexingThenDeleting(TestIndexWriterDelete.java:941)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit]     test: stored fields.......OK [0 total field count; avg 0 fields per doc]
    [junit]     test: term vectors........OK [0 total vector count; avg 0 term/freq vector
fields per doc]
    [junit]     test: DocValues........OK [0 total doc Count; Num DocValues Fields 0
    [junit] FAILED
    [junit]     WARNING: fixIndex() would remove reference to this segment; full exception:
    [junit] java.lang.RuntimeException: Term Index test failed
    [junit] 	at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:584)
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:157)
    [junit] 	at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:147)
    [junit] 	at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:488)
    [junit] 	at org.apache.lucene.index.TestIndexWriterDelete.testIndexingThenDeleting(TestIndexWriterDelete.java:941)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit] 
    [junit]   2 of 2: name=_3 docCount=22741
    [junit]     codec=SegmentCodecs [codecs=[Memory], provider=RandomCodecProvider: {field=Memory,
content=MockVariableIntBlock(baseBlockSize=20), id=Pulsing(freqCutoff=5 minBlockSize=92 maxBlockSize=263),
body=MockSep, contents=MockDocValuesCodec, value=Standard(minBlockSize=65 maxBlockSize=188),
city=MockRandom}]
    [junit]     compound=true
    [junit]     hasProx=true
    [junit]     numFiles=2
    [junit]     size (MB)=1,128
    [junit]     diagnostics = {os.version=2.6.38-10-generic, os=Linux, lucene.version=4.0-SNAPSHOT,
source=flush, os.arch=amd64, java.version=1.6.0_24, java.vendor=Sun Microsystems Inc.}
    [junit]     no deletions
    [junit]     test: open reader.........OK
    [junit]     test: fields..............OK [1 fields]
    [junit]     test: field norms.........OK [1 fields]
    [junit]     test: terms, freq, prox...OK [21 terms; 477561 terms/docs pairs; 477561 tokens]
    [junit]     test: stored fields.......OK [0 total field count; avg 0 fields per doc]
    [junit]     test: term vectors........OK [0 total vector count; avg 0 term/freq vector
fields per doc]
    [junit]     test: DocValues........OK [0 total doc Count; Num DocValues Fields 0
    [junit] 
    [junit] WARNING: 1 broken segments (containing 45482 documents) detected
    [junit] 
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterDelete -Dtestmethod=testIndexingThenDeleting
-Dtests.seed=-77a5e53649d91be7:-2fa0c072bec00b06:-29ee9869203d1ce3
    [junit] NOTE: test params are: codec=RandomCodecProvider: {field=Memory, content=MockVariableIntBlock(baseBlockSize=20),
id=Pulsing(freqCutoff=5 minBlockSize=92 maxBlockSize=263), body=MockSep, contents=MockDocValuesCodec,
value=Standard(minBlockSize=65 maxBlockSize=188), city=MockRandom}, sim=RandomSimilarityProvider(queryNorm=false,coord=true):
{field=DFR P1, content=DFR I(F)L1, id=DFR I(n)B2, body=IB LL-D2, contents=DFR BeB2, value=DFR
I(F)B1, city=DFR I(F)L1, country=DFR I(ne)B1}, locale=fr_LU, timezone=Australia/Victoria
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestDemo, TestDocument, Test2BPostings, TestAddIndexes, TestBinaryTerms, TestCompoundFile,
TestFieldInfos, TestFlushByRamOrCountsPolicy, TestIndexReaderOnDiskFull, TestIndexWriterDelete]
    [junit] NOTE: Linux 2.6.38-10-generic amd64/Sun Microsystems Inc. 1.6.0_24 (64-bit)/cpus=8,threads=1,free=137491864,total=274792448
    [junit] ------------- ---------------- ---------------
{noformat}

> TestIndexWriterDelete checkIndex failure
> ----------------------------------------
>
>                 Key: LUCENE-3411
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3411
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> hit this on the flexscoring branch: no indexer code is changed here, but the random seeds
won't work in trunk... ill supply a patch with my local mods so we can reproduce.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message