I'm a little confused. It looks like the runtime is behaving correctly, but for some reason it's still looking for the old error message. The error messages were updated in both compliance-tests/assembly/src/test/resources and in tuscany-test-runner/src/test/resources, so I'm not quite sure why it's failing. It works fine for me locally.
Brent On Fri, Oct 29, 2010 at 1:19 AM, Simon Laws <[email protected]> wrote: > On Thu, Oct 28, 2010 at 5:16 PM, <[email protected]> wrote: >> Author: bdaniel >> Date: Thu Oct 28 16:16:05 2010 >> New Revision: 1028369 >> >> URL: http://svn.apache.org/viewvc?rev=1028369&view=rev >> Log: >> TUSCANY-3709 re-enable excluded compliance tests >> >> Modified: >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml >> >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties >> >> Modified: >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml >> URL: >> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml?rev=1028369&r1=1028368&r2=1028369&view=diff >> ============================================================================== >> --- tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml >> (original) >> +++ tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml Thu >> Oct 28 16:16:05 2010 >> @@ -106,14 +106,6 @@ >> <artifactId>maven-surefire-plugin</artifactId> >> <configuration> >> <excludes> >> - <exclude>**/ASM_5016_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_6004_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_6007_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_6008_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_6014_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_6034_TestCase.java</exclude><!-- TUSCANY-3709 >> --> >> - <exclude>**/ASM_12007_TestCase.java</exclude><!-- >> TUSCANY-3709 --> >> - <exclude>**/ASM_12008_TestCase.java</exclude><!-- >> TUSCANY-3709 --> >> </excludes> >> </configuration> >> </plugin> >> >> Modified: >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties >> URL: >> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=1028369&r1=1028368&r2=1028369&view=diff >> ============================================================================== >> --- >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties >> (original) >> +++ >> tuscany/sca-java-2.x/trunk/testing/compliance-tests/assembly/src/test/resources/tuscany-oasis-sca-tests-errors.properties >> Thu Oct 28 16:16:05 2010 >> @@ -80,9 +80,9 @@ ASM_9002=org.oasisopen.sca.ServiceRuntim >> ASM_9005=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TEST_ASM_9005Component1] - [ASM90005] The SCA binding Service1 on component >> TEST_ASM_9005Component1 service Service1 should not have a URI and the URI >> is currently set to http://example/bar >> ASM_10001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: >> ASM_10001, Artifact: META-INF/definitions.xml, Definitions: >> jar:file:***ASM_10001***.zip!/META-INF/definitions.xml] - >> [ASM10001,POL30002] Duplicate intent >> {http://docs.oasis-open.org/ns/opencsa/scatests/200903}Fred found in domain >> ASM_10003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: >> ASM_10003, Artifact: META-INF/definitions.xml, Definitions: >> jar:file:***ASM_10003***.zip!/META-INF/definitions.xml] - XMLSchema >> validation error occured in: Test_ASM_10003.composite ,line = ***, column = >> ***, Message = cvc-complex-type.2.4.a: Invalid content was found starting >> with element 'component'. One of >> '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":intent, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":policySet, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":bindingType, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":implementationType, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":externalAttachment, >> WC[##other:"http://docs.oasis-open.org/ns/opencsa/sca/200912"]}' is expected. >> -ASM_12003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: >> Invalid interface when resolving >> -ASM_12007=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TestComponent1, Composite: >> {http://docs.oasis-open.org/ns/opencsa/scatests/2009032}TestComposite5, >> Component: TestComposite5TestComponent1] - [ASM50004,JCA30002,JCI80001] >> Component service interface incompatible with implementation service >> interface: Component = TestComposite5TestComponent1 Service = Service1 >> Operations called operation2 are not compatible Operation argument types >> source = {http://www.w3.org/2001/XMLSchema}int target = >> {http://www.w3.org/2001/XMLSchema}string don't match for output types||| >> -ASM_12008=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TEST_ASM_12008TestComponent1, Composite: >> {http://docs.oasis-open.org/ns/opencsa/scatests/2009032}TestComposite5, >> Component: TestComposite5TestComponent1] - [ASM50004,JCA30002,JCI80001] >> Component service interface incompatible with implementation service >> interface: Component = TestComposite5TestComponent1 Service = Service1 >> Operations called operation2 are not compatible Operation argument types >> source = {http://www.w3.org/2001/XMLSchema}int target = >> {http://www.w3.org/2001/XMLSchema}string don't match for output types||| >> +ASM_12003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: >> Invalid interface when resolving >> +ASM_12007=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TestComponent1] - [ASM50004,JCA30002,JCI80001] Component service interface >> incompatible with implementation service interface: Component = >> TestComponent1 Service = Service1 Operation operation1 not found on target >> +ASM_12008=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TEST_ASM_12008TestComponent1] - [ASM50004,JCA30002,JCI80001] Component >> service interface incompatible with implementation service interface: >> Component = TEST_ASM_12008TestComponent1 Service = Service1 Operation >> operation1 not found on target >> ASM_12011=org.oasisopen.sca.ServiceRuntimeException: [Composite: >> {http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: >> TestComponent1] - [ASM60030,JCI50004,JCI80001] Component implementation not >> resolved: Component = TestComponent1 Uri = TestComponent1 >> ASM_12012=org.oasisopen.sca.ServiceRuntimeException: [Contribution: >> ASM_12012, Artifact: META-INF/sca-contribution.xml] - XMLSchema validation >> error occured in: >> jar:file:***ASM_12012***.zip!/META-INF/sca-contribution.xml ,line = ***, >> column = ***, Message = cvc-complex-type.2.4.a: Invalid content was found >> starting with element 'component'. One of >> '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":deployable, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":importBase, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":exportBase, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected. >> ASM_13001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: >> ASM_13001, Artifact: Test_ASM_13001.composite] - XMLSchema validation error >> occured in: Test_ASM_13001.composite ,line = ***, column = ***, Message = >> cvc-complex-type.2.4.a: Invalid content was found starting with element >> 'sevrice'. One of >> '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":service, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":reference, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":property, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":requires, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment, >> "http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is expected. >> >> >> > > I saw 12007 and 12008 fail in hudson overnight > (https://hudson.apache.org/hudson/job/Tuscany-2x/). Just compiling > locally to confirm. > > Simon > > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >
