Merge ~bettyl/plainbox-provider-checkbox:intel-pm-graph-case into plainbox-provider-checkbox:master

Proposed by Betty Lin
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 6adef438f599b25e7a0c4ae6ca2f358e27b4f329
Merged at revision: e5149fff1a5807be6f7cceaa4268575f9a677cbd
Proposed branch: ~bettyl/plainbox-provider-checkbox:intel-pm-graph-case
Merge into: plainbox-provider-checkbox:master
Diff against target: 64 lines (+48/-0)
2 files modified
units/stress/jobs.pxu (+38/-0)
units/stress/test-plan.pxu (+10/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau Approve
Jonathan Cave (community) Approve
Betty Lin (community) Needs Resubmitting
Jerry Kao (community) Approve
Review via email: mp+377012@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jerry Kao (jerry.kao) wrote :

+1

review: Approve
Revision history for this message
Jonathan Cave (jocave) wrote :

The estimated_fields are using an unsupported format that will not pass validation - see https://checkbox.readthedocs.io/en/latest/units/job.html

10min -> 10m

review: Needs Fixing
Revision history for this message
Jonathan Cave (jocave) wrote :

sorry mis-typed "estimated_duration fields"

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

two comments below about summaries being identical for attachments.

review: Needs Fixing
Revision history for this message
Betty Lin (bettyl) wrote :

Updated, thanks Jonathan and Sylvain!

review: Needs Resubmitting
Revision history for this message
Jonathan Cave (jocave) wrote :

+1

review: Approve
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
2index 719e9e1..a5ef86a 100644
3--- a/units/stress/jobs.pxu
4+++ b/units/stress/jobs.pxu
5@@ -495,3 +495,41 @@ _description:
6 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
7 VERIFICATION:
8 Verify the system is not frozen and the wifi and bluetooth applets are still visible and functional
9+
10+plugin:shell
11+category_id: com.canonical.plainbox::stress
12+id: stress/s2idle_pm-graph_30
13+estimated_duration: 10m
14+requires: executable.name == 'sleepgraph'
15+user: root
16+_summary: Resume from idle by using Intel pm-graph
17+command:
18+ sleepgraph -m freeze -rtcwake 10 -sync -gzip -multi 30 0 -skiphtml -o $PLAINBOX_SESSION_SHARE/s2idle_pm-graph/s2idle-{date}-{time}
19+
20+plugin: attachment
21+category_id: com.canonical.plainbox::stress
22+id: stress/s2idle_pm-graph_30.tar.xz
23+estimated_duration: 1
24+user: root
25+_summary: Attach pm-graph logs (s2idle)
26+command:
27+ 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
28+
29+plugin:shell
30+category_id: com.canonical.plainbox::stress
31+id: stress/s3_pm-graph_30
32+estimated_duration: 10m
33+requires: executable.name == 'sleepgraph'
34+user: root
35+_summary: Resume from suspend by using Intel pm-graph
36+command:
37+ sleepgraph -m mem -rtcwake 10 -sync -gzip -multi 30 0 -skiphtml -o $PLAINBOX_SESSION_SHARE/s3_pm-graph/suspend-{date}-{time}
38+
39+plugin: attachment
40+category_id: com.canonical.plainbox::stress
41+id: stress/s3_pm-graph_30.tar.xz
42+estimated_duration: 1
43+user: root
44+_summary: Attach pm-graph logs (s3)
45+command:
46+ 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
47diff --git a/units/stress/test-plan.pxu b/units/stress/test-plan.pxu
48index 7967dd5..f162517 100644
49--- a/units/stress/test-plan.pxu
50+++ b/units/stress/test-plan.pxu
51@@ -245,3 +245,13 @@ include:
52 ethernet/iperf3_.*
53 bootstrap_include:
54 device
55+
56+id: stress-pm-graph
57+unit: test plan
58+_name: pm-graph stress test
59+_description: pm-graph stress test
60+include:
61+ stress/s2idle_pm-graph_30
62+ stress/s2idle_pm-graph_30.tar.xz
63+ stress/s3_pm-graph_30
64+ stress/s3_pm-graph_30.tar.xz

Subscribers

People subscribed via source and target branches