Project

General

Profile

action #120450

Updated by JERiveraMoya over 1 year ago

#### 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](https://openqa.suse.de/tests/9959056/modules/yast2_nfs_client/steps/74) 

 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. 
 Apparently it might be related with a race condition: 

 ``` 
 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 We need to do check that for every tty except tty1. this service is started and running before doing further actions with YaST modules. 

 #### Scope 
 The one from the [SLE bug](https://bugzilla.suse.com/show_bug.cgi?id=1205290#c3), only SLE 12 SP5 

 #### Acceptance criteria 
 **AC1**: Call conditionally the command mentioned Check that this service is started and running before opening doing further actions with YaST module modules 
 **AC2**: Solution is reusable for other YaST modules 

 #### 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. suite. 
 we could consider to include Probably including it conditionally in the mechanism to open YaST modules conditionally to =SLE-12-SP5. a library would do, because having specific test module for it might require further module split.

Back