You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by mcp <me...@gmail.com> on 2006/08/02 14:57:21 UTC

Clover failing in maven2/Continuum1.0.3 build

HI, 

I'm attempting to run Clover coverage analysis on serveral maven 2.0
projects with various subprojects and modules. I'm using Continuum to
automatically build / test and generate reports on all these projects (~20)
but on two it fails. 

The tests build and pass successfully using surefire, but then clover
instruments them and they all fail. 

Not a continuum problem you might think, but unfortunately it all builds
happily using just maven and clover outside of continuum. It's only in
continuum that it fails. 

output from maven via continuum: 

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running edina.digimap.util.jdbc.test.DatabasePoolTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.733 sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
/disk/digimap/raid5-3/subvrsn/distributions/continuum-1.0.3/apps/continuum/working-directory/29/target/digimap-util-jdbc-1.0-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
/disk/digimap/raid5-3/subvrsn/distributions/continuum-1.0.3/apps/continuum/working-directory/29/target/digimap-util-jdbc-1.0-SNAPSHOT-sources.jar
[INFO] Preparing clover:instrument
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[WARNING] Removing: instrument from forked lifecycle, to prevent recursive
invocation.
[INFO] [clover:instrumentInternal]
Clover Version 1.3.12, built on February 08 2006
loaded from:
/disk/digimap/raid5-3/subvrsn/.m2/repository/com/cenqua/clover/clover/1.3.12/clover-1.3.12.jar
Academic License registered to EDINA. This license of Clover is provided to
support coursework at EDINA only.
You have 40 day(s) before your Academic License expires.
No coverage database 'target/clover/clover.db' found. Creating a fresh one.
Processing files at 1.4 source level.
Instrumented 1 source files.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 1 source file to
/disk/digimap/raid5-3/subvrsn/distributions/continuum-1.0.3/apps/continuum/working-directory/29/target/clover/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 1 source file to
/disk/digimap/raid5-3/subvrsn/distributions/continuum-1.0.3/apps/continuum/working-directory/29/target/clover/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/disk/digimap/raid5-3/subvrsn/distributions/continuum-1.0.3/apps/continuum/working-directory/29/target/clover/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running edina.digimap.util.jdbc.test.DatabasePoolTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.617 sec
<<< FAILURE!

Results :
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Fri Jul 14 12:07:08 BST 2006
[INFO] Final Memory: 13M/221M
[INFO]
------------------------------------------------------------------------

-- 
View this message in context: http://www.nabble.com/Clover-failing-in-maven2-Continuum1.0.3-build-tf2039690.html#a5613234
Sent from the Continuum - Users forum at Nabble.com.


RE: Clover failing in maven2/Continuum1.0.3 build

Posted by Vincent Massol <vi...@massol.net>.
Hi Meghan,

> -----Original Message-----
> From: mcp [mailto:meghan.c.pike@gmail.com]
> Sent: mercredi 2 août 2006 14:57
> To: continuum-users@maven.apache.org
> Subject: Clover failing in maven2/Continuum1.0.3 build
> 
> 
> HI,
> 
> I'm attempting to run Clover coverage analysis on serveral maven 2.0
> projects with various subprojects and modules. I'm using Continuum to
> automatically build / test and generate reports on all these projects
> (~20)
> but on two it fails.
> 
> The tests build and pass successfully using surefire, but then clover
> instruments them and they all fail.
> 
> Not a continuum problem you might think, but unfortunately it all builds
> happily using just maven and clover outside of continuum. It's only in
> continuum that it fails.

Could you please send us the log files for the failing tests (they're in the
surefire-reports directory)?

[snip]

Thanks
-Vincent


	
	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com