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
diff --git a/units/audio/manifest.pxu b/units/audio/manifest.pxu
index d3e285b..73ad218 100644
--- a/units/audio/manifest.pxu
+++ b/units/audio/manifest.pxu
@@ -16,6 +16,6 @@ value-type: bool
1616
17unit: manifest entry17unit: manifest entry
18id: has_audio_loopback_connector18id: has_audio_loopback_connector
19prompt: Does this device have the following?:19_prompt: Does this device have the following?:
20_name: Audio Loopback Connector20_name: Audio Loopback Connector
21value-type: bool21value-type: bool
diff --git a/units/firmware/jobs.pxu b/units/firmware/jobs.pxu
index b0d69cb..74d13ef 100644
--- a/units/firmware/jobs.pxu
+++ b/units/firmware/jobs.pxu
@@ -91,8 +91,8 @@ _summary: Attach FWTS Server Cert test log to submission
9191
92id: firmware/tcglog-required-algs-sha25692id: firmware/tcglog-required-algs-sha256
93category_id: com.canonical.plainbox::firmware93category_id: com.canonical.plainbox::firmware
94summary: Test that the SHA256 algorithm is present in the TCG event log94_summary: Test that the SHA256 algorithm is present in the TCG event log
95description:95_description:
96 Presence of support for the SHA256 algorithm is a requirement for enabling FDE96 Presence of support for the SHA256 algorithm is a requirement for enabling FDE
97 support in Ubuntu Core 20 systems97 support in Ubuntu Core 20 systems
98plugin: shell98plugin: shell
@@ -106,8 +106,8 @@ requires:
106106
107id: firmware/tcglog-require-pe-image-digests107id: firmware/tcglog-require-pe-image-digests
108category_id: com.canonical.plainbox::firmware108category_id: com.canonical.plainbox::firmware
109summary: Test format of digests for EV_EFI_BOOT_SERVICES_APPLICATION events109_summary: Test format of digests for EV_EFI_BOOT_SERVICES_APPLICATION events
110description:110_description:
111 Digests for EV_EFI_BOOT_SERVICES_APPLICATION events associated with PE images111 Digests for EV_EFI_BOOT_SERVICES_APPLICATION events associated with PE images
112 must be PE image digests rather than file digests. This test is a requirement112 must be PE image digests rather than file digests. This test is a requirement
113 for enabling FDE support in Ubuntu Core 20 systems113 for enabling FDE support in Ubuntu Core 20 systems
@@ -122,7 +122,7 @@ requires:
122122
123id: firmware/tcglog-dump-attachment123id: firmware/tcglog-dump-attachment
124category_id: com.canonical.plainbox::firmware124category_id: com.canonical.plainbox::firmware
125summary: Attach a dump of the TCG Event log for debugging125_summary: Attach a dump of the TCG Event log for debugging
126plugin: attachment126plugin: attachment
127user: root127user: root
128command: tcglog-dump128command: tcglog-dump
diff --git a/units/gpio/manifest.pxu b/units/gpio/manifest.pxu
index d7174ca..e48680b 100644
--- a/units/gpio/manifest.pxu
+++ b/units/gpio/manifest.pxu
@@ -1,5 +1,5 @@
1unit: manifest entry1unit: manifest entry
2id: gpio_loopback2id: gpio_loopback
3prompt: Does this device have the following?:3_prompt: Does this device have the following?:
4_name: GPIO Loopback Connector4_name: GPIO Loopback Connector
5value-type: bool
6\ No newline at end of file5\ No newline at end of file
6value-type: bool
diff --git a/units/image/jobs.pxu b/units/image/jobs.pxu
index 2cbbff5..d185550 100644
--- a/units/image/jobs.pxu
+++ b/units/image/jobs.pxu
@@ -1,8 +1,8 @@
11
2id: image/kernel-publisher-canonical2id: image/kernel-publisher-canonical
3category_id: image3category_id: image
4summary: Check that the kernel snap publisher is Canonical4_summary: Check that the kernel snap publisher is Canonical
5description:5_description:
6 During certification testing IoT devices must be running a kernel supplied6 During certification testing IoT devices must be running a kernel supplied
7 by Canonical7 by Canonical
8plugin: shell8plugin: shell
@@ -13,8 +13,8 @@ flags: preserve-locale
1313
14id: image/kernel-tracking-stable14id: image/kernel-tracking-stable
15category_id: image15category_id: image
16summary: Check that the kernel snap is tracking stable channel16_summary: Check that the kernel snap is tracking stable channel
17description:17_description:
18 During certification testing IoT devices must be running a kernel that is on18 During certification testing IoT devices must be running a kernel that is on
19 a stable channel19 a stable channel
20plugin: shell20plugin: shell
@@ -25,8 +25,8 @@ flags: preserve-locale
2525
26id: image/gadget-publisher-canonical26id: image/gadget-publisher-canonical
27category_id: image27category_id: image
28summary: Check that the gadget snap publisher is Canonical28_summary: Check that the gadget snap publisher is Canonical
29description:29_description:
30 During certification testing IoT devices must be running a kernel supplied30 During certification testing IoT devices must be running a kernel supplied
31 by Canonical31 by Canonical
32plugin: shell32plugin: shell
@@ -37,8 +37,8 @@ flags: preserve-locale
3737
38id: image/gadget-tracking-stable38id: image/gadget-tracking-stable
39category_id: image39category_id: image
40summary: Check that the gadget snap is tracking stable channel40_summary: Check that the gadget snap is tracking stable channel
41description:41_description:
42 During certification testing IoT devices must be running a gadget that is on42 During certification testing IoT devices must be running a gadget that is on
43 a stable channel43 a stable channel
44plugin: shell44plugin: shell
@@ -49,8 +49,8 @@ flags: preserve-locale
4949
50id: image/model-authority-canonical50id: image/model-authority-canonical
51category_id: image51category_id: image
52summary: Check that model authority-id is canonical52_summary: Check that model authority-id is canonical
53description:53_description:
54 The authority-id declares on whose authority this assertion is made. This54 The authority-id declares on whose authority this assertion is made. This
55 must be Canonical for the certification of IoT devices.55 must be Canonical for the certification of IoT devices.
56plugin: shell56plugin: shell
@@ -61,8 +61,8 @@ flags: preserve-locale
6161
62id: image/model-brand-canonical62id: image/model-brand-canonical
63category_id: image63category_id: image
64summary: Check the model brand-id is canoncial64_summary: Check the model brand-id is canoncial
65description:65_description:
66 For the certification of IoT devices canonical provided generic images must66 For the certification of IoT devices canonical provided generic images must
67 be used. Hence, the brand-id must be canonical.67 be used. Hence, the brand-id must be canonical.
68plugin: shell68plugin: shell
@@ -73,10 +73,10 @@ flags: preserve-locale
7373
74id: image/model-grade-not-dangerous74id: image/model-grade-not-dangerous
75category_id: image75category_id: image
76summary: Check that the model grade is not missing or set to dangerous76_summary: Check that the model grade is not missing or set to dangerous
77requires:77requires:
78 lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 2078 lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20
79description:79_description:
80 Images with the 'dangerous' grade (the lowest of all available grades)80 Images with the 'dangerous' grade (the lowest of all available grades)
81 results in certain security measures to be relaxed.81 results in certain security measures to be relaxed.
82 Images that require strict security related implementations must82 Images that require strict security related implementations must
diff --git a/units/image/test-plan.pxu b/units/image/test-plan.pxu
index 48af204..73e5fa3 100644
--- a/units/image/test-plan.pxu
+++ b/units/image/test-plan.pxu
@@ -1,7 +1,7 @@
11
2id: iot-cert-image-full2id: iot-cert-image-full
3unit: test plan3unit: test plan
4name: Sanity checks for images being certified on IoT devices4_name: Sanity checks for images being certified on IoT devices
5include:5include:
6nested_part:6nested_part:
7 iot-cert-image-manual7 iot-cert-image-manual
@@ -9,12 +9,12 @@ nested_part:
99
10id: iot-cert-image-automated10id: iot-cert-image-automated
11unit: test plan11unit: test plan
12name: Automated Sanity checks for images being certified on IoT devices12_name: Automated Sanity checks for images being certified on IoT devices
13include:13include:
14 image/.*14 image/.*
1515
16id: iot-cert-image-manual16id: iot-cert-image-manual
17unit: test plan17unit: test plan
18name: Manual Sanity checks for images being certified on IoT devices18_name: Manual Sanity checks for images being certified on IoT devices
19include:19include:
2020
diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu
index 3b42f3e..423b2f3 100644
--- a/units/keys/jobs.pxu
+++ b/units/keys/jobs.pxu
@@ -306,10 +306,10 @@ command:
306 gsettings set org.gnome.settings-daemon.plugins.power power-button-action "$action"306 gsettings set org.gnome.settings-daemon.plugins.power power-button-action "$action"
307 [[ $(grep -c "PBTN.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]] || \307 [[ $(grep -c "PBTN.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]] || \
308 [[ $(grep -c "PWRB.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]]308 [[ $(grep -c "PWRB.*00000080" "$PLAINBOX_SESSION_SHARE"/power-button-event.log) -eq 1 ]]
309purpose:309_purpose:
310 This test will check if power button event has reported correctly, the listener will310 This test will check if power button event has reported correctly, the listener will
311 wait for 10 seconds.311 wait for 10 seconds.
312steps:312_steps:
313 1. Single press and release the power button in 10 seconds, some platforms might need long-press313 1. Single press and release the power button in 10 seconds, some platforms might need long-press
314 to trigger the PBTN or PWRB event314 to trigger the PBTN or PWRB event
315 2. Check the number of output PBTN/PWRB event315 2. Check the number of output PBTN/PWRB event
diff --git a/units/socketcan/manifest.pxu b/units/socketcan/manifest.pxu
index 2c9b898..d2efeb5 100644
--- a/units/socketcan/manifest.pxu
+++ b/units/socketcan/manifest.pxu
@@ -1,6 +1,6 @@
11
2unit: manifest entry2unit: manifest entry
3id: socket_can_echo_server_running3id: socket_can_echo_server_running
4prompt: Is the device connected to the following?:4_prompt: Is the device connected to the following?:
5_name: A SocketCAN Echo Server5_name: A SocketCAN Echo Server
6value-type: bool6value-type: bool

Subscribers

People subscribed via source and target branches