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

OptimisticTxPartitionAndMergeDuringRollbackTest.testDegradedPartition random failures

XMLWordPrintable

      Unlike ISPN-5883, this is an issue with the tests themselves. The BasePartitionHandlingTest.Partition.merge(partition) method merges two partitions and waits for the default cache to rebalance with all the members in the merged partition. The test then assumes that all caches have been rebalanced, and fails when that is not true:

      22:16:37,902 ERROR (testng-PessimisticTxPartitionAndMergeDuringRollbackTest:[]) [UnitTestTestNGListener] Test testDegradedPartition(org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringRollbackTest) failed.
      org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key 'MagicKey#k1{bbea31da@NodeB-47846/40}' is not available. Not all owners are in this partition
      	at org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:250) ~[classes/:?]
      	at org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkRead(PartitionHandlingManagerImpl.java:98) ~[classes/:?]
      	at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.postOperationPartitionCheck(PartitionHandlingInterceptor.java:184) ~[classes/:?]
      	at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.visitGetKeyValueCommand(PartitionHandlingInterceptor.java:131) ~[classes/:?]
      ...
      	at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) ~[classes/:?]
      	at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336) ~[classes/:?]
      	at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:411) ~[classes/:?]
      	at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:403) ~[classes/:?]
      	at org.infinispan.partitionhandling.BaseTxPartitionAndMergeTest.assertValue(BaseTxPartitionAndMergeTest.java:114) ~[test-classes/:?]
      	at org.infinispan.partitionhandling.BaseTxPartitionAndMergeTest.finalAsserts(BaseTxPartitionAndMergeTest.java:94) ~[test-classes/:?]
      	at org.infinispan.partitionhandling.BasePessimisticTxPartitionAndMergeTest.doTest(BasePessimisticTxPartitionAndMergeTest.java:81) ~[test-classes/:?]
      	at org.infinispan.partitionhandling.PessimisticTxPartitionAndMergeDuringRollbackTest.testDegradedPartition(PessimisticTxPartitionAndMergeDuringRollbackTest.java:29) ~[test-classes/:?]
      

      Example in CI:
      http://ci.infinispan.org/viewLog.html?buildId=32028&tab=buildResultsDiv&buildTypeId=Infinispan_MasterHotspotJdk8

              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: