Merge ~bladernr/plainbox-provider-checkbox:1922246-fix-validation-warnings into plainbox-provider-checkbox:master

Proposed by Jeff Lane 
Status: Merged
Approved by: Jeff Lane 
Approved revision: db9aa01b34c120ddb1b0c13bd58f0caa1adaeebd
Merged at revision: 031a9ba2aabf84bd6b76f7538d3221a90be60285
Proposed branch: ~bladernr/plainbox-provider-checkbox:1922246-fix-validation-warnings
Merge into: plainbox-provider-checkbox:master
Diff against target: 200 lines (+28/-28)
7 files modified
units/audio/manifest.pxu (+1/-1)
units/firmware/jobs.pxu (+5/-5)
units/gpio/manifest.pxu (+2/-2)
units/image/jobs.pxu (+14/-14)
units/image/test-plan.pxu (+3/-3)
units/keys/jobs.pxu (+2/-2)
units/socketcan/manifest.pxu (+1/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+400539@code.launchpad.net

Description of the change

Fix a bunch of validation warnings in P-P-C that are just a bunch of noise when trying to check updates to the provider.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

+1, thx a lot

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/audio/manifest.pxu b/units/audio/manifest.pxu
2index d3e285b..73ad218 100644
3--- a/units/audio/manifest.pxu
4+++ b/units/audio/manifest.pxu
5@@ -16,6 +16,6 @@ value-type: bool
6
7 unit: manifest entry
8 id: has_audio_loopback_connector
9-prompt: Does this device have the following?:
10+_prompt: Does this device have the following?:
11 _name: Audio Loopback Connector
12 value-type: bool
13diff --git a/units/firmware/jobs.pxu b/units/firmware/jobs.pxu
14index b0d69cb..74d13ef 100644
15--- a/units/firmware/jobs.pxu
16+++ b/units/firmware/jobs.pxu
17@@ -91,8 +91,8 @@ _summary: Attach FWTS Server Cert test log to submission
18
19 id: firmware/tcglog-required-algs-sha256
20 category_id: com.canonical.plainbox::firmware
21-summary: Test that the SHA256 algorithm is present in the TCG event log
22-description:
23+_summary: Test that the SHA256 algorithm is present in the TCG event log
24+_description:
25 Presence of support for the SHA256 algorithm is a requirement for enabling FDE
26 support in Ubuntu Core 20 systems
27 plugin: shell
28@@ -106,8 +106,8 @@ requires:
29
30 id: firmware/tcglog-require-pe-image-digests
31 category_id: com.canonical.plainbox::firmware
32-summary: Test format of digests for EV_EFI_BOOT_SERVICES_APPLICATION events
33-description:
34+_summary: Test format of digests for EV_EFI_BOOT_SERVICES_APPLICATION events
35+_description:
36 Digests for EV_EFI_BOOT_SERVICES_APPLICATION events associated with PE images
37 must be PE image digests rather than file digests. This test is a requirement
38 for enabling FDE support in Ubuntu Core 20 systems
39@@ -122,7 +122,7 @@ requires:
40
41 id: firmware/tcglog-dump-attachment
42 category_id: com.canonical.plainbox::firmware
43-summary: Attach a dump of the TCG Event log for debugging
44+_summary: Attach a dump of the TCG Event log for debugging
45 plugin: attachment
46 user: root
47 command: tcglog-dump
48diff --git a/units/gpio/manifest.pxu b/units/gpio/manifest.pxu
49index d7174ca..e48680b 100644
50--- a/units/gpio/manifest.pxu
51+++ b/units/gpio/manifest.pxu
52@@ -1,5 +1,5 @@
53 unit: manifest entry
54 id: gpio_loopback
55-prompt: Does this device have the following?:
56+_prompt: Does this device have the following?:
57 _name: GPIO Loopback Connector
58-value-type: bool
59\ No newline at end of file
60+value-type: bool
61diff --git a/units/image/jobs.pxu b/units/image/jobs.pxu
62index 2cbbff5..d185550 100644
63--- a/units/image/jobs.pxu
64+++ b/units/image/jobs.pxu
65@@ -1,8 +1,8 @@
66
67 id: image/kernel-publisher-canonical
68 category_id: image
69-summary: Check that the kernel snap publisher is Canonical
70-description:
71+_summary: Check that the kernel snap publisher is Canonical
72+_description:
73 During certification testing IoT devices must be running a kernel supplied
74 by Canonical
75 plugin: shell
76@@ -13,8 +13,8 @@ flags: preserve-locale
77
78 id: image/kernel-tracking-stable
79 category_id: image
80-summary: Check that the kernel snap is tracking stable channel
81-description:
82+_summary: Check that the kernel snap is tracking stable channel
83+_description:
84 During certification testing IoT devices must be running a kernel that is on
85 a stable channel
86 plugin: shell
87@@ -25,8 +25,8 @@ flags: preserve-locale
88
89 id: image/gadget-publisher-canonical
90 category_id: image
91-summary: Check that the gadget snap publisher is Canonical
92-description:
93+_summary: Check that the gadget snap publisher is Canonical
94+_description:
95 During certification testing IoT devices must be running a kernel supplied
96 by Canonical
97 plugin: shell
98@@ -37,8 +37,8 @@ flags: preserve-locale
99
100 id: image/gadget-tracking-stable
101 category_id: image
102-summary: Check that the gadget snap is tracking stable channel
103-description:
104+_summary: Check that the gadget snap is tracking stable channel
105+_description:
106 During certification testing IoT devices must be running a gadget that is on
107 a stable channel
108 plugin: shell
109@@ -49,8 +49,8 @@ flags: preserve-locale
110
111 id: image/model-authority-canonical
112 category_id: image
113-summary: Check that model authority-id is canonical
114-description:
115+_summary: Check that model authority-id is canonical
116+_description:
117 The authority-id declares on whose authority this assertion is made. This
118 must be Canonical for the certification of IoT devices.
119 plugin: shell
120@@ -61,8 +61,8 @@ flags: preserve-locale
121
122 id: image/model-brand-canonical
123 category_id: image
124-summary: Check the model brand-id is canoncial
125-description:
126+_summary: Check the model brand-id is canoncial
127+_description:
128 For the certification of IoT devices canonical provided generic images must
129 be used. Hence, the brand-id must be canonical.
130 plugin: shell
131@@ -73,10 +73,10 @@ flags: preserve-locale
132
133 id: image/model-grade-not-dangerous
134 category_id: image
135-summary: Check that the model grade is not missing or set to dangerous
136+_summary: Check that the model grade is not missing or set to dangerous
137 requires:
138 lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20
139-description:
140+_description:
141 Images with the 'dangerous' grade (the lowest of all available grades)
142 results in certain security measures to be relaxed.
143 Images that require strict security related implementations must
144diff --git a/units/image/test-plan.pxu b/units/image/test-plan.pxu
145index 48af204..73e5fa3 100644
146--- a/units/image/test-plan.pxu
147+++ b/units/image/test-plan.pxu
148@@ -1,7 +1,7 @@
149
150 id: iot-cert-image-full
151 unit: test plan
152-name: Sanity checks for images being certified on IoT devices
153+_name: Sanity checks for images being certified on IoT devices
154 include:
155 nested_part:
156 iot-cert-image-manual
157@@ -9,12 +9,12 @@ nested_part:
158
159 id: iot-cert-image-automated
160 unit: test plan
161-name: Automated Sanity checks for images being certified on IoT devices
162+_name: Automated Sanity checks for images being certified on IoT devices
163 include:
164 image/.*
165
166 id: iot-cert-image-manual
167 unit: test plan
168-name: Manual Sanity checks for images being certified on IoT devices
169+_name: Manual Sanity checks for images being certified on IoT devices
170 include:
171
172diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu
173index 3b42f3e..423b2f3 100644
174--- a/units/keys/jobs.pxu
175+++ b/units/keys/jobs.pxu
176@@ -306,10 +306,10 @@ command:
177 gsettings set org.gnome.settings-daemon.plugins.power power-button-action "$action"
178 [[ $(grep -c "PBTN.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]] || \
179 [[ $(grep -c "PWRB.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]]
180-purpose:
181+_purpose:
182 This test will check if power button event has reported correctly, the listener will
183 wait for 10 seconds.
184-steps:
185+_steps:
186 1. Single press and release the power button in 10 seconds, some platforms might need long-press
187 to trigger the PBTN or PWRB event
188 2. Check the number of output PBTN/PWRB event
189diff --git a/units/socketcan/manifest.pxu b/units/socketcan/manifest.pxu
190index 2c9b898..d2efeb5 100644
191--- a/units/socketcan/manifest.pxu
192+++ b/units/socketcan/manifest.pxu
193@@ -1,6 +1,6 @@
194
195 unit: manifest entry
196 id: socket_can_echo_server_running
197-prompt: Is the device connected to the following?:
198+_prompt: Is the device connected to the following?:
199 _name: A SocketCAN Echo Server
200 value-type: bool

Subscribers

People subscribed via source and target branches