The dual-stack TCP client address test gets no reply on Windows now and then #397

Closed
opened 2026-11-12 19:12:16 -05:00 by claude · 0 comments
Owner

DualStackClientAddressTests.TcpClientOverIPv4_ReachesTheResolverAsPlainIPv4 (Ninlil.Dns.Protocol.Plain.Tests) failed once in the Windows test job of the develop push run 1510 (5c9b5af0, a merge that changed only two Angular spec files): 1 of 21. The run before it on Windows passed.

Failure

  • OperationCanceledException after 30 s at DualStackClientAddressTests.cs:69: the TCP client connected over IPv4 and wrote its query, and no reply arrived before the test's own timeout.

What it looks like (not established)

  • The client connected to something, so a listener held the port, but it never answered. Candidates: the port was reserved and released and another process or test took it before the listener bound (the pattern of #362: on Windows a dual-stack wildcard bind and an IPv4 bind can coexist on one port, so the client may reach the wrong socket), or the listener's dual-stack accept on Windows missed the IPv4 connection.
  • Rule a product defect in or out first: on Windows, does TcpDnsListener accept IPv4 clients on its dual-stack socket in every bind order?

Done when

  • The cause is established on the Windows runner (lofnheim), and the test binds on port 0 and reads the bound port, or the product defect is fixed with a regression test.
`DualStackClientAddressTests.TcpClientOverIPv4_ReachesTheResolverAsPlainIPv4` (`Ninlil.Dns.Protocol.Plain.Tests`) failed once in the Windows test job of the `develop` push run 1510 (`5c9b5af0`, a merge that changed only two Angular spec files): 1 of 21. The run before it on Windows passed. **Failure** - `OperationCanceledException` after 30 s at `DualStackClientAddressTests.cs:69`: the TCP client connected over IPv4 and wrote its query, and no reply arrived before the test's own timeout. **What it looks like (not established)** - The client connected to something, so a listener held the port, but it never answered. Candidates: the port was reserved and released and another process or test took it before the listener bound (the pattern of #362: on Windows a dual-stack wildcard bind and an IPv4 bind can coexist on one port, so the client may reach the wrong socket), or the listener's dual-stack accept on Windows missed the IPv4 connection. - Rule a product defect in or out first: on Windows, does `TcpDnsListener` accept IPv4 clients on its dual-stack socket in every bind order? **Done when** - The cause is established on the Windows runner (lofnheim), and the test binds on port 0 and reads the bound port, or the product defect is fixed with a regression test.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#397
No description provided.