[ 
https://issues.apache.org/jira/browse/GEODE-8979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295559#comment-17295559
 ] 

ASF subversion and git services commented on GEODE-8979:
--------------------------------------------------------

Commit 52e74112317bdc0b25904eba5b1308e0c1691306 in geode's branch 
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=52e7411 ]

GEODE-8979: CI Failure: SSLSocketHostNameVerificationIntegrationTest (#6079)

This test was closing a client socket before ensuring that a thread it
had created was finished.  If the socket is closed quickly enough it
could cause that thread to get an IOException and cause the test to
fail.

The fix is to ensure that the thread is finished before closing the
client socket.

> CI Failure: SSLSocketHostNameVerificationIntegrationTest
> --------------------------------------------------------
>
>                 Key: GEODE-8979
>                 URL: https://issues.apache.org/jira/browse/GEODE-8979
>             Project: Geode
>          Issue Type: Test
>          Components: membership, messaging
>            Reporter: Bruce J Schuchardt
>            Assignee: Bruce J Schuchardt
>            Priority: Major
>              Labels: pull-request-available
>
> This test failed in a CI IntegrationTest run with this exception:
> {noformat}
> 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
> {noformat}
> It looks like the test needs to have a try/catch for IOException when closing 
> the NioSslEngine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to