balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
971 stars 116 forks source link

tests/os: Add Jetson Orin device-specific fan and power mode smoke tests #3540

Closed acostach closed 1 month ago

acostach commented 1 month ago

These tests are the same for all public Orin device types and validate that the power mode and the fan profile can be changed by writing directly to the config.json file in the boot partition of an un-managed OS.

Change-type: patch

Locally triggered test on AGX Orin 64GB:

leviathan-client-1  | [2024-10-24T09:22:40.785Z][5882da3-os]     # Subtest: Jetson Orin power mode and fan profile tests
leviathan-client-1  |         ok 1 - Fan profile test passed
leviathan-client-1  | [2024-10-24T09:22:44.149Z][5882da3-os]         ok 2 - Power mode was set
leviathan-client-1  | [2024-10-24T09:22:44.149Z][5882da3-os] Rebooting the DUT
leviathan-client-1  | [2024-10-24T09:24:08.520Z][5882da3-os] DUT has rebooted & is back online
leviathan-client-1  | [2024-10-24T09:24:11.967Z][5882da3-os]         ok 3 - Power mode test passed
leviathan-client-1  | [2024-10-24T09:24:11.968Z][5882da3-os]         1..3
leviathan-client-1  | [2024-10-24T09:24:11.970Z][5882da3-os]     ok 6 - Jetson Orin power mode and fan profile tests # time=99382.143ms

Connects to:

Reviewer Guidelines

github-actions[bot] commented 1 month ago

Website deployed to CF Pages, 👀 preview link https://6f9e0844.balena-os.pages.dev

rcooke-warwick commented 1 month ago

@acostach are these tests different between device types at all? I can't see the differences at a glance here?