-
Bug
-
Resolution: Done
-
Major
-
JDG 7.2 ER3
-
None
Test
org.infinispan.lock.ClusteredLockSplitBrainTest.testAutoReleaseIfLockIsAcquiredFromAMinorityPartition
fails with following exception:
java.lang.AssertionError:
at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:33)
at org.infinispan.lock.ClusteredLockSplitBrainTest.testAutoReleaseIfLockIsAcquiredFromAMinorityPartition(ClusteredLockSplitBrainTest.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
Test log contains following error:
05:25:57,126 ERROR (transport-thread-ClusteredLockSplitBrainTest-NodeA-p68-t2) [CLUSTER] [Context=___defaultcache]ISPN000317: Lost data because of abrupt leavers [ClusteredLockSplitBrainTest-NodeB-25343, ClusteredLockSplitBrainTest-NodeC-39116, ClusteredLockSplitBrainTest-NodeD-2018], assuming a network split and entering degraded mode
05:25:57,127 ERROR (transport-thread-ClusteredLockSplitBrainTest-NodeA-p68-t2) [CLUSTER] [Context=org.infinispan.LOCKS]ISPN000318: Lost at least half of the stable members, assuming a network split and entering degraded mode. Current members are [ClusteredLockSplitBrainTest-NodeA-21335], lost members are [ClusteredLockSplitBrainTest-NodeB-25343, ClusteredLockSplitBrainTest-NodeC-39116, ClusteredLockSplitBrainTest-NodeD-2018], stable members are [ClusteredLockSplitBrainTest-NodeA-21335, ClusteredLockSplitBrainTest-NodeB-25343, ClusteredLockSplitBrainTest-NodeC-39116, ClusteredLockSplitBrainTest-NodeD-2018]
05:25:57,163 ERROR (async-thread-ClusteredLockSplitBrainTest-NodeA-p69-t4) [InvocationContextInterceptor] ISPN000136: Error executing command ReadWriteKeyCommand, writing keys [ClusteredLockKey
org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key 'ClusteredLockKey{name=ClusteredLockSplitBrainTest}
' is not available. Not all owners are in this partition
at org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.doCheck(PartitionHandlingManagerImpl.java:256)
at org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl.checkWrite(PartitionHandlingManagerImpl.java:103)
at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.handleSingleWrite(PartitionHandlingInterceptor.java:92)
at org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor.visitReadWriteKeyCommand(PartitionHandlingInterceptor.java:82)
at org.infinispan.commands.functional.ReadWriteKeyCommand.acceptVisitor(ReadWriteKeyCommand.java:92)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:186)
at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:333)
at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:268)
at org.infinispan.statetransfer.StateTransferInterceptor.visitReadWriteKeyCommand(StateTransferInterceptor.java:180)
- is blocked by
-
ISPN-8741 ClusteredLockSplitBrainTest fails randomly
- Closed