-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
On Zhongyi (202203-30047), with the same checkbox-zhongyi 0.1dev(28), zhongyi_cpu/frequency_governors passed with checkbox20 latest/stable (6.0.0-dev90), but failed with checkbox20 latest/beta (7.0.0-dev58).
- checkbox20 6.0.0-dev90 → CPU actually downclocks
2025-12-15 03:23:25 DEBUG Getting scaling_cur_freq 2025-12-15 03:23:25 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 2025-12-15 03:23:25 DEBUG 800000 - checkbox20 7.0.0-dev58 → CPU stays at max frequency
2025-12-15 03:23:19 DEBUG Getting scaling_cur_freq 2025-12-15 03:23:19 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 2025-12-15 03:23:19 DEBUG 1300000
Cert-blocker Test Case
- cert-blocker
To Reproduce
- Install checkbox20 6.0.0-dev90 (latest/stable)
- Run the frequency_governors_test.py and verify it passes
- Refresh checkbox20 to 7.0.0-dev58 (latest/beta)
- Run the frequency_governors_test.py and verify it fails
Expected Result
zhongyi_cpu/frequency_governors passed
Actual Result
zhongyi_cpu/frequency_governors failed
Environment
- OS: UC20
- Checkbox Type: Snap
- Checkbox version: chekbox20 7.0.0-dev58
Relevant log output
ubuntu@ubuntu:~$ sudo snap refresh checkbox20 --channel=latest/stable
checkbox20 6.0.0-dev90 from Canonical Certification Team (ce-certification-qa) refreshed
ubuntu@ubuntu:~$ sudo ./frequency_governors_test.py -d
2025-12-15 03:22:29 INFO System Capabilites:
2025-12-15 03:22:29 INFO -------------------------------------------------
2025-12-15 03:22:29 DEBUG Getting CPU Frequency Directories
2025-12-15 03:22:29 DEBUG Located the following CPU Freq Directories:
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu3/cpufreq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu1/cpufreq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu2/cpufreq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu0/cpufreq
2025-12-15 03:22:29 INFO System has 4 cpus
2025-12-15 03:22:29 DEBUG Checking Parameters for scaling_min_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:22:29 DEBUG Checking Parameters for scaling_max_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:22:29 INFO Supported CPU Frequencies: 800.0 - 1300.0 MHz
2025-12-15 03:22:29 DEBUG Checking Parameters for scaling_available_governors
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors
2025-12-15 03:22:29 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:22:29 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
2025-12-15 03:22:29 INFO Supported Governors:
2025-12-15 03:22:29 INFO ondemand
2025-12-15 03:22:29 INFO performance
2025-12-15 03:22:29 INFO schedutil
2025-12-15 03:22:29 DEBUG Getting parameter list
2025-12-15 03:22:29 DEBUG Found parameters:
2025-12-15 03:22:29 DEBUG ondemand
2025-12-15 03:22:29 DEBUG ondemand
2025-12-15 03:22:29 DEBUG ondemand
2025-12-15 03:22:29 DEBUG ondemand
2025-12-15 03:22:29 INFO Current governors:
2025-12-15 03:22:29 INFO cpu0: ondemand
2025-12-15 03:22:29 INFO cpu1: ondemand
2025-12-15 03:22:29 INFO cpu2: ondemand
2025-12-15 03:22:29 INFO cpu3: ondemand
2025-12-15 03:22:29 DEBUG Getting CPU flags
2025-12-15 03:22:29 WARNING Could not read CPU flags
2025-12-15 03:22:29 INFO Beginning Frequency Governors Testing
2025-12-15 03:22:29 INFO Userspace Governor Test:
2025-12-15 03:22:29 INFO -------------------------------------------------
2025-12-15 03:22:29 DEBUG Setting Governor to performance
2025-12-15 03:22:29 DEBUG Setting scaling_governor with g to performance
2025-12-15 03:22:29 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:22:29 DEBUG Setting scaling_governor to performance
2025-12-15 03:22:29 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:22:29 INFO Init maximum frequency test time...
2025-12-15 03:22:29 INFO Running CPU load test...
2025-12-15 03:22:29 INFO pid 34683's current affinity list: 0-3
2025-12-15 03:22:29 INFO pid 34683's new affinity list: 0
2025-12-15 03:22:30 DEBUG Getting scaling_max_freq
2025-12-15 03:22:30 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:22:30 DEBUG 1300000
2025-12-15 03:22:30 DEBUG Getting scaling_cur_freq
2025-12-15 03:22:30 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:22:30 DEBUG 1300000
2025-12-15 03:22:30 INFO Current cpu frequency is 1300.0 MHz
2025-12-15 03:22:30 INFO Maximum cpu frequecny is 1300.0 MHz
2025-12-15 03:22:30 WARNING Note: userspace governor not supported
2025-12-15 03:22:30 INFO On Demand Governor Test:
2025-12-15 03:22:30 INFO -------------------------------------------------
2025-12-15 03:22:30 INFO Setting governor to ondemand
2025-12-15 03:22:30 DEBUG Setting Governor to ondemand
2025-12-15 03:22:30 DEBUG Setting scaling_governor with g to ondemand
2025-12-15 03:22:30 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:22:30 DEBUG Setting scaling_governor to ondemand
2025-12-15 03:22:30 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:22:30 DEBUG Verifying minimum frequency
2025-12-15 03:22:30 INFO Waiting 5 seconds...
2025-12-15 03:22:35 INFO Done.
2025-12-15 03:22:35 DEBUG Getting scaling_min_freq
2025-12-15 03:22:35 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:22:35 DEBUG 800000
2025-12-15 03:22:35 DEBUG Getting scaling_cur_freq
2025-12-15 03:22:35 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:22:35 DEBUG 800000
2025-12-15 03:22:35 INFO Running CPU load test...
2025-12-15 03:22:35 INFO pid 34683's current affinity list: 0
2025-12-15 03:22:35 INFO pid 34683's new affinity list: 0
2025-12-15 03:22:35 INFO On Demand load test time: 0.12
2025-12-15 03:22:35 INFO Percentage Difference vs. maximum frequency: 0.0%
2025-12-15 03:22:35 DEBUG Verifying minimum frequency
2025-12-15 03:22:35 INFO Waiting 5 seconds...
2025-12-15 03:22:40 INFO Done.
2025-12-15 03:22:40 DEBUG Getting scaling_min_freq
2025-12-15 03:22:40 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:22:40 DEBUG 800000
2025-12-15 03:22:40 DEBUG Getting scaling_cur_freq
2025-12-15 03:22:40 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:22:40 DEBUG 800000
2025-12-15 03:22:40 INFO Performance Governor Test:
2025-12-15 03:22:40 INFO -------------------------------------------------
2025-12-15 03:22:40 INFO Setting governor to performance
2025-12-15 03:22:40 DEBUG Setting Governor to performance
2025-12-15 03:22:40 DEBUG Setting scaling_governor with g to performance
2025-12-15 03:22:40 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:22:40 DEBUG Setting scaling_governor to performance
2025-12-15 03:22:40 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:22:40 INFO Running CPU load test...
2025-12-15 03:22:40 INFO pid 34683's current affinity list: 0
2025-12-15 03:22:40 INFO pid 34683's new affinity list: 0
2025-12-15 03:22:41 ERROR Could not repeat load test times within 5.0%
2025-12-15 03:22:41 DEBUG Getting scaling_max_freq
2025-12-15 03:22:41 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:22:41 DEBUG 1300000
2025-12-15 03:22:41 DEBUG Getting scaling_cur_freq
2025-12-15 03:22:41 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:22:41 DEBUG 1300000
2025-12-15 03:22:41 INFO Running CPU load test...
2025-12-15 03:22:41 INFO pid 34683's current affinity list: 0
2025-12-15 03:22:41 INFO pid 34683's new affinity list: 0
2025-12-15 03:22:42 INFO Performance load test time: 0.12
2025-12-15 03:22:42 INFO Percentage Difference vs. maximum frequency: 0.0%
2025-12-15 03:22:42 INFO Conservative Governor Test:
2025-12-15 03:22:42 INFO -------------------------------------------------
2025-12-15 03:22:42 WARNING conservative governor not supported
2025-12-15 03:22:42 INFO Restoring original governor to ondemand
2025-12-15 03:22:42 DEBUG Setting Governor to ondemand
2025-12-15 03:22:42 DEBUG Setting scaling_governor with g to ondemand
2025-12-15 03:22:42 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:22:42 DEBUG Setting scaling_governor to ondemand
2025-12-15 03:22:42 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ubuntu@ubuntu:~$ sudo snap refresh checkbox20 --channel=latest/beta
checkbox20 (beta) 7.0.0-dev58 from Canonical Certification Team (ce-certification-qa) refreshed
ubuntu@ubuntu:~$ sudo ./frequency_governors_test.py -d
2025-12-15 03:23:14 INFO System Capabilites:
2025-12-15 03:23:14 INFO -------------------------------------------------
2025-12-15 03:23:14 DEBUG Getting CPU Frequency Directories
2025-12-15 03:23:14 DEBUG Located the following CPU Freq Directories:
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu3/cpufreq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu1/cpufreq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu2/cpufreq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq
2025-12-15 03:23:14 INFO System has 4 cpus
2025-12-15 03:23:14 DEBUG Checking Parameters for scaling_min_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_min_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:23:14 DEBUG Checking Parameters for scaling_max_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_max_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:23:14 INFO Supported CPU Frequencies: 800.0 - 1300.0 MHz
2025-12-15 03:23:14 DEBUG Checking Parameters for scaling_available_governors
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors
2025-12-15 03:23:14 DEBUG Getting Parameters for scaling_available_governors
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
2025-12-15 03:23:14 INFO Supported Governors:
2025-12-15 03:23:14 INFO ondemand
2025-12-15 03:23:14 INFO performance
2025-12-15 03:23:14 INFO schedutil
2025-12-15 03:23:14 DEBUG Getting parameter list
2025-12-15 03:23:14 DEBUG Found parameters:
2025-12-15 03:23:14 DEBUG ondemand
2025-12-15 03:23:14 DEBUG ondemand
2025-12-15 03:23:14 DEBUG ondemand
2025-12-15 03:23:14 DEBUG ondemand
2025-12-15 03:23:14 INFO Current governors:
2025-12-15 03:23:14 INFO cpu0: ondemand
2025-12-15 03:23:14 INFO cpu1: ondemand
2025-12-15 03:23:14 INFO cpu2: ondemand
2025-12-15 03:23:14 INFO cpu3: ondemand
2025-12-15 03:23:14 DEBUG Getting CPU flags
2025-12-15 03:23:14 WARNING Could not read CPU flags
2025-12-15 03:23:14 INFO Beginning Frequency Governors Testing
2025-12-15 03:23:14 INFO Userspace Governor Test:
2025-12-15 03:23:14 INFO -------------------------------------------------
2025-12-15 03:23:14 DEBUG Setting Governor to performance
2025-12-15 03:23:14 DEBUG Setting scaling_governor with g to performance
2025-12-15 03:23:14 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:23:14 DEBUG Setting scaling_governor to performance
2025-12-15 03:23:14 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:23:14 INFO Init maximum frequency test time...
2025-12-15 03:23:14 INFO Running CPU load test...
2025-12-15 03:23:14 INFO pid 35429's current affinity list: 0-3
2025-12-15 03:23:14 INFO pid 35429's new affinity list: 0
2025-12-15 03:23:14 DEBUG Getting scaling_max_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:23:14 DEBUG 1300000
2025-12-15 03:23:14 DEBUG Getting scaling_cur_freq
2025-12-15 03:23:14 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:23:14 DEBUG 1300000
2025-12-15 03:23:14 INFO Current cpu frequency is 1300.0 MHz
2025-12-15 03:23:14 INFO Maximum cpu frequecny is 1300.0 MHz
2025-12-15 03:23:14 WARNING Note: userspace governor not supported
2025-12-15 03:23:14 INFO On Demand Governor Test:
2025-12-15 03:23:14 INFO -------------------------------------------------
2025-12-15 03:23:14 INFO Setting governor to ondemand
2025-12-15 03:23:14 DEBUG Setting Governor to ondemand
2025-12-15 03:23:14 DEBUG Setting scaling_governor with g to ondemand
2025-12-15 03:23:14 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:23:14 DEBUG Setting scaling_governor to ondemand
2025-12-15 03:23:14 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:23:14 DEBUG Verifying minimum frequency
2025-12-15 03:23:14 INFO Waiting 5 seconds...
2025-12-15 03:23:19 INFO Done.
2025-12-15 03:23:19 DEBUG Getting scaling_min_freq
2025-12-15 03:23:19 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:23:19 DEBUG 800000
2025-12-15 03:23:19 DEBUG Getting scaling_cur_freq
2025-12-15 03:23:19 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:23:19 DEBUG 1300000
2025-12-15 03:23:19 ERROR Could not verify that cpu frequency has settled to the minimum value
2025-12-15 03:23:19 INFO Running CPU load test...
2025-12-15 03:23:19 INFO pid 35429's current affinity list: 0
2025-12-15 03:23:19 INFO pid 35429's new affinity list: 0
2025-12-15 03:23:20 INFO On Demand load test time: 0.12
2025-12-15 03:23:20 INFO Percentage Difference vs. maximum frequency: 0.0%
2025-12-15 03:23:20 DEBUG Verifying minimum frequency
2025-12-15 03:23:20 INFO Waiting 5 seconds...
2025-12-15 03:23:25 INFO Done.
2025-12-15 03:23:25 DEBUG Getting scaling_min_freq
2025-12-15 03:23:25 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2025-12-15 03:23:25 DEBUG 800000
2025-12-15 03:23:25 DEBUG Getting scaling_cur_freq
2025-12-15 03:23:25 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:23:25 DEBUG 800000
2025-12-15 03:23:25 INFO Performance Governor Test:
2025-12-15 03:23:25 INFO -------------------------------------------------
2025-12-15 03:23:25 INFO Setting governor to performance
2025-12-15 03:23:25 DEBUG Setting Governor to performance
2025-12-15 03:23:25 DEBUG Setting scaling_governor with g to performance
2025-12-15 03:23:25 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:23:25 DEBUG Setting scaling_governor to performance
2025-12-15 03:23:25 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2025-12-15 03:23:25 INFO Running CPU load test...
2025-12-15 03:23:25 INFO pid 35429's current affinity list: 0
2025-12-15 03:23:25 INFO pid 35429's new affinity list: 0
2025-12-15 03:23:26 DEBUG Getting scaling_max_freq
2025-12-15 03:23:26 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2025-12-15 03:23:26 DEBUG 1300000
2025-12-15 03:23:26 DEBUG Getting scaling_cur_freq
2025-12-15 03:23:26 DEBUG /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2025-12-15 03:23:26 DEBUG 1300000
2025-12-15 03:23:26 INFO Running CPU load test...
2025-12-15 03:23:26 INFO pid 35429's current affinity list: 0
2025-12-15 03:23:26 INFO pid 35429's new affinity list: 0
2025-12-15 03:23:26 INFO Performance load test time: 0.12
2025-12-15 03:23:26 INFO Percentage Difference vs. maximum frequency: 0.0%
2025-12-15 03:23:26 INFO Conservative Governor Test:
2025-12-15 03:23:26 INFO -------------------------------------------------
2025-12-15 03:23:26 WARNING conservative governor not supported
2025-12-15 03:23:26 INFO Restoring original governor to ondemand
2025-12-15 03:23:26 DEBUG Setting Governor to ondemand
2025-12-15 03:23:26 DEBUG Setting scaling_governor with g to ondemand
2025-12-15 03:23:26 DEBUG Determining if cpufreq-selector is executable
2025-12-15 03:23:26 DEBUG Setting scaling_governor to ondemand
2025-12-15 03:23:26 INFO path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governorAdditional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working