action #43616
closed
[functional][u][sporadic] test fails in shutdown - SUT took longer than 60 seconds to shutdown, no logs available (non-s390x)
Added by szarate over 5 years ago.
Updated about 5 years ago.
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 24
Description
Observation¶
openQA test in scenario sle-15-SP1-Installer-DVD-x86_64-create_hdd_minimal_base+sdk@64bit-smp fails in
shutdown
The main observation is that the SUT simply doesn't shutdown, however there are no logs on what prevented it from shutting down... Which makes difficult further bug investigation
Reproducible¶
Fails since (at least) Build 88.6 (current job)
Expected result¶
System shutsdown properly, if not logs are collected (if possible) before finishing the test.
Suggestions¶
- Change power_action in lib/power_action_utils.pm to be more generic (i.e, not check what desktop are we using.
- Ensure that post_fail_hook always calls the collect logs function
- Description updated (diff)
- Target version set to Milestone 22
@okurz, do you mind if we move this to milestone 21 and pick it up soonish? A serial failure should be more than enough to detect the machine didn't shut down. saving us the pain :)
Sure, if you are motivated :) So if the serial failure detection can help understanding the issue then go ahead, pick it up, set M21.
- Related to action #43880: [functional][u][s390x][sporadic] test fails in shutdown on s390x added
I think this is a duplicated ticket of #43880.
- Target version changed from Milestone 22 to Milestone 24
- Status changed from New to Workable
- Subject changed from [functional][u] test fails in shutdown - SUT took longer than 60 seconds to shutdown, no logs available to [functional][u] test fails in shutdown - SUT took longer than 60 seconds to shutdown, no logs available (non-s390x)
- Status changed from Workable to Blocked
- Assignee set to zluo
Not a duplicate of #43880 which is about s390x.
@zluo please track this ticket as blocked until #43880 is resolved.
- Status changed from Blocked to In Progress
since the issue reported in #43880 got fixed, set this as In Progress for further investigation.
I can reproduce on overloaded remote workers only: http://f40.suse.de/tests/2916#step/shutdown/3
This is a sporadic issue however, and post_fail_hook doesn't have a chance to get log-console to execute systemctl 'list-jobs'.
cleanup_before_shutdown collects already some logs, but for performance issue there is no way to detect.
what we can do is to increase timeout from 60 to 120. Compare with s390 scenarios(600) this is okay, if we cannot avoid performance issue on osd.
- Subject changed from [functional][u] test fails in shutdown - SUT took longer than 60 seconds to shutdown, no logs available (non-s390x) to [functional][u][sporadic] test fails in shutdown - SUT took longer than 60 seconds to shutdown, no logs available (non-s390x)
- Status changed from In Progress to Rejected
we can re-open this ticket if it happens again. an option could be to increase timeout to 120, but at moment I don't the need to do so.
Also available in: Atom
PDF