Merge ~fourdollars/plainbox-provider-checkbox:master into plainbox-provider-checkbox:master

Proposed by Shih-Yuan Lee
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 42ab4a05a6ec7c6d371bf9075f4ca6baaf8931c1
Merged at revision: f27d3bec726b6d5626818dff6ed64e2fc7009848
Proposed branch: ~fourdollars/plainbox-provider-checkbox:master
Merge into: plainbox-provider-checkbox:master
Diff against target: 38 lines (+14/-0)
3 files modified
units/miscellanea/jobs.pxu (+10/-0)
units/miscellanea/packaging.pxu (+3/-0)
units/miscellanea/test-plan.pxu (+1/-0)
Reviewer Review Type Date Requested Status
Alex Tu (community) Needs Information
Sylvain Pineau (community) Approve
Review via email: mp+385732@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jonathan Cave (jocave) wrote :

The job looks good to me, thanks! Two comments:

1) A very minor point, but it looks nice if the summary first word is capitalised s/check/Check/
2) Your commit message contains links to trello boards which might be considered an internal tool and so possibly not all that suitable for linking in this public project.

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

I have revised the commit.
Please help to review it again. Thx.

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

Job looks good to me too and indeed it does not take too long to run so it could be a good candidate to run as part of:

https://git.launchpad.net/plainbox-provider-checkbox/tree/units/miscellanea/test-plan.pxu#n21

Moreover debsums is not listed in the LTS manifests, so please create the following packaging meta data unit to add the dependency (in a units/miscellanea/packaging.pxu):

unit: packaging meta-data
os-id: debian
Depends: debsums

review: Needs Fixing
Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

Submitted more commits.
Please help to review it again. Thx.

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

LGTM, +1

review: Approve
Revision history for this message
Alex Tu (alextu) wrote :

@ sylvain-pineau and FourDollars

Is this the better category that we can add test cases for environment checking? e.g. debsum .. etc ? https://git.launchpad.net/plainbox-provider-checkbox/tree/units/info

I'm a bit confused on units/info and units/miscellanea

review: Needs Information

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 95d781e..59a66b4 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -460,3 +460,13 @@ id: miscellanea/fan_stress_reaction
460command: fan_reaction_test.py460command: fan_reaction_test.py
461_summary: Check if system fans react to CPU load461_summary: Check if system fans react to CPU load
462_description: Check if system fans react to CPU load462_description: Check if system fans react to CPU load
463
464plugin: shell
465category_id: com.canonical.plainbox::miscellanea
466estimated_duration: 60
467id: miscellanea/debsums
468user: root
469requires: package.name == 'debsums'
470command: debsums -c
471_summary: Check the MD5 sums of installed Debian packages
472_description: Verify installed Debian package files against MD5 checksum lists from /var/lib/dpkg/info/*.md5sums.
diff --git a/units/miscellanea/packaging.pxu b/units/miscellanea/packaging.pxu
463new file mode 100644473new file mode 100644
index 0000000..8c6cc4a
--- /dev/null
+++ b/units/miscellanea/packaging.pxu
@@ -0,0 +1,3 @@
1unit: packaging meta-data
2os-id: debian
3Depends: debsums
diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu
index 5b23880..40b4d5f 100644
--- a/units/miscellanea/test-plan.pxu
+++ b/units/miscellanea/test-plan.pxu
@@ -33,6 +33,7 @@ include:
33 miscellanea/oops certification-status=blocker33 miscellanea/oops certification-status=blocker
34 miscellanea/oops_results.log34 miscellanea/oops_results.log
35 miscellanea/fan_stress_reaction35 miscellanea/fan_stress_reaction
36 miscellanea/debsums
36bootstrap_include:37bootstrap_include:
37 fwts38 fwts
3839

Subscribers

People subscribed via source and target branches