ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3141) IgnitePartitionedLockSelfTest fails on TC
Date Mon, 16 May 2016 08:44:12 GMT
Semen Boikov created IGNITE-3141:
------------------------------------

             Summary: IgnitePartitionedLockSelfTest fails on TC
                 Key: IGNITE-3141
                 URL: https://issues.apache.org/jira/browse/IGNITE-3141
             Project: Ignite
          Issue Type: Bug
          Components: data structures
            Reporter: Semen Boikov
            Priority: Critical
             Fix For: 1.7


IgnitePartitionedLockSelfTest fails from time to time on TC.

Example of failed run:
http://149.202.210.143:8111/viewLog.html?buildId=243004&tab=buildResultsDiv&buildTypeId=IgniteTests_IgniteBinaryObjectsDataStrucutures

IgnitePartitionedLockSelfTest.testConditionAwaitUninterruptibly. Hang:	
{noformat}
Thread [name="test-runner-#116519%partitioned.IgnitePartitionedLockSelfTest%", id=155625,
state=WAITING, blockCnt=0, waitCnt=6]
    Lock [object=o.a.i.i.util.future.GridCompoundFuture@4b9dffc6, ownerName=null, ownerId=-1]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
        at o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:159)
        at o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:117)
        at o.a.i.i.processors.cache.datastructures.IgniteLockAbstractSelfTest.testConditionAwaitUninterruptibly(IgniteLockAbstractSelfTest.java:1233)
        at o.a.i.i.processors.cache.datastructures.IgniteLockAbstractSelfTest.testConditionAwaitUninterruptibly(IgniteLockAbstractSelfTest.java:1158)
        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 o.a.i.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1760)
        at o.a.i.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:118)
        at o.a.i.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1698)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

IgnitePartitionedLockSelfTest.testConditionInterruptAwait
{noformat}
junit.framework.AssertionFailedError: null
    at junit.framework.Assert.fail(Assert.java:55)
    at junit.framework.Assert.assertTrue(Assert.java:22)
    at junit.framework.Assert.assertFalse(Assert.java:39)
    at junit.framework.Assert.assertFalse(Assert.java:47)
    at junit.framework.TestCase.assertFalse(TestCase.java:219)
    at org.apache.ignite.internal.processors.cache.datastructures.IgniteLockAbstractSelfTest.testConditionInterruptAwait(IgniteLockAbstractSelfTest.java:1260)
    at org.apache.ignite.internal.processors.cache.datastructures.IgniteLockAbstractSelfTest.testConditionInterruptAwait(IgniteLockAbstractSelfTest.java:1247)
    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:1760)
    at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:118)
    at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1698)
{noformat}

IgnitePartitionedLockSelfTest.testHasConditionQueuedThreads:
{noformat}
junit.framework.AssertionFailedError: null
    at junit.framework.Assert.fail(Assert.java:55)
    at junit.framework.Assert.assertTrue(Assert.java:22)
    at junit.framework.Assert.assertFalse(Assert.java:39)
    at junit.framework.Assert.assertFalse(Assert.java:47)
    at junit.framework.TestCase.assertFalse(TestCase.java:219)
    at org.apache.ignite.internal.processors.cache.datastructures.IgniteLockAbstractSelfTest.testHasConditionQueuedThreads(IgniteLockAbstractSelfTest.java:1416)
    at org.apache.ignite.internal.processors.cache.datastructures.IgniteLockAbstractSelfTest.testHasConditionQueuedThreads(IgniteLockAbstractSelfTest.java:1403)
    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:1760)
    at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:118)
    at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1698)
    at java.lang.Thread.run(Thread.java:745)
{noformat}

Also several times observed suite hang, looks like thread fall in some infinite loop during
interuption, see lots of 'Thread is interrupted while attempting to acquire lock' messages
in the log.
{noformat}
[11:11:08] :		 [org.apache.ignite:ignite-core] [08:11:08,180][INFO ][partitioned.IgnitePartitionedLockSelfTest-2][GridCacheLockImpl]
<ignite-atomics-sys-cache> Thread is interrupted while attempting to acquire lock.
[11:11:08] :		 [org.apache.ignite:ignite-core] [08:11:08,181][INFO ][partitioned.IgnitePartitionedLockSelfTest-2][GridCacheLockImpl]
<ignite-atomics-sys-cache> Thread is interrupted while attempting to acquire lock.
[11:11:08] :		 [org.apache.ignite:ignite-core] [08:11:08,181][INFO ][partitioned.IgnitePartitionedLockSelfTest-2][GridCacheLockImpl]
<ignite-atomics-sys-cache> Thread is interrupted while attempting to acquire lock.
[11:11:08] :		 [org.apache.ignite:ignite-core] [08:11:08,181][INFO ][partitioned.IgnitePartitionedLockSelfTest-2][GridCacheLockImpl]
<ignite-atomics-sys-cache> Thread is interrupted while attempting to acquire lock.
{noformat}

http://149.202.210.143:8111/viewLog.html?buildId=243424&buildTypeId=IgniteTests_IgniteDataStrucutures&tab=buildResultsDiv

I commented out test in the IgniteCacheDataStructuresSelfTestSuite, please return it back
when issue is fixed.



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

Mime
View raw message