[functional][u] post_fail_hook matches on "text_login_root" before actual tty switch and therefore never logs in
openQA test in scenario opensuse-Tumbleweed-NET-ppc64-minimalx@ppc64 fails in
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.
Fails since (at least) Build 20180427
Last good: 20180425 (or more recent)
The post_fail_hook should be able to match on tty5-selected and log into that terminal
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.
Always latest result in this scenario: latest
https://openqa.opensuse.org/tests/1092034#next_previous doesn't show problem with pos_fail_hook for failed test module yast2_lan for example.
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
since the needle PR got merged and there is no issue atm with zypper_up on o3 for quite long time and if it needs to start post_fail_hook for failure, then it is covered now by my needle PR. So set is as resolved for now.