ipatests: re-enable dnssec tests

On fedora 37+ the dnssec tests were broken. The tests
launched for each pull request were disabled or marked
as xfail.
With the bump of bind version, they should now succeed
and can be re-enabled.

Related: https://pagure.io/freeipa/issue/9216

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2022-10-07 16:04:43 +02:00
parent dface55b1f
commit d9ecb12d57
2 changed files with 9 additions and 23 deletions

View File

@ -45,16 +45,15 @@ vms:
- test_integration/test_external_ca.py::TestExternalCAInstall
- vm_jobs:
# Temporary disable - see https://pagure.io/freeipa/issue/9216
# - container_job: InstallDNSSECFirst
# containers:
# replicas: 1
# resources:
# replica:
# mem_limit: "2400m"
# memswap_limit: "3500m"
# tests:
# - test_integration/test_dnssec.py::TestInstallDNSSECFirst
- container_job: InstallDNSSECFirst
containers:
replicas: 1
resources:
replica:
mem_limit: "2400m"
memswap_limit: "3500m"
tests:
- test_integration/test_dnssec.py::TestInstallDNSSECFirst
- container_job: simple_replication
containers:

View File

@ -20,7 +20,6 @@ from ipatests.test_integration.base import IntegrationTest
from ipatests.pytest_ipa.integration import tasks
from ipatests.pytest_ipa.integration.firewall import Firewall
from ipaplatform.tasks import tasks as platform_tasks
from ipaplatform.osinfo import osinfo
from ipaplatform.paths import paths
from ipapython.dnsutil import DNSResolver
@ -325,9 +324,6 @@ class TestInstallDNSSECFirst(IntegrationTest):
super(TestInstallDNSSECFirst, cls).uninstall(mh)
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
reason='freeipa ticket 9216', strict=True)
def test_sign_root_zone(self):
dnszone_add_dnssec(self.master, root_zone)
@ -359,9 +355,6 @@ class TestInstallDNSSECFirst(IntegrationTest):
self.replicas[0].ip, root_zone, timeout=300
), "Zone %s is not signed (replica)" % root_zone
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
reason='freeipa ticket 9216', strict=True)
def test_delegation(self):
dnszone_add_dnssec(self.master, example_test_zone)
@ -427,9 +420,6 @@ class TestInstallDNSSECFirst(IntegrationTest):
rtype="DS"
), "No DS record of '%s' returned from replica" % example_test_zone
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
reason='freeipa ticket 9216', strict=True)
def test_chain_of_trust_drill(self):
"""
Validate signed DNS records, using our own signed root zone
@ -477,9 +467,6 @@ class TestInstallDNSSECFirst(IntegrationTest):
self.master.run_command(args)
self.replicas[0].run_command(args)
@pytest.mark.xfail(
osinfo.id == 'fedora' and osinfo.version_number >= (37,),
reason='freeipa ticket 9216', strict=True)
def test_chain_of_trust_delv(self):
"""
Validate signed DNS records, using our own signed root zone