ipa-healthcheck 0.11 has a different output for the check DogtagCertsConnectivityCheck and the test test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_dogtag_ca_connectivity_check needs to be adapted to handle both old and new outputs.
test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_dogtag_ca_connectivity_check
The test is stopping PKI, then launches ipa-healthcheck and checks that DogtagCertsConnectivityCheck properly reports an issue.
With ipa-healthcheck < 0.11:
[ { "source": "ipahealthcheck.dogtag.ca", "check": "DogtagCertsConnectivityCheck", "result": "ERROR", "uuid": "e8dfb583-99d8-4291-9cb5-09b5107744f2", "when": "20220609012302Z", "duration": "0.032547", "kw": { "key": "cert_show_1", "msg": "Request for certificate failed, Certificate operation cannot be completed: Request failed with status 503: Non-2xx response from CA REST API: 503. (503)" } } ]
With ipa-healthcheck 0.11:
[ { "source": "ipahealthcheck.dogtag.ca", "check": "DogtagCertsConnectivityCheck", "result": "ERROR", "uuid": "d1ca61c8-83ae-4006-b76b-0fce1eb8ac23", "when": "20220608102612Z", "duration": "0.095807", "kw": { "key": "cert_show_1", "error": "Certificate operation cannot be completed: Request failed with status 503: Non-2xx response from CA REST API: 503. (503)", "serial": "1", "msg": "Request for certificate failed: {error}" } } ]
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6299
Reproduce in testing_master_testing_selinux report
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.