Skip to content

Commit dc960f3

Browse files
Modified script Sep 06 (#22410)
* Modified Manual and automation script Test_TC_CC_4_5 Test_TC_CC_5_4 Test_TC_CC_7_5 Test_TC_DRLK_2_2 Test_TC_G_3_2 Test_TC_IDM_4_1 Test_TC_LTIME_1_1 Test_TC_LUNIT_1_1 Test_TC_LVL_2_3 Test_TC_LVL_8_1 Test_TC_OPCREDS_3_3 Test_TC_SC_4_7 Test_TC_ULABEL_3_1 Test_TC_OO_1_1 Test_TC_DGTHREAD_1_1 Test_TC_DGTHREAD_2_1 * Auto generated files * Restyled by whitespace * Modified DGTHREAD.S.F.00 PICS * Auto generated files * Modified CC scripts * Auto generated files * Modified scripts Sep 7 Test_TC_BIND_2_3.yaml Test_TC_CADMIN_1_1.yaml Test_TC_CADMIN_1_2.yaml Test_TC_CADMIN_1_7.yaml Test_TC_CADMIN_1_8.yaml Test_TC_CADMIN_1_9.yaml Test_TC_CADMIN_1_10.yaml Test_TC_CADMIN_1_11.yaml Test_TC_CADMIN_1_12.yaml Test_TC_CADMIN_1_13.yaml Test_TC_CADMIN_1_14.yaml Test_TC_CADMIN_1_15.yaml Test_TC_CADMIN_1_16.yaml Test_TC_CADMIN_1_17.yaml Test_TC_CADMIN_1_18.yaml Test_TC_CNET_1_3.yaml Test_TC_CNET_4_1.yaml Test_TC_CNET_4_2.yaml Test_TC_CNET_4_3.yaml Test_TC_CNET_4_10.yaml Test_TC_CNET_4_11.yaml Test_TC_CNET_4_12.yaml Test_TC_CNET_4_15.yaml Test_TC_CNET_4_16.yaml Test_TC_CNET_4_17.yaml Test_TC_CNET_4_18.yaml Test_TC_CNET_4_19.yaml Test_TC_CNET_4_20.yaml Test_TC_CNET_4_21.yaml Test_TC_DA_1_1.yaml Test_TC_DA_1_4.yaml Test_TC_DA_1_6.yaml Test_TC_DA_1_7.yaml Test_TC_DD_1_5.yaml Test_TC_DD_1_8.yaml Test_TC_DD_1_9.yaml Test_TC_DD_1_13.yaml Test_TC_DD_2_1.yaml Test_TC_DD_3_1.yaml Test_TC_DD_3_5.yaml Test_TC_DD_3_8.yaml Test_TC_DD_3_9.yaml Test_TC_DD_3_17.yaml Test_TC_DD_3_19.yaml Test_TC_DGGEN_3_1.yaml Test_TC_DGTHREAD_3_1.yaml Test_TC_DGTHREAD_3_2.yaml Test_TC_DGTHREAD_3_3.yaml Test_TC_DGTHREAD_3_4.yaml Test_TC_DGWIFI_3_1.yaml Test_TC_DGWIFI_3_2.yaml Test_TC_IDM_6_1.yaml Test_TC_IDM_6_2.yaml Test_TC_IDM_8_1.yaml Test_TC_OCC_2_4.yaml Test_TC_OPCREDS_3_1.yaml Test_TC_OPCREDS_3_4.yaml Test_TC_OPCREDS_3_5.yaml Test_TC_PS_2_2.yaml Test_TC_PSCFG_2_2.yaml Test_TC_ULABEL_3_1.yaml Test_TC_WNCV_5_1.yaml Test_TC_WNCV_7_1.yaml * Auto generated files * Restyled by whitespace * Modified DGGEN-2.2 Manual script * Modified CC and DRLK-2.9 script * Auto generated files * Fixed issue #2216 and #2219 * Auto generated files Co-authored-by: Restyled.io <[email protected]>
1 parent a13c14a commit dc960f3

File tree

99 files changed

+2874
-2979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2874
-2979
lines changed

src/app/tests/suites/certification/PICS.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -3077,9 +3077,6 @@ PICS:
30773077
- label: "Is the device a barrier access device?"
30783078
id: MCORE.DD.DEV_BARRIER
30793079

3080-
- label: "Does the device have a vendor specific information element (IE)?"
3081-
id: MCORE.DD.IE
3082-
30833080
- label:
30843081
"Does the device or device packaging have a QR code based onboarding
30853082
payload?"
@@ -3724,10 +3721,10 @@ PICS:
37243721
id: DGTHREAD.S.A0039
37253722

37263723
- label: "Does the DUT-server support the Delay attribute?"
3727-
id: DGTHREAD.S.A003a
3724+
id: DGTHREAD.S.A003A
37283725

37293726
- label: "Does the DUT-server support the SecurityPolicy attribute?"
3730-
id: DGTHREAD.S.A003b
3727+
id: DGTHREAD.S.A003B
37313728

37323729
- label: "Does the DUT-server support the ChannelPage0Mask attribute?"
37333730
id: DGTHREAD.S.A003c
@@ -5568,4 +5565,4 @@ PICS:
55685565
id: MCORE.IDM.C.SubscribeRequest.MultipleAttributes
55695566

55705567
- label: "Does the device support the Factory Reset Method?"
5571-
id: MCORE.UI.FACTORYRESET
5568+
id: PICS_MCORE_UI_FACTORYRESET

src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml

+23-20
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,29 @@ tests:
226226
"TH1 writes Binding entry into DUT with Entry 1: Group = The Group ID
227227
in the AddGroup command sent from TH1 to TH2"
228228
verification: |
229+
Before write the binding entries run the ACL Commands:
230+
231+
Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool:
232+
233+
./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0
234+
235+
On TH1(Chip-tool), Verify the success response for Acl:
236+
237+
[1659075680.943991][2687:2692] CHIP:DMG: StatusIB =
238+
[1659075680.944052][2687:2692] CHIP:DMG: {
239+
[1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS),
240+
241+
Run this cmmd for lighting app in chip-tool:
242+
243+
./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 2 0
244+
245+
On TH1(Chip-tool), Verify the success response for Acl:
246+
247+
[1659075680.943991][2687:2692] CHIP:DMG: StatusIB =
248+
[1659075680.944052][2687:2692] CHIP:DMG: {
249+
[1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS),
250+
251+
229252
Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool:
230253
231254
./chip-tool binding write binding "[{"group" : "0x0001"}]" 74 1
@@ -248,26 +271,6 @@ tests:
248271
entries"
249272
PICS: OO.C.C01.Tx
250273
verification: |
251-
Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool:
252-
253-
./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0
254-
255-
On TH1(Chip-tool), Verify the success response for Acl:
256-
257-
[1659075680.943991][2687:2692] CHIP:DMG: StatusIB =
258-
[1659075680.944052][2687:2692] CHIP:DMG: {
259-
[1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS),
260-
261-
Run this cmmd for lighting app in chip-tool:
262-
263-
./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 2 0
264-
265-
On TH1(Chip-tool), Verify the success response for Acl:
266-
267-
[1659075680.943991][2687:2692] CHIP:DMG: StatusIB =
268-
[1659075680.944052][2687:2692] CHIP:DMG: {
269-
[1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS),
270-
271274
Press button no.2 on nrf52840 DK thread board
272275
disabled: true
273276

src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml

+125-116
Large diffs are not rendered by default.

src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml

-57
Original file line numberDiff line numberDiff line change
@@ -71,63 +71,6 @@ tests:
7171
- name: "nodeId"
7272
value: nodeId
7373

74-
- label:
75-
"Open commissioning window exactly like we plan to later to verify
76-
that `correctPayload` can in fact commision the device."
77-
cluster: "AdministratorCommissioning"
78-
command: "OpenBasicCommissioningWindow"
79-
PICS: CADMIN.S.C01.Rsp
80-
timedInteractionTimeoutMs: 10000
81-
arguments:
82-
values:
83-
- name: "CommissioningTimeout"
84-
value: 900
85-
86-
- label:
87-
"Temporarily commission device with `correctPayload` just like we will
88-
try to later"
89-
identity: "beta"
90-
cluster: "CommissionerCommands"
91-
command: "PairWithCode"
92-
# Only run this if we ran the previous step.
93-
PICS: CADMIN.S && CADMIN.S.C01.Rsp
94-
arguments:
95-
values:
96-
- name: "nodeId"
97-
value: nodeId2
98-
- name: "payload"
99-
value: correctPayload
100-
101-
- label: "Wait for a CASE session"
102-
identity: "beta"
103-
cluster: "DelayCommands"
104-
command: "WaitForCommissionee"
105-
PICS: CADMIN.S
106-
arguments:
107-
values:
108-
- name: "nodeId"
109-
value: nodeId2
110-
111-
- label: "Read FabricIndex of beta so we can delete the temp fabric"
112-
identity: "beta"
113-
cluster: "Operational Credentials"
114-
command: "readAttribute"
115-
attribute: "CurrentFabricIndex"
116-
# Only run this if we commissioned the device.
117-
PICS: CADMIN.S.C01.Rsp
118-
response:
119-
saveAs: tempFabricIndex
120-
121-
- label: "Remove the temp fabric"
122-
cluster: "Operational Credentials"
123-
command: "RemoveFabric"
124-
# Only run this if we commissioned the device.
125-
PICS: CADMIN.S.C01.Rsp
126-
arguments:
127-
values:
128-
- name: "FabricIndex"
129-
value: tempFabricIndex
130-
13174
- label: "TH_CR1 opens a commissioning window on DUT_CE"
13275
cluster: "AdministratorCommissioning"
13376
command: "OpenBasicCommissioningWindow"

src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ tests:
136136
- name: "nodeId"
137137
value: nodeId2
138138
- name: "payload"
139-
value: payload --commissioner-name beta
139+
value: payload
140140

141141
- label: "DUT_CE is commissioned to TH_CR2"
142142
PICS: CADMIN.S

0 commit comments

Comments
 (0)