Merge ~pieq/checkbox-support:fwts-test-output into checkbox-support:master
Status: | Merged |
---|---|
Approved by: | Pierre Equoy |
Approved revision: | d31f1b27a91468facb823c15c7413a80c5ae15e5 |
Merged at revision: | 404545de638d0c9f9309d2f5f6e403d4ca5316f6 |
Proposed branch: | ~pieq/checkbox-support:fwts-test-output |
Merge into: | checkbox-support:master |
Diff against target: |
107 lines (+15/-19) 1 file modified
checkbox_support/scripts/fwts_test.py (+15/-19) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vic Liu | Approve | ||
Sylvain Pineau (community) | Approve | ||
Review via email: mp+413120@code.launchpad.net |
Description of the change
Summary
=======
See commit messages for more information.
Test output
===========
$ checkbox-cli run .*suspend_
=======
--------------[ Running job 1 / 3. Estimated time left: 0:01:30 ]---------------
--------------[ Create resource info for supported sleep states ]---------------
ID: com.canonical.
Category: com.canonical.
... 8< -------
freeze: supported
mem: supported
mem_sleep: s2idle
-------
Outcome: job passed
--------------[ Running job 2 / 3. Estimated time left: 0:01:30 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
state: supported
-------
Outcome: job passed
--------------[ Running job 3 / 3. Estimated time left: 0:01:30 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
Calling fwts
=======
Average time to sleep: 1.63000
Average time to resume: 1.94100
High Failures: 1
WARNING: The following test cases were reported as high
level failures by fwts:
- sleep
Please review the following log for more information:
=======
Results generated by fwts: Version V21.09.00 (2021-09-27 05:51:56).
Some of this work - Copyright (c) 1999 - 2021, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2021, Canonical.
Some of this work - Copyright (c) 2016 - 2021, IBM.
Some of this work - Copyright (c) 2017 - 2021, ARM Ltd.
This test run on 14/12/21 at 16:49:16 on host Linux evans 5.13.0-22-generic
#22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64.
Command: "fwts -q --stdout-summary -r /var/tmp/
/checkbox-
--s3-sleep-delay 30 --s3-device-check --s3-device-
Running tests: s3.
s3: Sleep suspend/resume test.
-------
Test 1 of 1: Sleep suspend/resume test.
Defaulted to 1 test, use --s3-multiple=N to run more s2idle cycles
s2idle cycle 1 of 1
Detecting the power method.
Response to CanSuspend is yes
User allowed to execute the CanSuspend action
Using logind as the default power method.
Requesting Suspend action
Skipping the minimum delay (0) and using a 3 seconds delay instead
s2idle duration = 31.
pm-action returned 0 after 31 seconds.
DRM Device configurations differ, before:
Name: card0-eDP-1
Status: connected
Enabled: enabled
Name: card0-DP-2
Status: disconnected
Enabled: disabled
Name: card0
Status:
Enabled:
Name: card0-DP-3
Status: disconnected
Enabled: disabled
Name: card0-DP-1
Status: disconnected
Enabled: disabled
versus after:
Name: card0-eDP-1
Status: connected
Enabled: disabled
Name: card0-DP-2
Status: disconnected
Enabled: disabled
Name: card0
Status:
Enabled:
Name: card0-DP-3
Status: disconnected
Enabled: disabled
Name: card0-DP-1
Status: disconnected
Enabled: disabled
FAILED [HIGH] DevConfigDiffAf
configuration during s2idle cycle.
FAILED [HIGH] S2idleNotDeepest: Test 1, Expected /sys/kernel/
/slp_s0_
Suspend/Resume Timings:
Suspend: 1.630 seconds.
Resume: 1.941 seconds.
Completed s2idle cycle(s)
PASSED: Test 1, No kernel log errors detected.
PASSED: Test 1, No PM related suspend issues detected.
Found 1 device errors.
PASSED: Test 1, No kernel oopses detected.
PASSED: Test 1, No kernel WARN_ON warnings detected.
Found 1 s2idle errors.
Found 1 errors and 0 oopses doing 1 suspend/resume cycle(s).
PASSED: Test 1, All suspends took less than 15.00 seconds.
PASSED: Test 1, All resumes took less than 15.00 seconds.
=======
6 passed, 2 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
=======
6 passed, 2 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
=======
Critical failures: NONE
High failures: 2
s3: Found 1 differences in device configuration during s2idle cycle.
s3: Expected /sys/kernel/
Medium failures: NONE
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
-------
s3 | 6| 2| | | | |
-------
Total: | 6| 2| 0| 0| 0| 0|
-------
-------
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☑ : Create resource info for supported sleep states
☑ : Creates resource info for RTC
☑ : Automated test of suspend function
I can't find a device to prove my hypothesis, but I suppose there could be a scenario that multiple failures with different levels happen in the same time, then the fwts log will be printed repeatedly when this scenario happens