action #36126
closed[functional][u] post_fail_hook matches on "text_login_root" before actual tty switch and therefore never logs in
0%
Description
Observation¶
openQA test in scenario opensuse-Tumbleweed-NET-ppc64-minimalx@ppc64 fails in
zypper_up
executing the post_fail_hook trying to match on "tt5-selected" - which should have been the right needle in this case - as well as "text_logged_in_root" which unfortunately matches but should not.
Reproducible¶
Fails since (at least) Build 20180427
Expected result¶
Last good: 20180425 (or more recent)
The post_fail_hook should be able to match on tty5-selected and log into that terminal
Suggestions¶
I assume this can only be a problem when executing tests in console which would fail very early or do not produce much output so that the initial prompt is still visible
We could clear the console before executing a test module after logging on. Or we wait a forced sleep time after executing the console switch so that at least the original should go away even though this also sounds not necessarily save enough.
Further details¶
Always latest result in this scenario: latest