summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2021-04-27 10:38:19 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2021-04-27 10:38:19 +0100
commitcfc59c4c157a7e88c65a4e7c72ffb4264cdb10c7 (patch)
treee449930b9fabd23531d2447ca36125e001f94cf4
parenteea2c9e443c0a6683d5aa5da554ee953a31b2f15 (diff)
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.
-rw-r--r--units/cpu/jobs.pxu1
1 files changed, 1 insertions, 0 deletions
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