Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1496

PartitionAndMerge tests on org.infinispan.partitionhandling key locking failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.2 ER3
    • JDG 7.2 ER2
    • TestSuite
    • None
    • ER3

      All tests fail with a very similar errors:
      PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartitionWithDiscard
      java.lang.AssertionError: Expected key 'MagicKey#k1

      {1A21/87888FEB/115@PessimisticTxPartitionAndMergeDuringPrepareTest-NodeV-20227}

      ' to be locked on cache 'Cache 'pes-cache'@PessimisticTxPartitionAndMergeDuringPrepareTest-NodeV-20227'
      at org.infinispan.test.AbstractCacheTest.assertLocked(AbstractCacheTest.java:86)
      at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringPrepareTest.checkLocksDuringPartition(PessimisticTxPartitionAndMergeDuringPrepareTest.java:75)
      at org.infinispan.partitionhandling.BasePessimisticTxPartitionAndMergeTest.doTest(BasePessimisticTxPartitionAndMergeTest.java:79)
      at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartitionWithDiscard(PessimisticTxPartitionAndMergeDuringPrepareTest.java:41)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      OptimisticTxPartitionAndMergeDuringRollbackTest.testOriginatorIsolatedPartitionWithDiscard
      java.lang.AssertionError: Expected key 'MagicKey#k2

      {1940/06F6AF9C/15@OptimisticTxPartitionAndMergeDuringRollbackTest-NodeO-20123}

      ' to be locked on cache 'Cache 'opt-cache'@OptimisticTxPartitionAndMergeDuringRollbackTest-NodeO-20123'
      at org.infinispan.test.AbstractCacheTest.assertLocked(AbstractCacheTest.java:86)
      at org.infinispan.partitionhandling.OptimisticTxPartitionAndMergeDuringRollbackTest.checkLocksDuringPartition(OptimisticTxPartitionAndMergeDuringRollbackTest.java:84)
      at org.infinispan.partitionhandling.BaseOptimisticTxPartitionAndMergeTest.doTest(BaseOptimisticTxPartitionAndMergeTest.java:80)
      at org.infinispan.partitionhandling.OptimisticTxPartitionAndMergeDuringRollbackTest.testOriginatorIsolatedPartitionWithDiscard(OptimisticTxPartitionAndMergeDuringRollbackTest.java:33)
      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:748)

      Additional tests with very similar failures:
      PessimisticTxPartitionAndMergeDuringPrepareTest.testPrimaryOwnerIsolatedPartition
      PessimisticTxPartitionAndMergeDuringRollbackTest.testOriginatorIsolatedPartitionWithDiscard
      OptimisticTxPartitionAndMergeDuringCommitTest.testOriginatorIsolatedPartition
      OptimisticTxPartitionAndMergeDuringCommitTest.testOriginatorIsolatedPartitionWithDiscard

            pruivo@redhat.com Pedro Ruivo
            zhostasa_jira Zdenek Hostasa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: