summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPMR <pmr@pmr-lander>2020-09-16 01:56:13 +0000
committerPMR <pmr@pmr-lander>2020-09-16 01:56:13 +0000
commit18d34722547fd752ba6d4401a83ea6b147c59d76 (patch)
treeb8771a6889730281780272eec2e64842a47baae3 /jobs
parent156dbdc09ac1fbeff078386d6a4bd071c7fd2cd0 (diff)
parentd559672d80bae1aded753dc568e232012151213e (diff)
Merge #386937 from ~stanley31/oem-qa-checkbox:oem_meta_version_check
Diffstat (limited to 'jobs')
-rw-r--r--jobs/misc/misc-generic.txt44
-rw-r--r--jobs/somerville/somerville-oem-meta.pxu13
-rw-r--r--jobs/stella/stella-oem-meta.pxu14
-rw-r--r--jobs/sutton/sutton-oem-meta.pxu14
4 files changed, 82 insertions, 3 deletions
diff --git a/jobs/misc/misc-generic.txt b/jobs/misc/misc-generic.txt
index 24568ca..98af1e4 100644
--- a/jobs/misc/misc-generic.txt
+++ b/jobs/misc/misc-generic.txt
@@ -17,10 +17,10 @@ command: sed -i 's/\#Storage=auto/Storage=persistent/' /etc/systemd/journald.con
_summary: Set journald to preserve logs during stress test
_description:
PURPOSE:
- 1. To make sure system will write journald log to disk during every boot.
+ 1. To make sure system will write journald log to disk during every boot.
STEPS:
1. Press enter key
- 2. Checkbox will modify /etc/systemd/journald.conf to set Storage=persistent
+ 2. Checkbox will modify /etc/systemd/journald.conf to set Storage=persistent
3. Then if any system hang occurs, the journald log will be preserved
VERIFICATION:
None
@@ -31,7 +31,7 @@ user: root
command: sed -i 's/\#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf
_summary: Set journald to preserve logs during stress test
_description:
- To make sure system will write journald log to disk during every boot.
+ To make sure system will write journald log to disk during every boot.
plugin: shell
id: misc/generic/check-unwanted-packages
@@ -41,6 +41,44 @@ _description:
For some packages which may have license or patent issues, this case checks if they are installed.
plugin: shell
+id: misc/generic/check-oem-project-meta
+imports: from com.canonical.certification import lsb
+requires: lsb.release >= "20.04"
+command: check-oem-package-source.py --gen-meta-type project --no-check-content
+_summary: Check OEM Project mata exists in manifest and OEM archive
+_description:
+ To validate the OEM project meta in manifest and the version same as in OEM archive.
+ This test cases only supported in focal and later.
+
+plugin: shell
+id: misc/generic/check-oem-project-factory-meta
+imports: from com.canonical.certification import lsb
+requires: lsb.release >= "20.04"
+command: check-oem-package-source.py --gen-meta-type project --factory-meta --no-check-content
+_summary: Check OEM Project factory mata exists in manifest and OEM archive
+_description:
+ To validate the OEM platform meta in manifest and the version same as in OEM archive.
+ This test cases only supported in focal and later.
+
+plugin: shell
+id: misc/generic/check-oem-platform-meta
+imports: from com.canonical.certification import lsb
+requires: lsb.release >= "20.04"
+command: check-oem-package-source.py
+_summary: Check OEM Platform mata exists in manifest, OEM and Ubuntu archive
+_description:
+ To validate the OEM platform meta in manifest, OEM archive and Ubuntu archive.
+ This test cases only supported in focal and later.
+
+plugin: shell
+id: misc/generic/check-oem-platform-factory-meta
+imports: from com.canonical.certification import lsb
+requires: lsb.release >= "20.04"
+command: check-oem-package-source.py --factory-meta --no-check-content
+_summary: Check OEM Platform factory mata exists in manifest and OEM archive
+_description:
+ To validate the OEM platform factory meta in manifest and the version same as in OEM archive.
+
id: misc/generic/stock_ubuntu_platform_meta
user: root
command:
diff --git a/jobs/somerville/somerville-oem-meta.pxu b/jobs/somerville/somerville-oem-meta.pxu
new file mode 100644
index 0000000..7714fc9
--- /dev/null
+++ b/jobs/somerville/somerville-oem-meta.pxu
@@ -0,0 +1,13 @@
+unit: test plan
+id: somerville-oem-meta
+category_overrides: apply "somerville" to .*
+_name: Somerville OEM meta test
+_description: Somerville OEM Meta file test
+include:
+ somerville/platform-meta-test
+ misc/generic/check-oem-project-meta
+ misc/generic/check-oem-project-factory-meta
+ misc/generic/check-oem-platform-meta
+ misc/generic/check-oem-platform-factory-meta
+nested_part:
+
diff --git a/jobs/stella/stella-oem-meta.pxu b/jobs/stella/stella-oem-meta.pxu
new file mode 100644
index 0000000..6b07b1a
--- /dev/null
+++ b/jobs/stella/stella-oem-meta.pxu
@@ -0,0 +1,14 @@
+unit: test plan
+id: stella-oem-meta
+category_overrides: apply "stella" to .*
+_name: Stella OEM meta test
+_description: Stella OEM meta test
+include:
+ # Mark below test case first, but need to confirm is it needed for beaver
+ # stella/sourcelist/.*-repository$
+ misc/generic/check-oem-project-meta
+ misc/generic/check-oem-project-factory-meta
+ misc/generic/check-oem-platform-meta
+ misc/generic/check-oem-platform-factory-meta
+nested_part:
+
diff --git a/jobs/sutton/sutton-oem-meta.pxu b/jobs/sutton/sutton-oem-meta.pxu
new file mode 100644
index 0000000..5eb01a7
--- /dev/null
+++ b/jobs/sutton/sutton-oem-meta.pxu
@@ -0,0 +1,14 @@
+unit: test plan
+id: sutton-oem-meta
+category_overrides: apply "sutton" to .*
+_name: Sutton OEM meta test
+_description: Sutton OEM meta test
+include:
+ com.canonical.ce::sutton/sourceslist/focal-oem
+ com.canonical.ce::sutton/sourceslist/security
+ com.canonical.ce::sutton/sourceslist/meta
+ misc/generic/check-oem-project-meta
+ misc/generic/check-oem-project-factory-meta
+ misc/generic/check-oem-platform-meta
+ misc/generic/check-oem-platform-factory-meta
+nested_part: