Skip to content

Adds four test scenarios (DNSSEC10)#1383

Merged
matsduf merged 5 commits into
zonemaster:developfrom
matsduf:add-scenario-dnssec10
Jun 2, 2025
Merged

Adds four test scenarios (DNSSEC10)#1383
matsduf merged 5 commits into
zonemaster:developfrom
matsduf:add-scenario-dnssec10

Conversation

@matsduf

@matsduf matsduf commented May 16, 2025

Copy link
Copy Markdown
Contributor

Purpose

This PR adds four test scenarios (GOOD-NSEC-2, GOOD-NSEC-3, GOOD-NSEC3-2 and GOOD-NSEC3-3) that should pass, but fail due to a bug reported in zonemaster/zonemaster-engine#1454.

Context

zonemaster/zonemaster-engine#1454 (bug report)
zonemaster/zonemaster-engine#1457 (fix)

How to test this PR

Review the document and test the new scenarios in the test environment.

@matsduf matsduf added this to the v2025.1 milestone May 16, 2025
@matsduf matsduf added the A-TestCase Area: Test case specification or implementation of test case label May 16, 2025
marc-vanderwal
marc-vanderwal previously approved these changes May 20, 2025

@tgreenx tgreenx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread test-zone-data/DNSSEC-TP/dnssec10/test-zones-output.md Outdated
Comment thread docs/public/specifications/test-zones/DNSSEC-TP/dnssec10.md Outdated
Comment thread docs/public/specifications/test-zones/DNSSEC-TP/dnssec10.md Outdated
Comment thread test-zone-data/DNSSEC-TP/dnssec10/test-zones-output.md Outdated
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Comment thread docs/public/specifications/test-zones/DNSSEC-TP/dnssec10.md Outdated
Comment thread docs/public/specifications/test-zones/DNSSEC-TP/dnssec10.md Outdated
@matsduf

matsduf commented May 22, 2025

Copy link
Copy Markdown
Contributor Author

When zonemaster/zonemaster-engine#1457 is installed, the scenarios are clear, but there is unexpected result not captured by the test scenario model and unit tests:

$ zonemaster-cli --show-testcase --level INFO --test dnssec10 --hints ../../COMMON/hintfile --raw GOOD-NSEC-2.dnssec10.xa 
   0.00 INFO     Unspecified    GLOBAL_VERSION  version=v7.1.0
   0.07 INFO     DNSSEC10       DS10_HAS_NSEC  ns_list=ns1a.good-nsec-2.dnssec10.xa/127.15.10.31;ns1a.good-nsec-2.dnssec10.xa/fda1:b2:c3:0:127:15:10:31

The zone is delegated to three NS, ns1a, ns1b and ns1c, but only the first one is listed under DS10_HAS_NSEC,

@matsduf

matsduf commented May 28, 2025

Copy link
Copy Markdown
Contributor Author

In scenarios GOOD-NSEC-3 and GOOD-NSEC3-3 the names in delegation and names in zone are different. All should be listed in the argument.

@matsduf matsduf requested review from marc-vanderwal and tgreenx May 28, 2025 10:00
@matsduf matsduf changed the title Adds two test scenarios (DNSSEC10) Adds four test scenarios (DNSSEC10) May 28, 2025
@matsduf matsduf merged commit d2c4ceb into zonemaster:develop Jun 2, 2025
@matsduf matsduf deleted the add-scenario-dnssec10 branch June 2, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-TestCase Area: Test case specification or implementation of test case

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants