Skip to content

IXFR-out system tests.#650

Open
ximon18 wants to merge 54 commits into
mainfrom
ixfr-out-system-tests
Open

IXFR-out system tests.#650
ximon18 wants to merge 54 commits into
mainfrom
ixfr-out-system-tests

Conversation

@ximon18

@ximon18 ximon18 commented May 12, 2026

Copy link
Copy Markdown
Member

As requested by @Philip-NLnetLabs.

Includes system tests that exercise:

  • IXFR out with and without TSIG to a downstream NSD instance.

  • Editing a local zone file and instructing Cascade to reload it. The zone and the edits to it are based on the example in section 7 of RFC 1995.

  • Verifies that if TSIG is configured that TSIG is required.

  • Verifies that a client using UDP is signalled via the RFC 1995 single SOA response mechanism to retry with TCP.

  • Verifies IXFR out content against expectations for a client requesting serial 1, 2 and 3.

  • Verifies that NSD accepts the IXFR transfer and produces the expected resulting final AXFR output.

  • Querying the review servers. HOWEVER, these tests are not correct as the review server should be queried while the zone is held for review!

  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):

    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

NOTE: of the three system tests for ixfr-out in this PR, the ixfr-out-incremental test is currently failing. This could be a timing issue, precisely the concern raised about time based tests.

Relates to #300.

ximon18 and others added 30 commits April 28, 2026 15:48
Will need changing based on PR #589.
Also add a guard and improve the actual logged output.
Primarily to cover the wider than perhaps expected use of the soa() fn.
Currently fails due to an unrelated TSIG bug causing dig to fail.
As step.if doesn't seem to be honoured by nektos/act.
Not via TCP but via single SOA response, per RFC 1995. Also adds a
system test using dig.
Incremental signing doesn't change the loaded zone so don't expect a
non-empty loaded diff.
@ximon18
ximon18 force-pushed the ixfr-out-system-tests branch from a4965b1 to b7ce437 Compare May 12, 2026 12:00
@ximon18 ximon18 mentioned this pull request May 12, 2026
7 tasks
@ximon18
ximon18 changed the base branch from ixfr-out to main May 12, 2026 13:27
@ximon18 ximon18 changed the title Move ixfr-out system tests to their own PR. IXFR-out system tests. May 12, 2026
ximon18 added a commit that referenced this pull request May 12, 2026
ximon18 added a commit that referenced this pull request May 12, 2026
Validated with the ixfr-out system test from PR #650.
@ximon18 ximon18 added the testing Automatic verification of Cascade's correctness and reliability. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Automatic verification of Cascade's correctness and reliability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants