Skip to content

Commit c1b6952

Browse files
authored
Merge branch 'master' into bugfix/removing_password_logs
2 parents 7ed06f9 + 1a34f77 commit c1b6952

24 files changed

+218
-113
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ tests:
3131
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
3232
3333
The following command on the example tv-app will launch a content app on endpoint 4:
34-
./chip-tool applicationlauncher launch-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
35-
./chip-tv-casting-app applicationlauncher launch-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
34+
./chip-tool applicationlauncher launch-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
35+
./chip-tv-casting-app applicationlauncher launch-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
3636
On TH (tv-app), Verify the launch app command is received successfully.
3737
1666779708.066501][24994:24994] CHIP:DMG: InvokeRequestMessage =
3838
[1666779708.066504][24994:24994] CHIP:DMG: {

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ tests:
3636
verification: |
3737
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
3838
39-
./chip-tool applicationlauncher launch-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
40-
41-
./chip-tv-casting-app applicationlauncher launch-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
39+
./chip-tool applicationlauncher launch-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
4240
41+
./chip-tv-casting-app applicationlauncher launch-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
4342
4443
On TH (tv-app), Verify the launch app command is received successfully.
4544

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ tests:
3535
verification: |
3636
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
3737
38-
./chip-tool applicationlauncher stop-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
38+
./chip-tool applicationlauncher stop-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
3939
40-
./chip-tv-casting-app applicationlauncher stop-app'{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
40+
./chip-tv-casting-app applicationlauncher stop-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
4141
4242
On TH (tv-app), Verify the stop app command is received successfully.
43+
4344
74562683.652082][12550:12550] CHIP:DMG: InvokeRequestMessage =
4445
[1674562683.652085][12550:12550] CHIP:DMG: {
4546
[1674562683.652088][12550:12550] CHIP:DMG: suppressResponse = false,

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ tests:
3535
verification: |
3636
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
3737
38-
./chip-tool applicationlauncher hide-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
38+
./chip-tool applicationlauncher hide-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
3939
40-
./chip-tv-casting-app applicationlauncher hide-app '{"catalogVendorID": 123, "applicationID": "exampleid"}' 1 1
40+
./chip-tv-casting-app applicationlauncher hide-app 1 1 --Application '{"catalogVendorID": 123, "applicationID": "exampleid"}'
4141
4242
On TH (tv-app), Verify the hide app command is received successfully.
43-
4443
[1674562762.318820][12550:12550] CHIP:DMG: InvokeRequestMessage =
4544
[1674562762.318828][12550:12550] CHIP:DMG: {
4645
[1674562762.318834][12550:12550] CHIP:DMG: suppressResponse = false,

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

+14
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ tests:
125125
"Step 4: TH sends RemoveNetwork Command to the DUT with NetworkID
126126
field set to PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET and Breadcrumb
127127
field set to 1"
128+
verification: |
129+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
130+
NetworkingStatus is success
131+
132+
NetworkIndex is 'Userwifi_netidx'
128133
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
129134
command: "RemoveNetwork"
130135
arguments:
@@ -137,6 +142,8 @@ tests:
137142
values:
138143
- name: "NetworkingStatus"
139144
value: 0
145+
- name: "NetworkIndex"
146+
value: 0
140147

141148
- label: "Step 5: TH reads Networks attribute from the DUT"
142149
PICS: CNET.S.A0001
@@ -264,6 +271,11 @@ tests:
264271
"Step 14: TH sends RemoveNetwork Command to the DUT with NetworkID
265272
field set to extended PAN ID of
266273
PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET and Breadcrumb field set to 1"
274+
verification: |
275+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
276+
NetworkingStatus is success
277+
278+
NetworkIndex is 'Userwifi_netidx'
267279
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
268280
command: "RemoveNetwork"
269281
arguments:
@@ -276,6 +288,8 @@ tests:
276288
values:
277289
- name: "NetworkingStatus"
278290
value: 0
291+
- name: "NetworkIndex"
292+
value: 0
279293

280294
- label: "Step 15: TH sends the CommissioningComplete command to the DUT"
281295
PICS: CNET.S.C04.Rsp

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

+14
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ tests:
125125
"Step 4: TH sends RemoveNetwork Command to the DUT with NetworkID
126126
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
127127
set to 1"
128+
verification: |
129+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
130+
NetworkingStatus is success
131+
132+
NetworkIndex is 'Userwifi_netidx'
128133
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
129134
command: "RemoveNetwork"
130135
arguments:
@@ -137,6 +142,8 @@ tests:
137142
values:
138143
- name: "NetworkingStatus"
139144
value: 0
145+
- name: "NetworkIndex"
146+
value: 0
140147

141148
- label:
142149
"Step 5: TH sends AddOrUpdateWiFiNetwork command to the DUT with SSID
@@ -306,6 +313,11 @@ tests:
306313
"Step 15: TH sends RemoveNetwork Command to the DUT with NetworkID
307314
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
308315
set to 1"
316+
verification: |
317+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
318+
NetworkingStatus is success
319+
320+
NetworkIndex is 'Userwifi_netidx'
309321
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
310322
command: "RemoveNetwork"
311323
arguments:
@@ -318,6 +330,8 @@ tests:
318330
values:
319331
- name: "NetworkingStatus"
320332
value: 0
333+
- name: "NetworkIndex"
334+
value: 0
321335

322336
- label:
323337
"Step 16: TH sends AddOrUpdateWiFiNetwork command to the DUT with SSID

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

+104-27
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,37 @@ tests:
8787
"Step 1: Verify each element in the ThreadScanResults list will have
8888
the following fields:"
8989
verification: |
90-
Via the TH (all-clusters-app), verify:
91-
-the PanId value is in the range of 0 to 65534.
92-
-the ExtendedPanId value is type of uint64.
93-
-the NetworkName value is type of string with a size of 1 to 16 bytes.
94-
-the Channel is type of uint16 with range 0 to 65535.
95-
-the version value is type of uint8(0 to 255).
96-
-the ExtendedAddress is a hwaddr with a size of 8 bytes
97-
-the RSSI is of type int8 with a range of -120 to 0.
98-
-the LQI is type of uint8(0 to 255).
90+
./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 1
91+
92+
Via the TH (chip-tool), verify:
93+
-the NetworkingStatus value as 0 that mentions success.
94+
-the PanId value is in the range of 0 to 65534.
95+
-the ExtendedPanId value is type of uint64.
96+
-the NetworkName value is type of string with a size of 1 to 16 bytes.
97+
-the Channel is type of uint16 with range 0 to 65535.
98+
-the version value is type of uint8(0 to 255).
99+
-the ExtendedAddress is a hwaddr with a size of 8 bytes
100+
-the RSSI is of type int8 with a range of -120 to 0.
101+
-the LQI is type of uint8(0 to 255).
102+
103+
[1658297246.000815][7679:7684] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001
104+
[1658297246.001029][7679:7684] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001
105+
[1658297246.001190][7679:7684] CHIP:TOO: ScanNetworksResponse: {
106+
[1658297246.001270][7679:7684] CHIP:TOO: networkingStatus: 0
107+
[1658297246.001357][7679:7684] CHIP:TOO: threadScanResults: 1 entries
108+
[1658297246.001485][7679:7684] CHIP:TOO: [1]: {
109+
[1658297246.001548][7679:7684] CHIP:TOO: PanId: 64206
110+
[1658297246.001607][7679:7684] CHIP:TOO: ExtendedPanId: 3861484836749312
111+
[1658297246.001665][7679:7684] CHIP:TOO: NetworkName: GRL
112+
[1658297246.001721][7679:7684] CHIP:TOO: Channel: 11
113+
[1658297246.001777][7679:7684] CHIP:TOO: Version: 4
114+
[1658297246.001841][7679:7684] CHIP:TOO: ExtendedAddress: 166E0A0000000001
115+
[1658297246.001900][7679:7684] CHIP:TOO: Rssi: -81
116+
[1658297246.001955][7679:7684] CHIP:TOO: Lqi: 48
117+
[1658297246.002010][7679:7684] CHIP:TOO: }
118+
[1658297246.002070][7679:7684] CHIP:TOO: }
119+
[1658297246.002181][7679:7684] CHIP:DMG: ICR moving to [AwaitingDe]
120+
[1658297246.002298][7679:7684] CHIP:EM: Sending Standalone Ack for MessageCounter:124278362 on exchange 24525i
99121
cluster: "LogCommands"
100122
command: "UserPrompt"
101123
PICS: PICS_USER_PROMPT && CNET.S.C00.Rsp && CNET.S.C01.Tx
@@ -144,15 +166,47 @@ tests:
144166
"Step 3: Verify each element in the ThreadScanResults list will have
145167
the following fields:"
146168
verification: |
147-
Via the TH (all-clusters-app), verify:
148-
-the PanId value is in the range of 0 to 65534.
149-
-the ExtendedPanId value is type of uint64.
150-
-the NetworkName value is type of string with a size of 1 to 16 bytes.
151-
-the Channel is type of uint16 with range 0 to 65535.
152-
-the version value is type of uint8(0 to 255).
153-
-the ExtendedAddress is a hwaddr with a size of 8 bytes
154-
-the RSSI is of type int8 with a range of -120 to 0.
155-
-the LQI is type of uint8(0 to 255).
169+
./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 2
170+
171+
Via the TH (chip-tool), verify:
172+
-the NetworkingStatus value as 0 that mentions success.
173+
-the PanId value is in the range of 0 to 65534.
174+
-the ExtendedPanId value is type of uint64.
175+
-the NetworkName value is type of string with a size of 1 to 16 bytes.
176+
-the Channel is type of uint16 with range 0 to 65535.
177+
-the version value is type of uint8(0 to 255).
178+
-the ExtendedAddress is a hwaddr with a size of 8 bytes
179+
-the RSSI is of type int8 with a range of -120 to 0.
180+
-the LQI is type of uint8(0 to 255).
181+
182+
[1658297283.141075][7695:7700] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001
183+
[1658297283.141183][7695:7700] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001
184+
[1658297283.141356][7695:7700] CHIP:TOO: ScanNetworksResponse: {
185+
[1658297283.141438][7695:7700] CHIP:TOO: networkingStatus: 0
186+
[1658297283.141534][7695:7700] CHIP:TOO: threadScanResults: 2 entries
187+
[1658297283.141663][7695:7700] CHIP:TOO: [1]: {
188+
[1658297283.141729][7695:7700] CHIP:TOO: PanId: 64206
189+
[1658297283.141788][7695:7700] CHIP:TOO: ExtendedPanId: 3861484836749312
190+
[1658297283.141847][7695:7700] CHIP:TOO: NetworkName: GRL
191+
[1658297283.141904][7695:7700] CHIP:TOO: Channel: 11
192+
[1658297283.141961][7695:7700] CHIP:TOO: Version: 4
193+
[1658297283.142023][7695:7700] CHIP:TOO: ExtendedAddress: 166E0A0000000001
194+
[1658297283.142079][7695:7700] CHIP:TOO: Rssi: -80
195+
[1658297283.142134][7695:7700] CHIP:TOO: Lqi: 52
196+
[1658297283.142188][7695:7700] CHIP:TOO: }
197+
[1658297283.142271][7695:7700] CHIP:TOO: [2]: {
198+
[1658297283.142331][7695:7700] CHIP:TOO: PanId: 64206
199+
[1658297283.142386][7695:7700] CHIP:TOO: ExtendedPanId: 3861484836749312
200+
[1658297283.142443][7695:7700] CHIP:TOO: NetworkName: GRL
201+
[1658297283.142500][7695:7700] CHIP:TOO: Channel: 11
202+
[1658297283.142551][7695:7700] CHIP:TOO: Version: 4
203+
[1658297283.142609][7695:7700] CHIP:TOO: ExtendedAddress: 166E0A0000000001
204+
[1658297283.142665][7695:7700] CHIP:TOO: Rssi: -83
205+
[1658297283.142718][7695:7700] CHIP:TOO: Lqi: 44
206+
[1658297283.142771][7695:7700] CHIP:TOO: }
207+
[1658297283.142828][7695:7700] CHIP:TOO: }
208+
[1658297283.142958][7695:7700] CHIP:DMG: ICR moving to [AwaitingDe]
209+
[1658297283.143074][7695:7700] CHIP:EM: Sending Standalone Ack for MessageCounter:115607423 on exchange 55136i
156210
cluster: "LogCommands"
157211
command: "UserPrompt"
158212
PICS: PICS_USER_PROMPT && CNET.S.C00.Rsp && CNET.S.C01.Tx
@@ -201,15 +255,38 @@ tests:
201255
"Step 5: Verify each element in the ThreadScanResults list will have
202256
the following fields:"
203257
verification: |
204-
Via the TH (all-clusters-app), verify:
205-
-the PanId value is in the range of 0 to 65534.
206-
-the ExtendedPanId value is type of uint64.
207-
-the NetworkName value is type of string with a size of 1 to 16 bytes.
208-
-the Channel is type of uint16 with range 0 to 65535.
209-
-the version value is type of uint8(0 to 255).
210-
-the ExtendedAddress is a hwaddr with a size of 8 bytes
211-
-the RSSI is of type int8 with a range of -120 to 0.
212-
-the LQI is type of uint8(0 to 255).
258+
./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 3
259+
260+
Via the TH (chip-tool), verify:
261+
-the NetworkingStatus value should be as 0 that mentions success.
262+
-the PanId value should be with in the range of 0 to 65534.
263+
-the ExtendedPanId value is type of uint64.
264+
-the NetworkName value is type of string with a size of 1 to 16 bytes.
265+
-the Channel is type of uint16 with range 0 to 65535.
266+
-the version value is type of uint8(0 to 255).
267+
-the ExtendedAddress is a hwaddr with a size of 8 bytes
268+
-the RSSI is of type int8 with a range of -120 to 0.
269+
-the LQI is type of uint8(0 to 255).
270+
271+
[1658297312.201709][7708:7713] CHIP:DMG: },
272+
[1658297312.201898][7708:7713] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001
273+
[1658297312.202021][7708:7713] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001
274+
[1658297312.202196][7708:7713] CHIP:TOO: ScanNetworksResponse: {
275+
[1658297312.202276][7708:7713] CHIP:TOO: networkingStatus: 0
276+
[1658297312.202359][7708:7713] CHIP:TOO: threadScanResults: 1 entries
277+
[1658297312.202481][7708:7713] CHIP:TOO: [1]: {
278+
[1658297312.202544][7708:7713] CHIP:TOO: PanId: 64206
279+
[1658297312.202604][7708:7713] CHIP:TOO: ExtendedPanId: 3861484836749312
280+
[1658297312.202663][7708:7713] CHIP:TOO: NetworkName: GRL
281+
[1658297312.202718][7708:7713] CHIP:TOO: Channel: 11
282+
[1658297312.202775][7708:7713] CHIP:TOO: Version: 4
283+
[1658297312.202838][7708:7713] CHIP:TOO: ExtendedAddress: 166E0A0000000001
284+
[1658297312.202897][7708:7713] CHIP:TOO: Rssi: -78
285+
[1658297312.202952][7708:7713] CHIP:TOO: Lqi: 60
286+
[1658297312.203007][7708:7713] CHIP:TOO: }
287+
[1658297312.203066][7708:7713] CHIP:TOO: }
288+
[1658297312.203176][7708:7713] CHIP:DMG: ICR moving to [AwaitingDe]
289+
[1658297312.203284][7708:7713] CHIP:EM: Sending Standalone Ack for MessageCounter:217378941 on exchange 37389i
213290
cluster: "LogCommands"
214291
command: "UserPrompt"
215292
PICS: PICS_USER_PROMPT && CNET.S.C00.Rsp && CNET.S.C01.Tx

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

+14
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ tests:
119119
"Step 4: TH sends RemoveNetwork Command to the DUT with NetworkID
120120
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
121121
set to 1"
122+
verification: |
123+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
124+
NetworkingStatus is success
125+
126+
NetworkIndex is 'Userwifi_netidx'
122127
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
123128
command: "RemoveNetwork"
124129
arguments:
@@ -131,6 +136,8 @@ tests:
131136
values:
132137
- name: "NetworkingStatus"
133138
value: 0
139+
- name: "NetworkIndex"
140+
value: 0
134141

135142
- label: "Step 5: TH reads Networks attribute from the DUT"
136143
PICS: CNET.S.A0001
@@ -266,6 +273,11 @@ tests:
266273
"Step 14: TH sends RemoveNetwork Command to the DUT with NetworkID
267274
field set to PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and Breadcrumb field
268275
set to 1"
276+
verification: |
277+
Verify that DUT sends NetworkConfigResponse to command with the following fields:
278+
NetworkingStatus is success
279+
280+
NetworkIndex is 'Userwifi_netidx'
269281
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
270282
command: "RemoveNetwork"
271283
arguments:
@@ -278,6 +290,8 @@ tests:
278290
values:
279291
- name: "NetworkingStatus"
280292
value: 0
293+
- name: "NetworkIndex"
294+
value: 0
281295

282296
- label: "Step 15: TH sends the CommissioningComplete command to the DUT"
283297
PICS: CNET.S.C04.Rsp

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ tests:
3434
verification: |
3535
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
3636
37-
./chip-tool contentlauncher launch-url 'https://www.foo.com' '{"providerName": "provider"}' 1 1
38-
./chip-tv-casting-app contentlauncher launch-url 'https://www.foo.com' '{"providerName": "provider"}' 1 1
37+
./chip-tool contentlauncher launch-url 'https://www.foo.com' 1 1 --DisplayString '{"providerName": "provider"}'
38+
./chip-tv-casting-app contentlauncher launch-url 'https://www.foo.com' 1 1 --DisplayString '{"providerName": "provider"}'
3939
4040
On TH (tv-app), Verify the launch url command is received successfully.
4141
[1658531502040] [21924:325733] CHIP: [DMG] InvokeRequestMessage =

0 commit comments

Comments
 (0)