I'll try to remove it.

Mike McCandless

http://blog.mikemccandless.com


On Mon, Mar 31, 2014 at 3:19 PM, Simon Willnauer <[email protected]> wrote:
> I agree I dont' think it's necessary to run that here - we are done
> with that IW anyways no?
>
> On Mon, Mar 31, 2014 at 6:10 PM, Michael McCandless
> <[email protected]> wrote:
>> Doesn't repro for me but I think it's related to LUCENE-5544; it's
>> happening in the very last part of IW.rollbackInternal:
>>
>>         try {
>>           processEvents(false, true);
>>         } finally {
>>           notifyAll();
>>         }
>>
>> Down in DocumentsWriterFlushQueue, the assert is angry that we are
>> sync'd on the IW instance.
>>
>> Is it even necessary to process events after rollback has "finished"?
>> What could the events even do (the IW is closed)...
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Mon, Mar 31, 2014 at 5:16 AM,  <[email protected]> wrote:
>>> Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/81070/
>>>
>>> 1 tests failed.
>>> REGRESSION:  
>>> org.apache.lucene.index.TestIndexWriterWithThreads.testRollbackAndCommitWithThreads
>>>
>>> Error Message:
>>> Captured an uncaught exception in thread: Thread[id=164, name=Thread-98, 
>>> state=RUNNABLE, group=TGRP-TestIndexWriterWithThreads]
>>>
>>> Stack Trace:
>>> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
>>> uncaught exception in thread: Thread[id=164, name=Thread-98, 
>>> state=RUNNABLE, group=TGRP-TestIndexWriterWithThreads]
>>> Caused by: java.lang.RuntimeException: java.lang.AssertionError
>>>         at __randomizedtesting.SeedInfo.seed([A2CAC9704F740906]:0)
>>>         at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:620)
>>> Caused by: java.lang.AssertionError
>>>         at 
>>> org.apache.lucene.index.DocumentsWriterFlushQueue.forcePurge(DocumentsWriterFlushQueue.java:135)
>>>         at 
>>> org.apache.lucene.index.DocumentsWriter.purgeBuffer(DocumentsWriter.java:196)
>>>         at org.apache.lucene.index.IndexWriter.purge(IndexWriter.java:4649)
>>>         at 
>>> org.apache.lucene.index.IndexWriter.doAfterSegmentFlushed(IndexWriter.java:4662)
>>>         at 
>>> org.apache.lucene.index.DocumentsWriter$MergePendingEvent.process(DocumentsWriter.java:699)
>>>         at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4688)
>>>         at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4680)
>>>         at 
>>> org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2184)
>>>         at 
>>> org.apache.lucene.index.IndexWriter.rollback(IndexWriter.java:2085)
>>>         at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:576)
>>>
>>>
>>>
>>>
>>> Build Log:
>>> [...truncated 690 lines...]
>>>    [junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
>>>    [junit4]   2> mar 31, 2014 8:14:01 PM 
>>> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>>>  uncaughtException
>>>    [junit4]   2> WARNING: Uncaught exception in thread: 
>>> Thread[Thread-98,5,TGRP-TestIndexWriterWithThreads]
>>>    [junit4]   2> java.lang.RuntimeException: java.lang.AssertionError
>>>    [junit4]   2>        at 
>>> __randomizedtesting.SeedInfo.seed([A2CAC9704F740906]:0)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:620)
>>>    [junit4]   2> Caused by: java.lang.AssertionError
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.DocumentsWriterFlushQueue.forcePurge(DocumentsWriterFlushQueue.java:135)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.DocumentsWriter.purgeBuffer(DocumentsWriter.java:196)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.purge(IndexWriter.java:4649)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.doAfterSegmentFlushed(IndexWriter.java:4662)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.DocumentsWriter$MergePendingEvent.process(DocumentsWriter.java:699)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4688)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4680)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2184)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.IndexWriter.rollback(IndexWriter.java:2085)
>>>    [junit4]   2>        at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:576)
>>>    [junit4]   2>
>>>    [junit4]   2> NOTE: reproduce with: ant test  
>>> -Dtestcase=TestIndexWriterWithThreads 
>>> -Dtests.method=testRollbackAndCommitWithThreads 
>>> -Dtests.seed=A2CAC9704F740906 -Dtests.slow=true -Dtests.locale=da 
>>> -Dtests.timezone=Australia/LHI -Dtests.file.encoding=UTF-8
>>>    [junit4] ERROR   0.94s J2 | 
>>> TestIndexWriterWithThreads.testRollbackAndCommitWithThreads <<<
>>>    [junit4]    > Throwable #1: java.lang.AssertionError
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads.testRollbackAndCommitWithThreads(TestIndexWriterWithThreads.java:632)
>>>    [junit4]    >        at java.lang.Thread.run(Thread.java:724)Throwable 
>>> #2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
>>> uncaught exception in thread: Thread[id=164, name=Thread-98, 
>>> state=RUNNABLE, group=TGRP-TestIndexWriterWithThreads]
>>>    [junit4]    > Caused by: java.lang.RuntimeException: 
>>> java.lang.AssertionError
>>>    [junit4]    >        at 
>>> __randomizedtesting.SeedInfo.seed([A2CAC9704F740906]:0)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:620)
>>>    [junit4]    > Caused by: java.lang.AssertionError
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.DocumentsWriterFlushQueue.forcePurge(DocumentsWriterFlushQueue.java:135)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.DocumentsWriter.purgeBuffer(DocumentsWriter.java:196)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.purge(IndexWriter.java:4649)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.doAfterSegmentFlushed(IndexWriter.java:4662)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.DocumentsWriter$MergePendingEvent.process(DocumentsWriter.java:699)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4688)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.processEvents(IndexWriter.java:4680)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2184)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.IndexWriter.rollback(IndexWriter.java:2085)
>>>    [junit4]    >        at 
>>> org.apache.lucene.index.TestIndexWriterWithThreads$1.run(TestIndexWriterWithThreads.java:576)
>>>    [junit4]   2> NOTE: test params are: codec=Lucene41, 
>>> sim=RandomSimilarityProvider(queryNorm=true,coord=crazy): {body=DFR 
>>> GB3(800.0), field=DFR I(n)B1, titleTokenized=DFR GL2}, locale=da, 
>>> timezone=Australia/LHI
>>>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 
>>> 1.7.0_25 (64-bit)/cpus=8,threads=1,free=175135712,total=276365312
>>>    [junit4]   2> NOTE: All tests run in this JVM: [TestNRTThreads, 
>>> TestDocValuesFormat, TestPayloadSpans, Nested1, TestPForDeltaDocIdSet, 
>>> TestOmitPositions, TestHugeRamFile, TestTopFieldCollector, 
>>> TestIdentityHashSet, TestDoc, TestCharsRef, 
>>> TestComplexExplanationsOfNonMatches, TestPhrasePrefixQuery, 
>>> TestDocTermOrds, TestRecyclingByteBlockAllocator, NestedSetupChain, 
>>> NestedTeardownChain, TestRamUsageEstimatorOnWildAnimals, 
>>> TestSloppyPhraseQuery2, TestElevationComparator, TestFieldValueFilter, 
>>> TestExplanations, TestReusableStringReader, 
>>> TestSimpleExplanationsOfNonMatches, TestIntroSorter, TestPayloadTermQuery, 
>>> TestIndexWriter, TestNumericRangeQuery64, TestIndexWriterWithThreads]
>>>    [junit4] Completed on J2 in 7.82s, 12 tests, 1 error <<< FAILURES!
>>>
>>> [...truncated 782 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:1275:
>>>  The following error occurred while executing this line:
>>> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:907:
>>>  There were test failures: 385 suites, 2796 tests, 1 error, 109 ignored (96 
>>> assumptions)
>>>
>>> Total time: 5 minutes 15 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