summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2021-10-06 00:50:51 +0000
committerUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2021-10-06 00:50:51 +0000
commit7919770b3a73150f67f226c356ceca78cf7dbd36 (patch)
tree5cd71bb61650118accf08670c0db8ed5a769977e /units/stress
parent966f0c29d2ed660dda7a2ca5eedfd61bf3d1c7e1 (diff)
parent9d1d3ff66c7cda331aac43495cc27363ade76531 (diff)
Merge #409027 from ~iamerin-c/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:suspend_mode_for_pm-graph
identify suspend mode for pm-graph test case
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/jobs.pxu16
1 files changed, 14 insertions, 2 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index a541e3a..544e7af 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -510,7 +510,9 @@ plugin:shell
category_id: com.canonical.plainbox::stress
id: stress/s2idle_pm-graph_30
estimated_duration: 10m
-requires: executable.name == 'sleepgraph'
+requires:
+ executable.name == 'sleepgraph'
+ sleep.mem_sleep == 's2idle'
user: root
_summary: Resume from idle by using Intel pm-graph
command:
@@ -520,6 +522,10 @@ plugin: attachment
category_id: com.canonical.plainbox::stress
id: stress/s2idle_pm-graph_30.tar.xz
estimated_duration: 1
+requires:
+ sleep.mem_sleep == 's2idle'
+after:
+ stress/s2idle_pm-graph_30
user: root
_summary: Attach pm-graph logs (s2idle)
command:
@@ -529,7 +535,9 @@ plugin:shell
category_id: com.canonical.plainbox::stress
id: stress/s3_pm-graph_30
estimated_duration: 10m
-requires: executable.name == 'sleepgraph'
+requires:
+ executable.name == 'sleepgraph'
+ sleep.mem_sleep == 'deep'
user: root
_summary: Resume from suspend by using Intel pm-graph
command:
@@ -539,6 +547,10 @@ plugin: attachment
category_id: com.canonical.plainbox::stress
id: stress/s3_pm-graph_30.tar.xz
estimated_duration: 1
+requires:
+ sleep.mem_sleep == 'deep'
+after:
+ stress/s3_pm-graph_30
user: root
_summary: Attach pm-graph logs (s3)
command: