Project

General

Profile

action #124652

Updated by okurz over 1 year ago

## Motivation 
 During our graphical YaST tests we (the qe-yam team) encounter a type of graphic glitch where the screen is not properly refreshed. 
 Examples can be seen [here](https://openqa.suse.de/tests/10436703#step/iscsi_client/57) and [here](https://openqa.suse.de/tests/9680782#step/yast2_control_center/96) 

 This behavior is sporadic but widespread enough that it has forced qe-yam to apply [workarounds](https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15889) to a number of our tests. 
 Because the conditions allowing the workarounds are not always consistent, we have interest in the root of the issue getting resolved. 
 Our [latest bug entry](https://bugzilla.suse.com/show_bug.cgi?id=1204176) on the matter has been tagged as WONTFIX because we (qe-yam and the YaST developers) have not found a way to reproduce this glitch outside of the openQA environment. 

 latest: https://openqa.suse.de/tests/10499467#step/yast2_lan_restart_vlan/19 (glitch does not happen on yast2_control_center on last build but can be seen elsewhere) 
 last good: https://openqa.suse.de/tests/5900202#step/yast2_control_center/94 

 ### Scope 
 aarch64, s390x, x86_64 on SLE 15-SP4 and SLE 15-SP5 (issue is not exclusive on qemu) 

 ## Acceptance criteria 
 * **AC1:** The graphic glitch does not appear anymore in tests 

 ## Problem 
 * **H1** could be the qemu video adapter 
  * **H1.1** **REJECTED** could be the specific choice of qemu video adapter 
    * *E1.1-1* *DONE* Try out the reproducing openQA test with different qemu video adapters -> *O1.1-1-1* #124652#note-16 different video  
 adapters reproduced the same issue 
  * **H1.2** maybe can not be reproduced with using special qemu video adapter settings 

 * **H2** **REJECTED** only happens in older SLE versions => Current SLE15SP5 affected the same 
   * *E2-1* *DONE* Run the equivalent openQA test on SLE <15-SP5 -> 
    * *O2-1-1* issue observed on SLE15SP4-build31.2+ #124652#note-3 
    * *O2-1-2* 0/100 failures on SLE15SP3+maintenance updates #124652#note-25 
   * *E2-2* *DONE* Run the equivalent openQA test on current Tumbleweed -> *O2-2-1* Tumbleweed does not reproduce the problem, see #124652#note-26 
   * *E2-3* *DONE* Run the equivalent openQA test on current SLE15SP5 -> *O2-3-1* #124652#note-32 5/101 (yast2_security) fails [SLE15SP5@OSD](https://openqa.suse.de/tests/overview?distri=sle&build=glitch_investigation_SP5&version=15-SP5) 
  * **H2.1** **ACCEPTED** only happens in older SLE versions with newer maintenance updates 
   * *E2.1-1* *DONE* Run openQA test on SLE15-SP4 -> #124652#note-23 97% fail rate iscsi_server on SLE15-SP4 
   * *E2.1-2* *DONE* From #124652#note-24 Run openQA test on SLE15-SP3 with state of maintenance update from 2 years ago ("last good" https://openqa.suse.de/tests/5900202#step/yast2_control_center/94 from #Motivation) -> #124652-36 0/100 failures on SLE15SP3GM; 0/100 failures on SLE15SP2+updates -> accept *H2.1* 
 * **H3** **ACCEPTED** can only be reproduced in openQA 
   * *E3-1* *DONE* try to reproduce manually -> no one could reproduce manually 
  * **H3.1** **REJECTED** can be reproduced on openqa.suse.de regardless of OS version or variant 
    * *E3.1-1* *DONE* Run openSUSE openQA test on openqa.suse.de -> *O3.1-1-1* #124652#note-32    0/101 fails [Tumbleweed@OSD](https://openqa.suse.de/tests/overview?distri=opensuse&build=glitch_investigation_tw&version=Tumbleweed) + 0/101 [Leap15.4@OSD](https://openqa.suse.de/tests/overview?distri=opensuse&build=glitch_investigation_leap_sp4&version=15.4) + 0/100 [Leap15.5@OSD](https://openqa.suse.de/tests/overview?distri=opensuse&version=Leap15.5&build=glitch_investigation_leap_sp5) vs. 5/101 fails [SLE15SP5@OSD](https://openqa.suse.de/tests/overview?distri=sle&build=glitch_investigation_SP5&version=15-SP5) 
 * **H4** **ACCEPTED** The test module(s) "iscsi_server/client" are most prone to fail, also shows in other yast modules 
  * *E4-1* *DONE* Gather statistics for different yast modules -> 
   * *O4-1-1* #124652#note-11 the problem was referenced for different modules, e.g. iscsi_server and yast2_security but no clear statistics 
   * *O4-1-2* #124652#note-23 97-99% fail rate iscsi_server on SLE15-SP4/5 vs. #124652#note-32 5% yast2_security on SLE15-SP5 

 ## Suggestions 
 * It looks like window decorations are missing from the dialog 
 * The emulated graphics adapter might be causing problems with the window manager 
 * Research what options could be used with the graphics emulation in qemu 
 * Identify the underlying parameter(s) in the openQA environment that can cause this graphical glitch. 
 * Find a last good? We couldn't find one easily? 
 * could be a VNC-related issue? Missing borders may occur there 

 ## Further details 
 [Link to latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=yast2_gui&version=15-SP5)

Back