ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaliy Biryukov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8699) ZookeeperDiscoverySpiTest#testDisconnectOnServersLeft flaky fails (rarely)
Date Wed, 20 Jun 2018 12:02:00 GMT

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

Vitaliy Biryukov commented on IGNITE-8699:
------------------------------------------

[~sergey-chugunov], 
Is full *ZooKeeper (Discovery) 1* suit enough? [TC link|https://ci.ignite.apache.org/viewLog.html?buildId=1374005&buildTypeId=IgniteTests24Java8_ZooKeeperDiscovery1&tab=buildResultsDiv]

You are right about option#1. This case reproduce on my Linux machine sometimes.
The piece of thread dump (full thread dump in attachments):  
{noformat}
Thread [name="disco-event-worker-#2605%internal.ZookeeperDiscoverySpiTest5%", id=3211, state=WAITING,
blockCnt=2, waitCnt=6]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:304)
        at o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:177)
        at o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:140)
        at o.a.i.i.managers.discovery.GridDiscoveryManager.localJoin(GridDiscoveryManager.java:2190)
        at o.a.i.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest$2.apply(ZookeeperDiscoverySpiTest.java:315)
        - locked java.util.TreeMap@38081448
        at o.a.i.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest$2.apply(ZookeeperDiscoverySpiTest.java:295)
        at o.a.i.i.managers.eventstorage.GridEventStorageManager$UserListenerWrapper.onEvent(GridEventStorageManager.java:1477)
        at o.a.i.i.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:873)
        at o.a.i.i.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:858)
        at o.a.i.i.managers.eventstorage.GridEventStorageManager.record0(GridEventStorageManager.java:341)
        at o.a.i.i.managers.eventstorage.GridEventStorageManager.record(GridEventStorageManager.java:307)
        at o.a.i.i.managers.discovery.GridDiscoveryManager$DiscoveryWorker.recordEvent(GridDiscoveryManager.java:2703)
        at o.a.i.i.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:2920)
        at o.a.i.i.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:2732)
        at o.a.i.i.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:748)
{noformat}


> ZookeeperDiscoverySpiTest#testDisconnectOnServersLeft flaky fails (rarely)
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-8699
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8699
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vitaliy Biryukov
>            Assignee: Vitaliy Biryukov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>         Attachments: thread-dump-fail-before-local-join
>
>
> *Affected tests:*
> testDisconnectOnServersLeft_1
> testDisconnectOnServersLeft_2
> testDisconnectOnServersLeft_3
> testDisconnectOnServersLeft_4
> testDisconnectOnServersLeft_5
> {noformat}
> junit.framework.AssertionFailedError: Failed to wait for disconnect/reconnect event.
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.TestCase.fail(TestCase.java:227)
> 	at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.waitReconnectEvent(ZookeeperDiscoverySpiTest.java:4685)
> 	at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.disconnectOnServersLeft(ZookeeperDiscoverySpiTest.java:3541)
> 	at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoverySpiTest.testDisconnectOnServersLeft_4(ZookeeperDiscoverySpiTest.java:3476)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2086)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:140)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2001)
> 	at java.lang.Thread.run(Thread.java:748)
> {noformat}



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

Mime
View raw message