Project

General

Profile

action #88199

Updated by riafarov over 3 years ago

## Observation 

 The problem is that we match known warning, but on the next iteration of the loop it is still shown and as we have already processed in the test code, we fail as it appears to be another warning. 
 Solution would be to either ensure that warning was closed before next iteration, or be more tolerant with waiting. 
 NOTE: issue is very rare, so does not require hammering ;) 

 It looks like the pop-up [here](https://openqa.suse.de/tests/5337959#step/installation/15) was closed before being asserted again. 

 [2021-01-25T16:48:26.895 CET] [debug] >>> testapi::_handle_found_needle: found installation-autoyast-boot-20201009, similarity 1.00 @ 325/305 
 [2021-01-25T16:48:26.897 CET] [debug] tests/autoyast/installation.pm:215 called testapi::check_screen 
 [2021-01-25T16:48:26.897 CET] [debug] <<< testapi::check_screen(mustmatch="warning-partition-reduced", timeout=0) 
 [2021-01-25T16:48:27.064 CET] [debug] no match: -0.1s, best candidate: autoyast-warning-partition-reduced-20170609 (0.00) 
 [2021-01-25T16:48:27.269 CET] [debug] >>> testapi::_check_backend_response: match=warning-partition-reduced timed out after 0 (check_screen) 
 [2021-01-25T16:48:27.300 CET] [debug] tests/autoyast/installation.pm:225 called installation::handle_warnings -> tests/autoyast/installation.pm:92 called testapi::check_screen 
 [2021-01-25T16:48:27.300 CET] [debug] <<< testapi::check_screen(mustmatch="autoyast-known-warning", timeout=0) 
 [2021-01-25T16:48:30.229 CET] [debug] WARNING: check_asserted_screen took 2.33 seconds for 14 candidate needles - make your needles more specific 
 [2021-01-25T16:48:30.229 CET] [debug] no match: -0.7s, best candidate: autoyast-warning-shrinking-20191218 (0.18) 
 [2021-01-25T16:48:30.434 CET] [debug] >>> testapi::_check_backend_response: match=autoyast-known-warning timed out after 0 (check_screen) 
 [2021-01-25T16:48:30.616 CET] [info] ::: basetest::runtest: # Test died: Unknown popup message at /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/autoyast/installation.pm line 92. 

 openQA test in scenario sle-15-SP3-Online-x86_64-autoyast_lvm@64bit fails in 
 [installation](https://openqa.suse.de/tests/5337959/modules/installation/steps/19) 

 ## Test suite description 
 AutoYaST installation using LVM for partitioning, having GPT with /, /opt and 
 swap Logical Volumes in a single Volume Group. Following is validated in the SUT: 
   - LVM configuration. 
   - Firewall configuration. 
   - Subvolumes configuration. 
   - Passwords are set for the users in the profile. 


 ## Reproducible 

 Fails since (at least) Build [132.4](https://openqa.suse.de/tests/5337959) (current job) 


 ## Expected result 

 Last good: [130.3](https://openqa.suse.de/tests/5329100) (or more recent) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=autoyast_lvm&version=15-SP3) 

Back