You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2010/03/03 05:56:37 UTC
Re: OASIS compliance test status
The Assembly and Java CAA tests are all passing and all but three of
the POJO (Java CI) one, so that leaves remaining:
- The Java component type calculation with @Requires to fix the three
Java CI fails
- TUSCANY-3480
- The policy test failures which are these (with a bit of text added
to say what the test is about):
POL_3001 intent conflicts with binding (requires SOAP but wsdl has EJB binding)
POL_3002 policyset conflicts with binding (requires SOAP but wsdl has
EJB binding)
POL_3003 definitions.xml with duplicat intents
POL_4003 externally attached policy sets
POL_4012 mutually exclusive intents
POL_4027 duplicate bindingType definitions
POL_4028 policySet/@attachTo points to a property
POL_5001 unknown implementation types
POL_9006 reference with transactedOneWay on a non-global tran component
POL_9009 service with transactedOneWay on a non-global tran component
POL_9015 managedTransaction.local and a service with propagatesTransaction
POL_9016 noManagedTransaction and a service with propagatesTransaction
POL_9017 reference with propagatesTransaction on a local tran component
POL_9018 reference with propagatesTransaction on a
noManagedTransaction component
POL_10001 noListener intent is not used on a service
POL_11001 does not conform to the Policy FW schema
I've not looked at the policy spec for ages but none of those sound
like we'd need actual runtime support for things like transactions,
async, noListener etc so it seems like we may be able to get them all
passing now with whats there in the model already, does that sound
right or can someone see things that they know wont be able to be
working?
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>
> Are you getting a clean build now? I'm seeing 50 or so assembly
> compliance tests failing due to some axis strangeness. For example,
>
> Running client.ASM_6011_TestCase
> Implementation language set to: _Java
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain: de
> fault
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
> butions
> INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
> et/oasis-contributions/General-1.0.zip
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
> butions
> INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
> et/oasis-contributions/General_Java-1.0.jar
> javax.xml.stream.XMLStreamException: java.net.MalformedURLException
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.cont
> ext.ConfigurationContextFactory
> java.lang.IllegalStateException: java.lang.NoClassDefFoundError: Could not initi
> alize class org.apache.axis2.context.ConfigurationContextFactory
> at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:169)
> at org.apache.tuscany.sca.otest.TuscanyRuntimeBridge.startContribution(T
> uscanyRuntimeBridge.java:84)
>
> So something strange about the way I'm set up to run the tests in the
> compliance module. They still work when run from the existing otest
> structure.
Am looking at the pom for the assembly tests and it's using the
"shaded" jars. It looks like this is just running in JSE, i.e. not
OSGi? It's a bit strange as the CNF only happens on some of the tests
but all tests are using binding.ws. Still looking but this
javax.xml.stream.XMLStreamException: java.net.MalformedURLException is
interesting.
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
I've spent a while getting all the OASIS compliance tests going again
in trunk, all the failing ones are now excluded and the rest are
passing so i've added them back into the build. This is the list of
excluded failing tests:
<exclude>**/ASM_4001_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_5039_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
<exclude>**/ASM_5040_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
<exclude>**/ASM_6015_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_6040_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
<exclude>**/ASM_8002_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_9005_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
<exclude>**/ASM_10002_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_12001_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_13002_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/ASM_13004_TestCase.java</exclude><!-- see
TUSCANY-3481 -->
<exclude>**/JCA_8007_TestCase.java</exclude><!-- see
TUSCANY-3482 -->
<exclude>**/POL_3001_TestCase.java</exclude><!-- see
TUSCANY-3370 -->
<exclude>**/POL_3002_TestCase.java</exclude><!-- see
TUSCANY-3370 -->
<exclude>**/POL_4003_TestCase.java</exclude><!-- see
TUSCANY-3488 -->
<exclude>**/POL_4028_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
<exclude>**/POL_9006_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_9009_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_9015_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_9016_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_9017_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_9018_TestCase.java</exclude><!-- see
TUSCANY-3487-->
<exclude>**/POL_10001_TestCase.java</exclude><!-- see
TUSCANY-3491-->
<exclude>**/POL_10002_TestCase.java</exclude><!-- see
TUSCANY-3491-->
<exclude>**/POL_11001_TestCase.java</exclude><!-- see
TUSCANY-xxxx -->
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
Running the assembly tests after all the schema changing + the latest
changes from OASIS. I've fixed the straightforward ones where the
messages where a little out of line. This is what I see failing now...
testDummy(client.ASM_6015_TestCase) - we already had this - TUSCANY-3481
testDummy(client.ASM_13002_TestCase)
testDummy(client.ASM_9005_TestCase)
testDummy(client.ASM_5039_TestCase)
testDummy(client.ASM_5040_TestCase)
testDummy(client.ASM_6039_TestCase)
testDummy(client.ASM_6040_TestCase)
testDummy(client.ASM_6036_TestCase)
testDummy(client.ASM_10002_TestCase) - we already had this - TUSCANY-3503
testDummy(client.ASM_5038_TestCase)
The majority are new tests that have been added. I haven't analyzed or
logged errors.
Some of the others that were failing due to TUSCANY-3503 are not any
more. Needs double checking
Regards
Simon
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>
> I've updated it for this now, but you/anyone should have been able to
> do it too shouldn't you as its just in the regular trunk svn -
> https://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/,
> or is there some problem I don't realize?
>
> ...ant
>
Ah yes. I just got confused about which files were being used. Sorry
about that.
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Fri, Mar 12, 2010 at 5:17 AM, Simon Laws <si...@googlemail.com> wrote:
> I've fixed POJO_8003 and POJO_8012 under TUSCANY-3483 . Can't remove
> the excludes from the compliance test as the error properties file
> requires an update. See [1]. Are you able to do this Ant?
>
I've updated it for this now, but you/anyone should have been able to
do it too shouldn't you as its just in the regular trunk svn -
https://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/java-ci/,
or is there some problem I don't realize?
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
I've fixed POJO_8003 and POJO_8012 under TUSCANY-3483 . Can't remove
the excludes from the compliance test as the error properties file
requires an update. See [1]. Are you able to do this Ant?
Regards
Simon
[1] http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-java-ci-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties?r1=921917&r2=921916&pathrev=921917
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Wed, Mar 10, 2010 at 9:59 AM, ant elder <an...@apache.org> wrote:
> On Wed, Mar 10, 2010 at 9:55 AM, Simon Laws <si...@googlemail.com> wrote:
>>>
>>> The difference between the old otest setup and the tests in trunk is
>>> that the trunk ones use the JDK XML parser and the otests using
>>> Woodstox. That was also causing POL_4013 and POL_4028 to fail. I've
>>> added the Woodstox impl dependency to the trunk policy tests and
>>> POL_4013 passes but POL_4028 gets further but still fails for me but
>>> it does in the otests for me too. I'll try adding woodstox to the JCA
>>> tests to see if that fixes JCA_110004 too, though it would be good to
>>> fully understand why these are failing and try to fix it or at least
>>> document what the restrictions are when using the Sun JDK.
>>>
>>> ...ant
>>>
>>
>> Interesting. So POL_4028 fails for you in the otest module? It passes
>> for me. What does it fail with in otest for you?
>>
>> Simon
>>
>
> In both trunk and otest:
>
> org.junit.ComparisonFailure: expected:<[excep]tion> but was:<[POL_4028
> request no invoca]tion>
>
> But actually i haven't done a full build yet this morning so let me
> try that first to see if there have been any changes that might have
> fixed it.
>
> ...ant
>
Full build done, still have POL_4028 failing and JCA_11004 passing.
...ant
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Wed, Mar 10, 2010 at 9:55 AM, Simon Laws <si...@googlemail.com> wrote:
>>
>> The difference between the old otest setup and the tests in trunk is
>> that the trunk ones use the JDK XML parser and the otests using
>> Woodstox. That was also causing POL_4013 and POL_4028 to fail. I've
>> added the Woodstox impl dependency to the trunk policy tests and
>> POL_4013 passes but POL_4028 gets further but still fails for me but
>> it does in the otests for me too. I'll try adding woodstox to the JCA
>> tests to see if that fixes JCA_110004 too, though it would be good to
>> fully understand why these are failing and try to fix it or at least
>> document what the restrictions are when using the Sun JDK.
>>
>> ...ant
>>
>
> Interesting. So POL_4028 fails for you in the otest module? It passes
> for me. What does it fail with in otest for you?
>
> Simon
>
In both trunk and otest:
org.junit.ComparisonFailure: expected:<[excep]tion> but was:<[POL_4028
request no invoca]tion>
But actually i haven't done a full build yet this morning so let me
try that first to see if there have been any changes that might have
fixed it.
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>
> The difference between the old otest setup and the tests in trunk is
> that the trunk ones use the JDK XML parser and the otests using
> Woodstox. That was also causing POL_4013 and POL_4028 to fail. I've
> added the Woodstox impl dependency to the trunk policy tests and
> POL_4013 passes but POL_4028 gets further but still fails for me but
> it does in the otests for me too. I'll try adding woodstox to the JCA
> tests to see if that fixes JCA_110004 too, though it would be good to
> fully understand why these are failing and try to fix it or at least
> document what the restrictions are when using the Sun JDK.
>
> ...ant
>
Interesting. So POL_4028 fails for you in the otest module? It passes
for me. What does it fail with in otest for you?
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Wed, Mar 10, 2010 at 3:09 AM, Simon Laws <si...@googlemail.com> wrote:
> On Tue, Mar 9, 2010 at 10:23 AM, Simon Laws <si...@googlemail.com> wrote:
>>>>
>>>
>>> I'd not deployed the latest OASIS assembly test runner jar, could you
>>> try again now (you'll need to use mvn -U to pickup the new jar)?
>>>
>>> ...ant
>>>
>>
>> Ah, splendid. Just re-run the tests and it's looking much better.
>>
>> Simon
>>
>
> I've done a few edits so that only the tests that really fail are
> commented out.
>
> In my build JCA_11004 fails here but doesn't in the old otest module.
> Seems to be a problem with passing a Date in a JAXB object.
>
> Something else is a little odd in that the error properties files for
> assembly are different here when compared to the one in the otest
> module. I've got them as close as I can but it seems that the tests in
> compliance-tests are behaving slightly differently that they do
> directly from OASIS. Haven't got to the bottom of it yet.
>
> Simon
>
The difference between the old otest setup and the tests in trunk is
that the trunk ones use the JDK XML parser and the otests using
Woodstox. That was also causing POL_4013 and POL_4028 to fail. I've
added the Woodstox impl dependency to the trunk policy tests and
POL_4013 passes but POL_4028 gets further but still fails for me but
it does in the otests for me too. I'll try adding woodstox to the JCA
tests to see if that fixes JCA_110004 too, though it would be good to
fully understand why these are failing and try to fix it or at least
document what the restrictions are when using the Sun JDK.
...ant
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Wed, Mar 10, 2010 at 3:09 AM, Simon Laws <si...@googlemail.com> wrote:
> In my build JCA_11004 fails here but doesn't in the old otest module.
> Seems to be a problem with passing a Date in a JAXB object.
>
JCA_11004 is passing ok for me and also in the Hudson build, i've
tried with Sun and IBM JDK 6 and with/without The Woodstox impl. Whats
you're environment when it fails?
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
On Tue, Mar 9, 2010 at 10:23 AM, Simon Laws <si...@googlemail.com> wrote:
>>>
>>
>> I'd not deployed the latest OASIS assembly test runner jar, could you
>> try again now (you'll need to use mvn -U to pickup the new jar)?
>>
>> ...ant
>>
>
> Ah, splendid. Just re-run the tests and it's looking much better.
>
> Simon
>
I've done a few edits so that only the tests that really fail are
commented out.
In my build JCA_11004 fails here but doesn't in the old otest module.
Seems to be a problem with passing a Date in a JAXB object.
Something else is a little odd in that the error properties files for
assembly are different here when compared to the one in the otest
module. I've got them as close as I can but it seems that the tests in
compliance-tests are behaving slightly differently that they do
directly from OASIS. Haven't got to the bottom of it yet.
Simon
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>>
>
> I'd not deployed the latest OASIS assembly test runner jar, could you
> try again now (you'll need to use mvn -U to pickup the new jar)?
>
> ...ant
>
Ah, splendid. Just re-run the tests and it's looking much better.
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Tue, Mar 9, 2010 at 7:02 AM, ant elder <an...@apache.org> wrote:
> On Tue, Mar 9, 2010 at 6:44 AM, Simon Laws <si...@googlemail.com> wrote:
>> On Mon, Mar 8, 2010 at 5:29 PM, ant elder <an...@apache.org> wrote:
>>> I am getting a clean build, and i thought Hudson was too though I've
>>> just kicked off another Hudson build to confirm its still working ok.
>>>
>>> ...ant
>>
>> Hmmm. Thanks Ant. Must be something about my environment. Still looking.
>>
>> Simon
>>
>
> No, I just setup up a separate Hudson job to run just the assembly
> tests and thats seeing the same problem as you so there must be some
> config issue. I'll take a look.
>
> ...ant
>
I'd not deployed the latest OASIS assembly test runner jar, could you
try again now (you'll need to use mvn -U to pickup the new jar)?
...ant
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Tue, Mar 9, 2010 at 6:44 AM, Simon Laws <si...@googlemail.com> wrote:
> On Mon, Mar 8, 2010 at 5:29 PM, ant elder <an...@apache.org> wrote:
>> I am getting a clean build, and i thought Hudson was too though I've
>> just kicked off another Hudson build to confirm its still working ok.
>>
>> ...ant
>
> Hmmm. Thanks Ant. Must be something about my environment. Still looking.
>
> Simon
>
No, I just setup up a separate Hudson job to run just the assembly
tests and thats seeing the same problem as you so there must be some
config issue. I'll take a look.
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
On Mon, Mar 8, 2010 at 5:29 PM, ant elder <an...@apache.org> wrote:
> I am getting a clean build, and i thought Hudson was too though I've
> just kicked off another Hudson build to confirm its still working ok.
>
> ...ant
Hmmm. Thanks Ant. Must be something about my environment. Still looking.
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
I am getting a clean build, and i thought Hudson was too though I've
just kicked off another Hudson build to confirm its still working ok.
...ant
On Mon, Mar 8, 2010 at 11:59 PM, Simon Laws <si...@googlemail.com> wrote:
>> I've done this now in the trunk compliance-test modules, there are
>> still some JIRAs that need raising so some of the comments are
>> referencing JIRA TUSCANY-xxxx for those.
>>
>
> Hi
>
> Are you getting a clean build now? I'm seeing 50 or so assembly
> compliance tests failing due to some axis strangeness. For example,
>
> Running client.ASM_6011_TestCase
> Implementation language set to: _Java
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain: de
> fault
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
> butions
> INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
> et/oasis-contributions/General-1.0.zip
> 08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
> butions
> INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
> et/oasis-contributions/General_Java-1.0.jar
> javax.xml.stream.XMLStreamException: java.net.MalformedURLException
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.cont
> ext.ConfigurationContextFactory
> java.lang.IllegalStateException: java.lang.NoClassDefFoundError: Could not initi
> alize class org.apache.axis2.context.ConfigurationContextFactory
> at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:169)
> at org.apache.tuscany.sca.otest.TuscanyRuntimeBridge.startContribution(T
> uscanyRuntimeBridge.java:84)
>
> So something strange about the way I'm set up to run the tests in the
> compliance module. They still work when run from the existing otest
> structure.
>
> Simon
>
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
> I've done this now in the trunk compliance-test modules, there are
> still some JIRAs that need raising so some of the comments are
> referencing JIRA TUSCANY-xxxx for those.
>
Hi
Are you getting a clean build now? I'm seeing 50 or so assembly
compliance tests failing due to some axis strangeness. For example,
Running client.ASM_6011_TestCase
Implementation language set to: _Java
08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain: de
fault
08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
butions
INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
et/oasis-contributions/General-1.0.zip
08-Mar-2010 10:51:45 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
butions
INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/assembly/targ
et/oasis-contributions/General_Java-1.0.jar
javax.xml.stream.XMLStreamException: java.net.MalformedURLException
java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.cont
ext.ConfigurationContextFactory
java.lang.IllegalStateException: java.lang.NoClassDefFoundError: Could not initi
alize class org.apache.axis2.context.ConfigurationContextFactory
at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:169)
at org.apache.tuscany.sca.otest.TuscanyRuntimeBridge.startContribution(T
uscanyRuntimeBridge.java:84)
So something strange about the way I'm set up to run the tests in the
compliance module. They still work when run from the existing otest
structure.
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Sun, Mar 7, 2010 at 1:12 AM, Simon Laws <si...@googlemail.com> wrote:
>> you've said the code isn't even working
>> completely yet
>
> I said that there was still work to do on matching. This relates to
> policy specific matching and not to unmatched intents checking.
>
>> so really it shouldn't be activated until it doesn't
>> break other not directly related compliance tests.
>
> The unmatched intents code is not "breaking" compliance tests.
It may not be now but it was, and, as there were no Tuscany tests for
the code commenting it out didn't break a single thing in Tuscany so
commenting it out and raising a JIRA for it seems like a good thing to
me. Anyway lets forget it for now as your suggestion below about
excluding failing tests from surefire sounds good so lets do that.
I've done this now in the trunk compliance-test modules, there are
still some JIRAs that need raising so some of the comments are
referencing JIRA TUSCANY-xxxx for those.
> compliance tests are failing with this error because it's a valid
> error in this case, i.e. the compliance tests have issues. It's in our
> interests to have OASIS produce an accurate compliance suite. In
> order to work through this with the OASIS guys I need the runtime to
> exhibit this valid error.
>
> I understand your desire to have the otests run clean and be part of
> the build. I would like that also. How about I disable the tests in
> question in an Tuscany specific way. I can, for example, add the
> following to our version of the assembly otest pom and check it in
> under TUSCANY-3481 (I could do the same in CAA for TUSACNY-3482)
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.4.3</version>
> <configuration>
> <excludes>
> <!-- see TUSCANY-3481 -->
> <exclude>**/ASM_6015_TestCase.java</exclude>
> </excludes>
> </configuration>
> </plugin>
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
> you've said the code isn't even working
> completely yet
I said that there was still work to do on matching. This relates to
policy specific matching and not to unmatched intents checking.
> so really it shouldn't be activated until it doesn't
> break other not directly related compliance tests.
The unmatched intents code is not "breaking" compliance tests. The
compliance tests are failing with this error because it's a valid
error in this case, i.e. the compliance tests have issues. It's in our
interests to have OASIS produce an accurate compliance suite. In
order to work through this with the OASIS guys I need the runtime to
exhibit this valid error.
I understand your desire to have the otests run clean and be part of
the build. I would like that also. How about I disable the tests in
question in an Tuscany specific way. I can, for example, add the
following to our version of the assembly otest pom and check it in
under TUSCANY-3481 (I could do the same in CAA for TUSACNY-3482)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<excludes>
<!-- see TUSCANY-3481 -->
<exclude>**/ASM_6015_TestCase.java</exclude>
</excludes>
</configuration>
</plugin>
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Sat, Mar 6, 2010 at 3:36 AM, Simon Laws <si...@googlemail.com> wrote:
>>
>> I shall talk to you off list and help you working on resolving the
>> issues relating to this but if we don't fix those shortly then I'd
>> like to reopen and put back the work around for TUSCANY-3480 as it
>> gets all the assembly and Java CAA tests passing so we could then add
>> those test suites to the build, which is vastly more important IMHO
>> than arguing about root causes of one particular problem.
>>
>> ...ant
>>
>
> Am walking through the issues and any help is very much appreciated
> I agree that it's important to get the tests in the build.
> I disagree that the way to do that is by commenting out parts of the runtime.
Commenting out this particular bit of code doesn't break a single
existing Tuscany test and as you've said the code isn't even working
completely yet so really it shouldn't be activated until it doesn't
break other not directly related compliance tests.
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>
> I shall talk to you off list and help you working on resolving the
> issues relating to this but if we don't fix those shortly then I'd
> like to reopen and put back the work around for TUSCANY-3480 as it
> gets all the assembly and Java CAA tests passing so we could then add
> those test suites to the build, which is vastly more important IMHO
> than arguing about root causes of one particular problem.
>
> ...ant
>
Am walking through the issues and any help is very much appreciated
I agree that it's important to get the tests in the build.
I disagree that the way to do that is by commenting out parts of the runtime.
If we are to run with tests disabled then I would prefer that we adopt
an approach to disabling specific tests against which we can log open
JIRA numbers. For example, we could widen the feature you added to the
bridge to * out error tests that don't work. If this suits I will
undertake to ask OASIS to give us similar control over the outcome of
all tests (not just tests that are expected to report an error).
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Thu, Mar 4, 2010 at 12:08 AM, Simon Laws <si...@googlemail.com> wrote:
> Here's what I see for assembly/javacaa/javaci...
>
> I have closed TUSCANY-3480 and reverted the change as this is not the
> immediate root cause of the remaining problems.
>
I shall talk to you off list and help you working on resolving the
issues relating to this but if we don't fix those shortly then I'd
like to reopen and put back the work around for TUSCANY-3480 as it
gets all the assembly and Java CAA tests passing so we could then add
those test suites to the build, which is vastly more important IMHO
than arguing about root causes of one particular problem.
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
The failures now for JavaCI 8003 and 8012 are due to incorrect
processing in the runtime to do with how the result of @Requires are
treated. Is this what is meant by the "The Java component type
calculation with @Requires to fix the three Java CI fails" comment
from earlier on in this tread. Does this imply that this issue is
already being addressed?
Simon
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
The JavaCI 8003 and 8012 namespace problem was just a local
environment problem on my PC. They are still failing but for other
reasons. I'll post on that when I've looked more closely at it.
Simon
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
Here's what I see for assembly/javacaa/javaci...
I have closed TUSCANY-3480 and reverted the change as this is not the
immediate root cause of the remaining problems.
Assembly
testDummy(client.ASM_6015_TestCase) - There is an assumption in the
test case that binding.sca "mayProvide"
confidentilaity and integrity.
However there is currently no requirement
in the spec that this is the
case as far as I can tell.
Action: get confirmation from OASIS
if yes fix our binding.sca
if no OASIS to fix the test
Java CAA
testDummy(client_javacaa.JCA_8005_TestCase)
SEVERE: = Unable to match the endpoint reference
(@1135890)EndpointReference: URI =
TEST_JCA_8005Component1#reference(reference2) WIRED_TARGET_NOT_FOUND
Target = (@31992690)Endpoint: URI = TEST_JCA_8005Component3
[Unresolved] with the policy of the service to which it refers,
matching process was Match policy of (@1135890)EndpointReference: URI
= TEST_JCA_8005Component1#reference(reference2) WIRED_TARGET_NOT_FOUND
Target = (@31992690)Endpoint: URI = TEST_JCA_8005Component3
[Unresolved] to (@28138822)Endpoint: URI =
TEST_JCA_8005Component3#service-binding(Service1/Service1) No match
because there are unresolved intents
[{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent2]
CAA doesn't define a policy set for this intent. Only provides
policy sets to intents 3 and 5 (possibly on purpose)
Now it may very well be a builder problem not getting the right
intents at the service but it's not a matching problem
testDummy(client_javacaa.JCA_8007_TestCase)
SEVERE: = Unable to match the endpoint reference
(@19896612)EndpointReference: URI =
TEST_JCA_8007Component1#reference(reference1) WIRED_TARGET_NOT_FOUND
Target = (@32453138)Endpoint: URI = TEST_JCA_8007Component2
[Unresolved] with the policy of the service to which it refers,
matching process was Match policy of (@19896612)EndpointReference:
URI = TEST_JCA_8007Component1#reference(reference1)
WIRED_TARGET_NOT_FOUND Target = (@32453138)Endpoint: URI =
TEST_JCA_8007Component2 [Unresolved] to (@12612903)Endpoint: URI =
TEST_JCA_8007Component2#service-binding(Service5Intents/Service5Intents)
No match because there are unresolved intents
[{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent4]
CAA doesn't define a policy set for this intent. Only provides
policy sets to intents 3 and 5 (possibly on purpose)
Now it may very well be a builder problem not getting the right
intents at the service but it's not a matching problem
Java CI
testDummy(client_javapojo.POJO_8003_TestCase)
SEVERE: Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200903}propagatesTransaction
is not defined in SCA definitions
Incorrect namespace for intent in
org.oasisopen.sca.test.service1WithIntentImpl
Looks like somehow an incorrect version of the SCA API module is
being pulled in
testDummy(client_javapojo.POJO_8012_TestCase)
SEVERE: Intent
{http://docs.oasis-open.org/ns/opencsa/sca/200903}managedTransaction
is not defined in SCA definitions
Incorrect namespace for intent in
org.oasisopen.sca.test.service1WithIntentImpl
Looks like somehow an incorrect version of the SCA API module is
being pulled in
I'll create JIRA for these issues where they don't exist.
I would like to ensure that the tests that fail for issues that we are
in conversation with OASIS for continue
to fail explicitly. In this way when OASIS TC members run the tests
using Tuscany the issues are obvious to them.
As I've said before I'd also like to see us fix any problems that
appear to require Tuscany runtime fixes rather than working around
them and giving the false impression that we are passing more tests
than we really are.
I'll review the policy tests shortly.
Regards
Simon
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Fri, Mar 5, 2010 at 1:30 PM, ant elder <an...@apache.org> wrote:
> On Thu, Mar 4, 2010 at 1:58 AM, Simon Laws <si...@googlemail.com> wrote:
>> JIRA already open against policy tests...
>>
>> POL_3001_TestCase - TUSCANY-3370
>> POL_3002_TestCase - TUSCANY-3370
>> POL_4003_TestCase - TUSCANY-3372
>> POL_4028_TestCase - TUSCANY-3380
>>
>>
>> Simon
>>
>
> I've fixed various error message problems to do with old namespaces,
> missing suffixes, hardcoded paths etc which got 5 more policy tests
> passing so its down to these 11 which fail for real issues:
>
> Failed tests:
> testDummy(client.POL_3001_TestCase)
> testDummy(client.POL_3002_TestCase)
> testDummy(client.POL_4003_TestCase)
> testDummy(client.POL_4028_TestCase)
> testDummy(client.POL_9006_TestCase)
> testDummy(client.POL_9009_TestCase)
> testDummy(client.POL_9015_TestCase)
> testDummy(client.POL_9016_TestCase)
> testDummy(client.POL_9017_TestCase)
> testDummy(client.POL_9018_TestCase)
> testDummy(client.POL_10001_TestCase)
>
> ...ant
>
Or more helpfully here's the list with hints on what they're about:
POL_3001 TUSCANY-3370 intent conflicts with binding (requires SOAP but
wsdl has EJB binding)
POL_3002 TUSCANY-3370 policyset conflicts with binding (requires SOAP
but wsdl has EJB binding)
POL_4003 TUSCANY-3372 externally attached policy sets
POL_4028 TUSCANY-3380 policySet/@attachTo points to a property
POL_9006 reference with transactedOneWay on a non-global tran component
POL_9009 service with transactedOneWay on a non-global tran component
POL_9015 managedTransaction.local and a service with propagatesTransaction
POL_9016 noManagedTransaction and a service with propagatesTransaction
POL_9017 reference with propagatesTransaction on a local tran component
POL_9018 reference with propagatesTransaction on a
noManagedTransaction component
POL_10001 noListener intent is not used on a service
...ant
Re: OASIS compliance test status
Posted by ant elder <an...@apache.org>.
On Thu, Mar 4, 2010 at 1:58 AM, Simon Laws <si...@googlemail.com> wrote:
> JIRA already open against policy tests...
>
> POL_3001_TestCase - TUSCANY-3370
> POL_3002_TestCase - TUSCANY-3370
> POL_4003_TestCase - TUSCANY-3372
> POL_4028_TestCase - TUSCANY-3380
>
>
> Simon
>
I've fixed various error message problems to do with old namespaces,
missing suffixes, hardcoded paths etc which got 5 more policy tests
passing so its down to these 11 which fail for real issues:
Failed tests:
testDummy(client.POL_3001_TestCase)
testDummy(client.POL_3002_TestCase)
testDummy(client.POL_4003_TestCase)
testDummy(client.POL_4028_TestCase)
testDummy(client.POL_9006_TestCase)
testDummy(client.POL_9009_TestCase)
testDummy(client.POL_9015_TestCase)
testDummy(client.POL_9016_TestCase)
testDummy(client.POL_9017_TestCase)
testDummy(client.POL_9018_TestCase)
testDummy(client.POL_10001_TestCase)
...ant
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
JIRA already open against policy tests...
POL_3001_TestCase - TUSCANY-3370
POL_3002_TestCase - TUSCANY-3370
POL_4003_TestCase - TUSCANY-3372
POL_4028_TestCase - TUSCANY-3380
Simon
Re: OASIS compliance test status
Posted by Simon Laws <si...@googlemail.com>.
>
> I've not looked at the policy spec for ages but none of those sound
> like we'd need actual runtime support for things like transactions,
> async, noListener etc so it seems like we may be able to get them all
> passing now with whats there in the model already, does that sound
> right or can someone see things that they know wont be able to be
> working?
I don't really know how noListener and asynchInvocation will be
implemented although they do imply specific configuration to the
runtime, i.e. builder changes. Unless we need optional configuration
over and above this then a policy set is not required. Too early to
say though. If we decided that a policy set is not required then we
still need a way to process these intents so that we don't get an
unsatisfied intent error.
If we don't provide runtime for transactions we'll get an unstatisfied
intent error. However the transaction policies are being worked on and
there is probably enough there now to get through the tests. We do
need to make sure the transaction policy modules are available as
dependencies.
Simon