action #50492
closed[opensuse] test fails in gnucash - Not able to close unfocused tip window
0%
Description
Updated by SLindoMansilla about 5 years ago
- Subject changed from test fails in gnucash to [opensuse][functional][u] test fails in gnucash - Not able to close unfocused tip window
- Description updated (diff)
- Priority changed from Normal to High
As a result of backlog triaging (see https://progress.opensuse.org/projects/openqatests/wiki#ticket-backlog-triaging for more information).
Please, feel free to adjust the category or the "[label]" if you think different.
Updated by michel_mno almost 5 years ago
interesting to note that on ppc64le, there is also an unfocused tip window, but that one is not placed foreground, eg: https://openqa.opensuse.org/tests/921536#step/gnucash/23
Updated by okurz almost 5 years ago
- Status changed from New to Workable
- Target version set to Milestone 25
QSF-u grooming
Updated by zluo almost 5 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over and check.
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/947641#step/gnucash/24 shows no issue atm.
Updated by zluo almost 5 years ago
http://f40.suse.de/tests/3808 shows expected result.
Updated by zluo almost 5 years ago
need to check:
https://openqa.opensuse.org/tests/947720#next_previous
issue on 3O because of repo which got removed already. Need to clone current job for now.
Updated by zluo almost 5 years ago
if (match_has_tag('gnucash-tip-close')) {
send_key 'esc';
}
In past we had issue with send_key esc on machine with poor performance.
Updated by zluo almost 5 years ago
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/948903
Assigned worker: openqa-aarch64:16
failed at consoletest_setup.
works fine:
https://openqa.opensuse.org/tests/948987
Assigned worker: openqa-aarch64:13
the difference is clear.
Updated by ggardet_arm almost 5 years ago
This is a typing issue appearing randomly. See: https://openqa.opensuse.org/tests/948903#step/consoletest_setup/3
The problem is known but no great fix have been found yet.
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/949870#next_previous shows that a couple of failures on gnucash for typing issue which is known and almost all the time for machines with performance issue in general: aarch64, ppc64le. But this kind of issue is not happened at tip windows here.
I agree on that we have typing issue in general, so a fix for this cannot be done by this ticket.
Updated by zluo almost 5 years ago
- Status changed from In Progress to Blocked
- Priority changed from High to Low
sporadic issue, low priority.
blocked since aarch64 worker of seattle10 is broken, and aarch64 workers on O3 are not working, too much incomplete tests.
Updated by okurz almost 5 years ago
- Status changed from Blocked to Workable
- Priority changed from Low to High
The o3 aarch64 worker is available again. It was just rebooted twice today, sorry about that.
Updated by zluo almost 5 years ago
to check https://openqa.opensuse.org/tests/955942 later
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/956021#step/gnucash/33 failed at:
assert_screen([qw(generic-desktop gnucash-close-without-saving-changes)]);
assert_and_click('gnucash-close-without-saving-changes') if match_has_tag('gnucash-close-without-saving-changes');
It seems here like timeout issue.
Updated by ggardet_arm almost 5 years ago
I think that assert_and_click
requires coordinates now. Maybe the problem here?
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/955977#step/gnucash/26 shows problem: Tip of Day cannot be closed
if (match_has_tag('gnucash-assistant-close')) {
assert_and_click 'gnucash-assistant-close';
assert_and_click 'gnucash-assistant-show-again-no';
assert_screen([qw(gnucash gnucash-tip-close)]);
if (match_has_tag('gnucash-tip-close')) {
send_key 'esc';
}
}
consider to replace send_key 'esc' by assert_and_click (create new needle).
Updated by zluo almost 5 years ago
this is sporadic issue however, it works in general with send_key esc or with assert_and_click.
Updated by zluo almost 5 years ago
100 test runs shows 3 times failure for gnucash. What we can do is: replace send_key esc to reduce the failure due to performance issue.
Updated by zluo almost 5 years ago
WIP PR:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7662
run
openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7662 https://openqa.opensuse.org/tests/954695 TEST=poo#46703 _GROUP_ID="0" TEST=poo#50492 _GROUP_ID="0" --skip-deps --skip-download EXCLUDE_MODULES=vino_screensharing_available,rrdtool_x11,yast2_lan_restart,hwsim_wpa2_enterprise_setup,yast2_network_use_nm,NM_wpa2_enterprise,check_default_network_manager --host https://openqa.opensuse.org
to check:
https://openqa.opensuse.org/tests/956636
needle for assert_and_click created on o3 already.
Updated by zluo almost 5 years ago
- Status changed from Workable to In Progress
wait for results of 100 verification tests on o3:
https://openqa.opensuse.org/tests/956636#next_previous
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/956790#step/gnucash/27 still failed.
it seems that gnucash-assistant is not coming up at all, need to cover this as well.
to check:
https://openqa.opensuse.org/tests/957503#live
Updated by zluo almost 5 years ago
update PR and need to check new test verification runs (50 times):
https://openqa.opensuse.org/tests/957762
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/957820#step/gnucash/35 shows still problem with match needle for x11_start_program.
Increase match_timeout => 60 for new try.
Updated by zluo almost 5 years ago
check test results: https://openqa.opensuse.org/tests/958469#live
Updated by zluo almost 5 years ago
update test-gnucash-2 for match needle at gnucash tutorial.
Updated by zluo almost 5 years ago
looks better, but still failed sometimes because cancel from gnucash-assistant. check or update the needle now
see issue: https://openqa.opensuse.org/tests/958657#step/gnucash/33
2 dialogue and 1 window overlapped.
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/959003#settings
add step to check gnucash-overlapped and make it in focus and then run assert_and_click
openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7662 https://openqa.opensuse.org/tests/954695 TEST=poo#50492 _GROUP_ID="0" --skip-deps --skip-download EXCLUDE_MODULES=vino_screensharing_available,rrdtool_x11,yast2_lan_restart,hwsim_wpa2_enterprise_setup,yast2_network_use_nm,NM_wpa2_enterprise,check_default_network_manager,multi_users_dm,keyboard_layout_gdm,seahorse,exiv2,prepare_test_data,consoletest_setup,hostname
Updated by zluo almost 5 years ago
Updated by zluo almost 5 years ago
https://openqa.opensuse.org/tests/959413/file/autoinst-log.txt shows still problem with timeout for needle match within more than 3 needles
increase:
x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close gnucash-overlapped)], match_timeout => 120);
update needle for assert-and-cick as well.
The issue is clear that worker performance caused failure.
to check: https://openqa.opensuse.org/tests/961399
https://openqa.opensuse.org/tests/961384#step/gnucash/41 shows now repo issue with snapshot!
Updated by zluo almost 5 years ago
the latest test on o3 https://openqa.opensuse.org/tests/961400 shows problem.
It means I cannot go further with clone job from o3. And remote worker on seattle10 is still not available.
Have to stop work on this ticket and set it as blocked for now.
Updated by okurz almost 5 years ago
- Status changed from Blocked to Workable
Blocked by what? Please follow the workflow as described. Only set to "blocked", if you can reference a blocker. There can not be a problem as generic as "worker performance caused failure"
Updated by zluo almost 5 years ago
as I already said that I cannot verify my code changes on o3, that comment #50492#note-31
Updated by SLindoMansilla almost 5 years ago
He just mean that the status blocked requires a ticket.
This should be: #52850
foursixnine is investigating if the kernel feature hugepages is supported by seattle10.
He suggested to clone the job with empty setting: QEMU_HUGE_PAGES_PATH=
If this doesn't work, you can set the ticket to blocked again.
Updated by okurz almost 5 years ago
hm, I don't understand how seattle10 would block verification on o3. So far I have not seen any useful statistical investigation. It can be really simple as in:
- before any fixes it fails in 28/100 runs
- with
assert_and_click
rather thansend_key
it fails 3/100
or something similar. I recommend to look into the overall system performance. Could be helpful to know if the system is heavily loaded when failing.
Updated by SLindoMansilla almost 5 years ago
ok, it doesn't block it because hugepages feature can be ignored by cloning with the empty setting: http://slindomansilla-vm.qa.suse.de/tests/1472
Updated by zluo almost 5 years ago
okurz wrote:
hm, I don't understand how seattle10 would block verification on o3. So far I have not seen any useful statistical investigation. It can be really simple as in:
- before any fixes it fails in 28/100 runs
- with
assert_and_click
rather thansend_key
it fails 3/100or something similar. I recommend to look into the overall system performance. Could be helpful to know if the system is heavily loaded when failing.
assert_and_click hat a timetout and send_key seems to be a problem in general when worker has been heavily loaded. aarch64 workers are in general slow. failure statistic 28/100 is much worse than 3/100 runs.
And the problem is not single aarch64 is apparently weak or slow than other workers.
What I'm trying do is to reduce the failures, otherwise we should reject the ticket.
Updated by zluo almost 5 years ago
check now current status for PR:
Updated by mgriessmeier almost 5 years ago
- Target version changed from Milestone 25 to Milestone 26
Updated by zluo almost 5 years ago
- Status changed from Workable to Blocked
filed ticket https://progress.opensuse.org/issues/53798
This issue blocks now module which requires select_console 'x11'.
Updated by zluo almost 5 years ago
- Blocked by action #53798: [sle][functional][u] test fails in x11_setup - select_console 'x11' is not working added
Updated by okurz almost 5 years ago
Rejected the other ticket: You were using an outdated build, please use more recent builds. They are however blocked by https://bugzilla.opensuse.org/show_bug.cgi?id=1138455 so if you want to be blocked, use that bug :)
Still I recommend to do sensible changes in test code which is independant of architecture, test the changes with whatever architecture is most easy for you and get it over with, no need to waste time waiting on aarch64 specific issues.
Updated by zluo almost 5 years ago
thanks @okurz
yes, I checked now: https://bugzilla.opensuse.org/show_bug.cgi?id=1138455
Updated by mgriessmeier almost 5 years ago
- Subject changed from [opensuse][functional][u] test fails in gnucash - Not able to close unfocused tip window to [opensuse] test fails in gnucash - Not able to close unfocused tip window
- Assignee changed from zluo to okurz
In the QSF-U Retrospective from July 9th, we had a fairly long discussion of how annoying this issue is to work on for the value it gives us for our enterprise products.
we came to the conclusion that we as a team don't want to put even more effort and resources to this failing testcase and therefore are removing the [functional][u] tag, so anyone who is interested in this can either unschedule the module from aarch64 or solve it for good.
for now assigning to the test-module maintainer
Updated by okurz almost 5 years ago
- Priority changed from High to Normal
Agreed. Thanks for the good explanation and reasonable assessment. I realized that gnucash is in SLE12 and for SLE15 it is in packagehub . However, I will still track this but without the blocker bug resolved at least on aarch64 we won't see results about stability even though of course we can at any time review how the test is written and see if it would need to be improved in general.
Updated by mgriessmeier over 4 years ago
- Target version changed from Milestone 26 to Milestone 27
Updated by okurz over 4 years ago
- Status changed from Blocked to Resolved
https://bugzilla.opensuse.org/show_bug.cgi?id=1138455 is RESOLVED FIXED . AFAIR there were changes to the test module as well. gnucash is fine in https://openqa.opensuse.org/tests/1013110 previous 12 jobs in a row.