#9848 Test failure in test_certmonger_ipa_responder_jsonrpc
Closed: fixed by frenaud. Opened by frenaud.

Issue

The test test_integration/test_cert.py::TestInstallMasterClient::test_certmonger_ipa_responder_jsonrpc is unstable and randomly fails.

Test scenario:
- install IPA server and client
- store the date
- request a certificate on the client using ipa-getcert
- check in the journal that the request was done using the https://.../ipa/json URI

The check in the journal is done with journalctl --since=date but the date was obtained on the test runner with a python call time.strftime('%Y-%m-%d %H:%M:%S').

If the clocks from the runner and client are not synchronized, even 1s time drift could lead to the test failing. It would be best to obtain the time from the client at the beginning of the test.

Actual behavior

(what happens)

Expected behavior

(what do you expect to happen)

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.

Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html
Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting


Example of failing run in https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2025-08-30_19-30/rawhide/test_cert/5/report.html?sort=result

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7918

master:

  • 40b24b24c77d54750cda2a090c063f55d961b716 ipatests: fix test_certmonger_ipa_responder_jsonrpc

ipa-4-12:

  • 4a2e912d2386dfeb9765e32dd244b32b03cbf9a5 ipatests: fix test_certmonger_ipa_responder_jsonrpc

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata