summaryrefslogtreecommitdiff
path: root/units/miscellanea
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2019-05-21 12:31:37 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2019-05-21 12:31:37 -0400
commit4026ffa493af2479ae842b6efbaeffb29968f87d (patch)
tree01e3753c5cf6b2ef1502dd886c2b7fe4ac63da6a /units/miscellanea
parentc21c401222f959570815b6863edfa470072b806a (diff)
Added CPUID script and jobs for server cert to attempt to identify CPU families
Diffstat (limited to 'units/miscellanea')
-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 cccec4cf..64702029 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 9c17b3af..2d83d8ec 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