You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/06 10:08:00 UTC

[jira] [Commented] (KAFKA-8038) Flaky Test SslTransportLayerTest#testCloseSsl

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

ASF GitHub Bot commented on KAFKA-8038:
---------------------------------------

rajinisivaram commented on pull request #6377: KAFKA-8038 - Fix timing issue in SslTransportLayerTest.testCloseSsl
URL: https://github.com/apache/kafka/pull/6377
 
 
   There is tiny timing window in the test where server has not marked the channel ready, but client has. Wait for server to mark the channel ready.
   
   I wasn't able to recreate the failure with or without the fix. The fix is based on the stack trace in the JIRA.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


> Flaky Test SslTransportLayerTest#testCloseSsl
> ---------------------------------------------
>
>                 Key: KAFKA-8038
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8038
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, unit tests
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Matthias J. Sax
>            Assignee: Rajini Sivaram
>            Priority: Critical
>              Labels: flaky-test
>             Fix For: 2.3.0, 2.2.1
>
>
> [https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/46/testReport/junit/org.apache.kafka.common.network/SslTransportLayerTest/testCloseSsl/]
> {quote}java.lang.IllegalStateException: handshake is not completed at org.apache.kafka.common.network.SslTransportLayer.removeInterestOps(SslTransportLayer.java:770) at org.apache.kafka.common.network.KafkaChannel.mute(KafkaChannel.java:246) at org.apache.kafka.common.network.Selector.mute(Selector.java:685) at org.apache.kafka.common.network.Selector.muteAll(Selector.java:705) at org.apache.kafka.common.network.SslTransportLayerTest.testClose(SslTransportLayerTest.java:866) at org.apache.kafka.common.network.SslTransportLayerTest.testCloseSsl(SslTransportLayerTest.java:846){quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)