You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by kelvin goodson <kg...@thegoodsons.org.uk> on 2010/02/22 15:57:28 UTC

ASM otest failures

I'm seeing 54 tests fail in the ASM otests.  For all failures the
expected exception message match doesn't match the actual.  The actual
is reported as just "exception" which I think is the case for all
exceptions that are not instances of TestException_Exception .  I
haven't completely pinned this down,  but I think it's because many of
the ASM tests' composite files refer to the old
targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
rather than 200912  .  I have extracted revision 547 of the oasis
repository (the latest). Any clues as to what's going on here?

Kelvin.

Re: ASM otest failures

Posted by kelvin goodson <kg...@thegoodsons.org.uk>.
and console output ...


Implementation language set to: _Java
22-Feb-2010 14:54:00 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
domain: default
22-Feb-2010 14:54:00 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Dev/OasisTests2/otest/newlayout/tuscany-test-runner/../sca-assembly/General/target/General.zip
22-Feb-2010 14:54:02
org.apache.tuscany.sca.policy.xml.BindingTypeProcessor [Contribution:
http://tuscany.apache.org/SystemContribution]
(MayProvideIntentNotFound)
SEVERE: May Provide Intent -
{http://docs.oasis-open.org/ns/opencsa/sca/200912}SOAP.V1_1 not found
for ExtensionType
{http://docs.oasis-open.org/ns/opencsa/sca/200912}binding.ws
22-Feb-2010 14:54:02
org.apache.tuscany.sca.policy.xml.BindingTypeProcessor [Contribution:
http://tuscany.apache.org/SystemContribution]
(MayProvideIntentNotFound)
SEVERE: May Provide Intent -
{http://docs.oasis-open.org/ns/opencsa/sca/200912}SOAP.V1_2 not found
for ExtensionType
{http://docs.oasis-open.org/ns/opencsa/sca/200912}binding.ws
22-Feb-2010 14:54:02 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Dev/OasisTests2/otest/newlayout/tuscany-test-runner/../sca-assembly/General_Java/target/General_Java.zip
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@5884890)Endpoint:  URI =
TestClient/TestClient_0002TestClient#service-binding(TestInvocation/TestInvocation)
2010-02-22 14:54:03.437::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
22-Feb-2010 14:54:03 org.apache.tuscany.sca.http.jetty.JettyLogger info
INFO: jetty-6.1.19
22-Feb-2010 14:54:03 org.apache.tuscany.sca.http.jetty.JettyLogger info
INFO: Started SelectChannelConnector@0.0.0.0:8080
22-Feb-2010 14:54:03 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:8080/TestClient/TestInvocation
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@23828675)Endpoint:  URI =
TestClient#service-binding(TestInvocation/TestInvocation)
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@14814968)Endpoint:  URI =
TEST_ASM_5032Component1/TestComponent1#service-binding(Service1/Service1)
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@21293144)Endpoint:  URI =
TEST_ASM_5032Component1#service-binding(Service1/Service1)
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@15856458)Endpoint:  URI =
TEST_ASM_5032Component2/TestComposite15Component1/TestComposite1Component1#service-binding(Service1/Service1)
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@10192886)Endpoint:  URI =
TEST_ASM_5032Component2/TestComposite15Component1#service-binding(Service1/Service1)
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@16476003)Endpoint:  URI =
TEST_ASM_5032Component2#service-binding(Service1/Service1)
22-Feb-2010 14:54:03 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping:
http://L3AAN4H:8080/TEST_ASM_5032Component2/Service1/binding2
22-Feb-2010 14:54:03
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
addEndpoint
INFO: Add endpoint - (@21348)Endpoint:  URI =
TEST_ASM_5032Component2#service-binding(Service1/binding2)
Exception received - detail:
org.apache.tuscany.sca.binding.ws.axis2.policy.header.Axis2HeaderReferencePolicyProvider.createBindingInterceptor()Lorg/apache/tuscany/sca/invocation/PhasedInterceptor;
javax.xml.ws.soap.SOAPFaultException:
org.apache.tuscany.sca.binding.ws.axis2.policy.header.Axis2HeaderReferencePolicyProvider.createBindingInterceptor()Lorg/apache/tuscany/sca/invocation/PhasedInterceptor;
	at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
	at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
	at $Proxy41.invokeTest(Unknown Source)
	at client.BaseJAXWSTestRunner.invokeTest(BaseJAXWSTestRunner.java:216)
	at client.BaseJAXWSTestRunner.testDummy(BaseJAXWSTestRunner.java:173)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
22-Feb-2010 14:54:04 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://tuscany.apache.org/sca/1.1/nodes/default0
22-Feb-2010 14:54:04 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /TestClient/TestInvocation
22-Feb-2010 14:54:04 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /TEST_ASM_5032Component2/Service1/binding2


On Mon, Feb 22, 2010 at 3:24 PM, kelvin goodson <kg...@thegoodsons.org.uk> wrote:
> I meant to include an example with trace, e.g. ...
>
> org.junit.ComparisonFailure: expected:<[ASM_5032 request service1
> operation1 invoked service2 operation1 invokedservice2 operation1
> invoked]> but was:<[exception]>
>        at org.junit.Assert.assertEquals(Assert.java:123)
>        at org.junit.Assert.assertEquals(Assert.java:145)
>        at client.BaseJAXWSTestRunner.checkException(BaseJAXWSTestRunner.java:223)
>        at client.BaseJAXWSTestRunner.testDummy(BaseJAXWSTestRunner.java:183)
>
>
>
>
> On Mon, Feb 22, 2010 at 2:57 PM, kelvin goodson <kg...@thegoodsons.org.uk> wrote:
>> I'm seeing 54 tests fail in the ASM otests.  For all failures the
>> expected exception message match doesn't match the actual.  The actual
>> is reported as just "exception" which I think is the case for all
>> exceptions that are not instances of TestException_Exception .  I
>> haven't completely pinned this down,  but I think it's because many of
>> the ASM tests' composite files refer to the old
>> targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
>> rather than 200912  .  I have extracted revision 547 of the oasis
>> repository (the latest). Any clues as to what's going on here?
>>
>> Kelvin.
>>
>

Re: ASM otest failures

Posted by kelvin goodson <kg...@thegoodsons.org.uk>.
I meant to include an example with trace, e.g. ...

org.junit.ComparisonFailure: expected:<[ASM_5032 request service1
operation1 invoked service2 operation1 invokedservice2 operation1
invoked]> but was:<[exception]>
	at org.junit.Assert.assertEquals(Assert.java:123)
	at org.junit.Assert.assertEquals(Assert.java:145)
	at client.BaseJAXWSTestRunner.checkException(BaseJAXWSTestRunner.java:223)
	at client.BaseJAXWSTestRunner.testDummy(BaseJAXWSTestRunner.java:183)




On Mon, Feb 22, 2010 at 2:57 PM, kelvin goodson <kg...@thegoodsons.org.uk> wrote:
> I'm seeing 54 tests fail in the ASM otests.  For all failures the
> expected exception message match doesn't match the actual.  The actual
> is reported as just "exception" which I think is the case for all
> exceptions that are not instances of TestException_Exception .  I
> haven't completely pinned this down,  but I think it's because many of
> the ASM tests' composite files refer to the old
> targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> rather than 200912  .  I have extracted revision 547 of the oasis
> repository (the latest). Any clues as to what's going on here?
>
> Kelvin.
>