Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3 Support JDK 9 on Geode
  3. GEODE-5880

SSLSocketIntegrationTest FAILED with jdk11

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      org.apache.geode.internal.net.SSLSocketIntegrationTest > configureClientSSLSocketCanTimeOut FAILED
      org.awaitility.core.ConditionTimeoutException: Condition with alias 'connect to server socket' didn't complete within 30 seconds because condition with lambda expression in org.apache.geode.internal.net.SSLSocketIntegrationTest that uses org.apache.geode.internal.net.SocketCreator, org.apache.geode.internal.net.SocketCreatorint was not fulfilled.
      at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145)
      at org.awaitility.core.CallableCondition.await(CallableCondition.java:79)
      at org.awaitility.core.CallableCondition.await(CallableCondition.java:27)
      at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:890)
      at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:848)
      at org.apache.geode.internal.net.SSLSocketIntegrationTest.configureClientSSLSocketCanTimeOut(SSLSocketIntegrationTest.java:230)

      Caused by:
      java.util.concurrent.TimeoutException
      at java.util.concurrent.FutureTask.get(FutureTask.java:204)
      at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:92)
      ... 5 more

      org.apache.geode.internal.net.SSLSocketIntegrationTest > handshakeCanTimeoutOnServer FAILED
      java.lang.Exception: Unexpected exception, expected<java.net.SocketTimeoutException> but was<java.net.SocketException>

      Caused by:
      java.net.SocketException: Socket is closed
      at java.net.Socket.setSoTimeout(Socket.java:1137)
      at sun.security.ssl.BaseSSLSocketImpl.setSoTimeout(BaseSSLSocketImpl.java:637)
      at sun.security.ssl.SSLSocketImpl.setSoTimeout(SSLSocketImpl.java:73)
      at org.apache.geode.internal.net.SocketCreator.handshakeIfSocketIsSSL(SocketCreator.java:993)
      at org.apache.geode.internal.net.SSLSocketIntegrationTest.lambda$startServer$3(SSLSocketIntegrationTest.java:279)

      Attachments

        Issue Links

          Activity

            People

              jinmeiliao Jinmei Liao
              jinmeiliao Jinmei Liao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h