Skip to content

Creates test scenarios for Connectivity04#1299

Merged
matsduf merged 19 commits into
zonemaster:developfrom
matsduf:create-test-scenarios-connectivity04
Nov 12, 2024
Merged

Creates test scenarios for Connectivity04#1299
matsduf merged 19 commits into
zonemaster:developfrom
matsduf:create-test-scenarios-connectivity04

Conversation

@matsduf

@matsduf matsduf commented Oct 11, 2024

Copy link
Copy Markdown
Contributor

Purpose

This PR creates test scenarios for test case Connectivity04, and test zones for those scenarios. The scenarios are based on the test case specification as updated by #1298.

In file test-zone-data/Connectivity-TP/connectivity04/README.md it is reported the results from testing the test zones by zonemaster-cli, but that is before the update of the implementation of the test case.

  • For two test zones zonemaster-cli outputs unexpected "Use of uninitialized value (...)".
  • The expected format of the TXT records from ASN lookup is underspecified.
  • These test zones only cover Cymru type of ASN lookup, not Ripe type.

Context

#1298

How to test this PR

Review the test scenarios to verify that all relevant cases have been covered.

When the implementation of Connectivity04 has been updated (based on #1298), then rerun then commands in the README file.

@matsduf matsduf added A-TestCase Area: Test case specification or implementation of test case V-Minor Versioning: The change gives an update of minor in version. labels Oct 11, 2024
@matsduf matsduf added this to the v2024.2 milestone Oct 11, 2024

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks pretty good. I didn't read thoroughly through the zone and config files.

There seemed to be some confusion around double prefixes and I did my best to straighten it out. You be the judge of how well I did.

Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/README.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/README.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/README.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/connectivity04.xa.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/connectivity04.cfg Outdated

@matsduf matsduf left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mattias-p, I accepted all your suggestions, but the tool complained that you had more than one change on the same line. I will process them manually instead.

Comment thread test-zone-data/Connectivity-TP/connectivity04/README.md Outdated
| 127.13.4.24 | root-ns2.xa (test case local root zone) |
| 127.13.4.25 | ns1.asnlookup.zonemaster.net (test case local) |
| 127.13.4.26 | ns2.asnlookup.zonemaster.net (test case local) |
| (...) | |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I will check to make it consistent.

Comment thread test-zone-data/address-plan.md Outdated
matsduf and others added 6 commits October 14, 2024 18:24
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
index file. That file is updated to match updated scenarios.

A new README being an index is created.
mattias-p
mattias-p previously approved these changes Oct 18, 2024

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me. I have a few questions/suggestions but nothing critical.

Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/test-zones-output.md
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
@matsduf matsduf requested a review from mattias-p October 21, 2024 12:49
@matsduf matsduf mentioned this pull request Oct 21, 2024
Comment thread test-zone-data/Connectivity-TP/connectivity04/hintfile.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/root-zone.zone Outdated
Comment thread test-zone-data/address-plan.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/root-zone.zone Outdated
Comment thread test-zone-data/address-plan.md Outdated
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
@matsduf matsduf requested a review from tgreenx October 22, 2024 11:29
Comment thread test-zone-data/Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/README.md
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/README.md Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/asnlookup.zonemaster.net.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/connectivity04.xa.zone Outdated
Comment thread test-zone-data/Connectivity-TP/connectivity04/connectivity04.xa.zone Outdated
Comment thread test-zone-data/address-plan.md Outdated
matsduf and others added 2 commits October 22, 2024 15:50
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
@matsduf

matsduf commented Oct 22, 2024

Copy link
Copy Markdown
Contributor Author

@tgreenx, thank you for thorough review.

@matsduf matsduf requested a review from tgreenx October 22, 2024 14:03
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
…vity04.md

Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
@matsduf

matsduf commented Oct 23, 2024

Copy link
Copy Markdown
Contributor Author

Two scenarios are renamed (ERROR-PREFIX-DATABASE-4 and -5) and expected tags are updated. This update is to match the latest update of the specification. New names are HAS-NON-ASN-TXT-1 and -2.

(ERROR-PREFIX-DATABASE-6, -7 and -8 are neither renamed or updated.)

@matsduf matsduf requested a review from tgreenx October 23, 2024 22:06
@matsduf matsduf force-pushed the create-test-scenarios-connectivity04 branch from c48f47e to 3253a3b Compare October 24, 2024 05:02
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
Comment thread docs/public/specifications/test-zones/Connectivity-TP/connectivity04.md Outdated
tgreenx
tgreenx previously approved these changes Oct 30, 2024
@matsduf

matsduf commented Oct 30, 2024

Copy link
Copy Markdown
Contributor Author

@marc-vanderwal, @MichaelTimbert, @mattias-p, please review.

@matsduf

matsduf commented Oct 30, 2024

Copy link
Copy Markdown
Contributor Author

@tgreenx, can you approve again? I just updated the file with the output from zonemaster-cli.

@matsduf matsduf merged commit e505969 into zonemaster:develop Nov 12, 2024
@matsduf matsduf deleted the create-test-scenarios-connectivity04 branch November 12, 2024 14:38
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 V-Minor Versioning: The change gives an update of minor in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants