Hello,

      Still can't get this bugger to work.  I've locked down the version of the 
surefire plugin to the latest (2.5), using Maven 2.2.1 and found a thread 
(http://jira.codehaus.org/browse/MRELEASE-140) thinking that perhaps something 
with the site plugin might be screwing up the release:perform so I tried taking 
out anything site related (site plugin config, etc) - but still no luck.

Just to recap...

Mvn test works fine, mvn release:prepare works fine (all tests pass)

Tests fail with mvn release:perform, except there aren't any test failures!

[INFO] Running com.x.exception.XExceptionTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] [ERROR] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] [INFO] There are test failures.
[INFO]
[INFO] Please refer to D:\Project\Code\Library\x_3.0.0\target\c
heckout\target\surefire-reports for the individual test results.
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] [INFO] Total time: 10 seconds
[INFO] [INFO] Finished at: Mon Mar 15 10:14:29 MST 2010
[INFO] [INFO] Final Memory: 20M/39M
[INFO] [INFO] ------------------------------------------------------------------
------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 46 seconds

You can see from above that the build fails, but there are no summary stats, 
such as "Tests: 506  Failures: 17   Errors:7", it's as if the surefire plugin 
just stopped.

Failure seemed to occur with one particular test, I removed that test and the 
problem just moved to another test, so doensn't appear to be test dependent.

Tried using Windows/Linux machines (just to ensure it wasn't something machine 
dependent), still no joy.

I also tried changing surefire forkmode to pretest, but that didn't change 
anything.

This project normally takes more than 10m to run, notice the total time is 1m 
46s, some something is very screwy, just can't figure out what changed.  This 
same project was running release:perform fine with Maven 2.0.9 a few months ago 
(this same project does get the same error with Maven 2.0.9, btw... I only 
upgraded to 2.2.1 to try and resolve this issue).

Any suggestions/insight is greatly appreciated.

Thanks!

Randall

-----Original Message-----
From: Randall Fidler [mailto:[email protected]] 
Sent: Friday, March 12, 2010 10:37 AM
To: Maven Users List
Subject: RE: Test fail for release:perform only - no failure info

Hmm... just tried with Maven 2.2.1 and surefire plugin vesion 2.5.  Still none 
of the tests are failing but the build fails because there are test errors.  I 
thought it was one particular test, but I removed it from the project and same 
result.  All tests pass on release:prepare but I get the "build failed due to 
test failures with no failing tests" when I do release:perform.

Ideas?

Thanks!

Randall

-----Original Message-----
From: Randall Fidler [mailto:[email protected]] 
Sent: Thursday, March 11, 2010 3:18 PM
To: Maven Users List
Subject: RE: Test fail for release:perform only - no failure info

I'm downloading Maven 2.2.1 right now.  I'm on a 'loaner' laptop as mine is in 
the shop so I think not having MAVEN_OPTS set for memory settings could be an 
option.  Maybe it runs out of memory under the release:perform and not 
release:prepare?  Anyhow, I'll give both a try.

Thanks!  Any other ideas are welcome.

Regards,

Randall

-----Original Message-----
From: Wayne Fay [mailto:[email protected]] 
Sent: Thursday, March 11, 2010 3:08 PM
To: Maven Users List
Subject: Re: Test fail for release:perform only - no failure info

> I'm using Maven 2.0.9.
> Any ideas?  Where to start looking?

Did you try Maven 2.0.10? Or 2.0.11 that was recently released? Or
2.2.1 for that matter if you don't need to use JDK 1.4?

Wayne

---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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