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

ASF GitHub Bot commented on GEODE-8979:
---------------------------------------

bschuchardt opened a new pull request #6079:
URL: https://github.com/apache/geode/pull/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.
   
   @kamilla1201 
   
   Thank you for submitting a contribution to Apache Geode.
   
   In order to streamline the review of the contribution we ask you
   to ensure the following steps have been taken:
   
   ### For all changes:
   - [x] Is there a JIRA ticket associated with this PR? Is it referenced in 
the commit message?
   
   - [x] Has your PR been rebased against the latest commit within the target 
branch (typically `develop`)?
   
   - [x] Is your initial contribution a single, squashed commit?
   
   - [x] Does `gradlew build` run cleanly?
   
   - [ ] Have you written or updated unit tests to verify your changes?
   
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   
   ### Note:
   Please ensure that once the PR is submitted, check Concourse for build 
issues and
   submit an update to your PR as soon as possible. If you need help, please 
send an
   email to [email protected].
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>
> 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