The nightly test test_ipahealthcheck.py::TestIpaHealthCheck::test_replication_check_exists is failing, see PR #307 [testing_master_latest]
test_ipahealthcheck.py::TestIpaHealthCheck::test_replication_check_exists
logs:
self = <ipatests.test_integration.test_ipahealthcheck.TestIpaHealthCheck object at 0x7f503b258970> def test_replication_check_exists(self): """ Testcase to verify checks available in ipahealthcheck.ds.replication source """ result = self.master.run_command( ["ipa-healthcheck", "--source", "ipahealthcheck.ds.replication"] ) for check in replication_checks: > assert check in result.stdout_text E assert 'ReplicationConflictCheck' in '[\n {\n "source": "ipahealthcheck.ds.replication",\n "check": "ReplicationCheck",\n "result": "SUCCESS",\n ...83a-a48b-440a-9bea-9705c854ee65",\n "when": "20200725005403Z",\n "duration": "0.012313",\n "kw": {}\n }\n]\n' E + where '[\n {\n "source": "ipahealthcheck.ds.replication",\n "check": "ReplicationCheck",\n "result": "SUCCESS",\n ...83a-a48b-440a-9bea-9705c854ee65",\n "when": "20200725005403Z",\n "duration": "0.012313",\n "kw": {}\n }\n]\n' = <pytest_multihost.transport.SSHCommand object at 0x7f503b241040>.stdout_text test_integration/test_ipahealthcheck.py:237: AssertionError -------------------------------Captured log call-------------------------------- INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-healthcheck', '--source', 'ipahealthcheck.ds.replication'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:513 RUN ['ipa-healthcheck', '--source', 'ipahealthcheck.ds.replication'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 [ DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 { DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "source": "ipahealthcheck.ds.replication", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "check": "ReplicationCheck", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "result": "SUCCESS", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "uuid": "38bd75d2-aaef-4af4-9462-81b7f2b95202", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "when": "20200725005403Z", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "duration": "0.256253", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "kw": {} DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 }, DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 { DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "source": "ipahealthcheck.ds.replication", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "check": "ReplicationChangelogCheck", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "result": "SUCCESS", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "uuid": "a5d9483a-a48b-440a-9bea-9705c854ee65", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "when": "20200725005403Z", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "duration": "0.012313", DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 "kw": {} DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 } DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:557 ] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd84:transport.py:217 Exit code: 0
The ReplicationConflictCheck check was moved to lib389 checks with commit 0431fc9 in freeipa-healthcheck repo and the source was delivered in ipa-healthcheck 0.6 that is now shipped in fedora updates. The test needs to be adapted.
Addressed in PR https://github.com/freeipa/freeipa/pull/4943
Metadata Update from @rcritten: - Issue assigned to rcritten
Another failure: PR316, logs
Fixed upstream master: https://pagure.io/freeipa/c/d238fb4f2bb6525367a73c42a8a238843d5c8b43 https://pagure.io/freeipa/c/61c71e4a62347cd7188e407acc69ce8362857cb4
Fixed upstream ipa-4-8: https://pagure.io/freeipa/c/d0cdae4836418272d69e572f0327a66a6fd81b35 https://pagure.io/freeipa/c/e91c7bcd76cd41e6dd82bb5571a8299d4ccf67ee
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.