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

Tests from org.infinispan.partitionhandling fail randomly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • JDG 7.1.0 DR3, JDG 7.1.0 ER3, JDG 7.1.0 ER4, JDG 7.1.0 ER6, JDG 7.1.1 CR1
    • JDG 7.2 ER4
    • TestSuite
    • None
    • JDG Sprint #9

    Description

      Tests from PessimisticTxPartitionAndMergeDuringRuntimeTest and OptimisticTxPartitionAndMergeDuringCommitTest fail with

      java.lang.AssertionError: 
      	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
      	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:170)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:152)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:128)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:462)
      	at org.infinispan.partitionhandling.BaseTxPartitionAndMergeTest.mergeCluster(BaseTxPartitionAndMergeTest.java:90)
      	at org.infinispan.partitionhandling.BasePessimisticTxPartitionAndMergeTest.doTest(BasePessimisticTxPartitionAndMergeTest.java:80)
      	at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringRuntimeTest.testDegradedPartitionWithDiscard(PessimisticTxPartitionAndMergeDuringRuntimeTest.java:21)
      

      std. out:

      05:34:04,582 ERROR (testng-PessimisticTxPartitionAndMergeDuringRuntimeTest) [InvocationContextInterceptor] ISPN000136: Error executing command ClearCommand, writing keys []
      org.infinispan.partitionhandling.AvailabilityException: ISPN000307: Cannot clear when the cluster is partitioned
      	at org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkClear(PartitionHandlingManagerImpl.java:104)
      	at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.visitClearCommand(PartitionHandlingInterceptor.java:96)
      	at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.visitClearCommand(PartitionHandlingInterceptor.java:38)
      	at org.infinispan.commands.write.ClearCommand.acceptVisitor(ClearCommand.java:45)
      	at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:50)
      	at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:52)
      	at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitCommand(TransactionSynchronizerInterceptor.java:42)
      	at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:52)
      

      Not completely sure, but probably related to ISPN-7088.

      In JDG 7.1.0.ER3, there is couple of other tests in this package, which fail randomly:

      • OptimisticTxPartitionAndMergeDuringCommitTest.testOriginatorIsolatedPartitionWithDiscard
      • TwoWaySplitAndMergeTest.testSplitAndMerge0
      • TwoWaySplitAndMergeTest.testSplitAndMerge1
      • TwoWaySplitAndMergeTest.testSplitAndMerge3
      • PessimisticTxPartitionAndMergeDuringPrepareTest.testDegradedPartitionWithDiscard
      • PessimisticTxPartitionAndMergeDuringRollbackTest.testDegradedPartitionWithDiscard
      • OptimisticTxPartitionAndMergeDuringRollbackTest.testSplitBeforeRollback
      • TwoWaySplitAndMergeTest.testSplitAndMerge4
      • OptimisticTxPartitionAndMergeDuringPrepareTest
      • OptimisticTxPartitionAndMergeDuringPrepareTest

      See e.g. this jenkins build for details

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: