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

Test ClusteredCacheWithLongIndexNameTest.testAdditionOfNewNode fails randomly on RHEL

    XMLWordPrintable

Details

    Description

      Description of failure please look in following jobs with different JDKs

      org.infinispan.commons.CacheException: Could not prepare.
              at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:46)
              at org.infinispan.transaction.tm.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:210)
              at org.infinispan.transaction.tm.DummyTransaction.runPrepare(DummyTransaction.java:224)
              at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:64)
              at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:80)
              at org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1532)
              at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1489)
              at org.infinispan.cache.impl.CacheImpl.putInternal(CacheImpl.java:960)
              at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:952)
              at org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:403)
              at org.infinispan.registry.impl.ClusterRegistryImpl.put(ClusterRegistryImpl.java:69)
              at org.infinispan.query.backend.ReadIntensiveClusterRegistryWrapper.put(ReadIntensiveClusterRegistryWrapper.java:66)
              at org.infinispan.query.backend.QueryInterceptor.enableClassesIncrementally(QueryInterceptor.java:278)
              at org.infinispan.query.backend.QueryInterceptor.updateKnownTypesIfNeeded(QueryInterceptor.java:313)
              at org.infinispan.query.backend.QueryInterceptor.processPutKeyValueCommand(QueryInterceptor.java:518)
              at org.infinispan.query.backend.QueryInterceptor.visitPutKeyValueCommand(QueryInterceptor.java:161)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:46)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:33)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:33)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:166)
              at org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:95)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:148)
              at org.infinispan.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:134)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:111)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:74)
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:33)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:333)
              at org.infinispan.commands.remote.BaseRpcInvokingCommand.processVisitableCommand(BaseRpcInvokingCommand.java:39)
              at org.infinispan.commands.remote.SingleRpcCommand.perform(SingleRpcCommand.java:48)
              at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:95)
              at org.infinispan.remoting.InboundInvocationHandlerImpl.access$000(InboundInvocationHandlerImpl.java:50)
              at org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:181)
              at org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:181)
              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.xa.XAException
              at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:141)
              at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:104)
              at org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(SynchronizationAdapter.java:44)
              ... 49 more
      Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredCacheWithLongIndexNameTest-NodeA-60170, see cause for remote stack trace
              at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:41)
              at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndAddToResponseList(AbstractTransport.java:66)
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:561)
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:281)
              at org.infinispan.interceptors.distribution.TxDistributionInterceptor.prepareOnAffectedNodes(TxDistributionInterceptor.java:213)
              at org.infinispan.interceptors.distribution.TxDistributionInterceptor.visitPrepareCommand(TxDistributionInterceptor.java:197)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:109)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:78)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:87)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:36)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:124)
              at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:111)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:42)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:217)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:147)
              at org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:75)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:111)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:74)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:333)
              at org.infinispan.transaction.impl.TransactionCoordinator.prepare(TransactionCoordinator.java:121)
              ... 51 more
      Caused by: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key org.infinispan.registry.ScopedKey@21631eb7 and requestor GlobalTransaction:<ClusteredCacheWithLongIndexNameTest-NodeB-51377>:8589:remote. Lock is held by GlobalTransaction:<ClusteredCacheWithLongIndexNameTest-NodeA-60170>:8588:local, while request came from ClusteredCacheWithLongIndexNameTest-NodeB-51377
              at org.infinispan.util.concurrent.locks.LockManagerImpl.lock(LockManagerImpl.java:198)
              at org.infinispan.util.concurrent.locks.LockManagerImpl.acquireLock(LockManagerImpl.java:171)
              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockKeyAndCheckOwnership(AbstractTxLockingInterceptor.java:169)
              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockAndRegisterBackupLock(AbstractTxLockingInterceptor.java:98)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor$LockAcquisitionVisitor.lockAndRecord(OptimisticLockingInterceptor.java:211)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor$LockAcquisitionVisitor.visitSingleKeyCommand(OptimisticLockingInterceptor.java:206)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor$LockAcquisitionVisitor.visitPutKeyValueCommand(OptimisticLockingInterceptor.java:199)
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:71)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.acquireLocksVisitingCommands(OptimisticLockingInterceptor.java:270)
              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:75)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:36)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:124)
              at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:111)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:39)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:217)
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:147)
              at org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:75)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:111)
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:74)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
              at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:58)
              at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:97)
              at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:333)
              at org.infinispan.commands.tx.PrepareCommand.perform(PrepareCommand.java:114)
              ... 6 more
      [testng-ClusteredCacheWithLongIndexNameTest] Test testAdditionOfNewNode(org.infinispan.query.blackbox.ClusteredCacheWithLongIndexNameTest) failed.
      

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes
              vchepeli_jira Vitalii Chepeliuk (Inactive)
              Vitalii Chepeliuk Vitalii Chepeliuk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: