diff options
author | PMR <pmr@pmr-lander> | 2020-03-05 16:52:11 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2020-03-05 16:52:11 +0000 |
commit | afd9daaaba7b8b8131f738bc770c7fadb6ebdd35 (patch) | |
tree | a10120c81350b8ae2a6fe2dea036dcd271d82e4d /units | |
parent | 9ab468f2ed7d165f51536204f4ee1dd1a7ad3c07 (diff) | |
parent | 706195ef205873b6bcc26cc12796ff782314023f (diff) |
Merge #380100 from ~bladernr/plainbox-provider-checkbox:1865521-add-nvdimm-health-check
Adds a new NVDIMM category and jobs for testing NVDIMMs
Diffstat (limited to 'units')
-rw-r--r-- | units/nvdimm/category.pxu | 3 | ||||
-rw-r--r-- | units/nvdimm/jobs.pxu | 27 | ||||
-rw-r--r-- | units/nvdimm/packaging.pxu | 4 | ||||
-rw-r--r-- | units/nvdimm/test-plan.pxu | 7 |
4 files changed, 41 insertions, 0 deletions
diff --git a/units/nvdimm/category.pxu b/units/nvdimm/category.pxu new file mode 100644 index 0000000..84d724e --- /dev/null +++ b/units/nvdimm/category.pxu @@ -0,0 +1,3 @@ +unit: category +id: nvdimm +_name: NVDIMM device tests diff --git a/units/nvdimm/jobs.pxu b/units/nvdimm/jobs.pxu new file mode 100644 index 0000000..6db1b66 --- /dev/null +++ b/units/nvdimm/jobs.pxu @@ -0,0 +1,27 @@ +plugin: shell +category_id: com.canonical.certification::nvdimm +id: nvdimm/info +estimated_duration: 1.0 +user: root +requires: + executable.name == "ipmctl" + lsb.release >= "18.04" +command: ipmctl show -dimm +_summary: + Verify that NVDIMMs are discovered +_description: + This test will probe any installed NVDIMMs and list them and their capacities. + +plugin: shell +category_id: com.canonical.certification::nvdimm +id: nvdimm/health +estimated_duration: 1.0 +user: root +requires: + executable.name == "ipmctl" + lsb.release >= "18.04" +command: ipmctl show -d CurrentValue,CurrentState -sensor Health +_summary: + Report health state of installed NVDIMM devices +_description: + This test will do a quick health check of installed NVDIMM devices. diff --git a/units/nvdimm/packaging.pxu b/units/nvdimm/packaging.pxu new file mode 100644 index 0000000..fe9cfb2 --- /dev/null +++ b/units/nvdimm/packaging.pxu @@ -0,0 +1,4 @@ +# nvdimms require ipmctl for health check jobs +unit: packaging meta-data +os-id: debian +Depends: ipmctl diff --git a/units/nvdimm/test-plan.pxu b/units/nvdimm/test-plan.pxu new file mode 100644 index 0000000..9951039 --- /dev/null +++ b/units/nvdimm/test-plan.pxu @@ -0,0 +1,7 @@ +id: nvdimm-full +unit: test plan +_name: NVDIM Specific Tests +_description: NVDIMM related tests +include: + nvidmm/info + nvdimm/health |