Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8979

CI Failure: SSLSocketHostNameVerificationIntegrationTest

    XMLWordPrintableJSON

    Details

      Description

      This test failed in a CI IntegrationTest run with this exception:

      org.apache.geode.internal.net.SSLSocketHostNameVerificationIntegrationTest > nioHandshakeValidatesHostName[hasSAN=true and doEndPointIdentification=true] FAILED
          org.apache.geode.GemFireIOException: exception closing SSL session
              at org.apache.geode.internal.net.NioSslEngine.close(NioSslEngine.java:409)
              at org.apache.geode.internal.net.SSLSocketHostNameVerificationIntegrationTest.lambda$startServerNIO$3(SSLSocketHostNameVerificationIntegrationTest.java:216)
      
              Caused by:
              java.io.IOException: Connection reset by peer
                  at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                  at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                  at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
                  at sun.nio.ch.IOUtil.write(IOUtil.java:51)
                  at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
                  at org.apache.geode.internal.net.NioSslEngine.close(NioSslEngine.java:403)
                  ... 1 more
      

      It looks like the test needs to have a try/catch for IOException when closing the NioSslEngine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bschuchardt Bruce J Schuchardt
                Reporter:
                bschuchardt Bruce J Schuchardt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: