summaryrefslogtreecommitdiff
path: root/units
diff options
authorPMR <pmr@pmr-lander>2019-06-18 16:26:49 +0000
committerPMR <pmr@pmr-lander>2019-06-18 16:26:49 +0000
commit48fd45a0477ace58b1215733da27b3b5315dab49 (patch)
treefc80676f30529ef454e6f4ddc7fe479c2656ec71 /units
parent647ddb709c9a4d1645ed7cc0505c61181e41f4c2 (diff)
parent62d949f10fee39ccccb9cd6c9d731cd26ba338ac (diff)
Merge #367700 from ~bladernr/plainbox-provider-checkbox:add-cpuid-test
Diffstat (limited to 'units')
-rw-r--r--units/miscellanea/jobs.pxu10
-rw-r--r--units/miscellanea/test-plan.pxu1
2 files changed, 11 insertions, 0 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index cccec4c..6470202 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -434,3 +434,13 @@ user: root
command:
SOSFILE=`ls -t $PLAINBOX_SESSION_SHARE/sosreport*xz | head -1`; [ -e ${SOSFILE} ] && cat $SOSFILE
_summary: Attach the baseline sosreport file
+
+plugin: shell
+category_id: com.canonical.plainbox::miscellanea
+estimated_duration: 0.2
+id: miscellanea/cpuid
+user: root
+requires: cpuinfo.platform in ("i386", "x86_64")
+command: cpuid.py
+_summary: Attempt to identify CPU family (x86/amd64 only)
+_description: Attempts to identify the CPU family of an x86/amd64 processor
diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu
index 9c17b3a..2d83d8e 100644
--- a/units/miscellanea/test-plan.pxu
+++ b/units/miscellanea/test-plan.pxu
@@ -61,6 +61,7 @@ _description:
Miscellaneous server tests (log checks, dmi data, etc)
mandatory_include:
miscellanea/submission-resources
+ miscellanea/cpuid
miscellanea/get_make_and_model
miscellanea/get_maas_version certification-status=blocker
miscellanea/efi_boot_mode certification-status=blocker