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

Amelchev Nikita commented on IGNITE-1776:
-----------------------------------------

This bug is not reproduced, I propose to unmute this test.

awaitTime for discovery spi test was increased by Govorukhin in 
0e9fcb717584a76c45707d3b96afcd56b2a9fddc from 10_000 ms to 20_000 ms. In 
addition, average event waiting time was 9000 ms when the issue was created. 
1700 ms at now.

I tested locally over 3000 times, and on TC 500 times, [all runs are 
OK|https://ci.ignite.apache.org/viewLog.html?buildId=1175498&buildTypeId=IgniteTests24Java8_IgniteSpi&tab=testsInfo].

> [Test Failed] TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer fails 
> sometimes
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1776
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1776
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Artem Shutak
>            Assignee: Amelchev Nikita
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, Muted_test
>
> TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer fails on TC 
> sometimes.
> Looks like a test bug, need just increase awaitTime(). I see Node FAILED 
> message exactly after 10 seconds. But it's strange that it's require too long 
> time. May be something wrong on agent.
> Logs:
> {noformat}
> junit.framework.AssertionFailedError: Latch count: 1
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.assertTrue(Assert.java:22)
>     at junit.framework.TestCase.assertTrue(TestCase.java:192)
>     at 
> org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.await(TcpClientDiscoverySpiSelfTest.java:2030)
>     at 
> org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer(TcpClientDiscoverySpiSelfTest.java:811)
> ------- Stdout: -------
> [03:18:46,228][INFO ][main][root] >>> Starting test: 
> testClientNodeFailOneServer <<<
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] 
> >>>    __________  ________________  
> >>>   /  _/ ___/ |/ /  _/_  __/ __/  
> >>>  _/ // (7 7    // /  / / / _/    
> >>> /___/\___/_/|_/___/ /_/ /___/   
> >>> 
> >>> ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
> >>> 2015 Copyright(C) Apache Software Foundation
> >>> 
> >>> Ignite documentation: http://ignite.apache.org
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Config URL: n/a
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Daemon mode: off
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] OS: Mac OS X 10.7.5 
> x86_64
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] OS user: teamcity
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Language runtime: 
> Java Platform API Specification ver. 1.7
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM information: 
> Java(TM) SE Runtime Environment 1.7.0_67-b01 Oracle Corporation Java 
> HotSpot(TM) 64-Bit Server VM 24.65-b04
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM total memory: 
> 2.7GB
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Remote Management 
> [restart: off, REST: off, JMX (remote: off)]
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] 
> IGNITE_HOME=/Users/teamcity/buildAgent/work/871ff4a46e450b13
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] VM arguments: 
> [-DJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home, 
> -DMCAST_GRP=229.116.1.2, -Dagent.home.dir=/Users/teamcity/buildAgent, 
> -Dagent.name=ip_192.168.1.116, -Dagent.ownPort=9090, 
> -Dagent.work.dir=/Users/teamcity/buildAgent/work, -Dbuild.number=3345, 
> -Dbuild.vcs.number=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
> -Dbuild.vcs.number.1=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
> -Dbuild.vcs.number.ApacheIgniteMirrorOnGitHub=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb,
>  
> -Dclassworlds.conf=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.m2.conf, 
> -Dcom.jetbrains.maven.watcher.report.file=/Users/teamcity/buildAgent/temp/buildTmp/maven-build-info.xml,
>  -Djava.io.tmpdir=/Users/teamcity/buildAgent/temp/buildTmp, 
> -Dmaven.home=/Users/teamcity/buildAgent/tools/maven3, 
> -Dmaven.repo.local=/Users/teamcity/.m2/repository, 
> -Dteamcity.agent.cpuBenchmark=605, 
> -Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2, 
> -Dteamcity.agent.dotnet.build_id=555612, 
> -Dteamcity.auth.password=j1gKlVPBOa3H6Wnrjp3Q3sK7ZqR4biuf, 
> -Dteamcity.auth.userId=TeamCityBuildId=555612, 
> -Dteamcity.build.changedFiles.file=/Users/teamcity/buildAgent/temp/buildTmp/changedFiles5940678572218707636.txt,
>  
> -Dteamcity.build.checkoutDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13,
>  -Dteamcity.build.id=555612, 
> -Dteamcity.build.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.build3844607694634646095.properties,
>  -Dteamcity.build.tempDir=/Users/teamcity/buildAgent/temp/buildTmp, 
> -Dteamcity.build.workingDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -Dteamcity.buildConfName=Ignite SPI, -Dteamcity.buildType.id=Ignite_Spi, 
> -Dteamcity.configuration.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.config8915518964213838573.properties,
>  -Dteamcity.idea.home=/Users/teamcity/buildAgent/plugins/idea, 
> -Dteamcity.maven.watcher.home=/Users/teamcity/buildAgent/plugins/mavenPlugin/maven-watcher,
>  -Dteamcity.projectName=Ignite Tests, 
> -Dteamcity.runner.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.runner225244050948827951.properties,
>  
> -Dteamcity.tests.recentlyFailedTests.file=/Users/teamcity/buildAgent/temp/buildTmp/testsToRunFirst1548973897998565136.txt,
>  -Dteamcity.version=8.1.4 (build 30168), -ea, -XX:MaxPermSize=1024m, -Xms1g, 
> -Xmx3g, -XX:+HeapDumpOnOutOfMemoryError, 
> -XX:HeapDumpPath=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -XX:+AggressiveOpts, 
> -DIGNITE_TEST_HOME=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -DIGNITE_UPDATE_NOTIFIER=false, -DIGNITE_NO_DISCO_ORDER=true, 
> -DIGNITE_QUIET=false]
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] Configured caches 
> ['ignite-marshaller-sys-cache', 'ignite-sys-cache', 
> 'ignite-atomics-sys-cache']
> [03:18:46,233][INFO ][test-runner][IgniteKernal%server-0] 3-rd party licenses 
> can be found at: 
> /Users/teamcity/buildAgent/work/871ff4a46e450b13/libs/licenses
> [03:18:46,235][INFO ][test-runner][IgniteKernal%server-0] Non-loopback local 
> IPs: 192.168.1.116, fe80:0:0:0:426c:8fff:fe4d:2241%4
> [03:18:46,235][INFO ][test-runner][IgniteKernal%server-0] Enabled local MACs: 
> 406C8F4D2241
> [03:18:46,236][INFO ][test-runner][IgnitePluginProcessor] Configured plugins:
> [03:18:46,236][INFO ][test-runner][IgnitePluginProcessor]   ^-- None
> [03:18:46,236][INFO ][test-runner][IgnitePluginProcessor] 
> [03:18:46,237][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory 
> server endpoint started [port=48100, 
> tokDir=/Users/teamcity/buildAgent/temp/buildTmp/ignite/work/ipc/shmem/0056db53-1dca-41b2-ae3f-3830d51e6000-3206]
> [03:18:46,237][INFO ][test-runner][TcpCommunicationSpi] Successfully bound 
> shared memory communication to TCP port [port=48100, locHost=/127.0.0.1]
> [03:18:46,243][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to 
> TCP port [port=45070, locHost=/127.0.0.1]
> [03:18:46,246][INFO ][test-runner][IgniteKernal%server-0] Security status 
> [authentication=off, tls/ssl=off]
> [03:18:46,252][INFO 
> ][test-runner][TcpClientDiscoverySpiSelfTest$TestTcpDiscoverySpi] 
> Successfully bound to TCP port [port=47500, localHost=/127.0.0.1]
> [03:18:46,256][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-marshaller-sys-cache, mode=REPLICATED]
> [03:18:46,257][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-atomics-sys-cache, mode=PARTITIONED]
> [03:18:46,259][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-sys-cache, mode=REPLICATED]
> [03:18:46,263][INFO ][test-runner][GridDhtPreloader] 
> <ignite-marshaller-sys-cache> Starting rebalancing in SYNC mode: 
> ignite-marshaller-sys-cache
> [03:18:46,263][INFO ][test-runner][GridDhtPreloader] 
> <ignite-atomics-sys-cache> Starting rebalancing in SYNC mode: 
> ignite-atomics-sys-cache
> [03:18:46,263][INFO ][test-runner][GridDhtPreloader] <ignite-sys-cache> 
> Starting rebalancing in SYNC mode: ignite-sys-cache
> [03:18:46,264][INFO 
> ][preloader-demand-worker-#17721%server-0%][GridDhtPreloader] 
> <ignite-marshaller-sys-cache> Completed rebalancing in SYNC mode 
> [cache=ignite-marshaller-sys-cache, time=0 ms]
> [03:18:46,264][INFO 
> ][preloader-demand-worker-#17725%server-0%][GridDhtPreloader] 
> <ignite-atomics-sys-cache> Completed rebalancing in SYNC mode 
> [cache=ignite-atomics-sys-cache, time=0 ms]
> [03:18:46,264][INFO 
> ][preloader-demand-worker-#17729%server-0%][GridDhtPreloader] 
> <ignite-sys-cache> Completed rebalancing in SYNC mode 
> [cache=ignite-sys-cache, time=0 ms]
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] Performance 
> suggestions for grid 'server-0' (fix if possible)
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] To disable, set 
> -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0]   ^-- Disable 
> checkpoints (remove 'checkpointSpi' from configuration)
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0]   ^-- Disable peer 
> class loading (set 'peerClassLoadingEnabled' to false)
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0]   ^-- Disable grid 
> events (remove 'includeEventTypes' from configuration)
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] 
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] To start Console 
> Management & Monitoring run ignitevisorcmd.{sh|bat}
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] 
> [03:18:46,267][INFO ][test-runner][IgniteKernal%server-0] 
> >>> +------------------------------------------+
> >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
> >>> +------------------------------------------+
> >>> OS name: Mac OS X 10.7.5 x86_64
> >>> CPU(s): 4
> >>> Heap: 2.7GB
> >>> VM name: 3206@Mac-mini-server.local
> >>> Grid name: server-0
> >>> Local node [ID=0056DB53-1DCA-41B2-AE3F-3830D51E6000, order=1, 
> >>> clientMode=false]
> >>> Local node addresses: [127.0.0.1]
> >>> Local ports: TCP:45070 TCP:47500 TCP:48100 
> [03:18:46,267][INFO ][test-runner][GridDiscoveryManager] Topology snapshot 
> [ver=1, servers=1, clients=0, CPUs=4, heap=2.7GB]
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] 
> >>>    __________  ________________  
> >>>   /  _/ ___/ |/ /  _/_  __/ __/  
> >>>  _/ // (7 7    // /  / / / _/    
> >>> /___/\___/_/|_/___/ /_/ /___/   
> >>> 
> >>> ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
> >>> 2015 Copyright(C) Apache Software Foundation
> >>> 
> >>> Ignite documentation: http://ignite.apache.org
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] Config URL: n/a
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] Daemon mode: off
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] OS: Mac OS X 10.7.5 
> x86_64
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] OS user: teamcity
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] Language runtime: 
> Java Platform API Specification ver. 1.7
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] VM information: 
> Java(TM) SE Runtime Environment 1.7.0_67-b01 Oracle Corporation Java 
> HotSpot(TM) 64-Bit Server VM 24.65-b04
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] VM total memory: 
> 2.7GB
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] Remote Management 
> [restart: off, REST: off, JMX (remote: off)]
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] 
> IGNITE_HOME=/Users/teamcity/buildAgent/work/871ff4a46e450b13
> [03:18:46,271][INFO ][test-runner][IgniteKernal%client-0] VM arguments: 
> [-DJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home, 
> -DMCAST_GRP=229.116.1.2, -Dagent.home.dir=/Users/teamcity/buildAgent, 
> -Dagent.name=ip_192.168.1.116, -Dagent.ownPort=9090, 
> -Dagent.work.dir=/Users/teamcity/buildAgent/work, -Dbuild.number=3345, 
> -Dbuild.vcs.number=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
> -Dbuild.vcs.number.1=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb, 
> -Dbuild.vcs.number.ApacheIgniteMirrorOnGitHub=91e31e99c2574f7cede8d80ec9b8d981ccc34bcb,
>  
> -Dclassworlds.conf=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.m2.conf, 
> -Dcom.jetbrains.maven.watcher.report.file=/Users/teamcity/buildAgent/temp/buildTmp/maven-build-info.xml,
>  -Djava.io.tmpdir=/Users/teamcity/buildAgent/temp/buildTmp, 
> -Dmaven.home=/Users/teamcity/buildAgent/tools/maven3, 
> -Dmaven.repo.local=/Users/teamcity/.m2/repository, 
> -Dteamcity.agent.cpuBenchmark=605, 
> -Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2, 
> -Dteamcity.agent.dotnet.build_id=555612, 
> -Dteamcity.auth.password=j1gKlVPBOa3H6Wnrjp3Q3sK7ZqR4biuf, 
> -Dteamcity.auth.userId=TeamCityBuildId=555612, 
> -Dteamcity.build.changedFiles.file=/Users/teamcity/buildAgent/temp/buildTmp/changedFiles5940678572218707636.txt,
>  
> -Dteamcity.build.checkoutDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13,
>  -Dteamcity.build.id=555612, 
> -Dteamcity.build.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.build3844607694634646095.properties,
>  -Dteamcity.build.tempDir=/Users/teamcity/buildAgent/temp/buildTmp, 
> -Dteamcity.build.workingDir=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -Dteamcity.buildConfName=Ignite SPI, -Dteamcity.buildType.id=Ignite_Spi, 
> -Dteamcity.configuration.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.config8915518964213838573.properties,
>  -Dteamcity.idea.home=/Users/teamcity/buildAgent/plugins/idea, 
> -Dteamcity.maven.watcher.home=/Users/teamcity/buildAgent/plugins/mavenPlugin/maven-watcher,
>  -Dteamcity.projectName=Ignite Tests, 
> -Dteamcity.runner.properties.file=/Users/teamcity/buildAgent/temp/buildTmp/teamcity.runner225244050948827951.properties,
>  
> -Dteamcity.tests.recentlyFailedTests.file=/Users/teamcity/buildAgent/temp/buildTmp/testsToRunFirst1548973897998565136.txt,
>  -Dteamcity.version=8.1.4 (build 30168), -ea, -XX:MaxPermSize=1024m, -Xms1g, 
> -Xmx3g, -XX:+HeapDumpOnOutOfMemoryError, 
> -XX:HeapDumpPath=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -XX:+AggressiveOpts, 
> -DIGNITE_TEST_HOME=/Users/teamcity/buildAgent/work/871ff4a46e450b13, 
> -DIGNITE_UPDATE_NOTIFIER=false, -DIGNITE_NO_DISCO_ORDER=true, 
> -DIGNITE_QUIET=false]
> [03:18:46,272][INFO ][test-runner][IgniteKernal%client-0] Configured caches 
> ['ignite-marshaller-sys-cache', 'ignite-sys-cache', 
> 'ignite-atomics-sys-cache']
> [03:18:46,272][INFO ][test-runner][IgniteKernal%client-0] 3-rd party licenses 
> can be found at: 
> /Users/teamcity/buildAgent/work/871ff4a46e450b13/libs/licenses
> [03:18:46,274][INFO ][test-runner][IgniteKernal%client-0] Non-loopback local 
> IPs: 192.168.1.116, fe80:0:0:0:426c:8fff:fe4d:2241%4
> [03:18:46,274][INFO ][test-runner][IgniteKernal%client-0] Enabled local MACs: 
> 406C8F4D2241
> [03:18:46,275][INFO ][test-runner][IgnitePluginProcessor] Configured plugins:
> [03:18:46,275][INFO ][test-runner][IgnitePluginProcessor]   ^-- None
> [03:18:46,275][INFO ][test-runner][IgnitePluginProcessor] 
> [03:18:46,276][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory 
> server endpoint started [port=48101, 
> tokDir=/Users/teamcity/buildAgent/temp/buildTmp/ignite/work/ipc/shmem/cc8ef070-b6e6-48c1-85ad-56194aea7000-3206]
> [03:18:46,276][INFO ][test-runner][TcpCommunicationSpi] Successfully bound 
> shared memory communication to TCP port [port=48101, locHost=/127.0.0.1]
> [03:18:46,276][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to 
> TCP port [port=45071, locHost=/127.0.0.1]
> [03:18:46,279][INFO ][test-runner][IgniteKernal%client-0] Security status 
> [authentication=off, tls/ssl=off]
> [03:18:46,293][INFO 
> ][disco-event-worker-#17715%server-0%][GridDiscoveryManager] Added new node 
> to topology: TcpDiscoveryNode [id=cc8ef070-b6e6-48c1-85ad-56194aea7000, 
> addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:0], discPort=0, order=2, intOrder=2, 
> lastExchangeTime=1445473126283, loc=false, ver=1.5.0#19700101-sha1:00000000, 
> isClient=true]
> [03:18:46,293][INFO 
> ][disco-event-worker-#17715%server-0%][GridDiscoveryManager] Topology 
> snapshot [ver=2, servers=1, clients=1, CPUs=4, heap=2.7GB]
> [03:18:46,297][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-marshaller-sys-cache, mode=REPLICATED]
> [03:18:46,298][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-atomics-sys-cache, mode=PARTITIONED]
> [03:18:46,298][INFO ][test-runner][GridCacheProcessor] Started cache 
> [name=ignite-sys-cache, mode=REPLICATED]
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] Performance 
> suggestions for grid 'client-0' (fix if possible)
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] To disable, set 
> -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0]   ^-- Disable 
> checkpoints (remove 'checkpointSpi' from configuration)
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0]   ^-- Disable peer 
> class loading (set 'peerClassLoadingEnabled' to false)
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0]   ^-- Disable grid 
> events (remove 'includeEventTypes' from configuration)
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] 
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] To start Console 
> Management & Monitoring run ignitevisorcmd.{sh|bat}
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] 
> [03:18:46,317][INFO ][test-runner][IgniteKernal%client-0] 
> >>> +------------------------------------------+
> >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV
> >>> +------------------------------------------+
> >>> OS name: Mac OS X 10.7.5 x86_64
> >>> CPU(s): 4
> >>> Heap: 2.7GB
> >>> VM name: 3206@Mac-mini-server.local
> >>> Grid name: client-0
> >>> Local node [ID=CC8EF070-B6E6-48C1-85AD-56194AEA7000, order=2, 
> >>> clientMode=true]
> >>> Local node addresses: [127.0.0.1]
> >>> Local ports: TCP:45071 TCP:48101 
> [03:18:46,317][INFO ][test-runner][GridDiscoveryManager] Topology snapshot 
> [ver=2, servers=1, clients=1, CPUs=4, heap=2.7GB]
> [03:18:56,318][INFO 
> ][disco-event-worker-#17715%server-0%][GridDiscoveryManager] Topology 
> snapshot [ver=3, servers=1, clients=0, CPUs=4, heap=2.7GB]
> [03:18:56,319][INFO ][main][root] >>> Stopping test: 
> testClientNodeFailOneServer in 10091 ms <<<
> [03:18:56,320][INFO ][main][root] >>> Stopping grid [name=client-0, 
> id=cc8ef070-b6e6-48c1-85ad-56194aea7000]
> [03:18:56,320][INFO ][disco-event-worker-#17715%server-0%][root] Failed event 
> fired on server: DiscoveryEvent [evtNode=TcpDiscoveryNode 
> [id=cc8ef070-b6e6-48c1-85ad-56194aea7000, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:0], discPort=0, order=2, intOrder=2, 
> lastExchangeTime=1445473126283, loc=false, ver=1.5.0#19700101-sha1:00000000, 
> isClient=true], topVer=3, nodeId8=0056db53, msg=Node failed: TcpDiscoveryNode 
> [id=cc8ef070-b6e6-48c1-85ad-56194aea7000, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:0], discPort=0, order=2, intOrder=2, 
> lastExchangeTime=1445473126283, loc=false, ver=1.5.0#19700101-sha1:00000000, 
> isClient=true], type=NODE_FAILED, tstamp=1445473136308]
> [03:18:56,322][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-marshaller-sys-cache
> [03:18:56,322][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-sys-cache
> [03:18:56,322][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-atomics-sys-cache
> [03:18:56,322][INFO ][main][GridDeploymentLocalStore] Removed undeployed 
> class: GridDeployment [ts=1445473126305, depMode=SHARED, 
> clsLdr=IsolatedClassLoader{roleName='test'}, 
> clsLdrId=625b5fc8051-cc8ef070-b6e6-48c1-85ad-56194aea7000, userVer=0, 
> loc=true, 
> sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap,
>  pendingUndeploy=false, undeployed=true, usage=0]
> [03:18:56,322][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap
> [03:18:56,322][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
> [03:18:56,322][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.cache.portable.CacheObjectPortableProcessorImpl$MetaDataPredicate
> [03:18:56,326][INFO ][main][IgniteKernal%client-0] 
> >>> +-----------------------------------------------------+
> >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
> >>> +-----------------------------------------------------+
> >>> Grid name: client-0
> >>> Grid uptime: 00:00:10:04
> [03:18:56,327][INFO ][main][root] >>> Stopping grid [name=server-0, 
> id=0056db53-1dca-41b2-ae3f-3830d51e6000]
> [03:18:56,330][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-marshaller-sys-cache
> [03:18:56,330][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-sys-cache
> [03:18:56,331][INFO ][main][GridCacheProcessor] Stopped cache: 
> ignite-atomics-sys-cache
> [03:18:56,331][INFO ][main][GridDeploymentLocalStore] Removed undeployed 
> class: GridDeployment [ts=1445473126305, depMode=SHARED, 
> clsLdr=IsolatedClassLoader{roleName='test'}, 
> clsLdrId=425b5fc8051-0056db53-1dca-41b2-ae3f-3830d51e6000, userVer=0, 
> loc=true, 
> sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap,
>  pendingUndeploy=false, undeployed=true, usage=0]
> [03:18:56,331][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
> [03:18:56,331][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.task.GridTaskProcessor$TaskDiscoveryListener$1
> [03:18:56,331][INFO ][main][GridDeploymentLocalStore] Class locally 
> undeployed: class 
> org.apache.ignite.internal.processors.cache.portable.CacheObjectPortableProcessorImpl$MetaDataPredicate
> [03:18:56,334][INFO ][main][IgniteKernal%server-0] 
> >>> +-----------------------------------------------------+
> >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
> >>> +-----------------------------------------------------+
> >>> Grid name: server-0
> >>> Grid uptime: 00:00:10:69
> ------- Stderr: -------
> [03:18:46,233][WARN ][test-runner][IgniteKernal%server-0] Peer class loading 
> is enabled (disable it in production for performance and deployment 
> consistency reasons)
> [03:18:46,246][WARN ][test-runner][GridCollisionManager] Collision resolution 
> is disabled (all jobs will be activated upon arrival).
> [03:18:46,246][WARN ][test-runner][NoopSwapSpaceSpi] Swap space is disabled. 
> To enable use FileSwapSpaceSpi.
> [03:18:46,272][WARN ][test-runner][IgniteKernal%client-0] Peer class loading 
> is enabled (disable it in production for performance and deployment 
> consistency reasons)
> [03:18:46,279][WARN ][test-runner][GridCollisionManager] Collision resolution 
> is disabled (all jobs will be activated upon arrival).
> [03:18:46,279][WARN ][test-runner][NoopSwapSpaceSpi] Swap space is disabled. 
> To enable use FileSwapSpaceSpi.
> [03:18:46,317][WARN 
> ][test-runner][TcpClientDiscoverySpiSelfTest$TestTcpDiscoverySpi] Simulating 
> client node failure: cc8ef070-b6e6-48c1-85ad-56194aea7000
> [03:18:56,318][WARN 
> ][disco-event-worker-#17715%server-0%][GridDiscoveryManager] Node FAILED: 
> TcpDiscoveryNode [id=cc8ef070-b6e6-48c1-85ad-56194aea7000, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:0], discPort=0, order=2, intOrder=2, 
> lastExchangeTime=1445473126283, loc=false, ver=1.5.0#19700101-sha1:00000000, 
> isClient=true]
> [03:18:56,319][ERROR][main][root] Test failed.
> junit.framework.AssertionFailedError: Latch count: 1
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.assertTrue(Assert.java:22)
>     at junit.framework.TestCase.assertTrue(TestCase.java:192)
>     at 
> org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.await(TcpClientDiscoverySpiSelfTest.java:2030)
>     at 
> org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpiSelfTest.testClientNodeFailOneServer(TcpClientDiscoverySpiSelfTest.java:811)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at junit.framework.TestCase.runTest(TestCase.java:176)
>     at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658)
>     at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112)
>     at 
> org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596)
> {noformat}



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

Reply via email to