You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Rick McGuire <ri...@gmail.com> on 2006/09/08 14:20:52 UTC

Intermittent test failure when building.

I keep seeing this problem intermittently when trying to build.  Anybody 
else seeing this?

Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 2.5 
sec <<< FA
ILURE!
Running org.openejb.deployment.EjbJarModuleDeploymentTest
org.apache.maven.surefire.booter.SurefireExecutionException: 
org.openejb.deploym
ent.EjbJarModuleDeploymentTest; nested exception is 
java.lang.reflect.Undeclared
ThrowableException: null; nested exception is 
org.apache.maven.surefire.testset.
TestSetFailedException: 
org.openejb.deployment.EjbJarModuleDeploymentTest; neste
d exception is java.lang.reflect.UndeclaredThrowableException: null
org.apache.maven.surefire.testset.TestSetFailedException: 
org.openejb.deployment
.EjbJarModuleDeploymentTest; nested exception is 
java.lang.reflect.UndeclaredThr
owableException: null
java.lang.reflect.UndeclaredThrowableException
        at $Proxy0.addError(Unknown Source)
        at junit.framework.TestResult.addError(TestResult.java:36)
        at junit.framework.TestResult.runProtected(TestResult.java:133)
        at 
org.openejb.deployment.DeploymentTestSuite.run(DeploymentTestSuite.ja
va:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:210)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:135)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:225)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:747)
Caused by: java.lang.NoSuchMethodException: 
org.openejb.deployment.DeploymentTes
tSuite.getName()
        at java.lang.Class.getMethod(Class.java:986)
        at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.getStac
kTraceWriter(TestListenerInvocationHandler.java:171)
        at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleA
ddError(TestListenerInvocationHandler.java:160)
        at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(
TestListenerInvocationHandler.java:134)
        ... 18 more
[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: 1 minute 23 seconds
[INFO] Finished at: Fri Sep 08 08:18:05 EDT 2006
[INFO] Final Memory: 23M/56M
[INFO] 
------------------------------------------------------------------------


Re: Intermittent test failure when building.

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Hi Rick...

Which revision u r using ?



On 9/8/06, Rick McGuire <ri...@gmail.com> wrote:

> I keep seeing this problem intermittently when trying to build.  Anybody
> else seeing this?
>
> Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 2.5
> sec <<< FA
> ILURE!
> Running org.openejb.deployment.EjbJarModuleDeploymentTest
> org.apache.maven.surefire.booter.SurefireExecutionException:
> org.openejb.deploym
> ent.EjbJarModuleDeploymentTest; nested exception is
> java.lang.reflect.Undeclared
> ThrowableException: null; nested exception is
> org.apache.maven.surefire.testset.
> TestSetFailedException:
> org.openejb.deployment.EjbJarModuleDeploymentTest; neste
> d exception is java.lang.reflect.UndeclaredThrowableException: null
> org.apache.maven.surefire.testset.TestSetFailedException:
> org.openejb.deployment
> .EjbJarModuleDeploymentTest; nested exception is
> java.lang.reflect.UndeclaredThr
> owableException: null
> java.lang.reflect.UndeclaredThrowableException
>        at $Proxy0.addError(Unknown Source)
>        at junit.framework.TestResult.addError(TestResult.java:36)
>        at junit.framework.TestResult.runProtected(TestResult.java:133)
>        at
> org.openejb.deployment.DeploymentTestSuite.run(DeploymentTestSuite.ja
> va:121)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
> a:210)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:135)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:122)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:225)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:747)
> Caused by: java.lang.NoSuchMethodException:
> org.openejb.deployment.DeploymentTes
> tSuite.getName()
>        at java.lang.Class.getMethod(Class.java:986)
>        at
> org.apache.maven.surefire.junit.TestListenerInvocationHandler.getStac
> kTraceWriter(TestListenerInvocationHandler.java:171)
>        at
> org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleA
> ddError(TestListenerInvocationHandler.java:160)
>        at
> org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(
> TestListenerInvocationHandler.java:134)
>        ... 18 more
> [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: 1 minute 23 seconds
> [INFO] Finished at: Fri Sep 08 08:18:05 EDT 2006
> [INFO] Final Memory: 23M/56M
> [INFO]
> ------------------------------------------------------------------------
>
>

Re: Intermittent test failure when building.

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 9/8/06, Rick McGuire <ri...@gmail.com> wrote:
> I keep seeing this problem intermittently when trying to build.  Anybody
> else seeing this?

Yes, lots of us who are building OpenEJB 2 on MS Windows :-) You see I
know where you're building it and what even though you did not mention
it ;-)

Rick seems to not be following the recent Geronimo conversations on
dev@geronimo.

There are two failures while building OpenEJB 2. They are:
http://jira.codehaus.org/browse/OPENEJB-262 and
http://jira.codehaus.org/browse/OPENEJB-263

Am I correct? If so, the solution is to change maven 2 local
repository so that it doesn't contain spaces. Give it a try and
report.

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl