Dan Berindei created ISPN-12322:
-----------------------------------
Summary: GetAllCommandNodeCrashTest.test random failures
Key: ISPN-12322
URL:
https://issues.redhat.com/browse/ISPN-12322
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite
Affects Versions: 12.0.0.Dev03
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.0.0.Dev04
E.g.
https://ci.infinispan.org/job/Infinispan/job/master/2329/testReport/org.i...
{noformat}
org.infinispan.test.TestException: java.util.concurrent.ExecutionException:
java.lang.AssertionError: Expecting a
org.infinispan.commands.remote.ClusteredGetAllCommand, got
StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152
211-244}, cacheName=defaultcache}
at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:264)
at org.infinispan.util.ControlledRpcManager.expectCommand(ControlledRpcManager.java:130)
at
org.infinispan.commands.GetAllCommandNodeCrashTest.test(GetAllCommandNodeCrashTest.java:72)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: Expecting a
org.infinispan.commands.remote.ClusteredGetAllCommand, got
StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152
211-244}, cacheName=defaultcache}
at
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2022)
at org.infinispan.util.ControlledRpcManager.uncheckedGet(ControlledRpcManager.java:262)
... 25 more
Caused by: java.lang.AssertionError: Expecting a
org.infinispan.commands.remote.ClusteredGetAllCommand, got
StateTransferCancelCommand{topologyId=11, segments={23-33 80-81 85-95 99-101 130-152
211-244}, cacheName=defaultcache}
at
org.infinispan.util.ControlledRpcManager.lambda$expectCommandAsync$1(ControlledRpcManager.java:171)
at
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
at
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at
java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
at
org.infinispan.util.ControlledRpcManager.performRequest(ControlledRpcManager.java:212)
at org.infinispan.util.ControlledRpcManager.performSend(ControlledRpcManager.java:243)
at
org.infinispan.util.AbstractDelegatingRpcManager.sendTo(AbstractDelegatingRpcManager.java:98)
at
org.infinispan.statetransfer.InboundTransferTask.sendCancelCommand(InboundTransferTask.java:239)
at
org.infinispan.statetransfer.InboundTransferTask.cancelSegments(InboundTransferTask.java:204)
at
org.infinispan.statetransfer.StateConsumerImpl.cancelTransfers(StateConsumerImpl.java:1036)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers$accessor$4IxlNJs7(Unknown
Source)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$27syg0jr.call(Unknown
Source)
at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
at
org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
at
org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:43)
at org.mockito.Answers.answer(Answers.java:100)
at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.cancelTransfers(Unknown
Source)
at
org.infinispan.statetransfer.StateConsumerImpl.lambda$onTopologyUpdate$2(StateConsumerImpl.java:389)
at
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
at
org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:351)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate$accessor$4IxlNJs7(Unknown
Source)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147$auxiliary$mQdvDkF4.call(Unknown
Source)
at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
at
org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:152)
at
org.infinispan.commands.GetAllCommandNodeCrashTest.lambda$test$0(GetAllCommandNodeCrashTest.java:52)
at
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:39)
at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:96)
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:108)
at
org.infinispan.statetransfer.StateConsumerImpl$MockitoMock$455640147.onTopologyUpdate(Unknown
Source)
at
org.infinispan.statetransfer.StateTransferManagerImpl.updateProviderAndConsumer(StateTransferManagerImpl.java:207)
at
org.infinispan.statetransfer.StateTransferManagerImpl.lambda$doTopologyUpdate$0(StateTransferManagerImpl.java:194)
at
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
at
org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:193)
at
org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:69)
at
org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:124)
at
org.infinispan.topology.LocalTopologyManagerImpl.lambda$doHandleTopologyUpdate$12(LocalTopologyManagerImpl.java:398)
at
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143)
at
org.infinispan.topology.LocalTopologyManagerImpl.doHandleTopologyUpdate(LocalTopologyManagerImpl.java:387)
at
org.infinispan.topology.LocalTopologyManagerImpl.lambda$handleTopologyUpdate$8(LocalTopologyManagerImpl.java:311)
at
org.infinispan.topology.LocalTopologyManagerImpl.lambda$orderOnCache$24(LocalTopologyManagerImpl.java:736)
at
org.infinispan.util.concurrent.ActionSequencer.safeNonBlockingCall(ActionSequencer.java:57)
at org.infinispan.util.concurrent.ActionSequencer.access$400(ActionSequencer.java:32)
at
org.infinispan.util.concurrent.ActionSequencer$SequenceEntry.run(ActionSequencer.java:226)
... 3 more
... Removed 20 stack frames
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)