The nightly test test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ds_riplugincheck is failing when updates-testing repo is enabled, see PR #810 with the following logs and report:
test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ds_riplugincheck
self = <ipatests.test_integration.test_ipahealthcheck.TestIpaHealthCheck object at 0x7f27c3f1d9d0> update_riplugin = None def test_ipahealthcheck_ds_riplugincheck(self, update_riplugin): """ This testcase ensures that RIPluginCheck displays warning when update value is set. """ warn_msg = ( "We advise that you set this value to 0, and enable referint " "on all masters as it provides a more predictable behaviour.\n" ) returncode, data = run_healthcheck( self.master, "ipahealthcheck.ds.ds_plugins", "RIPluginCheck", ) assert returncode == 1 for check in data: assert check["result"] == "WARNING" > assert warn_msg in check["kw"]["msg"] E AssertionError: assert 'We advise that you set this value to 0, and enable referint on all masters as it provides a more predictable behaviour.\n' in 'The referential integrity plugin has an asynchronous processing mode.\nThis is controlled by the update-delay flag. ...vise that you set this value to 0, and enable referint on all suppliers as it provides a more predictable behaviour.\n' test_integration/test_ipahealthcheck.py:1140: AssertionError -------------------------------Captured log setup------------------------------- INFO ipatests.pytest_ipa.integration.host.Host.master:host.py:150 Connecting to LDAP at master.ipa.test INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:436 GET /etc/ipa/ca.crt DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd352:transport.py:513 RUN ['cat', '/etc/ipa/ca.crt'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd352:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master:host.py:163 LDAP bind as cn=Directory Manager -------------------------------Captured log call-------------------------------- INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-healthcheck', '--source', 'ipahealthcheck.ds.ds_plugins', '--check', 'RIPluginCheck', '--output-type', 'json'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:513 RUN ['ipa-healthcheck', '--source', 'ipahealthcheck.ds.ds_plugins', '--check', 'RIPluginCheck', '--output-type', 'json'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 [ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 { DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "source": "ipahealthcheck.ds.ds_plugins", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "check": "RIPluginCheck", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "result": "WARNING", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "uuid": "85048bc3-bdc7-4423-9577-fedb9fb5b04a", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "when": "20210328044440Z", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "duration": "0.192629", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "kw": { DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "key": "DSRILE0001", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "items": [ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "cn=referential integrity postoperation,cn=plugins,cn=config" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 ], DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 "msg": "The referential integrity plugin has an asynchronous processing mode.\nThis is controlled by the update-delay flag. When this value is 0, referential\nintegrity plugin processes these changes inside of the operation that modified\nthe entry - ie these are synchronous.\n\nHowever, when this is > 0, these are performed asynchronously.\n\nThis leads to only having referint enabled on one supplier in MMR to prevent replication conflicts and loops.\nAdditionally, because these are performed in the background these updates may cause spurious update\ndelays to your server by batching changes rather than smaller updates during sync processing.\n\nWe advise that you set this value to 0, and enable referint on all suppliers as it provides a more predictable behaviour.\n" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 } DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 } DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:557 ] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd353:transport.py:217 Exit code: 1
The msg reported by the RIPluginCheck check has been modified and the test needs to be updated.
RIPluginCheck
This new message is the result of commit 19eb28d Issue 4656 - Remove problematic language from UI/CLI/lib389
Metadata Update from @frenaud: - Issue assigned to frenaud
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/5670
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Issue still present in [testing_master_previous] Nightly PR #832 , report
Log in to comment on this ticket.