Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check power mode before and after suspend (New) #1145

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

binli
Copy link
Contributor

@binli binli commented Apr 3, 2024

Description

With Platform Profile (low-power, balanced, performance) support being added to the kernel and GNOME we'd like this to be tested to confirm it is working during HW enablement/certification.
It is expected functionality on these platforms and we need to highlight any issues with it not working to the FW team so it can be fixed before preload signoff.

Resolved issues

Original bug: https://bugs.launchpad.net/sutton/+bug/2036435

Documentation

This testcase could help verify power mode can stay in the chosen setting after suspend.

Tests

==============[ Running job 8 / 8. Estimated time left: 0:00:01 ]===============
----------------------[ suspend/power_mode_after_suspend ]----------------------                                                        ID: com.canonical.certification::suspend/power_mode_after_suspend
Category: com.canonical.plainbox::suspend                                                                                               
... 8< -------------------------------------------------------------------------
1c1                                                                 
< performance                                                       
---                                                                 
> low-power                                                         
------------------------------------------------------------------------- >8 ---
Outcome: job failed                                                                                                                     
Finalizing session that hasn't been submitted anywhere: checkbox-run-2024-04-03T16.03.02
==================================[ Results ]===================================           
 ☑ : Collect information about kernel modules                                                                                            ☑ : Discover if the system supports power modes via acpi
 ☑ : Collect information about installed software packages                                                                              
 ☑ : Dumps power_mode info to a file for comparison after suspend
 ☑ : Create resource info for supported sleep states
 ☑ : Creates resource info for RTC                                  
 ☑ : Automated test of suspend function 
 ☒ : suspend/power_mode_after_suspend

@binli binli changed the title Power mode before after suspend (New) Check power mode before and after suspend (New) Apr 3, 2024
@binli binli requested a review from a team April 3, 2024 16:12
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.04%. Comparing base (1eced4b) to head (2cb1442).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1145      +/-   ##
==========================================
+ Coverage   42.99%   43.04%   +0.05%     
==========================================
  Files         353      355       +2     
  Lines       38508    38572      +64     
  Branches     6423     6549     +126     
==========================================
+ Hits        16557    16604      +47     
+ Misses      21320    21302      -18     
- Partials      631      666      +35     
Flag Coverage Δ
provider-base 15.98% <100.00%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant