Skip to content

ce-oem: add ARM CPU idle-state test job (New) - #2872

Draft
rickwu666666 wants to merge 1 commit into
mainfrom
add-ce-oem-cpu-idle-state-test
Draft

rickwu666666 wants to merge 1 commit into
mainfrom
add-ce-oem-cpu-idle-state-test

Conversation

@rickwu666666

@rickwu666666 rickwu666666 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Description

Adds ce-oem-cpu/idle_state_test job to checkbox-provider-ce-oem, exercising the vendored cpu_idle_state.py (from #2039) on ARM (aarch64/armv7l). The script is vendored into this provider's own bin//tests/ because a base-provider script isn't resolvable on PATH from a ce-oem job's command: at runtime (confirmed on a real DUT). Job is gated by a new has_cpu_idle_states manifest entry so it's skipped — not falsely failed — on ARM hardware/firmware whose device tree defines no cpuidle states (confirmed on a Renesas RZ/G3S DUT: script executes correctly, and the manifest gate correctly reports Outcome: job cannot be started (unmet manifest) instead of failing).

Also verified: Stage 1 static check (environ_check.py) passed with 0 findings; vendored tests/test_cpu_idle_state.py (97/97 passing); black (--line-length 79) / flake8 clean.

Resolved issues

KOTO-61 (https://warthogs.atlassian.net/browse/KOTO-61)

Documentation

Tests

https://certification.canonical.com/submissions/status/403363

Vendor cpu_idle_state.py (from providers/base) into the ce-oem
provider so it can be exercised on ARM devices, and add
ce-oem-cpu/idle_state_test job wired into ce-oem-cpu-automated and
after-suspend-ce-oem-cpu-automated test plans.

The job is gated by a new has_cpu_idle_states manifest entry so it
is skipped (not failed) on ARM platforms whose firmware/device tree
does not describe any cpuidle states (e.g. Renesas RZ/G3S).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rickwu666666 rickwu666666 changed the title ce-oem: add ARM CPU idle-state test job ce-oem: add ARM CPU idle-state test job (New) Sep 16, 2026
@rickwu666666 rickwu666666 added the ce-oem The PR only contains to the ce-oem provider under the contrib area label Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ce-oem The PR only contains to the ce-oem provider under the contrib area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant