Artem Shutak created IGNITE-1756: ------------------------------------ Summary: [Test Failed] GridCacheAtomicOffHeapTieredMultiNodeFullApiSelfTest.testIgniteCacheIterator fails sometimes Key: IGNITE-1756 URL: https://issues.apache.org/jira/browse/IGNITE-1756 Project: Ignite Issue Type: Test Reporter: Artem Shutak Priority: Blocker Fix For: 1.5
GridCacheAtomicOffHeapTieredMultiNodeFullApiSelfTest.testIgniteCacheIterator fails on TC sometimes. {noformat} junit.framework.AssertionFailedError: Iterators not removed for grid 2 expected:<0> but was:<1> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:234) at junit.framework.TestCase.assertEquals(TestCase.java:401) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5240) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5229) at org.apache.ignite.testframework.junits.GridAbstractTest.executeOnLocalOrRemoteJvm(GridAbstractTest.java:1477) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorsCleared(GridCacheAbstractFullApiSelfTest.java:4144) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorEmpty(GridCacheAbstractFullApiSelfTest.java:4170) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.testIgniteCacheIterator(GridCacheAbstractFullApiSelfTest.java:4036) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) 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) ------- Stdout: ------- [17:58:58,214][INFO ][main][root] >>> Starting test: testIgniteCacheIterator <<< [17:58:58,237][INFO ][test-runner][root] Puts finished: 500 [17:58:58,244][INFO ][test-runner][root] Puts finished: 1000 [17:58:58,248][INFO ][test-runner][root] Puts finished: 1500 [17:58:58,256][INFO ][test-runner][root] Puts finished: 2000 [17:58:58,263][INFO ][test-runner][root] Puts finished: 2500 [17:58:58,270][INFO ][test-runner][root] Puts finished: 3000 [17:58:58,275][INFO ][test-runner][root] Puts finished: 3500 [17:58:58,281][INFO ][test-runner][root] Puts finished: 4000 [17:58:58,286][INFO ][test-runner][root] Puts finished: 4500 [17:58:58,290][INFO ][test-runner][root] Puts finished: 5000 [17:58:58,294][INFO ][test-runner][root] Puts finished: 5500 [17:58:58,298][INFO ][test-runner][root] Puts finished: 6000 [17:58:58,303][INFO ][test-runner][root] Puts finished: 6500 [17:58:58,307][INFO ][test-runner][root] Puts finished: 7000 [17:58:58,313][INFO ][test-runner][root] Puts finished: 7500 [17:58:58,318][INFO ][test-runner][root] Puts finished: 8000 [17:58:58,323][INFO ][test-runner][root] Puts finished: 8500 [17:58:58,327][INFO ][test-runner][root] Puts finished: 9000 [17:58:58,334][INFO ][test-runner][root] Puts finished: 9500 [17:58:58,340][INFO ][test-runner][root] Puts finished: 10000 [17:58:58,523][INFO ][test-runner][root] Caught expected exception: null [17:58:58,785][INFO ][test-runner][root] Set iterators not cleared, will wait [17:58:59,286][INFO ][test-runner][root] Set iterators not cleared, will wait [17:58:59,787][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:00,287][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:00,788][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:01,289][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:01,790][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:02,291][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:02,792][INFO ][test-runner][root] Set iterators not cleared, will wait [17:59:03,295][INFO ][main][root] >>> Stopping test: testIgniteCacheIterator in 5080 ms <<< [17:59:03,295][INFO ][main][root] Checking grid: 0 [17:59:03,393][INFO ][main][root] Size after [idx=0, size=0, keySize=0, primarySize=0, globalSize=0, globalPrimarySize=0, entrySet=CacheLocalEntries []] [17:59:03,406][INFO ][main][root] Checking grid: 1 [17:59:03,440][INFO ][main][root] Size after [idx=1, size=0, keySize=0, primarySize=0, globalSize=0, globalPrimarySize=0, entrySet=CacheLocalEntries []] [17:59:03,453][INFO ][main][root] Checking grid: 2 [17:59:03,490][INFO ][main][root] Size after [idx=2, size=0, keySize=0, primarySize=0, globalSize=0, globalPrimarySize=0, entrySet=CacheLocalEntries []] [17:59:03,503][INFO ][main][root] Checking grid: 3 [17:59:03,547][INFO ][main][root] Size after [idx=3, size=0, keySize=0, primarySize=0, globalSize=0, globalPrimarySize=0, entrySet=CacheLocalEntries []] ------- Stderr: ------- [17:59:03,293][ERROR][main][root] Test failed. junit.framework.AssertionFailedError: Iterators not removed for grid 2 expected:<0> but was:<1> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:234) at junit.framework.TestCase.assertEquals(TestCase.java:401) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5240) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest$CheckIteratorTask.call(GridCacheAbstractFullApiSelfTest.java:5229) at org.apache.ignite.testframework.junits.GridAbstractTest.executeOnLocalOrRemoteJvm(GridAbstractTest.java:1477) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorsCleared(GridCacheAbstractFullApiSelfTest.java:4144) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.checkIteratorEmpty(GridCacheAbstractFullApiSelfTest.java:4170) at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.testIgniteCacheIterator(GridCacheAbstractFullApiSelfTest.java:4036) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) 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 (v6.3.4#6332)