summaryrefslogtreecommitdiff
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2014-04-25 04:35:46 -0400
committerDaniel Manrique <>2014-04-25 04:35:46 -0400
commitd465b52c6150c81ea906813c2e1de1f0c4f88447 (patch)
tree8bb51d3473d4d78b06dc34d66a4083a710925ff2
parenta86634e0507d280d99ec7f29a79c0c86fe0ae25f (diff)
parent1ee65f1a205fbc9e7f38625094b642a25fc34b21 (diff)
"Added some firmware-related test definitions and whitelist items to certification lists.
8f54fbe providers:certification-client: added wakealarm and uefirtvariable tests to whitelist 0951d74 providers:checkbox: Added fwts oops test. 307ef99 providers:certification-client: removed s3/s4 log checking jobs. f021cc7 providers:checkbox: Added cpu cstates job. 6a0fe4c providers:checkbox: Added fwts_desktop_diagnosis job. ed5cbb2 providers:certification-client: removed fwts_test and log attachment from 14.04 client [r=brendan-donegan][bug=1306468][author=roadmr]"
-rw-r--r--jobs/cpu.txt.in20
-rw-r--r--jobs/firmware.txt.in20
-rw-r--r--jobs/miscellanea.txt.in20
3 files changed, 60 insertions, 0 deletions
diff --git a/jobs/cpu.txt.in b/jobs/cpu.txt.in
index a88f0c4..caf42a0 100644
--- a/jobs/cpu.txt.in
+++ b/jobs/cpu.txt.in
@@ -64,3 +64,23 @@ requires: 'arm' in cpuinfo.type
command: grep VFP /var/log/syslog
_description:
Validate that the Vector Floating Point Unit is running on ARM device
+
+plugin:shell
+id: cpu/cstates
+estimated_duration: 10.0
+requires:
+ package.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) cstates tests.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_cstates_results.log -t cstates
+
+plugin: attachment
+estimated_duration: 0.5
+id: cpu/cstates_results.log
+command:
+ [ -e ${PLAINBOX_SESSION_SHARE}/fwts_cstates_results.log ] && cat ${PLAINBOX_SESSION_SHARE}/fwts_cstates_results.log
+_description: Attaches the FWTS desktop diagnosis results log to the submission
+
diff --git a/jobs/firmware.txt.in b/jobs/firmware.txt.in
index df2383c..e75360b 100644
--- a/jobs/firmware.txt.in
+++ b/jobs/firmware.txt.in
@@ -27,3 +27,23 @@ command:
command: [[ -e ${PLAINBOX_SESSION_SHARE}/fwts_$1.log ]] && cat ${PLAINBOX_SESSION_SHARE}/fwts_$1.log
_description: Attach log for FWTS $1 test.
EOF
+
+plugin:shell
+id: firmware/fwts_desktop_diagnosis
+estimated_duration: 10.0
+requires:
+ package.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) desktop-specific diagnosis tests.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_desktop_diagnosis_results.log -t acpidump -t version -t acpitables -t apicinstance -t hpet_check -t mcfg -t method -t mpcheck -t msr -t mtrr -t apicedge -t klog
+
+plugin: attachment
+estimated_duration: 0.5
+id: firmware/fwts_desktop_diagnosis_results.log
+command:
+ [ -e ${PLAINBOX_SESSION_SHARE}/fwts_desktop_diagnosis_results.log ] && cat ${PLAINBOX_SESSION_SHARE}/fwts_desktop_diagnosis_results.log
+_description: Attaches the FWTS desktop diagnosis results log to the submission
+
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index 033796f..8626bf8 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -139,3 +139,23 @@ _description:
Skip this test if this system ONLY uses shared management/ethernet ports OR if this system does not have a BMC (Management Console)
1. Select Yes if you successfully used IPMI to remotely power this system off and on using the dedicated management port.
2. Select No if you attempted to use the dedicated management port to remotely power this system off/on and it failed for some reason.
+
+plugin:shell
+id: miscellanea/oops
+estimated_duration: 10.0
+requires:
+ package.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) oops tests.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_oops_results.log -t oops
+
+plugin: attachment
+estimated_duration: 0.5
+id: miscellanea/oops_results.log
+command:
+ [ -e ${PLAINBOX_SESSION_SHARE}/fwts_oops_results.log ] && cat ${PLAINBOX_SESSION_SHARE}/fwts_oops_results.log
+_description: Attaches the FWTS oops results log to the submission
+