ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ershov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2406) [Test] [Rare] GridEventStorageCheckAllEventsSelfTest.testSuccessTask AND GridEventStorageCheckAllEventsSelfTest.testFailTask
Date Tue, 26 Jan 2016 09:59:39 GMT

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

Vladimir Ershov commented on IGNITE-2406:
-----------------------------------------

Failed again
{noformat}
java.lang.AssertionError: Invalid event [evtType=45, expectedType=41, evts=[TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task started., type=TASK_STARTED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got mapped., type=JOB_MAPPED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got queued for computation., type=JOB_QUEUED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_STARTED, tstamp=1453770058221], CheckpointEvent [cpKey=testCheckpoint, nodeId8=351d5cbd,
msg=Checkpoint saved: testCheckpoint, type=CHECKPOINT_SAVED, tstamp=1453770058221], CheckpointEvent
[cpKey=testCheckpoint, nodeId8=351d5cbd, msg=Checkpoint removed: testCheckpoint, type=CHECKPOINT_REMOVED,
tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_FINISHED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got resulted with: WAIT, type=JOB_RESULTED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task reduced., type=TASK_REDUCED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task finished., type=TASK_FINISHED, tstamp=1453770058231]]]
    at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.assertEvent(GridEventStorageCheckAllEventsSelfTest.java:112)
    at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.testSuccessTask(GridEventStorageCheckAllEventsSelfTest.java:184)
------- Stdout: -------
[01:00:56,892][INFO ][main][root] >>> Starting test class: GridEventStorageCheckAllEventsSelfTest
<<<
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] 

>>>    __________  ________________  
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7    // /  / / / _/    
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 1.5.1-final-SNAPSHOT#19700101-sha1:DEV
>>> 2016 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org

[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Config URL: n/a
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Daemon mode: off
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] OS: Linux 2.6.32-573.12.1.el6.x86_64
amd64
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] OS user: teamcity
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Language runtime: Java
Platform API Specification ver. 1.7
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] VM information: Java(TM)
SE Runtime Environment 1.7.0_80-b15 Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 24.80-b11
[01:00:56,906][INFO ][main][GridEventStorageCheckAllEventsSelfTest] VM total memory: 2.7GB
[01:00:56,907][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Remote Management [restart:
off, REST: off, JMX (remote: off)]
[01:00:56,907][INFO ][main][GridEventStorageCheckAllEventsSelfTest] IGNITE_HOME=/mnt/tc_disk/work/c6bd605b1bad5b0f
[01:00:56,907][INFO ][main][GridEventStorageCheckAllEventsSelfTest] VM arguments: [-DJAVA_HOME=/usr/lib/jvm/java-7-oracle,
-Dagent.home.dir=/home/teamcity/agent, -Dagent.name=a_229_54, -Dagent.ownPort=9054, -Dagent.work.dir=/mnt/tc_disk/work,
-Dbuild.number=297, -Dbuild.vcs.number=c55cc975d294fd490b53d9eb793f68c5eb9fa850, -Dbuild.vcs.number.1=c55cc975d294fd490b53d9eb793f68c5eb9fa850,
-Dbuild.vcs.number.IgniteTests_ApacheIgniteMirrorOnGitHub1=c55cc975d294fd490b53d9eb793f68c5eb9fa850,
-Dclassworlds.conf=/mnt/tc_disk/temp/buildTmp/teamcity.m2.conf, -Dcom.jetbrains.maven.watcher.report.file=/mnt/tc_disk/temp/buildTmp/maven-build-info.xml,
-Djava.io.tmpdir=/mnt/tc_disk/temp/buildTmp, -Dmaven.home=/home/teamcity/agent/tools/maven3,
-Dmaven.repo.local=/home/teamcity/.m2/repository, -Dteamcity.agent.cpuBenchmark=640, -Dteamcity.agent.dotnet.agent_url=http://localhost:9054/RPC2,
-Dteamcity.agent.dotnet.build_id=101396, -Dteamcity.auth.password=Lay4osu7a2CnK6abJTyAwa0ADyuutCcZ,
-Dteamcity.auth.userId=TeamCityBuildId=101396, -Dteamcity.build.changedFiles.file=/mnt/tc_disk/temp/buildTmp/changedFiles3970275131911458706.txt,
-Dteamcity.build.checkoutDir=/mnt/tc_disk/work/c6bd605b1bad5b0f, -Dteamcity.build.id=101396,
-Dteamcity.build.properties.file=/mnt/tc_disk/temp/buildTmp/teamcity.build3943107123973756780.properties,
-Dteamcity.build.tempDir=/mnt/tc_disk/temp/buildTmp, -Dteamcity.build.workingDir=/mnt/tc_disk/work/c6bd605b1bad5b0f,
-Dteamcity.buildConfName=Ignite Binary Objects Compute Grid, -Dteamcity.buildType.id=IgniteTests_IgniteBinaryObjectsComputeGrid,
-Dteamcity.configuration.properties.file=/mnt/tc_disk/temp/buildTmp/teamcity.config8214475275317077559.properties,
-Dteamcity.maven.watcher.home=/home/teamcity/agent/plugins/mavenPlugin/maven-watcher, -Dteamcity.projectName=Ignite
Tests, -Dteamcity.runner.properties.file=/mnt/tc_disk/temp/buildTmp/teamcity.runner8786818412046482269.properties,
-Dteamcity.tests.recentlyFailedTests.file=/mnt/tc_disk/temp/buildTmp/testsToRunFirst177335618017989249.txt,
-Dteamcity.version=8.1.5 (build 30240), -ea, -XX:MaxPermSize=1g, -Xms1g, -Xmx3g, -XX:+HeapDumpOnOutOfMemoryError,
-XX:+AggressiveOpts, -DIGNITE_TEST_HOME=/mnt/tc_disk/work/c6bd605b1bad5b0f, -DIGNITE_UPDATE_NOTIFIER=false,
-DIGNITE_NO_DISCO_ORDER=true, -DIGNITE_QUIET=false]
[01:00:56,907][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Configured caches ['ignite-marshaller-sys-cache',
'ignite-sys-cache', 'ignite-atomics-sys-cache']
[01:00:56,907][INFO ][main][GridEventStorageCheckAllEventsSelfTest] 3-rd party licenses can
be found at: /mnt/tc_disk/work/c6bd605b1bad5b0f/libs/licenses
[01:00:56,910][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Non-loopback local IPs:
172.17.0.11
[01:00:56,910][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Enabled local MACs: 0242AC11000B
[01:00:56,910][INFO ][main][IgnitePluginProcessor] Configured plugins:
[01:00:56,910][INFO ][main][IgnitePluginProcessor]   ^-- None
[01:00:56,910][INFO ][main][IgnitePluginProcessor] 
[01:00:56,912][INFO ][main][TcpCommunicationSpi] IPC shared memory server endpoint started
[port=48100, tokDir=/mnt/tc_disk/temp/buildTmp/ignite/work/ipc/shmem/351d5cbd-8248-4fd8-9f42-eff057d84a66-20119]
[01:00:56,912][INFO ][main][TcpCommunicationSpi] Successfully bound shared memory communication
to TCP port [port=48100, locHost=/127.0.0.1]
[01:00:56,913][INFO ][main][TcpCommunicationSpi] Successfully bound to TCP port [port=45570,
locHost=/127.0.0.1]
[01:00:56,917][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Security status [authentication=off,
tls/ssl=off]
[01:00:56,932][INFO ][main][TestTcpDiscoverySpi] Successfully bound to TCP port [port=47500,
localHost=/127.0.0.1]
[01:00:58,145][INFO ][main][GridCacheProcessor] Started cache [name=ignite-marshaller-sys-cache,
mode=REPLICATED]
[01:00:58,147][INFO ][main][GridCacheProcessor] Started cache [name=ignite-atomics-sys-cache,
mode=PARTITIONED]
[01:00:58,150][INFO ][main][GridCacheProcessor] Started cache [name=ignite-sys-cache, mode=REPLICATED]
[01:00:58,162][INFO ][exchange-worker-#14302%internal.GridEventStorageCheckAllEventsSelfTest%][GridCachePartitionExchangeManager]
Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=1, minorTopVer=0],
evt=NODE_JOINED, node=351d5cbd-8248-4fd8-9f42-eff057d84a66]
[01:00:58,167][INFO ][main][GridEventStorageCheckAllEventsSelfTest] Performance suggestions
for grid 'internal.GridEventStorageCheckAllEventsSelfTest' (fix if possible)
[01:00:58,167][INFO ][main][GridEventStorageCheckAllEventsSelfTest] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest]   ^-- Disable checkpoints
(remove 'checkpointSpi' from configuration)
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest]   ^-- Disable peer class
loading (set 'peerClassLoadingEnabled' to false)
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest]   ^-- Disable grid events
(remove 'includeEventTypes' from configuration)
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest] 
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest] To start Console Management
& Monitoring run ignitevisorcmd.{sh|bat}
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest] 
[01:00:58,168][INFO ][main][GridEventStorageCheckAllEventsSelfTest] 

>>> +------------------------------------------------+
>>> Ignite ver. 1.5.1-final-SNAPSHOT#19700101-sha1:DEV
>>> +------------------------------------------------+
>>> OS name: Linux 2.6.32-573.12.1.el6.x86_64 amd64
>>> CPU(s): 16
>>> Heap: 2.7GB
>>> VM name: 20119@adcaa0e3c1f2
>>> Grid name: internal.GridEventStorageCheckAllEventsSelfTest
>>> Local node [ID=351D5CBD-8248-4FD8-9F42-EFF057D84A66, order=1, clientMode=false]
>>> Local node addresses: [127.0.0.1]
>>> Local ports: TCP:45570 TCP:47500 TCP:48100 UDP:50057 

[01:00:58,168][INFO ][main][GridDiscoveryManager] Topology snapshot [ver=1, servers=1, clients=0,
CPUs=16, heap=2.7GB]
[01:00:58,201][INFO ][main][root] Filtered events [size=1, evts=[DeploymentEvent [alias=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
nodeId8=351d5cbd, msg=Task locally deployed: class org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
type=TASK_DEPLOYED, tstamp=1453770058188]]]
[01:00:58,201][INFO ][main][root] >>> Starting test: testSuccessTask <<<
[01:00:58,233][INFO ][test-runner-#14304%internal.GridEventStorageCheckAllEventsSelfTest%][root]
Filtered events [size=10, evts=[TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task started., type=TASK_STARTED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got mapped., type=JOB_MAPPED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got queued for computation., type=JOB_QUEUED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_STARTED, tstamp=1453770058221], CheckpointEvent [cpKey=testCheckpoint, nodeId8=351d5cbd,
msg=Checkpoint saved: testCheckpoint, type=CHECKPOINT_SAVED, tstamp=1453770058221], CheckpointEvent
[cpKey=testCheckpoint, nodeId8=351d5cbd, msg=Checkpoint removed: testCheckpoint, type=CHECKPOINT_REMOVED,
tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_FINISHED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got resulted with: WAIT, type=JOB_RESULTED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task reduced., type=TASK_REDUCED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task finished., type=TASK_FINISHED, tstamp=1453770058231]]]
[01:00:58,238][INFO ][main][root] >>> Stopping test: testSuccessTask in 37 ms <<<
------- Stderr: -------
[01:00:56,907][WARN ][main][GridEventStorageCheckAllEventsSelfTest] Peer class loading is
enabled (disable it in production for performance and deployment consistency reasons)
[01:00:56,916][WARN ][main][GridCollisionManager] Collision resolution is disabled (all jobs
will be activated upon arrival).
[01:00:56,917][WARN ][main][NoopSwapSpaceSpi] Swap space is disabled. To enable use FileSwapSpaceSpi.
[01:00:58,234][ERROR][main][root] Test failed.
java.lang.AssertionError: Invalid event [evtType=45, expectedType=41, evts=[TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task started., type=TASK_STARTED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got mapped., type=JOB_MAPPED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got queued for computation., type=JOB_QUEUED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_STARTED, tstamp=1453770058221], CheckpointEvent [cpKey=testCheckpoint, nodeId8=351d5cbd,
msg=Checkpoint saved: testCheckpoint, type=CHECKPOINT_SAVED, tstamp=1453770058221], CheckpointEvent
[cpKey=testCheckpoint, nodeId8=351d5cbd, msg=Checkpoint removed: testCheckpoint, type=CHECKPOINT_REMOVED,
tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=null,
type=JOB_FINISHED, tstamp=1453770058221], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, jobId=6ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66,
taskNode=TcpDiscoveryNode [id=351d5cbd-8248-4fd8-9f42-eff057d84a66, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453770056930, loc=true, ver=1.5.1#19700101-sha1:00000000,
isClient=false], taskSubjId=351d5cbd-8248-4fd8-9f42-eff057d84a66, nodeId8=351d5cbd, msg=Job
got resulted with: WAIT, type=JOB_RESULTED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task reduced., type=TASK_REDUCED, tstamp=1453770058231], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=4ad917b7251-351d5cbd-8248-4fd8-9f42-eff057d84a66, internal=false, subjId=351d5cbd-8248-4fd8-9f42-eff057d84a66,
nodeId8=351d5cbd, msg=Task finished., type=TASK_FINISHED, tstamp=1453770058231]]]
    at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.assertEvent(GridEventStorageCheckAllEventsSelfTest.java:112)
    at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.testSuccessTask(GridEventStorageCheckAllEventsSelfTest.java:184)
    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:1699)
    at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:116)
    at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1637)
    at java.lang.Thread.run(Thread.java:745)
{noformat}

> [Test] [Rare] GridEventStorageCheckAllEventsSelfTest.testSuccessTask AND GridEventStorageCheckAllEventsSelfTest.testFailTask
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2406
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2406
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.5.0.final
>            Reporter: Vladimir Ershov
>
> Rare fail of GridEventStorageCheckAllEventsSelfTest testSuccessTask
> log:
> {noformat}
> ------- Stderr: -------
> [13:06:47,647][WARN ][main][GridEventStorageCheckAllEventsSelfTest] Peer class loading
is enabled (disable it in production for performance and deployment consistency reasons)
> [13:06:47,659][WARN ][main][GridCollisionManager] Collision resolution is disabled (all
jobs will be activated upon arrival).
> [13:06:47,660][WARN ][main][NoopSwapSpaceSpi] Swap space is disabled. To enable use FileSwapSpaceSpi.
> [13:06:48,966][ERROR][main][root] Test failed.
> java.lang.AssertionError: Invalid event [evtType=45, expectedType=41, evts=[TaskEvent
[taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, internal=false, subjId=af0890dd-f87e-4dca-8b22-bab1b6a13404,
nodeId8=af0890dd, msg=Task started., type=TASK_STARTED, tstamp=1453208808959], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, jobId=063ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404,
taskNode=TcpDiscoveryNode [id=af0890dd-f87e-4dca-8b22-bab1b6a13404, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453208807679, loc=true, ver=1.5.1#20160119-sha1:09c1d5e4,
isClient=false], taskSubjId=af0890dd-f87e-4dca-8b22-bab1b6a13404, nodeId8=af0890dd, msg=Job
got mapped., type=JOB_MAPPED, tstamp=1453208808959], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, jobId=063ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404,
taskNode=TcpDiscoveryNode [id=af0890dd-f87e-4dca-8b22-bab1b6a13404, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453208807679, loc=true, ver=1.5.1#20160119-sha1:09c1d5e4,
isClient=false], taskSubjId=af0890dd-f87e-4dca-8b22-bab1b6a13404, nodeId8=af0890dd, msg=Job
got queued for computation., type=JOB_QUEUED, tstamp=1453208808959], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, jobId=063ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404,
taskNode=TcpDiscoveryNode [id=af0890dd-f87e-4dca-8b22-bab1b6a13404, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453208807679, loc=true, ver=1.5.1#20160119-sha1:09c1d5e4,
isClient=false], taskSubjId=af0890dd-f87e-4dca-8b22-bab1b6a13404, nodeId8=af0890dd, msg=null,
type=JOB_STARTED, tstamp=1453208808959], CheckpointEvent [cpKey=testCheckpoint, nodeId8=af0890dd,
msg=Checkpoint saved: testCheckpoint, type=CHECKPOINT_SAVED, tstamp=1453208808959], CheckpointEvent
[cpKey=testCheckpoint, nodeId8=af0890dd, msg=Checkpoint removed: testCheckpoint, type=CHECKPOINT_REMOVED,
tstamp=1453208808959], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, jobId=063ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404,
taskNode=TcpDiscoveryNode [id=af0890dd-f87e-4dca-8b22-bab1b6a13404, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453208807679, loc=true, ver=1.5.1#20160119-sha1:09c1d5e4,
isClient=false], taskSubjId=af0890dd-f87e-4dca-8b22-bab1b6a13404, nodeId8=af0890dd, msg=null,
type=JOB_FINISHED, tstamp=1453208808959], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, jobId=063ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404,
taskNode=TcpDiscoveryNode [id=af0890dd-f87e-4dca-8b22-bab1b6a13404, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453208807679, loc=true, ver=1.5.1#20160119-sha1:09c1d5e4,
isClient=false], taskSubjId=af0890dd-f87e-4dca-8b22-bab1b6a13404, nodeId8=af0890dd, msg=Job
got resulted with: WAIT, type=JOB_RESULTED, tstamp=1453208808959], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, internal=false, subjId=af0890dd-f87e-4dca-8b22-bab1b6a13404,
nodeId8=af0890dd, msg=Task reduced., type=TASK_REDUCED, tstamp=1453208808959], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=e53ddf95251-af0890dd-f87e-4dca-8b22-bab1b6a13404, internal=false, subjId=af0890dd-f87e-4dca-8b22-bab1b6a13404,
nodeId8=af0890dd, msg=Task finished., type=TASK_FINISHED, tstamp=1453208808959]]]
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.assertEvent(GridEventStorageCheckAllEventsSelfTest.java:112)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.testSuccessTask(GridEventStorageCheckAllEventsSelfTest.java:184)
>     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:1699)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:116)
>     at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1637)
>     at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Rare fail of GridEventStorageCheckAllEventsSelfTest.testFailTask
> {noformat}
> ------- Stderr: -------
> [19:40:28,931][ERROR][pub-#13981%internal.GridEventStorageCheckAllEventsSelfTest%][GridJobWorker]
Failed to execute job due to unexpected runtime exception [jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
dep=GridDeployment [ts=1453146028896, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'},
clsLdrId=9e5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, userVer=0, loc=true, sampleClsName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, startTime=1453146028927, endTime=9223372036854775807,
taskNodeId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, clsLdr=IsolatedClassLoader{roleName='test'},
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=2, fullSup=true, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1453146028927,
endTime=1453146028927, ignoreInterrupts=false, lsnr=null, state=DONE]]], jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e]]
> java.lang.RuntimeException: GridAllEventsFailTestJob expected test exception.
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob.execute(GridEventStorageCheckAllEventsSelfTest.java:413)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob.execute(GridEventStorageCheckAllEventsSelfTest.java:410)
>     at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:509)
>     at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6407)
>     at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:503)
>     at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:456)
>     at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> [19:40:28,933][ERROR][test-runner-#14053%internal.GridEventStorageCheckAllEventsSelfTest%][GridTaskWorker]
Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will
fail the whole task): GridJobResultImpl [job=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob@16f212b0,
sib=GridJobSiblingImpl [sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
nodeId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, isJobDone=false], jobCtx=GridJobContextImpl [jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
timeoutObj=null, attrs={}], node=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467,
loc=true, ver=1.5.1#20160118-sha1:67791457, isClient=false], ex=class o.a.i.compute.ComputeUserUndeclaredException:
Failed to execute job due to unexpected runtime exception [jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
dep=GridDeployment [ts=1453146028896, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'},
clsLdrId=9e5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, userVer=0, loc=true, sampleClsName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
pendingUndeploy=false, undeployed=false, usage=2], taskClsName=o.a.i.i.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, startTime=1453146028927, endTime=9223372036854775807,
taskNodeId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, clsLdr=IsolatedClassLoader{roleName='test'},
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=2, fullSup=true, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1453146028927,
endTime=1453146028927, ignoreInterrupts=false, lsnr=null, state=DONE]]], jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e]],
hasRes=true, isCancelled=false, isOccupied=true]
> class org.apache.ignite.IgniteException: Remote job threw user exception (override or
implement ComputeTask.result(..) method if you would like to have automatic failover for this
exception).
>     at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:101)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:909)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:902)
>     at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6439)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:902)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:798)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker.processDelayedResponses(GridTaskWorker.java:656)
>     at org.apache.ignite.internal.processors.task.GridTaskWorker.body(GridTaskWorker.java:507)
>     at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>     at org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:678)
>     at org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:447)
>     at org.apache.ignite.internal.IgniteComputeImpl.execute(IgniteComputeImpl.java:151)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.generateEvents(GridEventStorageCheckAllEventsSelfTest.java:342)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.testFailTask(GridEventStorageCheckAllEventsSelfTest.java:196)
>     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:1699)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:116)
>     at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1637)
>     at java.lang.Thread.run(Thread.java:745)
> Caused by: class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to
execute job due to unexpected runtime exception [jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
dep=GridDeployment [ts=1453146028896, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'},
clsLdrId=9e5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, startTime=1453146028927, endTime=9223372036854775807,
taskNodeId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, clsLdr=IsolatedClassLoader{roleName='test'},
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=2, fullSup=true, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1453146028927,
endTime=1453146028927, ignoreInterrupts=false, lsnr=null, state=DONE]]], jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e]]
>     at org.apache.ignite.internal.processors.job.GridJobWorker.handleThrowable(GridJobWorker.java:607)
>     at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:551)
>     at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:456)
>     at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     ... 1 more
> Caused by: java.lang.RuntimeException: GridAllEventsFailTestJob expected test exception.
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob.execute(GridEventStorageCheckAllEventsSelfTest.java:413)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob.execute(GridEventStorageCheckAllEventsSelfTest.java:410)
>     at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:509)
>     at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6407)
>     at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:503)
>     ... 5 more
> [19:40:28,943][ERROR][main][root] Test failed.
> java.lang.AssertionError: Invalid event [evtType=48, expectedType=41, evts=[TaskEvent
[taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, internal=false, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
nodeId8=df9117ef, msg=Task started., type=TASK_STARTED, tstamp=1453146028927], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
taskNode=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467, loc=true, ver=1.5.1#20160118-sha1:67791457,
isClient=false], taskSubjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, nodeId8=df9117ef, msg=Job
got mapped., type=JOB_MAPPED, tstamp=1453146028927], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
taskNode=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467, loc=true, ver=1.5.1#20160118-sha1:67791457,
isClient=false], taskSubjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, nodeId8=df9117ef, msg=Job
got queued for computation., type=JOB_QUEUED, tstamp=1453146028927], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
taskNode=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467, loc=true, ver=1.5.1#20160118-sha1:67791457,
isClient=false], taskSubjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, nodeId8=df9117ef, msg=null,
type=JOB_STARTED, tstamp=1453146028927], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
taskNode=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467, loc=true, ver=1.5.1#20160118-sha1:67791457,
isClient=false], taskSubjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, nodeId8=df9117ef, msg=Job
failed due to exception [ex=class org.apache.ignite.compute.ComputeUserUndeclaredException:
Failed to execute job due to unexpected runtime exception [jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
dep=GridDeployment [ts=1453146028896, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'},
clsLdrId=9e5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, startTime=1453146028927, endTime=9223372036854775807,
taskNodeId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, clsLdr=IsolatedClassLoader{roleName='test'},
closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=2, fullSup=true, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=2, res=null, startTime=1453146028927,
endTime=1453146028927, ignoreInterrupts=false, lsnr=null, state=DONE]]], jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e]],
job=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsFailTestJob@16f212b0],
type=JOB_FAILED, tstamp=1453146028927], JobEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, jobId=de5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
taskNode=TcpDiscoveryNode [id=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1453146027467, loc=true, ver=1.5.1#20160118-sha1:67791457,
isClient=false], taskSubjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e, nodeId8=df9117ef, msg=Job
got resulted with: null, type=JOB_RESULTED, tstamp=1453146028927], TaskEvent [taskName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
taskClsName=org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest$GridAllEventsTestTask,
sesId=be5bf365251-df9117ef-9ddb-46c4-9ef4-16c32d349f6e, internal=false, subjId=df9117ef-9ddb-46c4-9ef4-16c32d349f6e,
nodeId8=df9117ef, msg=Task failed., type=TASK_FAILED, tstamp=1453146028927]]]
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.assertEvent(GridEventStorageCheckAllEventsSelfTest.java:112)
>     at org.apache.ignite.internal.GridEventStorageCheckAllEventsSelfTest.testFailTask(GridEventStorageCheckAllEventsSelfTest.java:213)
>     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:1699)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:116)
>     at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1637)
>     at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message