Skip to content

Test scenarios for Address01#1296

Merged
matsduf merged 26 commits into
zonemaster:developfrom
tolvmannen:address01-test-zones
Nov 14, 2025
Merged

Test scenarios for Address01#1296
matsduf merged 26 commits into
zonemaster:developfrom
tolvmannen:address01-test-zones

Conversation

@tolvmannen

@tolvmannen tolvmannen commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

Purpose

Adding test zone(s) for updated test case address01 (#1284)

Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread test-zone-data/Address-TP/address01/address01.cfg
Comment thread test-zone-data/Address-TP/address01/address01.xa.zone Outdated
Comment thread test-zone-data/Address-TP/address01/address01.xa.zone
matsduf
matsduf previously requested changes Oct 7, 2024
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread test-zone-data/main.cfg Outdated
Comment thread test-zone-data/Address-TP/address01/README.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md
@matsduf matsduf dismissed their stale review October 30, 2024 09:44

Comments are fixed but still a draft.

@tolvmannen tolvmannen marked this pull request as ready for review October 30, 2024 10:32
@matsduf matsduf added this to the v2025.1 milestone Nov 12, 2024

@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.

The address-plan.md file must also be updated, set-ip.sh relies on that to add IP addresses to local interfaces.

Also the docs/public/SUMMARY.md file should be updated for the online documentation.

@tgreenx tgreenx added the A-TestCase Area: Test case specification or implementation of test case label May 14, 2025
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated

@marc-vanderwal marc-vanderwal 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.

Looks fine. I agree with the suggested changes from @matsduf and @tgreenx.

marc-vanderwal
marc-vanderwal previously approved these changes May 21, 2025
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
@matsduf

matsduf commented May 21, 2025

Copy link
Copy Markdown
Contributor

The address-plan.md file must also be updated, set-ip.sh relies on that to add IP addresses to local interfaces.

Also the docs/public/SUMMARY.md file should be updated for the online documentation.

Agree.

@matsduf matsduf modified the milestones: v2025.1, v2025.2 Jun 5, 2025
@matsduf matsduf added the RC-None Release category: Not to be included in Changes file. label Aug 10, 2025
Co-authored-by: Mats Dufberg <mats.dufberg@iis.se>
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread test-zone-data/Address-TP/address01/address01.xa.zone
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md Outdated
Comment thread test-zone-data/Address-TP/address01/test-zones-output.md
Comment thread test-zone-data/Address-TP/address01/test-zones-output.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address01.md
tolvmannen and others added 5 commits November 5, 2025 14:13
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
tgreenx
tgreenx previously approved these changes Nov 6, 2025
@tgreenx tgreenx requested a review from matsduf November 6, 2025 16:35

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.

(This file should be updated before merging)

@matsduf matsduf 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.

Looks fine. The test is when used as unit tests.

matsduf
matsduf previously approved these changes Nov 7, 2025

@matsduf matsduf 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.

This is fine, but test-zones-output.md should be updated before merge. @tolvmannen, install the implementation from zonemaster/zonemaster-engine#1453 and run the zonemaster-cli commands and add the output to test-zones-output.md and verify the output.

matsduf and others added 2 commits November 10, 2025 19:57
Updates "test-zones-output" after running "zonemaster-cli" with the updated code
@tolvmannen tolvmannen dismissed stale reviews from matsduf and tgreenx via 681ebec November 11, 2025 07:48
@matsduf matsduf requested a review from tgreenx November 11, 2025 22:54
@matsduf

matsduf commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

@tgreenx, I have taken over, but still on the fork of @tolvmannen

@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.

LGTM

* IPv4 address NOT_GLOBALLY_REACHABLE
* IPv6 address DOCUMENTATION_ADDR

### NO_NAME_SERVERS

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.

Suggested change
### NO_NAME_SERVERS
### NO-NAME-SERVERS

Comment on lines +53 to +65
| Scenario name | Mandatory message tag | Forbidden message tags |
|:--------------------|:------------------------------------------------------------------------------------------------------------|:-----------------------|
| GOOD-1 | A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-LOCAL-DOC-1 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-LOCAL-DOC-2 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-LOCAL-OTHER-1 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-LOCAL-OTHER-2 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-DOC-OTHER-1 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-DOC-OTHER-2 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-ALL-1 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| MIXED-ALL-2 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) |
| ALL-NON-REACHABLE | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_NO_GLOBALLY_REACHABLE_ADDR | 2) |
| NO_NAME_SERVERS | A01_NO_NAME_SERVERS_FOUND | 2) |

@tgreenx tgreenx Nov 13, 2025

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.

I think there should be at least two more test scenarios defined :

  • one that uses IP address(es) from other special categories which are not globally reachable (e.g. "Deprecated" or "Benchmarking") -> e.g. OTHER-BUT-NOT-REACHABLE or MIXED-OTHER-NOT-REACHABLE
  • and one that uses IP address(es) from other special categories which are globally reachable (e.g. "Direct Delegation AS112 Service" or "AMT" or "Port Control Protocol Anycast")-> e.g OTHER-BUT-REACHABLE or MIXED-OTHER-REACHABLE

@tgreenx tgreenx requested a review from matsduf November 13, 2025 13:04
@matsduf

matsduf commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

@tgreenx, updated with globally reachable addresses from special registries. All scenarios pass. Log updated. Please review.

@matsduf matsduf merged commit 5c7468c into zonemaster:develop Nov 14, 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-None Release category: Not to be included in Changes file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants