Project

General

Profile

Actions

action #36150

closed

[opensuse][functional][u][sporadic] test fails in shutdown on unsafe code looking for "sddm_shutdown_option_btn"

Added by okurz almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 18
Start date:
2018-05-14
Due date:
2018-07-31
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-5.12.80-Krypton-Live-x86_64-krypton-live@64bit-2G fails in
shutdown

Reproducible

Looking at https://openqa.opensuse.org/tests/675741?limit_previous=100#previous we can see this scenario failing 2/100 in shutdown with the same symptoms.

Acceptance criteria

  • AC1: test module "shutdown" runs stable
  • AC2: Test code uses no check_screen or only with 0 second timeout

Further details

Always latest result in this scenario: latest


Related issues 2 (0 open2 closed)

Related to openQA Tests - action #36279: [sle][functional][u][s390x][medium] test fails in reboot_gnome on bsc#1085181 - help with investigation using new shutdown debug methodResolvedoorlov2018-05-162018-10-09

Actions
Related to openQA Tests - coordination #35215: [functional][u][epic][medium] test fails on shutdown moduleResolvedoorlov2018-04-192018-09-25

Actions
Actions #2

Updated by okurz almost 6 years ago

  • Related to coordination #35215: [functional][u][epic][medium] test fails on shutdown module added
Actions #3

Updated by okurz almost 6 years ago

  • Description updated (diff)
  • Status changed from New to Workable

After #35215

Actions #4

Updated by okurz almost 6 years ago

  • Related to action #36279: [sle][functional][u][s390x][medium] test fails in reboot_gnome on bsc#1085181 - help with investigation using new shutdown debug method added
Actions #5

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 17 to Milestone 17
Actions #6

Updated by riafarov almost 6 years ago

Check if already resolved first as oorlov has fixed couple of issues with shutdown.

Actions #7

Updated by oorlov almost 6 years ago

I guess it is happening due to our workaround in 'utils->poweroff_x11()' subroutine:

  assert_and_click 'sddm_shutdown_option_btn';
  if (check_screen([qw(sddm_shutdown_option_btn sddm_shutdown_btn)], 3)) {
      # sometimes not reliable, since if clicked the background
      # color of button should changed, thus check and click again
      if (match_has_tag('sddm_shutdown_option_btn')) {
          assert_and_click 'sddm_shutdown_option_btn';
      }  

Shutdown button is clicked in assert_and_click 'sddm_shutdown_option_btn', then the test checks for the same button again. It is still shown, then it tries to click it again, but it is already disappear.

So, the next step for the ticket is to understand why that workaround was added, and then improve it with intelligent check or even remove that workaround at all.

Actions #8

Updated by riafarov almost 6 years ago

  • Related to deleted (coordination #35215: [functional][u][epic][medium] test fails on shutdown module)
Actions #9

Updated by riafarov almost 6 years ago

  • Blocked by coordination #35215: [functional][u][epic][medium] test fails on shutdown module added
Actions #10

Updated by riafarov almost 6 years ago

  • Status changed from Workable to Blocked
Actions #11

Updated by mgriessmeier almost 6 years ago

  • Due date changed from 2018-07-03 to 2018-07-17
Actions #12

Updated by okurz almost 6 years ago

  • Due date changed from 2018-07-17 to 2018-07-31
Actions #13

Updated by okurz almost 6 years ago

  • Status changed from Blocked to In Progress
  • Assignee set to okurz
Actions #14

Updated by okurz almost 6 years ago

  • Blocked by deleted (coordination #35215: [functional][u][epic][medium] test fails on shutdown module)
Actions #15

Updated by okurz almost 6 years ago

  • Related to coordination #35215: [functional][u][epic][medium] test fails on shutdown module added
Actions #16

Updated by okurz almost 6 years ago

  • Status changed from In Progress to Resolved
  • Target version changed from Milestone 17 to Milestone 18
Actions #17

Updated by oorlov over 5 years ago

  • Has duplicate action #36040: [opensuse][functional][u] test fails in shutdown - need a way to check after shutdown needle got matched but shutdown hasn't been executed for unknown reason added
Actions #18

Updated by oorlov over 5 years ago

  • Has duplicate deleted (action #36040: [opensuse][functional][u] test fails in shutdown - need a way to check after shutdown needle got matched but shutdown hasn't been executed for unknown reason)
Actions

Also available in: Atom PDF