Project

General

Profile

Actions

coordination #35215

closed

[functional][u][epic][medium] test fails on shutdown module

Added by okurz about 6 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 19
Start date:
2018-04-19
Due date:
2018-09-25
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.0-GNOME-Live-x86_64-gnome-live@uefi-usb-2G fails in
shutdown
to shutdown in time.

Reproducible

Fails since (at least) Build 15.1

Expected result

Last good: 14.8 (or more recent)

Problem

  • H1: ACCEPT: Only usb-based images are affected -> other scenarios seem to be fine in general
  • H2: REJECT: live-images shutdown does not work at all and needs to be reported as bug and worked around -> oorlov conducted two local verification runs, one passed and one fail so it can work
  • H3: shutdown only takes much longer
  • H4: Shutdown test fails because some of the installed services slow down it
    • H4.1 It fails due to services, that were installed during the test run
    • H4.2 It fails due to pre-installed service in the system itself

Suggestions

  • Reproduce locally
  • Investigate existing failures and see if we would maybe just need to bump the timeout
  • Crosscheck other tickets about shutdown
  • Make sure tests reliably shutdown and reboot by either just bumping timeout or finding out the real cause of being stuck or using another more reliant method to reboot as workaround
  • If increasing timeout will not help or will show that shutdown takes too long time, then next step would be removing splash screen and check what is happening in background
  • Merge three shutdown files into one (x11/shutdown.pm, shutdown/shutdown.pm, kernel/shutdown_ltp.pm) to avoid duplication and have single place where shutdown logic is located (1d);
  • Add generic method to raise 'soft fail' if some amount of time is exceeded but action is not finished. If the time exceeded, then soft fail should be reported and test could wait more time for the action to be finished (it is required, because we want to raise 'soft fail' if assert_shutdown() is not completed in time and then wait until shutdown will actually finish) (2d);
  • Add ability to debug system shutdown, e.g. it could be done if job is started with "DEBUG_SHUTDOWN" parameter (4h)
  • Test changed code on several combinations of tests (1d)

Further details

Always latest result in this scenario: latest


Files

shutdown-logs.tar.gz (275 KB) shutdown-logs.tar.gz oorlov, 2018-06-04 13:06

Related issues 8 (0 open8 closed)

Related to openQA Tests - coordination #35302: [qe-core][opensuse][functional][epic][sporadic] Various unstable tests on o3ResolvedSLindoMansilla2018-04-26

Actions
Related to openQA Tests - action #33571: [opensuse][functional][u][medium] test fails in shutdown - emoticon settings are openedResolved2018-03-212018-06-05

Actions
Related to openQA Tests - action #36150: [opensuse][functional][u][sporadic] test fails in shutdown on unsafe code looking for "sddm_shutdown_option_btn"Resolvedokurz2018-05-142018-07-31

Actions
Related to openQA Tests - action #35011: [functional][sle][u][sporadic] test fails in user_defined_snapshot during reboot because shutdown is not working or it takes too longResolvedzluo2018-04-162018-08-28

Actions
Related to openQA Tests - 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 reasonResolvedoorlov2018-05-092018-09-25

Actions
Related to openQA Tests - action #40055: [functional][u][bsc#1105517][sporadic][fast] - running application preventing the system from shutdown on otherDE_mateRejectedoorlov2018-08-212018-08-28

Actions
Related to openQA Tests - action #43880: [functional][u][s390x][sporadic] test fails in shutdown on s390xResolvedzluo2018-11-16

Actions
Blocks openQA Tests - action #36997: [opensuse][functional][u][wayland] test fails in shutdown - xterm does not startResolvedoorlov2018-06-082018-09-25

Actions
Actions

Also available in: Atom PDF