From cfc59c4c157a7e88c65a4e7c72ffb4264cdb10c7 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 27 Apr 2021 10:38:19 +0100 Subject: Fix: dont attempt to attach cstates_results on arm On arm devices the cstates job cannot be run. However, the attachment job will still attempt to find the log file and fail if it is not present. --- units/cpu/jobs.pxu | 1 + 1 file changed, 1 insertion(+) diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu index b3167c4..6d1321a 100644 --- a/units/cpu/jobs.pxu +++ b/units/cpu/jobs.pxu @@ -157,6 +157,7 @@ plugin: attachment category_id: com.canonical.plainbox::cpu estimated_duration: 0.5 id: cpu/cstates_results.log +requires: cpuinfo.platform not in ("aarch64", "armv7l") after: cpu/cstates command: [ -e "${PLAINBOX_SESSION_SHARE}"/fwts_cstates_results.log ] && cat "${PLAINBOX_SESSION_SHARE}"/fwts_cstates_results.log -- cgit v1.2.3