Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5471

ConditionalOperationsConcurrentWriteSkewTest random failures

XMLWordPrintable

      The latches in ConditionalOperationsConcurrentWriteSkewTest are volatile, so the waiters should save the latches in local variables before waiting on them.

      java.util.concurrent.ExecutionException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
          at java.util.concurrent.FutureTask.report(FutureTask.java:122)
          at java.util.concurrent.FutureTask.get(FutureTask.java:206)
          at org.infinispan.api.ConditionalOperationsConcurrentWriteSkewTest.doSimpleConcurrentTest(ConditionalOperationsConcurrentWriteSkewTest.java:131)
          at org.infinispan.api.ConditionalOperationsConcurrentWriteSkewTest.testSimpleConcurrentReplace(ConditionalOperationsConcurrentWriteSkewTest.java:62)
      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.api.ConditionalOperationsConcurrentWriteSkewTest$1.call(ConditionalOperationsConcurrentWriteSkewTest.java:94)
          at org.infinispan.api.ConditionalOperationsConcurrentWriteSkewTest$1.call(ConditionalOperationsConcurrentWriteSkewTest.java:89)
          at org.infinispan.test.AbstractInfinispanTest$LoggingCallable.call(AbstractInfinispanTest.java:422)
          ... 4 more
          Suppressed: javax.transaction.xa.XAException
              at org.infinispan.transaction.impl.TransactionCoordinator.handleCommitFailure(TransactionCoordinator.java:213)
              at org.infinispan.transaction.impl.TransactionCoordinator.commitInternal(TransactionCoordinator.java:224)
              at org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:163)
              at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:110)
              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)
              ... 8 more
          Caused by: java.lang.NullPointerException
              at org.infinispan.api.ConditionalOperationsConcurrentWriteSkewTest$CommandInterceptorController.visitCommitCommand(ConditionalOperationsConcurrentWriteSkewTest.java:219)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.VersionedEntryWrappingInterceptor.visitCommitCommand(VersionedEntryWrappingInterceptor.java:67)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:111)
              at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:133)
              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:86)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:43)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:224)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:111)
              at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:133)
              at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitCommitCommand(TransactionSynchronizerInterceptor.java:54)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:207)
              at org.infinispan.statetransfer.StateTransferInterceptor.visitCommitCommand(StateTransferInterceptor.java:100)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:111)
              at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:133)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71)
              at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:133)
              at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:39)
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336)
              at org.infinispan.transaction.impl.TransactionCoordinator.commitInternal(TransactionCoordinator.java:221)
              ... 16 more
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: