The test test_dnssec.py::TestInstallDNSSECFirst::test_resolvconf is failing on fedora33, see PR #698 with the following logs and report:
test_dnssec.py::TestInstallDNSSECFirst::test_resolvconf
self = <ipatests.test_integration.test_dnssec.TestInstallDNSSECFirst object at 0x7f9f467d1520> def test_resolvconf(self): # check that resolv.conf contains IP address for localhost for host in [self.master, self.replicas[0]]: resolvconf = host.get_file_contents(paths.RESOLV_CONF, 'utf-8') > assert any(ip in resolvconf for ip in ('127.0.0.1', '::1')) E assert False E + where False = any(<generator object TestInstallDNSSECFirst.test_resolvconf.<locals>.<genexpr> at 0x7f9f46541740>) test_integration/test_dnssec.py:468: AssertionError
The test expects /etc/resolv.conf to contain 127.0.0.1 as resolver. On fedora33, systemd-resolved is enabled and the DNS server installation does not modify /etc/resolv.conf but rather creates a file /etc/systemd/resolved.conf.d/zzz-ipa.conf:
# auto-generated by IPA installer [Resolve] # use local BIND instance DNS=127.0.0.1 # make local BIND default DNS server, add search suffixes Domains=~. ipa.test
The test code needs to be adapted.
Metadata Update from @sorlov: - Issue assigned to sorlov
PR: https://github.com/freeipa/freeipa/pull/5559
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-8:
Login to comment on this ticket.