Sebastian Łaskawiec created ISPN-6871:
-----------------------------------------
Summary: DistWriteSkewAtomicMapAPITest.testWriteSkewOnBackupOwner fails
Key: ISPN-6871
URL:
https://issues.jboss.org/browse/ISPN-6871
Project: Infinispan
Issue Type: Bug
Reporter: Sebastian Łaskawiec
Assignee: Pedro Ruivo
http://ci.infinispan.org/viewLog.html?buildId=41169&tab=buildResultsD...
{code}
org.infinispan.commons.CacheException: Could not commit implicit transaction
at org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1738)
at
org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1692)
at org.infinispan.cache.impl.CacheImpl.putIfAbsentInternal(CacheImpl.java:1262)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1250)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1783)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:276)
at org.infinispan.atomic.impl.AtomicHashMap.newInstance(AtomicHashMap.java:65)
at org.infinispan.atomic.AtomicMapLookup.getMap(AtomicMapLookup.java:104)
at org.infinispan.atomic.AtomicMapLookup.getAtomicMap(AtomicMapLookup.java:69)
at
org.infinispan.atomic.DistWriteSkewAtomicMapAPITest.doWriteSkewTest(DistWriteSkewAtomicMapAPITest.java:66)
at
org.infinispan.atomic.DistWriteSkewAtomicMapAPITest.testWriteSkewOnBackupOwner(DistWriteSkewAtomicMapAPITest.java:37)
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
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit
transaction.
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1212)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1735)
... 30 more
Suppressed: javax.transaction.xa.XAException
at
org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:149)
at
org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:112)
at
org.infinispan.transaction.xa.XaTransactionTable.commit(XaTransactionTable.java:124)
at
org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:68)
at
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:698)
at
com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2364)
at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1518)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:96)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1200)
... 32 more
Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for
DistWriteSkewAtomicMapAPITest-NodeA-40525
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:822)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$305(JGroupsTransport.java:662)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport$$Lambda$111/268062080.apply(Unknown
Source)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1954)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:16)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
... 3 more
------- Stdout: -------
11:53:36,435 ERROR (testng-ThreeWaySplitAndMergeTest) [InvocationContextInterceptor]
ISPN000136: Error executing command GetKeyValueCommand, writing keys []
org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key
'MagicKey#k0{a697a9f1/88@ThreeWaySplitAndMergeTest-NodeA-52770}' is not available.
Not all owners are in this partition
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:246)
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkRead(PartitionHandlingManagerImpl.java:98)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.postOperationPartitionCheck(PartitionHandlingInterceptor.java:188)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.lambda$handleDataReadCommand$401(PartitionHandlingInterceptor.java:145)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor$$Lambda$1701/122466761.handle(Unknown
Source)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlerSync(BaseAsyncInvocationContext.java:493)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlersSync(BaseAsyncInvocationContext.java:125)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.forkInvocationSync(BaseAsyncInvocationContext.java:99)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeForkAndHandlerSync(BaseAsyncInvocationContext.java:474)11:53:36,436
ERROR (testng-ThreeWaySplitAndMergeTest) [InvocationContextInterceptor] ISPN000136: Error
executing command GetKeyValueCommand, writing keys []
org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key
'MagicKey#k1{eb4513c3/27@ThreeWaySplitAndMergeTest-NodeB-40451}' is not available.
Not all owners are in this partition
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:246)
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkRead(PartitionHandlingManagerImpl.java:98)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.postOperationPartitionCheck(PartitionHandlingInterceptor.java:188)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.lambda$handleDataReadCommand$401(PartitionHandlingInterceptor.java:145)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor$$Lambda$1701/122466761.handle(Unknown
Source)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlerSync(BaseAsyncInvocationContext.java:493)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlersSync(BaseAsyncInvocationContext.java:125)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.forkInvocationSync(BaseAsyncInvocationContext.java:99)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeForkAndHandlerSync(BaseAsyncInvocationContext.java:474)11:53:36,437
ERROR (testng-ThreeWaySplitAndMergeTest) [InvocationContextInterceptor] ISPN000136: Error
executing command GetKeyValueCommand, writing keys []
org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key
'MagicKey#k2{51fd7465/232@ThreeWaySplitAndMergeTest-NodeC-63852}' is not
available. Not all owners are in this partition
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:246)
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkRead(PartitionHandlingManagerImpl.java:98)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.postOperationPartitionCheck(PartitionHandlingInterceptor.java:188)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.lambda$handleDataReadCommand$401(PartitionHandlingInterceptor.java:145)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor$$Lambda$1701/122466761.handle(Unknown
Source)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlerSync(BaseAsyncInvocationContext.java:493)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlersSync(BaseAsyncInvocationContext.java:125)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.forkInvocationSync(BaseAsyncInvocationContext.java:99)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeForkAndHandlerSync(BaseAsyncInvocationContext.java:474)11:53:36,438
ERROR (testng-ThreeWaySplitAndMergeTest) [InvocationContextInterceptor] ISPN000136: Error
executing command GetKeyValueCommand, writing keys []
org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key
'MagicKey#null{3c463361/54@ThreeWaySplitAndMergeTest-NodeD-12108}' is not
available. Not all owners are in this partition
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:246)
at
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkRead(PartitionHandlingManagerImpl.java:98)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.postOperationPartitionCheck(PartitionHandlingInterceptor.java:188)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.lambda$handleDataReadCommand$401(PartitionHandlingInterceptor.java:145)
at
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor$$Lambda$1701/122466761.handle(Unknown
Source)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlerSync(BaseAsyncInvocationContext.java:493)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeReturnHandlersSync(BaseAsyncInvocationContext.java:125)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.forkInvocationSync(BaseAsyncInvocationContext.java:99)
at
org.infinispan.interceptors.impl.BaseAsyncInvocationContext.invokeForkAndHandlerSync(BaseAsyncInvocationContext.java:474)11:53:36,465
ERROR (testng-DistWriteSkewAtomicMapAPITest) [InvocationContextInterceptor] ISPN000136:
Error executing command VersionedPrepareCommand, writing keys
[MagicKey#null{4985d761/246@DistWriteSkewAtomicMapAPITest-NodeA-40525}]
org.infinispan.util.concurrent.TimeoutException: Replication timeout for
DistWriteSkewAtomicMapAPITest-NodeA-40525
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:822)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$305(JGroupsTransport.java:662)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport$$Lambda$111/268062080.apply(Unknown
Source)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1954)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:16)11:53:36,477
ERROR (testng-DistWriteSkewAtomicMapAPITest) [TransactionCoordinator] ISPN000255: Error
while processing prepare
org.infinispan.util.concurrent.TimeoutException: Replication timeout for
DistWriteSkewAtomicMapAPITest-NodeA-40525
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:822)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$305(JGroupsTransport.java:662)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport$$Lambda$111/268062080.apply(Unknown
Source)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
at
java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1954)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47)
at
org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:16)[TestSuiteProgress]
Test failed:
org.infinispan.atomic.DistWriteSkewAtomicMapAPITest.testWriteSkewOnBackupOwner
11:53:36,484 ERROR (testng-DistWriteSkewAtomicMapAPITest) [TestSuiteProgress] Test failed:
org.infinispan.atomic.DistWriteSkewAtomicMapAPITest.testWriteSkewOnBackupOwner
org.infinispan.commons.CacheException: Could not commit implicit transaction
at org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1738)
at
org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1692)
at org.infinispan.cache.impl.CacheImpl.putIfAbsentInternal(CacheImpl.java:1262)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1250)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:1783)
at org.infinispan.cache.impl.CacheImpl.putIfAbsent(CacheImpl.java:276)
at org.infinispan.atomic.impl.AtomicHashMap.newInstance(AtomicHashMap.java:65)
at org.infinispan.atomic.AtomicMapLookup.getMap(AtomicMapLookup.java:104)
at
org.infinispan.atomic.AtomicMapLookup.getAtomicMap(AtomicMapLookup.java:69)[TestSuiteProgress]
Tests succeeded: 6717, failed: 1, skipped: 0
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)