mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
52ec9cc027
test_ipahealthcheck_expiring is moving the date in the future in order to check that certmonger properly warns about expiring certificates, then uninstalls the master. The uninstallation randomly fails with a DBus error communicating with certmonger because of a contention between certmonger being waken up by the call to stop tracking certs and the certmonger helpers trying to renew the certs. The test is stopping PKI server, then moves the date in the future. At this point, certmonger is still running (we are testing that getcert list properly warns about near expiration). This means that chances are high that certmonger has enough time to launch the CA helper for renewal, that takes the lock. But since PKI is down, the helper remains running for a while and does not release the lock. Then certmonger is stopped, the tracking files are removed, certmonger is restarted. To avoid the contention, manually remove the tracking before calling uninstall and remove the renewal lock file. Fixes: https://pagure.io/freeipa/issue/9123 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> |
||
---|---|---|
.. | ||
azure | ||
man | ||
prci_definitions | ||
pytest_ipa | ||
test_cmdline | ||
test_custodia | ||
test_install | ||
test_integration | ||
test_ipaclient | ||
test_ipalib | ||
test_ipaplatform | ||
test_ipapython | ||
test_ipaserver | ||
test_ipatests_plugins | ||
test_webui | ||
test_xmlrpc | ||
__init__.py | ||
conftest.py | ||
create_external_ca.py | ||
data.py | ||
i18n.py | ||
ipa-run-tests | ||
ipa-test-config | ||
ipa-test-task | ||
Makefile.am | ||
setup.cfg | ||
setup.py | ||
test_util.py | ||
util.py |