diff options
-rw-r--r-- | units/stress/jobs.pxu | 38 | ||||
-rw-r--r-- | units/stress/test-plan.pxu | 10 |
2 files changed, 48 insertions, 0 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 719e9e1..a5ef86a 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -495,3 +495,41 @@ _description: 2. Press wifi hotkey at a rate of 1 press per second and slowly increase the speed of the tap, until you are tapping as fast as possible VERIFICATION: Verify the system is not frozen and the wifi and bluetooth applets are still visible and functional + +plugin:shell +category_id: com.canonical.plainbox::stress +id: stress/s2idle_pm-graph_30 +estimated_duration: 10m +requires: executable.name == 'sleepgraph' +user: root +_summary: Resume from idle by using Intel pm-graph +command: + sleepgraph -m freeze -rtcwake 10 -sync -gzip -multi 30 0 -skiphtml -o $PLAINBOX_SESSION_SHARE/s2idle_pm-graph/s2idle-{date}-{time} + +plugin: attachment +category_id: com.canonical.plainbox::stress +id: stress/s2idle_pm-graph_30.tar.xz +estimated_duration: 1 +user: root +_summary: Attach pm-graph logs (s2idle) +command: + tar Jcf $PLAINBOX_SESSION_SHARE/s2idle_pm-graph_30.tar.xz $PLAINBOX_SESSION_SHARE/s2idle_pm-graph && cat $PLAINBOX_SESSION_SHARE/s2idle_pm-graph_30.tar.xz + +plugin:shell +category_id: com.canonical.plainbox::stress +id: stress/s3_pm-graph_30 +estimated_duration: 10m +requires: executable.name == 'sleepgraph' +user: root +_summary: Resume from suspend by using Intel pm-graph +command: + sleepgraph -m mem -rtcwake 10 -sync -gzip -multi 30 0 -skiphtml -o $PLAINBOX_SESSION_SHARE/s3_pm-graph/suspend-{date}-{time} + +plugin: attachment +category_id: com.canonical.plainbox::stress +id: stress/s3_pm-graph_30.tar.xz +estimated_duration: 1 +user: root +_summary: Attach pm-graph logs (s3) +command: + tar Jcf $PLAINBOX_SESSION_SHARE/s3_pm-graph_30.tar.xz $PLAINBOX_SESSION_SHARE/s3_pm-graph && cat $PLAINBOX_SESSION_SHARE/s3_pm-graph_30.tar.xz diff --git a/units/stress/test-plan.pxu b/units/stress/test-plan.pxu index 7967dd5..f162517 100644 --- a/units/stress/test-plan.pxu +++ b/units/stress/test-plan.pxu @@ -245,3 +245,13 @@ include: ethernet/iperf3_.* bootstrap_include: device + +id: stress-pm-graph +unit: test plan +_name: pm-graph stress test +_description: pm-graph stress test +include: + stress/s2idle_pm-graph_30 + stress/s2idle_pm-graph_30.tar.xz + stress/s3_pm-graph_30 + stress/s3_pm-graph_30.tar.xz |