The nightly test test_integration/test_dns_locations.py::TestDNSLocations::test_ipa_ca_records is randomly failing with an error
test_integration/test_dns_locations.py:541: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_integration.test_dns_locations.TestDNSLocations object at 0x7faa6e120f50> server_ip = 'x.x.x.15', domain = <DNS name ufreeipa.test.> expected_servers = ('y.y.y.232', 'x.x.x.15) rec_list = (<DNS name ipa-ca>,) def _test_A_rec_against_server(self, server_ip, domain, expected_servers, rec_list=IPA_CA_A_REC): for rname in rec_list: name_abs = rname.derelativize(domain) expected = _gen_expected_a_rrset(name_abs, expected_servers) query = resolve_records_from_server( name_abs, 'A', server_ip) > assert expected == query, ( "Expected and received DNS data do not match on server " "with IP: '{}' for name '{}' (expected:\n{}\ngot:\n{})". format(server_ip, name_abs, expected, query)) E AssertionError: Expected and received DNS data do not match on server with IP: 'x.x.x.15' for name 'ipa-ca.ufreeipa.test.' (expected: E ipa-ca.ufreeipa.test. 86400 IN A y.y.y.232 E ipa-ca.ufreeipa.test. 86400 IN A x.x.x.15 E got: E ipa-ca.ufreeipa.test. 3600 IN A x.x.x.15) E assert <DNS ipa-ca.u...x.x.x.15>]> == <DNS ipa-ca.u...x.x.x.15>]> E E Full diff: E - <DNS ipa-ca.ufreeipa.test. IN A RRset: [<x.x.x.15>]> E + <DNS ipa-ca.ufreeipa.test. IN A RRset: [<y.y.y..232>, <1x.x.x.15>]> E ? ++++++++++++++++ domain = <DNS name ufreeipa.test.> expected = <DNS ipa-ca.ufreeipa.test. IN A RRset: [<y.y.y.232>, <x.x.x.15>]> expected_servers = ('y.y.y.232', 'x.x.x.15') name_abs = <DNS name ipa-ca.ufreeipa.test.> query = <DNS ipa-ca.ufreeipa.test. IN A RRset: [<x.x.x.15>]> rec_list = (<DNS name ipa-ca>,) rname = <DNS name ipa-ca> self = <ipatests.test_integration.test_dns_locations.TestDNSLocations object at 0x7faa6e120f50> server_ip = 'x.x.x.15' test_integration/test_dns_locations.py:184: AssertionError ----------------------------- Captured stderr call ----------------------------- ipa: ERROR: Giving up wait for replication to finish
The internal IPs have been censored
Logs: https://idm-artifacts.psi.redhat.com/idm-ci/freeipa_upstream_nightly/Nightly-latest-selinux/master/2025-02-24_07-21/latest-selinux/dns_locations/1/
Metadata Update from @mpolovka: - Issue tagged with: test-failure, tests
Log in to comment on this ticket.