action #169906
closedcoordination #169657: [epic] Handle test fixes and adjustments
Ensure dialog 'Password needed' is reached
0%
Description
Motivation¶
Failed job
This is a sporadic issue, it seems sometimes the 'Password needed' dialog hasn't popup. On passed job it will popup like this https://openqa.suse.de/tests/15938465#step/yast2_security/12.
Some suggestions for this:
check whether a timing issue, increase match_timeout value to wait more time.
Line:31, tests/sle/tests/yast2_gui/yast2_security.pmy2_module_guitest::launch_yast2_module_x11("security", match_timeout => 120, apply_workaround => is_sle('>=15-SP4') ? 1 : 0);
manual check the status would be helpful(on local env or on openQA and stop at the module of yast2_security, both ok)
Acceptance criteria¶
AC1:: Ensure dialog 'Password needed' is reached.
Updated by JERiveraMoya 3 months ago
- Tags set to qe-yam-nov-sprint
- Status changed from New to Workable
- Parent task set to #169657
Updated by JERiveraMoya 3 months ago
- Subject changed from Check why dialog 'Password needed' hasn't popup in time to Ensure dialog 'Password needed' is reached
Updated by hjluo 2 months ago
- Changed
match_timeout
from120
to160
and 5 jobs passed.
Updated by hjluo 2 months ago
leli wrote in #note-12:
hjluo wrote in #note-11:
- Run 20 jobs with 240 seconds of waiting time. and 4 out of 20 jobs failed. now I'm checking the code to see the different behavor with the log.
I think you can try to reproduce the issue manually, then decide how to act for next step.
yes, I'd try, looks like when this issue happened, there's workaroud in the previous screen. Thanks
Updated by JERiveraMoya 2 months ago
- Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Updated by JERiveraMoya 2 months ago
Did you find any tip how to solve it? (asking as usual as sprint review is near).
It is kind of low prio (and sporadic) compare with other items in the backlog, we could put it on backlog if no more clues, but I'm also fine if you want to continue because you found some way to dig in with the problem. wdyt?
Updated by leli 2 months ago · Edited
hjluo wrote in #note-16:
- I did manual test and everyting works, the dialog popped up. now checking log and code for more information.
So this more like a timing issue, please think to increase the RAM and cpu, etc for env effect, more timeout value is also possible.
- I'd like to keep working on it when I was waiting VRs from other tickets.
Updated by hjluo about 2 months ago · Edited
- Now run 45.2 with
QEMURAM=8096
20 jobs. and 4 out of 20 jobs failed for yast2_security. - Now I'm checking the video to see if there anything abnormal.
Updated by hjluo about 2 months ago
- For all the failed jobs, there's one line shows
[2024-12-09T06:50:32.746411Z] [debug] [pid:79637] Check connection to the app by url: http://localhost:39124/v1/widgets
[2024-12-09T06:46:08.217896Z] [info] [pid:14245] yast2_software_management test module started
[2024-12-09T06:46:44.978676Z] [info] [pid:14245] yast2_security test module started
[2024-12-09T06:51:34.121588Z] [debug] [pid:14245] Check connection to the app by url: http://localhost:39119/v1/widgets
[2024-12-09T06:55:58.355376Z] [info] [pid:14245] yast2_lang test module started
[2024-12-09T06:58:41.999747Z] [info] [pid:14245] yast2_users test module started
[2024-12-09T06:59:26.750345Z] [info] [pid:14245] yast2_datetime test module started
for the passed one the output is like:
[2024-12-09T06:46:09.972898Z] [info] [pid:77080] yast2_software_management test module started
[2024-12-09T06:46:47.083504Z] [info] [pid:77080] yast2_security test module started
[2024-12-09T06:52:47.352606Z] [info] [pid:77080] yast2_lang test module started
[2024-12-09T06:55:27.893805Z] [info] [pid:77080] yast2_users test module started
[2024-12-09T06:56:13.262953Z] [info] [pid:77080] yast2_datetime test module started
[2024-12-09T06:56:53.313133Z] [info] [pid:77080] yast2_hostnames test module started
[2024-12-09T06:58:02.315312Z] [info] [pid:77080] yast2_network_settings test module started
Updated by hjluo about 2 months ago
- Checked the latest result for RAM=8096 and all failed jobs failed at 3rd time to launch the yast2 security, and the waitmatch wait there for 180 seconds and the password screen still not appeared.
Updated by hjluo about 2 months ago
- tried it on x86_64 all 10 jobs passed, looks like this issue just happens on aarch64.
Updated by leli about 2 months ago
You can try to move this module before yast2_system_settings to have a look.
Updated by leli about 2 months ago
Another thought for this issue, maybe we need do some clean between each test inside the module, suggest to logout and login between each security test.
Updated by hjluo about 2 months ago · Edited
leli wrote in #note-24:
Another thought for this issue, maybe we need do some clean between each test inside the module, suggest to logout and login between each security test.
Updated by hjluo about 2 months ago
now all 20 jobs passed, send out PR#20686 for review.
Updated by hjluo about 2 months ago
- Lemon reviewed the PR and now changed the code and rerun all VRs.
Updated by hjluo about 2 months ago
- Now still in the PR review for newer comments.
Updated by JERiveraMoya about 2 months ago
- Status changed from In Progress to Resolved