-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_DD_3_8.yaml
801 lines (745 loc) · 43.6 KB
/
Test_TC_DD_3_8.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
name:
3.3.8. [TC-DD-3.8] Commissioning Flow - Non-concurrent - Negative Scenario
[DUT - Commissioner]
PICS:
- MCORE.ROLE.COMMISSIONER
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Note"
verification: |
Chip-tool command used below are an example to verify the DUT as commissioner test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command.
Test Harness is a Commissionee device that is not connected to an operational network (i.e. Wi-Fi, or Ethernet) and is configured as a Non-concurrent device.
disabled: true
- label: "Preconditions"
verification: |
1 - 5.5 - Commissioner is on a network. - The network can either be WiFi or Thread.
2 - 5.5 - Commissionee is not connected to an operational network
disabled: true
- label:
"Step 1: Commissioner has regulatory and fabric information available
and has accurate date, time and timezone"
verification: |
1. Manually verify that the time, date and timezone is accurate for the DUT Commissioner
disabled: true
- label:
"Step 2: Commissioner and Commissionee discover each other and connect
via the discovery mode applicable for the DUT."
verification: |
Verify in TH as server side: start BLE Advertising by specific DUT implementation
Verify in DUT as client side: start commissioning process (either Thread or WiFi)
./chip-tool pairing ble-thread 1 hex:0e080000000000010000000300000f35060004001fffe0020811111111222222220708fd27e57b1b1e22d9051000112233445566778899aabbccddeeff030e4f70656e54687265616444656d6f01021234041061e1206d2c2b46e079eb775f41fc72190c0402a0fff8 20202021 3840
./chip-tool pairing ble-wifi <Node ID> <SSID> <password> 20202021 3840
disabled: true
- label:
"Step 3: Establish encryption keys with Password Authenticated Session
Establishment on the commissioning channel"
verification: |
Verify in DUT as client side
CHIP:SC: Received PBKDF param response
disabled: true
- label:
"Step 3a: Commissioner reads commissioning information, including
SupportsConcurrentConnection attribute from General Commissioning
Cluster"
verification: |
Verify in TH that SupportsConcurrentConnection is false
CHIP:IM: Received Read request
CHIP:DMG: ReadRequestMessage =
CHIP:DMG: {
CHIP:DMG: AttributePathIBs =
CHIP:DMG: [
CHIP:DMG: AttributePathIB =
CHIP:DMG: {
CHIP:DMG: Endpoint = 0x0,
CHIP:DMG: Cluster = 0x30,
CHIP:DMG: Attribute = 0x0000_0004,
CHIP:DMG: }
CHIP:DMG:
CHIP:DMG: isFabricFiltered = false,
CHIP:DMG: InteractionModelRevision = 11
CHIP:DMG: },
disabled: true
- label:
"Step 4: Commissioner SHALL re-arm Fail-safe timer on Commissionee
within 60s (the autonomously Fail-safe timer length set by
Commissionee)"
verification: |
Verify in DUT as client side
CHIP:CTL: Arming failsafe (60 seconds)
disabled: true
- label:
"Step 5: Commissioner SHALL configure regulatory information in the
Commissionee."
PICS: MCORE.COM.WIRELESS
verification: |
Verify in DUT as client side
Performing next commissioning step 'ConfigRegulatory'
[1653471968.202645][30157:30162] CHIP:CTL: Setting Regulatory Config
[1653471968.202666][30157:30162] CHIP:CTL: No regulatory config supplied by controller, leaving as device default (0)
Verify in TH as server side
NVS set: chip-config/regulatory-location = 0 (0x0)
disabled: true
- label:
"Step 6: Commissioner requests operational CSR from Commissionee with
OperationalCSRRequest command"
verification: |
Verify in DUT as client side
CHIP:CTL: Sending CSR request to 0xffffa4001730 device
CHIP:DMG: ICR moving to [AddingComm]
CHIP:DMG: ICR moving to [AddedComma]
CHIP:IN: Prepared secure message 0xffffb9ba6db8 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45042i with MessageCounter:12011388.
CHIP:IN: Sending encrypted msg 0xffffb9ba6db8 with MessageCounter:12011388 to 0x0000000000000001 (1) at monotonic time: 304120 msec
CHIP:DMG: ICR moving to [CommandSen]
CHIP:CTL: Sent CSR request, waiting for the CSR
CHIP:DMG: ICR moving to [AwaitingDe]
CHIP:DL: HandlePlatformSpecificBLEEvent 16387
CHIP:DL: Indication received, conn = 0xffffb0044210
CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:DL: Indication received, conn = 0xffffb0044210
CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508040 on exchange 45042i
CHIP:EM: Found matching exchange: 45042i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0x5,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = [
CHIP:DMG: 0x15, 0x30, 0x1, 0xcd, 0x30, 0x81, 0xca, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86
CHIP:DMG: ]
CHIP:DMG: 0x1 = [
CHIP:DMG: 0xea, 0xd6, 0x96, 0x53, 0x4d, 0x46, 0x1d, 0xd6, 0xcc, 0x7f, 0x25, 0x50, 0x80, 0x4c, 0x2a, 0xe9, 0xc8, 0xb8, 0x1b, 0x34, 0xca, 0x98, 0x38, 0x42, 0x74, 0xc2, 0x13, 0xf4, 0x10, 0x4d, 0xa2, 0x44, 0x38, 0x98, 0x28, 0xb6, 0xb1, 0x94, 0x6b, 0xd, 0x29, 0x1b
CHIP:DMG: ]
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005
CHIP:CTL: Received certificate signing request from the device
CHIP:CTL: Getting certificate chain for the device from the issuer
CHIP:CTL: Verifying Certificate Signing Request
CHIP:CTL: Generating NOC
CHIP:CTL: Providing certificate chain to the commissioner
CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success
disabled: true
- label:
"Step 7: Commissioner configures operational credentials on DUT if not
previously installed"
verification: |
Verify in DUT as client side
[1651218829.220063][3273:3278] CHIP:CTL: Sending root certificate to the device
[1651218829.220201][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218829.222415][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218829.222549][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba6b98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45043i with MessageCounter:12011389.
[1651218829.222616][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba6b98 with MessageCounter:12011389 to 0x0000000000000001 (1) at monotonic time: 305872 msec
[1651218829.222746][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218829.222789][3273:3278] CHIP:CTL: Sent root certificate to the device
[1651218829.223121][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218829.306861][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.404144][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.454121][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218829.454352][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508041 on exchange 45043i
CHIP:EM: Found matching exchange: 45043i, Delegate: 0xffffa400def0
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandStatusIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0xb,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: StatusIB =
CHIP:DMG: {
CHIP:DMG: status = 0x0,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0
CHIP:CTL: Device confirmed that it has received the root certificate
disabled: true
- label:
"Step 8: Commissioner configures itself as administrator in ACL on TH
if needed"
verification: |
Verify in DUT as client side
[1651218829.457248][3273:3278] CHIP:CTL: Sending operational certificate chain to the device
[1651218829.457372][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218829.460013][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218829.460273][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7828 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45044i with MessageCounter:12011390.
[1651218829.460374][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7828 with MessageCounter:12011390 to 0x0000000000000001 (1) at monotonic time: 306110 msec
[1651218829.460602][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218829.460684][3273:3278] CHIP:CTL: Sent operational certificate to the device
[1651218829.460778][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218829.550574][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.648065][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.745594][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218833.988087][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218833.988336][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651218833.988598][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508042 on exchange 45044i
CHIP:EM: Found matching exchange: 45044i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0x8,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = 1,
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
CHIP:CTL: Device returned status 0 on receiving the NOC
CHIP:CTL: Operational credentials provisioned on device 0xffffa4001730
disabled: true
- label:
"Step 9: Commissioner configures operational network on TH if TH both
supports and requires"
verification: |
Verify in DUT as client side
[1651218833.995054][3273:3278] CHIP:CTL: Adding thread network
[1651218833.995176][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218833.995253][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218833.995431][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7848 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45045i with MessageCounter:12011391.
[1651218833.995523][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7848 with MessageCounter:12011391 to 0x0000000000000001 (1) at monotonic time: 310645 msec
[1651218833.995723][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218833.995823][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218834.084548][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218834.134690][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218834.134918][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508043 on exchange 45045i
CHIP:EM: Found matching exchange: 45045i, Delegate: 0xffffa400def0
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x31,
CHIP:DMG: CommandId = 0x5,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = "",
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005
CHIP:CTL: Received NetworkConfig response
disabled: true
- label:
"Step 10: Commissioner instructs Commissionee to connect to
operational network if not already connected"
verification: |
Verify in DUT as client side
[1651218834.137891][3273:3278] CHIP:CTL: Enabling thread network
[1651218834.138014][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218834.138086][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218834.138236][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7938 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45046i with MessageCounter:12011392.
[1651218834.138325][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7938 with MessageCounter:12011392 to 0x0000000000000001 (1) at monotonic time: 310788 msec
[1651218834.138522][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218834.138628][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218834.231701][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218834.426948][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218834.427186][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651218834.427443][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508044 on exchange 45046i
CHIP:EM: Found matching exchange: 45046i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x31,
CHIP:DMG: CommandId = 0x7,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = "",
CHIP:DMG: 0x2 = 0,
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007
CHIP:CTL: Received ConnectNetwork response
disabled: true
- label:
"Step 11: Commissioning channel between the Commissioner and
Commissionee is terminated."
verification: |
Verify in TH
CHIP:SVR: Received kCloseAllBleConnections:32777
CHIP:IN: Clearing BLE pending packets.
CHIP:BLE: Releasing end point's BLE connection back to application.
CHIP:BLE: Got notification regarding chip connection closure
CHIP:DL: wpa_supplicant: Start WiFi management
disabled: true
- label: "Step 12: Reboot TH and prepare for commissioning"
verification: |
1. Using TH=all-clusters-app in non-concurrent mode, exit the app, re-launch app
disabled: true
- label:
"Step 13: Establish encryption keys with Password Authenticated
Session Establishment on the commissioning channel"
verification: |
Verify in DUT as client side
CHIP:SC: Received PBKDF param response
disabled: true
- label:
"Step 14: Commissioner re-arms Fail-safe timer on Commissionee within
60s (the autonomously Fail-safe timer length set by Commissionee)"
verification: |
Verify in DUT as client side
CHIP:CTL: Arming failsafe (60 seconds)
disabled: true
- label:
"Step 15: Commissioner SHALL configure regulatory information in the
Commissionee."
PICS: MCORE.COM.WIRELESS
verification: |
Verify in DUT as client side
Performing next commissioning step 'ConfigRegulatory'
[1653471968.202645][30157:30162] CHIP:CTL: Setting Regulatory Config
[1653471968.202666][30157:30162] CHIP:CTL: No regulatory config supplied by controller, leaving as device default (0)
Verify on TH:
NVS set: chip-config/regulatory-location = 0 (0x0)
disabled: true
- label:
"Step 16: Commissioner requests operational CSR from Commissionee with
OperationalCSRRequest command"
verification: |
Verify in DUT as client side
CHIP:CTL: Sending CSR request to 0xffffa4001730 device
CHIP:DMG: ICR moving to [AddingComm]
CHIP:DMG: ICR moving to [AddedComma]
CHIP:IN: Prepared secure message 0xffffb9ba6db8 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45042i with MessageCounter:12011388.
CHIP:IN: Sending encrypted msg 0xffffb9ba6db8 with MessageCounter:12011388 to 0x0000000000000001 (1) at monotonic time: 304120 msec
CHIP:DMG: ICR moving to [CommandSen]
CHIP:CTL: Sent CSR request, waiting for the CSR
CHIP:DMG: ICR moving to [AwaitingDe]
CHIP:DL: HandlePlatformSpecificBLEEvent 16387
CHIP:DL: Indication received, conn = 0xffffb0044210
CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:DL: Indication received, conn = 0xffffb0044210
CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508040 on exchange 45042i
CHIP:EM: Found matching exchange: 45042i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0x5,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = [
CHIP:DMG: 0x15, 0x30, 0x1, 0xcd, 0x30, 0x81, 0xca, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86
CHIP:DMG: ]
CHIP:DMG: 0x1 = [
CHIP:DMG: 0xea, 0xd6, 0x96, 0x53, 0x4d, 0x46, 0x1d, 0xd6, 0xcc, 0x7f, 0x25, 0x50, 0x80, 0x4c, 0x2a, 0xe9, 0xc8, 0xb8, 0x1b, 0x34, 0xca, 0x98, 0x38, 0x42, 0x74, 0xc2, 0x13, 0xf4, 0x10, 0x4d, 0xa2, 0x44, 0x38, 0x98, 0x28, 0xb6, 0xb1, 0x94, 0x6b, 0xd, 0x29, 0x1b
CHIP:DMG: ]
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005
CHIP:CTL: Received certificate signing request from the device
CHIP:CTL: Getting certificate chain for the device from the issuer
CHIP:CTL: Verifying Certificate Signing Request
CHIP:CTL: Generating NOC
CHIP:CTL: Providing certificate chain to the commissioner
CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success
disabled: true
- label:
"Step 17: Commissioner configures operational credentials on DUT if
not previously installed"
verification: |
Verify in DUT as client side
[1651218829.220063][3273:3278] CHIP:CTL: Sending root certificate to the device
[1651218829.220201][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218829.222415][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218829.222549][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba6b98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45043i with MessageCounter:12011389.
[1651218829.222616][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba6b98 with MessageCounter:12011389 to 0x0000000000000001 (1) at monotonic time: 305872 msec
[1651218829.222746][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218829.222789][3273:3278] CHIP:CTL: Sent root certificate to the device
[1651218829.223121][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218829.306861][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.404144][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.454121][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218829.454352][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508041 on exchange 45043i
CHIP:EM: Found matching exchange: 45043i, Delegate: 0xffffa400def0
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandStatusIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0xb,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: StatusIB =
CHIP:DMG: {
CHIP:DMG: status = 0x0,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0
CHIP:CTL: Device confirmed that it has received the root certificate
disabled: true
- label:
"Step 18: Commissioner configures itself as administrator in ACL on TH
if needed"
verification: |
Verify in DUT as client side
[1651218829.457248][3273:3278] CHIP:CTL: Sending operational certificate chain to the device
[1651218829.457372][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218829.460013][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218829.460273][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7828 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45044i with MessageCounter:12011390.
[1651218829.460374][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7828 with MessageCounter:12011390 to 0x0000000000000001 (1) at monotonic time: 306110 msec
[1651218829.460602][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218829.460684][3273:3278] CHIP:CTL: Sent operational certificate to the device
[1651218829.460778][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218829.550574][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.648065][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218829.745594][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218833.988087][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218833.988336][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651218833.988598][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508042 on exchange 45044i
CHIP:EM: Found matching exchange: 45044i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x3e,
CHIP:DMG: CommandId = 0x8,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = 1,
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
CHIP:CTL: Device returned status 0 on receiving the NOC
CHIP:CTL: Operational credentials provisioned on device 0xffffa4001730
disabled: true
- label:
"Step 19: Commissioner configures operational network on TH if TH both
supports and requires"
verification: |
Verify in DUT as client side
[1651218833.995054][3273:3278] CHIP:CTL: Adding thread network
[1651218833.995176][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218833.995253][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218833.995431][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7848 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45045i with MessageCounter:12011391.
[1651218833.995523][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7848 with MessageCounter:12011391 to 0x0000000000000001 (1) at monotonic time: 310645 msec
[1651218833.995723][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218833.995823][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218834.084548][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218834.134690][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218834.134918][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508043 on exchange 45045i
CHIP:EM: Found matching exchange: 45045i, Delegate: 0xffffa400def0
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x31,
CHIP:DMG: CommandId = 0x5,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = "",
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005
CHIP:CTL: Received NetworkConfig response
disabled: true
- label:
"Step 20: Commissioner instructs Commissionee to connect to
operational network if not already connected"
verification: |
Verify in DUT as client side
[1651218834.137891][3273:3278] CHIP:CTL: Enabling thread network
[1651218834.138014][3273:3278] CHIP:DMG: ICR moving to [AddingComm]
[1651218834.138086][3273:3278] CHIP:DMG: ICR moving to [AddedComma]
[1651218834.138236][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7938 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45046i with MessageCounter:12011392.
[1651218834.138325][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7938 with MessageCounter:12011392 to 0x0000000000000001 (1) at monotonic time: 310788 msec
[1651218834.138522][3273:3278] CHIP:DMG: ICR moving to [CommandSen]
[1651218834.138628][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe]
[1651218834.231701][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651218834.426948][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210
[1651218834.427186][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651218834.427443][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508044 on exchange 45046i
CHIP:EM: Found matching exchange: 45046i, Delegate: 0xffffb0040000
CHIP:DMG: ICR moving to [ResponseRe]
CHIP:DMG: InvokeResponseMessage =
CHIP:DMG: {
CHIP:DMG: suppressResponse = false,
CHIP:DMG: InvokeResponseIBs =
CHIP:DMG: [
CHIP:DMG: InvokeResponseIB =
CHIP:DMG: {
CHIP:DMG: CommandDataIB =
CHIP:DMG: {
CHIP:DMG: CommandPathIB =
CHIP:DMG: {
CHIP:DMG: EndpointId = 0x0,
CHIP:DMG: ClusterId = 0x31,
CHIP:DMG: CommandId = 0x7,
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: CommandData =
CHIP:DMG: {
CHIP:DMG: 0x0 = 0,
CHIP:DMG: 0x1 = "",
CHIP:DMG: 0x2 = 0,
CHIP:DMG: },
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: },
CHIP:DMG:
CHIP:DMG: ],
CHIP:DMG:
CHIP:DMG: InteractionModelRevision = 1
CHIP:DMG: },
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007
CHIP:CTL: Received ConnectNetwork response
disabled: true
- label:
"Step 21: Commissioning channel between the Commissioner and
Commissionee is terminated."
verification: |
1. Verify the channel was terminated on DUT=chip-tool
[1651271753284] [23287:743790] CHIP: [CTL] Received CommissioningComplete response
[1651271753284] [23287:743790] CHIP: [CTL] Successfully finished commissioning step 'SendComplete'
[1651271753284] [23287:743790] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup'
[1651271753284] [23287:743790] CHIP: [CTL] Performing next commissioning step 'Cleanup'
[1651271753284] [23287:743790] CHIP: [CTL] Successfully finished commissioning step 'Cleanup'
[1651271753284] [23287:743790] CHIP: [TOO] Device commissioning completed with success
disabled: true
- label:
"Step 22: Commissioner starts discovery of TH using Operational
Discovery"
verification: |
Verify in DUT as client side
CHIP:DL: Avahi resolve found
CHIP:DIS: Node ID resolved for 0x0000000000000001
CHIP:DIS: Addr 0: [fd11:22::9d96:8fcf:10cf:799e]:5540
CHIP:CTL: OperationalDiscoveryComplete for device ID 0x0000000000000001
disabled: true
- label:
"Step 23: Commissioner opens a CASE session with TH over operational
network"
verification: |
Verify in DUT as client side
CHIP:SC: Sent Sigma1 msg
CHIP:CTL: Address resolved for node: 0x0000000000000001
CHIP:EM: Received message of type 0x31 with protocolId (0, 0) and MessageCounter:1066460336 on exchange 45047i
CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8
CHIP:EM: Rxd Ack; Removing MessageCounter:2352378411 from Retrans Table on exchange 45047i
CHIP:EM: Removed CHIP MessageCounter:2352378411 from RetransTable on exchange 45047i
CHIP:SC: Received Sigma2 msg
CHIP:SC: Peer assigned session session ID 2
CHIP:SC: The device does not support GetClock_RealTimeMS() API. This will eventually result in CASE session setup failures.
CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey
CHIP:IN: 0x04, 0x6e, 0x3e, 0x58, 0x9d, 0x08, 0xd6, 0xae,
CHIP:IN: 0xe9, 0xff, 0x9b, 0x8f, 0xba, 0x6f, 0x57, 0x73,
CHIP:IN: 0x21, 0xc4, 0xe2, 0x7b, 0x09, 0xe4, 0x24, 0x7f,
CHIP:IN: 0x55, 0x44, 0x3b, 0xf2, 0x7c, 0x13, 0x45, 0x3b,
CHIP:IN: 0x82, 0xa8, 0x42, 0x96, 0xb4, 0x36, 0x78, 0x20,
CHIP:IN: 0xa1, 0x37, 0x69, 0xf0, 0x20, 0xc9, 0x20, 0x7e,
CHIP:IN: 0x66, 0x45, 0x84, 0x53, 0x1b, 0x3e, 0xd2, 0x61,
CHIP:IN: 0xb6, 0x89, 0x27, 0xfd, 0xe8, 0x23, 0x69, 0x6d,
CHIP:IN: 0x93,
CHIP:IN: Generated compressed fabric ID
CHIP:IN: 0xa3, 0x54, 0xab, 0x2a, 0xa2, 0x1f, 0x8e, 0x48,
CHIP:SC: Found MRP parameters in the message
CHIP:SC: Sending Sigma3
CHIP:EM: Piggybacking Ack for MessageCounter:1066460336 on exchange: 45047i
CHIP:IN: Prepared unauthenticated message 0xaaaad7ce1bf8 to 0x0000000000000000 (0) of type 0x32 and protocolId (0, 0) on exchange 45047i with MessageCounter:2352378412.
CHIP:IN: Sending unauthenticated msg 0xaaaad7ce1bf8 with MessageCounter:2352378412 to 0x0000000000000000 at monotonic time: 315803 msec
CHIP:SC: Sent Sigma3 msg
CHIP:EM: Received message of type 0x40 with protocolId (0, 0) and MessageCounter:1066460337 on exchange 45047i
CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8
CHIP:EM: Rxd Ack; Removing MessageCounter:2352378412 from Retrans Table on exchange 45047i
CHIP:EM: Removed CHIP MessageCounter:2352378412 from RetransTable on exchange 45047i
CHIP:SC: Success status report received. Session was established
CHIP:IN: New secure session created for device 0x0000000000000001, LSID:2 PSID:2!
disabled: true
- label: "Step 24: Commissioner sends CommissioningComplete command"
verification: |
Verify in DUT as client side
CHIP:CTL: Received CommissioningComplete response
CHIP:CTL: Rendezvous cleanup
CHIP:TOO: Device commissioning completed with success
disabled: true