Project

General

Profile

Actions

action #68158

closed

[opensuse][functional][y] test fails sporadically in yast2_firstboot not navigating next screen

Added by JERiveraMoya almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-06-17
Due date:
2020-06-30
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.2-DVD-aarch64-yast2_firstboot@aarch64 fails in
yast2_firstboot
After sending to SUT 'ret' https://openqa.opensuse.org/tests/1303183#step/yast2_firstboot/8 sometimes got stuck in the same screen.
From the logs 'ret' is sent:

06:21.262 UTC] [debug] <<< testapi::send_key(key="ret", do_wait=0, wait_screen_change=0)

but it doesn't navigate to expected screen: 'Authentication for the System Administrator "root"'

What could be happen is that there is some delay on the event of this control which it is visible as focused after this action: https://openqa.opensuse.org/tests/1303183#step/yast2_firstboot/9,
so in this slower arch it is possible that the tick was not really processed and then it doesn't expect to go to that screen aforementioned and instead remains in the same screen.
Test requires some fix to stabilize it in this particular arch.

We have own implementation of the user settings processing, so we can take a look in tests/opensuse/tests/installation/user_settings.pm

As it's sporadic, we should make at least 10 VRs.

Actions #1

Updated by riafarov almost 4 years ago

  • Target version set to SLE 15 SP3
Actions #2

Updated by riafarov almost 4 years ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 5.00 h
Actions #3

Updated by JERiveraMoya almost 4 years ago

  • Assignee set to JERiveraMoya
Actions #4

Updated by JERiveraMoya almost 4 years ago

  • Status changed from Workable to In Progress
Actions #5

Updated by JERiveraMoya almost 4 years ago

  • Status changed from In Progress to Feedback

It was at the end more simple than expected due to the screen appears afterwards even it is not visible in the screenshot/video.
PR: Increase timeout in yast2_firstboot for slower archs

Actions #6

Updated by JERiveraMoya almost 4 years ago

  • Status changed from Feedback to Resolved

Latest run is failing in something else: https://openqa.opensuse.org/tests/1313369#step/yast2_firstboot/10
Last run with the fix: https://openqa.opensuse.org/tests/1311386#step/yast2_firstboot/3

[2020-06-23T03:09:19.642 CEST] [debug] <<< testapi::assert_screen(mustmatch="root_user", timeout=30)
[2020-06-23T03:09:20.036 CEST] [debug] no match: 59.6s, best candidate: yast2_firstboot-root_user_lp151-20190426 (0.29)
[2020-06-23T03:09:20.997 CEST] [debug] no change: 58.6s
[2020-06-23T03:09:21.998 CEST] [debug] no change: 57.6s
[2020-06-23T03:09:22.999 CEST] [debug] no change: 56.6s
[2020-06-23T03:09:24.237 CEST] [debug] no match: 55.6s, best candidate: yast2_firstboot-root_user_lp151-20190426 (0.29)
[2020-06-23T03:09:25.003 CEST] [debug] no change: 54.6s
[2020-06-23T03:09:26.004 CEST] [debug] no change: 53.6s
[2020-06-23T03:09:27.005 CEST] [debug] no change: 52.6s
[2020-06-23T03:09:28.006 CEST] [debug] no change: 51.6s
[2020-06-23T03:09:29.007 CEST] [debug] no change: 50.6s
[2020-06-23T03:09:30.008 CEST] [debug] no change: 49.6s
[2020-06-23T03:09:31.009 CEST] [debug] no change: 48.6s
[2020-06-23T03:09:32.010 CEST] [debug] no change: 47.6s
[2020-06-23T03:09:33.011 CEST] [debug] no change: 46.6s
[2020-06-23T03:09:34.012 CEST] [debug] no change: 45.6s
[2020-06-23T03:09:35.013 CEST] [debug] no change: 44.6s
[2020-06-23T03:09:36.014 CEST] [debug] no change: 43.6s
[2020-06-23T03:09:37.015 CEST] [debug] no change: 42.6s
[2020-06-23T03:09:38.016 CEST] [debug] no change: 41.6s
[2020-06-23T03:09:39.017 CEST] [debug] no change: 40.6s
[2020-06-23T03:09:40.018 CEST] [debug] no change: 39.6s
[2020-06-23T03:09:41.019 CEST] [debug] no change: 38.6s
[2020-06-23T03:09:42.020 CEST] [debug] no change: 37.6s
[2020-06-23T03:09:43.022 CEST] [debug] no change: 36.6s
[2020-06-23T03:09:44.355 CEST] [debug] >>> testapi::_handle_found_needle: found yast2_firstboot-root_user_lp151-20190426, similarity 1.00 @ 269/18
Actions

Also available in: Atom PDF