]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert csk rollover test cases to pytest
authorMatthijs Mekking <matthijs@isc.org>
Wed, 19 Mar 2025 09:10:13 +0000 (10:10 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 2 Jun 2025 09:21:06 +0000 (09:21 +0000)
commitfd290f391f1dfeac4235e8a431f38e08ebb414fa
tree2e38085b46c28489d40a3a613d8fdc67315d75c2
parent46800e407e14617dcd84084f433a47743ac3ebc7
Convert csk rollover test cases to pytest

Move the 'csk-roll1' and 'csk-roll2' zones to the rollover test dir and
convert CSK rollover tests to pytest.

The DS swap spans multiple steps. Only the first time we should check
if the "CDS is now published" log is there, and only the first time we
should run 'rndc dnssec -checkds' on the keys. Add a new key to the
step dictionary to disable the DS swap checks.

This made me realize that we need to check for "is not None" in case
the value in the dictionary is False. Update check_rollover_step()
accordingly, and also add a log message which step/zone we are currently
checking.
bin/tests/system/kasp/ns3/named-fips.conf.in
bin/tests/system/kasp/ns3/policies/autosign.conf.in
bin/tests/system/kasp/ns3/setup.sh
bin/tests/system/kasp/tests.sh
bin/tests/system/rollover/ns3/kasp.conf.j2
bin/tests/system/rollover/ns3/named.conf.j2
bin/tests/system/rollover/ns3/setup.sh
bin/tests/system/rollover/tests_rollover.py