[jira] [Commented] (IGNITE-17119) DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally

2022-06-08 Thread Roman Puchkovskiy (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-17119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551557#comment-17551557
 ] 

Roman Puchkovskiy commented on IGNITE-17119:


This was caused by two problems:
    
1. Some JDK versions (including 1.8.0_261) contain a bug 
https://bugs.openjdk.java.net/browse/JDK-8241239 due to which close() on a 
socket is blocked when a write() is blocked on its output stream. This causes 
the test to always fail on such JDKs. The test models a situation which may be 
faced by our customers, so there is no point in working this around just in our 
test.
2. If the original 'handshake' takes long time (I saw it around 1 second), then 
the test may block on a write attempt for a long time (handshake time 
multiplied by 10), in my case 10 seconds, which makes the test fail.
    
We can't do anything with item 1, but we did alleviate item 2: write wait time 
is bounded.

> DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally
> -
>
> Key: IGNITE-17119
> URL: https://issues.apache.org/jira/browse/IGNITE-17119
> Project: Ignite
>  Issue Type: Bug
>  Components: networking
>Reporter: Roman Puchkovskiy
>Assignee: Roman Puchkovskiy
>Priority: Major
> Fix For: 2.14
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8=1051723478826841368=testDetails



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (IGNITE-17119) DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally

2022-06-08 Thread Roman Puchkovskiy (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-17119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551495#comment-17551495
 ] 

Roman Puchkovskiy commented on IGNITE-17119:


Thanks!

> DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally
> -
>
> Key: IGNITE-17119
> URL: https://issues.apache.org/jira/browse/IGNITE-17119
> Project: Ignite
>  Issue Type: Bug
>  Components: networking
>Reporter: Roman Puchkovskiy
>Assignee: Roman Puchkovskiy
>Priority: Major
> Fix For: 2.14
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8=1051723478826841368=testDetails



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (IGNITE-17119) DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally

2022-06-07 Thread Ignite TC Bot (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-17119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551165#comment-17551165
 ] 

Ignite TC Bot commented on IGNITE-17119:


{panel:title=Branch: [pull/10073/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10073/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6614945buildTypeId=IgniteTests24Java8_RunAll]

> DiscoveryClientSocketTest.sslSocketTest fails regularly on TC and locally
> -
>
> Key: IGNITE-17119
> URL: https://issues.apache.org/jira/browse/IGNITE-17119
> Project: Ignite
>  Issue Type: Bug
>  Components: networking
>Reporter: Roman Puchkovskiy
>Assignee: Roman Puchkovskiy
>Priority: Major
> Fix For: 2.14
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8=1051723478826841368=testDetails



--
This message was sent by Atlassian Jira
(v8.20.7#820007)