Migrate idle suspend test cases from manual to semi-auto(DC) and auto(AC) (New)#2483
Open
hanhsuan wants to merge 9 commits into
Open
Migrate idle suspend test cases from manual to semi-auto(DC) and auto(AC) (New)#2483hanhsuan wants to merge 9 commits into
hanhsuan wants to merge 9 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2483 +/- ##
==========================================
+ Coverage 58.87% 58.99% +0.12%
==========================================
Files 476 477 +1
Lines 48004 48112 +108
Branches 8568 8586 +18
==========================================
+ Hits 28260 28383 +123
+ Misses 18850 18834 -16
- Partials 894 895 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tomli380576
requested changes
Apr 28, 2026
Contributor
tomli380576
left a comment
There was a problem hiding this comment.
please see the inline comments, the main thing are the possible None values
2. Type hint change
the power supply mode verify
tomli380576
requested changes
May 7, 2026
Contributor
tomli380576
left a comment
There was a problem hiding this comment.
the main thing is the timestamp regex, everything else looks ok
2. add description for the format issue 3. make the parser could handle ubuntu 22.04 and 24.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is going to migrate the manual test cases to semi-auto and auto:
id: power-management/suspend-on-AC-powerto Auto test caseid: power-management/suspend-on-battery-powerto semi-auto test caseThe new test groups three test cases
2.1. Set the rtc wake for full auto AC test only
2.2. Ensure the system is in the correct power supply mode. (DC/AC)
2.3. Verifying the suspend is starting at the right timing or not
At this point, the tolerance is higher for collecting more data to fine tune the gate in the future.
Resolved issues
Documentation
Tests
Test
laptop:
22.04: https://certification.canonical.com/hardware/202001-27667/submission/489824/
24.04: https://certification.canonical.com/hardware/202001-27667/submission/489823/
desktop: https://certification.canonical.com/hardware/202603-38566/submission/486631/