Yes, that was the issue.
JDK needs be patched with JCE Unlimited Strength Jurisdiction Policy Files
in order to pass certain tests in WSS4J and Rampart. I have patched the JDK
in the local builder machine.
If anyone faces the same issue when running build with tests download these
files from here[1] and replace the jars inside ${JDK_HOME}/jre/lib/security
directory.
Thanks,
Thilina
[1] -
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-6-oth-JPR@CDS-CDS_Developer
On Tue, Mar 15, 2011 at 2:29 PM, Thilina Buddhika <[email protected]> wrote:
> Hi Denis,
>
> These tests are passing in our local machines. I guess the JDK is not
> patched in the builder machine. Will check it now.
>
> Thanks,
> Thilina
>
>
> On Tue, Mar 15, 2011 at 2:21 PM, Denis Weerasiri <[email protected]> wrote:
>
>> Hi,
>> After enabling tests, we can't go beyond dependencies.
>>
>>
>> On Tue, Mar 15, 2011 at 2:03 PM, WSO2 Builder <[email protected]> wrote:
>>
>>>
>>> Results :
>>>
>>> Failed tests:
>>> warning(junit.framework.TestSuite$1)
>>> warning(junit.framework.TestSuite$1)
>>> warning(junit.framework.TestSuite$1)
>>>
>>> Tests in error:
>>> testEncryptionDecryptionRSA15(wssec.TestWSSecurityNew2)
>>> testSAMLUnsignedSenderVouches(wssec.TestWSSecurityNewST1)
>>> testSAMLSignedSenderVouches(wssec.TestWSSecurityNewST2)
>>> testSAMLSignedSenderVouchesKeyIdentifier(wssec.TestWSSecurityNewST2)
>>> testDefaultIssuerClass(wssec.TestWSSecurityNewST2)
>>> testWSS62(wssec.TestWSSecurityNewST2)
>>> testSAMLSignedKeyHolder(wssec.TestWSSecurityNewST3)
>>> testSAMLSignedKeyHolderSendKeyValue(wssec.TestWSSecurityNewST3)
>>> testSAMLSignedKeyHolderKeyIdentifier(wssec.TestWSSecurityNewST3)
>>> testX509Signature(wssec.TestWSSecurityCertError)
>>> testEncryption(wssec.TestWSSecurityCertError)
>>> testSOAPHeaderSTRTransform(wssec.TestWSSecuritySignatureParts)
>>> testCrypto(components.TestMerlin)
>>>
>>> Tests run: 167, Failures: 3, Errors: 13, Skipped: 0
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] There are test failures.
>>>
>>> Please refer to
>>> /home/carbon/stratos/carbon/dependencies/wss4j/target/surefire-reports for
>>> the individual test results.
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 65 minutes 14 seconds
>>> [INFO] Finished at: Tue Mar 15 14:02:48 IST 2011
>>> [INFO] Final Memory: 1222M/1909M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> Thanks,
>> Denis
>> ----------------------------------------------------------
>> *Denis Weerasiri*
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>> *
>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>> *
>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>> *
>> linked-in:
>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thilina Buddhika
> Senior Software Engineer
>
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 77 44 88 727
> blog : http://blog.thilinamb.com
>
--
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware
phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev