diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-26 10:27:20 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-26 10:27:20 +0200 |
commit | 78012795b553ba0b5ad0c2977d80d8f16831ae00 (patch) | |
tree | 72bc986d7b32d1de0d6c34fc66c30dab133a8de1 /units/firmware | |
parent | 2515d92d9abd6f8fb7d13b6647e9d1f9a9a88061 (diff) |
Import plainbox-provider-checkbox_0.40.0~rc2.orig.tar.gzupstream-0.40.0_rc2patched-0.40.0_rc2-1
Diffstat (limited to 'units/firmware')
-rw-r--r-- | units/firmware/jobs.pxu | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/units/firmware/jobs.pxu b/units/firmware/jobs.pxu new file mode 100644 index 0000000..7c777a2 --- /dev/null +++ b/units/firmware/jobs.pxu @@ -0,0 +1,78 @@ +unit: template +template-resource: fwts +plugin: shell +category_id: com.canonical.plainbox::firmware +id: firmware/fwts_{name} +estimated_duration: 1.2 +requires: package.name == 'fwts' +user: root +command: checkbox-support-fwts_test -t {name} -l $PLAINBOX_SESSION_SHARE/fwts_{name}.log +_description: Run {name} test from Firmware Test Suite. +_summary: Run {name} test from Firmware Test Suite. + +unit: template +template-resource: fwts +plugin: attachment +category_id: com.canonical.plainbox::firmware +id: firmware/fwts_{name}.log +estimated_duration: 1.2 +requires: package.name == 'fwts' +user: root +command: [[ -e $PLAINBOX_SESSION_SHARE/fwts_{name}.log ]] && xz -c $PLAINBOX_SESSION_SHARE/fwts_{name}.log | base64 +_description: Attach log for FWTS {name} test. +_summary: Attach log for FWTS {name} test. + +plugin:shell +category_id: com.canonical.plainbox::firmware +id: firmware/fwts_desktop_diagnosis +estimated_duration: 10.0 +requires: + package.name == 'fwts' +user: root +_description: + Run Firmware Test Suite (fwts) QA-concerned desktop-specific diagnosis tests. +_summary: Run FWTS QA-concerned desktop-specific diagnosis tests. +environ: PLAINBOX_SESSION_SHARE +command: + checkbox-support-fwts_test --qa -l $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results.log + +plugin:shell +category_id: com.canonical.plainbox::firmware +id: firmware/fwts_desktop_diagnosis_hwe +estimated_duration: 5.0 +requires: + package.name == 'fwts' +user: root +_description: + Run Firmware Test Suite (fwts) HWE-concerned desktop-specific diagnosis tests. +_summary: Run FWTS HWE-concerned desktop-specific diagnosis tests. +environ: PLAINBOX_SESSION_SHARE +command: + checkbox-support-fwts_test --hwe -l $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results_hwe.log + +plugin: attachment +category_id: com.canonical.plainbox::firmware +estimated_duration: 0.5 +id: firmware/fwts_desktop_diagnosis_results.log.gz +command: + [ -f $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results.log ] && gzip -c $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results.log | base64 +_description: Attaches the FWTS desktop diagnosis results log to the submission +_summary: Attach FWTS desktop diagnosis log to submission + +plugin: attachment +category_id: com.canonical.plainbox::firmware +estimated_duration: 0.5 +id: firmware/fwts_desktop_diagnosis_results_hwe.log.gz +command: + [ -f $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results_hwe.log ] && gzip -c $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results_hwe.log | base64 +_description: Attaches the FWTS desktop diagnosis results log to the submission (to HWE) +_summary: Attach FWTS desktop diagnosis log to submission (to HWE) + +plugin: shell +category_id: com.canonical.plainbox::firmware +id: firmware/no_ACPI_REV_interface +_summary: No _REV interface in ACPI [DS]SDT tables +user: root +estimated_duration: 0.5 +command: ! sudo grep -r "_REV" /sys/firmware/acpi/tables/* | grep [DS]SDT +_description: This Automated test checks misuse of the _REV interface in ACPI DSDT and SSDT tables |