forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest_TC_ACE_1_2.yaml
2347 lines (2247 loc) · 200 KB
/
Test_TC_ACE_1_2.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
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# 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: 42.1.2. [TC-ACE-1.2] Subscriptions - REMOVED
PICS:
- MCORE.ROLE.COMMISSIONEE
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Note"
verification: |
Please use Interactive mode to Verify subscription test cases
Here the command to enter interactive mode:-- ./chip-tool interactive start
disabled: true
- label: "Pre-conditions"
verification: |
N1 is the node ID of TH1
disabled: true
- label: "TH1 commissions DUT"
verification: |
execute the below mentioned command to put DUT into a commissionable state, Pls use equivalent command on the respective DUT
./chip-all-clusters-app
Once DUT reach the commissionable state pls send below mentioned command on TH1. Pls use equivalent command on the respective DUT
./chip-tool pairing onnetwork 1 20202021
Please use Interactive mode to Verify this test case
Here the command to enter interactive mode:-- ./chip-tool interactive start
disabled: true
- label:
"TH1 writes AccessControl cluster ACL attribute, value is a list of
AccessControlEntryStruct containing 1 element: struct Privilege field:
Administer (5) AuthMode field: CASE (2) Subjects field: [N1, N2]
Targets field: [{Endpoint: 0}]"
verification: |
accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 --commissioner-nodeid 0x1
[1675235747.672953][1933:1935] CHIP:DMG: WriteResponseMessage =
[1675235747.673017][1933:1935] CHIP:DMG: {
[1675235747.673072][1933:1935] CHIP:DMG: AttributeStatusIBs =
[1675235747.673150][1933:1935] CHIP:DMG: [
[1675235747.673212][1933:1935] CHIP:DMG: AttributeStatusIB =
[1675235747.673293][1933:1935] CHIP:DMG: {
[1675235747.673359][1933:1935] CHIP:DMG: AttributePathIB =
[1675235747.673447][1933:1935] CHIP:DMG: {
[1675235747.673528][1933:1935] CHIP:DMG: Endpoint = 0x0,
[1675235747.673613][1933:1935] CHIP:DMG: Cluster = 0x1f,
[1675235747.673705][1933:1935] CHIP:DMG: Attribute = 0x0000_0000,
[1675235747.673783][1933:1935] CHIP:DMG: }
[1675235747.673872][1933:1935] CHIP:DMG:
[1675235747.673949][1933:1935] CHIP:DMG: StatusIB =
[1675235747.674035][1933:1935] CHIP:DMG: {
[1675235747.674117][1933:1935] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS),
[1675235747.674197][1933:1935] CHIP:DMG: },
[1675235747.674277][1933:1935] CHIP:DMG:
[1675235747.674346][1933:1935] CHIP:DMG: },
[1675235747.674441][1933:1935] CHIP:DMG:
[1675235747.674502][1933:1935] CHIP:DMG: AttributeStatusIB =
[1675235747.674575][1933:1935] CHIP:DMG: {
[1675235747.674645][1933:1935] CHIP:DMG: AttributePathIB =
[1675235747.674722][1933:1935] CHIP:DMG: {
[1675235747.674802][1933:1935] CHIP:DMG: Endpoint = 0x0,
[1675235747.674886][1933:1935] CHIP:DMG: Cluster = 0x1f,
[1675235747.675034][1933:1935] CHIP:DMG: Attribute = 0x0000_0000,
[1675235747.675125][1933:1935] CHIP:DMG: ListIndex = Null,
[1675235747.675203][1933:1935] CHIP:DMG: }
[1675235747.675289][1933:1935] CHIP:DMG:
[1675235747.675365][1933:1935] CHIP:DMG: StatusIB =
[1675235747.675437][1933:1935] CHIP:DMG: {
[1675235747.675501][1933:1935] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS),
[1675235747.675587][1933:1935] CHIP:DMG: },
[1675235747.675663][1933:1935] CHIP:DMG:
[1675235747.675732][1933:1935] CHIP:DMG: },
[1675235747.675811][1933:1935] CHIP:DMG:
[1675235747.675871][1933:1935] CHIP:DMG: ],
[1675235747.675954][1933:1935] CHIP:DMG:
[1675235747.676015][1933:1935] CHIP:DMG: InteractionModelRevision = 1
[1675235747.676074][1933:1935] CHIP:DMG: }
[1675235747.676309][1933:1935] CHIP:DMG: WriteClient moving to [AwaitingDe]
disabled: true
- label:
"TH2 subscribes to the Node Operational Credentials cluster NOCs
attribute, min interval 1, max interval 30, keep subscriptions false,
fabric-filtered false."
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0
On TH(Chiptool)2,Verify TH subscribes to the Node Operational Credentials cluster NOCs attribute, min interval 1, max interval 30, keep subscriptions false, fabric-filtered false and save SubscriptionId as subscription_noc
[1659598415.554714][3022:3027] CHIP:DMG: ReportDataMessage =
[1659598415.554746][3022:3027] CHIP:DMG: {
[1659598415.554771][3022:3027] CHIP:DMG: SubscriptionId = 0x692ae42d,
[1659598415.554821][3022:3027] CHIP:DMG: AttributeReportIBs =
[1659598415.554857][3022:3027] CHIP:DMG: [
[1659598415.554883][3022:3027] CHIP:DMG: AttributeReportIB =
[1659598415.554920][3022:3027] CHIP:DMG: {
[1659598415.554948][3022:3027] CHIP:DMG: AttributeDataIB =
[1659598415.554981][3022:3027] CHIP:DMG: {
[1659598415.555012][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57,
[1659598415.555045][3022:3027] CHIP:DMG: AttributePathIB =
[1659598415.555076][3022:3027] CHIP:DMG: {
[1659598415.555111][3022:3027] CHIP:DMG: Endpoint = 0x0,
[1659598415.555146][3022:3027] CHIP:DMG: Cluster = 0x3e,
[1659598415.555182][3022:3027] CHIP:DMG: Attribute = 0x0000_0000,
[1659598415.555215][3022:3027] CHIP:DMG: }
[1659598415.555251][3022:3027] CHIP:DMG:
[1659598415.555284][3022:3027] CHIP:DMG: Data = [
[1659598415.555317][3022:3027] CHIP:DMG:
[1659598415.555352][3022:3027] CHIP:DMG: ],
[1659598415.555380][3022:3027] CHIP:DMG: },
[1659598415.555415][3022:3027] CHIP:DMG:
[1659598415.555441][3022:3027] CHIP:DMG: },
[1659598415.555481][3022:3027] CHIP:DMG:
[1659598415.555507][3022:3027] CHIP:DMG: AttributeReportIB =
[1659598415.555542][3022:3027] CHIP:DMG: {
[1659598415.555570][3022:3027] CHIP:DMG: AttributeDataIB =
[1659598415.555630][3022:3027] CHIP:DMG: {
[1659598415.555667][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57,
[1659598415.555696][3022:3027] CHIP:DMG: AttributePathIB =
[1659598415.555729][3022:3027] CHIP:DMG: {
[1659598415.555763][3022:3027] CHIP:DMG: Endpoint = 0x0,
[1659598415.555799][3022:3027] CHIP:DMG: Cluster = 0x3e,
[1659598415.555834][3022:3027] CHIP:DMG: Attribute = 0x0000_0000,
[1659598415.555868][3022:3027] CHIP:DMG: ListIndex = Null,
[1659598415.555901][3022:3027] CHIP:DMG: }
[1659598415.555936][3022:3027] CHIP:DMG:
[1659598415.555968][3022:3027] CHIP:DMG: Data =
[1659598415.556026][3022:3027] CHIP:DMG: {
[1659598415.556065][3022:3027] CHIP:DMG: 0xfe = 1,
[1659598415.556100][3022:3027] CHIP:DMG: },
[1659598415.556128][3022:3027] CHIP:DMG: },
[1659598415.556163][3022:3027] CHIP:DMG:
[1659598415.556189][3022:3027] CHIP:DMG: },
[1659598415.556228][3022:3027] CHIP:DMG:
[1659598415.556253][3022:3027] CHIP:DMG: AttributeReportIB =
[1659598415.556286][3022:3027] CHIP:DMG: {
[1659598415.556312][3022:3027] CHIP:DMG: AttributeDataIB =
[1659598415.556343][3022:3027] CHIP:DMG: {
[1659598415.556376][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57,
[1659598415.556407][3022:3027] CHIP:DMG: AttributePathIB =
[1659598415.556439][3022:3027] CHIP:DMG: {
[1659598415.556472][3022:3027] CHIP:DMG: Endpoint = 0x0,
[1659598415.556507][3022:3027] CHIP:DMG: Cluster = 0x3e,
[1659598415.556542][3022:3027] CHIP:DMG: Attribute = 0x0000_0000,
[1659598415.556576][3022:3027] CHIP:DMG: ListIndex = Null,
[1659598415.556640][3022:3027] CHIP:DMG: }
[1659598415.556678][3022:3027] CHIP:DMG:
[1659598415.556713][3022:3027] CHIP:DMG: Data =
[1659598415.556746][3022:3027] CHIP:DMG: {
[1659598415.556781][3022:3027] CHIP:DMG: 0x1 = [
[1659598415.556889][3022:3027] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x2, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x8f, 0x5c, 0x62, 0xe1, 0x1e, 0xbe, 0x31, 0xab, 0xc3, 0xaa, 0x8, 0x98, 0x87, 0xc9, 0x26, 0x99, 0x98, 0x9a, 0xa2, 0x7c, 0xa, 0xfa, 0xa, 0xb1, 0x44, 0x6f, 0x5e, 0x78, 0x26, 0x74, 0xb1, 0x2a, 0xfe, 0x16, 0xc5, 0x7c, 0x24, 0x14, 0xce, 0x0, 0xb6, 0xe0, 0xdc, 0x96, 0x91, 0x60, 0x8c, 0xd2, 0xdb, 0xca, 0x9f, 0x8f, 0x2d, 0x7, 0xcd, 0x89, 0x9, 0xbb, 0xe3, 0x9a, 0x22, 0x57, 0xb6, 0x3e, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xe1, 0x31, 0xf4, 0x95, 0xda, 0x55, 0x40, 0x59, 0xd4, 0xb4, 0x6d, 0x62, 0xbf, 0x7e, 0xab, 0xef, 0x88, 0x3c, 0x84, 0x3, 0x30, 0x5, 0x14, 0xc7, 0xe9, 0x58, 0xd6, 0x86, 0xe, 0x58, 0xeb, 0xff, 0xc5, 0x3, 0x75, 0x69, 0x5f, 0xa1, 0xd, 0x8d, 0x1f, 0x7b, 0xa5, 0x18, 0x30, 0xb, 0x40, 0x89, 0x44, 0xb0, 0x49, 0x79, 0x3f, 0x7, 0x29, 0xe5, 0xd9, 0xee, 0xeb, 0x6f, 0x18, 0xcf, 0x20, 0xb5, 0x63, 0x97, 0xef, 0xb4, 0x2, 0xc2, 0x73, 0xba, 0x17, 0xbe, 0x9, 0xcc, 0xcd, 0x4d, 0xd0, 0x6d, 0x6d, 0xd, 0x33, 0xf, 0xd7, 0xe9, 0x15, 0x16, 0x82, 0x79, 0x3d, 0x69, 0x38, 0x3d, 0x82, 0xbd, 0x7f, 0x17, 0x22, 0x1b, 0xc3, 0xf6, 0xc7, 0xe6, 0x8, 0x4c, 0x7b, 0xab, 0x39, 0x5c, 0xa0, 0x18,
[1659598415.556962][3022:3027] CHIP:DMG: ] (241 bytes)
[1659598415.557011][3022:3027] CHIP:DMG: 0x2 = [
[1659598415.557121][3022:3027] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xb2, 0x61, 0xc9, 0x38, 0xb9, 0x32, 0x73, 0xcc, 0x48, 0x95, 0x79, 0x1, 0x93, 0xd5, 0xa1, 0x54, 0x52, 0x9a, 0x3, 0x9d, 0x23, 0xe5, 0x52, 0x26, 0x3b, 0x7a, 0xa9, 0x4a, 0x8f, 0x34, 0x44, 0x81, 0x30, 0xe7, 0xa4, 0xc8, 0x8e, 0xe7, 0x1a, 0xe2, 0x91, 0xbb, 0xc6, 0x89, 0xe9, 0xb7, 0xd1, 0xf8, 0xc8, 0x1f, 0xe3, 0xfe, 0x8c, 0x5d, 0xad, 0xff, 0x98, 0x66, 0x5d, 0xbf, 0x57, 0xd0, 0x73, 0x9e, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xc7, 0xe9, 0x58, 0xd6, 0x86, 0xe, 0x58, 0xeb, 0xff, 0xc5, 0x3, 0x75, 0x69, 0x5f, 0xa1, 0xd, 0x8d, 0x1f, 0x7b, 0xa5, 0x30, 0x5, 0x14, 0xf6, 0xef, 0x1d, 0x69, 0xa5, 0xf7, 0x79, 0x7d, 0x53, 0x4a, 0xb6, 0x55, 0xe8, 0xe8, 0xbf, 0xa3, 0x90, 0xcb, 0x56, 0x20, 0x18, 0x30, 0xb, 0x40, 0xf2, 0xb2, 0xe6, 0xa0, 0xc2, 0xf, 0x81, 0x9d, 0xaa, 0x4d, 0xa6, 0xc5, 0xc9, 0x4b, 0x1f, 0x63, 0x68, 0x6c, 0x3e, 0x11, 0xbe, 0xd7, 0xfe, 0xf4, 0xe3, 0x56, 0x43, 0xe7, 0x95, 0xff, 0xa3, 0xae, 0xe4, 0x33, 0x3a, 0xd7, 0x26, 0xee, 0x1e, 0xc4, 0x92, 0xa2, 0x9a, 0x45, 0x62, 0x8e, 0xe9, 0x5d, 0x88, 0xcc, 0xba, 0xb0, 0x78, 0x6, 0xb, 0xfd, 0x56, 0x5c, 0xa5, 0x22, 0x98, 0xa9, 0xb0, 0xaf, 0x18,
[1659598415.557195][3022:3027] CHIP:DMG: ] (231 bytes)
[1659598415.557234][3022:3027] CHIP:DMG: 0xfe = 2,
[1659598415.557268][3022:3027] CHIP:DMG: },
[1659598415.557299][3022:3027] CHIP:DMG: },
[1659598415.557335][3022:3027] CHIP:DMG:
[1659598415.557361][3022:3027] CHIP:DMG: },
[1659598415.557393][3022:3027] CHIP:DMG:
[1659598415.557417][3022:3027] CHIP:DMG: ],
[1659598415.557458][3022:3027] CHIP:DMG:
[1659598415.557482][3022:3027] CHIP:DMG: InteractionModelRevision = 1
[1659598415.557505][3022:3027] CHIP:DMG: }
[1659598415.557850][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 3236395863
[1659598415.560482][3022:3027] CHIP:TOO: NOCs: 2 entries
[1659598415.560556][3022:3027] CHIP:TOO: [1]: {
[1659598415.560586][3022:3027] CHIP:TOO: Noc:
[1659598415.562570][3022:3027] CHIP:TOO: Icac: null
[1659598415.562663][3022:3027] CHIP:TOO: FabricIndex: 1
[1659598415.562690][3022:3027] CHIP:TOO: }
[1659598415.562741][3022:3027] CHIP:TOO: [2]: {
[1659598415.562781][3022:3027] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110218240701240801300941048F5C62E11EBE31ABC3AA089887C92699989AA27C0AFA0AB1446F5E782674B12AFE16C57C2414CE00B6E0DC9691608CD2DBCA9F8F2D07CD8909BBE39A2257B63E370A350128011824020136030402040118300414E131F495DA554059D4B46D62BF7EABEF883C8403300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B408944B049793F0729E5D9EEEB6F18CF20B56397EFB402C273BA17BE09CCCD4DD06D6D0D330FD7E9151682793D69383D82BD7F17221BC3F6C7E6084C7BAB395CA018
[1659598415.562823][3022:3027] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18
[1659598415.562851][3022:3027] CHIP:TOO: FabricIndex: 2
[1659598415.562875][3022:3027] CHIP:TOO: }
[1659598415.562929][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008e40]: Moving to [AwaitingSu]
[1659598415.563006][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708623 on exchange: 29451i
[1659598415.563092][3022:3027] CHIP:IN: Prepared secure message 0xffff8c005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29451i with MessageCounter:125509363.
[1659598415.563139][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c005878 with MessageCounter:125509363 to 0x0000000000000002 (1) at monotonic time: 0000000000820B0B msec
[1659598415.565134][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708624 on exchange 29451i
[1659598415.565183][3022:3027] CHIP:EM: Found matching exchange: 29451i, Delegate: 0xffff8c008e40
[1659598415.565222][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509363 from Retrans Table on exchange 29451i
[1659598415.565249][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509363 from RetransTable on exchange 29451i
[1659598415.565301][3022:3027] CHIP:DMG: SubscribeResponseMessage =
[1659598415.565330][3022:3027] CHIP:DMG: {
[1659598415.565355][3022:3027] CHIP:DMG: SubscriptionId = 0x692ae42d,
[1659598415.565388][3022:3027] CHIP:DMG: MaxInterval = 0x1e,
[1659598415.565414][3022:3027] CHIP:DMG: InteractionModelRevision = 1
[1659598415.565438][3022:3027] CHIP:DMG: }
[1659598415.565467][3022:3027] CHIP:DMG: Subscription established with SubscriptionID = 0x692ae42d MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002
[1659598415.565496][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008e40]: Moving to [Subscripti]
[1659598415.565552][3022:3027] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0x692ae42d Peer = 01:0000000000000002
[1659598415.565587][3022:3027] CHIP:EM: Sending Standalone Ack for MessageCounter:207708624 on exchange 29451i
[1659598415.565652][3022:3027] CHIP:IN: Prepared secure message 0xffffa0dbb9e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 29451i with MessageCounter:125509364.
[1659598415.565690][3022:3027] CHIP:IN: Sending encrypted msg 0xffffa0dbb9e8 with MessageCounter:125509364 to 0x0000000000000002 (1) at monotonic time: 0000000000820B0E msec
[1659598415.565811][3022:3027] CHIP:EM: Flushed pending ack for MessageCounter:207708624 on exchange 29451i
disabled: true
- label:
"TH2 subscribes to the Access Control cluster
AccessControlEntryChanged event, min interval 1, max interval 30, keep
subscriptions true"
verification: |
Pls run this test in chip tool interactive mode ./chip-tool interactive start
accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1
On TH(Chiptool)2,Verify TH subscribes to the Access Control cluster AccessControlEntryChanged event, min interval 1, max interval 30, keep subscriptions true and save SubscriptionId as subscription_ace
[1659598469.304212][3022:3027] CHIP:EM: Found matching exchange: 29452i, Delegate: 0xffff8c008f30
[1659598469.304246][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509366 from Retrans Table on exchange 29452i
[1659598469.304271][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509366 from RetransTable on exchange 29452i
[1659598469.304334][3022:3027] CHIP:DMG: ReportDataMessage =
[1659598469.304362][3022:3027] CHIP:DMG: {
[1659598469.304386][3022:3027] CHIP:DMG: SubscriptionId = 0xe15e6f41,
[1659598469.304411][3022:3027] CHIP:DMG: EventReportIBs =
[1659598469.304447][3022:3027] CHIP:DMG: [
[1659598469.304471][3022:3027] CHIP:DMG: EventReportIB =
[1659598469.304509][3022:3027] CHIP:DMG: {
[1659598469.304534][3022:3027] CHIP:DMG: EventDataIB =
[1659598469.304566][3022:3027] CHIP:DMG: {
[1659598469.304595][3022:3027] CHIP:DMG: EventPath =
[1659598469.304626][3022:3027] CHIP:DMG: {
[1659598469.304657][3022:3027] CHIP:DMG: Endpoint = 0x0,
[1659598469.304692][3022:3027] CHIP:DMG: Cluster = 0x1f,
[1659598469.304726][3022:3027] CHIP:DMG: Event = 0x0,
[1659598469.304758][3022:3027] CHIP:DMG: },
[1659598469.304792][3022:3027] CHIP:DMG:
[1659598469.304824][3022:3027] CHIP:DMG: EventNumber = 0x4,
[1659598469.304857][3022:3027] CHIP:DMG: PriorityLevel = 0x1,
[1659598469.304891][3022:3027] CHIP:DMG: SystemTimestamp = 0x814318,
[1659598469.304920][3022:3027] CHIP:DMG: EventData =
[1659598469.304952][3022:3027] CHIP:DMG: {
[1659598469.304983][3022:3027] CHIP:DMG: 0x1 = NULL
[1659598469.305018][3022:3027] CHIP:DMG: 0x2 = 0,
[1659598469.305049][3022:3027] CHIP:DMG: 0x3 = 1,
[1659598469.305082][3022:3027] CHIP:DMG: 0x4 =
[1659598469.305117][3022:3027] CHIP:DMG: {
[1659598469.305152][3022:3027] CHIP:DMG: 0x1 = 5,
[1659598469.305190][3022:3027] CHIP:DMG: 0x2 = 2,
[1659598469.305225][3022:3027] CHIP:DMG: 0x3 = [
[1659598469.305287][3022:3027] CHIP:DMG: 112233,
[1659598469.305329][3022:3027] CHIP:DMG: ],
[1659598469.305366][3022:3027] CHIP:DMG: 0x4 = NULL
[1659598469.305405][3022:3027] CHIP:DMG: 0xfe = 2,
[1659598469.305442][3022:3027] CHIP:DMG: },
[1659598469.305477][3022:3027] CHIP:DMG: 0xfe = 2,
[1659598469.305510][3022:3027] CHIP:DMG: },
[1659598469.305541][3022:3027] CHIP:DMG: },
[1659598469.305579][3022:3027] CHIP:DMG:
[1659598469.305605][3022:3027] CHIP:DMG: },
[1659598469.305640][3022:3027] CHIP:DMG:
[1659598469.305663][3022:3027] CHIP:DMG: ],
[1659598469.305698][3022:3027] CHIP:DMG:
[1659598469.305722][3022:3027] CHIP:DMG: InteractionModelRevision = 1
[1659598469.305745][3022:3027] CHIP:DMG: }
[1659598469.305889][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000
[1659598469.305914][3022:3027] CHIP:TOO: Event number: 4
[1659598469.305937][3022:3027] CHIP:TOO: Priority: Info
[1659598469.305958][3022:3027] CHIP:TOO: Timestamp: 8471320
[1659598469.306037][3022:3027] CHIP:TOO: AccessControlEntryChanged: {
[1659598469.306065][3022:3027] CHIP:TOO: AdminNodeID: null
[1659598469.306092][3022:3027] CHIP:TOO: AdminPasscodeID: 0
[1659598469.306115][3022:3027] CHIP:TOO: ChangeType: 1
[1659598469.306138][3022:3027] CHIP:TOO: LatestValue: {
[1659598469.306161][3022:3027] CHIP:TOO: Privilege: 5
[1659598469.306183][3022:3027] CHIP:TOO: AuthMode: 2
[1659598469.306211][3022:3027] CHIP:TOO: Subjects: 1 entries
[1659598469.306241][3022:3027] CHIP:TOO: [1]: 112233
[1659598469.306267][3022:3027] CHIP:TOO: Targets: null
[1659598469.306290][3022:3027] CHIP:TOO: FabricIndex: 2
[1659598469.306312][3022:3027] CHIP:TOO: }
[1659598469.306334][3022:3027] CHIP:TOO: AdminFabricIndex: 2
[1659598469.306356][3022:3027] CHIP:TOO: }
[1659598469.306416][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008f30]: Moving to [AwaitingSu]
[1659598469.306469][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708627 on exchange: 29452i
[1659598469.306528][3022:3027] CHIP:IN: Prepared secure message 0xffff8c002428 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29452i with MessageCounter:125509367.
[1659598469.306564][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c002428 with MessageCounter:125509367 to 0x0000000000000002 (1) at monotonic time: 000000000082DCFA msec
[1659598469.307715][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708628 on exchange 29452i
[1659598469.307746][3022:3027] CHIP:EM: Found matching exchange: 29452i, Delegate: 0xffff8c008f30
[1659598469.307776][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509367 from Retrans Table on exchange 29452i
[1659598469.307800][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509367 from RetransTable on exchange 29452i
[1659598469.307841][3022:3027] CHIP:DMG: SubscribeResponseMessage =
disabled: true
- label:
"TH2 subscribes to the General Commissioning cluster Breadcrumb
attribute, min interval 1, max interval 30, keep subscriptions true"
verification: |
Pls run this test in chip tool interactive mode ./chip-tool interactive start
generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1
On TH(Chiptool)2,Verify TH subscribes to the General Commissioning cluster Breadcrumb attribute, min interval 1, max interval 30, keep subscriptions true and save SubscriptionId as subscription_breadcrumb
1659598523.725570][3022:3027] CHIP:EM: Found matching exchange: 29453i, Delegate: 0xffff8c008c80
[1659598523.725650][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509372 from Retrans Table on exchange 29453i
[1659598523.725713][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509372 from RetransTable on exchange 29453i
[1659598523.725833][3022:3027] CHIP:DMG: ReportDataMessage =
[1659598523.725902][3022:3027] CHIP:DMG: {
[1659598523.725962][3022:3027] CHIP:DMG: SubscriptionId = 0x81fefffb,
[1659598523.726025][3022:3027] CHIP:DMG: AttributeReportIBs =
[1659598523.726115][3022:3027] CHIP:DMG: [
[1659598523.726177][3022:3027] CHIP:DMG: AttributeReportIB =
[1659598523.726258][3022:3027] CHIP:DMG: {
[1659598523.726327][3022:3027] CHIP:DMG: AttributeDataIB =
[1659598523.726411][3022:3027] CHIP:DMG: {
[1659598523.726494][3022:3027] CHIP:DMG: DataVersion = 0x15d70b72,
[1659598523.726572][3022:3027] CHIP:DMG: AttributePathIB =
[1659598523.726662][3022:3027] CHIP:DMG: {
[1659598523.726754][3022:3027] CHIP:DMG: Endpoint = 0x0,
[1659598523.726849][3022:3027] CHIP:DMG: Cluster = 0x30,
[1659598523.726943][3022:3027] CHIP:DMG: Attribute = 0x0000_0000,
[1659598523.727027][3022:3027] CHIP:DMG: }
[1659598523.727120][3022:3027] CHIP:DMG:
[1659598523.727213][3022:3027] CHIP:DMG: Data = 0,
[1659598523.727298][3022:3027] CHIP:DMG: },
[1659598523.727381][3022:3027] CHIP:DMG:
[1659598523.727448][3022:3027] CHIP:DMG: },
[1659598523.727525][3022:3027] CHIP:DMG:
[1659598523.727585][3022:3027] CHIP:DMG: ],
[1659598523.727703][3022:3027] CHIP:DMG:
[1659598523.727766][3022:3027] CHIP:DMG: InteractionModelRevision = 1
[1659598523.727826][3022:3027] CHIP:DMG: }
[1659598523.728037][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 366414706
[1659598523.728118][3022:3027] CHIP:TOO: Breadcrumb: 0
[1659598523.728204][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008c80]: Moving to [AwaitingSu]
[1659598523.728312][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708635 on exchange: 29453i
[1659598523.728438][3022:3027] CHIP:IN: Prepared secure message 0xffff8c002428 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29453i with MessageCounter:125509373.
[1659598523.728524][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c002428 with MessageCounter:125509373 to 0x0000000000000002 (1) at monotonic time: 000000000083B190 msec
[1659598523.730457][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708636 on exchange 29453i
[1659598523.730536][3022:3027] CHIP:EM: Found matching exchange: 29453i, Delegate: 0xffff8c008c80
[1659598523.730608][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509373 from Retrans Table on exchange 29453i
[1659598523.730669][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509373 from RetransTable on exchange
disabled: true
- label:
"TH1 sends the OpenCommissioningWindow command to the Administrator
Commissioning Cluster"
verification: |
Pls run this test in chip tool interactive mode ./chip-tool interactive start
pairing open-commissioning-window 1 1 400 1000 3840
[1659597971.528576][2984:2991] CHIP:EM: Found matching exchange: 62289i, Delegate: 0xffff840041a8
[1659597971.528620][2984:2991] CHIP:EM: Rxd Ack; Removing MessageCounter:205264756 from Retrans Table on exchange 62289i
[1659597971.528646][2984:2991] CHIP:EM: Removed CHIP MessageCounter:205264756 from RetransTable on exchange 62289i
[1659597971.528683][2984:2991] CHIP:DMG: ICR moving to [ResponseRe]
[1659597971.528737][2984:2991] CHIP:DMG: InvokeResponseMessage =
[1659597971.528763][2984:2991] CHIP:DMG: {
[1659597971.528787][2984:2991] CHIP:DMG: suppressResponse = false,
[1659597971.528813][2984:2991] CHIP:DMG: InvokeResponseIBs =
[1659597971.528844][2984:2991] CHIP:DMG: [
[1659597971.528868][2984:2991] CHIP:DMG: InvokeResponseIB =
[1659597971.528901][2984:2991] CHIP:DMG: {
[1659597971.528927][2984:2991] CHIP:DMG: CommandStatusIB =
[1659597971.528962][2984:2991] CHIP:DMG: {
[1659597971.528992][2984:2991] CHIP:DMG: CommandPathIB =
[1659597971.529030][2984:2991] CHIP:DMG: {
[1659597971.529067][2984:2991] CHIP:DMG: EndpointId = 0x0,
[1659597971.529106][2984:2991] CHIP:DMG: ClusterId = 0x3c,
[1659597971.529143][2984:2991] CHIP:DMG: CommandId = 0x0,
[1659597971.529179][2984:2991] CHIP:DMG: },
[1659597971.529217][2984:2991] CHIP:DMG:
[1659597971.529247][2984:2991] CHIP:DMG: StatusIB =
[1659597971.529284][2984:2991] CHIP:DMG: {
[1659597971.529321][2984:2991] CHIP:DMG: status = 0x00 (SUCCESS),
[1659597971.529357][2984:2991] CHIP:DMG: },
[1659597971.529393][2984:2991] CHIP:DMG:
[1659597971.529422][2984:2991] CHIP:DMG: },
[1659597971.529455][2984:2991] CHIP:DMG:
[1659597971.529479][2984:2991] CHIP:DMG: },
[1659597971.529510][2984:2991] CHIP:DMG:
[1659597971.529533][2984:2991] CHIP:DMG: ],
[1659597971.529563][2984:2991] CHIP:DMG:
[1659597971.529587][2984:2991] CHIP:DMG: InteractionModelRevision = 1
[1659597971.529610][2984:2991] CHIP:DMG: },
[1659597971.529670][2984:2991] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
[1659597971.529700][2984:2991] CHIP:CTL: Successfully opened pairing window on the device
[1659597971.529845][2984:2991] CHIP:CTL: Manual pairing code: [35059712138]
[1659597971.529885][2984:2991] CHIP:CTL: SetupQRCode: [MT:-24J0AFN00--DE4-F00]
disabled: true
- label:
"TH3 fully commissions the DUT onto its fabric. Adding this new fabric
will cause a change in the NOCs attribute that will trigger the
subscription."
verification: |
ON TH2,
./chip-tool pairing open-commissioning-window 2 1 400 1000 3840
ON TH3
./chip-tool pairing code 3 36448921425( Manual pairing code received from TH2) --commissioner-name beta
[1659598782.742279][3144:3149] CHIP:DMG: InvokeResponseMessage =
[1659598782.742309][3144:3149] CHIP:DMG: {
[1659598782.742336][3144:3149] CHIP:DMG: suppressResponse = false,
[1659598782.742364][3144:3149] CHIP:DMG: InvokeResponseIBs =
[1659598782.742400][3144:3149] CHIP:DMG: [
[1659598782.742427][3144:3149] CHIP:DMG: InvokeResponseIB =
[1659598782.742467][3144:3149] CHIP:DMG: {
[1659598782.742497][3144:3149] CHIP:DMG: CommandDataIB =
[1659598782.742532][3144:3149] CHIP:DMG: {
[1659598782.742566][3144:3149] CHIP:DMG: CommandPathIB =
[1659598782.742604][3144:3149] CHIP:DMG: {
[1659598782.742643][3144:3149] CHIP:DMG: EndpointId = 0x0,
[1659598782.742682][3144:3149] CHIP:DMG: ClusterId = 0x30,
[1659598782.742721][3144:3149] CHIP:DMG: CommandId = 0x5,
[1659598782.742757][3144:3149] CHIP:DMG: },
[1659598782.742792][3144:3149] CHIP:DMG:
[1659598782.742825][3144:3149] CHIP:DMG: CommandFields =
[1659598782.742862][3144:3149] CHIP:DMG: {
[1659598782.742901][3144:3149] CHIP:DMG: 0x0 = 0,
[1659598782.742939][3144:3149] CHIP:DMG: 0x1 = "" (0 chars),
[1659598782.742981][3144:3149] CHIP:DMG: },
[1659598782.743016][3144:3149] CHIP:DMG: },
[1659598782.743059][3144:3149] CHIP:DMG:
[1659598782.743088][3144:3149] CHIP:DMG: },
[1659598782.743123][3144:3149] CHIP:DMG:
[1659598782.743151][3144:3149] CHIP:DMG: ],
[1659598782.743185][3144:3149] CHIP:DMG:
[1659598782.743212][3144:3149] CHIP:DMG: InteractionModelRevision = 1
[1659598782.743239][3144:3149] CHIP:DMG: },
[1659598782.743306][3144:3149] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005
[1659598782.743350][3144:3149] CHIP:CTL: Received CommissioningComplete response, errorCode=0
[1659598782.743408][3144:3149] CHIP:CTL: Successfully finished commissioning step "SendComplete"
[1659598782.743454][3144:3149] CHIP:CTL: Commissioning stage next step: "SendComplete" -> "Cleanup"
[1659598782.743501][3144:3149] CHIP:CTL: Performing next commissioning step "Cleanup"
[1659598782.743649][3144:3149] CHIP:CTL: Successfully finished commissioning step "Cleanup"
[1659598782.743708][3144:3149] CHIP:TOO: Device commissioning completed with success
[1659598782.743826][3144:3149] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label: "TH2 waits for a subscription report from the DUT"
verification: |
TH2 receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present.
That should contain a Path to the Node Operational Credentials cluster NOCs attribute.
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0
On TH(Chiptool)2 ,Verify TH receives a report from the DUT on subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the Node Operational Credentials cluster NOCs attribute.
[1659608932.122100][4449:4454] CHIP:DMG: ] (231 bytes)
[1659608932.122155][4449:4454] CHIP:DMG: 0xfe = 2,
[1659608932.122209][4449:4454] CHIP:DMG: },
[1659608932.122253][4449:4454] CHIP:DMG: },
[1659608932.122304][4449:4454] CHIP:DMG:
[1659608932.122344][4449:4454] CHIP:DMG: },
[1659608932.122403][4449:4454] CHIP:DMG:
[1659608932.122442][4449:4454] CHIP:DMG: AttributeReportIB =
[1659608932.122493][4449:4454] CHIP:DMG: {
[1659608932.122533][4449:4454] CHIP:DMG: AttributeDataIB =
[1659608932.122577][4449:4454] CHIP:DMG: {
[1659608932.122622][4449:4454] CHIP:DMG: DataVersion = 0xffb30683,
[1659608932.122668][4449:4454] CHIP:DMG: AttributePathIB =
[1659608932.122715][4449:4454] CHIP:DMG: {
[1659608932.122763][4449:4454] CHIP:DMG: Endpoint = 0x0,
[1659608932.122817][4449:4454] CHIP:DMG: Cluster = 0x3e,
[1659608932.122868][4449:4454] CHIP:DMG: Attribute = 0x0000_0000,
[1659608932.122921][4449:4454] CHIP:DMG: ListIndex = Null,
[1659608932.122969][4449:4454] CHIP:DMG: }
[1659608932.123019][4449:4454] CHIP:DMG:
[1659608932.123067][4449:4454] CHIP:DMG: Data =
[1659608932.123113][4449:4454] CHIP:DMG: {
[1659608932.123161][4449:4454] CHIP:DMG: 0xfe = 3,
[1659608932.123210][4449:4454] CHIP:DMG: },
[1659608932.123255][4449:4454] CHIP:DMG: },
[1659608932.123303][4449:4454] CHIP:DMG:
[1659608932.123342][4449:4454] CHIP:DMG: },
[1659608932.123387][4449:4454] CHIP:DMG:
[1659608932.123422][4449:4454] CHIP:DMG: ],
[1659608932.123487][4449:4454] CHIP:DMG:
[1659608932.123522][4449:4454] CHIP:DMG: InteractionModelRevision = 1
[1659608932.123557][4449:4454] CHIP:DMG: }
[1659608932.124097][4449:4454] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4289922691
[1659608932.124211][4449:4454] CHIP:TOO: NOCs: 3 entries
[1659608932.124278][4449:4454] CHIP:TOO: [1]: {
[1659608932.124317][4449:4454] CHIP:TOO: Noc:
[1659608932.124351][4449:4454] CHIP:TOO: Icac: null
[1659608932.124403][4449:4454] CHIP:TOO: FabricIndex: 1
[1659608932.124437][4449:4454] CHIP:TOO: }
[1659608932.124483][4449:4454] CHIP:TOO: [2]: {
[1659608932.124535][4449:4454] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104ADC43E671874BF001C1CC210AD71F455F75BE24560CB5A565E92C6BB854CE84B1A128AF3A61F28F88C35E913D527BF189055B9DF67541003F183E4093414A7ED370A3501280118240201360304020401183004140AED7FF3068DFC9984688DD15CFE6361ECD1E935300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40311EC7DC99457821261CA350EB2F2C380D988FCDDC6798B695486759EA1F7D706E0204103DA42BA250AD9D6F6EA014E6BC65D74D42E3E72D109EB32B0DD547B218
[1659608932.124594][4449:4454] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18
[1659608932.124636][4449:4454] CHIP:TOO: FabricIndex: 2
[1659608932.124670][4449:4454] CHIP:TOO: }
[1659608932.124709][4449:4454] CHIP:TOO: [3]: {
[1659608932.124744][4449:4454] CHIP:TOO: Noc:
[1659608932.124777][4449:4454] CHIP:TOO: Icac: null
[1659608932.124809][4449:4454] CHIP:TOO: FabricIndex: 3
[1659608932.124842][4449:4454] CHIP:TOO: }
[1659608932.124912][4449:4454] CHIP:DMG: MoveToState ReadClient[0xffffa0008f20]: Moving to [AwaitingSu]
[1659608932.124981][4449:4454] CHIP:EM: Piggybacking Ack for MessageCounter:111243919 on exchange: 13953i
[1659608932.125065][4449:4454] CHIP:IN: Prepared secure message 0xffffa0007788 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 13953i with MessageCounter:128744628.
[1659608932.125118][4449:4454] CHIP:IN: Sending encrypted msg 0xffffa0007788 with MessageCounter:128744628 to 0x0000000000000002 (1) at monotonic time: 000000000122835D msec
[1659608932.126595][4449:4454] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:111243920 on exchange 13953i
[1659608932.126631][4449:4454] CHIP:EM: Found matching exchange: 13953i, Delegate: 0xffffa0008f20
[1659608932.126673][4449:4454] CHIP:EM: Rxd Ack; Removing MessageCounter:128744628 from Retrans Table on exchange 13953i
[1659608932.126701][4449:4454] CHIP:EM: Removed CHIP MessageCounter:128744628 from RetransTable on exchange 13953i
[1659608932.126747][4449:4454] CHIP:DMG: SubscribeResponseMessage =
[1659608932.126776][4449:4454] CHIP:DMG: {
disabled: true
- label:
"TH3 reads the Fabrics attribute from the Node Operational Credentials
cluster using a fabric-filtered read"
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
operationalcredentials read fabrics 3 0 --commissioner-name beta
On TH(Chiptool)3,Verify Fabrics attribute from the Node Operational Credentials cluster using a fabric-filtered read and Save the FabricIndex as th3_fabric_index
[1659517037.742397][4223:4228] CHIP:EM: Flushed pending ack for MessageCounter:121918567 on exchange 15974i
[1659517037.744022][4223:4228] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:249614128 on exchange 15975i
[1659517037.744074][4223:4228] CHIP:EM: Found matching exchange: 15975i, Delegate: 0xffff94008f10
[1659517037.744125][4223:4228] CHIP:EM: Rxd Ack; Removing MessageCounter:76730247 from Retrans Table on exchange 15975i
[1659517037.744165][4223:4228] CHIP:EM: Removed CHIP MessageCounter:76730247 from RetransTable on exchange 15975i
[1659517037.744260][4223:4228] CHIP:DMG: ReportDataMessage =
[1659517037.744304][4223:4228] CHIP:DMG: {
[1659517037.744340][4223:4228] CHIP:DMG: AttributeReportIBs =
[1659517037.744391][4223:4228] CHIP:DMG: [
[1659517037.744430][4223:4228] CHIP:DMG: AttributeReportIB =
[1659517037.744486][4223:4228] CHIP:DMG: {
[1659517037.744528][4223:4228] CHIP:DMG: AttributeDataIB =
[1659517037.744579][4223:4228] CHIP:DMG: {
[1659517037.744632][4223:4228] CHIP:DMG: DataVersion = 0xffad5042,
[1659517037.744688][4223:4228] CHIP:DMG: AttributePathIB =
[1659517037.744742][4223:4228] CHIP:DMG: {
[1659517037.744936][4223:4228] CHIP:DMG: Endpoint = 0x0,
[1659517037.744997][4223:4228] CHIP:DMG: Cluster = 0x3e,
[1659517037.745054][4223:4228] CHIP:DMG: Attribute = 0x0000_0001,
[1659517037.745107][4223:4228] CHIP:DMG: }
[1659517037.745168][4223:4228] CHIP:DMG:
[1659517037.745226][4223:4228] CHIP:DMG: Data = [
[1659517037.745279][4223:4228] CHIP:DMG:
[1659517037.745339][4223:4228] CHIP:DMG: ],
[1659517037.745389][4223:4228] CHIP:DMG: },
[1659517037.745443][4223:4228] CHIP:DMG:
[1659517037.745487][4223:4228] CHIP:DMG: },
[1659517037.745550][4223:4228] CHIP:DMG:
[1659517037.745589][4223:4228] CHIP:DMG: AttributeReportIB =
[1659517037.745645][4223:4228] CHIP:DMG: {
[1659517037.745686][4223:4228] CHIP:DMG: AttributeDataIB =
[1659517037.745726][4223:4228] CHIP:DMG: {
[1659517037.745766][4223:4228] CHIP:DMG: DataVersion = 0xffad5042,
[1659517037.745823][4223:4228] CHIP:DMG: AttributePathIB =
[1659517037.745881][4223:4228] CHIP:DMG: {
[1659517037.745935][4223:4228] CHIP:DMG: Endpoint = 0x0,
[1659517037.745992][4223:4228] CHIP:DMG: Cluster = 0x3e,
[1659517037.746054][4223:4228] CHIP:DMG: Attribute = 0x0000_0001,
[1659517037.746110][4223:4228] CHIP:DMG: ListIndex = Null,
[1659517037.746167][4223:4228] CHIP:DMG: }
[1659517037.746227][4223:4228] CHIP:DMG:
[1659517037.746278][4223:4228] CHIP:DMG: Data =
[1659517037.746318][4223:4228] CHIP:DMG: {
[1659517037.746375][4223:4228] CHIP:DMG: 0x1 = [
[1659517037.746483][4223:4228] CHIP:DMG: 0x4, 0x40, 0x33, 0x1d, 0x31, 0xfe, 0x56, 0x34, 0xf8, 0x94, 0x71, 0x89, 0x8a, 0x98, 0x41, 0xbe, 0x8d, 0x76, 0x63, 0x16, 0x91, 0x79, 0x69, 0x6d, 0x7a, 0x79, 0xb5, 0x8, 0x92, 0x1e, 0x5c, 0x69, 0xc7, 0x45, 0x9d, 0xcf, 0x7c, 0x9a, 0xdc, 0xf7, 0x6, 0x2f, 0x44, 0x9e, 0xed, 0x70, 0x2d, 0x9a, 0x7e, 0x3a, 0xdb, 0xc, 0xdf, 0xd, 0xb9, 0x42, 0x7f, 0xbb, 0x93, 0x61, 0x7f, 0xb0, 0xfa, 0x50, 0xe1,
[1659517037.746531][4223:4228] CHIP:DMG: ] (65 bytes)
[1659517037.746572][4223:4228] CHIP:DMG: 0x2 = 65521,
[1659517037.746609][4223:4228] CHIP:DMG: 0x3 = 2,
[1659517037.746646][4223:4228] CHIP:DMG: 0x4 = 3,
[1659517037.746684][4223:4228] CHIP:DMG: 0x5 = "" (0 chars),
[1659517037.746720][4223:4228] CHIP:DMG: 0xfe = 3,
[1659517037.746758][4223:4228] CHIP:DMG: },
[1659517037.746790][4223:4228] CHIP:DMG: },
[1659517037.746828][4223:4228] CHIP:DMG:
[1659517037.746854][4223:4228] CHIP:DMG: },
[1659517037.746888][4223:4228] CHIP:DMG:
[1659517037.746913][4223:4228] CHIP:DMG: ],
[1659517037.746952][4223:4228] CHIP:DMG:
[1659517037.746977][4223:4228] CHIP:DMG: SuppressResponse = true,
[1659517037.747003][4223:4228] CHIP:DMG: InteractionModelRevision = 1
[1659517037.747027][4223:4228] CHIP:DMG: }
[1659517037.747303][4223:4228] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 4289548354
[1659517037.747392][4223:4228] CHIP:TOO: Fabrics: 1 entries
[1659517037.747450][4223:4228] CHIP:TOO: [1]: {
[1659517037.747485][4223:4228] CHIP:TOO: RootPublicKey: 0440331D31FE5634F89471898A9841BE8D7663169179696D7A79B508921E5C69C7459DCF7C9ADCF7062F449EED702D9A7E3ADB0CDF0DB9427FBB93617FB0FA50E1
[1659517037.747525][4223:4228] CHIP:TOO: VendorId: 65521
[1659517037.747551][4223:4228] CHIP:TOO: FabricId: 2
[1659517037.747575][4223:4228] CHIP:TOO: NodeId: 3
[1659517037.747598][4223:4228] CHIP:TOO: Label:
[1659517037.747622][4223:4228] CHIP:TOO: FabricIndex: 3
[1659517037.747646][4223:4228] CHIP:TOO: }
[1659517037.747731][4223:4228] CHIP:EM: Sending Standalone Ack for MessageCounter:249614128 on exchange 15975i
[1659517037.747805][4223:4228] CHIP:IN: Prepared secure message 0xffffa9b9d9e8 to 0x0000000000000003 (2) of type 0x10 and protocolId (0, 0) on exchange 15975i with MessageCounter:76730248.
[1659517037.747846][4223:4228] CHIP:IN: Sending encrypted msg 0xffffa9b9d9e8 with MessageCounter:76730248 to 0x0000000000000003 (2) at monotonic time: 0000000000CF41CF msec
[1659517037.747964][4223:4228] CHIP:EM: Flushed pending ack for MessageCounter:249614128 on exchange 15975i
[1659517037.748180][4223:4223] CHIP:CTL: Shutting down the commissioner
[1659517037.748214][4223:4223] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1659517037.748238][4223:4223] CHIP:CTL: Shutting down the controller
[1659517037.748262][4223:4223] CHIP:IN: Expiring all sessions for fabric 0x1!!
[1659517037.748286][4223:4223] CHIP:FP: Forgetting fabric 0x1
[1659517037.748320][4223:4223] CHIP:TS: Pending Last Known Good Time: 2022-07-21T06:51:50
disabled: true
- label:
"TH1 sends a RemoveFabric command to the Node Operational Credentials
cluster with FabricIndex set to th3_fabric_index"
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
operationalcredentials remove-fabric 3 1 0
On TH(Chiptool)1,Verify RemoveFabric command to the Node Operational Credentials cluster with FabricIndex set to th3_fabric_index
[1659517261.457106][10892:10897] CHIP:DMG: InvokeResponseMessage =
[1659517261.457150][10892:10897] CHIP:DMG: {
[1659517261.457175][10892:10897] CHIP:DMG: suppressResponse = false,
[1659517261.457212][10892:10897] CHIP:DMG: InvokeResponseIBs =
[1659517261.457245][10892:10897] CHIP:DMG: [
[1659517261.457281][10892:10897] CHIP:DMG: InvokeResponseIB =
[1659517261.457318][10892:10897] CHIP:DMG: {
[1659517261.457354][10892:10897] CHIP:DMG: CommandDataIB =
[1659517261.457396][10892:10897] CHIP:DMG: {
[1659517261.457426][10892:10897] CHIP:DMG: CommandPathIB =
[1659517261.457472][10892:10897] CHIP:DMG: {
[1659517261.457511][10892:10897] CHIP:DMG: EndpointId = 0x0,
[1659517261.457560][10892:10897] CHIP:DMG: ClusterId = 0x3e,
[1659517261.457609][10892:10897] CHIP:DMG: CommandId = 0x8,
[1659517261.457655][10892:10897] CHIP:DMG: },
[1659517261.457694][10892:10897] CHIP:DMG:
[1659517261.457733][10892:10897] CHIP:DMG: CommandFields =
[1659517261.457774][10892:10897] CHIP:DMG: {
[1659517261.457848][10892:10897] CHIP:DMG: 0x0 = 0,
[1659517261.457894][10892:10897] CHIP:DMG: 0x1 = 3,
[1659517261.457932][10892:10897] CHIP:DMG: },
[1659517261.457963][10892:10897] CHIP:DMG: },
[1659517261.458002][10892:10897] CHIP:DMG:
[1659517261.458027][10892:10897] CHIP:DMG: },
[1659517261.458058][10892:10897] CHIP:DMG:
[1659517261.458081][10892:10897] CHIP:DMG: ],
[1659517261.458112][10892:10897] CHIP:DMG:
[1659517261.458136][10892:10897] CHIP:DMG: InteractionModelRevision = 1
[1659517261.458159][10892:10897] CHIP:DMG: },
[1659517261.458220][10892:10897] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1659517261.458272][10892:10897] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
[1659517261.458326][10892:10897] CHIP:TOO: NOCResponse: {
[1659517261.458375][10892:10897] CHIP:TOO: statusCode: 0
[1659517261.458400][10892:10897] CHIP:TOO: fabricIndex: 3
[1659517261.458424][10892:10897] CHIP:TOO: }
[1659517261.458461][10892:10897] CHIP:DMG: ICR moving to [AwaitingDe]
[1659517261.458519][10892:10897] CHIP:EM: Sending Standalone Ack for MessageCounter:175598463 on exchange 6398i
[1659517261.458597][10892:10897] CHIP:IN: Prepared secure message 0xffffac8ac9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 6398i with MessageCounter:118554533.
[1659517261.458639][10892:10897] CHIP:IN: Sending encrypted msg 0xffffac8ac9e8 with MessageCounter:118554533 to 0x0000000000000001 (1) at monotonic time: 0000000006225CEA msec
[1659517261.458777][10892:10897] CHIP:EM: Flushed pending ack for MessageCounter:175598463 on exchange 6398i
[1659517261.459001][10892:10892] CHIP:CTL: Shutting down the commissioner
[1659517261.459062][10892:10892] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1659517261.459106][10892:10892] CHIP:CTL: Shutting down the controller
[1659517261.459158][10892:10892] CHIP:IN: Expiring all sessions for fabric 0x1!!
[1659517261.459201][10892:10892] CHIP:IN: SecureSession[0xffff98001930]: MarkForEviction Type:2 LSID:35532
[1659517261.459244][10892:10892] CHIP:SC: SecureSession[0xffff98001930]: Moving from state "kActive" --> "kPendingEviction"
[1659517261.459287][10892:10892] CHIP:IN: SecureSession[0xffff98001930]: Released - Type:2 LSID:35532
[1659517261.459333][10892:10892] CHIP:FP: Forgetting fabric 0x1
[1659517261.459388][10892:10892] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35
[1659517261.459597][10892:10892] CHIP:TS: Previous Last Known Good Time: 2022-08-01T09:44:35
[1659517261.459623][10892:10892] CHIP:TS: Reverted Last Known Good Time to previous value
[1659517261.459669][10892:10892] CHIP:CTL: Shutting down the commissioner
[1659517261.459693][10892:10892] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1659517261.459716][10892:10892] CHIP:CTL: Shutting down the controller
[1659517261.459736][10892:10892] CHIP:IN: Expiring all sessions for fabric 0x2!!
[1659517261.459787][10892:10892] CHIP:FP: Forgetting fabric 0x2
[1659517261.459816][10892:10892] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35
disabled: true
- label: "TH2 waits for a subscription report from the DUT"
verification: |
TH2 receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present.
That should contain a Path to the Node Operational Credentials cluster NOCs attribute. for privious subscvription
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0
On TH(Chiptool)1,Verify TH receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the Node Operational Credentials cluster NOCs attribute.
1659603570.948282][3879:3884] CHIP:DMG: ] (231 bytes)
[1659603570.948321][3879:3884] CHIP:DMG: 0xfe = 2,
[1659603570.948358][3879:3884] CHIP:DMG: },
[1659603570.948393][3879:3884] CHIP:DMG: },
[1659603570.948429][3879:3884] CHIP:DMG:
[1659603570.948454][3879:3884] CHIP:DMG: },
[1659603570.948486][3879:3884] CHIP:DMG:
[1659603570.948509][3879:3884] CHIP:DMG: ],
[1659603570.948550][3879:3884] CHIP:DMG:
[1659603570.948574][3879:3884] CHIP:DMG: InteractionModelRevision = 1
[1659603570.948597][3879:3884] CHIP:DMG: }
[1659603570.948872][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660506005
[1659603570.948932][3879:3884] CHIP:TOO: NOCs: 2 entries
[1659603570.948968][3879:3884] CHIP:TOO: [1]: {
[1659603570.948995][3879:3884] CHIP:TOO: Noc:
[1659603570.949018][3879:3884] CHIP:TOO: Icac: null
[1659603570.949044][3879:3884] CHIP:TOO: FabricIndex: 1
[1659603570.949068][3879:3884] CHIP:TOO: }
[1659603570.949102][3879:3884] CHIP:TOO: [2]: {
[1659603570.949137][3879:3884] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241102182407012408013009410493458F560CDD3995FB822B0B71EADE5D757C8454CA5170A4F6AECC068A3060B4A3F979439078F660B1F1E1EE1CC0FD8BDC81DECEE301962A83B3ACDE6CC6752F370A3501280118240201360304020401183004143E977751BDEED7C677522FA3D5F9F85E37D0F5A4300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B400AC33F78A020EA1D6D975E82A7F77B9B87C37AA3D633CC903F2EF93B09FF9F11E71A54A1F2822B012B5FA9BC9D40C98F06B0A53C3BEE123A5290C2473C243BB118
[1659603570.949176][3879:3884] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18
[1659603570.949204][3879:3884] CHIP:TOO: FabricIndex: 2
[1659603570.949226][3879:3884] CHIP:TOO: }
[1659603570.949271][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c003110]: Moving to [AwaitingSu]
[1659603570.949330][3879:3884] CHIP:EM: Piggybacking Ack for MessageCounter:89095500 on exchange: 18769i
[1659603570.949404][3879:3884] CHIP:IN: Prepared secure message 0xffff7c000f08 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 18769i with MessageCounter:216513810.
[1659603570.949445][3879:3884] CHIP:IN: Sending encrypted msg 0xffff7c000f08 with MessageCounter:216513810 to 0x0000000000000002 (1) at monotonic time: 0000000000D0B545 msec
[1659603570.950949][3879:3884] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:89095501 on exchange 18769i
[1659603570.951000][3879:3884] CHIP:EM: Found matching exchange: 18769i, Delegate: 0xffff7c003110
[1659603570.951037][3879:3884] CHIP:EM: Rxd Ack; Removing MessageCounter:216513810 from Retrans Table on exchange 18769i
[1659603570.951061][3879:3884] CHIP:EM: Removed CHIP MessageCounter:216513810 from RetransTable on exchange 18769i
[1659603570.951114][3879:3884] CHIP:DMG: SubscribeResponseMessage =
[1659603570.951142][3879:3884] CHIP:DMG: {
[1659603570.951167][3879:3884] CHIP:DMG: SubscriptionId = 0xf9e7f5b6,
[1659603570.951193][3879:3884] CHIP:DMG: MaxInterval = 0x1e,
[1659603570.951217][3879:3884] CHIP:DMG: InteractionModelRevision = 1
[1659603570.951240][3879:3884] CHIP:DMG: }
[1659603570.951269][3879:3884] CHIP:DMG: Subscription established with SubscriptionID = 0xf9e7f5b6 MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002
[1659603570.951297][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c003110]: Moving to [Subscripti]
[1659603570.951343][3879:3884] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0xf9e7f5b6 Peer = 01:0000000000000002
[1659603570.951375][3879:3884] CHIP:EM: Sending Standalone Ack for MessageCounter:89095501 on exchange 18769i
[1659603570.951431][3879:3884] CHIP:IN: Prepared secure message 0xffff90c469e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 18769i with MessageCounter:216513811.
[1659603570.951473][3879:3884] CHIP:IN: Sending encrypted msg 0xffff90c469e8 with MessageCounter:216513811 to 0x0000000000000002 (1) at monotonic time: 0000000000D0B547 msec
[1659603570.951595][3879:3884] CHIP:EM: Flushed pending ack for MessageCounter:89095501 on exchange 18769i
disabled: true
- label:
"TH1 selects a node id N_unused that is different than N1 and N2. This
node ID does not need to correspond to an actual node, it is used as a
placeholder to allow changing the ACL attribute without affecting the
access of N1 and N2. TH1 writes Access Control cluster ACL attribute,
value is a list of AccessControlEntryStruct Containing 1 element:
struct Privilege field: Administer (5) AuthMode field: CASE (2)
Subjects field: [N1, N2, N_unused] Targets field: [{Endpoint: 0}]"
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,4], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0
On TH(Chiptool)1,Verify ACL attribute list of AccessControlEntryStruct entries containing 1 element and selects a node id N_unused that is different than N1 and N2
[1659517872.814034][10929:10934] CHIP:EM: Flushed pending ack for MessageCounter:121918573 on exchange 48872i
[1659517872.821723][10929:10934] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:206343064 on exchange 48873i
[1659517872.821777][10929:10934] CHIP:EM: Found matching exchange: 48873i, Delegate: 0xffffa4003c10
[1659517872.821837][10929:10934] CHIP:EM: Rxd Ack; Removing MessageCounter:107750962 from Retrans Table on exchange 48873i
[1659517872.821873][10929:10934] CHIP:EM: Removed CHIP MessageCounter:107750962 from RetransTable on exchange 48873i
[1659517872.821924][10929:10934] CHIP:DMG: WriteClient moving to [ResponseRe]
[1659517872.821996][10929:10934] CHIP:DMG: WriteResponseMessage =
[1659517872.822034][10929:10934] CHIP:DMG: {
[1659517872.822067][10929:10934] CHIP:DMG: AttributeStatusIBs =
[1659517872.822111][10929:10934] CHIP:DMG: [
[1659517872.822147][10929:10934] CHIP:DMG: AttributeStatusIB =
[1659517872.822190][10929:10934] CHIP:DMG: {
[1659517872.822233][10929:10934] CHIP:DMG: AttributePathIB =
[1659517872.822273][10929:10934] CHIP:DMG: {
[1659517872.822317][10929:10934] CHIP:DMG: Endpoint = 0x0,
[1659517872.822362][10929:10934] CHIP:DMG: Cluster = 0x1f,
[1659517872.822407][10929:10934] CHIP:DMG: Attribute = 0x0000_0000,
[1659517872.822446][10929:10934] CHIP:DMG: }
[1659517872.822489][10929:10934] CHIP:DMG:
[1659517872.822527][10929:10934] CHIP:DMG: StatusIB =
[1659517872.822753][10929:10934] CHIP:DMG: {
[1659517872.822805][10929:10934] CHIP:DMG: status = 0x00 (SUCCESS),
[1659517872.822848][10929:10934] CHIP:DMG: },
[1659517872.822891][10929:10934] CHIP:DMG:
[1659517872.822927][10929:10934] CHIP:DMG: },
[1659517872.822975][10929:10934] CHIP:DMG:
[1659517872.823009][10929:10934] CHIP:DMG: AttributeStatusIB =
[1659517872.823048][10929:10934] CHIP:DMG: {
[1659517872.823086][10929:10934] CHIP:DMG: AttributePathIB =
[1659517872.823127][10929:10934] CHIP:DMG: {
[1659517872.823169][10929:10934] CHIP:DMG: Endpoint = 0x0,
[1659517872.823213][10929:10934] CHIP:DMG: Cluster = 0x1f,
[1659517872.823259][10929:10934] CHIP:DMG: Attribute = 0x0000_0000,
[1659517872.823306][10929:10934] CHIP:DMG: ListIndex = Null,
[1659517872.823348][10929:10934] CHIP:DMG: }
[1659517872.823394][10929:10934] CHIP:DMG:
[1659517872.823438][10929:10934] CHIP:DMG: StatusIB =
[1659517872.823479][10929:10934] CHIP:DMG: {
[1659517872.823522][10929:10934] CHIP:DMG: status = 0x00 (SUCCESS),
[1659517872.823567][10929:10934] CHIP:DMG: },
[1659517872.823608][10929:10934] CHIP:DMG:
[1659517872.823644][10929:10934] CHIP:DMG: },
[1659517872.823684][10929:10934] CHIP:DMG:
[1659517872.823716][10929:10934] CHIP:DMG: ],
[1659517872.823785][10929:10934] CHIP:DMG:
[1659517872.823820][10929:10934] CHIP:DMG: InteractionModelRevision = 1
[1659517872.823851][10929:10934] CHIP:DMG: }
[1659517872.823984][10929:10934] CHIP:DMG: WriteClient moving to [AwaitingDe]
[1659517872.824058][10929:10934] CHIP:EM: Sending Standalone Ack for MessageCounter:206343064 on exchange 48873i
[1659517872.824154][10929:10934] CHIP:IN: Prepared secure message 0xffffae7cd9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 48873i with MessageCounter:107750963.
[1659517872.824197][10929:10934] CHIP:IN: Sending encrypted msg 0xffffae7cd9e8 with MessageCounter:107750963 to 0x0000000000000001 (1) at monotonic time: 00000000062BB110 msec
[1659517872.824406][10929:10934] CHIP:EM: Flushed pending ack for MessageCounter:206343064 on exchange 48873i
[1659517872.824642][10929:10929] CHIP:CTL: Shutting down the commissioner
[1659517872.824674][10929:10929] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1659517872.824755][10929:10929] CHIP:CTL: Shutting down the controller
[1659517872.824812][10929:10929] CHIP:IN: Expiring all sessions for fabric 0x1!!
[1659517872.824840][10929:10929] CHIP:IN: SecureSession[0xffffa4001930]: MarkForEviction Type:2 LSID:13780
[1659517872.824865][10929:10929] CHIP:SC: SecureSession[0xffffa4001930]: Moving from state "kActive" --> "kPendingEviction"
[1659517872.824889][10929:10929] CHIP:IN: SecureSession[0xffffa4001930]: Released - Type:2 LSID:13780
[1659517872.824915][10929:10929] CHIP:FP: Forgetting fabric 0x1
[1659517872.824949][10929:10929] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35
[1659517872.825142][10929:10929] CHIP:TS: Previous Last Known Good Time: 2022-08-01T09:44:35
[1659517872.825169][10929:10929] CHIP:TS: Reverted Last Known Good Time to previous value
[1659517872.825214][10929:10929] CHIP:CTL: Shutting down the commissioner
disabled: true
- label: "TH2 waits for a subscription report from the DUT"
verification: |
accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1
On TH(Chiptool)2,Verify it receives a report from the DUT for subscription_ace. The EventReports list contains an entry with EventData field present. That should contain a Path to the Access Control cluster AccessControlEntryStruct event.
[1659603721.185884][3879:3884] CHIP:EM: Found matching exchange: 18770i, Delegate: 0xffff7c008ff0
[1659603721.185938][3879:3884] CHIP:EM: Rxd Ack; Removing MessageCounter:216513817 from Retrans Table on exchange 18770i
[1659603721.185979][3879:3884] CHIP:EM: Removed CHIP MessageCounter:216513817 from RetransTable on exchange 18770i
[1659603721.186072][3879:3884] CHIP:DMG: ReportDataMessage =
[1659603721.186117][3879:3884] CHIP:DMG: {
[1659603721.186157][3879:3884] CHIP:DMG: SubscriptionId = 0xe570e9a7,
[1659603721.186199][3879:3884] CHIP:DMG: EventReportIBs =
[1659603721.186258][3879:3884] CHIP:DMG: [
[1659603721.186298][3879:3884] CHIP:DMG: EventReportIB =
[1659603721.186361][3879:3884] CHIP:DMG: {
[1659603721.186404][3879:3884] CHIP:DMG: EventDataIB =
[1659603721.186456][3879:3884] CHIP:DMG: {
[1659603721.186504][3879:3884] CHIP:DMG: EventPath =
[1659603721.186565][3879:3884] CHIP:DMG: {
[1659603721.186625][3879:3884] CHIP:DMG: Endpoint = 0x0,
[1659603721.186684][3879:3884] CHIP:DMG: Cluster = 0x1f,
[1659603721.186745][3879:3884] CHIP:DMG: Event = 0x0,
[1659603721.186797][3879:3884] CHIP:DMG: },
[1659603721.186852][3879:3884] CHIP:DMG:
[1659603721.186903][3879:3884] CHIP:DMG: EventNumber = 0x6,
[1659603721.186963][3879:3884] CHIP:DMG: PriorityLevel = 0x1,
[1659603721.187018][3879:3884] CHIP:DMG: SystemTimestamp = 0xca5cb2,
[1659603721.187071][3879:3884] CHIP:DMG: EventData =
[1659603721.187124][3879:3884] CHIP:DMG: {
[1659603721.187180][3879:3884] CHIP:DMG: 0x1 = NULL
[1659603721.187238][3879:3884] CHIP:DMG: 0x2 = 0,
[1659603721.187295][3879:3884] CHIP:DMG: 0x3 = 1,
[1659603721.187353][3879:3884] CHIP:DMG: 0x4 =
[1659603721.187408][3879:3884] CHIP:DMG: {
[1659603721.187465][3879:3884] CHIP:DMG: 0x1 = 5,
[1659603721.187526][3879:3884] CHIP:DMG: 0x2 = 2,
[1659603721.187585][3879:3884] CHIP:DMG: 0x3 = [
[1659603721.187706][3879:3884] CHIP:DMG: 112233,
[1659603721.187781][3879:3884] CHIP:DMG: ],
[1659603721.187844][3879:3884] CHIP:DMG: 0x4 = NULL
[1659603721.187906][3879:3884] CHIP:DMG: 0xfe = 2,
[1659603721.187960][3879:3884] CHIP:DMG: },
[1659603721.188022][3879:3884] CHIP:DMG: 0xfe = 2,
[1659603721.188080][3879:3884] CHIP:DMG: },
[1659603721.188130][3879:3884] CHIP:DMG: },
[1659603721.188193][3879:3884] CHIP:DMG:
[1659603721.188237][3879:3884] CHIP:DMG: },
[1659603721.188298][3879:3884] CHIP:DMG:
[1659603721.188336][3879:3884] CHIP:DMG: ],
[1659603721.188394][3879:3884] CHIP:DMG:
[1659603721.188434][3879:3884] CHIP:DMG: InteractionModelRevision = 1
[1659603721.188472][3879:3884] CHIP:DMG: }
[1659603721.188705][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000
[1659603721.188746][3879:3884] CHIP:TOO: Event number: 6
[1659603721.188782][3879:3884] CHIP:TOO: Priority: Info
[1659603721.188818][3879:3884] CHIP:TOO: Timestamp: 13262002
[1659603721.188934][3879:3884] CHIP:TOO: AccessControlEntryChanged: {
[1659603721.188978][3879:3884] CHIP:TOO: AdminNodeID: null
[1659603721.189019][3879:3884] CHIP:TOO: AdminPasscodeID: 0
[1659603721.189059][3879:3884] CHIP:TOO: ChangeType: 1
[1659603721.189098][3879:3884] CHIP:TOO: LatestValue: {
[1659603721.189134][3879:3884] CHIP:TOO: Privilege: 5
[1659603721.189172][3879:3884] CHIP:TOO: AuthMode: 2
[1659603721.189217][3879:3884] CHIP:TOO: Subjects: 1 entries
[1659603721.189263][3879:3884] CHIP:TOO: [1]: 112233
[1659603721.189305][3879:3884] CHIP:TOO: Targets: null
[1659603721.189342][3879:3884] CHIP:TOO: FabricIndex: 2
[1659603721.189379][3879:3884] CHIP:TOO: }
[1659603721.189417][3879:3884] CHIP:TOO: AdminFabricIndex: 2
[1659603721.189454][3879:3884] CHIP:TOO: }
[1659603721.189552][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c008ff0]: Moving to [AwaitingSu]
[1659603721.189635][3879:3884] CHIP:EM: Piggybacking Ack for MessageCounter:89095512 on exchange: 18770i
[1659603721.189726][3879:3884] CHIP:IN: Prepared secure message 0xffff7c000f08 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 18770i with MessageCounter:216513818.
[1659603721.189786][3879:3884] CHIP:IN: Sending encrypted msg 0xffff7c000f08 with MessageCounter:216513818 to 0x00
disabled: true
- label:
"TH1 writes the Breadcrumb attribute on the General Commissioning
cluster, setting the value to 1"
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
generalcommissioning write breadcrumb 1 1 0
On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 1
[1659518258.514701][10974:10979] CHIP:EM: Flushed pending ack for MessageCounter:121918579 on exchange 48566i
[1659518258.516435][10974:10979] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:75008005 on exchange 48567i
[1659518258.516482][10974:10979] CHIP:EM: Found matching exchange: 48567i, Delegate: 0xffff80003c10
[1659518258.516552][10974:10979] CHIP:EM: Rxd Ack; Removing MessageCounter:179846126 from Retrans Table on exchange 48567i
[1659518258.516588][10974:10979] CHIP:EM: Removed CHIP MessageCounter:179846126 from RetransTable on exchange 48567i
[1659518258.516637][10974:10979] CHIP:DMG: WriteClient moving to [ResponseRe]
[1659518258.516699][10974:10979] CHIP:DMG: WriteResponseMessage =
[1659518258.516735][10974:10979] CHIP:DMG: {
[1659518258.516782][10974:10979] CHIP:DMG: AttributeStatusIBs =
[1659518258.516829][10974:10979] CHIP:DMG: [
[1659518258.516874][10974:10979] CHIP:DMG: AttributeStatusIB =
[1659518258.516915][10974:10979] CHIP:DMG: {
[1659518258.516966][10974:10979] CHIP:DMG: AttributePathIB =
[1659518258.517017][10974:10979] CHIP:DMG: {
[1659518258.517073][10974:10979] CHIP:DMG: Endpoint = 0x0,
[1659518258.517131][10974:10979] CHIP:DMG: Cluster = 0x30,
[1659518258.517177][10974:10979] CHIP:DMG: Attribute = 0x0000_0000,
[1659518258.517229][10974:10979] CHIP:DMG: }
[1659518258.517288][10974:10979] CHIP:DMG:
[1659518258.517333][10974:10979] CHIP:DMG: StatusIB =
[1659518258.517390][10974:10979] CHIP:DMG: {
[1659518258.517444][10974:10979] CHIP:DMG: status = 0x00 (SUCCESS),
[1659518258.517491][10974:10979] CHIP:DMG: },
[1659518258.517532][10974:10979] CHIP:DMG:
[1659518258.517569][10974:10979] CHIP:DMG: },
[1659518258.517608][10974:10979] CHIP:DMG:
[1659518258.517640][10974:10979] CHIP:DMG: ],
[1659518258.517681][10974:10979] CHIP:DMG:
[1659518258.517713][10974:10979] CHIP:DMG: InteractionModelRevision = 1
[1659518258.517745][10974:10979] CHIP:DMG: }
[1659518258.517834][10974:10979] CHIP:DMG: WriteClient moving to [AwaitingDe]
[1659518258.517912][10974:10979] CHIP:EM: Sending Standalone Ack for MessageCounter:75008005 on exchange 48567i
[1659518258.517998][10974:10979] CHIP:IN: Prepared secure message 0xffff948d39e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 48567i with MessageCounter:179846127.
[1659518258.518048][10974:10979] CHIP:IN: Sending encrypted msg 0xffff948d39e8 with MessageCounter:179846127 to 0x0000
disabled: true
- label: "TH2 waits for a subscription report from the DUT"
verification: |
TH2 receives a report from the DUT for subscription_breadcrumb. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the General Commissioning cluster Breadcrumb attribute.
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1
On TH(Chiptool)2,Verify TH receives a report from the DUT for subscription_breadcrumb. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the General Commissioning cluster Breadcrumb attribute.
[1659603967.088241][3914:3920] CHIP:EM: Found matching exchange: 19092i, Delegate: 0xffff6c008f00
[1659603967.088289][3914:3920] CHIP:EM: Rxd Ack; Removing MessageCounter:228277923 from Retrans Table on exchange 19092i
[1659603967.088326][3914:3920] CHIP:EM: Removed CHIP MessageCounter:228277923 from RetransTable on exchange 19092i
[1659603967.088402][3914:3920] CHIP:DMG: ReportDataMessage =
[1659603967.088461][3914:3920] CHIP:DMG: {
[1659603967.088498][3914:3920] CHIP:DMG: SubscriptionId = 0xc02f7203,
[1659603967.088536][3914:3920] CHIP:DMG: AttributeReportIBs =
[1659603967.088598][3914:3920] CHIP:DMG: [
[1659603967.088647][3914:3920] CHIP:DMG: AttributeReportIB =
[1659603967.088702][3914:3920] CHIP:DMG: {
[1659603967.088744][3914:3920] CHIP:DMG: AttributeDataIB =
[1659603967.088791][3914:3920] CHIP:DMG: {
[1659603967.088840][3914:3920] CHIP:DMG: DataVersion = 0x2442fc21,
[1659603967.088887][3914:3920] CHIP:DMG: AttributePathIB =
[1659603967.088937][3914:3920] CHIP:DMG: {
[1659603967.088988][3914:3920] CHIP:DMG: Endpoint = 0x0,
[1659603967.089041][3914:3920] CHIP:DMG: Cluster = 0x30,
[1659603967.089093][3914:3920] CHIP:DMG: Attribute = 0x0000_0000,
[1659603967.089143][3914:3920] CHIP:DMG: }
[1659603967.089195][3914:3920] CHIP:DMG:
[1659603967.089248][3914:3920] CHIP:DMG: Data = 1,
[1659603967.089294][3914:3920] CHIP:DMG: },
[1659603967.089344][3914:3920] CHIP:DMG:
[1659603967.089386][3914:3920] CHIP:DMG: },
[1659603967.089520][3914:3920] CHIP:DMG:
[1659603967.089560][3914:3920] CHIP:DMG: ],
[1659603967.089605][3914:3920] CHIP:DMG:
[1659603967.089642][3914:3920] CHIP:DMG: InteractionModelRevision = 1
[1659603967.089678][3914:3920] CHIP:DMG: }
[1659603967.089848][3914:3920] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369697
[1659603967.089921][3914:3920] CHIP:TOO: Breadcrumb: 1
[1659603967.089989][3914:3920] CHIP:DMG: MoveToState ReadClient[0xffff6c008f00]: Moving to [AwaitingSu]
[1659603967.090058][3914:3920] CHIP:EM: Piggybacking Ack for MessageCounter:442958 on exchange: 19092i
[1659603967.090138][3914:3920] CHIP:IN: Prepared secure message 0xaaaae33b6218 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 19092i with MessageCounter:228277924.
[1659603967.090192][3914:3920] CHIP:IN: Sending encrypted msg 0xaaaae33b6218 with MessageCounter:228277924 to 0x0000000000000002 (1) at monotonic time: 0000000000D6C0B2 msec
disabled: true
- label:
"TH1 writes AccessControl cluster ACL attribute, value is a list of
AccessControlEntryStruct containing 2 elements: struct Privilege
field: Administer (5) AuthMode field: CASE (2) Subjects field: [N1]
Targets field: [{Endpoint: 0}] struct Privilege field: Manage (4)
AuthMode field: CASE (2) Subjects field: [N2] Targets field:
[{Endpoint: 0}]"
verification: |
Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start
accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]},{"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0
On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements
[1659520939.556159][11095:11100] CHIP:EM: Rxd Ack; Removing MessageCounter:266984011 from Retrans Table on exchange 36622i
[1659520939.556186][11095:11100] CHIP:EM: Removed CHIP MessageCounter:266984011 from RetransTable on exchange 36622i
[1659520939.556226][11095:11100] CHIP:DMG: WriteClient moving to [ResponseRe]
[1659520939.556285][11095:11100] CHIP:DMG: WriteResponseMessage =
[1659520939.556312][11095:11100] CHIP:DMG: {
[1659520939.556335][11095:11100] CHIP:DMG: AttributeStatusIBs =
[1659520939.556385][11095:11100] CHIP:DMG: [