-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-8.10.z
-
Yes
-
Low
-
rhel-idm-ipa
-
None
-
QE ack, Dev ack
-
False
-
False
-
-
No
-
None
-
None
-
Automated
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
The nightly test
`test_ipahealthcheck.py::TestIpaHealthCheck::::test_sosreport_includes_healthcheck` sosreport is deprecated and does not collect healthcheck.log; sos report produces the expected output.
The test is failing on nightly rhel8.10.
Example of run: https://idm-artifacts.psi.redhat.com/idm-ci/freeipa/Test-compose/RHEL8.10/2025-09-26_09-43/tier-1/upstream-ipahealthcheck/1/
self = <ipatests.test_integration.test_ipahealthcheck.TestIpaHealthCheck object at 0x7f5a16f8dc50>
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",
"-vv",
"--build",
]
)
> assert msg in cmd.stdout_text
E assert "[plugin:ipa] collecting path '/var/log/ipa/healthcheck/healthcheck.log'" in "sosreport binary is deprecated, use 'sos report' instead\n"
E + where "sosreport binary is deprecated, use 'sos report' instead\n" = <pytest_multihost.transport.SSHCommand object at 0x7f5a16f8d2e8>.stdout_text
caseid = '123456'
cmd = <pytest_multihost.transport.SSHCommand object at 0x7f5a16f8d2e8>
create_logfile = None
msg = "[plugin:ipa] collecting path '/var/log/ipa/healthcheck/healthcheck.log'"
self = <ipatests.test_integration.test_ipahealthcheck.TestIpaHealthCheck object at 0x7f5a16f8dc50>
test_integration/test_ipahealthcheck.py:1395: AssertionError
----------------------------------------------------------------------
----------------------------------------------------------------------
sos-4.9.2-1.el8_10.noarch
ipa-server-4.9.13-18
ipa-healthcheck-core-0.12-6
- clones
-
RHEL-101707 Pagure #9752: ipatests: use "sos report" instead of "sosreport" command
-
- Closed
-