Skip to content

Conversation

@tgreenx
Copy link
Contributor

@tgreenx tgreenx commented Oct 30, 2025

Purpose

This PR proposes an update of test case DNSSEC07 implementation.

Context

Test case specification: zonemaster/zonemaster#1425
Test scenarios specification: zonemaster/zonemaster#1432

Changes

  • Update implementation (test case, message tags, profile, DNSSEC module test plan)
  • Update unit tests
  • Update unit test data

How to test this PR

Unit tests are updated and should pass.

@tgreenx tgreenx added this to the v2025.2 milestone Oct 30, 2025
@tgreenx tgreenx added A-TestCase Area: Test case specification or implementation of test case V-Patch Versioning: The change gives an update of patch in version. RC-Features Release category: Features. labels Oct 30, 2025
@tgreenx tgreenx force-pushed the update-dnssec07 branch 2 times, most recently from 08f9bf8 to d816b18 Compare October 30, 2025 17:08
Copy link
Contributor

@matsduf matsduf left a comment

Choose a reason for hiding this comment

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

From the description of zonemaster/zonemaster#1425:

After this update, DNSSEC07 should still be run first, and then DNSSEC11. If updated DNSSEC07 outputs DS07_NOT_SIGNED then no other test cases, besides DNSSEC11, in DNSSEC module should be run.

I.e. DNSSEC07 and DNSSEC11 should always be run.

Should that be included in the specification? I do not think so, but it should be stated somewhere.

Copy link
Contributor

@matsduf matsduf left a comment

Choose a reason for hiding this comment

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

Besides that DNSSEC11 should always be run it looks fine. All scenarios pass.

@tgreenx
Copy link
Contributor Author

tgreenx commented Nov 4, 2025

From the description of zonemaster/zonemaster#1425:

After this update, DNSSEC07 should still be run first, and then DNSSEC11. If updated DNSSEC07 outputs DS07_NOT_SIGNED then no other test cases, besides DNSSEC11, in DNSSEC module should be run.

I.e. DNSSEC07 and DNSSEC11 should always be run.

Should that be included in the specification? I do not think so, but it should be stated somewhere.

For that purpose with have the "Special procedural requirements" section in the specification, which I followed. But it seems it was not entirely updated correctly then.

@tgreenx tgreenx requested a review from matsduf November 4, 2025 10:01
@tgreenx
Copy link
Contributor Author

tgreenx commented Nov 4, 2025

Besides that DNSSEC11 should always be run it looks fine. All scenarios pass.

Updated and rebased on top of #1475

@tgreenx
Copy link
Contributor Author

tgreenx commented Nov 4, 2025

Unit test data for t/Test-dnssec.t needs to be re-recorded in order for all unit tests to pass, but that can't be done right now (zut-root.rd.nic.fr is temporarily offline). It will be done at a later time.

@matsduf
Copy link
Contributor

matsduf commented Nov 4, 2025

Unit test data for t/Test-dnssec.t needs to be re-recorded in order for all unit tests to pass, but that can't be done right now (zut-root.rd.nic.fr is temporarily offline). It will be done at a later time.

I suggest that the failing tests are marked as TODO. What test cases are affected? I could possibly create scenarios for them.

@tgreenx
Copy link
Contributor Author

tgreenx commented Nov 13, 2025

@matsduf please re-review, unit tests have been re-recorded (the test zones are back online).

Copy link
Contributor

@matsduf matsduf left a comment

Choose a reason for hiding this comment

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

It does not look like the tag NOT_SIGNED show up in the output, which seems strange.

@matsduf
Copy link
Contributor

matsduf commented Nov 14, 2025

It does not look like the tag NOT_SIGNED show up in the output, which seems strange.

It is not strange. It is outputted, but on DEBUG level. If level is set to DEBUG in zonemaster-cli it is outputted.

matsduf
matsduf previously approved these changes Nov 14, 2025
Copy link
Contributor

@matsduf matsduf left a comment

Choose a reason for hiding this comment

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

The NOT_SIGNED tag should be cleaned away, but it does no harm. The cleaning could also be done later.

@tgreenx
Copy link
Contributor Author

tgreenx commented Nov 14, 2025

The NOT_SIGNED tag should be cleaned away, but it does no harm. The cleaning could also be done later.

Done (removed). I've also rebased and fixed several conflicts. Please re-review

@tgreenx tgreenx merged commit 254e4e4 into zonemaster:develop Nov 14, 2025
3 checks passed
@tgreenx tgreenx deleted the update-dnssec07 branch November 14, 2025 10:51
@tolvmannen tolvmannen added the S-ReleaseTested Status: The PR has been successfully tested in release testing label Dec 8, 2025
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 RC-Features Release category: Features. S-ReleaseTested Status: The PR has been successfully tested in release testing V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants