action #120450
closedcoordination #121876: [epic] Handle openQA review failures in Yam squad - SLE 15 SP5
Call conditionally systemd-vconsole-setup before accessing virtual consoles to avoid wrong visualization with ncurses
0%
Description
Motivation¶
We need to run only stable tests for testing unreleased maintenance updates as aggregate.
We encountered the following sporadic test issue:
openQA test in scenario sle-12-SP5-Server-DVD-Updates-x86_64-qam-nfs-client@64bit fails in
yast2_nfs_client
It is related with this bug https://bugzilla.suse.com/show_bug.cgi?id=1183234#c52 and we need to adapt our test scenario to workaround it.
Before any access to any of the virtual consoles the systemd-vconsole-setup(8) has to be executed to be sure that the configuration in vconsole.conf(5) is applied (font with its font mappings as well as the keymap)
Perhaps in this bug is better explained https://bugzilla.suse.com/show_bug.cgi?id=1205290#c3
This translates to calling /usr/lib/systemd/systemd-vconsole-setup after console switching, we need to do that for every tty except tty1.
Scope¶
The one from the SLE bug, only SLE 12 SP5
Acceptance criteria¶
AC1: Call conditionally the command mentioned before opening YaST module
Additional information¶
We might need to apply this solution in other test suites, it is not specific of this test suite, but something broken in SLE 12 SP5.
we could consider to include it conditionally in the mechanism to open YaST modules conditionally to =SLE-12-SP5.