You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "selckin (JIRA)" <ji...@apache.org> on 2011/06/10 20:56:58 UTC

[jira] [Created] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

TestStressIndexing2 testMultiConfig failure
-------------------------------------------

                 Key: LUCENE-3190
                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: selckin


trunk: r1134311

reproducible

{code}
    [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
    [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
    [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
    [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
    [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
    [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
    [junit] The following exceptions were thrown by threads:
    [junit] *** Thread: Thread-0 ***
    [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
    [junit]     at junit.framework.Assert.fail(Assert.java:47)
    [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
    [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestStressIndexing2]
    [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
    [junit] r1.numDocs()=17 vs r2.numDocs()=16
    [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
    [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
    [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
    [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
    [junit] 
    [junit] 
    [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
    [junit] Some threads threw uncaught exceptions!
    [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
    [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
    [junit] 
    [junit] 
    [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
{code}

--
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


[jira] [Commented] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049202#comment-13049202 ] 

Simon Willnauer commented on LUCENE-3190:
-----------------------------------------

I managed to reproduce this and trip into it with a debugger. So what happens here is bizarre :)
Due to the very tight maxBufferedDocs (3) and maxRamBufferSizeMB (0.1MB) we have a pretty good chance that several in flight DWPT will trigger a flush after the document they are indexing right now. That means that if we have lets say 4 DWPT and 3 are already flushing and memory is close to the asserts limit we got a problem if there is already a 4th DWPT in flight (passed the stall check) the document can easily add enough bytes that we cross the asserts max expected ram and fail then. 

I am not sure how we can fix that right now but at least its not a bug in DWPT.

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Commented] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "selckin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049100#comment-13049100 ] 

selckin commented on LUCENE-3190:
---------------------------------

{code}

    [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
    [junit] Tests run: 50, Failures: 2, Errors: 0, Time elapsed: 11.135 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] java.lang.AssertionError: ram was 460248 expected: 407592 flush mem: 394568 active: 65680 pending: 0 flushing: 3 blocked: 0 peakDelta: 65959
    [junit] 	at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
    [junit] 	at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
    [junit] 	at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
    [junit] 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1474)
    [junit] 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1446)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
    [junit] The following exceptions were thrown by threads:
    [junit] *** Thread: Thread-793 ***
    [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460248 expected: 407592 flush mem: 394568 active: 65680 pending: 0 flushing: 3 blocked: 0 peakDelta: 65959
    [junit] 	at junit.framework.Assert.fail(Assert.java:47)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
    [junit] NOTE: test params are: codec=RandomCodecProvider: {f34=MockRandom, f33=Standard, f32=Standard, f31=MockSep, f30=Pulsing(freqCutoff=7), f39=Standard, f38=MockSep, f37=Pulsing(freqCutoff=7), f36=MockFixedIntBlock(blockSize=649), f35=MockVariableIntBlock(baseBlockSize=9), f43=MockFixedIntBlock(blockSize=649), f42=MockVariableIntBlock(baseBlockSize=9), f45=MockSep, f44=Pulsing(freqCutoff=7), f41=MockRandom, f40=Standard, f47=Standard, f46=Standard, f49=MockVariableIntBlock(baseBlockSize=9), f48=MockRandom, f6=Pulsing(freqCutoff=7), f7=MockSep, f8=Standard, f9=MockVariableIntBlock(baseBlockSize=9), f12=Standard, f11=Standard, f10=MockSep, f16=Pulsing(freqCutoff=7), f15=MockFixedIntBlock(blockSize=649), f14=MockVariableIntBlock(baseBlockSize=9), f13=MockRandom, f19=Standard, f18=Standard, f17=MockSep, f1=MockFixedIntBlock(blockSize=649), f0=MockVariableIntBlock(baseBlockSize=9), f3=MockSep, f2=Pulsing(freqCutoff=7), f5=MockVariableIntBlock(baseBlockSize=9), f4=Standard, f21=MockVariableIntBlock(baseBlockSize=9), f20=MockRandom, f23=Pulsing(freqCutoff=7), f22=MockFixedIntBlock(blockSize=649), f25=Standard, f24=MockSep, f27=MockRandom, f26=Standard, f29=MockFixedIntBlock(blockSize=649), f28=MockVariableIntBlock(baseBlockSize=9), f98=MockVariableIntBlock(baseBlockSize=9), f97=MockRandom, f99=MockFixedIntBlock(blockSize=649), f94=MockSep, f93=Pulsing(freqCutoff=7), f96=Standard, f95=Standard, f79=Pulsing(freqCutoff=7), f77=MockVariableIntBlock(baseBlockSize=9), f78=MockFixedIntBlock(blockSize=649), f75=Standard, f76=MockRandom, f73=MockSep, f74=Standard, f71=MockFixedIntBlock(blockSize=649), f72=Pulsing(freqCutoff=7), f81=MockVariableIntBlock(baseBlockSize=9), f80=MockRandom, f86=Pulsing(freqCutoff=7), f87=MockSep, f88=Standard, f89=Standard, f82=Standard, f83=MockRandom, f84=MockVariableIntBlock(baseBlockSize=9), f85=MockFixedIntBlock(blockSize=649), f90=Pulsing(freqCutoff=7), f92=Standard, f91=MockSep, f59=MockSep, f57=MockFixedIntBlock(blockSize=649), f58=Pulsing(freqCutoff=7), f51=Pulsing(freqCutoff=7), f52=MockSep, f50=MockFixedIntBlock(blockSize=649), f55=MockRandom, f56=MockVariableIntBlock(baseBlockSize=9), f53=Standard, f54=Standard, id=MockFixedIntBlock(blockSize=649), f68=Standard, f69=MockRandom, f60=Standard, f61=Standard, f62=MockRandom, f63=MockVariableIntBlock(baseBlockSize=9), f64=MockFixedIntBlock(blockSize=649), f65=Pulsing(freqCutoff=7), f66=MockSep, f67=Standard, f70=MockSep}, locale=en_SG, timezone=Europe/Dublin
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestStressIndexing2]
    [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_26 (64-bit)/cpus=8,threads=1,free=61143744,total=147718144
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):	FAILED
    [junit] r1.numDocs()=19 vs r2.numDocs()=18
    [junit] junit.framework.AssertionFailedError: r1.numDocs()=19 vs r2.numDocs()=18
    [junit] 	at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
    [junit] 
    [junit] 
    [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):	FAILED
    [junit] Some threads threw uncaught exceptions!
    [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
    [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
    [junit] 
    [junit] 
    [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
{code}

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Commented] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049095#comment-13049095 ] 

Simon Willnauer commented on LUCENE-3190:
-----------------------------------------

{noformat}
    [junit] Testcase: testRandom(org.apache.lucene.index.TestStressIndexing2):	FAILED
    [junit] Some threads threw uncaught exceptions!
    [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
    [junit] 	at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
    [junit] 
    [junit] 
    [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 9.243 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] java.lang.AssertionError: ram was 462219 expected: 409920 flush mem: 396467 active: 65752
    [junit] 	at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
    [junit] 	at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
    [junit] 	at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
    [junit] 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1474)
    [junit] 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1446)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
    [junit] 	at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testRandom -Dtests.seed=-3081198538389112044:6990165845273194870 -Dtests.multiplier=3
{noformat}

jenkins just tripped a similar issue... the problem here seems related to a very lowish rambuffer together
with flushing by docCount. I was not able to reproduce it yet.
each time this fails ram buffer is 0.1M and maxBufferedDocs is 3 so
something seems to break the assert if we flush by doccount and not
necessarily take the largest DWPT out of the loop

selckin can you reproduce these errors? I just added some more info to the assert so if you run into it can you past the output?

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Resolved] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer resolved LUCENE-3190.
-------------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [New])

fixed in rev 1136086

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-3190.patch
>
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Updated] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-3190:
------------------------------------

    Attachment: LUCENE-3190.patch

here is a patch that prevent this assert when ram buffer is low compared to the size of the documents we are indexing.

for "normal" setting the assert will be executed but for very lowish documents we simply skip it entirely

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-3190.patch
>
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Assigned] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer reassigned LUCENE-3190:
---------------------------------------

    Assignee: Simon Willnauer

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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


[jira] [Commented] (LUCENE-3190) TestStressIndexing2 testMultiConfig failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047408#comment-13047408 ] 

Simon Willnauer commented on LUCENE-3190:
-----------------------------------------

I will dig!

> TestStressIndexing2 testMultiConfig failure
> -------------------------------------------
>
>                 Key: LUCENE-3190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3190
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Simon Willnauer
>
> trunk: r1134311
> reproducible
> {code}
>     [junit] Testsuite: org.apache.lucene.index.TestStressIndexing2
>     [junit] Tests run: 1, Failures: 2, Errors: 0, Time elapsed: 0.882 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.assertMemory(DocumentsWriterFlushControl.java:102)
>     [junit]     at org.apache.lucene.index.DocumentsWriterFlushControl.doAfterDocument(DocumentsWriterFlushControl.java:164)
>     [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:380)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1473)
>     [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1445)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.indexDoc(TestStressIndexing2.java:723)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:757)
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestStressIndexing2 -Dtestmethod=testMultiConfig -Dtests.seed=2571834029692482827:-8116419692655152763
>     [junit] The following exceptions were thrown by threads:
>     [junit] *** Thread: Thread-0 ***
>     [junit] junit.framework.AssertionFailedError: java.lang.AssertionError: ram was 460908 expected: 408216 flush mem: 395100 active: 65808
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2$IndexingThread.run(TestStressIndexing2.java:762)
>     [junit] NOTE: test params are: codec=RandomCodecProvider: {f33=Standard, f57=MockFixedIntBlock(blockSize=649), f11=Standard, f41=MockRandom, f40=Standard, f62=MockRandom, f75=Standard, f73=MockSep, f29=MockFixedIntBlock(blockSize=649), f83=MockRandom, f66=MockSep, f49=MockVariableIntBlock(baseBlockSize=9), f72=Pulsing(freqCutoff=7), f54=Standard, id=MockFixedIntBlock(blockSize=649), f80=MockRandom, f94=MockSep, f93=Pulsing(freqCutoff=7), f95=Standard}, locale=en_SG, timezone=Pacific/Palau
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestStressIndexing2]
>     [junit] NOTE: Linux 2.6.39-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=133324528,total=158400512
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] r1.numDocs()=17 vs r2.numDocs()=16
>     [junit] junit.framework.AssertionFailedError: r1.numDocs()=17 vs r2.numDocs()=16
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:308)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:278)
>     [junit]     at org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:124)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testMultiConfig(org.apache.lucene.index.TestStressIndexing2):     FAILED
>     [junit] Some threads threw uncaught exceptions!
>     [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
>     [junit]     at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:603)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1403)
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1321)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.lucene.index.TestStressIndexing2 FAILED
> {code}

--
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