[ 
https://issues.apache.org/jira/browse/QPIDJMS-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell resolved QPIDJMS-487.
------------------------------------
    Fix Version/s: 0.49.0
       Resolution: Done

Pushed a change to allow for the alternate exception behaviour on the above 
test. Setting -Dcom.ibm.jsse2.overrideDefaultTLS=true makes the others pass in 
Jiri's testing, so resolving.

> Test failures in some auth/security tests on IBM JDK 8
> ------------------------------------------------------
>
>                 Key: QPIDJMS-487
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-487
>             Project: Qpid JMS
>          Issue Type: Test
>          Components: qpid-jms-client
>    Affects Versions: 0.47.0
>         Environment: Java version: 1.8.0_201, vendor: IBM Corporation
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: 0.49.0
>
>
> {noformat}
> + mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T20:41:47+02:00)
> Maven home: /opt/apache-maven-3
> Java version: 1.8.0_201, vendor: IBM Corporation, runtime: /opt/ibm-java-8/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-754.17.1.el6.i686", arch: "x86", family: 
> "unix"
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.22.2/surefire-junit4-2.22.2.jar
>  (85 kB at 447 kB/s)
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> ...
> [INFO] Running 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest
> [ERROR] Tests run: 12, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 2.66 
> s <<< FAILURE! - in 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest
> [ERROR] 
> testFailoverAcceptsUpdateUsingTransportSchemeWS(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.847 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.doTestFailoverAcceptsUpdateUsingTransportSchemes(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:1075)
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsUpdateUsingTransportSchemeWS(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:980)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverIgnoresInsecureServerWhenNotConfiguredToAllow(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.171 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.doTestFailoverHandlingOfInsecureRedirectAdvertisement(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:970)
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverIgnoresInsecureServerWhenNotConfiguredToAllow(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:873)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverUsingSSLConfiguredByTransportOptions(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.182 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByTransportOptions(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:611)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverUsingSSLConfiguredBySystemProperties(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.193 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredBySystemProperties(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:493)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverAcceptsUpdateUsingTransportSchemeWSS(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.203 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.doTestFailoverAcceptsUpdateUsingTransportSchemes(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:1075)
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsUpdateUsingTransportSchemeWSS(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:990)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverAcceptsInsecureServerWhenConfiguredToAllow(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.162 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.doTestFailoverHandlingOfInsecureRedirectAdvertisement(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:970)
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsInsecureServerWhenConfiguredToAllow(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:883)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverUsingSSLConfiguredByCustomSSLContext(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.167 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByCustomSSLContext(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:854)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testFailoverUsingSSLConfiguredByNestedTransportOptions(org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest)
>   Time elapsed: 0.203 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.provider.failover.FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByNestedTransportOptions(FailoverWithAmqpOpenProvidedServerListIntegrationTest.java:730)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [INFO] Running org.apache.qpid.jms.provider.failover.FailoverIntegrationTest
> [INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> 17.564 s - in org.apache.qpid.jms.provider.failover.FailoverIntegrationTest
> ...
> [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.309 
> s <<< FAILURE! - in org.apache.qpid.jms.integration.ProxyIntegrationTest
> [ERROR] 
> testCreateSecureConnectionViaSocksProxy(org.apache.qpid.jms.integration.ProxyIntegrationTest)
>   Time elapsed: 0.124 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.ProxyIntegrationTest.testCreateSecureConnectionViaSocksProxy(ProxyIntegrationTest.java:128)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [INFO] Running org.apache.qpid.jms.integration.TransactionsIntegrationTest
> [INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.539 
> s - in org.apache.qpid.jms.integration.TransactionsIntegrationTest
> ...
> [ERROR] Tests run: 16, Failures: 9, Errors: 0, Skipped: 4, Time elapsed: 
> 2.416 s <<< FAILURE! - in org.apache.qpid.jms.integration.SslIntegrationTest
> [ERROR] 
> testCreateConnectionWithSslContextOverrideAndURIConfig(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.108 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConnectionWithSslContextOverrideAndURIConfig(SslIntegrationTest.java:451)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateConnectionWithSslContextOverrideAndURIConfig(SslIntegrationTest.java:397)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateAndCloseSslConnectionWithClientAuthJDK(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.125 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doTestCreateAndCloseSslConnectionWithClientAuth(SslIntegrationTest.java:204)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateAndCloseSslConnectionWithClientAuthJDK(SslIntegrationTest.java:169)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateConnectionWithSslContextOverrideByExtension(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.105 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConnectionWithSslContextOverride(SslIntegrationTest.java:380)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateConnectionWithSslContextOverrideByExtension(SslIntegrationTest.java:323)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateAndCloseSslConnectionJDK(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.082 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateAndCloseSslConnection(SslIntegrationTest.java:120)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateAndCloseSslConnectionJDK(SslIntegrationTest.java:90)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateSslConnectionWithServerSendingPreemptiveDataJDK(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.123 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doTestCreateSslConnectionWithServerSendingPreemptiveData(SslIntegrationTest.java:164)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateSslConnectionWithServerSendingPreemptiveDataJDK(SslIntegrationTest.java:125)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testConfigureStoresWithSslSystemProperties(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.124 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConfigureStoresWithSslSystemPropertiesTestImpl(SslIntegrationTest.java:581)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConfigureStoresWithSslSystemPropertiesTestImpl(SslIntegrationTest.java:540)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testConfigureStoresWithSslSystemProperties(SslIntegrationTest.java:458)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateConnectionWithSslContextOverride(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.1 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConnectionWithSslContextOverride(SslIntegrationTest.java:380)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateConnectionWithSslContextOverride(SslIntegrationTest.java:312)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testCreateAndCloseSslConnectionWithAliasJDK(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 0.119 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConnectionWithAliasTestImpl(SslIntegrationTest.java:256)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testCreateAndCloseSslConnectionWithAliasJDK(SslIntegrationTest.java:209)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR] 
> testConfigurePkcs12StoresWithSslSystemProperties(org.apache.qpid.jms.integration.SslIntegrationTest)
>   Time elapsed: 1.399 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.doConfigureStoresWithSslSystemPropertiesTestImpl(SslIntegrationTest.java:581)
>       at 
> org.apache.qpid.jms.integration.SslIntegrationTest.testConfigurePkcs12StoresWithSslSystemProperties(SslIntegrationTest.java:496)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [INFO] Running 
> org.apache.qpid.jms.integration.ConnectionConsumerIntegrationTest
> [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.838 
> s - in org.apache.qpid.jms.integration.ConnectionConsumerIntegrationTest
> ...
> [ERROR] Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.08 
> s <<< FAILURE! - in org.apache.qpid.jms.integration.SaslIntegrationTest
> [ERROR] 
> testSaslExternalConnection(org.apache.qpid.jms.integration.SaslIntegrationTest)
>   Time elapsed: 0.124 s  <<< FAILURE!
> java.lang.AssertionError: 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>       at 
> org.apache.qpid.jms.integration.SaslIntegrationTest.testSaslExternalConnection(SaslIntegrationTest.java:112)
> Caused by: java.lang.AssertionError: 
> Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [INFO] Running 
> org.apache.qpid.jms.integration.ConnectionFactoryIntegrationTest
> [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.301 
> s - in org.apache.qpid.jms.integration.ConnectionFactoryIntegrationTest
> ...
> [ERROR] Tests run: 56, Failures: 1, Errors: 1, Skipped: 30, Time elapsed: 
> 2.246 s <<< FAILURE! - in org.apache.qpid.jms.transports.TransportSupportTest
> [ERROR] 
> testCreateSslContextNoKeyStorePasswordJDK(org.apache.qpid.jms.transports.TransportSupportTest)
>   Time elapsed: 0.002 s  <<< ERROR!
> java.lang.Exception: Unexpected exception, 
> expected<java.security.UnrecoverableKeyException> but 
> was<java.lang.IllegalArgumentException>
>       at 
> org.apache.qpid.jms.transports.TransportSupportTest.testCreateSslContextNoKeyStorePasswordJDK(TransportSupportTest.java:171)
> [ERROR] 
> testCreateSslEngineFromJksStoreWithExplicitEnabledAndDisabledProtocolsJDK(org.apache.qpid.jms.transports.TransportSupportTest)
>   Time elapsed: 0.002 s  <<< FAILURE!
> java.lang.AssertionError: There were no initial protocols to choose from!
>       at 
> org.apache.qpid.jms.transports.TransportSupportTest.testCreateSslEngineFromJksStoreWithExplicitEnabledAndDisabledProtocolsJDK(TransportSupportTest.java:482)
> [INFO] Running org.apache.qpid.jms.transports.TransportOptionsTest
> [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 
> s - in org.apache.qpid.jms.transports.TransportOptionsTest
> ...
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 
> s - in org.apache.qpid.jms.JmsQueueConnectionTest
> [INFO] Running org.apache.qpid.jms.JmsConnectionFactoryTest
> [INFO] Tests run: 47, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 
> s - in org.apache.qpid.jms.JmsConnectionFactoryTest
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Failures: 
> [ERROR]   ProxyIntegrationTest.testCreateSecureConnectionViaSocksProxy:128 
> Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   SaslIntegrationTest.testSaslExternalConnection:112 Assertion 
> failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testConfigurePkcs12StoresWithSslSystemProperties:496->doConfigureStoresWithSslSystemPropertiesTestImpl:581
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testConfigureStoresWithSslSystemProperties:458->doConfigureStoresWithSslSystemPropertiesTestImpl:540->doConfigureStoresWithSslSystemPropertiesTestImpl:581
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateAndCloseSslConnectionJDK:90->testCreateAndCloseSslConnection:120
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateAndCloseSslConnectionWithAliasJDK:209->doConnectionWithAliasTestImpl:256
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateAndCloseSslConnectionWithClientAuthJDK:169->doTestCreateAndCloseSslConnectionWithClientAuth:204
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateConnectionWithSslContextOverride:312->doConnectionWithSslContextOverride:380
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateConnectionWithSslContextOverrideAndURIConfig:397->doConnectionWithSslContextOverrideAndURIConfig:451
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateConnectionWithSslContextOverrideByExtension:323->doConnectionWithSslContextOverride:380
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> SslIntegrationTest.testCreateSslConnectionWithServerSendingPreemptiveDataJDK:125->doTestCreateSslConnectionWithServerSendingPreemptiveData:164
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsInsecureServerWhenConfiguredToAllow:883->doTestFailoverHandlingOfInsecureRedirectAdvertisement:970
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsUpdateUsingTransportSchemeWS:980->doTestFailoverAcceptsUpdateUsingTransportSchemes:1075
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverAcceptsUpdateUsingTransportSchemeWSS:990->doTestFailoverAcceptsUpdateUsingTransportSchemes:1075
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverIgnoresInsecureServerWhenNotConfiguredToAllow:873->doTestFailoverHandlingOfInsecureRedirectAdvertisement:970
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByCustomSSLContext:854
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByNestedTransportOptions:730
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredBySystemProperties:493
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> FailoverWithAmqpOpenProvidedServerListIntegrationTest.testFailoverUsingSSLConfiguredByTransportOptions:611
>  Assertion failure during test run: Header should match
> Expected: [<65>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
>      but: was [<0>, <77>, <81>, <80>, <0>, <1>, <0>, <0>]
> [ERROR]   
> TransportSupportTest.testCreateSslEngineFromJksStoreWithExplicitEnabledAndDisabledProtocolsJDK:482
>  There were no initial protocols to choose from!
> [ERROR] Errors: 
> [ERROR]   TransportSupportTest.testCreateSslContextNoKeyStorePasswordJDK »  
> Unexpected e...
> [INFO] 
> [ERROR] Tests run: 3623, Failures: 20, Errors: 1, Skipped: 80
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  05:05 min
> [INFO] Finished at: 2020-01-14T15:46:35+01:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-cli) on 
> project qpid-jms-client: There are test failures.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to