Latest continuum builds are failing due to test failures in itest/osgi-implementation with new test cases helloworld.sdo

2008-04-15 Thread Mark Combellack
Hi,

 

Over the last few days, the continuum build has been failing for the trunk
of Tuscany. The problem is that two tests are failing in
itest/osgi-implementation. The relevant error messages are:

 

 

testJavaToOSGi(helloworld.sdo.SdoTestCase)  Time elapsed: 0.424 sec  <<<
ERROR!

java.lang.NoClassDefFoundError

  at
helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien
tComponent.java:33)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvo
ker.invoke(JavaImplementationInvoker.java:109)

  at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
assByValueInterceptor.java:108)

  at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI
nvoker.java:61)

  at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
assByValueInterceptor.java:108)

  at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
tionHandler.java:286)

  at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
tionHandler.java:154)

  at $Proxy141.getGreetings(Unknown Source)

  at helloworld.sdo.SdoTestCase.testJavaToOSGi(SdoTestCase.java:81)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at junit.framework.TestCase.runTest(TestCase.java:168)

  at junit.framework.TestCase.runBare(TestCase.java:134)

  at junit.framework.TestResult$1.protect(TestResult.java:110)

  at junit.framework.TestResult.runProtected(TestResult.java:128)

  at junit.framework.TestResult.run(TestResult.java:113)

  at junit.framework.TestCase.run(TestCase.java:124)

  at junit.framework.TestSuite.runTest(TestSuite.java:232)

  at junit.framework.TestSuite.run(TestSuite.java:227)

  at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35
)

  at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62
)

  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:138)

  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.java:125)

  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
ooter.java:308)

  at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879
)

 

testOSGiToJava(helloworld.sdo.SdoTestCase)  Time elapsed: 0.278 sec  <<<
ERROR!

java.lang.NoClassDefFoundError

  at
helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien
tComponent.java:33)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo
keMethod(OSGiTargetInvoker.java:171)

  at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiRemotableInvoker.i
nvokeMethod(OSGiRemotableInvoker.java:75)

  at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo
keTarget(OSGiTargetInvoker.java:143)

  at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo
ke(OSGiTargetInvoker.java:188)

  at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
assByValueInterceptor.java:103)

  at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI
nvoker.java:61)

  at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
assByValueInterceptor.java:103)

  at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
tionHandler.java:286)

  at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
tionHandler.java:154)

  at $Proxy141.getGreetings(Unknow

Re: Latest continuum builds are failing due to test failures in itest/osgi-implementation with new test cases helloworld.sdo

2008-04-15 Thread Rajini Sivaram
Sorry about that. I have committed a fix under revision 648396.

Due to a difference in classloading between the IBM JDK that I was using for
testing and the Sun(?) JDK on Continuum, an additional class was required to
be visible from the test bundle, resulting in the NoClassDefFoundError.

I was expecting to see a build failure report if the Continuum build failed
after I checked in code. Is that completely turned off now?


On 4/15/08, Mark Combellack <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> Over the last few days, the continuum build has been failing for the trunk
> of Tuscany. The problem is that two tests are failing in
> itest/osgi-implementation. The relevant error messages are:
>
>
>
>
>
> testJavaToOSGi(helloworld.sdo.SdoTestCase)  Time elapsed: 0.424 sec  <<<
> ERROR!
>
> java.lang.NoClassDefFoundError
>
>  at
>
> helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien
> tComponent.java:33)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>  at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
>  at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
>  at java.lang.reflect.Method.invoke(Method.java:585)
>
>  at
>
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvo
> ker.invoke(JavaImplementationInvoker.java:109)
>
>  at
>
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
> assByValueInterceptor.java:108)
>
>  at
>
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI
> nvoker.java:61)
>
>  at
>
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
> assByValueInterceptor.java:108)
>
>  at
>
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
> tionHandler.java:286)
>
>  at
>
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
> tionHandler.java:154)
>
>  at $Proxy141.getGreetings(Unknown Source)
>
>  at helloworld.sdo.SdoTestCase.testJavaToOSGi(SdoTestCase.java:81)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>  at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
>  at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
>  at java.lang.reflect.Method.invoke(Method.java:585)
>
>  at junit.framework.TestCase.runTest(TestCase.java:168)
>
>  at junit.framework.TestCase.runBare(TestCase.java:134)
>
>  at junit.framework.TestResult$1.protect(TestResult.java:110)
>
>  at junit.framework.TestResult.runProtected(TestResult.java:128)
>
>  at junit.framework.TestResult.run(TestResult.java:113)
>
>  at junit.framework.TestCase.run(TestCase.java:124)
>
>  at junit.framework.TestSuite.runTest(TestSuite.java:232)
>
>  at junit.framework.TestSuite.run(TestSuite.java:227)
>
>  at
>
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35
> )
>
>  at
>
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62
> )
>
>  at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
> stractDirectoryTestSuite.java:138)
>
>  at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
> irectoryTestSuite.java:125)
>
>  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>  at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
>  at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
>  at java.lang.reflect.Method.invoke(Method.java:585)
>
>  at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
> ooter.java:308)
>
>  at
>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879
> )
>
>
>
> testOSGiToJava(helloworld.sdo.SdoTestCase)  Time elapsed: 0.278 sec  <<<
> ERROR!
>
> java.lang.NoClassDefFoundError
>
>  at
>
> helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien
> tComponent.java:33)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>  at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
>  at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
>  at java.lang.reflect.Method.invoke(Method.java:585)
>
>  at
>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo
> keMethod(OSGiTargetInvoker.java:171)
>
>  at
>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiRemotableInvoker.i
> nvokeMethod(OSGiRemotableInvoker.java:75)
>
>  at
>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo
>

