Skip to content

Fix the typo (Bugfix)#1979

Merged
binli merged 1 commit intomainfrom
typo_error
Jun 27, 2025
Merged

Fix the typo (Bugfix)#1979
binli merged 1 commit intomainfrom
typo_error

Conversation

@binli
Copy link
Copy Markdown
Contributor

@binli binli commented Jun 27, 2025

Description

It's a regression in latest version.

Resolved issues

ID: com.canonical.certification::power-management/switch_power_mode
Category: com.canonical.plainbox::power-management
... 8< -------------------------------------------------------------------------
/tmp/nest-jwbt3o24.2a264b2a4482398c2d004104919fa4411854bfe3cc72e3ecb034a41e453089a2/switch_power_mode.py: line 22: Switching the power mode to check if the power mode can be switched.: command not found
/tmp/nest-jwbt3o24.2a264b2a4482398c2d004104919fa4411854bfe3cc72e3ecb034a41e453089a2/switch_power_mode.py: line 23: from: command not found
import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/346.
/tmp/nest-jwbt3o24.2a264b2a4482398c2d004104919fa4411854bfe3cc72e3ecb034a41e453089a2/switch_power_mode.py: line 28: syntax error near unexpected token `('
/tmp/nest-jwbt3o24.2a264b2a4482398c2d004104919fa4411854bfe3cc72e3ecb034a41e453089a2/switch_power_mode.py: line 28: `def get_sysfs_content(path):'

Documentation

Tests

$ checkbox-cli run com.canonical.certification::power-management/switch_power_mode

Outcome: job passed
==============[ Running job 4 / 4. Estimated time left: 0:00:10 ]===============
---------------------[ power-management/switch_power_mode ]---------------------
ID: com.canonical.certification::power-management/switch_power_mode
Category: com.canonical.plainbox::power-management
... 8< -------------------------------------------------------------------------
Power mode choices: ['low-power', 'balanced', 'performance']
Switch to low-power successfully.
Switch to balanced successfully.
Switch to performance successfully.
------------------------------------------------------------------------- >8 ---
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-run-2025-06-27T09.56.31
==================================[ Results ]===================================
 ☑ : Collect information about installed software packages
 ☑ : Collect information about kernel modules
 ☑ : Discover if the system supports power modes via acpi
 ☑ : power-management/switch_power_mode

@binli binli requested a review from pseudocc June 27, 2025 09:55
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.60%. Comparing base (2adbc06) to head (dd74044).
⚠️ Report is 108 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1979   +/-   ##
=======================================
  Coverage   50.60%   50.60%           
=======================================
  Files         384      384           
  Lines       41180    41180           
  Branches     7642     7642           
=======================================
  Hits        20841    20841           
  Misses      19592    19592           
  Partials      747      747           
Flag Coverage Δ
provider-base 25.69% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@pseudocc pseudocc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified on a ThinkCentre machine.

@binli binli merged commit 5ae1dd3 into main Jun 27, 2025
24 of 25 checks passed
@binli binli deleted the typo_error branch June 27, 2025 10:40
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
stanley31huang pushed a commit that referenced this pull request Oct 3, 2025
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.

2 participants