Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F52948770: D3690.id.diff
Tue, Oct 6, 01:01
F52941951: D3690.diff
Mon, Oct 5, 23:55
F52934043: D3690.id.diff
Mon, Oct 5, 22:40
Unknown Object (File)
Sat, Oct 3, 21:14
Unknown Object (File)
Fri, Oct 2, 19:52
Unknown Object (File)
Fri, Oct 2, 19:51
Unknown Object (File)
Fri, Oct 2, 13:48
Unknown Object (File)
Fri, Oct 2, 02:08
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 5911
Build 6193: arc lint + arc unit

Event Timeline

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

Write to stderr?

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