The nightly test test_ipahealthcheck.py::TestIpaHealthCheck::test_sosreport_includes_healthcheck is failing in rawhide, see PR #1195 with the following logs and report:
test_ipahealthcheck.py::TestIpaHealthCheck::test_sosreport_includes_healthcheck
self = <ipatests.test_integration.test_ipahealthcheck.TestIpaHealthCheck object at 0x7f52f9cae110> create_logfile = None def test_sosreport_includes_healthcheck(self, create_logfile): """ This testcase checks that sosreport command when run on IPA system with healthcheck installed collects healthcheck.log file """ caseid = "123456" msg = "[plugin:ipa] collecting path '{}'".format(HEALTHCHECK_LOG) cmd = self.master.run_command( [ "sosreport", "-o", "ipa", "--case-id", caseid, "--batch", "-v", "--build", ] ) > assert msg in cmd.stdout_text E assert "[plugin:ipa] collecting path '/var/log/ipa/healthcheck/healthcheck.log'" in "Please note the 'sosreport' command has been deprecated in favor of the new 'sos' command, E.G. 'sos report'.\nRedire...ins\n\n\nYour sosreport build tree has been generated in:\n\t/var/tmp/sosreport-master-123456-2021-09-25-jrzflre\n\n\n" E + where "Please note the 'sosreport' command has been deprecated in favor of the new 'sos' command, E.G. 'sos report'.\nRedire...ins\n\n\nYour sosreport build tree has been generated in:\n\t/var/tmp/sosreport-master-123456-2021-09-25-jrzflre\n\n\n" = <pytest_multihost.transport.SSHCommand object at 0x7f52fa0ed660>.stdout_text
The test started failing with the update of sos package to 4.2-1.fc36. With the previous version, the sos command was displaying the collected files but it seems the new version does not have the expected verbose output any more. The expected line is visible only if sosreport -vv is used
sos
sosreport -vv
Metadata Update from @frenaud: - Issue assigned to frenaud
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6032
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)