The test test_trust_functional.py::TestTrustFunctionalUser::test_su_ad_user is failing in rawhide (f45) as it expects and exact output but the su command includes additional messages.
test_trust_functional.py::TestTrustFunctionalUser::test_su_ad_user
Test scenario: run su - nonposixuser@AD-XHYP.TEST -c whoami in a trust environment
su - nonposixuser@AD-XHYP.TEST -c whoami
The output contains:
Last login: Mon Apr 27 14:39:33 UTC 2026 from 10.0.189.151 on ssh nonposixuser@ad-xhyp.test
but the test expects only the user name, not the line with Last login: ...
Last login: ...
Seen in IDMCI - https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2026-04-25_19-30/rawhide/test_trust_functional/4/report.html?sort=result
The test needs to be adapted and be more flexible. The line Last login: ... started appearing with util-linux-2.42-7.fc45.x86_64.
Metadata Update from @frenaud: - Issue tagged with: test-failure, tests
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8371
master:
ipa-4-12:
ipa-4-13:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)