[
https://issues.redhat.com/browse/WFCORE-5221?page=com.atlassian.jira.plug...
]
Fabio Burzigotti updated WFCORE-5221:
-------------------------------------
Description:
Cloning
https://issues.redhat.com/browse/WFCORE-4196 here since it seems that the issue is
affecting the server when it's run on Oracle 1.8 JDK.
The test is failing with the following stack trace:
{code:java}
...
16:50:21 [INFO] Running
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase
16:50:22 [ERROR] Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 1.191 s
<<< FAILURE! - in
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase
16:50:22 [ERROR]
testHttpsViaIp(org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase)
Time elapsed: 0.62 s <<< FAILURE!
16:50:22 org.junit.ComparisonFailure: expected:<Response sent:HTTP/[2.0]> but
was:<Response sent:HTTP/[1.1]>
16:50:22 at org.junit.Assert.assertEquals(Assert.java:115)
16:50:22 at org.junit.Assert.assertEquals(Assert.java:144)
16:50:22 at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.performSimpleTest(SNICombinedWithALPNTestCase.java:273)
16:50:22 at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.testHttpsViaIp(SNICombinedWithALPNTestCase.java:232)
... {code}
was:
SNICombinedWithALPNTestCase added with WFCORE-3873 does not conform with IBM JDK key
algorithm name. This needs to be fixed.
Also as IBM JDK 8 and lower does not contain ALPN implementation and neither the ALPN-hack
work there (it works only with Oracle JDK and Open JDK as it depends on JDK internals) we
would have to provide ALPN in such situation somehow. We can either use Jetty ALPN
implementation or wildfly-openssl using OpenSSL libraries. Both variants would bring
unwanted difficulties with running this testsuite in our environment.
Let's skip these tests for IBM JDK less than version 9. With newer IBM JDK version,
there will probably be ALPN already part of JDK, so we can execute it then.
SNICombinedWithALPNTestCase fails with Oracle JDK 1.8 on RHEL
-------------------------------------------------------------
Key: WFCORE-5221
URL:
https://issues.redhat.com/browse/WFCORE-5221
Project: WildFly Core
Issue Type: Bug
Components: Security, Test Suite
Reporter: Fabio Burzigotti
Priority: Major
Cloning
https://issues.redhat.com/browse/WFCORE-4196 here since it seems that the issue
is affecting the server when it's run on Oracle 1.8 JDK.
The test is failing with the following stack trace:
{code:java}
...
16:50:21 [INFO] Running
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase
16:50:22 [ERROR] Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 1.191 s
<<< FAILURE! - in
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase
16:50:22 [ERROR]
testHttpsViaIp(org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase)
Time elapsed: 0.62 s <<< FAILURE!
16:50:22 org.junit.ComparisonFailure: expected:<Response sent:HTTP/[2.0]> but
was:<Response sent:HTTP/[1.1]>
16:50:22 at org.junit.Assert.assertEquals(Assert.java:115)
16:50:22 at org.junit.Assert.assertEquals(Assert.java:144)
16:50:22 at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.performSimpleTest(SNICombinedWithALPNTestCase.java:273)
16:50:22 at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.testHttpsViaIp(SNICombinedWithALPNTestCase.java:232)
... {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)