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 #1281
Date Tue, 07 Sep 2010 08:55:52 GMT
The failure was in TestIndexWriter.testThreadInterruptDeadlock:

    [junit] java.lang.NoClassDefFoundError:
org/apache/lucene/util/ThreadInterruptedException$__CLR2_6_3c0c0gds5twgh
    [junit] 	at
org.apache.lucene.util.ThreadInterruptedException.<init>(ThreadInterruptedException.java:28)
    [junit] 	at
org.apache.lucene.index.ConcurrentMergeScheduler.merge(ConcurrentMergeScheduler.java:304)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2543)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2538)
    [junit] 	at
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2534)
    [junit] 	at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3212)
    [junit] 	at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2025)
    [junit] 	at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1979)
    [junit] 	at
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:4398)

I think it's a false failure.

I'm pretty the cause is that an interrupt arrived as the class loader
was trying to init the ThreadInterruptedException... somehow this
(receiving thread interrupts) screws up the class loader.  The test
already prevents interrupts until things are "warmed up" first, but
this class only gets loaded on the first interrupt.

I'll commit a fix, to make sure this class is loaded before any
interrupts are sent.

Thread interrupting is dangerous!!

Mike

On Tue, Sep 7, 2010 at 1:40 AM, Apache Hudson Server
<hudson@hudson.apache.org> wrote:
> See <https://hudson.apache.org/hudson/job/Lucene-trunk/1281/>
>
> ------------------------------------------
> [...truncated 13264 lines...]
>  [javadoc] Standard Doclet version 1.5.0_22
>  [javadoc] Building tree for all the packages and classes...
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/misc/src/java/org/apache/lucene/index/MultiPassIndexSplitter.java>:43:
warning - Tag @link: reference not found: IndexWriter#addIndexes(IndexReader[])
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java>:44:
warning - Tag @link: reference not found: Directory
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java>:63:
warning - Tag @link: reference not found: NativeFSLockFactory
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java>:44:
warning - Tag @link: reference not found: Directory
>  [javadoc] Building index for all the packages and classes...
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/misc/src/java/org/apache/lucene/store/DirectIOLinuxDirectory.java>:44:
warning - Tag @link: reference not found: Directory
>  [javadoc] Building index for all classes...
>  [javadoc] Generating <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-misc/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.internal
>  [javadoc] 5 warnings
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/misc/lucene-misc-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building queries...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-queries>
>  [javadoc] Generating Javadoc
>  [javadoc] Javadoc execution
>  [javadoc] Loading source files for package org.apache.lucene.search...
>  [javadoc] Loading source files for package org.apache.lucene.search.regex...
>  [javadoc] Loading source files for package org.apache.lucene.search.similar...
>  [javadoc] Constructing Javadoc information...
>  [javadoc] Standard Doclet version 1.5.0_22
>  [javadoc] Building tree for all the packages and classes...
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java>:35:
warning - Tag @link: can't find prefix in org.apache.lucene.search.regex.JakartaRegexpCapabilities
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java>:33:
warning - Tag @link: can't find prefix in org.apache.lucene.search.regex.JavaUtilRegexCapabilities
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java>:33:
warning - Tag @link: can't find match in org.apache.lucene.search.regex.JavaUtilRegexCapabilities
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:44:
warning - @param argument "string" is not a parameter name.
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexQuery.java>:34:
warning - Tag @see: reference not found: RegexTermEnum
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java>:526:
warning - Tag @see: reference not found: org.apache.lucene.analysis.StopFilter#makeStopSet
StopFilter.makeStopSet()
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] Building index for all the packages and classes...
>  [javadoc] <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java>:36:
warning - Tag @link: reference not found: RegexTermEnum
>  [javadoc] Building index for all classes...
>  [javadoc] Generating <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-queries/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>  [javadoc] 14 warnings
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/queries/lucene-queries-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building queryparser...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-queryparser>
>  [javadoc] Generating Javadoc
>  [javadoc] Javadoc execution
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.analyzing...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.complexPhrase...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.builders...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.config...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.messages...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.nodes...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.parser...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.processors...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.core.util...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.ext...
>  [javadoc] Loading source files for package org.apache.lucene.queryParser.precedence...
>  [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] 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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-queryparser/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/queryparser/lucene-queryparser-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building remote...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-remote/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/remote/lucene-remote-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building spatial...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-spatial>
>  [javadoc] Generating Javadoc
>  [javadoc] Javadoc execution
>  [javadoc] Loading source files for package org.apache.lucene.spatial...
>  [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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-spatial/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/spatial/lucene-spatial-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building spellchecker...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-spellchecker/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/spellchecker/lucene-spellchecker-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building swing...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-swing/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/swing/lucene-swing-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building wordnet...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-wordnet/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/wordnet/lucene-wordnet-4.0-2010-09-07_02-03-49-javadoc.jar>
>     [echo] Building xml-query-parser...
>
> javadocs:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/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 <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/api/contrib-xml-query-parser/stylesheet.css...>
>  [javadoc] Note: Custom tags that were not seen:  @lucene.experimental, @lucene.internal
>      [jar] Building jar: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/contrib/xml-query-parser/lucene-xml-query-parser-4.0-2010-09-07_02-03-49-javadoc.jar>
>
> javadocs:
>     [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 demo...
>
> javadocs-index.html:
>     [echo] Building highlighter...
>
> 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 remote...
>
> javadocs-index.html:
>     [echo] Building spatial...
>
> javadocs-index.html:
>     [echo] Building spellchecker...
>
> javadocs-index.html:
>     [echo] Building swing...
>
> javadocs-index.html:
>     [echo] Building wordnet...
>
> javadocs-index.html:
>     [echo] Building xml-query-parser...
>
> javadocs-index.html:
>
> changes-to-html:
>    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/changes>
>     [copy] Copying 3 files to <https://hudson.apache.org/hudson/job/Lucene-trunk/ws/lucene/build/docs/changes>
>
> BUILD SUCCESSFUL
> Total time: 2 minutes 33 seconds
> + exit 1
> [TASKS] Skipping publisher since build result is FAILURE
> 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: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

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


Mime
View raw message