]
Galder Zamarreño updated ISPN-4560:
-----------------------------------
Fix Version/s: 7.1.0.Alpha1
(was: 7.0.0.Final)
FD_SOCK client socket connection timeout in the test suite
----------------------------------------------------------
Key: ISPN-4560
URL:
https://issues.jboss.org/browse/ISPN-4560
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 7.0.0.Alpha5
Reporter: Dan Berindei
Priority: Blocker
Labels: testsuite_stability
Fix For: 7.1.0.Alpha1
At least some of the {{createBeforeMethod}} failures in the test suite seem to be caused
by FD_SOCK, which is not able to connect to its peer:
{noformat}
08:28:08,144 DEBUG (testng-L1StateTransferOverwriteTest:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received:
[L1StateTransferOverwriteTest-NodeBC-2827]
08:28:12,558 DEBUG (Incoming-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received:
[L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
08:28:12,631 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: ping_dest is
L1StateTransferOverwriteTest-NodeBD-12942,
pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827,
L1StateTransferOverwriteTest-NodeBD-12942]
08:28:12,716 DEBUG (testng-L1StateTransferOverwriteTest:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBD-12942: VIEW_CHANGE received:
[L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
08:28:12,719 DEBUG (ViewHandler,NodeBC-2827:) [STABLE] resuming message garbage
collection
08:28:20,213 WARN (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: creating the client socket failed:
java.net.SocketTimeoutException
08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: could not create socket to
L1StateTransferOverwriteTest-NodeBD-12942 (pinger thread is running)
08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: suspecting
L1StateTransferOverwriteTest-NodeBD-12942
08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: ping_dest is null,
pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827]
08:28:20,232 DEBUG (INT-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: suspecting
[L1StateTransferOverwriteTest-NodeBD-12942]
08:28:20,241 DEBUG (Incoming-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received:
[L1StateTransferOverwriteTest-NodeBC-2827]
08:28:21,442 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBD-12942:) [FD_SOCK]
L1StateTransferOverwriteTest-NodeBD-12942: ping_dest is
L1StateTransferOverwriteTest-NodeBC-2827,
pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827,
L1StateTransferOverwriteTest-NodeBD-12942]
08:28:21,442 DEBUG (FD_SOCK pinger,NodeBD-12942:) [FD_SOCK] NodeBD-12942: ping_dest is
NodeBC-2827, pingable_mbrs=[NodeBC-2827, NodeBD-12942]
{noformat}
There is no message in the log for about 8 seconds (at least for this test), so the
timeout could be caused by a GC and/or StateTransferFunctionalTest using too much CPU.