I tried to look into this failure, thinking it was related to
LUCENE-5188 (since it happened just after that was committed and
involves stored fields compression).

doesnt reproduce for me though: maybe because of how the test uses threads?

On Wed, Sep 4, 2013 at 11:08 AM,  <[email protected]> wrote:
> Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/57577/
>
> 1 tests failed.
> REGRESSION:  
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy.testFlushDocCount
>
> Error Message:
> Captured an uncaught exception in thread: Thread[id=238, name=Thread-169, 
> state=RUNNABLE, group=TGRP-TestFlushByRamOrCountsPolicy]
>
> Stack Trace:
> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
> uncaught exception in thread: Thread[id=238, name=Thread-169, state=RUNNABLE, 
> group=TGRP-TestFlushByRamOrCountsPolicy]
> Caused by: java.lang.RuntimeException: 
> java.lang.ArrayIndexOutOfBoundsException: 591472
>         at __randomizedtesting.SeedInfo.seed([F60802156EF89C32]:0)
>         at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:329)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 591472
>         at 
> org.apache.lucene.codecs.compressing.LZ4$HCHashTable.insertAndFindBestMatch(LZ4.java:333)
>         at org.apache.lucene.codecs.compressing.LZ4.compressHC(LZ4.java:401)
>         at 
> org.apache.lucene.codecs.compressing.CompressionMode$LZ4HighCompressor.compress(CompressionMode.java:177)
>         at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.flush(CompressingStoredFieldsWriter.java:227)
>         at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.finishDocument(CompressingStoredFieldsWriter.java:160)
>         at 
> org.apache.lucene.index.StoredFieldsProcessor.finishDocument(StoredFieldsProcessor.java:128)
>         at 
> org.apache.lucene.index.TwoStoredFieldsConsumers.finishDocument(TwoStoredFieldsConsumers.java:65)
>         at 
> org.apache.lucene.index.DocFieldProcessor.finishDocument(DocFieldProcessor.java:278)
>         at 
> org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:272)
>         at 
> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:446)
>         at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1519)
>         at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1189)
>         at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1170)
>         at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:314)
>
>
>
>
> Build Log:
> [...truncated 752 lines...]
>    [junit4] Suite: org.apache.lucene.index.TestFlushByRamOrCountsPolicy
>    [junit4]   2> Set 04, 2013 5:07:51 QN 
> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>  uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: 
> Thread[Thread-169,5,TGRP-TestFlushByRamOrCountsPolicy]
>    [junit4]   2> java.lang.RuntimeException: 
> java.lang.ArrayIndexOutOfBoundsException: 591472
>    [junit4]   2>        at 
> __randomizedtesting.SeedInfo.seed([F60802156EF89C32]:0)
>    [junit4]   2>        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:329)
>    [junit4]   2> Caused by: java.lang.ArrayIndexOutOfBoundsException: 591472
>    [junit4]   2>        at 
> org.apache.lucene.codecs.compressing.LZ4$HCHashTable.insertAndFindBestMatch(LZ4.java:333)
>    [junit4]   2>        at 
> org.apache.lucene.codecs.compressing.LZ4.compressHC(LZ4.java:401)
>    [junit4]   2>        at 
> org.apache.lucene.codecs.compressing.CompressionMode$LZ4HighCompressor.compress(CompressionMode.java:177)
>    [junit4]   2>        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.flush(CompressingStoredFieldsWriter.java:227)
>    [junit4]   2>        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.finishDocument(CompressingStoredFieldsWriter.java:160)
>    [junit4]   2>        at 
> org.apache.lucene.index.StoredFieldsProcessor.finishDocument(StoredFieldsProcessor.java:128)
>    [junit4]   2>        at 
> org.apache.lucene.index.TwoStoredFieldsConsumers.finishDocument(TwoStoredFieldsConsumers.java:65)
>    [junit4]   2>        at 
> org.apache.lucene.index.DocFieldProcessor.finishDocument(DocFieldProcessor.java:278)
>    [junit4]   2>        at 
> org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:272)
>    [junit4]   2>        at 
> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:446)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1519)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1189)
>    [junit4]   2>        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1170)
>    [junit4]   2>        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:314)
>    [junit4]   2>
>    [junit4]   1> FAILED exc:
>    [junit4]   1> java.lang.ArrayIndexOutOfBoundsException: 591472
>    [junit4]   1>        at 
> org.apache.lucene.codecs.compressing.LZ4$HCHashTable.insertAndFindBestMatch(LZ4.java:333)
>    [junit4]   1>        at 
> org.apache.lucene.codecs.compressing.LZ4.compressHC(LZ4.java:401)
>    [junit4]   1>        at 
> org.apache.lucene.codecs.compressing.CompressionMode$LZ4HighCompressor.compress(CompressionMode.java:177)
>    [junit4]   1>        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.flush(CompressingStoredFieldsWriter.java:227)
>    [junit4]   1>        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.finishDocument(CompressingStoredFieldsWriter.java:160)
>    [junit4]   1>        at 
> org.apache.lucene.index.StoredFieldsProcessor.finishDocument(StoredFieldsProcessor.java:128)
>    [junit4]   1>        at 
> org.apache.lucene.index.TwoStoredFieldsConsumers.finishDocument(TwoStoredFieldsConsumers.java:65)
>    [junit4]   1>        at 
> org.apache.lucene.index.DocFieldProcessor.finishDocument(DocFieldProcessor.java:278)
>    [junit4]   1>        at 
> org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:272)
>    [junit4]   1>        at 
> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:446)
>    [junit4]   1>        at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1519)
>    [junit4]   1>        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1189)
>    [junit4]   1>        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1170)
>    [junit4]   1>        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:314)
>    [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestFlushByRamOrCountsPolicy -Dtests.method=testFlushDocCount 
> -Dtests.seed=F60802156EF89C32 -Dtests.slow=true -Dtests.locale=mt_MT 
> -Dtests.timezone=US/Hawaii -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   0.69s J1 | TestFlushByRamOrCountsPolicy.testFlushDocCount 
> <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<91> but 
> was:<78>
>    [junit4]    >        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy.testFlushDocCount(TestFlushByRamOrCountsPolicy.java:156)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:722)Throwable #2: 
> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
> uncaught exception in thread: Thread[id=238, name=Thread-169, state=RUNNABLE, 
> group=TGRP-TestFlushByRamOrCountsPolicy]
>    [junit4]    > Caused by: java.lang.RuntimeException: 
> java.lang.ArrayIndexOutOfBoundsException: 591472
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([F60802156EF89C32]:0)
>    [junit4]    >        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:329)
>    [junit4]    > Caused by: java.lang.ArrayIndexOutOfBoundsException: 591472
>    [junit4]    >        at 
> org.apache.lucene.codecs.compressing.LZ4$HCHashTable.insertAndFindBestMatch(LZ4.java:333)
>    [junit4]    >        at 
> org.apache.lucene.codecs.compressing.LZ4.compressHC(LZ4.java:401)
>    [junit4]    >        at 
> org.apache.lucene.codecs.compressing.CompressionMode$LZ4HighCompressor.compress(CompressionMode.java:177)
>    [junit4]    >        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.flush(CompressingStoredFieldsWriter.java:227)
>    [junit4]    >        at 
> org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.finishDocument(CompressingStoredFieldsWriter.java:160)
>    [junit4]    >        at 
> org.apache.lucene.index.StoredFieldsProcessor.finishDocument(StoredFieldsProcessor.java:128)
>    [junit4]    >        at 
> org.apache.lucene.index.TwoStoredFieldsConsumers.finishDocument(TwoStoredFieldsConsumers.java:65)
>    [junit4]    >        at 
> org.apache.lucene.index.DocFieldProcessor.finishDocument(DocFieldProcessor.java:278)
>    [junit4]    >        at 
> org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:272)
>    [junit4]    >        at 
> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:446)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1519)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1189)
>    [junit4]    >        at 
> org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1170)
>    [junit4]    >        at 
> org.apache.lucene.index.TestFlushByRamOrCountsPolicy$IndexThread.run(TestFlushByRamOrCountsPolicy.java:314)
>    [junit4]   2> NOTE: test params are: 
> codec=FastDecompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST_DECOMPRESSION,
>  chunkSize=365), 
> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST_DECOMPRESSION,
>  chunkSize=365)), sim=RandomSimilarityProvider(queryNorm=false,coord=yes): 
> {body=DFR I(ne)B3(800.0), titleTokenized=DFR GL3(800.0)}, locale=mt_MT, 
> timezone=US/Hawaii
>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 
> 1.7.0_05 (64-bit)/cpus=8,threads=1,free=48579032,total=265617408
>    [junit4]   2> NOTE: All tests run in this JVM: [TestFieldsReader, 
> TestCachingWrapperFilter, TestPositiveScoresOnlyCollector, 
> TestTotalHitCountCollector, TestIndexWriterMergePolicy, 
> TestNumericTokenStream, TestMultiDocValues, TestMinimize, 
> TestControlledRealTimeReopenThread, TestPerFieldDocValuesFormat, 
> TestAutomatonQueryUnicode, TestCharTermAttributeImpl, TestPrefixQuery, 
> TestLiveFieldValues, TestSortRandom, TestNRTCachingDirectory, 
> TestTimeLimitingCollector, TestDisjunctionMaxQuery, TestPayloadsOnVectors, 
> Nested, TestUnicodeUtil, TestDemo, TestRateLimiter, TestBytesStore, 
> TestFlushByRamOrCountsPolicy]
>    [junit4] Completed on J1 in 4.53s, 5 tests, 1 error <<< FAILURES!
>
> [...truncated 603 lines...]
> BUILD FAILED
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build.xml:49:
>  The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1230:
>  The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:873:
>  There were test failures: 365 suites, 2479 tests, 1 error, 70 ignored (57 
> assumptions)
>
> Total time: 4 minutes 20 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to