action #88199
closed[Sporadic] Test fails with "unknown pop-up message" but there is no pop-up
0%
Description
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 was closed before being asserted again.
[32m[2021-01-25T16:48:26.895 CET] [debug] >>> testapi::_handle_found_needle: found installation-autoyast-boot-20201009, similarity 1.00 @ 325/305
[0m[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)
[37m[2021-01-25T16:48:27.064 CET] [debug] no match: -0.1s, best candidate: autoyast-warning-partition-reduced-20170609 (0.00)
[0m[32m[2021-01-25T16:48:27.269 CET] [debug] >>> testapi::_check_backend_response: match=warning-partition-reduced timed out after 0 (check_screen)
[0m[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)
[37m[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
[0m[37m[2021-01-25T16:48:30.229 CET] [debug] no match: -0.7s, best candidate: autoyast-warning-shrinking-20191218 (0.18)
[0m[32m[2021-01-25T16:48:30.434 CET] [debug] >>> testapi::_check_backend_response: match=autoyast-known-warning timed out after 0 (check_screen)
[0m[33m[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
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 (current job)
Expected result¶
Last good: 130.3 (or more recent)
Further details¶
Always latest result in this scenario: latest