Re: Latest continuum builds are failing due to test failures in itest/osgi-implementation with new test cases helloworld.sdo

2008-04-15 Thread Luciano Resende
The Continuum e-mails are not going to the dev-list anymore, and only
to committers that committed something on the faulty build. You can
always go directly to the build machine to check.

[1] http://vmbuild1.apache.org/continuum/

On Tue, Apr 15, 2008 at 1:12 PM, Rajini Sivaram
<[EMAIL PROTECTED]> wrote:
> Sorry about that. I have committed a fix under revision 648396.
>
>  Due to a difference in classloading between the IBM JDK that I was using for
>  testing and the Sun(?) JDK on Continuum, an additional class was required to
>  be visible from the test bundle, resulting in the NoClassDefFoundError.
>
>  I was expecting to see a build failure report if the Continuum build failed
>  after I checked in code. Is that completely turned off now?
>
>
>
>
>  On 4/15/08, Mark Combellack <[EMAIL PROTECTED]> wrote:
>  >
>  > Hi,
>  >
>  >
>  >
>  > Over the last few days, the continuum build has been failing for the trunk
>  > of Tuscany. The problem is that two tests are failing in
>  > itest/osgi-implementation. The relevant error messages are:
>  >
>  >
>  >
>  >
>  >
>  > testJavaToOSGi(helloworld.sdo.SdoTestCase)  Time elapsed: 0.424 sec  <<<
>  > ERROR!
>  >
>  > java.lang.NoClassDefFoundError
>  >
>  >  at
>  >
>  > 
> helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien
>  > tComponent.java:33)
>  >
>  >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >
>  >  at
>  >
>  > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>  > )
>  >
>  >  at
>  >
>  > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>  > .java:25)
>  >
>  >  at java.lang.reflect.Method.invoke(Method.java:585)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvo
>  > ker.invoke(JavaImplementationInvoker.java:109)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
>  > assByValueInterceptor.java:108)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI
>  > nvoker.java:61)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P
>  > assByValueInterceptor.java:108)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
>  > tionHandler.java:286)
>  >
>  >  at
>  >
>  > 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca
>  > tionHandler.java:154)
>  >
>  >  at $Proxy141.getGreetings(Unknown Source)
>  >
>  >  at helloworld.sdo.SdoTestCase.testJavaToOSGi(SdoTestCase.java:81)
>  >
>  >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >
>  >  at
>  >
>  > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>  > )
>  >
>  >  at
>  >
>  > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>  > .java:25)
>  >
>  >  at java.lang.reflect.Method.invoke(Method.java:585)
>  >
>  >  at junit.framework.TestCase.runTest(TestCase.java:168)
>  >
>  >  at junit.framework.TestCase.runBare(TestCase.java:134)
>  >
>  >  at junit.framework.TestResult$1.protect(TestResult.java:110)
>  >
>  >  at junit.framework.TestResult.runProtected(TestResult.java:128)
>  >
>  >  at junit.framework.TestResult.run(TestResult.java:113)
>  >
>  >  at junit.framework.TestCase.run(TestCase.java:124)
>  >
>  >  at junit.framework.TestSuite.runTest(TestSuite.java:232)
>  >
>  >  at junit.framework.TestSuite.run(TestSuite.java:227)
>  >
>  >  at
>  >
>  > 
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35
>  > )
>  >
>  >  at
>  >
>  > 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62
>  > )
>  >
>  >  at
>  >
>  > 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
>  > stractDirectoryTestSuite.java:138)
>  >
>  >  at
>  >
>  > 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
>  > irectoryTestSuite.java:125)
>  >
>  >  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>  >
>  >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >
>  >  at
>  >
>  > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>  > )
>  >
>  >  at
>  >
>  > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>  > .java:25)
>  >
>  >  at java.lang.reflect.Method.invoke(Method.java:585)
>  >
>  >  at
>  >
>  > 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
>  > ooter.java:308)
>  >
>  >  at
>  >
>  > 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879
>  > )
>  >
>  >
>  >
>  > testOSGiToJava(helloworld.sdo.SdoTestCase)  Time elapsed: 0.278 sec  <<<
>  > ERROR!
>  

