anton-vinogradov opened a new pull request, #13357:
URL: https://github.com/apache/ignite/pull/13357

   ### What
   
   Since 2026-07-07 all three "Platform .NET (Windows)" TC suites 
intermittently die with a 120-minute "Execution timeout", each at a fixed 
position (1490/1342/78 passed tests). The captured stack of a stuck run shows 
the embedded JVM spinning forever in `ServerImpl.sendJoinRequestMessage` / 
`joinTopology` inside `Ignition.Start`: if discovery port 47500 is occupied at 
bind time (e.g. lingering teardown of the previous fixture, or a half-stopped 
node), the new node binds 47501+, while the single-port static IP finder of the 
test configs only knows 47500, and the default `joinTimeout=0` retries forever.
   
   This is not a code regression: the same revision both passes and hangs (e.g. 
builds 9190207 vs 9191076 on ci2), and a hung and a clean run consumed the very 
same dependency-build artifacts (9193992 vs 9198016).
   
   ### Fix (test code only)
   
   - `TestUtils.GetStaticDiscovery()`: set `JoinTimeout` = 2 min so a stuck 
join fails the single test with a clear `IgniteSpiException` instead of eating 
the whole suite timeout, and cap `MaxAckTimeout` at 10 s — otherwise the 
exponential handshake backoff (up to 600 s per attempt) delays the join-timeout 
check by ~20 minutes per retry sweep.
   - Same `joinTimeout` for the XML-configured discovery in `app.config` / 
`custom_app.config` sections.
   - Add the forgotten `Localhost = 127.0.0.1` in `ComputeTaskSessionTest` and 
the `myGrid1` app.config section (every other test config pins it).
   
   ### Verification
   
   - All three previously hanging fixtures pass locally (macOS, net6.0 + 
corretto-17): `ComputeTaskSessionTest`, `IgniteConfigurationSectionTest`, 
`ClientClusterDiscoveryTestsNoLocalhost` — 12/12.
   - Negative test reproducing the CI condition (a silent process squatting 
127.0.0.1:47500): before the fix the node start spins forever (32+ min 
observed, jstack confirms the `sendJoinRequestMessage` loop); with the fix the 
test fails in 2 min 39 s with "Failed to connect to any address from IP finder 
within join timeout".
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to