You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Hudson Server <hu...@hudson.zones.apache.org> on 2009/11/15 05:04:54 UTC

Build failed in Hudson: Lucene-trunk #1009

See <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1009/changes>

Changes:

[uschindler] LUCENE-2052: add varargs where possible

[simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses without explicit casts - previous commit did not contain final patch due to JIRA AM / PM issue

[mikemccand] LUCENE-2050: add eg basicNRT.alg

[simonw] LUCENE-2066: Add Highlighter test for RegexQuery

[simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses without explicit casts

[mikemccand] LUCENE-2053: throw ThreadInterruptedException when the thread is interrupt()d

[mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3 to 1

[mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT tests

------------------------------------------
[...truncated 20473 lines...]
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 22.189 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSort
    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 15.312 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTimeLimitingCollector
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestTopScoreDocCollector
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.TestWildcard
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.function.TestCustomScoreQuery
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 200.092 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.function.TestFieldScoreQuery
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 10.849 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.payloads.TestPayloadNearQuery
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.payloads.TestPayloadTermQuery
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 75.783 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestNearSpansOrdered
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 17.971 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:2
    [junit] doc:0 s:3 e:6 one:Entity:3
    [junit] doc:0 s:3 e:6 three:Noise:5
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:0 s:0 e:3 yy:Noise:2
    [junit] doc:0 s:0 e:3 xx:Entity:0
    [junit] doc:0 s:0 e:3 rr:Noise:1
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:1 s:0 e:4 rr:Noise:3
    [junit] doc:1 s:0 e:4 yy:Noise:1
    [junit] doc:1 s:0 e:4 xx:Entity:0
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:0 s:0 e:3 xx:Entity:0
    [junit] doc:0 s:0 e:3 yy:Noise:2
    [junit] doc:0 s:0 e:3 rr:Noise:1
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:0 s:0 e:3 xx:Entity:0
    [junit] doc:0 s:0 e:3 rr:Noise:1
    [junit] doc:0 s:0 e:3 yy:Noise:2
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:1 s:0 e:4 xx:Entity:0
    [junit] doc:1 s:0 e:4 yy:Noise:1
    [junit] doc:1 s:0 e:4 rr:Noise:3
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:3
    [junit] doc:2 s:0 e:5 pp:Noise:3
    [junit] doc:2 s:0 e:5 ss:Noise:2
    [junit] doc:2 s:0 e:5 qq:Noise:1
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:8
    [junit] doc:3 s:0 e:11 ten:Noise:9
    [junit] doc:3 s:0 e:11 one:Entity:0
    [junit] doc:3 s:0 e:11 six:Noise:5
    [junit] doc:3 s:0 e:11 two:Noise:1
    [junit] doc:3 s:0 e:11 five:Noise:4
    [junit] doc:3 s:0 e:11 nine:Noise:8
    [junit] doc:3 s:0 e:11 eleven:Noise:10
    [junit] doc:3 s:0 e:11 three:Noise:2
    [junit] 
    [junit] Spans Dump --
    [junit] payloads for span:8
    [junit] doc:4 s:0 e:11 six:Noise:6
    [junit] doc:4 s:0 e:11 nine:Noise:0
    [junit] doc:4 s:0 e:11 one:Entity:1
    [junit] doc:4 s:0 e:11 five:Noise:5
    [junit] doc:4 s:0 e:11 three:Noise:3
    [junit] doc:4 s:0 e:11 ten:Noise:10
    [junit] doc:4 s:0 e:11 two:Noise:2
    [junit] doc:4 s:0 e:11 eleven:Noise:9
    [junit] match:a:Noise:10
    [junit] match:k:Noise:11
    [junit] Num payloads:1
    [junit] rr:Noise:1
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.lucene.search.spans.TestSpanExplanations
    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 20.943 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 12.875 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced2
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestDirectory
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestLock
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestBitVector
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestFieldCacheSanityChecker
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestIndexableBinaryStringTools
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] size:56
    [junit] size:60
    [junit] size:48
    [junit] size:202
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.TestVersion
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399 sec
    [junit] 
    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499 sec
    [junit] 

BUILD FAILED
<http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-build.xml>:442: The following error occurred while executing this line:
<http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-build.xml>:435: Tests failed!

Total time: 33 minutes 35 seconds
Publishing Javadoc
Archiving artifacts
Recording test results
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure


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


RE: Build failed in Hudson: Lucene-trunk #1009

Posted by Uwe Schindler <uw...@thetaphi.de>.
Interesting, the test-tag variant passes...

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Sunday, November 15, 2009 11:37 AM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> 
> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
> getting a ThreadInterruptedException, the interrupt status of the
> thread is cleared, but in this case it's not.
> 
>     [junit] ------------- Standard Output ---------------
>     [junit] FAILED; InterruptedException hit but thread.interrupted() was
> true
>     [junit] java.lang.InterruptedException
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> duler.java:199)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>     [junit] 	at
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> exWriter.java:4386)
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase:
> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> 	FAILED
>     [junit] null
>     [junit] junit.framework.AssertionFailedError
>     [junit] 	at
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> dexWriter.java:4458)
>     [junit] 	at
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> 
> I think it's a bug in the test -- the test is double-interrupting the
> thread before letting the thread catch the first interrupt.  I'll fix.
> 
> Mike
> 
> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> <hu...@hudson.zones.apache.org> wrote:
> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/1009/changes>
> >
> > Changes:
> >
> > [uschindler] LUCENE-2052: add varargs where possible
> >
> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
> without explicit casts - previous commit did not contain final patch due
> to JIRA AM / PM issue
> >
> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >
> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >
> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
> without explicit casts
> >
> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the
> thread is interrupt()d
> >
> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3 to
> 1
> >
> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT
> tests
> >
> > ------------------------------------------
> > [...truncated 20473 lines...]
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 22.189
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 15.312
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTimeLimitingCollector
> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTopScoreDocCollector
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestCustomScoreQuery
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 200.092
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestFieldScoreQuery
> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 10.849
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 75.783
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestNearSpansOrdered
> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 17.971
> sec
> >    [junit]
> >    [junit] ------------- Standard Output ---------------
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:2
> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:8
> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:8
> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >    [junit] match:a:Noise:10
> >    [junit] match:k:Noise:11
> >    [junit] Num payloads:1
> >    [junit] rr:Noise:1
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpanExplanations
> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 20.943
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 12.875
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced2
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestFieldCacheSanityChecker
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.util.TestIndexableBinaryStringTools
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369 sec
> >    [junit]
> >    [junit] ------------- Standard Output ---------------
> >    [junit] size:56
> >    [junit] size:60
> >    [junit] size:48
> >    [junit] size:202
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499 sec
> >    [junit]
> >
> > BUILD FAILED
> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml>:442: The following error occurred while executing this line:
> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml>:435: Tests failed!
> >
> > Total time: 33 minutes 35 seconds
> > Publishing Javadoc
> > Archiving artifacts
> > Recording test results
> > Publishing Clover coverage report...
> > No Clover report will be published due to a Build Failure
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Oh, yeah.  So Erick, or anyone, if you see it fail on BW branch,
ignore it for now.

I'm going to be offline for a while starting shortly -- Uwe (or
anyone) if the my last patch on LUCENE-2053 looks OK, feel free to
commit it to trunk & BW branch (& roll a new tag).  Else I'll commit
when I'm back online later today...

Mike

