1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

apps_startstop: don't rollback, defend against KDE mistypes

This comes from trying to fix the annoying recurring problem with
mistypes in KDE which has been going on since at least December.
First, we add the attempt to kind of 'precache' the kicker menu
in aasetting.pm. Then, I thought, all this snapshot loading has
to be putting a lot of load on the workers. And when each subtest
passes, it shouldn't really be necessary - they all end with
quit_with_shortcut(), which verifies that the app exited and we
got back to a blank desktop, so successful subtests should not
usually interfere with each other. We probably only want to
rollback on *failed* subtests, which is in fact openQA's default
behavior. If any specific tests change the system state such that
later tests might be affected, we can go back and just set those
tests as always_rollback, but I think it should be safe to skip
rollbacks on success for most of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-04-12 12:45:47 -07:00
parent 2880edced1
commit c6505cc417
77 changed files with 84 additions and 76 deletions

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -25,7 +25,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -25,7 +25,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -25,7 +25,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -20,7 +20,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -23,7 +23,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -18,7 +18,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -18,7 +18,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -30,7 +30,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -18,7 +18,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -20,7 +20,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -24,7 +24,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -28,7 +28,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -20,7 +20,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -26,7 +26,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -27,7 +27,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -19,7 +19,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -23,7 +23,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -9,6 +9,14 @@ use utils;
sub run {
my $self = shift;
solidify_wallpaper;
# to try and avoid problems with kde grinding a lot on first
# attempt to do a menu_launch_type, let's do a throwaway one
# here before we snapshot
wait_screen_change { send_key 'super'; };
wait_still_screen 3;
send_key "k";
wait_still_screen 5;
send_key "esc";
}
sub test_flags {

View File

@ -15,7 +15,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -16,7 +16,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -16,7 +16,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -15,7 +15,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -16,7 +16,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -26,7 +26,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -26,7 +26,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -25,7 +25,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -35,7 +35,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -20,7 +20,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -24,7 +24,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -31,7 +31,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}
1;

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -23,7 +23,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -30,7 +30,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -22,7 +22,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -30,7 +30,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -16,7 +16,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -15,7 +15,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -16,7 +16,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -17,7 +17,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}

View File

@ -69,7 +69,7 @@ sub run {
}
sub test_flags {
return {always_rollback => 1};
return {};
}