This seems to be fixed now. But there is something completely wrong with
clover:

If you look into the clover reports, there are a lot of classes having 0%
code coverage, but there are tests available (e.g. my new NumericRange
things). Also *all* contribs have 0%.

After thinking a little bit about it, it seems, that the cloverage report is
build not from the normal test-run, but it is generated from the results of
the test-tag. This explains, why NumericRange and Spatial seem to have no
tests for clover.

Does anybody know, how to fix this. Maybe the cloverage should be disabled
for the test run in test-tag? What can be changed in build.xml to do this?

I have no clover installed locally, so I cannot try this out.

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

> -----Original Message-----
> From: Michael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Tuesday, July 28, 2009 12:13 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Build failed in Hudson: Lucene-trunk #902
> 
> Hmm... the build looks like it failed because of some odd clover
> licensing issue:
> 
>    [clover] Sorry, you are not licensed to instrument files in the package
> ''.
> 
> Anyone have any ideas?
> 
> Mike
> 
> On Mon, Jul 27, 2009 at 11:26 PM, Apache Hudson
> Server<hud...@hudson.zones.apache.org> wrote:
> > See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/902/changes
> >
> > Changes:
> >
> > [uschindler] LUCENE-1754: JavaDoc updates
> >
> > [mikemccand] LUCENE-1754: EMPTY_DOCIDSET subclasses DocIdSet directly
> >
> > [mikemccand] LUCENE-1754: just use EMPTY_DOCIDSET.iterator() instead of
> new EmptyDocIdSetIterator
> >
> > [mikemccand] LUCENE-1595: don't use SortField.AUTO; deprecate
> LineDocMaker & EnwikiDocMaker
> >
> > [mikemccand] LUCENE-1754: add EmptyDocIdSetIterator
> >
> > [mikemccand] LUCENE-1754: update back-compat test
> >
> > [mikemccand] LUCENE-1754: BooleanQuery detects up front if it won't
> match any docs and returns null from its scorer() instead of
> NonMatchingScorer
> >
> > ------------------------------------------
> > [...truncated 21062 lines...]
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 32 warnings
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/spatial/lucene-spatial-2009-07-28_02-04-46-
> javadoc.jar
> >     [echo] Building spellchecker...
> >
> > javadocs:
> >  [javadoc] Generating Javadoc
> >  [javadoc] Javadoc execution
> >  [javadoc] Loading source files for package
> org.apache.lucene.search.spell...
> >  [javadoc] Constructing Javadoc information...
> >  [javadoc] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-spellchecker/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [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] javadoc: error - Error while reading file
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/spellchecker/src/java/overview.html
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 1 warning
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/spellchecker/lucene-spellchecker-2009-07-
> 28_02-04-46-javadoc.jar
> >     [echo] Building surround...
> >
> > javadocs:
> >  [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] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-surround/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [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] javadoc: error - Error while reading file
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/surround/src/java/overview.html
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 1 warning
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/surround/lucene-surround-2009-07-28_02-04-46-
> javadoc.jar
> >     [echo] Building swing...
> >
> > javadocs:
> >  [javadoc] Generating Javadoc
> >  [javadoc] Javadoc execution
> >  [javadoc] Loading source files for package
> org.apache.lucene.swing.models...
> >  [javadoc] Constructing Javadoc information...
> >  [javadoc] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-swing/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 warning
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/swing/lucene-swing-2009-07-28_02-04-46-
> javadoc.jar
> >     [echo] Building wikipedia...
> >
> > javadocs:
> >  [javadoc] Generating Javadoc
> >  [javadoc] Javadoc execution
> >  [javadoc] Loading source files for package
> org.apache.lucene.wikipedia.analysis...
> >  [javadoc] Constructing Javadoc information...
> >  [javadoc] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-wikipedia/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [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] javadoc: error - Error while reading file
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/wikipedia/src/java/overview.html
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 1 warning
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/wikipedia/lucene-wikipedia-2009-07-28_02-04-
> 46-javadoc.jar
> >     [echo] Building wordnet...
> >
> > javadocs:
> >  [javadoc] Generating Javadoc
> >  [javadoc] Javadoc execution
> >  [javadoc] Loading source files for package org.apache.lucene.wordnet...
> >  [javadoc] Constructing Javadoc information...
> >  [javadoc] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-wordnet/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [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] javadoc: error - Error while reading file
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/wordnet/src/java/overview.html
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 1 warning
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/wordnet/lucene-wordnet-2009-07-28_02-04-46-
> javadoc.jar
> >     [echo] Building xml-query-parser...
> >
> > javadocs:
> >  [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] javadoc: warning - Error reading file:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/docs/api/contrib-xml-query-parser/../package-list
> >  [javadoc] Standard Doclet version 1.5.0_14
> >  [javadoc] Building tree for all the packages and classes...
> >  [javadoc] http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/xml-query-
> parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder
> .java :89: warning - @return tag has no arguments.
> >  [javadoc] Building index for all the packages and classes...
> >  [javadoc] Building index for all classes...
> >  [javadoc] javadoc: error - Error while reading file
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/contrib/xml-query-parser/src/java/overview.html
> >  [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 could override future standard tags:
> �...@todo. To avoid potential overrides, use at least one period character
> (.) in custom tag names.
> >  [javadoc] Note: Custom tags that were not seen: �...@todo, @uml.property
> >  [javadoc] 1 error
> >  [javadoc] 2 warnings
> >      [jar] Building jar:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/contrib/xml-query-parser/lucene-xml-query-parser-
> 2009-07-28_02-04-46-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:
> >     [echo] Building collation...
> >
> > 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 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 regex...
> >
> > javadocs-index.html:
> >     [echo] Building remote...
> >
> > javadocs-index.html:
> >     [echo] Building snowball...
> >
> > 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:
> >
> > BUILD SUCCESSFUL
> > Total time: 4 minutes 42 seconds
> > + /export/home/hudson/tools/ant/latest/bin/ant -lib
> /export/home/nigel/hudsonSupport/junit -lib
> /export/home/hudson/tools/clover/latest/lib -
> Dsvnversion.exe=/opt/subversion-current/bin/svnversion -
> Dsvn.exe=/opt/subversion-current/bin/svn -Dversion=2009-07-28_02-04-46 -
> Drun.clover=true clean nightly
> > Buildfile: build.xml
> >
> > clean:
> >   [delete] Deleting directory
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/build
> >   [delete] Deleting directory
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/dist
> >
> > javacc-uptodate-check:
> >
> > javacc-notice:
> >
> > jflex-uptodate-check:
> >
> > jflex-notice:
> >
> > init:
> >
> > clover.setup:
> >    [mkdir] Created dir:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/test/clover/db
> > [clover-setup] Clover Version 1.3.13, built on September 04 2006
> > [clover-setup] loaded from:
> /export/home/hudson/tools/clover/latest/lib/clover.jar
> > [clover-setup] Open Source License registered to the Apache Software
> Foundation. This license of Clover is provided to support projects of the
> Apache Software Foundation only.
> > [clover-setup]
> > [clover-setup] Clover is enabled with initstring
> 'http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/test/clover/db/lucene_coverage.db'
> >
> > clover.info:
> >
> > clover:
> >
> > compile-core:
> >    [mkdir] Created dir:
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/classes/java
> >    [javac] Compiling 398 source files to
> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/classes/java
> >   [clover] Clover Version 1.3.13, built on September 04 2006
> >   [clover] loaded from:
> /export/home/hudson/tools/clover/latest/lib/clover.jar
> >   [clover] Open Source License registered to the Apache Software
> Foundation. This license of Clover is provided to support projects of the
> Apache Software Foundation only.
> >   [clover]
> >   [clover] Processing files at 1.4 source level.
> >   [clover] No coverage database
> 'http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/ws/trunk/build/test/clover/db/lucene_coverage.db'  found. Creating a
> fresh one.
> >   [clover] Sorry, you are not licensed to instrument files in the
> package ''.
> >   [clover] ** Error(s) occurred and the instrumentation process can't
> continue.
> >
> > BUILD FAILED
> > http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml :235: The following error occurred while executing this line:
> > http://hudson.zones.apache.org/hudson/job/Lucene-trunk/ws/trunk/common-
> build.xml :540: com.cenqua.clover.B: Sorry, you are not licensed to
> instrument files in the package ''.
> >
> > Total time: 33 seconds
> > Publishing Javadoc
> > Recording test results
> > Publishing Clover coverage report...
> >
> >
> > ---------------------------------------------------------------------
> > 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