I committed a fix -- some test cases in TestHighFreqTerms were closing
the reader prematurely.

Mike

On Tue, Sep 14, 2010 at 10:22 PM, Apache Hudson Server
<[email protected]> wrote:
> See <https://hudson.apache.org/hudson/job/Lucene-trunk/1288/changes>
>
> Changes:
>
> [yonik] SOLR-1900: use bytes instead of strings for bigTerm to find end 
> prefixes
>
> [yonik] LUCENE-2504: always access the latest generation of field comparators
>
> [rmuir] LUCENE-2630: look for the correct exception according to javadoc 
> contract
>
> [rmuir] LUCENE-2630: allow lucene to be built with non-sun jvms
>
> [rmuir] simplify encode for surrogates
>
> [rmuir] quiet this test
>
> [uschindler] LUCENE-2642: Fix small problem with one incorrectly written 
> contrib test and add a extra exception, if somebody uses a static declared 
> test method
>
> [uschindler] LUCENE-2642: Fix some reflection issues
>
> [rmuir] LUCENE-2642: merge LuceneTestCase and LuceneTestCaseJ4
>
> [rmuir] LUCENE-2642: merge LuceneTestCase and LuceneTestCaseJ4
>
> ------------------------------------------
> [...truncated 5655 lines...]
> junit-sequential:
>    [junit] Testsuite: org.apache.lucene.store.instantiated.TestEmptyIndex
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.513 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.instantiated.TestIndicesEquals
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.47 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.instantiated.TestRealTime
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.store.instantiated.TestSerialization
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.385 sec
>    [junit]
>    [junit] Testsuite: 
> org.apache.lucene.store.instantiated.TestUnoptimizedReaderOnConstructor
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.041 sec
>    [junit]
>    [junit] ------------- Standard Output ---------------
>    [junit] Source index is not optimized.
>    [junit] ------------- ---------------- ---------------
>
> junit-parallel:
>
> common.test:
>     [echo] Building lucli...
>
> common.init:
>
> build-lucene:
>
> init:
>
> test:
>     [echo] Building lucli...
>
> common.init:
>
> build-lucene:
>
> init:
>
> compile-test:
>     [echo] Building lucli...
>
> compile-analyzers-common:
>
> common.init:
>
> build-lucene:
>
> init:
>
> clover.setup:
>
> clover.info:
>
> clover:
>
> common.compile-core:
>
> compile-core:
>
> common.compile-test:
>
> junit-mkdir:
>    [mkdir] Created dir: 
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/lucli/test>
>
> junit-sequential:
>
> junit-parallel:
>
> common.test:
>     [echo] Building memory...
>
> common.init:
>
> build-lucene:
>
> init:
>
> test:
>     [echo] Building memory...
>
> common.init:
>
> build-lucene:
>
> init:
>
> compile-test:
>     [echo] Building memory...
>
> common.init:
>
> build-lucene:
>
> init:
>
> clover.setup:
>
> clover.info:
>
> clover:
>
> compile-core:
>
> common.compile-test:
>
> junit-mkdir:
>    [mkdir] Created dir: 
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/memory/test>
>
> junit-sequential:
>    [junit] Testsuite: org.apache.lucene.index.memory.MemoryIndexTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 26.009 sec
>    [junit]
>
> junit-parallel:
>
> common.test:
>     [echo] Building misc...
>
> common.init:
>
> build-lucene:
>
> init:
>
> test:
>     [echo] Building misc...
>
> common.init:
>
> build-lucene:
>
> init:
>
> compile-test:
>     [echo] Building misc...
>
> compile-analyzers-common:
>
> common.init:
>
> build-lucene:
>
> init:
>
> clover.setup:
>
> clover.info:
>
> clover:
>
> common.compile-core:
>
> compile-core:
>
> common.compile-test:
>
> junit-mkdir:
>    [mkdir] Created dir: 
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/misc/test>
>
> junit-sequential:
>    [junit] Testsuite: org.apache.lucene.index.TestFieldNormModifier
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.012 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.index.TestIndexSplitter
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.525 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.index.TestMultiPassIndexSplitter
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.129 sec
>    [junit]
>    [junit] ------------- Standard Error -----------------
>    [junit] Writing part 1 ...
>    [junit] Writing part 2 ...
>    [junit] Writing part 3 ...
>    [junit] Done.
>    [junit] Writing part 1 ...
>    [junit] Writing part 2 ...
>    [junit] Writing part 3 ...
>    [junit] Done.
>    [junit] ------------- ---------------- ---------------
>    [junit] Testsuite: org.apache.lucene.index.TestTermVectorAccessor
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.039 sec
>    [junit]
>    [junit] Testsuite: 
> org.apache.lucene.index.codecs.appending.TestAppendingCodec
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.041 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.misc.SweetSpotSimilarityTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.335 sec
>    [junit]
>    [junit] Testsuite: org.apache.lucene.misc.TestHighFreqTerms
>    [junit] Testcase: 
> testGetTotalTermFreq(org.apache.lucene.misc.TestHighFreqTerms):   Caused an 
> ERROR
>    [junit] null
>    [junit] java.lang.NullPointerException
>    [junit]     at 
> org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:66)
>    [junit]     at 
> org.apache.lucene.index.Terms.getThreadTermsEnum(Terms.java:88)
>    [junit]     at org.apache.lucene.index.Terms.docs(Terms.java:63)
>    [junit]     at 
> org.apache.lucene.index.MultiFields.getTermDocsEnum(MultiFields.java:198)
>    [junit]     at 
> org.apache.lucene.misc.HighFreqTerms.getTotalTermFreq(HighFreqTerms.java:183)
>    [junit]     at 
> org.apache.lucene.misc.TestHighFreqTerms.testGetTotalTermFreq(TestHighFreqTerms.java:183)
>    [junit]     at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:805)
>    [junit]     at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:778)
>    [junit]
>    [junit]
>    [junit] Testcase: 
> testGetTotalTermFreqBadTerm(org.apache.lucene.misc.TestHighFreqTerms):    
> Caused an ERROR
>    [junit] null
>    [junit] java.lang.NullPointerException
>    [junit]     at 
> org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:66)
>    [junit]     at 
> org.apache.lucene.index.Terms.getThreadTermsEnum(Terms.java:88)
>    [junit]     at org.apache.lucene.index.Terms.docs(Terms.java:63)
>    [junit]     at 
> org.apache.lucene.index.MultiFields.getTermDocsEnum(MultiFields.java:198)
>    [junit]     at 
> org.apache.lucene.misc.HighFreqTerms.getTotalTermFreq(HighFreqTerms.java:183)
>    [junit]     at 
> org.apache.lucene.misc.TestHighFreqTerms.testGetTotalTermFreqBadTerm(TestHighFreqTerms.java:193)
>    [junit]     at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:805)
>    [junit]     at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:778)
>    [junit]
>    [junit]
>    [junit] Tests run: 11, Failures: 0, Errors: 2, Time elapsed: 0.23 sec
>    [junit]
>    [junit] ------------- Standard Output ---------------
>    [junit] NOTE: random static seed of testclass 'testGetTotalTermFreq' was: 
> -4383818123921325425
>    [junit] NOTE: random codec of testcase 'testGetTotalTermFreq' was: 
> MockFixedIntBlock(blockSize=427)
>    [junit] NOTE: random locale of testcase 'testGetTotalTermFreq' was: pl
>    [junit] NOTE: random timezone of testcase 'testGetTotalTermFreq' was: 
> America/Cambridge_Bay
>    [junit] NOTE: random static seed of testclass 
> 'testGetTotalTermFreqBadTerm' was: -4383818123921325425
>    [junit] NOTE: random codec of testcase 'testGetTotalTermFreqBadTerm' was: 
> MockFixedIntBlock(blockSize=427)
>    [junit] NOTE: random locale of testcase 'testGetTotalTermFreqBadTerm' was: 
> pl
>    [junit] NOTE: random timezone of testcase 'testGetTotalTermFreqBadTerm' 
> was: America/Cambridge_Bay
>    [junit] ------------- ---------------- ---------------
>    [junit] TEST org.apache.lucene.misc.TestHighFreqTerms FAILED
>    [junit] Testsuite: org.apache.lucene.misc.TestLengthNormModifier
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.048 sec
>    [junit]
>    [junit] Tests FAILED
>
> BUILD FAILED
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build.xml>:550: 
> The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build.xml>:535: 
> The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/contrib-build.xml>:66:
>  The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/common-build.xml>:506:
>  The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/common-build.xml>:495:
>  Tests failed!
>
> Total time: 15 minutes 14 seconds
> [TASKS] Skipping publisher since build result is FAILURE
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to