Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15117

SslTransportLayerTest.testValidEndpointIdentificationCN fails with Java 20 & 21

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • None
    • None

    Description

      All variations fail as seen below. These tests have been disabled when run with Java 20 & 21 for now.

      Gradle Test Run :clients:test > Gradle Test Executor 12 > SslTransportLayerTest > testValidEndpointIdentificationCN(Args) > [1] tlsProtocol=TLSv1.2, useInlinePem=false FAILED
          org.opentest4j.AssertionFailedError: Channel 0 was not ready after 30 seconds ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:211)
              at app//org.apache.kafka.common.network.NetworkTestUtils.waitForChannelReady(NetworkTestUtils.java:107)
              at app//org.apache.kafka.common.network.NetworkTestUtils.checkClientConnection(NetworkTestUtils.java:70)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.verifySslConfigs(SslTransportLayerTest.java:1296)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(SslTransportLayerTest.java:202)
      org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(Args)[2] failed, log available in /home/ijuma/src/kafka/clients/build/reports/testOutput/org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(Args)[2].test.stdout
      Gradle Test Run :clients:test > Gradle Test Executor 12 > SslTransportLayerTest > testValidEndpointIdentificationCN(Args) > [2] tlsProtocol=TLSv1.2, useInlinePem=true FAILED
          org.opentest4j.AssertionFailedError: Channel 0 was not ready after 30 seconds ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:211)
              at app//org.apache.kafka.common.network.NetworkTestUtils.waitForChannelReady(NetworkTestUtils.java:107)
              at app//org.apache.kafka.common.network.NetworkTestUtils.checkClientConnection(NetworkTestUtils.java:70)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.verifySslConfigs(SslTransportLayerTest.java:1296)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(SslTransportLayerTest.java:202)
      org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(Args)[3] failed, log available in /home/ijuma/src/kafka/clients/build/reports/testOutput/org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(Args)[3].test.stdout
      Gradle Test Run :clients:test > Gradle Test Executor 12 > SslTransportLayerTest > testValidEndpointIdentificationCN(Args) > [3] tlsProtocol=TLSv1.3, useInlinePem=false FAILED
          org.opentest4j.AssertionFailedError: Channel 0 was not ready after 30 seconds ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:211)
              at app//org.apache.kafka.common.network.NetworkTestUtils.waitForChannelReady(NetworkTestUtils.java:107)
              at app//org.apache.kafka.common.network.NetworkTestUtils.checkClientConnection(NetworkTestUtils.java:70)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.verifySslConfigs(SslTransportLayerTest.java:1296)
              at app//org.apache.kafka.common.network.SslTransportLayerTest.testValidEndpointIdentificationCN(SslTransportLayerTest.java:202)
      

       

      Attachments

        Issue Links

          Activity

            People

              emissionnebula Purshotam Chauhan
              ijuma Ismael Juma
              Rajini Sivaram Rajini Sivaram
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: