Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1834

Http2EndExchangeTestCase and LoadBalancingProxyHTTP2TestCase are failing with IBM JDK 1.8

XMLWordPrintable

    • Hide
      To execute mentioned tests
      JAVA_HOME=/home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/ mvn test --show-version -Dmaven.javadoc.skip=true -DskipUnitTests -Pproxy -Denforcer.skip -Dtest="Http2EndExchangeTestCase.java,LoadBalancingProxyHTTP2TestCase.java" -DfailIfNoTests=false -Dtest.level=DEBUG
      
      My basic environment info
      $ uname -a
      Linux localhost.localdomain 5.10.8-200.fc33.x86_64 #1 SMP Sun Jan 17 19:53:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      $ JAVA_HOME=/home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/ mvn --show-version
      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Maven home: /home/jstourac/mvns/latest
      Java version: 1.8.0_271, vendor: IBM Corporation, runtime: /home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "5.10.8-200.fc33.x86_64", arch: "amd64", family: "unix"
      
      Show
      To execute mentioned tests JAVA_HOME=/home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/ mvn test --show-version -Dmaven.javadoc.skip= true -DskipUnitTests -Pproxy -Denforcer.skip -Dtest= "Http2EndExchangeTestCase.java,LoadBalancingProxyHTTP2TestCase.java" -DfailIfNoTests= false -Dtest.level=DEBUG My basic environment info $ uname -a Linux localhost.localdomain 5.10.8-200.fc33.x86_64 #1 SMP Sun Jan 17 19:53:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux $ JAVA_HOME=/home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/ mvn --show-version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /home/jstourac/mvns/latest Java version: 1.8.0_271, vendor: IBM Corporation, runtime: /home/jstourac/jdks/ibm/ibm-java-x86_64-sdk-8.0.6.20/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" , version: "5.10.8-200.fc33.x86_64" , arch: "amd64" , family: "unix"
    • Undefined

      There are Http2EndExchangeTestCase and LoadBalancingProxyHTTP2TestCase failing when testsuite is executed under IBM JDK. Since there is already an ALPN support in IBM JDK since 8.0.5.15, there should not be an issue for these tests to pass.

      When running test with '-Dtest.level=DEBUG', I can see following line in the test output:

      16:57:47,819 DEBUG (XNIO-4 I/O-5) [io.undertow.request] <AlpnOpenListener.java:247> ALPN has been configured however TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 is not present or TLS1.2 is not enabled, falling back to default protocol
      

      see e.g.:

      • core/target/surefire-reports/io.undertow.server.handlers.proxy.LoadBalancingProxyHTTP2TestCase-output.txt
      • or core/target/surefire-reports/io.undertow.server.protocol.http2.Http2EndExchangeTestCase-output.txt

      Whole test output files are attached.

              jstourac@redhat.com Jan Stourac
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: