summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2015-08-18 11:59:44 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2015-08-18 11:59:44 +0800
commit2022db7dd723251a6365f4e2ce6e228531a2fdc2 (patch)
tree235bdeb6e70f7ed4b7a9b57744a7ea3e3c15be8c /jobs
parentd2d8431bb37fa91c07ba16054dc71495c339b15b (diff)
provider:checkbox add post suspend oops test
Add the post suspend oops test and the corresponding log job.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/suspend.txt.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in
index 16b8755..04933c2 100644
--- a/jobs/suspend.txt.in
+++ b/jobs/suspend.txt.in
@@ -2625,3 +2625,23 @@ estimated_duration: 0.500
_description: Parses Xorg.0.Log and discovers the running X driver and version after suspend
_summary: Test X driver/version after suspend
+id: suspend/oops_after_suspend
+depends: suspend/suspend_advanced
+plugin:shell
+estimated_duration: 10.0
+requires:
+ package.name == 'fwts'
+user: root
+_description:
+ Run Firmware Test Suite (fwts) oops tests after suspend.
+environ: PLAINBOX_SESSION_SHARE
+command:
+ fwts_test -l $PLAINBOX_SESSION_SHARE/fwts_oops_results_after_s3.log -t oops
+
+id: suspend/oops_results_after_suspend.log
+plugin: attachment
+estimated_duration: 0.5
+command:
+ [ -e ${PLAINBOX_SESSION_SHARE}/fwts_oops_results_after_s3_hwe.log ] && cat ${PLAINBOX_SESSION_SHARE}/fwts_oops_results_after_s3_hwe.log
+_description: Attaches the FWTS oops results log to the submission after suspend
+