RE: Latest continuum builds are failing due to test failures in itest/osgi-implementation with new test cases helloworld.sdo

2008-04-16 Thread Mark Combellack
Hi Rajini,

Thanks for fixing the osgi-implementation build break so quickly. It is
working for me now.

The build then failed on osgi-contribution. However, I see that you have
already committed a fix for this one too :-)

The build is currently running on the Continuum server so we should
hopefully see a successful build soon.

Thanks,

Mark


> -Original Message-
> From: Rajini Sivaram [mailto:[EMAIL PROTECTED]
> Sent: 15 April 2008 21:13
> To: tuscany-dev@ws.apache.org
> Subject: Re: Latest continuum builds are failing due to test failures in
> itest/osgi-implementation with new test cases helloworld.sdo
> 
> Sorry about that. I have committed a fix under revision 648396.
> 
> Due to a difference in classloading between the IBM JDK that I was using
> for
> testing and the Sun(?) JDK on Continuum, an additional class was required
> to
> be visible from the test bundle, resulting in the NoClassDefFoundError.
> 
> I was expecting to see a build failure report if the Continuum build
> failed
> after I checked in code. Is that completely turned off now?
> 
> 
> On 4/15/08, Mark Combellack <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >
> >
> > Over the last few days, the continuum build has been failing for the
> trunk
> > of Tuscany. The problem is that two tests are failing in
> > itest/osgi-implementation. The relevant error messages are:
> >
> >
> >
> >
> >
> > testJavaToOSGi(helloworld.sdo.SdoTestCase)  Time elapsed: 0.424 sec  <<<
> > ERROR!
> >
> > java.lang.NoClassDefFoundError
> >
> >  at
> >
> >
> helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldCli
> en
> > tComponent.java:33)
> >
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> >  at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39
> > )
> >
> >  at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl
> > .java:25)
> >
> >  at java.lang.reflect.Method.invoke(Method.java:585)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationIn
> vo
> > ker.invoke(JavaImplementationInvoker.java:109)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke
> (P
> > assByValueInterceptor.java:108)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindin
> gI
> > nvoker.java:61)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke
> (P
> > assByValueInterceptor.java:108)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvo
> ca
> > tionHandler.java:286)
> >
> >  at
> >
> >
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvo
> ca
> > tionHandler.java:154)
> >
> >  at $Proxy141.getGreetings(Unknown Source)
> >
> >  at helloworld.sdo.SdoTestCase.testJavaToOSGi(SdoTestCase.java:81)
> >
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> >  at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39
> > )
> >
> >  at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl
> > .java:25)
> >
> >  at java.lang.reflect.Method.invoke(Method.java:585)
> >
> >  at junit.framework.TestCase.runTest(TestCase.java:168)
> >
> >  at junit.framework.TestCase.runBare(TestCase.java:134)
> >
> >  at junit.framework.TestResult$1.protect(TestResult.java:110)
> >
> >  at junit.framework.TestResult.runProtected(TestResult.java:128)
> >
> >  at junit.framework.TestResult.run(TestResult.java:113)
> >
> >  at junit.framework.TestCase.run(TestCase.java:124)
> >
> >  at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >
> >  at junit.framework.TestSuite.run(TestSuite.java:227)
> >
> >  at
> >
> >
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:
> 35
> > )
> >
> >  at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
> 62
> > )
> >
> >  at
> &g