On Sun, Nov 15, 2009 at 8:42 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> It may still fail in BW branch.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Sunday, November 15, 2009 2:30 PM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>>
>> Until I can fix it for real, I've disabled the flakey part of the test
>> (committed a little bit ago), so if you svn up you should see no
>> failures from this.
>>
>> Mike
>>
>> On Sun, Nov 15, 2009 at 8:27 AM, Erick Erickson <er...@gmail.com>
>> wrote:
>> > Hmmm, I was running into this intermittently last night, but thought it
>> was
>> > related
>> > to whether or not I ran the clean target. Obviously not.
>> >
>> > So, is it safe to say that until further notice, if TestIndexWriter
>> fails
>> > submit patches anyway?
>> > Unless, of course, you're modifying related code, then you just worry
>> <G>...
>> >
>> > Erick
>> >
>> > On Sun, Nov 15, 2009 at 8:17 AM, Michael McCandless
>> > <lu...@mikemccandless.com> wrote:
>> >>
>> >> Right, this was an intentional change, to match the semantics of the
>> >> "normal" InterruptedException.  Either interrupt status is set, or an
>> >> InterruptedException is being thrown, but not both.  It's like the
>> >> olympic torch.  There can be only one.
>> >>
>> >> Ie, if you interrupt a thread in Lucene, you'll then get a
>> >> ThreadInterruptedException and the interrupt status on the thread
>> >> should be cleared.
>> >>
>> >> Previously (2.9) you got a RuntimeException and the interrupt status
>> was
>> >> set.
>> >>
>> >> But I don't think this is the cause of the test failure -- I think the
>> >> test is simply buggy.  Yet, in trying to fix it, I think what I'm
>> >> seeing is JRE-dependent behavior on how the classloader deals with a
>> >> pending interrupt.  In Java 1.5, I see the classloader failing to load
>> >> classes that are in the classpath.  In Java 1.6, the classloader seems
>> >> to siliently clear the interrupt status (which causes the test to
>> >> deadlock, with my fixes).  Nightmare...
>> >>
>> >> Mike
>> >>
>> >> On Sun, Nov 15, 2009 at 8:06 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> >> > In the patch you changed the behaviour from RuntimeException ->
>> >> > ThreadInterruptedException in a way, that the catch blocks did not
>> >> > contain
>> >> > anymore the Thread.currentThread().interrupt() call.  That's what I
>> >> > meant.
>> >> > You catch the exception but do not anymore explicitely interrupt the
>> >> > thread
>> >> > again.
>> >> >
>> >> > Uwe
>> >> >
>> >> > -----
>> >> > Uwe Schindler
>> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> > http://www.thetaphi.de
>> >> > eMail: uwe@thetaphi.de
>> >> >
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> Sent: Sunday, November 15, 2009 2:00 PM
>> >> >> To: java-dev@lucene.apache.org
>> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >>
>> >> >> Sorry, what exactly did I change in the patch?
>> >> >>
>> >> >> The bug in the test is that it simply sleeps for 1 msec, and then
>> >> >> interrupts again.  In the child thread I assert that interrupt
>> status
>> >> >> was cleared on catching the ThreadInterruptedException, but that
>> >> >> assert intermittently fails, I'm thinking because it took longer
>> than
>> >> >> 1 msec for IW to detect the interrupt & throw the exception, and
>> then
>> >> >> the 2nd interrupt re-instated the interrupt status.
>> >> >>
>> >> >> I'm trying to change the test so that main thread waits for child
>> >> >> thread to throw the ThreadInterruptedException, before interrupting
>> >> >> again, but something's not working right.
>> >> >>
>> >> >> For now I'll turn off this assertion in the test.
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de>
>> wrote:
>> >> >> > Maybe that was the reason to explicitely interrupting the thread
>> >> >> > again
>> >> >> after
>> >> >> > catching the InterruptedException. Why did you change this
>> behaviour
>> >> >> > in
>> >> >> the
>> >> >> > patch?
>> >> >> >
>> >> >> > -----
>> >> >> > Uwe Schindler
>> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> >> > http://www.thetaphi.de
>> >> >> > eMail: uwe@thetaphi.de
>> >> >> >
>> >> >> >> -----Original Message-----
>> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> >> Sent: Sunday, November 15, 2009 1:40 PM
>> >> >> >> To: java-dev@lucene.apache.org
>> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >> >>
>> >> >> >> Yeah it's a thread safety intermittent sort of thing.  The main
>> >> >> >> thread
>> >> >> >> is double-interrupt()ing the child thread before the child thread
>> >> >> >> succeeds in raising & catching the ThreadInterruptedException
>> from
>> >> >> >> the
>> >> >> >> first interrupt().
>> >> >> >>
>> >> >> >> I'm trying to fix it but it's proving devilish ;)
>> >> >> >>
>> >> >> >> Mike
>> >> >> >>
>> >> >> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de>
>> >> >> >> wrote:
>> >> >> >> > ... and now, also the trunk variant passes... very strange. If
>> you
>> >> >> run
>> >> >> >> the
>> >> >> >> > test alone, it passes, if the whole suite it breaks.
>> >> >> >> >
>> >> >> >> > Uwe
>> >> >> >> >
>> >> >> >> > -----
>> >> >> >> > Uwe Schindler
>> >> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> >> >> > http://www.thetaphi.de
>> >> >> >> > eMail: uwe@thetaphi.de
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >> -----Original Message-----
>> >> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> >> >> Sent: Sunday, November 15, 2009 11:37 AM
>> >> >> >> >> To: java-dev@lucene.apache.org
>> >> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >> >> >>
>> >> >> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts
>> that
>> >> >> >> >> on
>> >> >> >> >> getting a ThreadInterruptedException, the interrupt status of
>> the
>> >> >> >> >> thread is cleared, but in this case it's not.
>> >> >> >> >>
>> >> >> >> >>     [junit] ------------- Standard Output ---------------
>> >> >> >> >>     [junit] FAILED; InterruptedException hit but
>> >> >> thread.interrupted()
>> >> >> >> was
>> >> >> >> >> true
>> >> >> >> >>     [junit] java.lang.InterruptedException
>> >> >> >> >>     [junit]   at java.lang.Object.wait(Native Method)
>> >> >> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
>> >> >> >> >> duler.java:199)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
>> >> >> >> >> exWriter.java:4386)
>> >> >> >> >>     [junit] ------------- ---------------- ---------------
>> >> >> >> >>     [junit] Testcase:
>> >> >> >> >>
>> >> >>
>> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
>> >> >> >> >>       FAILED
>> >> >> >> >>     [junit] null
>> >> >> >> >>     [junit] junit.framework.AssertionFailedError
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
>> >> >> >> >> dexWriter.java:4458)
>> >> >> >> >>     [junit]   at
>> >> >> >> >>
>> >> >>
>> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
>> >> >> >> >>
>> >> >> >> >> I think it's a bug in the test -- the test is double-
>> interrupting
>> >> >> the
>> >> >> >> >> thread before letting the thread catch the first interrupt.
>>  I'll
>> >> >> fix.
>> >> >> >> >>
>> >> >> >> >> Mike
>> >> >> >> >>
>> >> >> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
>> >> >> >> >> <hu...@hudson.zones.apache.org> wrote:
>> >> >> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> >> >> trunk/1009/changes>
>> >> >> >> >> >
>> >> >> >> >> > Changes:
>> >> >> >> >> >
>> >> >> >> >> > [uschindler] LUCENE-2052: add varargs where possible
>> >> >> >> >> >
>> >> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> >> >> subclasses
>> >> >> >> >> without explicit casts - previous commit did not contain final
>> >> >> >> >> patch
>> >> >> >> due
>> >> >> >> >> to JIRA AM / PM issue
>> >> >> >> >> >
>> >> >> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
>> >> >> >> >> >
>> >> >> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>> >> >> >> >> >
>> >> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> >> >> subclasses
>> >> >> >> >> without explicit casts
>> >> >> >> >> >
>> >> >> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException
>> when
>> >> >> the
>> >> >> >> >> thread is interrupt()d
>> >> >> >> >> >
>> >> >> >> >> > [mikemccand] LUCENE-2060: change CMS's default
>> maxThreadCount
>> >> >> >> >> > from
>> >> >> 3
>> >> >> >> to
>> >> >> >> >> 1
>> >> >> >> >> >
>> >> >> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for
>> running
>> >> >> NRT
>> >> >> >> >> tests
>> >> >> >> >> >
>> >> >> >> >> > ------------------------------------------
>> >> >> >> >> > [...truncated 20473 lines...]
>> >> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.27
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestSimilarity
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 2.104
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestSimpleExplanations
>> >> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 22.189
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>> >> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 3.547
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestSloppyPhraseQuery
>> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 5.267
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
>> >> >> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 15.312
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> > org.apache.lucene.search.TestSpanQueryFilter
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.46
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> > org.apache.lucene.search.TestTermRangeFilter
>> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 14.519
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> > org.apache.lucene.search.TestTermRangeQuery
>> >> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 2.772
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestTermScorer
>> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.05
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestTermVectors
>> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 6.93
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestThreadSafe
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 8.115
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.TestTimeLimitingCollector
>> >> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 19.96
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestTopDocsCollector
>> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.88
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.TestTopScoreDocCollector
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.95
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.575
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 200.092
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.function.TestDocValues
>> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.913
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
>> >> >> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 10.849
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.function.TestOrdValues
>> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 5.743
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 5.439
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
>> >> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 19.241
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestBasics
>> >> >> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 75.783
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>> >> >> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 17.91
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
>> >> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 4.93
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestPayloadSpans
>> >> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 17.971
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:2
>> >> >> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
>> >> >> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
>> >> >> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
>> >> >> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:8
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
>> >> >> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >> >    [junit] payloads for span:8
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
>> >> >> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
>> >> >> >> >> >    [junit] match:a:Noise:10
>> >> >> >> >> >    [junit] match:k:Noise:11
>> >> >> >> >> >    [junit] Num payloads:1
>> >> >> >> >> >    [junit] rr:Noise:1
>> >> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.search.spans.TestSpanExplanations
>> >> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 20.943
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >>
>> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>> >> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.504
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestSpans
>> >> >> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> >> 12.875
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestSpansAdvanced
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 2.955
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestSpansAdvanced2
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 2.859
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.store.TestBufferedIndexInput
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 47.287
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.748
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.store.TestFileSwitchDirectory
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.32
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestHugeRamFile
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 6.25
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.763
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestLockFactory
>> >> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 9.534
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestRAMDirectory
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 4.116
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestWindowsMMap
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 2.343
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> > org.apache.lucene.util.TestAttributeSource
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.854
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 5.713
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.util.TestCloseableThreadLocal
>> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.587
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.util.TestFieldCacheSanityChecker
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 13.127
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
>> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 9.15
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestNumericUtils
>> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 1.033
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 3.25
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestPriorityQueue
>> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.847
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> >> >> > org.apache.lucene.util.TestRamUsageEstimator
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.369
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >> >> >    [junit] size:56
>> >> >> >> >> >    [junit] size:60
>> >> >> >> >> >    [junit] size:48
>> >> >> >> >> >    [junit] size:202
>> >> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>> >> >> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.577
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestSortedVIntList
>> >> >> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.397
>> >> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestStringHelper
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.484
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestStringIntern
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 48.83
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.399
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.util.cache.TestSimpleLRUCache
>> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>> elapsed:
>> >> >> 0.499
>> >> >> >> sec
>> >> >> >> >> >    [junit]
>> >> >> >> >> >
>> >> >> >> >> > BUILD FAILED
>> >> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> >> trunk/ws/trunk/common-
>> >> >> >> >> build.xml>:442: The following error occurred while executing
>> this
>> >> >> line:
>> >> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> >> trunk/ws/trunk/common-
>> >> >> >> >> build.xml>:435: Tests failed!
>> >> >> >> >> >
>> >> >> >> >> > Total time: 33 minutes 35 seconds
>> >> >> >> >> > Publishing Javadoc
>> >> >> >> >> > Archiving artifacts
>> >> >> >> >> > Recording test results
>> >> >> >> >> > Publishing Clover coverage report...
>> >> >> >> >> > No Clover report will be published due to a Build Failure
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > ------------------------------------------------------------
>> ------
>> >> >> ---
>> >> >> >> >> > To unsubscribe, e-mail: java-dev-
>> unsubscribe@lucene.apache.org
>> >> >> >> >> > For additional commands, e-mail:
>> >> >> >> >> > java-dev-help@lucene.apache.org
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --------------------------------------------------------------
>> ------
>> >> >> -
>> >> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> >> >> For additional commands, e-mail: java-dev-
>> help@lucene.apache.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ---------------------------------------------------------------
>> ------
>> >> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> >> > For additional commands, e-mail: java-dev-
>> help@lucene.apache.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >> -----------------------------------------------------------------
>> ----
>> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------
>> ---
>> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --------------------------------------------------------------------
>> -
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >>
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Build failed in Hudson: Lucene-trunk #1009

Posted by Uwe Schindler <uw...@thetaphi.de>.
It may still fail in BW branch.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Sunday, November 15, 2009 2:30 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> 
> Until I can fix it for real, I've disabled the flakey part of the test
> (committed a little bit ago), so if you svn up you should see no
> failures from this.
> 
> Mike
> 
> On Sun, Nov 15, 2009 at 8:27 AM, Erick Erickson <er...@gmail.com>
> wrote:
> > Hmmm, I was running into this intermittently last night, but thought it
> was
> > related
> > to whether or not I ran the clean target. Obviously not.
> >
> > So, is it safe to say that until further notice, if TestIndexWriter
> fails
> > submit patches anyway?
> > Unless, of course, you're modifying related code, then you just worry
> <G>...
> >
> > Erick
> >
> > On Sun, Nov 15, 2009 at 8:17 AM, Michael McCandless
> > <lu...@mikemccandless.com> wrote:
> >>
> >> Right, this was an intentional change, to match the semantics of the
> >> "normal" InterruptedException.  Either interrupt status is set, or an
> >> InterruptedException is being thrown, but not both.  It's like the
> >> olympic torch.  There can be only one.
> >>
> >> Ie, if you interrupt a thread in Lucene, you'll then get a
> >> ThreadInterruptedException and the interrupt status on the thread
> >> should be cleared.
> >>
> >> Previously (2.9) you got a RuntimeException and the interrupt status
> was
> >> set.
> >>
> >> But I don't think this is the cause of the test failure -- I think the
> >> test is simply buggy.  Yet, in trying to fix it, I think what I'm
> >> seeing is JRE-dependent behavior on how the classloader deals with a
> >> pending interrupt.  In Java 1.5, I see the classloader failing to load
> >> classes that are in the classpath.  In Java 1.6, the classloader seems
> >> to siliently clear the interrupt status (which causes the test to
> >> deadlock, with my fixes).  Nightmare...
> >>
> >> Mike
> >>
> >> On Sun, Nov 15, 2009 at 8:06 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> >> > In the patch you changed the behaviour from RuntimeException ->
> >> > ThreadInterruptedException in a way, that the catch blocks did not
> >> > contain
> >> > anymore the Thread.currentThread().interrupt() call.  That's what I
> >> > meant.
> >> > You catch the exception but do not anymore explicitely interrupt the
> >> > thread
> >> > again.
> >> >
> >> > Uwe
> >> >
> >> > -----
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: uwe@thetaphi.de
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> Sent: Sunday, November 15, 2009 2:00 PM
> >> >> To: java-dev@lucene.apache.org
> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >>
> >> >> Sorry, what exactly did I change in the patch?
> >> >>
> >> >> The bug in the test is that it simply sleeps for 1 msec, and then
> >> >> interrupts again.  In the child thread I assert that interrupt
> status
> >> >> was cleared on catching the ThreadInterruptedException, but that
> >> >> assert intermittently fails, I'm thinking because it took longer
> than
> >> >> 1 msec for IW to detect the interrupt & throw the exception, and
> then
> >> >> the 2nd interrupt re-instated the interrupt status.
> >> >>
> >> >> I'm trying to change the test so that main thread waits for child
> >> >> thread to throw the ThreadInterruptedException, before interrupting
> >> >> again, but something's not working right.
> >> >>
> >> >> For now I'll turn off this assertion in the test.
> >> >>
> >> >> Mike
> >> >>
> >> >> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de>
> wrote:
> >> >> > Maybe that was the reason to explicitely interrupting the thread
> >> >> > again
> >> >> after
> >> >> > catching the InterruptedException. Why did you change this
> behaviour
> >> >> > in
> >> >> the
> >> >> > patch?
> >> >> >
> >> >> > -----
> >> >> > Uwe Schindler
> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> > http://www.thetaphi.de
> >> >> > eMail: uwe@thetaphi.de
> >> >> >
> >> >> >> -----Original Message-----
> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> >> Sent: Sunday, November 15, 2009 1:40 PM
> >> >> >> To: java-dev@lucene.apache.org
> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >> >>
> >> >> >> Yeah it's a thread safety intermittent sort of thing.  The main
> >> >> >> thread
> >> >> >> is double-interrupt()ing the child thread before the child thread
> >> >> >> succeeds in raising & catching the ThreadInterruptedException
> from
> >> >> >> the
> >> >> >> first interrupt().
> >> >> >>
> >> >> >> I'm trying to fix it but it's proving devilish ;)
> >> >> >>
> >> >> >> Mike
> >> >> >>
> >> >> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de>
> >> >> >> wrote:
> >> >> >> > ... and now, also the trunk variant passes... very strange. If
> you
> >> >> run
> >> >> >> the
> >> >> >> > test alone, it passes, if the whole suite it breaks.
> >> >> >> >
> >> >> >> > Uwe
> >> >> >> >
> >> >> >> > -----
> >> >> >> > Uwe Schindler
> >> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> >> > http://www.thetaphi.de
> >> >> >> > eMail: uwe@thetaphi.de
> >> >> >> >
> >> >> >> >
> >> >> >> >> -----Original Message-----
> >> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> >> >> Sent: Sunday, November 15, 2009 11:37 AM
> >> >> >> >> To: java-dev@lucene.apache.org
> >> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >> >> >>
> >> >> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts
> that
> >> >> >> >> on
> >> >> >> >> getting a ThreadInterruptedException, the interrupt status of
> the
> >> >> >> >> thread is cleared, but in this case it's not.
> >> >> >> >>
> >> >> >> >>     [junit] ------------- Standard Output ---------------
> >> >> >> >>     [junit] FAILED; InterruptedException hit but
> >> >> thread.interrupted()
> >> >> >> was
> >> >> >> >> true
> >> >> >> >>     [junit] java.lang.InterruptedException
> >> >> >> >>     [junit]   at java.lang.Object.wait(Native Method)
> >> >> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >> >>
> >> >>
> >> >>
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> >> >> >> >> duler.java:199)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >> >>
> >> >>
> >> >>
> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >> >>
> >> >>
> >> >>
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> >> >> >> >> exWriter.java:4386)
> >> >> >> >>     [junit] ------------- ---------------- ---------------
> >> >> >> >>     [junit] Testcase:
> >> >> >> >>
> >> >>
> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> >> >> >> >>       FAILED
> >> >> >> >>     [junit] null
> >> >> >> >>     [junit] junit.framework.AssertionFailedError
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >> >>
> >> >>
> >> >>
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> >> >> >> >> dexWriter.java:4458)
> >> >> >> >>     [junit]   at
> >> >> >> >>
> >> >>
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> >> >> >> >>
> >> >> >> >> I think it's a bug in the test -- the test is double-
> interrupting
> >> >> the
> >> >> >> >> thread before letting the thread catch the first interrupt.
>  I'll
> >> >> fix.
> >> >> >> >>
> >> >> >> >> Mike
> >> >> >> >>
> >> >> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> >> >> >> >> <hu...@hudson.zones.apache.org> wrote:
> >> >> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> >> >> trunk/1009/changes>
> >> >> >> >> >
> >> >> >> >> > Changes:
> >> >> >> >> >
> >> >> >> >> > [uschindler] LUCENE-2052: add varargs where possible
> >> >> >> >> >
> >> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> >> >> subclasses
> >> >> >> >> without explicit casts - previous commit did not contain final
> >> >> >> >> patch
> >> >> >> due
> >> >> >> >> to JIRA AM / PM issue
> >> >> >> >> >
> >> >> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >> >> >> >> >
> >> >> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >> >> >> >> >
> >> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> >> >> subclasses
> >> >> >> >> without explicit casts
> >> >> >> >> >
> >> >> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException
> when
> >> >> the
> >> >> >> >> thread is interrupt()d
> >> >> >> >> >
> >> >> >> >> > [mikemccand] LUCENE-2060: change CMS's default
> maxThreadCount
> >> >> >> >> > from
> >> >> 3
> >> >> >> to
> >> >> >> >> 1
> >> >> >> >> >
> >> >> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for
> running
> >> >> NRT
> >> >> >> >> tests
> >> >> >> >> >
> >> >> >> >> > ------------------------------------------
> >> >> >> >> > [...truncated 20473 lines...]
> >> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.27
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestSimilarity
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 2.104
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestSimpleExplanations
> >> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 22.189
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 3.547
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestSloppyPhraseQuery
> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 5.267
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >> >> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 15.312
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> > org.apache.lucene.search.TestSpanQueryFilter
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.46
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> > org.apache.lucene.search.TestTermRangeFilter
> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 14.519
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> > org.apache.lucene.search.TestTermRangeQuery
> >> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 2.772
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTermScorer
> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.05
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTermVectors
> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 6.93
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestThreadSafe
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 8.115
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.TestTimeLimitingCollector
> >> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 19.96
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestTopDocsCollector
> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.88
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.TestTopScoreDocCollector
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.95
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.575
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 200.092
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.function.TestDocValues
> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.913
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
> >> >> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 10.849
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.function.TestOrdValues
> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 5.743
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 5.439
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 19.241
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestBasics
> >> >> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 75.783
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >> >> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 17.91
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
> >> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 4.93
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestPayloadSpans
> >> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 17.971
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:2
> >> >> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >> >> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:3
> >> >> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >> >> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >> >> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:8
> >> >> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >> >> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >> >> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >> >> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >> >> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >> >> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >> >> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >> >> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Spans Dump --
> >> >> >> >> >    [junit] payloads for span:8
> >> >> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >> >> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >> >> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >> >> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >> >> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >> >> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >> >> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >> >> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >> >> >> >> >    [junit] match:a:Noise:10
> >> >> >> >> >    [junit] match:k:Noise:11
> >> >> >> >> >    [junit] Num payloads:1
> >> >> >> >> >    [junit] rr:Noise:1
> >> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.search.spans.TestSpanExplanations
> >> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 20.943
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >>
> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.504
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpans
> >> >> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> >> 12.875
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestSpansAdvanced
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 2.955
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestSpansAdvanced2
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 2.859
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.store.TestBufferedIndexInput
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 47.287
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.748
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.store.TestFileSwitchDirectory
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.32
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestHugeRamFile
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 6.25
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.763
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestLockFactory
> >> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 9.534
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestRAMDirectory
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 4.116
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestWindowsMMap
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 2.343
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> > org.apache.lucene.util.TestAttributeSource
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.854
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 5.713
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.util.TestCloseableThreadLocal
> >> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.587
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.util.TestFieldCacheSanityChecker
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 13.127
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
> >> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 9.15
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestNumericUtils
> >> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 1.033
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 3.25
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestPriorityQueue
> >> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.847
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> >> >> > org.apache.lucene.util.TestRamUsageEstimator
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.369
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >> >> >    [junit] size:56
> >> >> >> >> >    [junit] size:60
> >> >> >> >> >    [junit] size:48
> >> >> >> >> >    [junit] size:202
> >> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >> >> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.577
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestSortedVIntList
> >> >> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.397
> >> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestStringHelper
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.484
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestStringIntern
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 48.83
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.399
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.util.cache.TestSimpleLRUCache
> >> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> elapsed:
> >> >> 0.499
> >> >> >> sec
> >> >> >> >> >    [junit]
> >> >> >> >> >
> >> >> >> >> > BUILD FAILED
> >> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> >> trunk/ws/trunk/common-
> >> >> >> >> build.xml>:442: The following error occurred while executing
> this
> >> >> line:
> >> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> >> trunk/ws/trunk/common-
> >> >> >> >> build.xml>:435: Tests failed!
> >> >> >> >> >
> >> >> >> >> > Total time: 33 minutes 35 seconds
> >> >> >> >> > Publishing Javadoc
> >> >> >> >> > Archiving artifacts
> >> >> >> >> > Recording test results
> >> >> >> >> > Publishing Clover coverage report...
> >> >> >> >> > No Clover report will be published due to a Build Failure
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > ------------------------------------------------------------
> ------
> >> >> ---
> >> >> >> >> > To unsubscribe, e-mail: java-dev-
> unsubscribe@lucene.apache.org
> >> >> >> >> > For additional commands, e-mail:
> >> >> >> >> > java-dev-help@lucene.apache.org
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --------------------------------------------------------------
> ------
> >> >> -
> >> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> >> For additional commands, e-mail: java-dev-
> help@lucene.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > ---------------------------------------------------------------
> ------
> >> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> > For additional commands, e-mail: java-dev-
> help@lucene.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> -----------------------------------------------------------------
> ----
> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >> > ------------------------------------------------------------------
> ---
> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >> --------------------------------------------------------------------
> -
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >>
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Until I can fix it for real, I've disabled the flakey part of the test
(committed a little bit ago), so if you svn up you should see no
failures from this.

Mike

On Sun, Nov 15, 2009 at 8:27 AM, Erick Erickson <er...@gmail.com> wrote:
> Hmmm, I was running into this intermittently last night, but thought it was
> related
> to whether or not I ran the clean target. Obviously not.
>
> So, is it safe to say that until further notice, if TestIndexWriter fails
> submit patches anyway?
> Unless, of course, you're modifying related code, then you just worry <G>...
>
> Erick
>
> On Sun, Nov 15, 2009 at 8:17 AM, Michael McCandless
> <lu...@mikemccandless.com> wrote:
>>
>> Right, this was an intentional change, to match the semantics of the
>> "normal" InterruptedException.  Either interrupt status is set, or an
>> InterruptedException is being thrown, but not both.  It's like the
>> olympic torch.  There can be only one.
>>
>> Ie, if you interrupt a thread in Lucene, you'll then get a
>> ThreadInterruptedException and the interrupt status on the thread
>> should be cleared.
>>
>> Previously (2.9) you got a RuntimeException and the interrupt status was
>> set.
>>
>> But I don't think this is the cause of the test failure -- I think the
>> test is simply buggy.  Yet, in trying to fix it, I think what I'm
>> seeing is JRE-dependent behavior on how the classloader deals with a
>> pending interrupt.  In Java 1.5, I see the classloader failing to load
>> classes that are in the classpath.  In Java 1.6, the classloader seems
>> to siliently clear the interrupt status (which causes the test to
>> deadlock, with my fixes).  Nightmare...
>>
>> Mike
>>
>> On Sun, Nov 15, 2009 at 8:06 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> > In the patch you changed the behaviour from RuntimeException ->
>> > ThreadInterruptedException in a way, that the catch blocks did not
>> > contain
>> > anymore the Thread.currentThread().interrupt() call.  That's what I
>> > meant.
>> > You catch the exception but do not anymore explicitely interrupt the
>> > thread
>> > again.
>> >
>> > Uwe
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >
>> >> -----Original Message-----
>> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> Sent: Sunday, November 15, 2009 2:00 PM
>> >> To: java-dev@lucene.apache.org
>> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >>
>> >> Sorry, what exactly did I change in the patch?
>> >>
>> >> The bug in the test is that it simply sleeps for 1 msec, and then
>> >> interrupts again.  In the child thread I assert that interrupt status
>> >> was cleared on catching the ThreadInterruptedException, but that
>> >> assert intermittently fails, I'm thinking because it took longer than
>> >> 1 msec for IW to detect the interrupt & throw the exception, and then
>> >> the 2nd interrupt re-instated the interrupt status.
>> >>
>> >> I'm trying to change the test so that main thread waits for child
>> >> thread to throw the ThreadInterruptedException, before interrupting
>> >> again, but something's not working right.
>> >>
>> >> For now I'll turn off this assertion in the test.
>> >>
>> >> Mike
>> >>
>> >> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> >> > Maybe that was the reason to explicitely interrupting the thread
>> >> > again
>> >> after
>> >> > catching the InterruptedException. Why did you change this behaviour
>> >> > in
>> >> the
>> >> > patch?
>> >> >
>> >> > -----
>> >> > Uwe Schindler
>> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> > http://www.thetaphi.de
>> >> > eMail: uwe@thetaphi.de
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> Sent: Sunday, November 15, 2009 1:40 PM
>> >> >> To: java-dev@lucene.apache.org
>> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >>
>> >> >> Yeah it's a thread safety intermittent sort of thing.  The main
>> >> >> thread
>> >> >> is double-interrupt()ing the child thread before the child thread
>> >> >> succeeds in raising & catching the ThreadInterruptedException from
>> >> >> the
>> >> >> first interrupt().
>> >> >>
>> >> >> I'm trying to fix it but it's proving devilish ;)
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de>
>> >> >> wrote:
>> >> >> > ... and now, also the trunk variant passes... very strange. If you
>> >> run
>> >> >> the
>> >> >> > test alone, it passes, if the whole suite it breaks.
>> >> >> >
>> >> >> > Uwe
>> >> >> >
>> >> >> > -----
>> >> >> > Uwe Schindler
>> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> >> > http://www.thetaphi.de
>> >> >> > eMail: uwe@thetaphi.de
>> >> >> >
>> >> >> >
>> >> >> >> -----Original Message-----
>> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> >> Sent: Sunday, November 15, 2009 11:37 AM
>> >> >> >> To: java-dev@lucene.apache.org
>> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >> >>
>> >> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that
>> >> >> >> on
>> >> >> >> getting a ThreadInterruptedException, the interrupt status of the
>> >> >> >> thread is cleared, but in this case it's not.
>> >> >> >>
>> >> >> >>     [junit] ------------- Standard Output ---------------
>> >> >> >>     [junit] FAILED; InterruptedException hit but
>> >> thread.interrupted()
>> >> >> was
>> >> >> >> true
>> >> >> >>     [junit] java.lang.InterruptedException
>> >> >> >>     [junit]   at java.lang.Object.wait(Native Method)
>> >> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> >>
>> >>
>> >> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
>> >> >> >> duler.java:199)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>> >> >> >>     [junit]   at
>> >> >> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> >>
>> >>
>> >> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>> >> >> >>     [junit]   at
>> >> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>> >> >> >>     [junit]   at
>> >> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> >>
>> >>
>> >> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
>> >> >> >> exWriter.java:4386)
>> >> >> >>     [junit] ------------- ---------------- ---------------
>> >> >> >>     [junit] Testcase:
>> >> >> >>
>> >> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
>> >> >> >>       FAILED
>> >> >> >>     [junit] null
>> >> >> >>     [junit] junit.framework.AssertionFailedError
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> >>
>> >>
>> >> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
>> >> >> >> dexWriter.java:4458)
>> >> >> >>     [junit]   at
>> >> >> >>
>> >> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
>> >> >> >>
>> >> >> >> I think it's a bug in the test -- the test is double-interrupting
>> >> the
>> >> >> >> thread before letting the thread catch the first interrupt.  I'll
>> >> fix.
>> >> >> >>
>> >> >> >> Mike
>> >> >> >>
>> >> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
>> >> >> >> <hu...@hudson.zones.apache.org> wrote:
>> >> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> >> trunk/1009/changes>
>> >> >> >> >
>> >> >> >> > Changes:
>> >> >> >> >
>> >> >> >> > [uschindler] LUCENE-2052: add varargs where possible
>> >> >> >> >
>> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> >> subclasses
>> >> >> >> without explicit casts - previous commit did not contain final
>> >> >> >> patch
>> >> >> due
>> >> >> >> to JIRA AM / PM issue
>> >> >> >> >
>> >> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
>> >> >> >> >
>> >> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>> >> >> >> >
>> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> >> subclasses
>> >> >> >> without explicit casts
>> >> >> >> >
>> >> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when
>> >> the
>> >> >> >> thread is interrupt()d
>> >> >> >> >
>> >> >> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount
>> >> >> >> > from
>> >> 3
>> >> >> to
>> >> >> >> 1
>> >> >> >> >
>> >> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running
>> >> NRT
>> >> >> >> tests
>> >> >> >> >
>> >> >> >> > ------------------------------------------
>> >> >> >> > [...truncated 20473 lines...]
>> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.27
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 2.104
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestSimpleExplanations
>> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 22.189
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
>> >> 3.547
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestSloppyPhraseQuery
>> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> >> 5.267
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
>> >> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 15.312
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> > org.apache.lucene.search.TestSpanQueryFilter
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.46
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> > org.apache.lucene.search.TestTermRangeFilter
>> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> >> 14.519
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> > org.apache.lucene.search.TestTermRangeQuery
>> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
>> >> 2.772
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.05
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> >> 6.93
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 8.115
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestTimeLimitingCollector
>> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>> >> 19.96
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestTopDocsCollector
>> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.88
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestTopScoreDocCollector
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.95
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.575
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 200.092
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.function.TestDocValues
>> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.913
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
>> >> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 10.849
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.function.TestOrdValues
>> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> >> 5.743
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 5.439
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
>> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>> >> 19.241
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>> >> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 75.783
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>> >> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed:
>> >> 17.91
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
>> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
>> >> 4.93
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestPayloadSpans
>> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 17.971
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:2
>> >> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
>> >> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:3
>> >> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
>> >> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
>> >> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:8
>> >> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
>> >> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
>> >> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
>> >> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
>> >> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
>> >> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
>> >> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
>> >> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Spans Dump --
>> >> >> >> >    [junit] payloads for span:8
>> >> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
>> >> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
>> >> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
>> >> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
>> >> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
>> >> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
>> >> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
>> >> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
>> >> >> >> >    [junit] match:a:Noise:10
>> >> >> >> >    [junit] match:k:Noise:11
>> >> >> >> >    [junit] Num payloads:1
>> >> >> >> >    [junit] rr:Noise:1
>> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestSpanExplanations
>> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 20.943
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.504
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>> >> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
>> >> >> 12.875
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestSpansAdvanced
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 2.955
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestSpansAdvanced2
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 2.859
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.store.TestBufferedIndexInput
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 47.287
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.748
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.store.TestFileSwitchDirectory
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.32
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 6.25
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.763
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
>> >> 9.534
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 4.116
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 2.343
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> > org.apache.lucene.util.TestAttributeSource
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.854
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> >> 5.713
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.util.TestCloseableThreadLocal
>> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.587
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.util.TestFieldCacheSanityChecker
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 13.127
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
>> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> >> 9.15
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
>> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> >> 1.033
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 3.25
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.847
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> >> >> > org.apache.lucene.util.TestRamUsageEstimator
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.369
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >> >    [junit] size:56
>> >> >> >> >    [junit] size:60
>> >> >> >> >    [junit] size:48
>> >> >> >> >    [junit] size:202
>> >> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>> >> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.577
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>> >> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.397
>> >> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.484
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 48.83
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.399
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.util.cache.TestSimpleLRUCache
>> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> >> 0.499
>> >> >> sec
>> >> >> >> >    [junit]
>> >> >> >> >
>> >> >> >> > BUILD FAILED
>> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> trunk/ws/trunk/common-
>> >> >> >> build.xml>:442: The following error occurred while executing this
>> >> line:
>> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> trunk/ws/trunk/common-
>> >> >> >> build.xml>:435: Tests failed!
>> >> >> >> >
>> >> >> >> > Total time: 33 minutes 35 seconds
>> >> >> >> > Publishing Javadoc
>> >> >> >> > Archiving artifacts
>> >> >> >> > Recording test results
>> >> >> >> > Publishing Clover coverage report...
>> >> >> >> > No Clover report will be published due to a Build Failure
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ------------------------------------------------------------------
>> >> ---
>> >> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> >> > For additional commands, e-mail:
>> >> >> >> > java-dev-help@lucene.apache.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >> --------------------------------------------------------------------
>> >> -
>> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > ---------------------------------------------------------------------
>> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>
>
>

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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Erick Erickson <er...@gmail.com>.
Hmmm, I was running into this intermittently last night, but thought it was
related
to whether or not I ran the clean target. Obviously not.

So, is it safe to say that until further notice, if TestIndexWriter fails
submit patches anyway?
Unless, of course, you're modifying related code, then you just worry <G>...

Erick

On Sun, Nov 15, 2009 at 8:17 AM, Michael McCandless <
lucene@mikemccandless.com> wrote:

> Right, this was an intentional change, to match the semantics of the
> "normal" InterruptedException.  Either interrupt status is set, or an
> InterruptedException is being thrown, but not both.  It's like the
> olympic torch.  There can be only one.
>
> Ie, if you interrupt a thread in Lucene, you'll then get a
> ThreadInterruptedException and the interrupt status on the thread
> should be cleared.
>
> Previously (2.9) you got a RuntimeException and the interrupt status was
> set.
>
> But I don't think this is the cause of the test failure -- I think the
> test is simply buggy.  Yet, in trying to fix it, I think what I'm
> seeing is JRE-dependent behavior on how the classloader deals with a
> pending interrupt.  In Java 1.5, I see the classloader failing to load
> classes that are in the classpath.  In Java 1.6, the classloader seems
> to siliently clear the interrupt status (which causes the test to
> deadlock, with my fixes).  Nightmare...
>
> Mike
>
> On Sun, Nov 15, 2009 at 8:06 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> > In the patch you changed the behaviour from RuntimeException ->
> > ThreadInterruptedException in a way, that the catch blocks did not
> contain
> > anymore the Thread.currentThread().interrupt() call.  That's what I
> meant.
> > You catch the exception but do not anymore explicitely interrupt the
> thread
> > again.
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Sunday, November 15, 2009 2:00 PM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >>
> >> Sorry, what exactly did I change in the patch?
> >>
> >> The bug in the test is that it simply sleeps for 1 msec, and then
> >> interrupts again.  In the child thread I assert that interrupt status
> >> was cleared on catching the ThreadInterruptedException, but that
> >> assert intermittently fails, I'm thinking because it took longer than
> >> 1 msec for IW to detect the interrupt & throw the exception, and then
> >> the 2nd interrupt re-instated the interrupt status.
> >>
> >> I'm trying to change the test so that main thread waits for child
> >> thread to throw the ThreadInterruptedException, before interrupting
> >> again, but something's not working right.
> >>
> >> For now I'll turn off this assertion in the test.
> >>
> >> Mike
> >>
> >> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> >> > Maybe that was the reason to explicitely interrupting the thread again
> >> after
> >> > catching the InterruptedException. Why did you change this behaviour
> in
> >> the
> >> > patch?
> >> >
> >> > -----
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: uwe@thetaphi.de
> >> >
> >> >> -----Original Message-----
> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> Sent: Sunday, November 15, 2009 1:40 PM
> >> >> To: java-dev@lucene.apache.org
> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >>
> >> >> Yeah it's a thread safety intermittent sort of thing.  The main
> thread
> >> >> is double-interrupt()ing the child thread before the child thread
> >> >> succeeds in raising & catching the ThreadInterruptedException from
> the
> >> >> first interrupt().
> >> >>
> >> >> I'm trying to fix it but it's proving devilish ;)
> >> >>
> >> >> Mike
> >> >>
> >> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de>
> wrote:
> >> >> > ... and now, also the trunk variant passes... very strange. If you
> >> run
> >> >> the
> >> >> > test alone, it passes, if the whole suite it breaks.
> >> >> >
> >> >> > Uwe
> >> >> >
> >> >> > -----
> >> >> > Uwe Schindler
> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> > http://www.thetaphi.de
> >> >> > eMail: uwe@thetaphi.de
> >> >> >
> >> >> >
> >> >> >> -----Original Message-----
> >> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> >> Sent: Sunday, November 15, 2009 11:37 AM
> >> >> >> To: java-dev@lucene.apache.org
> >> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >> >>
> >> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
> >> >> >> getting a ThreadInterruptedException, the interrupt status of the
> >> >> >> thread is cleared, but in this case it's not.
> >> >> >>
> >> >> >>     [junit] ------------- Standard Output ---------------
> >> >> >>     [junit] FAILED; InterruptedException hit but
> >> thread.interrupted()
> >> >> was
> >> >> >> true
> >> >> >>     [junit] java.lang.InterruptedException
> >> >> >>     [junit]   at java.lang.Object.wait(Native Method)
> >> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
> >> >> >>     [junit]   at
> >> >> >>
> >> >>
> >>
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> >> >> >> duler.java:199)
> >> >> >>     [junit]   at
> >> >> >>
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
> >> >> >>     [junit]   at
> >> >> >>
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
> >> >> >>     [junit]   at
> >> >> >>
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
> >> >> >>     [junit]   at
> >> >> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
> >> >> >>     [junit]   at
> >> >> >>
> >> >>
> >> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
> >> >> >>     [junit]   at
> >> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
> >> >> >>     [junit]   at
> >> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
> >> >> >>     [junit]   at
> >> >> >>
> >> >>
> >>
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> >> >> >> exWriter.java:4386)
> >> >> >>     [junit] ------------- ---------------- ---------------
> >> >> >>     [junit] Testcase:
> >> >> >>
> >> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> >> >> >>       FAILED
> >> >> >>     [junit] null
> >> >> >>     [junit] junit.framework.AssertionFailedError
> >> >> >>     [junit]   at
> >> >> >>
> >> >>
> >>
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> >> >> >> dexWriter.java:4458)
> >> >> >>     [junit]   at
> >> >> >>
> >> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> >> >> >>
> >> >> >> I think it's a bug in the test -- the test is double-interrupting
> >> the
> >> >> >> thread before letting the thread catch the first interrupt.  I'll
> >> fix.
> >> >> >>
> >> >> >> Mike
> >> >> >>
> >> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> >> >> >> <hu...@hudson.zones.apache.org> wrote:
> >> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> >> trunk/1009/changes>
> >> >> >> >
> >> >> >> > Changes:
> >> >> >> >
> >> >> >> > [uschindler] LUCENE-2052: add varargs where possible
> >> >> >> >
> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> >> subclasses
> >> >> >> without explicit casts - previous commit did not contain final
> patch
> >> >> due
> >> >> >> to JIRA AM / PM issue
> >> >> >> >
> >> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >> >> >> >
> >> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >> >> >> >
> >> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> >> subclasses
> >> >> >> without explicit casts
> >> >> >> >
> >> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when
> >> the
> >> >> >> thread is interrupt()d
> >> >> >> >
> >> >> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount
> from
> >> 3
> >> >> to
> >> >> >> 1
> >> >> >> >
> >> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running
> >> NRT
> >> >> >> tests
> >> >> >> >
> >> >> >> > ------------------------------------------
> >> >> >> > [...truncated 20473 lines...]
> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 1.27
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 2.104
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestSimpleExplanations
> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
> >> >> 22.189
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
> >> 3.547
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestSloppyPhraseQuery
> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> >> 5.267
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
> >> >> 15.312
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestSpanQueryFilter
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 1.46
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTermRangeFilter
> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> >> 14.519
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTermRangeQuery
> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
> >> 2.772
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >> 1.05
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> >> 6.93
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 8.115
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestTimeLimitingCollector
> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >> 19.96
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestTopDocsCollector
> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> >> 0.88
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestTopScoreDocCollector
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 0.95
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> >> 1.575
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> >> 200.092
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.function.TestDocValues
> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >> 0.913
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
> >> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
> >> >> 10.849
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.function.TestOrdValues
> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> >> 5.743
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 5.439
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >> 19.241
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
> >> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
> >> >> 75.783
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed:
> >> 17.91
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> >> 4.93
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestPayloadSpans
> >> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> >> >> 17.971
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:2
> >> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:3
> >> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:8
> >> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >> >> >> >    [junit]
> >> >> >> >    [junit] Spans Dump --
> >> >> >> >    [junit] payloads for span:8
> >> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >> >> >> >    [junit] match:a:Noise:10
> >> >> >> >    [junit] match:k:Noise:11
> >> >> >> >    [junit] Num payloads:1
> >> >> >> >    [junit] rr:Noise:1
> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestSpanExplanations
> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
> >> >> 20.943
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
> >> 1.504
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
> >> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
> >> >> 12.875
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestSpansAdvanced
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 2.955
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestSpansAdvanced2
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 2.859
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.store.TestBufferedIndexInput
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 47.287
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> >> 0.748
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.store.TestFileSwitchDirectory
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 1.32
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 6.25
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 1.763
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> >> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
> >> 9.534
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 4.116
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 2.343
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 0.854
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> >> 5.713
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.util.TestCloseableThreadLocal
> >> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >> 0.587
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.util.TestFieldCacheSanityChecker
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 13.127
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
> >> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> >> 9.15
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
> >> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> >> 1.033
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 3.25
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
> >> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 0.847
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestRamUsageEstimator
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 0.369
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >> >    [junit] size:56
> >> >> >> >    [junit] size:60
> >> >> >> >    [junit] size:48
> >> >> >> >    [junit] size:202
> >> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:
> >> 0.577
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
> >> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed:
> >> 0.397
> >> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 0.484
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 48.83
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 0.399
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.util.cache.TestSimpleLRUCache
> >> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >> 0.499
> >> >> sec
> >> >> >> >    [junit]
> >> >> >> >
> >> >> >> > BUILD FAILED
> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> trunk/ws/trunk/common-
> >> >> >> build.xml>:442: The following error occurred while executing this
> >> line:
> >> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> trunk/ws/trunk/common-
> >> >> >> build.xml>:435: Tests failed!
> >> >> >> >
> >> >> >> > Total time: 33 minutes 35 seconds
> >> >> >> > Publishing Javadoc
> >> >> >> > Archiving artifacts
> >> >> >> > Recording test results
> >> >> >> > Publishing Clover coverage report...
> >> >> >> > No Clover report will be published due to a Build Failure
> >> >> >> >
> >> >> >> >
> >> >> >> >
> ------------------------------------------------------------------
> >> ---
> >> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> > For additional commands, e-mail:
> java-dev-help@lucene.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> --------------------------------------------------------------------
> >> -
> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Right, this was an intentional change, to match the semantics of the
"normal" InterruptedException.  Either interrupt status is set, or an
InterruptedException is being thrown, but not both.  It's like the
olympic torch.  There can be only one.

Ie, if you interrupt a thread in Lucene, you'll then get a
ThreadInterruptedException and the interrupt status on the thread
should be cleared.

Previously (2.9) you got a RuntimeException and the interrupt status was set.

But I don't think this is the cause of the test failure -- I think the
test is simply buggy.  Yet, in trying to fix it, I think what I'm
seeing is JRE-dependent behavior on how the classloader deals with a
pending interrupt.  In Java 1.5, I see the classloader failing to load
classes that are in the classpath.  In Java 1.6, the classloader seems
to siliently clear the interrupt status (which causes the test to
deadlock, with my fixes).  Nightmare...

Mike

On Sun, Nov 15, 2009 at 8:06 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> In the patch you changed the behaviour from RuntimeException ->
> ThreadInterruptedException in a way, that the catch blocks did not contain
> anymore the Thread.currentThread().interrupt() call.  That's what I meant.
> You catch the exception but do not anymore explicitely interrupt the thread
> again.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Sunday, November 15, 2009 2:00 PM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>>
>> Sorry, what exactly did I change in the patch?
>>
>> The bug in the test is that it simply sleeps for 1 msec, and then
>> interrupts again.  In the child thread I assert that interrupt status
>> was cleared on catching the ThreadInterruptedException, but that
>> assert intermittently fails, I'm thinking because it took longer than
>> 1 msec for IW to detect the interrupt & throw the exception, and then
>> the 2nd interrupt re-instated the interrupt status.
>>
>> I'm trying to change the test so that main thread waits for child
>> thread to throw the ThreadInterruptedException, before interrupting
>> again, but something's not working right.
>>
>> For now I'll turn off this assertion in the test.
>>
>> Mike
>>
>> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> > Maybe that was the reason to explicitely interrupting the thread again
>> after
>> > catching the InterruptedException. Why did you change this behaviour in
>> the
>> > patch?
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >> -----Original Message-----
>> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> Sent: Sunday, November 15, 2009 1:40 PM
>> >> To: java-dev@lucene.apache.org
>> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >>
>> >> Yeah it's a thread safety intermittent sort of thing.  The main thread
>> >> is double-interrupt()ing the child thread before the child thread
>> >> succeeds in raising & catching the ThreadInterruptedException from the
>> >> first interrupt().
>> >>
>> >> I'm trying to fix it but it's proving devilish ;)
>> >>
>> >> Mike
>> >>
>> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> >> > ... and now, also the trunk variant passes... very strange. If you
>> run
>> >> the
>> >> > test alone, it passes, if the whole suite it breaks.
>> >> >
>> >> > Uwe
>> >> >
>> >> > -----
>> >> > Uwe Schindler
>> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> > http://www.thetaphi.de
>> >> > eMail: uwe@thetaphi.de
>> >> >
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> >> Sent: Sunday, November 15, 2009 11:37 AM
>> >> >> To: java-dev@lucene.apache.org
>> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >> >>
>> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
>> >> >> getting a ThreadInterruptedException, the interrupt status of the
>> >> >> thread is cleared, but in this case it's not.
>> >> >>
>> >> >>     [junit] ------------- Standard Output ---------------
>> >> >>     [junit] FAILED; InterruptedException hit but
>> thread.interrupted()
>> >> was
>> >> >> true
>> >> >>     [junit] java.lang.InterruptedException
>> >> >>     [junit]   at java.lang.Object.wait(Native Method)
>> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
>> >> >>     [junit]   at
>> >> >>
>> >>
>> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
>> >> >> duler.java:199)
>> >> >>     [junit]   at
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>> >> >>     [junit]   at
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>> >> >>     [junit]   at
>> >> >>
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>> >> >>     [junit]   at
>> >> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>> >> >>     [junit]   at
>> >> >>
>> >>
>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>> >> >>     [junit]   at
>> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>> >> >>     [junit]   at
>> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>> >> >>     [junit]   at
>> >> >>
>> >>
>> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
>> >> >> exWriter.java:4386)
>> >> >>     [junit] ------------- ---------------- ---------------
>> >> >>     [junit] Testcase:
>> >> >>
>> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
>> >> >>       FAILED
>> >> >>     [junit] null
>> >> >>     [junit] junit.framework.AssertionFailedError
>> >> >>     [junit]   at
>> >> >>
>> >>
>> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
>> >> >> dexWriter.java:4458)
>> >> >>     [junit]   at
>> >> >>
>> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
>> >> >>
>> >> >> I think it's a bug in the test -- the test is double-interrupting
>> the
>> >> >> thread before letting the thread catch the first interrupt.  I'll
>> fix.
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
>> >> >> <hu...@hudson.zones.apache.org> wrote:
>> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> >> trunk/1009/changes>
>> >> >> >
>> >> >> > Changes:
>> >> >> >
>> >> >> > [uschindler] LUCENE-2052: add varargs where possible
>> >> >> >
>> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> subclasses
>> >> >> without explicit casts - previous commit did not contain final patch
>> >> due
>> >> >> to JIRA AM / PM issue
>> >> >> >
>> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
>> >> >> >
>> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>> >> >> >
>> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> >> subclasses
>> >> >> without explicit casts
>> >> >> >
>> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when
>> the
>> >> >> thread is interrupt()d
>> >> >> >
>> >> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from
>> 3
>> >> to
>> >> >> 1
>> >> >> >
>> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running
>> NRT
>> >> >> tests
>> >> >> >
>> >> >> > ------------------------------------------
>> >> >> > [...truncated 20473 lines...]
>> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 1.27
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 2.104
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestSimpleExplanations
>> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
>> >> 22.189
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
>> 3.547
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestSloppyPhraseQuery
>> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> 5.267
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
>> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
>> >> 15.312
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 1.46
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
>> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> 14.519
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
>> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
>> 2.772
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> 1.05
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> 6.93
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 8.115
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestTimeLimitingCollector
>> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>> 19.96
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestTopDocsCollector
>> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> 0.88
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestTopScoreDocCollector
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 0.95
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> 1.575
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> >> 200.092
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.function.TestDocValues
>> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> 0.913
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
>> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
>> >> 10.849
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.function.TestOrdValues
>> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> 5.743
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 5.439
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
>> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>> 19.241
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
>> >> 75.783
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed:
>> 17.91
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
>> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
>> 4.93
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestPayloadSpans
>> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
>> >> 17.971
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:2
>> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
>> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:3
>> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
>> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
>> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:8
>> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
>> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
>> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
>> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
>> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
>> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
>> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
>> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
>> >> >> >    [junit]
>> >> >> >    [junit] Spans Dump --
>> >> >> >    [junit] payloads for span:8
>> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
>> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
>> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
>> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
>> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
>> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
>> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
>> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
>> >> >> >    [junit] match:a:Noise:10
>> >> >> >    [junit] match:k:Noise:11
>> >> >> >    [junit] Num payloads:1
>> >> >> >    [junit] rr:Noise:1
>> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestSpanExplanations
>> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
>> >> 20.943
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
>> 1.504
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
>> >> 12.875
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestSpansAdvanced
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 2.955
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestSpansAdvanced2
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 2.859
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestBufferedIndexInput
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 47.287
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> 0.748
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.store.TestFileSwitchDirectory
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 1.32
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 6.25
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 1.763
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
>> 9.534
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 4.116
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 2.343
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 0.854
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
>> 5.713
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestCloseableThreadLocal
>> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>> 0.587
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> org.apache.lucene.util.TestFieldCacheSanityChecker
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 13.127
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
>> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
>> 9.15
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
>> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
>> 1.033
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 3.25
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 0.847
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 0.369
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] ------------- Standard Output ---------------
>> >> >> >    [junit] size:56
>> >> >> >    [junit] size:60
>> >> >> >    [junit] size:48
>> >> >> >    [junit] size:202
>> >> >> >    [junit] ------------- ---------------- ---------------
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:
>> 0.577
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed:
>> 0.397
>> >> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 0.484
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 48.83
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 0.399
>> >> sec
>> >> >> >    [junit]
>> >> >> >    [junit] Testsuite:
>> org.apache.lucene.util.cache.TestSimpleLRUCache
>> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>> 0.499
>> >> sec
>> >> >> >    [junit]
>> >> >> >
>> >> >> > BUILD FAILED
>> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> trunk/ws/trunk/common-
>> >> >> build.xml>:442: The following error occurred while executing this
>> line:
>> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> trunk/ws/trunk/common-
>> >> >> build.xml>:435: Tests failed!
>> >> >> >
>> >> >> > Total time: 33 minutes 35 seconds
>> >> >> > Publishing Javadoc
>> >> >> > Archiving artifacts
>> >> >> > Recording test results
>> >> >> > Publishing Clover coverage report...
>> >> >> > No Clover report will be published due to a Build Failure
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------
>> ---
>> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --------------------------------------------------------------------
>> -
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Build failed in Hudson: Lucene-trunk #1009

Posted by Uwe Schindler <uw...@thetaphi.de>.
In the patch you changed the behaviour from RuntimeException ->
ThreadInterruptedException in a way, that the catch blocks did not contain
anymore the Thread.currentThread().interrupt() call.  That's what I meant.
You catch the exception but do not anymore explicitely interrupt the thread
again.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Sunday, November 15, 2009 2:00 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> 
> Sorry, what exactly did I change in the patch?
> 
> The bug in the test is that it simply sleeps for 1 msec, and then
> interrupts again.  In the child thread I assert that interrupt status
> was cleared on catching the ThreadInterruptedException, but that
> assert intermittently fails, I'm thinking because it took longer than
> 1 msec for IW to detect the interrupt & throw the exception, and then
> the 2nd interrupt re-instated the interrupt status.
> 
> I'm trying to change the test so that main thread waits for child
> thread to throw the ThreadInterruptedException, before interrupting
> again, but something's not working right.
> 
> For now I'll turn off this assertion in the test.
> 
> Mike
> 
> On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> > Maybe that was the reason to explicitely interrupting the thread again
> after
> > catching the InterruptedException. Why did you change this behaviour in
> the
> > patch?
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Sunday, November 15, 2009 1:40 PM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >>
> >> Yeah it's a thread safety intermittent sort of thing.  The main thread
> >> is double-interrupt()ing the child thread before the child thread
> >> succeeds in raising & catching the ThreadInterruptedException from the
> >> first interrupt().
> >>
> >> I'm trying to fix it but it's proving devilish ;)
> >>
> >> Mike
> >>
> >> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> >> > ... and now, also the trunk variant passes... very strange. If you
> run
> >> the
> >> > test alone, it passes, if the whole suite it breaks.
> >> >
> >> > Uwe
> >> >
> >> > -----
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: uwe@thetaphi.de
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> Sent: Sunday, November 15, 2009 11:37 AM
> >> >> To: java-dev@lucene.apache.org
> >> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >> >>
> >> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
> >> >> getting a ThreadInterruptedException, the interrupt status of the
> >> >> thread is cleared, but in this case it's not.
> >> >>
> >> >>     [junit] ------------- Standard Output ---------------
> >> >>     [junit] FAILED; InterruptedException hit but
> thread.interrupted()
> >> was
> >> >> true
> >> >>     [junit] java.lang.InterruptedException
> >> >>     [junit]   at java.lang.Object.wait(Native Method)
> >> >>     [junit]   at java.lang.Object.wait(Object.java:474)
> >> >>     [junit]   at
> >> >>
> >>
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> >> >> duler.java:199)
> >> >>     [junit]   at
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
> >> >>     [junit]   at
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
> >> >>     [junit]   at
> >> >>
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
> >> >>     [junit]   at
> >> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
> >> >>     [junit]   at
> >> >>
> >>
> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
> >> >>     [junit]   at
> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
> >> >>     [junit]   at
> >> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
> >> >>     [junit]   at
> >> >>
> >>
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> >> >> exWriter.java:4386)
> >> >>     [junit] ------------- ---------------- ---------------
> >> >>     [junit] Testcase:
> >> >>
> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> >> >>       FAILED
> >> >>     [junit] null
> >> >>     [junit] junit.framework.AssertionFailedError
> >> >>     [junit]   at
> >> >>
> >>
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> >> >> dexWriter.java:4458)
> >> >>     [junit]   at
> >> >>
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> >> >>
> >> >> I think it's a bug in the test -- the test is double-interrupting
> the
> >> >> thread before letting the thread catch the first interrupt.  I'll
> fix.
> >> >>
> >> >> Mike
> >> >>
> >> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> >> >> <hu...@hudson.zones.apache.org> wrote:
> >> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> >> trunk/1009/changes>
> >> >> >
> >> >> > Changes:
> >> >> >
> >> >> > [uschindler] LUCENE-2052: add varargs where possible
> >> >> >
> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> subclasses
> >> >> without explicit casts - previous commit did not contain final patch
> >> due
> >> >> to JIRA AM / PM issue
> >> >> >
> >> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >> >> >
> >> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >> >> >
> >> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> >> subclasses
> >> >> without explicit casts
> >> >> >
> >> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when
> the
> >> >> thread is interrupt()d
> >> >> >
> >> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from
> 3
> >> to
> >> >> 1
> >> >> >
> >> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running
> NRT
> >> >> tests
> >> >> >
> >> >> > ------------------------------------------
> >> >> > [...truncated 20473 lines...]
> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 1.27
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 2.104
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestSimpleExplanations
> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
> >> 22.189
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
> 3.547
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestSloppyPhraseQuery
> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> 5.267
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
> >> 15.312
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 1.46
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> 14.519
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
> 2.772
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> 1.05
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> 6.93
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 8.115
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestTimeLimitingCollector
> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> 19.96
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTopDocsCollector
> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> 0.88
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestTopScoreDocCollector
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 0.95
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> 1.575
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.function.TestCustomScoreQuery
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> >> 200.092
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestDocValues
> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> 0.913
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.function.TestFieldScoreQuery
> >> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
> >> 10.849
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestOrdValues
> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> 5.743
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 5.439
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> 19.241
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
> >> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
> >> 75.783
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed:
> 17.91
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestNearSpansOrdered
> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> 4.93
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestPayloadSpans
> >> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> >> 17.971
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:2
> >> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:3
> >> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:8
> >> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >> >> >    [junit]
> >> >> >    [junit] Spans Dump --
> >> >> >    [junit] payloads for span:8
> >> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >> >> >    [junit] match:a:Noise:10
> >> >> >    [junit] match:k:Noise:11
> >> >> >    [junit] Num payloads:1
> >> >> >    [junit] rr:Noise:1
> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestSpanExplanations
> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
> >> 20.943
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
> 1.504
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
> >> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
> >> 12.875
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestSpansAdvanced
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 2.955
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestSpansAdvanced2
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 2.859
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestBufferedIndexInput
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 47.287
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> 0.748
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.store.TestFileSwitchDirectory
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 1.32
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 6.25
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 1.763
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> >> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:
> 9.534
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 4.116
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 2.343
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 0.854
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:
> 5.713
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestCloseableThreadLocal
> >> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> 0.587
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> org.apache.lucene.util.TestFieldCacheSanityChecker
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 13.127
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> >> >> org.apache.lucene.util.TestIndexableBinaryStringTools
> >> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:
> 9.15
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
> >> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:
> 1.033
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 3.25
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
> >> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 0.847
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 0.369
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] ------------- Standard Output ---------------
> >> >> >    [junit] size:56
> >> >> >    [junit] size:60
> >> >> >    [junit] size:48
> >> >> >    [junit] size:202
> >> >> >    [junit] ------------- ---------------- ---------------
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:
> 0.577
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
> >> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed:
> 0.397
> >> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 0.484
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 48.83
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 0.399
> >> sec
> >> >> >    [junit]
> >> >> >    [junit] Testsuite:
> org.apache.lucene.util.cache.TestSimpleLRUCache
> >> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> 0.499
> >> sec
> >> >> >    [junit]
> >> >> >
> >> >> > BUILD FAILED
> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> trunk/ws/trunk/common-
> >> >> build.xml>:442: The following error occurred while executing this
> line:
> >> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> trunk/ws/trunk/common-
> >> >> build.xml>:435: Tests failed!
> >> >> >
> >> >> > Total time: 33 minutes 35 seconds
> >> >> > Publishing Javadoc
> >> >> > Archiving artifacts
> >> >> > Recording test results
> >> >> > Publishing Clover coverage report...
> >> >> > No Clover report will be published due to a Build Failure
> >> >> >
> >> >> >
> >> >> > ------------------------------------------------------------------
> ---
> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >> --------------------------------------------------------------------
> -
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Sorry, what exactly did I change in the patch?

The bug in the test is that it simply sleeps for 1 msec, and then
interrupts again.  In the child thread I assert that interrupt status
was cleared on catching the ThreadInterruptedException, but that
assert intermittently fails, I'm thinking because it took longer than
1 msec for IW to detect the interrupt & throw the exception, and then
the 2nd interrupt re-instated the interrupt status.

I'm trying to change the test so that main thread waits for child
thread to throw the ThreadInterruptedException, before interrupting
again, but something's not working right.

For now I'll turn off this assertion in the test.

Mike

On Sun, Nov 15, 2009 at 7:46 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> Maybe that was the reason to explicitely interrupting the thread again after
> catching the InterruptedException. Why did you change this behaviour in the
> patch?
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Sunday, November 15, 2009 1:40 PM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>>
>> Yeah it's a thread safety intermittent sort of thing.  The main thread
>> is double-interrupt()ing the child thread before the child thread
>> succeeds in raising & catching the ThreadInterruptedException from the
>> first interrupt().
>>
>> I'm trying to fix it but it's proving devilish ;)
>>
>> Mike
>>
>> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> > ... and now, also the trunk variant passes... very strange. If you run
>> the
>> > test alone, it passes, if the whole suite it breaks.
>> >
>> > Uwe
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >
>> >> -----Original Message-----
>> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> Sent: Sunday, November 15, 2009 11:37 AM
>> >> To: java-dev@lucene.apache.org
>> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>> >>
>> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
>> >> getting a ThreadInterruptedException, the interrupt status of the
>> >> thread is cleared, but in this case it's not.
>> >>
>> >>     [junit] ------------- Standard Output ---------------
>> >>     [junit] FAILED; InterruptedException hit but thread.interrupted()
>> was
>> >> true
>> >>     [junit] java.lang.InterruptedException
>> >>     [junit]   at java.lang.Object.wait(Native Method)
>> >>     [junit]   at java.lang.Object.wait(Object.java:474)
>> >>     [junit]   at
>> >>
>> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
>> >> duler.java:199)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>> >>     [junit]   at
>> >>
>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>> >>     [junit]   at
>> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>> >>     [junit]   at
>> >>
>> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
>> >> exWriter.java:4386)
>> >>     [junit] ------------- ---------------- ---------------
>> >>     [junit] Testcase:
>> >> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
>> >>       FAILED
>> >>     [junit] null
>> >>     [junit] junit.framework.AssertionFailedError
>> >>     [junit]   at
>> >>
>> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
>> >> dexWriter.java:4458)
>> >>     [junit]   at
>> >> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
>> >>
>> >> I think it's a bug in the test -- the test is double-interrupting the
>> >> thread before letting the thread catch the first interrupt.  I'll fix.
>> >>
>> >> Mike
>> >>
>> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
>> >> <hu...@hudson.zones.apache.org> wrote:
>> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> >> trunk/1009/changes>
>> >> >
>> >> > Changes:
>> >> >
>> >> > [uschindler] LUCENE-2052: add varargs where possible
>> >> >
>> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> subclasses
>> >> without explicit casts - previous commit did not contain final patch
>> due
>> >> to JIRA AM / PM issue
>> >> >
>> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
>> >> >
>> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>> >> >
>> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
>> subclasses
>> >> without explicit casts
>> >> >
>> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the
>> >> thread is interrupt()d
>> >> >
>> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3
>> to
>> >> 1
>> >> >
>> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT
>> >> tests
>> >> >
>> >> > ------------------------------------------
>> >> > [...truncated 20473 lines...]
>> >> >    [junit] ------------- ---------------- ---------------
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
>> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
>> 22.189
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
>> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
>> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
>> 15.312
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
>> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
>> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestTimeLimitingCollector
>> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
>> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> org.apache.lucene.search.TestTopScoreDocCollector
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.function.TestCustomScoreQuery
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
>> 200.092
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
>> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.function.TestFieldScoreQuery
>> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
>> 10.849
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
>> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
>> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
>> 75.783
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestNearSpansOrdered
>> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
>> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
>> 17.971
>> >> sec
>> >> >    [junit]
>> >> >    [junit] ------------- Standard Output ---------------
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:2
>> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
>> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:3
>> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
>> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
>> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:8
>> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
>> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
>> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
>> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
>> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
>> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
>> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
>> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
>> >> >    [junit]
>> >> >    [junit] Spans Dump --
>> >> >    [junit] payloads for span:8
>> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
>> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
>> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
>> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
>> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
>> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
>> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
>> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
>> >> >    [junit] match:a:Noise:10
>> >> >    [junit] match:k:Noise:11
>> >> >    [junit] Num payloads:1
>> >> >    [junit] rr:Noise:1
>> >> >    [junit] ------------- ---------------- ---------------
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestSpanExplanations
>> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
>> 20.943
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
>> 12.875
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestSpansAdvanced
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestSpansAdvanced2
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
>> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> org.apache.lucene.util.TestFieldCacheSanityChecker
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite:
>> >> org.apache.lucene.util.TestIndexableBinaryStringTools
>> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
>> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369
>> sec
>> >> >    [junit]
>> >> >    [junit] ------------- Standard Output ---------------
>> >> >    [junit] size:56
>> >> >    [junit] size:60
>> >> >    [junit] size:48
>> >> >    [junit] size:202
>> >> >    [junit] ------------- ---------------- ---------------
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397
>> >> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399
>> sec
>> >> >    [junit]
>> >> >    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
>> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499
>> sec
>> >> >    [junit]
>> >> >
>> >> > BUILD FAILED
>> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/common-
>> >> build.xml>:442: The following error occurred while executing this line:
>> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/common-
>> >> build.xml>:435: Tests failed!
>> >> >
>> >> > Total time: 33 minutes 35 seconds
>> >> > Publishing Javadoc
>> >> > Archiving artifacts
>> >> > Recording test results
>> >> > Publishing Clover coverage report...
>> >> > No Clover report will be published due to a Build Failure
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Build failed in Hudson: Lucene-trunk #1009

Posted by Uwe Schindler <uw...@thetaphi.de>.
Maybe that was the reason to explicitely interrupting the thread again after
catching the InterruptedException. Why did you change this behaviour in the
patch?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Sunday, November 15, 2009 1:40 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> 
> Yeah it's a thread safety intermittent sort of thing.  The main thread
> is double-interrupt()ing the child thread before the child thread
> succeeds in raising & catching the ThreadInterruptedException from the
> first interrupt().
> 
> I'm trying to fix it but it's proving devilish ;)
> 
> Mike
> 
> On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> > ... and now, also the trunk variant passes... very strange. If you run
> the
> > test alone, it passes, if the whole suite it breaks.
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Sunday, November 15, 2009 11:37 AM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> >>
> >> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
> >> getting a ThreadInterruptedException, the interrupt status of the
> >> thread is cleared, but in this case it's not.
> >>
> >>     [junit] ------------- Standard Output ---------------
> >>     [junit] FAILED; InterruptedException hit but thread.interrupted()
> was
> >> true
> >>     [junit] java.lang.InterruptedException
> >>     [junit]   at java.lang.Object.wait(Native Method)
> >>     [junit]   at java.lang.Object.wait(Object.java:474)
> >>     [junit]   at
> >>
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> >> duler.java:199)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
> >>     [junit]   at
> >>
> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
> >>     [junit]   at
> >> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
> >>     [junit]   at
> >>
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> >> exWriter.java:4386)
> >>     [junit] ------------- ---------------- ---------------
> >>     [junit] Testcase:
> >> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> >>       FAILED
> >>     [junit] null
> >>     [junit] junit.framework.AssertionFailedError
> >>     [junit]   at
> >>
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> >> dexWriter.java:4458)
> >>     [junit]   at
> >> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> >>
> >> I think it's a bug in the test -- the test is double-interrupting the
> >> thread before letting the thread catch the first interrupt.  I'll fix.
> >>
> >> Mike
> >>
> >> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> >> <hu...@hudson.zones.apache.org> wrote:
> >> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> >> trunk/1009/changes>
> >> >
> >> > Changes:
> >> >
> >> > [uschindler] LUCENE-2052: add varargs where possible
> >> >
> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> subclasses
> >> without explicit casts - previous commit did not contain final patch
> due
> >> to JIRA AM / PM issue
> >> >
> >> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >> >
> >> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >> >
> >> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery
> subclasses
> >> without explicit casts
> >> >
> >> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the
> >> thread is interrupt()d
> >> >
> >> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3
> to
> >> 1
> >> >
> >> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT
> >> tests
> >> >
> >> > ------------------------------------------
> >> > [...truncated 20473 lines...]
> >> >    [junit] ------------- ---------------- ---------------
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed:
> 22.189
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:
> 15.312
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTimeLimitingCollector
> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> org.apache.lucene.search.TestTopScoreDocCollector
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.function.TestCustomScoreQuery
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:
> 200.092
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.function.TestFieldScoreQuery
> >> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:
> 10.849
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
> >> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed:
> 75.783
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestNearSpansOrdered
> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
> >> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> 17.971
> >> sec
> >> >    [junit]
> >> >    [junit] ------------- Standard Output ---------------
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:2
> >> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:3
> >> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:8
> >> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >> >    [junit]
> >> >    [junit] Spans Dump --
> >> >    [junit] payloads for span:8
> >> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >> >    [junit] match:a:Noise:10
> >> >    [junit] match:k:Noise:11
> >> >    [junit] Num payloads:1
> >> >    [junit] rr:Noise:1
> >> >    [junit] ------------- ---------------- ---------------
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestSpanExplanations
> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:
> 20.943
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
> >> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:
> 12.875
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpansAdvanced
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpansAdvanced2
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> >> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
> >> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587
> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> org.apache.lucene.util.TestFieldCacheSanityChecker
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite:
> >> org.apache.lucene.util.TestIndexableBinaryStringTools
> >> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
> >> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
> >> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369
> sec
> >> >    [junit]
> >> >    [junit] ------------- Standard Output ---------------
> >> >    [junit] size:56
> >> >    [junit] size:60
> >> >    [junit] size:48
> >> >    [junit] size:202
> >> >    [junit] ------------- ---------------- ---------------
> >> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
> >> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397
> >> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399
> sec
> >> >    [junit]
> >> >    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
> >> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499
> sec
> >> >    [junit]
> >> >
> >> > BUILD FAILED
> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/common-
> >> build.xml>:442: The following error occurred while executing this line:
> >> > <http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/common-
> >> build.xml>:435: Tests failed!
> >> >
> >> > Total time: 33 minutes 35 seconds
> >> > Publishing Javadoc
> >> > Archiving artifacts
> >> > Recording test results
> >> > Publishing Clover coverage report...
> >> > No Clover report will be published due to a Build Failure
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Yeah it's a thread safety intermittent sort of thing.  The main thread
is double-interrupt()ing the child thread before the child thread
succeeds in raising & catching the ThreadInterruptedException from the
first interrupt().

I'm trying to fix it but it's proving devilish ;)

Mike

On Sun, Nov 15, 2009 at 7:10 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> ... and now, also the trunk variant passes... very strange. If you run the
> test alone, it passes, if the whole suite it breaks.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Sunday, November 15, 2009 11:37 AM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
>>
>> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
>> getting a ThreadInterruptedException, the interrupt status of the
>> thread is cleared, but in this case it's not.
>>
>>     [junit] ------------- Standard Output ---------------
>>     [junit] FAILED; InterruptedException hit but thread.interrupted() was
>> true
>>     [junit] java.lang.InterruptedException
>>     [junit]   at java.lang.Object.wait(Native Method)
>>     [junit]   at java.lang.Object.wait(Object.java:474)
>>     [junit]   at
>> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
>> duler.java:199)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>>     [junit]   at
>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>>     [junit]   at
>> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
>> exWriter.java:4386)
>>     [junit] ------------- ---------------- ---------------
>>     [junit] Testcase:
>> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
>>       FAILED
>>     [junit] null
>>     [junit] junit.framework.AssertionFailedError
>>     [junit]   at
>> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
>> dexWriter.java:4458)
>>     [junit]   at
>> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
>>
>> I think it's a bug in the test -- the test is double-interrupting the
>> thread before letting the thread catch the first interrupt.  I'll fix.
>>
>> Mike
>>
>> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
>> <hu...@hudson.zones.apache.org> wrote:
>> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/1009/changes>
>> >
>> > Changes:
>> >
>> > [uschindler] LUCENE-2052: add varargs where possible
>> >
>> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
>> without explicit casts - previous commit did not contain final patch due
>> to JIRA AM / PM issue
>> >
>> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
>> >
>> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>> >
>> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
>> without explicit casts
>> >
>> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the
>> thread is interrupt()d
>> >
>> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3 to
>> 1
>> >
>> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT
>> tests
>> >
>> > ------------------------------------------
>> > [...truncated 20473 lines...]
>> >    [junit] ------------- ---------------- ---------------
>> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
>> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 22.189
>> sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
>> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestSort
>> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 15.312
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
>> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
>> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTimeLimitingCollector
>> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
>> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestTopScoreDocCollector
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575 sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.function.TestCustomScoreQuery
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 200.092
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
>> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913 sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.function.TestFieldScoreQuery
>> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 10.849
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
>> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743 sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.payloads.TestPayloadNearQuery
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439 sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.payloads.TestPayloadTermQuery
>> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 75.783
>> sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91
>> sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestNearSpansOrdered
>> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
>> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 17.971
>> sec
>> >    [junit]
>> >    [junit] ------------- Standard Output ---------------
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:2
>> >    [junit] doc:0 s:3 e:6 one:Entity:3
>> >    [junit] doc:0 s:3 e:6 three:Noise:5
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:0 s:0 e:3 xx:Entity:0
>> >    [junit] doc:0 s:0 e:3 rr:Noise:1
>> >    [junit] doc:0 s:0 e:3 yy:Noise:2
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:1 s:0 e:4 xx:Entity:0
>> >    [junit] doc:1 s:0 e:4 yy:Noise:1
>> >    [junit] doc:1 s:0 e:4 rr:Noise:3
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:3
>> >    [junit] doc:2 s:0 e:5 pp:Noise:3
>> >    [junit] doc:2 s:0 e:5 ss:Noise:2
>> >    [junit] doc:2 s:0 e:5 qq:Noise:1
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:8
>> >    [junit] doc:3 s:0 e:11 ten:Noise:9
>> >    [junit] doc:3 s:0 e:11 one:Entity:0
>> >    [junit] doc:3 s:0 e:11 six:Noise:5
>> >    [junit] doc:3 s:0 e:11 two:Noise:1
>> >    [junit] doc:3 s:0 e:11 five:Noise:4
>> >    [junit] doc:3 s:0 e:11 nine:Noise:8
>> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
>> >    [junit] doc:3 s:0 e:11 three:Noise:2
>> >    [junit]
>> >    [junit] Spans Dump --
>> >    [junit] payloads for span:8
>> >    [junit] doc:4 s:0 e:11 six:Noise:6
>> >    [junit] doc:4 s:0 e:11 nine:Noise:0
>> >    [junit] doc:4 s:0 e:11 one:Entity:1
>> >    [junit] doc:4 s:0 e:11 five:Noise:5
>> >    [junit] doc:4 s:0 e:11 three:Noise:3
>> >    [junit] doc:4 s:0 e:11 ten:Noise:10
>> >    [junit] doc:4 s:0 e:11 two:Noise:2
>> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
>> >    [junit] match:a:Noise:10
>> >    [junit] match:k:Noise:11
>> >    [junit] Num payloads:1
>> >    [junit] rr:Noise:1
>> >    [junit] ------------- ---------------- ---------------
>> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestSpanExplanations
>> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 20.943
>> sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 12.875
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced2
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestLock
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
>> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestFieldCacheSanityChecker
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127
>> sec
>> >    [junit]
>> >    [junit] Testsuite:
>> org.apache.lucene.util.TestIndexableBinaryStringTools
>> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
>> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369 sec
>> >    [junit]
>> >    [junit] ------------- Standard Output ---------------
>> >    [junit] size:56
>> >    [junit] size:60
>> >    [junit] size:48
>> >    [junit] size:202
>> >    [junit] ------------- ---------------- ---------------
>> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397
>> sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399 sec
>> >    [junit]
>> >    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
>> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499 sec
>> >    [junit]
>> >
>> > BUILD FAILED
>> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
>> build.xml>:442: The following error occurred while executing this line:
>> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
>> build.xml>:435: Tests failed!
>> >
>> > Total time: 33 minutes 35 seconds
>> > Publishing Javadoc
>> > Archiving artifacts
>> > Recording test results
>> > Publishing Clover coverage report...
>> > No Clover report will be published due to a Build Failure
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Build failed in Hudson: Lucene-trunk #1009

Posted by Uwe Schindler <uw...@thetaphi.de>.
... and now, also the trunk variant passes... very strange. If you run the
test alone, it passes, if the whole suite it breaks.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Sunday, November 15, 2009 11:37 AM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #1009
> 
> Hmmm... the failure is from LUCENE-2053.  The test asserts that on
> getting a ThreadInterruptedException, the interrupt status of the
> thread is cleared, but in this case it's not.
> 
>     [junit] ------------- Standard Output ---------------
>     [junit] FAILED; InterruptedException hit but thread.interrupted() was
> true
>     [junit] java.lang.InterruptedException
>     [junit] 	at java.lang.Object.wait(Native Method)
>     [junit] 	at java.lang.Object.wait(Object.java:474)
>     [junit] 	at
> org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeSche
> duler.java:199)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
>     [junit] 	at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
>     [junit] 	at
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestInd
> exWriter.java:4386)
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase:
> testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):
> 	FAILED
>     [junit] null
>     [junit] junit.framework.AssertionFailedError
>     [junit] 	at
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIn
> dexWriter.java:4458)
>     [junit] 	at
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> 
> I think it's a bug in the test -- the test is double-interrupting the
> thread before letting the thread catch the first interrupt.  I'll fix.
> 
> Mike
> 
> On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
> <hu...@hudson.zones.apache.org> wrote:
> > See <http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/1009/changes>
> >
> > Changes:
> >
> > [uschindler] LUCENE-2052: add varargs where possible
> >
> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
> without explicit casts - previous commit did not contain final patch due
> to JIRA AM / PM issue
> >
> > [mikemccand] LUCENE-2050: add eg basicNRT.alg
> >
> > [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
> >
> > [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses
> without explicit casts
> >
> > [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the
> thread is interrupt()d
> >
> > [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3 to
> 1
> >
> > [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT
> tests
> >
> > ------------------------------------------
> > [...truncated 20473 lines...]
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 22.189
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
> >    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSort
> >    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 15.312
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTimeLimitingCollector
> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestTopScoreDocCollector
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.TestWildcard
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestCustomScoreQuery
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 200.092
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.function.TestFieldScoreQuery
> >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 10.849
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.payloads.TestPayloadNearQuery
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439 sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.payloads.TestPayloadTermQuery
> >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
> >    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 75.783
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
> >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestNearSpansOrdered
> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
> >    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 17.971
> sec
> >    [junit]
> >    [junit] ------------- Standard Output ---------------
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:2
> >    [junit] doc:0 s:3 e:6 one:Entity:3
> >    [junit] doc:0 s:3 e:6 three:Noise:5
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:0 s:0 e:3 xx:Entity:0
> >    [junit] doc:0 s:0 e:3 rr:Noise:1
> >    [junit] doc:0 s:0 e:3 yy:Noise:2
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:1 s:0 e:4 xx:Entity:0
> >    [junit] doc:1 s:0 e:4 yy:Noise:1
> >    [junit] doc:1 s:0 e:4 rr:Noise:3
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:3
> >    [junit] doc:2 s:0 e:5 pp:Noise:3
> >    [junit] doc:2 s:0 e:5 ss:Noise:2
> >    [junit] doc:2 s:0 e:5 qq:Noise:1
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:8
> >    [junit] doc:3 s:0 e:11 ten:Noise:9
> >    [junit] doc:3 s:0 e:11 one:Entity:0
> >    [junit] doc:3 s:0 e:11 six:Noise:5
> >    [junit] doc:3 s:0 e:11 two:Noise:1
> >    [junit] doc:3 s:0 e:11 five:Noise:4
> >    [junit] doc:3 s:0 e:11 nine:Noise:8
> >    [junit] doc:3 s:0 e:11 eleven:Noise:10
> >    [junit] doc:3 s:0 e:11 three:Noise:2
> >    [junit]
> >    [junit] Spans Dump --
> >    [junit] payloads for span:8
> >    [junit] doc:4 s:0 e:11 six:Noise:6
> >    [junit] doc:4 s:0 e:11 nine:Noise:0
> >    [junit] doc:4 s:0 e:11 one:Entity:1
> >    [junit] doc:4 s:0 e:11 five:Noise:5
> >    [junit] doc:4 s:0 e:11 three:Noise:3
> >    [junit] doc:4 s:0 e:11 ten:Noise:10
> >    [junit] doc:4 s:0 e:11 two:Noise:2
> >    [junit] doc:4 s:0 e:11 eleven:Noise:9
> >    [junit] match:a:Noise:10
> >    [junit] match:k:Noise:11
> >    [junit] Num payloads:1
> >    [junit] rr:Noise:1
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpanExplanations
> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 20.943
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
> >    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
> >    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 12.875
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced2
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestDirectory
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestLock
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> >    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestBitVector
> >    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
> >    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestFieldCacheSanityChecker
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127
> sec
> >    [junit]
> >    [junit] Testsuite:
> org.apache.lucene.util.TestIndexableBinaryStringTools
> >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
> >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369 sec
> >    [junit]
> >    [junit] ------------- Standard Output ---------------
> >    [junit] size:56
> >    [junit] size:60
> >    [junit] size:48
> >    [junit] size:202
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
> >    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397
> sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.TestVersion
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399 sec
> >    [junit]
> >    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
> >    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499 sec
> >    [junit]
> >
> > BUILD FAILED
> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml>:442: The following error occurred while executing this line:
> > <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml>:435: Tests failed!
> >
> > Total time: 33 minutes 35 seconds
> > Publishing Javadoc
> > Archiving artifacts
> > Recording test results
> > Publishing Clover coverage report...
> > No Clover report will be published due to a Build Failure
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Build failed in Hudson: Lucene-trunk #1009

Posted by Michael McCandless <lu...@mikemccandless.com>.
Hmmm... the failure is from LUCENE-2053.  The test asserts that on
getting a ThreadInterruptedException, the interrupt status of the
thread is cleared, but in this case it's not.

    [junit] ------------- Standard Output ---------------
    [junit] FAILED; InterruptedException hit but thread.interrupted() was true
    [junit] java.lang.InterruptedException
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.Object.wait(Object.java:474)
    [junit] 	at
org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeScheduler.java:199)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2468)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2463)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2459)
    [junit] 	at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3483)
    [junit] 	at
org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3372)
    [junit] 	at
org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3435)
    [junit] 	at
org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3413)
    [junit] 	at
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:4386)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase:
testThreadInterruptDeadlock(org.apache.lucene.index.TestIndexWriter):	FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit] 	at
org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIndexWriter.java:4458)
    [junit] 	at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)

I think it's a bug in the test -- the test is double-interrupting the
thread before letting the thread catch the first interrupt.  I'll fix.

Mike

On Sat, Nov 14, 2009 at 11:04 PM, Apache Hudson Server
<hu...@hudson.zones.apache.org> wrote:
> See <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1009/changes>
>
> Changes:
>
> [uschindler] LUCENE-2052: add varargs where possible
>
> [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses without explicit casts - previous commit did not contain final patch due to JIRA AM / PM issue
>
> [mikemccand] LUCENE-2050: add eg basicNRT.alg
>
> [simonw] LUCENE-2066: Add Highlighter test for RegexQuery
>
> [simonw] LUCENE-2064: Highlighter support all MultiTermQuery subclasses without explicit casts
>
> [mikemccand] LUCENE-2053: throw ThreadInterruptedException when the thread is interrupt()d
>
> [mikemccand] LUCENE-2060: change CMS's default maxThreadCount from 3 to 1
>
> [mikemccand] LUCENE-2050: enhance contrib/benchmark for running NRT tests
>
> ------------------------------------------
> [...truncated 20473 lines...]
>    [junit] ------------- ---------------- ---------------
>    [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.27 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.104 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
>    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 22.189 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>    [junit] Tests run: 53, Failures: 0, Errors: 0, Time elapsed: 3.547 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSloppyPhraseQuery
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.267 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSort
>    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 15.312 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.46 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTermRangeFilter
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 14.519 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTermRangeQuery
>    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.772 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.05 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.93 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.115 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTimeLimitingCollector
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.96 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTopDocsCollector
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestTopScoreDocCollector
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.95 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.TestWildcard
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.575 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.function.TestCustomScoreQuery
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 200.092 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.function.TestDocValues
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.913 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.function.TestFieldScoreQuery
>    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 10.849 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.743 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.payloads.TestPayloadNearQuery
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.439 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.payloads.TestPayloadTermQuery
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 19.241 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 75.783 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestFieldMaskingSpanQuery
>    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 17.91 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestNearSpansOrdered
>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 4.93 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestPayloadSpans
>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 17.971 sec
>    [junit]
>    [junit] ------------- Standard Output ---------------
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:2
>    [junit] doc:0 s:3 e:6 one:Entity:3
>    [junit] doc:0 s:3 e:6 three:Noise:5
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:0 s:0 e:3 yy:Noise:2
>    [junit] doc:0 s:0 e:3 xx:Entity:0
>    [junit] doc:0 s:0 e:3 rr:Noise:1
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:1 s:0 e:4 rr:Noise:3
>    [junit] doc:1 s:0 e:4 yy:Noise:1
>    [junit] doc:1 s:0 e:4 xx:Entity:0
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:0 s:0 e:3 xx:Entity:0
>    [junit] doc:0 s:0 e:3 yy:Noise:2
>    [junit] doc:0 s:0 e:3 rr:Noise:1
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:0 s:0 e:3 xx:Entity:0
>    [junit] doc:0 s:0 e:3 rr:Noise:1
>    [junit] doc:0 s:0 e:3 yy:Noise:2
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:1 s:0 e:4 xx:Entity:0
>    [junit] doc:1 s:0 e:4 yy:Noise:1
>    [junit] doc:1 s:0 e:4 rr:Noise:3
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:3
>    [junit] doc:2 s:0 e:5 pp:Noise:3
>    [junit] doc:2 s:0 e:5 ss:Noise:2
>    [junit] doc:2 s:0 e:5 qq:Noise:1
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:8
>    [junit] doc:3 s:0 e:11 ten:Noise:9
>    [junit] doc:3 s:0 e:11 one:Entity:0
>    [junit] doc:3 s:0 e:11 six:Noise:5
>    [junit] doc:3 s:0 e:11 two:Noise:1
>    [junit] doc:3 s:0 e:11 five:Noise:4
>    [junit] doc:3 s:0 e:11 nine:Noise:8
>    [junit] doc:3 s:0 e:11 eleven:Noise:10
>    [junit] doc:3 s:0 e:11 three:Noise:2
>    [junit]
>    [junit] Spans Dump --
>    [junit] payloads for span:8
>    [junit] doc:4 s:0 e:11 six:Noise:6
>    [junit] doc:4 s:0 e:11 nine:Noise:0
>    [junit] doc:4 s:0 e:11 one:Entity:1
>    [junit] doc:4 s:0 e:11 five:Noise:5
>    [junit] doc:4 s:0 e:11 three:Noise:3
>    [junit] doc:4 s:0 e:11 ten:Noise:10
>    [junit] doc:4 s:0 e:11 two:Noise:2
>    [junit] doc:4 s:0 e:11 eleven:Noise:9
>    [junit] match:a:Noise:10
>    [junit] match:k:Noise:11
>    [junit] Num payloads:1
>    [junit] rr:Noise:1
>    [junit] ------------- ---------------- ---------------
>    [junit] Testsuite: org.apache.lucene.search.spans.TestSpanExplanations
>    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 20.943 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>    [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed: 1.504 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 12.875 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.955 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.search.spans.TestSpansAdvanced2
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.859 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 47.287 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestDirectory
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestFileSwitchDirectory
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.32 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.25 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestLock
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.763 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 9.534 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestRAMDirectory
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.116 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.343 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestAttributeSource
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestBitVector
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.713 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestCloseableThreadLocal
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.587 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestFieldCacheSanityChecker
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 13.127 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestIndexableBinaryStringTools
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.15 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestNumericUtils
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.033 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.847 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestRamUsageEstimator
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.369 sec
>    [junit]
>    [junit] ------------- Standard Output ---------------
>    [junit] size:56
>    [junit] size:60
>    [junit] size:48
>    [junit] size:202
>    [junit] ------------- ---------------- ---------------
>    [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.577 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.397 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.484 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestStringIntern
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 48.83 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.TestVersion
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.399 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.util.cache.TestSimpleLRUCache
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.499 sec
>    [junit]
>
> BUILD FAILED
> <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-build.xml>:442: The following error occurred while executing this line:
> <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-build.xml>:435: Tests failed!
>
> Total time: 33 minutes 35 seconds
> Publishing Javadoc
> Archiving artifacts
> Recording test results
> Publishing Clover coverage report...
> No Clover report will be published due to a Build Failure
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


Hudson build is back to normal: Lucene-trunk #1011

Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1011/>



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


Build failed in Hudson: Lucene-trunk #1010

Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1010/>

------------------------------------------
A timer trigger started this job
Building remotely on lucene.zones.apache.org (Solaris 10)
Checking out http://svn.apache.org/repos/asf/lucene/java/trunk
ERROR: Failed to check out http://svn.apache.org/repos/asf/lucene/java/trunk
org.tmatesoft.svn.core.SVNException: svn: timed out waiting for server
svn: OPTIONS request failed on '/repos/asf/lucene/java/trunk'
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:616)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:273)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:261)
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1001)
	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:178)
	at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482)
	at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:851)
	at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534)
	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:893)
	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:791)
	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:617)
	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:543)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2052)
	at hudson.remoting.UserRequest.perform(UserRequest.java:69)
	at hudson.remoting.UserRequest.perform(UserRequest.java:23)
	at hudson.remoting.Request$2.run(Request.java:200)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:519)
	at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
	... 1 more
Publishing Javadoc
Archiving artifacts
Recording test results
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure


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