lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Build failed in Hudson: Lucene-trunk #412
Date Sat, 22 Mar 2008 08:22:28 GMT

The test case that failed is testCloseWithThreads, which calls  
IndexWriter.close even while threads are still adding docs.

I think it may be a false failure because the test waits 100 msec and  
then asserts that at least one doc made it into the index.

I'll commit a fix shortly to instead wait until at least one of the  
threads has called addDocument successfully, the call close and then  
do the assert.

Mike

Apache Hudson Server wrote:
> See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/412/changes
>
> ------------------------------------------
> [...truncated 13635 lines...]
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 34.189 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.index.TestWordlistLoader
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.317 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.index.store.TestRAMDirectory
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:  
> 5.264 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.queryParser.TestMultiAnalyzer
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 0.858 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.queryParser.TestMultiFieldQueryParser
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:  
> 1.961 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.queryParser.TestQueryParser
>     [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed:  
> 1.434 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] Result: (fieldX:xxxxx fieldy:xxxxxxxx)^2.0
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.lucene.search.TestBoolean2
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed:  
> 23.157 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestBooleanMinShouldMatch
>     [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed:  
> 36.208 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestBooleanOr
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:  
> 4.735 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestBooleanPrefixQuery
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.654 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestBooleanQuery
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 0.318 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestBooleanScorer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.874 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestCachingWrapperFilter
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.61 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestComplexExplanations
>     [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:  
> 2.77 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestComplexExplanationsOfNonMatches
>     [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed:  
> 1.238 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestConstantScoreRangeQuery
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:  
> 3.696 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestCustomSearcherSort
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 8.94 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestDateFilter
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 0.667 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestDateSort
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 2.206 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestDisjunctionMaxQuery
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:  
> 2.537 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestDocBoost
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.012 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestExplanations
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 3.718 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestExtendedFieldCache
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 6.14 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestFilteredQuery
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 4.662 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestFilteredSearch
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.673 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestFuzzyQuery
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 0.807 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestMatchAllDocsQuery
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 3.518 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestMultiPhraseQuery
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 0.798 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestMultiSearcher
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 2.977 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestMultiSearcherRanking
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed:  
> 2.893 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestMultiThreadTermVectors
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 5.24 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestNot
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.769 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestParallelMultiSearcher
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 1.94 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestPhrasePrefixQuery
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.06 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestPhraseQuery
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed:  
> 3.443 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestPositionIncrement
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 1.233 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestPrefixFilter
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.819 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestPrefixQuery
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.829 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestQueryTermVector
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.428 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestRangeFilter
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 5.686 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestRangeQuery
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 0.919 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestRemoteCachingWrapperFilter
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.903 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestRemoteSearchable
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:  
> 1.917 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestScorerPerf
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 3.033 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] Average number of matches=0
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite:  
> org.apache.lucene.search.TestSearchHitsWithDeletions
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed:  
> 21.126 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestSetNorm
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.737 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestSimilarity
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.042 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestSimpleExplanations
>     [junit] Tests run: 52, Failures: 0, Errors: 0, Time elapsed:  
> 4.36 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches
>     [junit] Tests run: 52, Failures: 0, Errors: 0, Time elapsed:  
> 1.324 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestSort
>     [junit] Tests run: 17, Failures: 0, Errors: 0, Time elapsed:  
> 7.487 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestSpanQueryFilter
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.563 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestTermScorer
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 0.865 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestTermVectors
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed:  
> 3.471 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestThreadSafe
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 210.788 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.TestTimeLimitedCollector
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:  
> 16.206 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.TestWildcard
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:  
> 2.659 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.function.TestCustomScoreQuery
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 69.324 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.function.TestFieldScoreQuery
>     [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed:  
> 2.498 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.function.TestOrdValues
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed:  
> 1.705 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.payloads.TestBoostingTermQuery
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 3.677 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.spans.TestBasics
>     [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed:  
> 32.444 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.spans.TestNearSpansOrdered
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:  
> 2.279 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.spans.TestSpanExplanations
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:  
> 1.618 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.spans.TestSpanExplanationsOfNonMatches
>     [junit] Tests run: 31, Failures: 0, Errors: 0, Time elapsed:  
> 1.626 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.search.spans.TestSpans
>     [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed:  
> 2.989 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.spans.TestSpansAdvanced
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 1.112 sec
>     [junit]
>     [junit] Testsuite:  
> org.apache.lucene.search.spans.TestSpansAdvanced2
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 1.698 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestBufferedIndexInput
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 2.777 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestHugeRamFile
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 6.466 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestLock
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 2.429 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed:  
> 8.147 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestMMapDirectory
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.697 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.store.TestWindowsMMap
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 2.642 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestBitVector
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:  
> 4.077 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestOpenBitSet
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:  
> 4.689 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestPriorityQueue
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:  
> 0.441 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestSmallFloat
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 0.596 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestSortedVIntList
>     [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed:  
> 1.174 sec
>     [junit]
>     [junit] Testsuite: org.apache.lucene.util.TestStringHelper
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:  
> 0.489 sec
>     [junit]
>
> BUILD FAILED
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/ 
> common-build.xml :383: Tests failed!
>
> Total time: 75 minutes 6 seconds
> Publishing Javadoc
> Recording test results
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message