The DNSCrypt forwarder tests' loopback relay stops cleanly on Windows when its receive is aborted #367
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#367
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?
Part of epic #8. Found by the first real run of
test-windows(#18): develop push run 1310 at595945de, the #365 merge.Why
Ninlil.Dns.Server.Forwarding.Tests.DnsCryptForwarderClientTests.ForwardAsync_PadsTheUdpQueryToAtLeast256Bytes(src/dotnet/tests/Ninlil.Dns.Server.Forwarding.Tests/DnsCryptForwarderClientTests.cs) failed on Windows. The project result was 1 failed, 257 passed, and the other 47 test projects passed:SocketException(OperationAborted, WSA_OPERATION_ABORTED), where Linux usually raisesOperationCanceledExceptionorObjectDisposedException. The test's loopback relay apparently treats only the latter as a normal stop. So a teardown that races the relay's receive fails the test, even though the assertion under test passed.What changes
OperationAborted(andInterrupted, if relevant) after its stop or cancellation as a normal end. Do not swallow aborts that happen before the stop.OperationAbortedduring shutdown on Windows. List what you checked.Acceptance
Ninlil.Dns.Server.Forwarding.Testspasses 20 times in a row natively on Lofnheim and in the CI container on asgard.test-windowsis green on the develop push after the merge.Ghost referenced this issue2026-11-11 23:20:35 -05:00