ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: tests failing with Apache WSS4J DOM WS-Security - wss4j 2.1.1 release
Date Thu, 02 Jul 2015 09:13:23 GMT
Hi,

Yes this is a known issue. For the moment I will @Ignore those tests until
the issue is fixed.

Colm.

On Wed, Jul 1, 2015 at 6:49 PM, Helen Feder <hrf@andrew.cmu.edu> wrote:

>  Hi,
> I am new to WSS4j — looking for a way to digitally sign a soap message (I
> am using tomcat8.0, jax-ws).
> I am using Mac OS X Yosemite.
> Java version java version "1.8.0_45"
> I copied the policy jar files for the Unlimited Crptography to the
> jre/lib/security directory.
> I downloaded WSS4j source (version 2.1.1).  I am using MVN 3.0.3.
> I cd to wss4j-2.1.1-source-release/wss4j-2.1.1
> and do a mvn clean  install.
> I see the following errors in the output —>
>
>    Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.034
> sec <<< FAILURE! - in org.apache.wss4j.dom.message.EncryptionCRLTest
> testEncryptionWithRevocationCheck(org.apache.wss4j.dom.message.EncryptionCRLTest)  Time
> elapsed: 0.021 sec  <<< FAILURE!
> java.lang.AssertionError: Failure expected on a revoked certificate
> at org.junit.Assert.fail(Assert.java:88)
> at
> org.apache.wss4j.dom.message.EncryptionCRLTest.testEncryptionWithRevocationCheck(EncryptionCRLTest.java:147)
>
>
>  …
>
>  Running org.apache.wss4j.dom.message.SignatureCRLTest
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
> <<< FAILURE! - in org.apache.wss4j.dom.message.SignatureCRLTest
> testSignatureDirectReferenceRevocation(org.apache.wss4j.dom.message.SignatureCRLTest)
 Time
> elapsed: 0.031 sec  <<< FAILURE!
> java.lang.AssertionError: Failure expected on a revoked certificate
> at org.junit.Assert.fail(Assert.java:88)
> at
> org.apache.wss4j.dom.message.SignatureCRLTest.testSignatureDirectReferenceRevocation(SignatureCRLTest.java:141)
>
> testSignatureDirectReferenceRevocationKeyStore(org.apache.wss4j.dom.message.SignatureCRLTest)
 Time
> elapsed: 0.014 sec  <<< FAILURE!
> java.lang.AssertionError: Failure expected on a revoked certificate
> at org.junit.Assert.fail(Assert.java:88)
> at
> org.apache.wss4j.dom.message.SignatureCRLTest.testSignatureDirectReferenceRevocationKeyStore(SignatureCRLTest.java:176)
>
> …
> Results :
>
> Failed tests:
>   EncryptionCRLTest.testEncryptionWithRevocationCheck:147->Assert.fail:88
> Failure expected on a revoked certificate
>   SignatureCRLTest.testSignatureDirectReferenceRevocation:141->Assert.fail:88
> Failure expected on a revoked certificate
>   SignatureCRLTest.testSignatureDirectReferenceRevocationKeyStore:176->Assert.fail:88
> Failure expected on a revoked certificate
>
> Tests run: 477, Failures: 3, Errors: 0, Skipped: 2
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache WSS4J ...................................... SUCCESS [3.501s]
> [INFO] Apache WSS4J parent ............................... SUCCESS [0.460s]
> [INFO] Apache WSS4J WS-Security Bindings ................. SUCCESS [5.042s]
> [INFO] Apache WSS4J WS-SecurityPolicy model .............. SUCCESS [6.237s]
> [INFO] Apache WSS4J WS-Security Common ................... SUCCESS [9.402s]
> [INFO] Apache WSS4J DOM WS-Security ...................... FAILURE
> [19.731s]
> [INFO] Apache WSS4J Streaming WS-Security ................ SKIPPED
> [INFO] Apache WSS4J WS-Security Integration .............. SKIPPED
> [INFO] Apache WSS4J Streaming WS-SecurityPolicy .......... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 44.643s
> [INFO] Finished at: Wed Jul 01 13:43:54 EDT 2015
> [INFO] Final Memory: 45M/1113M
>
>
>     Appreciate your advice on this.
> Thank you.
> Helen Feder
>
>
>
>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
View raw message