Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20692

(7.4.z) SNICombinedWithALPNTestCase fails with Oracle JDK 1.8 on RHEL

    XMLWordPrintable

Details

    • +
      • download last candidate for EAP XP 2 (CR1)
      • set Oracle 1.8 JDK
      • cd testsuite/standalone
      • mvn clean test -Dtest=SNICombinedWithALPNTestCase

    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 WildFly core TS test [1] is failing with the following stack trace:

      ...
      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)
      ... 

      Enviroment:

      
      $ mvn -version
      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Java version: 1.8.0_261, vendor: Oracle Corporation
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "4.18.0-240.1.1.el8_3.x86_64", arch: "amd64", family: "unix"
      
      $ java -version
      Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)
      

      [1]
      https://github.com/jbossas/wildfly-core-eap/blob/10.1.15.Final-redhat-dev/testsuite/standalone/src/test/java/org/jboss/as/test/integration/security/ssl/sni/SNICombinedWithALPNTestCase.java

      Attachments

        Issue Links

          Activity

            People

              istudens@redhat.com Ivo Studensky
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: