This is LUCENE-2118 -- it strikes every so often.

I think it's harmless (but really annoying).  It looks like a corner
case in the merge policy where somehow a level is able to have 11
segments after merging thinks it's done.

Mike

On Thu, Feb 11, 2010 at 3:03 AM, Uwe Schindler <u...@thetaphi.de> wrote:
> Really cool:
> This time we hit the failure during the clover run:
>
>    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterMergePolicy
>    [junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 28.519 sec
>    [junit]
>    [junit] Testcase: 
> testMaxBufferedDocsChange(org.apache.lucene.index.TestIndexWriterMergePolicy):
>     FAILED
>    [junit] maxMergeDocs=2147483647; numSegments=11; upperBound=10; 
> mergeFactor=10; segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 
> _5w:c10->_32 _5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 
> _62:c9->_32 _64:c1->_62
>    [junit] junit.framework.AssertionFailedError: maxMergeDocs=2147483647; 
> numSegments=11; upperBound=10; mergeFactor=10; segs=_65:c5950 _5t:c10->_32 
> _5u:c10->_32 _5v:c10->_32 _5w:c10->_32 _5x:c10->_32 _5y:c10->_32 _5z:c10->_32 
> _60:c10->_32 _61:c10->_32 _62:c9->_32 _64:c1->_62
>    [junit]     at 
> org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:234)
>    [junit]     at 
> org.apache.lucene.index.TestIndexWriterMergePolicy.__CLR2_6_3zf7i0317qu(TestIndexWriterMergePolicy.java:164)
>    [junit]     at 
> org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:125)
>    [junit]     at 
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:214)
>    [junit]
>    [junit]
>    [junit] Test org.apache.lucene.index.TestIndexWriterMergePolicy FAILED
>
>
> We also get the exact location of the failure:
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1091/clover-report/org/apache/lucene/index/TestIndexWriterMergePolicy.html?line=125#src-125
>
> And you can see which lines are called how often until the failure occurred!
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
>> -----Original Message-----
>> From: Apache Hudson Server [mailto:hud...@hudson.zones.apache.org]
>> Sent: Thursday, February 11, 2010 5:16 AM
>> To: java-dev@lucene.apache.org
>> Subject: Build failed in Hudson: Lucene-trunk #1091
>>
>> See <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/1091/changes>
>>
>> Changes:
>>
>> [uschindler] LUCENE-2248: Change core tests to use a global Version
>> constant
>>
>> [uschindler] LUCENE-2258: Remove unneeded synchronization in
>> FuzzyTermEnum
>>
>> ------------------------------------------
>> [...truncated 23095 lines...]
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard.builders...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard.config...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard.nodes...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard.parser...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.standard.processors...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-queryparser/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/queryparser/lucene-queryparser-2010-02-
>> 11_02-03-57-javadoc.jar>
>>      [echo] Building regex...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-regex>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.search.regex...
>>   [javadoc] Loading source files for package org.apache.regexp...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-regex/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/regex/lucene-regex-2010-02-11_02-03-57-
>> javadoc.jar>
>>      [echo] Building remote...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-remote>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.search...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-remote/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/remote/lucene-remote-2010-02-11_02-03-57-
>> javadoc.jar>
>>      [echo] Building spatial...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-spatial>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.spatial.geohash...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.spatial.geometry...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.spatial.geometry.shape...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.spatial.tier...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.spatial.tier.projections...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-spatial/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/spatial/lucene-spatial-2010-02-11_02-03-
>> 57-javadoc.jar>
>>      [echo] Building spellchecker...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-spellchecker>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.search.spell...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-spellchecker/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/spellchecker/lucene-spellchecker-2010-02-
>> 11_02-03-57-javadoc.jar>
>>      [echo] Building surround...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-surround>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.surround.parser...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.queryParser.surround.query...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-surround/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/surround/lucene-surround-2010-02-11_02-03-
>> 57-javadoc.jar>
>>      [echo] Building swing...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-swing>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.swing.models...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-swing/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/swing/lucene-swing-2010-02-11_02-03-57-
>> javadoc.jar>
>>      [echo] Building wikipedia...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-wikipedia>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.wikipedia.analysis...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-wikipedia/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen: �...@lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/wikipedia/lucene-wikipedia-2010-02-11_02-
>> 03-57-javadoc.jar>
>>      [echo] Building wordnet...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-wordnet>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.wordnet...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-wordnet/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/wordnet/lucene-wordnet-2010-02-11_02-03-
>> 57-javadoc.jar>
>>      [echo] Building xml-query-parser...
>>
>> javadocs:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-xml-query-parser>
>>   [javadoc] Generating Javadoc
>>   [javadoc] Javadoc execution
>>   [javadoc] Loading source files for package
>> org.apache.lucene.xmlparser...
>>   [javadoc] Loading source files for package
>> org.apache.lucene.xmlparser.builders...
>>   [javadoc] Constructing Javadoc information...
>>   [javadoc] Standard Doclet version 1.5.0_22
>>   [javadoc] Building tree for all the packages and classes...
>>   [javadoc] Building index for all the packages and classes...
>>   [javadoc] Building index for all classes...
>>   [javadoc] Generating
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/api/contrib-xml-query-
>> parser/stylesheet.css...>
>>   [javadoc] Note: Custom tags that were not seen:
>> @lucene.experimental, @lucene.internal
>>       [jar] Building jar:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/contrib/xml-query-parser/lucene-xml-query-parser-
>> 2010-02-11_02-03-57-javadoc.jar>
>>
>> javadocs:
>>
>> javadocs-index.html:
>>      [echo] Building analyzers...
>>
>> javadocs-index.html:
>>      [echo] Building smartcn...
>>
>> javadocs-index.html:
>>      [echo] Building ant...
>>
>> javadocs-index.html:
>>      [echo] Building benchmark...
>>
>> javadocs-index.html:
>>
>> javadocs-index.html:
>>      [echo] Building bdb...
>>
>> javadocs-index.html:
>>      [echo] Building bdb-je...
>>
>> javadocs-index.html:
>>      [echo] Building fast-vector-highlighter...
>>
>> javadocs-index.html:
>>      [echo] Building highlighter...
>>
>> javadocs-index.html:
>>      [echo] Building icu...
>>
>> javadocs-index.html:
>>      [echo] Building instantiated...
>>
>> javadocs-index.html:
>>      [echo] Building lucli...
>>
>> javadocs-index.html:
>>      [echo] Building memory...
>>
>> javadocs-index.html:
>>      [echo] Building misc...
>>
>> javadocs-index.html:
>>      [echo] Building queries...
>>
>> javadocs-index.html:
>>      [echo] Building queryparser...
>>
>> javadocs-index.html:
>>      [echo] Building regex...
>>
>> javadocs-index.html:
>>      [echo] Building remote...
>>
>> javadocs-index.html:
>>      [echo] Building spatial...
>>
>> javadocs-index.html:
>>      [echo] Building spellchecker...
>>
>> javadocs-index.html:
>>      [echo] Building surround...
>>
>> javadocs-index.html:
>>      [echo] Building swing...
>>
>> javadocs-index.html:
>>      [echo] Building wikipedia...
>>
>> javadocs-index.html:
>>      [echo] Building wordnet...
>>
>> javadocs-index.html:
>>      [echo] Building xml-query-parser...
>>
>> javadocs-index.html:
>>
>> changes-to-html:
>>     [mkdir] Created dir:
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/changes>
>>      [copy] Copying 3 files to
>> <http://hudson.zones.apache.org/hudson/job/Lucene-
>> trunk/ws/trunk/build/docs/changes>
>>
>> BUILD SUCCESSFUL
>> Total time: 10 minutes 11 seconds
>> + exit 1
>> Publishing Javadoc
>> Archiving artifacts
>> Recording test results
>> Publishing Clover coverage report...
>> Publishing Clover HTML report...
>> Publishing Clover XML report...
>> Publishing Clover coverage results...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>

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

Reply via email to