ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amelchev Nikita (Jira)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-12388) The testReconnectServersRestart_3 test is flacky
Date Mon, 25 Nov 2019 16:10:00 GMT

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

Amelchev Nikita commented on IGNITE-12388:
------------------------------------------

I have fixed the test and checked it on TC more than [400 times. |https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteTests24Java8_ZooKeeperDiscovery1&branch_IgniteTests24Java8=pull%2F7064%2Fhead&fromExperimentalUI=true&tab=buildTypeStatusDiv]
Tests look good.
[~alex_pl], could you help with a review, please?

> The testReconnectServersRestart_3 test is flacky
> ------------------------------------------------
>
>                 Key: IGNITE-12388
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12388
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Amelchev Nikita
>            Assignee: Amelchev Nikita
>            Priority: Minor
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The testReconnectServersRestart_3 test is flacky. [TC history.|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=534893108987486091&tab=testDetails]
> Sometimes it fails by timeout. The reason is the incorrect client mode condition during
nodes starts:
> {noformat}
> helper.clientModeThreadLocal(threadIdx == srvIdx || ThreadLocalRandom.current().nextBoolean())
> {noformat}
> There is no server node to connect when all started nodes are clients:
> {noformat}
> [2019-11-22 15:42:24,998][WARN ][start-node-5][ZookeeperDiscoveryImpl] Waiting for local
join event [nodeId=74a33ea3-6d7c-4ab4-b86c-3d9305c00004, name=internal.ZookeeperDiscoveryClientReconnectTest4]
> [2019-11-22 15:42:25,010][WARN ][start-node-1][ZookeeperDiscoveryImpl] Waiting for local
join event [nodeId=b113bb09-5d6a-48b8-a656-d22cb9200000, name=internal.ZookeeperDiscoveryClientReconnectTest0]
> [2019-11-22 15:42:25,015][WARN ][start-node-4][ZookeeperDiscoveryImpl] Waiting for local
join event [nodeId=121ca03d-31de-4de4-a81c-20bd13700003, name=internal.ZookeeperDiscoveryClientReconnectTest3]
> [2019-11-22 15:42:25,017][WARN ][start-node-2][ZookeeperDiscoveryImpl] Waiting for local
join event [nodeId=4a6b5c7f-fc06-4251-b78f-c49277f00001, name=internal.ZookeeperDiscoveryClientReconnectTest1]
> [2019-11-22 15:42:25,020][WARN ][start-node-3][ZookeeperDiscoveryImpl] Waiting for local
join event [nodeId=b0468b08-7d57-4b29-b2fb-6d1425900002, name=internal.ZookeeperDiscoveryClientReconnectTest2]
> {noformat}
> Then the test fails by timeout (5min).



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

Mime
View raw message