Skip to content

power-cut: Limit max delay used

Walter Lozano requested to merge wip/wlozano/power-cut into apertis/v2025dev2

During the power cut test several upgrades are triggered and a delay is used to trigger a power cut from LAVA. This delay should only allow the upgrade to start but not to finish, as the purpose of the test is to ensure that in a power cut AUM does not apply the update.

However, with modern boards delays bigger than 3 sec make the system to complete the upgrade and thus making the test to fail.

Workaround this issue by limiting the max delay used. This approach is not perfect as it is still not deterministic, but at least should make the test more stable. A better approach, taking into account the progress in the update should be implemented once this support is included.

infrastructure/apertis-issues#469 (closed)

infrastructure/apertis-issues#211 (closed)

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Edited by Walter Lozano

Merge request reports