]
Dan Berindei updated ISPN-11569:
--------------------------------
Status: Open (was: New)
DistributedStreamIteratorTest.testIterationDuringInitialTransfer
random failures
--------------------------------------------------------------------------------
Key: ISPN-11569
URL:
https://issues.redhat.com/browse/ISPN-11569
Project: Infinispan
Issue Type: Bug
Components: Core, Streams, Test Suite
Affects Versions: 11.0.0.Dev03
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 11.0.0.Dev04
Very similar to ISPN-11518,
{{DistributedStreamIteratorTest.testIterationDuringInitialTransfer}} blocks
{{StateProvider.startOutboundTransfer()}}, and with the recent non-blocking changes it
also blocks the {{StateTransferStartCommand}} response, and the invocation of
{{StateTransferLockImpl.transactionDataReceived()}} on the node that sent the
{{StateTransferStartCommand}}.
{noformat}
14:44:11,141 TRACE (non-blocking-thread-Test-NodeA-p24343-t1:[]) [StateTransferLockImpl]
Signalling topology 15 is installed
14:44:11,147 TRACE (non-blocking-thread-Test-NodeA-p24343-t1:[])
[TrianglePerCacheInboundInvocationHandler] Calling perform() on
StateTransferStartCommand{topologyId=15, segments={0}, cacheName=testCache}
14:44:11,150 TRACE (non-blocking-thread-Test-NodeA-p24343-t1:[]) [CheckPoint] Triggering
event pre_invoked * 1 (available = 1, total = 1)
14:44:11,150 TRACE (non-blocking-thread-Test-NodeA-p24343-t1:[]) [CheckPoint] Waiting for
event pre_released * 1
14:44:11,163 TRACE (testng-Test:[]) [JGroupsTransport] Test-NodeD sending single request
9 to Test-NodeA: InitialPublisherCommand{cacheName='testCache'}
14:44:11,164 TRACE (jgroups-9,Test-NodeA:[]) [JGroupsTransport] Test-NodeA received
request 9 from Test-NodeD: InitialPublisherCommand{cacheName='testCache'}
14:44:11,164 TRACE (jgroups-9,Test-NodeA:[]) [StateTransferLockImpl] Waiting for
transaction data for topology 15, current topology is 14
14:44:31,155 WARN (non-blocking-thread-Test-NodeA-p24343-t1:[]) [CLUSTER] ISPN000071:
Caught exception when handling command StateTransferStartCommand{topologyId=15,
segments={0}, cacheName=testCache}
java.util.concurrent.TimeoutException: Timed out waiting for event pre_released
at org.infinispan.test.fwk.CheckPoint.awaitStrict(CheckPoint.java:50)
~[test-classes/:?]
at org.infinispan.test.fwk.CheckPoint.awaitStrict(CheckPoint.java:40)
~[test-classes/:?]
at org.infinispan.test.Mocks.lambda$blockingAnswer$0(Mocks.java:156) ~[test-classes/:?]
at
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:39)
~[mockito-core-2.27.0.jar:?]
at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:96)
~[mockito-core-2.27.0.jar:?]
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
~[mockito-core-2.27.0.jar:?]
at
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35)
~[mockito-core-2.27.0.jar:?]
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61)
~[mockito-core-2.27.0.jar:?]
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
~[mockito-core-2.27.0.jar:?]
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126)
~[mockito-core-2.27.0.jar:?]
at
org.infinispan.statetransfer.StateProvider$MockitoMock$193392642.startOutboundTransfer(Unknown
Source) ~[classes/:?]
at
org.infinispan.commands.statetransfer.StateTransferStartCommand.invokeAsync(StateTransferStartCommand.java:37)
~[classes/:?]
14:44:31,180 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed:
org.infinispan.stream.DistributedStreamIteratorTest.testIterationDuringInitialTransfer[DIST_SYNC,
tx=false]
java.lang.IllegalStateException: Thread already timed out waiting for event pre_released
at org.infinispan.test.fwk.CheckPoint.trigger(CheckPoint.java:177) ~[test-classes/:?]
at org.infinispan.test.fwk.CheckPoint.triggerForever(CheckPoint.java:166)
~[test-classes/:?]
at
org.infinispan.stream.DistributedStreamIteratorTest.testIterationDuringInitialTransfer(DistributedStreamIteratorTest.java:115)
~[test-classes/:?]
{noformat}