The Windows test job no longer fails on port and socket errors #375
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#375
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
The job "Test .NET on Windows" failed on all four
developruns of 2026-11-12, with different tests each time. The runs did not overlap (05:37 to 06:05 UTC, back to back, about 6 minutes each), so two copies of the suite never ran together. Apart from the SecondaryForwarder zone test (its own issue), the failures are socket and port errors:DnsCryptDiscoveryLimitTests(6),DnsCryptListenAddressTests,DnsCryptProviderNameTests,DnsOverTlsListenerTestsInvalidOperationException: Could not find a port free for both UDP and TCP.(9 times;Fakes/LocalAddresses.GetFreePort, 20 attempts each)PlainForwarderClientTestsSocketException: An attempt was made to access a socket in a way forbidden by its access permissionsDnsCryptListenerTests(13),PlainListenAddressTests,StubZoneNsPullerTestsNo connection could be made because the target machine actively refused it(6),An existing connection was forcibly closed by the remote host(5), and assertion failures that follow from themWhat is known
LocalAddresses.GetFreePortand its siblings): bind, read the port, close, bind again later.netsh int ipv4 show excludedportrange protocol=tcp|udp). A port the system hands out for UDP can therefore be forbidden for TCP and the reverse; binding it fails with WSAEACCES, the "forbidden by its access permissions" error. The blocks move at boot.Wanted
Acceptance
Ghost referenced this issue2026-11-12 05:05:37 -05:00