The TLS zone-transfer test and the framed-stream drain test pass on Windows #12

Closed
opened 2026-10-31 12:41:49 -04:00 by claude · 0 comments
Owner
  • Draft: REL-6
  • Priority: low (test-only, unless the second turns out to be a product race)
  • Agent: protocol-coder
  • Depends on: none
  • Decisions: none

Why

  • TlsZoneTransferClientTests.PullAsync_AgainstARealTlsPrimary... fails on Windows with "TLS
    handshake with primary 127.0.0.1 failed: unexpected EOF". The fixture's certificate comes from
    CertificateRequest.CreateSelfSigned
    (src/dotnet/tests/Ninlil.Dns.Server.Authoritative.Tests/Transfer/TlsZoneTransferClientTests.cs:92-101),
    whose ephemeral key Schannel cannot use for a server handshake: the same cause as the product
    defect fixed in 66186ff3. QuicZoneTransferClientTests.cs:94-98 already reloads through
    X509CertificateLoader.LoadPkcs12.
  • FramedDnsStreamSessionTests.EnqueuedAndCloseAfterDrain...
    (Ninlil.Dns.Server.Core.Tests/Transport) fails with EndOfStreamException on Windows. Cause
    unknown.

What changes

  • TLS fixture: export to PKCS#12 and reload, as the QUIC test does.
  • Framed-stream test: find the cause. If the product closes the stream before the queued reply
    is flushed on Windows, that is a product defect: fix it red-then-green in
    src/dotnet/src/Ninlil.Dns.Server.Core/Transport/FramedDnsStreamSession.cs; otherwise fix the
    test, and say which.

Acceptance

  • Both tests pass natively on Lofnheim; Authoritative.Tests and Core.Tests pass on Linux.
  • Core is shared: whole solution dotnet test Ninlil.slnx -p:NinlilSkipAngularBuild=true if
    production code changed.

Source

RP-4 report finding 3 ("TLS", "Other").

- **Draft:** REL-6 - **Priority:** low (test-only, unless the second turns out to be a product race) - **Agent:** protocol-coder - **Depends on:** none - **Decisions:** none ### Why - `TlsZoneTransferClientTests.PullAsync_AgainstARealTlsPrimary...` fails on Windows with "TLS handshake with primary 127.0.0.1 failed: unexpected EOF". The fixture's certificate comes from `CertificateRequest.CreateSelfSigned` (`src/dotnet/tests/Ninlil.Dns.Server.Authoritative.Tests/Transfer/TlsZoneTransferClientTests.cs:92-101`), whose ephemeral key Schannel cannot use for a server handshake: the same cause as the product defect fixed in 66186ff3. `QuicZoneTransferClientTests.cs:94-98` already reloads through `X509CertificateLoader.LoadPkcs12`. - `FramedDnsStreamSessionTests.EnqueuedAndCloseAfterDrain...` (`Ninlil.Dns.Server.Core.Tests/Transport`) fails with `EndOfStreamException` on Windows. Cause unknown. ### What changes - TLS fixture: export to PKCS#12 and reload, as the QUIC test does. - Framed-stream test: find the cause. If the product closes the stream before the queued reply is flushed on Windows, that is a product defect: fix it red-then-green in `src/dotnet/src/Ninlil.Dns.Server.Core/Transport/FramedDnsStreamSession.cs`; otherwise fix the test, and say which. ### Acceptance - [ ] Both tests pass natively on Lofnheim; Authoritative.Tests and Core.Tests pass on Linux. - [ ] Core is shared: whole solution `dotnet test Ninlil.slnx -p:NinlilSkipAngularBuild=true` if production code changed. ### Source RP-4 report finding 3 ("TLS", "Other").
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.

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