#9224 Nightly test failure in test_integration/test_otp.py::TestOTPToken::()::test_check_otpd_after_idle_timeout
Closed: fixed by frenaud. Opened by mpolovka.

The nightly test test_otp.py::TestOTPToken::()::test_check_otpd_after_idle_timeout is failing in [testing_ipa-4.6] Nightly PR #1952 with an error

E       AssertionError: Command: journalctl --since=2022-08-15 14:51:55 repeatedly failed 45 times, exceeding the timeout of 90 seconds.

raised from

2022-08-15 14:55:41,481    DEBUG              # ipa-otpd don't flush its logs to syslog immediately
2022-08-15 14:55:41,481    DEBUG              cmd = ['journalctl', '--since={}'.format(since)]
2022-08-15 14:55:41,481    DEBUG              tasks.run_repeatedly(
2022-08-15 14:55:41,481    DEBUG  >               self.master, command=cmd, test=test_cb, timeout=90)

Re-run has been tried, the issue is persistent.

Full report, runner log.

Note: This is not related to #8959


This issue was fixed with on master, ipa-4-10 and ipa-4-9 branches with b5fd288 ipatests: fix TestOTPToken::test_check_otpd_after_idle_timeout.

A backport may be needed on the ipa-4-6 branch. Not sure why it was not backported so far, maybe the issue simply didn't happen on that branch.

ipa-4-6:

  • 7699b5191c5cf57ed0779b00832132d746dfb4ca ipatests: fix TestOTPToken::test_check_otpd_after_idle_timeout
  • 4f7ea06093886bf55fea72630729e77273197211 ipatests: backport tasks.ldapsearch_dm

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata