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: [email protected] > 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 > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > Ab > > stractDirectoryTestSuite.java:138) > > > > at > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstrac > tD > > 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(DelegatingMethodAccessorIm > pl > > .java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefir > eB > > ooter.java:308) > > > > at > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:8 > 79 > > ) > > > > > > > > testOSGiToJava(helloworld.sdo.SdoTestCase) Time elapsed: 0.278 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.osgi.invocation.OSGiTargetInvoker.in > vo > > 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.in > vo > > keTarget(OSGiTargetInvoker.java:143) > > > > at > > > > > org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.in > vo > > 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(SCABindin > gI > > 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(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.testOSGiToJava(SdoTestCase.java:89) > > > > 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 > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > Ab > > stractDirectoryTestSuite.java:138) > > > > at > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstrac > tD > > 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(DelegatingMethodAccessorIm > pl > > .java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefir > eB > > ooter.java:308) > > > > at > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:8 > 79 > > ) > > > > > > > > > > > > > > > > It looks as though these helloworld.sdo test cases have been recently > > added > > (see http://svn.apache.org/viewvc?view=rev > > <http://svn.apache.org/viewvc?view=rev&sortby=date&revision=647615> > > &sortby=date&revision=647615) and they are failing with an OSGI class > > loading issue. > > > > > > > > I've had a quick look and could not get the tests to pass. Perhaps > someone > > who knows more about OSGI that I do could have a look at fixing this > build > > problem. > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > -- > Thank you... > > Regards, > > Rajini --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
