action #72184
open[virtualization][y] Select_console fails sporadically for svirt-xen-hvm
0%
Description
Observation¶
There is a sporadic failure of approximately 17%, for prepare_data module for yast2_gui test suite. The SUT seems to be freezing with black screen, when select_console is called.
It is notable that by simplifying the module to:
sub run {
select_console 'root-console';
}
1;
it still displays the same percentage of failure.
The issue is not present in case of using xterm and chvt 6.
sub run {
x11_start_program('xterm');
wait_still_screen(5);
become_root;
assert_script_run "chvt 6";
assert_screen "tty6-selected";
}
1;
Unfortunately, the logs are not helpful. When successfully switching to tty6, the autoinst logs contain:
[2020-09-30T17:28:05.896 CEST] [debug] <<< testapi::select_console(testapi_console="root-console")
....
[ 82.601276] systemd[1]: Started Getty on tty6.
Looking at the logs from failed runs, the above phrase is missing.
openQA test in scenario sle-15-SP3-Online-x86_64-yast2_gui@svirt-xen-hvm fails in
prepare_test_data
Expected result¶
Further details¶
Always latest result in this scenario: latest