You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ignacio Silva-Lepe <is...@gmail.com> on 2007/01/15 16:38:11 UTC

Standalone Smoketest failure

After a full update, mvn clean of sca and mvn in sca I see the following
failure:


Running
org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyCon
tent
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
Running
org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec <<<
FAI
LURE!
testLauncherUsage(
org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL
auncher)  Time elapsed: 0.27 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<usage: java [jvm-options] -jar
laun
cher.jar <jar> [args...]
> but was:<java.lang.NoClassDefFoundError: org/osoa/sca/SCA
Exception in thread "main" >
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at
org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
ompareOutput(CommandTestCase.java:37)
        at
org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
.testLauncherUsage(SmokeTestLauncher.java:40)

testLauncherWithNoArgs(
org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke
TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<No Args
> but was:<>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at
org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
ompareOutput(CommandTestCase.java:37)
        at
org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
.testLauncherWithNoArgs(SmokeTestLauncher.java:53)

Does anybody else see it?

Re: Standalone Smoketest failure

Posted by Raymond Feng <en...@gmail.com>.
Hi,

I'm seeing it as well.

Thanks,
Raymond

----- Original Message ----- 
From: "Ignacio Silva-Lepe" <is...@gmail.com>
To: "Tuscany Dev List" <tu...@ws.apache.org>
Sent: Monday, January 15, 2007 7:38 AM
Subject: Standalone Smoketest failure


> After a full update, mvn clean of sca and mvn in sca I see the following
> failure:
>
>
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyCon
> tent
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec 
> <<<
> FAI
> LURE!
> testLauncherUsage(
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL
> auncher)  Time elapsed: 0.27 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<usage: java 
> [jvm-options] -jar
> laun
> cher.jar <jar> [args...]
>> but was:<java.lang.NoClassDefFoundError: org/osoa/sca/SCA
> Exception in thread "main" >
>        at junit.framework.Assert.assertEquals(Assert.java:81)
>        at junit.framework.Assert.assertEquals(Assert.java:87)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherUsage(SmokeTestLauncher.java:40)
>
> testLauncherWithNoArgs(
> org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke
> TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<No Args
>> but was:<>
>        at junit.framework.Assert.assertEquals(Assert.java:81)
>        at junit.framework.Assert.assertEquals(Assert.java:87)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherWithNoArgs(SmokeTestLauncher.java:53)
>
> Does anybody else see it?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Echo binding failure, was: Re: Standalone Smoketest failure

Posted by Jim Marino <jm...@myromatours.com>.
Yes, It's related to wire optimizations. I'll take a look.

Jim

On Jan 15, 2007, at 9:38 AM, Raymond Feng wrote:

> I'm seeing it as well. It's probably caused by some changes in the  
> core. I did a bit debugging, and here's the stacktrace where the  
> code goes wrong: (OutboundWireImpl.targetWire == null for the  
> EchoReference's outbound wire).
>
> Jim, can you check?
>
> Thanks,
> Raymond
>
> Thread [main] (Suspended)
> OutboundWireImpl.getTargetService() line: 78
> InboundWireImpl.getTargetService() line: 81
> OutboundWireImpl.getTargetService() line: 82
> WireObjectFactory<T>.getInstance() line: 70
> PojoObjectFactory<T>.getInstance() line: 100
> JavaAtomicComponent(PojoAtomicComponent).createInstance() line: 137
> StatelessScopeContainer.getInstanceWrapper(AtomicComponent,  
> boolean) line: 70
> StatelessScopeContainer(AbstractScopeContainer).getInstance 
> (AtomicComponent)line: 99 JavaAtomicComponent 
> (PojoAtomicComponent).getTargetInstance() line: 129  
> JavaTargetInvoker.getInstance(short) line: 127  
> JavaTargetInvoker.invokeTarget(Object, short) line: 75  
> JavaTargetInvoker(TargetInvokerExtension).invoke(Message) line: 67  
> InvokerInterceptor.invoke(Message) line: 44  
> JDKInboundInvocationHandler(AbstractInboundInvocationHandler).invoke 
> (InboundInvocationChain, TargetInvoker, Object[]) line: 45  
> JDKInboundInvocationHandler.invoke(Object, Method, Object[]) line:  
> 122 $Proxy18.call(String) line: not available  
> BootstrapTestCase.testDemoBoot() line: 35  
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line:  
> notavailable [native method] NativeMethodAccessorImpl.invoke 
> (Object, Object[]) line: 64 DelegatingMethodAccessorImpl.invoke 
> (Object, Object[]) line: 43 Method.invoke(Object, Object...) line:  
> 615 BootstrapTestCase(TestCase).runTest() line: 154  
> BootstrapTestCase(TestCase).run
> Bare() line: 127 TestResult$1.protect() line: 106  
> TestResult.runProtected(Test, Protectable) line: 124 TestResult.run 
> (TestCase) line: 109 BootstrapTestCase(TestCase).run(TestResult)  
> line: 118 TestSuite.runTest(Test, TestResult) line: 208  
> TestSuite.run(TestResult) line: 203 JUnit3TestReference.run 
> (TestExecution) line: 128 TestExecution.run(ITestReference[]) line:  
> 38 RemoteTestRunner.runTests(String[], String, TestExecution) line:  
> 460 RemoteTestRunner.runTests(TestExecution) line: 673  
> RemoteTestRunner.run() line: 386 RemoteTestRunner.main(String[])  
> line: 196----- Original Message -----From: "Bert Lamb"  
> <al...@pobox.com>To: <tu...@ws.apache.org>Sent: Monday,  
> January 15, 2007 7:48 AMSubject: Re: Standalone Smoketest failure>I  
> also just did a fresh checkout with a an empty local repo and I'm>  
> getting a test failure for the echo binding:>>  
> ---------------------------------------------------------------------- 
> ---------> Test set: echo.BootstrapTestCase> ----------------------
> ---------------------------------------------------------> Tests  
> run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.688>  
> sec <<< FAILURE!> testDemoBoot(echo.BootstrapTestCase)  Time  
> elapsed: 1.64 sec  <<< ERROR!> java.lang.NullPointerException> at  
> echo.ClientImpl.call(ClientImpl.java:37)> at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>  
> atsun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)>  
> atsun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)> at  
> java.lang.reflect.Method.invoke(Method.java:585)>  
> atorg.apache.tuscany.core.implementation.java.JavaTargetInvoker.invoke 
> Target(JavaTargetInvoker.java:93)>  
> atorg.apache.tuscany.spi.extension.TargetInvokerExtension.invoke 
> (TargetInvokerExtension.java:67)>  
> atorg.apache.tuscany.core.wire.InvokerInterceptor.invoke 
> (InvokerInterceptor.java:44)>  
> atorg.apache.tuscany.spi.wire.AbstractInboundInvocationHandler.invoke( 
> AbstractInboundInvocationHandler.java:45)> a
> torg.apache.tuscany.core.wire.jdk.JDKInboundInvocationHandler.invoke 
> (JDKInboundInvocationHandler.java:122)> at $Proxy20.call(Unknown  
> Source)> at echo.BootstrapTestCase.testDemoBoot 
> (BootstrapTestCase.java:35)> at echo.BootstrapTestCase.testDemoBoot 
> (BootstrapTestCase.java:35)> at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>  
> atsun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)>  
> atsun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)> at  
> java.lang.reflect.Method.invoke(Method.java:585)> at  
> junit.framework.TestCase.runTest(TestCase.java:154)> at  
> junit.framework.TestCase.runBare(TestCase.java:127)> at  
> junit.framework.TestResult$1.protect(TestResult.java:106)> at  
> junit.framework.TestResult.runProtected(TestResult.java:124)> at  
> junit.framework.TestResult.run(TestResult.java:109)> at  
> junit.framework.TestCase.run(TestCase.java:118)> at  
> junit.framework.TestSuite.runTest(TestSuite.java:208)> at  
> junit.framework.Te
> stSuite.run(TestSuite.java:203)> at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>  
> atsun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)>  
> atsun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)> at  
> java.lang.reflect.Method.invoke(Method.java:585)>  
> atorg.apache.maven.surefire.junit.JUnitTestSet.execute 
> (JUnitTestSet.java:210)>  
> atorg.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTe 
> stSet(AbstractDirectoryTestSuite.java:135)>  
> atorg.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
> (AbstractDirectoryTestSuite.java:122)> at  
> org.apache.maven.surefire.Surefire.run(Surefire.java:129)> at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>  
> atsun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)>  
> atsun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)> at  
> java.lang.reflect.Method.invoke(Method.java:585)> atorg.apache.maven.s
> urefire.booter.SurefireBooter.runSuitesInProcess 
> (SurefireBooter.java:288)>  
> atorg.apache.maven.surefire.booter.SurefireBooter.main 
> (SurefireBooter.java:816)>> Any ideas?  Are they related?>> -Bert>>  
> On 1/15/07, Ignacio Silva-Lepe <is...@gmail.com> wrote:>>  
> After a full update, mvn clean of sca and mvn in sca I see the  
> following>> failure:>>>>>> Running>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyC 
> on>> tent>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time  
> elapsed: 0.081 sec>> Running>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher> 
> > Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:  
> 0.42 sec<<<>> FAI>> LURE!>> testLauncherUsage(>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL>>  
> auncher)  Time elapsed: 0.27 sec  <<< FAILURE!>>  
> junit.framework.ComparisonFailure: expected:<usage: java[jvm- 
> options] -jar>> laun>> cher.jar <jar> [args...]>> > but  
> was:<java.lang.NoClassDefFoundError: org/osoa
> /sca/SCA>> Exception in thread "main" >>>         at  
> junit.framework.Assert.assertEquals(Assert.java:81)>>         at  
> junit.framework.Assert.assertEquals(Assert.java:87)>>         at>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c> 
> > ompareOutput(CommandTestCase.java:37)>>         at>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher> 
> > .testLauncherUsage(SmokeTestLauncher.java:40)>>>>  
> testLauncherWithNoArgs(>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke>>  
> TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!>>  
> junit.framework.ComparisonFailure: expected:<No Args>> > but  
> was:<>>>         at junit.framework.Assert.assertEquals(Assert.java: 
> 81)>>         at junit.framework.Assert.assertEquals(Assert.java:87) 
> >>         at>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c> 
> > ompareOutput(CommandTestCase.java:37)>>         at>>  
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher> 
> > .testLa
> uncherWithNoArgs(SmokeTestLauncher.java:53)>>>> Does anybody else  
> see it?>>>>>>  
> ---------------------------------------------------------------------> 
>  To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org> For  
> additional commands, e-mail: tuscany-dev-help@ws.apache.org>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Standalone Smoketest failure

Posted by Raymond Feng <en...@gmail.com>.
I'm seeing it as well. It's probably caused by some changes in the core. I 
did a bit debugging, and here's the stacktrace where the code goes wrong: 
(OutboundWireImpl.targetWire == null for the EchoReference's outbound wire).

Jim, can you check?

Thanks,
Raymond

Thread [main] (Suspended)
 OutboundWireImpl.getTargetService() line: 78
 InboundWireImpl.getTargetService() line: 81
 OutboundWireImpl.getTargetService() line: 82
 WireObjectFactory<T>.getInstance() line: 70
 PojoObjectFactory<T>.getInstance() line: 100
 JavaAtomicComponent(PojoAtomicComponent).createInstance() line: 137
 StatelessScopeContainer.getInstanceWrapper(AtomicComponent, boolean) line: 
70
 StatelessScopeContainer(AbstractScopeContainer).getInstance(AtomicComponent)line: 99 JavaAtomicComponent(PojoAtomicComponent).getTargetInstance() line: 129 JavaTargetInvoker.getInstance(short) line: 127 JavaTargetInvoker.invokeTarget(Object, short) line: 75 JavaTargetInvoker(TargetInvokerExtension).invoke(Message) line: 67 InvokerInterceptor.invoke(Message) line: 44 JDKInboundInvocationHandler(AbstractInboundInvocationHandler).invoke(InboundInvocationChain, TargetInvoker, Object[]) line: 45 JDKInboundInvocationHandler.invoke(Object, Method, Object[]) line: 122 $Proxy18.call(String) line: not available BootstrapTestCase.testDemoBoot() line: 35 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: notavailable [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 64 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43 Method.invoke(Object, Object...) line: 615 BootstrapTestCase(TestCase).runTest() line: 154 BootstrapTestCase(TestCase).run
 Bare() line: 127 TestResult$1.protect() line: 106 TestResult.runProtected(Test, Protectable) line: 124 TestResult.run(TestCase) line: 109 BootstrapTestCase(TestCase).run(TestResult) line: 118 TestSuite.runTest(Test, TestResult) line: 208 TestSuite.run(TestResult) line: 203 JUnit3TestReference.run(TestExecution) line: 128 TestExecution.run(ITestReference[]) line: 38 RemoteTestRunner.runTests(String[], String, TestExecution) line: 460 RemoteTestRunner.runTests(TestExecution) line: 673 RemoteTestRunner.run() line: 386 RemoteTestRunner.main(String[]) line: 196----- Original Message -----From: "Bert Lamb" <al...@pobox.com>To: <tu...@ws.apache.org>Sent: Monday, January 15, 2007 7:48 AMSubject: Re: Standalone Smoketest failure>I also just did a fresh checkout with a an empty local repo and I'm> getting a test failure for the echo binding:>> -------------------------------------------------------------------------------> Test set: echo.BootstrapTestCase> ----------------------
 ---------------------------------------------------------> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.688> sec <<< FAILURE!> testDemoBoot(echo.BootstrapTestCase)  Time elapsed: 1.64 sec  <<< ERROR!> java.lang.NullPointerException> at echo.ClientImpl.call(ClientImpl.java:37)> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)> atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)> atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)> at java.lang.reflect.Method.invoke(Method.java:585)> atorg.apache.tuscany.core.implementation.java.JavaTargetInvoker.invokeTarget(JavaTargetInvoker.java:93)> atorg.apache.tuscany.spi.extension.TargetInvokerExtension.invoke(TargetInvokerExtension.java:67)> atorg.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)> atorg.apache.tuscany.spi.wire.AbstractInboundInvocationHandler.invoke(AbstractInboundInvocationHandler.java:45)> a
 torg.apache.tuscany.core.wire.jdk.JDKInboundInvocationHandler.invoke(JDKInboundInvocationHandler.java:122)> at $Proxy20.call(Unknown Source)> at echo.BootstrapTestCase.testDemoBoot(BootstrapTestCase.java:35)> at echo.BootstrapTestCase.testDemoBoot(BootstrapTestCase.java:35)> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)> atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)> atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)> at java.lang.reflect.Method.invoke(Method.java:585)> at junit.framework.TestCase.runTest(TestCase.java:154)> at junit.framework.TestCase.runBare(TestCase.java:127)> at junit.framework.TestResult$1.protect(TestResult.java:106)> at junit.framework.TestResult.runProtected(TestResult.java:124)> at junit.framework.TestResult.run(TestResult.java:109)> at junit.framework.TestCase.run(TestCase.java:118)> at junit.framework.TestSuite.runTest(TestSuite.java:208)> at junit.framework.Te
 stSuite.run(TestSuite.java:203)> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)> atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)> atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)> at java.lang.reflect.Method.invoke(Method.java:585)> atorg.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)> atorg.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)> atorg.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)> at org.apache.maven.surefire.Surefire.run(Surefire.java:129)> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)> atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)> atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)> at java.lang.reflect.Method.invoke(Method.java:585)> atorg.apache.maven.s
 urefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)> atorg.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)>> Any ideas?  Are they related?>> -Bert>> On 1/15/07, Ignacio Silva-Lepe <is...@gmail.com> wrote:>> After a full update, mvn clean of sca and mvn in sca I see the following>> failure:>>>>>> Running>> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyCon>> tent>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec>> Running>> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec<<<>> FAI>> LURE!>> testLauncherUsage(>> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL>> auncher)  Time elapsed: 0.27 sec  <<< FAILURE!>> junit.framework.ComparisonFailure: expected:<usage: java[jvm-options] -jar>> laun>> cher.jar <jar> [args...]>> > but was:<java.lang.NoClassDefFoundError: org/osoa
 /sca/SCA>> Exception in thread "main" >>>         at junit.framework.Assert.assertEquals(Assert.java:81)>>         at junit.framework.Assert.assertEquals(Assert.java:87)>>         at>> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c>> ompareOutput(CommandTestCase.java:37)>>         at>> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher>> .testLauncherUsage(SmokeTestLauncher.java:40)>>>> testLauncherWithNoArgs(>> org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke>> TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!>> junit.framework.ComparisonFailure: expected:<No Args>> > but was:<>>>         at junit.framework.Assert.assertEquals(Assert.java:81)>>         at junit.framework.Assert.assertEquals(Assert.java:87)>>         at>> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c>> ompareOutput(CommandTestCase.java:37)>>         at>> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher>> .testLa
 uncherWithNoArgs(SmokeTestLauncher.java:53)>>>> Does anybody else see it?>>>>>> ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-dev-help@ws.apache.org>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Standalone Smoketest failure

Posted by Bert Lamb <al...@pobox.com>.
I also just did a fresh checkout with a an empty local repo and I'm
getting a test failure for the echo binding:

-------------------------------------------------------------------------------
Test set: echo.BootstrapTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.688
sec <<< FAILURE!
testDemoBoot(echo.BootstrapTestCase)  Time elapsed: 1.64 sec  <<< ERROR!
java.lang.NullPointerException
	at echo.ClientImpl.call(ClientImpl.java:37)
	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.core.implementation.java.JavaTargetInvoker.invokeTarget(JavaTargetInvoker.java:93)
	at org.apache.tuscany.spi.extension.TargetInvokerExtension.invoke(TargetInvokerExtension.java:67)
	at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)
	at org.apache.tuscany.spi.wire.AbstractInboundInvocationHandler.invoke(AbstractInboundInvocationHandler.java:45)
	at org.apache.tuscany.core.wire.jdk.JDKInboundInvocationHandler.invoke(JDKInboundInvocationHandler.java:122)
	at $Proxy20.call(Unknown Source)
	at echo.BootstrapTestCase.testDemoBoot(BootstrapTestCase.java:35)
	at echo.BootstrapTestCase.testDemoBoot(BootstrapTestCase.java:35)
	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:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	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.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.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(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

Any ideas?  Are they related?

-Bert

On 1/15/07, Ignacio Silva-Lepe <is...@gmail.com> wrote:
> After a full update, mvn clean of sca and mvn in sca I see the following
> failure:
>
>
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyCon
> tent
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec <<<
> FAI
> LURE!
> testLauncherUsage(
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL
> auncher)  Time elapsed: 0.27 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<usage: java [jvm-options] -jar
> laun
> cher.jar <jar> [args...]
> > but was:<java.lang.NoClassDefFoundError: org/osoa/sca/SCA
> Exception in thread "main" >
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at junit.framework.Assert.assertEquals(Assert.java:87)
>         at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>         at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherUsage(SmokeTestLauncher.java:40)
>
> testLauncherWithNoArgs(
> org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke
> TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<No Args
> > but was:<>
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at junit.framework.Assert.assertEquals(Assert.java:87)
>         at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>         at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherWithNoArgs(SmokeTestLauncher.java:53)
>
> Does anybody else see it?
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Standalone Smoketest failure

Posted by Raymond Feng <en...@gmail.com>.
Did you try to rebuild the SCA spec module? It seems to be working for me 
now.

Thanks,
Raymond

----- Original Message ----- 
From: "Ignacio Silva-Lepe" <is...@gmail.com>
To: "Tuscany Dev List" <tu...@ws.apache.org>
Sent: Monday, January 15, 2007 7:38 AM
Subject: Standalone Smoketest failure


> After a full update, mvn clean of sca and mvn in sca I see the following
> failure:
>
>
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyCon
> tent
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
> Running
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec 
> <<<
> FAI
> LURE!
> testLauncherUsage(
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestL
> auncher)  Time elapsed: 0.27 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<usage: java 
> [jvm-options] -jar
> laun
> cher.jar <jar> [args...]
>> but was:<java.lang.NoClassDefFoundError: org/osoa/sca/SCA
> Exception in thread "main" >
>        at junit.framework.Assert.assertEquals(Assert.java:81)
>        at junit.framework.Assert.assertEquals(Assert.java:87)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherUsage(SmokeTestLauncher.java:40)
>
> testLauncherWithNoArgs(
> org.apache.tuscany.sca.runtime.standalone.smoketest.Smoke
> TestLauncher)  Time elapsed: 0.13 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<No Args
>> but was:<>
>        at junit.framework.Assert.assertEquals(Assert.java:81)
>        at junit.framework.Assert.assertEquals(Assert.java:87)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.CommandTestCase.c
> ompareOutput(CommandTestCase.java:37)
>        at
> org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestLauncher
> .testLauncherWithNoArgs(SmokeTestLauncher.java:53)
>
> Does anybody else see it?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org