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

IgniteClientCacheStartFailoverTest.testClientStartLastServerFails* fails

    XMLWordPrintableJSON

    Details

      Description

      This is a regression appeared during persistent store migration. Affected tests:

      • testClientStartLastServerFailsTx
      • testClientStartLastServerFailsAtomic
      [2017-07-04 11:46:46,937][ERROR][test-runner-#566%cache.IgniteClientCacheStartFailoverTest%][GridDhtColocatedCache] <default> Failed to rollback transaction (cache may contain stale locks): GridNearTxLocal [mappings=IgniteTxMappingsSingleImpl [mapping=null], nearLocallyMapped=false, colocatedLocallyMapped=false, needCheckBackup=null, hasRemoteLocks=false, thread=test-runner-#566%cache.IgniteClientCacheStartFailoverTest%, mappings=IgniteTxMappingsSingleImpl [mapping=null], super=GridDhtTxLocalAdapter [nearOnOriginatingNode=false, nearNodes=[], dhtNodes=[], explicitLock=false, super=IgniteTxLocalAdapter [completedBase=null, sndTransformedVals=false, depEnabled=false, txState=IgniteTxImplicitSingleStateImpl [init=true, recovery=false], super=IgniteTxAdapter [xidVer=GridCacheVersion [topVer=110637994, order=1499158001738, nodeOrder=4], writeVer=null, implicit=true, loc=true, threadId=696, startTime=1499158006925, nodeId=3088492b-e01e-4bd0-b06b-52e088a00003, startVer=GridCacheVersion [topVer=110637994, order=1499158001738, nodeOrder=4], endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC, timeout=0, sysInvalidate=false, sys=false, plc=2, commitVer=null, finalizing=NONE, invalidParts=null, state=ROLLED_BACK, timedOut=false, topVer=AffinityTopologyVersion [topVer=5, minorTopVer=0], duration=0ms, onePhaseCommit=false], size=1]]]
      class org.apache.ignite.IgniteCheckedException: Failed to commit transaction: GridNearTxLocal[id=a48b7cc0d51-00000000-0698-33aa-0000-000000000004, concurrency=OPTIMISTIC, isolation=READ_COMMITTED, state=ROLLED_BACK, invalidate=false, rollbackOnly=true, nodeId=3088492b-e01e-4bd0-b06b-52e088a00003, duration=0]
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxFinishFuture.finish(GridNearTxFinishFuture.java:423)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.rollbackNearTxLocalAsync(GridNearTxLocal.java:3255)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$10.applyx(GridNearTxLocal.java:2401)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$10.applyx(GridNearTxLocal.java:2383)
      	at org.apache.ignite.internal.util.lang.IgniteClosureX.apply(IgniteClosureX.java:38)
      	at org.apache.ignite.internal.util.future.GridFutureChainListener.applyCallback(GridFutureChainListener.java:78)
      	at org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:70)
      	at org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:30)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:382)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:352)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter$ChainFuture.<init>(GridFutureAdapter.java:556)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter.chain(GridFutureAdapter.java:357)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.optimisticPutFuture(GridNearTxLocal.java:2382)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.putAsync0(GridNearTxLocal.java:623)
      	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.putAsync(GridNearTxLocal.java:386)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$21.op(GridCacheAdapter.java:2337)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$21.op(GridCacheAdapter.java:2335)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.syncOp(GridCacheAdapter.java:4037)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put0(GridCacheAdapter.java:2335)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2316)
      	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2293)
      	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1501)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest$4.call(IgniteClientCacheStartFailoverTest.java:220)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest$4.call(IgniteClientCacheStartFailoverTest.java:218)
      	at org.apache.ignite.testframework.GridTestUtils.assertThrows(GridTestUtils.java:296)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest.clientStartLastServerFails(IgniteClientCacheStartFailoverTest.java:218)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest.testClientStartLastServerFailsTx(IgniteClientCacheStartFailoverTest.java:163)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
      	at java.lang.Thread.run(Thread.java:745)
      
      class org.apache.ignite.IgniteException: Timeout of waiting for topology map update [igniteInstanceName=cache.IgniteClientCacheStartFailoverTest3, cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion [topVer=6, minorTopVer=1], p=0, readVer=AffinityTopologyVersion [topVer=6, minorTopVer=1], locNode=TcpDiscoveryNode [id=3088492b-e01e-4bd0-b06b-52e088a00003, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:0], discPort=0, order=4, intOrder=0, lastExchangeTime=1499158003550, loc=true, ver=2.1.0#19700101-sha1:00000000, isClient=true]]
      
      	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
      	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
      	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest.clientStartLastServerFails(IgniteClientCacheStartFailoverTest.java:237)
      	at org.apache.ignite.internal.processors.cache.IgniteClientCacheStartFailoverTest.testClientStartLastServerFailsTx(IgniteClientCacheStartFailoverTest.java:163)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agoncharuk Alexey Goncharuk
                Reporter:
                vozerov Vladimir Ozerov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: