Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F24586795: D3690.id9653.diff
Sat, Feb 28, 14:25
F24584487: D3690.id.diff
Sat, Feb 28, 11:42
Unknown Object (File)
Thu, Feb 26, 11:26
Unknown Object (File)
Thu, Feb 26, 09:47
Unknown Object (File)
Thu, Feb 26, 08:44
Unknown Object (File)
Thu, Feb 26, 05:25
Unknown Object (File)
Wed, Feb 25, 12:44
Unknown Object (File)
Tue, Feb 24, 22:30
Subscribers
None

Details

Summary

Run sanity tests against roles/dns/knot/files/zones content:

  • do we have zone files defined in pillar?
  • can they be validated with kzonecheck?

Tests also validate the pillar files for content needed by zone files:

  • is dns_identity defined?

Ref T1217

Test Plan

(cd _tests && make test-roles-dns)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
tests-dns
Build Status
Buildable 5946
Build 6228: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
_tests/roles/python/dns/run_test_dns_zones.sh
20

Write to stderr?

_tests/roles/python/dns/test_dns_zones.py
60
This revision is now accepted and ready to land.Oct 6 2025, 05:46
This revision was automatically updated to reflect the committed changes.