[GH-ISSUE #2345] DNS Test returns no logs from Hickory DNS instances upon instance termination #965

Closed
opened 2026-03-16 01:06:54 +03:00 by kerem · 0 comments
Owner

Originally created by @marcus0x62 on GitHub (Aug 6, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2345

Describe the bug

I believe due to the startup check for Hickory's log messages to determine when the server is started, subsequent attempts to obtain output from stdout fail.

To Reproduce
Steps to reproduce the behavior:

From my CNAME branch, this assertion fails; resolver.terminate().unwrap() yields Ok("")

Expected behavior
It should be possible to access logs from the Hickory resolver from a test case whilst using dns-test.

Originally created by @marcus0x62 on GitHub (Aug 6, 2024). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2345 **Describe the bug** I believe due to the [startup check](https://github.com/hickory-dns/hickory-dns/blob/90a4f99e5c0ee6c05b349fc6b4b24440e43b0b0d/conformance/packages/dns-test/src/resolver.rs#L135) for Hickory's log messages to determine when the server is started, subsequent attempts to obtain output from stdout fail. **To Reproduce** Steps to reproduce the behavior: From my CNAME branch, [this assertion](https://github.com/marcus0x62/hickory-dns/blob/ecddeb12da3bd64b89cea19e234b3b188f54bc6b/tests/e2e-tests/src/recursor/cname/scenarios.rs#L550) fails; resolver.terminate().unwrap() yields Ok("") **Expected behavior** It should be possible to access logs from the Hickory resolver from a test case whilst using dns-test.
kerem closed this issue 2026-03-16 01:07:13 +03:00
Sign in to join this conversation.
No milestone
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
starred/hickory-dns#965
No description provided.