Sometimes test_login_wrong_password fails with the following Assertion:
AssertionError: assert 'pam_sss(sshd:auth): received for user testuser: 7 (Authentication failure)' in '-- Logs begin at Mon 2020-07-27 07:23:48 UTC, end at Mon 2020-07-27 07:51:55 UTC. --\nJul 27 07:51:54 master.ipa.test sshd[33296]: Failed password for testuser from 192.168.122.58 port 52848 ssh2\n'
The logs contain:
Jul 27 07:51:52 master.ipa.test sshd[33296]: pam_sss(sshd:auth): received for user testuser: 7 (Authentication failure)
right before:
Jul 27 07:51:54 master.ipa.test sshd[33296]: Failed password for testuser from 192.168.122.58 port 52848 ssh2
PR inbound.
Metadata Update from @fcami: - Custom field changelog adjusted to Sometimes test_login_wrong_password fails because the log window the string message is searched in is too narrow. Broaden the window by looking at the past 10 seconds. - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4947
master:
ipa-4-6:
ipa-4-8:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-9:
fdd5ba3 ipatests: Don't assume sshd flush its logs immediately
Login to comment on this ticket.