Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F34200337: D3690.id9653.diff
Fri, Jun 26, 13:03
F34199536: D3690.id9601.diff
Fri, Jun 26, 12:43
F34199533: D3690.id9547.diff
Fri, Jun 26, 12:43
Unknown Object (File)
Thu, Jun 25, 21:29
Unknown Object (File)
Thu, Jun 25, 10:26
Unknown Object (File)
Thu, Jun 25, 10:26
Unknown Object (File)
Thu, Jun 25, 02:36
Unknown Object (File)
Mon, Jun 22, 19:04
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 Not Applicable
Unit
Tests Not Applicable

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.