ce-oem: add ARM CPU idle-state test job (New) - #2872
Draft
rickwu666666 wants to merge 1 commit into
Draft
rickwu666666 wants to merge 1 commit into
rickwu666666 wants to merge 1 commit into
Conversation
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>
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
Adds
ce-oem-cpu/idle_state_testjob to checkbox-provider-ce-oem, exercising the vendoredcpu_idle_state.py(from #2039) on ARM (aarch64/armv7l). The script is vendored into this provider's ownbin//tests/because a base-provider script isn't resolvable on PATH from a ce-oem job'scommand:at runtime (confirmed on a real DUT). Job is gated by a newhas_cpu_idle_statesmanifest 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 reportsOutcome: job cannot be started (unmet manifest)instead of failing).Also verified: Stage 1 static check (
environ_check.py) passed with 0 findings; vendoredtests/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