Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1824

IgniteCacheTxNearPeekModesTest.testLocalPeek fails on TC sometimes.

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:

      Description

      IgniteCacheTxNearPeekModesTest.testLocalPeek fails on TC sometimes.

      Logs

      junit.framework.ComparisonFailure: expected:<test_value> but was:<null>
          at junit.framework.Assert.assertEquals(Assert.java:100)
          at junit.framework.Assert.assertEquals(Assert.java:107)
          at junit.framework.TestCase.assertEquals(TestCase.java:269)
          at org.apache.ignite.internal.processors.cache.IgniteCachePeekModesAbstractTest.checkStorage(IgniteCachePeekModesAbstractTest.java:354)
          at org.apache.ignite.internal.processors.cache.IgniteCachePeekModesAbstractTest.testLocalPeek(IgniteCachePeekModesAbstractTest.java:142)
          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:601)
          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)
      ------- Stdout: -------
      [17:38:54,870][INFO ][main][root] >>> Starting test: testLocalPeek <<<
      [17:38:54,935][INFO ][test-runner][root] Keys [swap=65, offheap=5, heap=30]
      [17:38:55,023][INFO ][test-runner][root] Keys [swap=64, offheap=5, heap=31]
      [17:38:55,043][INFO ][main][root] >>> Stopping test: testLocalPeek in 173 ms <<<
      [17:38:55,043][INFO ][main][root] >>> Stopping test class: IgniteCacheTxNearPeekModesTest <<<
      [17:38:55,044][INFO ][main][root] >>> Stopping grid [name=cache.IgniteCacheTxNearPeekModesTest3, id=30867bb9-d01f-4435-b1e2-2ddd2195d003]
      [17:38:55,051][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=30867bb9-d01f-4435-b1e2-2ddd2195d003, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, lastExchangeTime=1446215930223, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,051][INFO ][main][GridCacheProcessor] Stopped cache: null
      [17:38:55,052][INFO ][main][GridCacheProcessor] Stopped cache: ignite-marshaller-sys-cache
      [17:38:55,052][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Topology snapshot [ver=5, servers=3, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,052][INFO ][main][GridCacheProcessor] Stopped cache: ignite-sys-cache
      [17:38:55,052][INFO ][main][GridCacheProcessor] Stopped cache: ignite-atomics-sys-cache
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1446215930365, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'}, clsLdrId=51c1979b051-30867bb9-d01f-4435-b1e2-2ddd2195d003, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=true, usage=0]
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Task locally undeployed: class org.apache.ignite.internal.processors.cache.GridCacheAdapter$SizeTask
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class java.lang.Integer
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap$Map3
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
      [17:38:55,057][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ResendTimeoutObject$1
      [17:38:55,060][INFO ][disco-event-worker-#7436%cache.IgniteCacheTxNearPeekModesTest2%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=30867bb9-d01f-4435-b1e2-2ddd2195d003, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, lastExchangeTime=1446215930243, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,060][INFO ][disco-event-worker-#7436%cache.IgniteCacheTxNearPeekModesTest2%][GridDiscoveryManager] Topology snapshot [ver=5, servers=3, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,064][INFO ][disco-event-worker-#7438%cache.IgniteCacheTxNearPeekModesTest1%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=30867bb9-d01f-4435-b1e2-2ddd2195d003, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, lastExchangeTime=1446215930253, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,064][INFO ][disco-event-worker-#7438%cache.IgniteCacheTxNearPeekModesTest1%][GridDiscoveryManager] Topology snapshot [ver=5, servers=3, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,070][INFO ][main][IgniteCacheTxNearPeekModesTest3] 
      
      >>> +-----------------------------------------------------+
      >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
      >>> +-----------------------------------------------------+
      >>> Grid name: cache.IgniteCacheTxNearPeekModesTest3
      >>> Grid uptime: 00:00:04:682
      
      
      [17:38:55,075][INFO ][main][root] >>> Stopping grid [name=cache.IgniteCacheTxNearPeekModesTest2, id=20563c5e-1180-46e1-8a6c-19f4b10ce002]
      [17:38:55,082][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=20563c5e-1180-46e1-8a6c-19f4b10ce002, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=3, intOrder=3, lastExchangeTime=1446215930223, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,083][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Topology snapshot [ver=6, servers=2, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,084][INFO ][main][GridCacheProcessor] Stopped cache: null
      [17:38:55,084][INFO ][main][GridCacheProcessor] Stopped cache: ignite-marshaller-sys-cache
      [17:38:55,084][INFO ][main][GridCacheProcessor] Stopped cache: ignite-sys-cache
      [17:38:55,084][INFO ][main][GridCacheProcessor] Stopped cache: ignite-atomics-sys-cache
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1446215930385, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'}, clsLdrId=88c1979b051-20563c5e-1180-46e1-8a6c-19f4b10ce002, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=true, usage=0]
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Task locally undeployed: class org.apache.ignite.internal.processors.cache.GridCacheAdapter$SizeTask
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class java.lang.Integer
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap$Map3
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ResendTimeoutObject$1
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.GridTopic$T7
      [17:38:55,085][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.task.GridTaskProcessor$TaskDiscoveryListener$1
      [17:38:55,089][INFO ][main][IgniteCacheTxNearPeekModesTest2] 
      
      >>> +-----------------------------------------------------+
      >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
      >>> +-----------------------------------------------------+
      >>> Grid name: cache.IgniteCacheTxNearPeekModesTest2
      >>> Grid uptime: 00:00:04:671
      
      
      [17:38:55,090][INFO ][main][root] >>> Stopping grid [name=cache.IgniteCacheTxNearPeekModesTest1, id=10601738-b6de-445a-91f4-e95971af9001]
      [17:38:55,092][INFO ][disco-event-worker-#7438%cache.IgniteCacheTxNearPeekModesTest1%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=20563c5e-1180-46e1-8a6c-19f4b10ce002, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=3, intOrder=3, lastExchangeTime=1446215930253, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,092][INFO ][disco-event-worker-#7438%cache.IgniteCacheTxNearPeekModesTest1%][GridDiscoveryManager] Topology snapshot [ver=6, servers=2, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,099][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=10601738-b6de-445a-91f4-e95971af9001, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47503], discPort=47503, order=4, intOrder=4, lastExchangeTime=1446215930233, loc=false, ver=1.5.0#19700101-sha1:00000000, isClient=false]
      [17:38:55,100][INFO ][disco-event-worker-#7412%cache.IgniteCacheTxNearPeekModesTest0%][GridDiscoveryManager] Topology snapshot [ver=7, servers=1, clients=0, CPUs=4, heap=3.6GB]
      [17:38:55,104][INFO ][main][GridCacheProcessor] Stopped cache: null
      [17:38:55,104][INFO ][main][GridCacheProcessor] Stopped cache: ignite-marshaller-sys-cache
      [17:38:55,104][INFO ][main][GridCacheProcessor] Stopped cache: ignite-sys-cache
      [17:38:55,104][INFO ][main][GridCacheProcessor] Stopped cache: ignite-atomics-sys-cache
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1446215930405, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'}, clsLdrId=03e1979b051-10601738-b6de-445a-91f4-e95971af9001, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=true, usage=0]
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Task locally undeployed: class org.apache.ignite.internal.processors.cache.GridCacheAdapter$SizeTask
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class java.lang.Integer
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap$Map3
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ResendTimeoutObject$1
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.GridTopic$T7
      [17:38:55,105][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.task.GridTaskProcessor$TaskDiscoveryListener$1
      [17:38:55,109][INFO ][main][IgniteCacheTxNearPeekModesTest1] 
      
      >>> +-----------------------------------------------------+
      >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
      >>> +-----------------------------------------------------+
      >>> Grid name: cache.IgniteCacheTxNearPeekModesTest1
      >>> Grid uptime: 00:00:04:682
      
      
      [17:38:55,110][INFO ][main][root] >>> Stopping grid [name=cache.IgniteCacheTxNearPeekModesTest0, id=00dc7260-6368-4bdd-8740-c44f1dd4c000]
      [17:38:55,120][INFO ][main][GridCacheProcessor] Stopped cache: null
      [17:38:55,121][INFO ][main][GridCacheProcessor] Stopped cache: ignite-marshaller-sys-cache
      [17:38:55,121][INFO ][main][GridCacheProcessor] Stopped cache: ignite-sys-cache
      [17:38:55,121][INFO ][main][GridCacheProcessor] Stopped cache: ignite-atomics-sys-cache
      [17:38:55,122][INFO ][main][GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1446215930355, depMode=SHARED, clsLdr=IsolatedClassLoader{roleName='test'}, clsLdrId=f0c1979b051-00dc7260-6368-4bdd-8740-c44f1dd4c000, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap, pendingUndeploy=false, undeployed=true, usage=0]
      [17:38:55,122][INFO ][main][GridDeploymentLocalStore] Task locally undeployed: class org.apache.ignite.internal.processors.cache.GridCacheAdapter$SizeTask
      [17:38:55,122][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class java.lang.Integer
      [17:38:55,122][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap
      [17:38:55,122][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.util.GridLeanMap$Map3
      [17:38:55,123][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
      [17:38:55,123][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ResendTimeoutObject$1
      [17:38:55,123][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.GridTopic$T7
      [17:38:55,123][INFO ][main][GridDeploymentLocalStore] Class locally undeployed: class org.apache.ignite.internal.processors.task.GridTaskProcessor$TaskDiscoveryListener$1
      [17:38:55,128][INFO ][main][IgniteCacheTxNearPeekModesTest0] 
      
      >>> +-----------------------------------------------------+
      >>> Ignite ver. 1.5.0-SNAPSHOT#19700101-sha1:DEV stopped OK
      >>> +-----------------------------------------------------+
      >>> Grid name: cache.IgniteCacheTxNearPeekModesTest0
      >>> Grid uptime: 00:00:06:859
      ------- Stderr: -------
      [17:38:55,042][ERROR][main][root] Test failed.
      junit.framework.ComparisonFailure: expected:<test_value> but was:<null>
          at junit.framework.Assert.assertEquals(Assert.java:100)
          at junit.framework.Assert.assertEquals(Assert.java:107)
          at junit.framework.TestCase.assertEquals(TestCase.java:269)
          at org.apache.ignite.internal.processors.cache.IgniteCachePeekModesAbstractTest.checkStorage(IgniteCachePeekModesAbstractTest.java:354)
          at org.apache.ignite.internal.processors.cache.IgniteCachePeekModesAbstractTest.testLocalPeek(IgniteCachePeekModesAbstractTest.java:142)
          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:601)
          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)
      

        Attachments

          Activity

            People

            • Assignee:
              ilantukh Ilya Lantukh
              Reporter:
              ashutak Artem Shutak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: