diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 00a88b85e65f71..5437e5fc62fc3e 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -3358,6 +3358,14 @@ PICS: - label: "Can the EndpointLists attribute be changed by some means?" id: ACT.S.M.FillEndpointLists + - label: "Can a suffix be used on SetupURL" + id: ACT.S.M.SetupURLWithSuffix + + - label: + "Does the DUT support exposing an Endpoint in multiple + EndpointListStructs" + id: ACT.S.M.OverlappingEndpointLists + - label: "Does the DUT support sending the InstantAction command?" id: ACT.C.C00.Tx @@ -3873,9 +3881,6 @@ PICS: - label: "Does the DUT-client support the ActiveNetworkFaults attribute?" id: DGTHREAD.C.A003e - - label: "Does the DUT-client support the ActiveNetworkFaults attribute?" - id: DGTHREAD.C.A003e - #Illuminance Measurement Cluster #server - label: "Does the device implement the MeasuredValue attribute?" @@ -4924,6 +4929,9 @@ PICS: - label: "Does the DUT support receiving the ChangeToMode command?" id: MOD.S.C00.Rsp + - label: "Does the DUT support the SupportedModes attribute?" + id: MOD.C.A0002 + #Device Attestation - label: "Does Commissioner notify user that Commissionee is not a fully diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml index 9168739e2fe361..9ea8f68a7aa99b 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml @@ -13,7 +13,10 @@ # 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: 132.2.3. [TC-ACL-2.3] Extension attribute +name: 133.2.3. [TC-ACL-2.3] Extension attribute + +PICS: + - ACL.S config: nodeId: 0x12344321 @@ -1030,2695 +1033,3 @@ tests: [1657280113.652969][9255:9260] CHIP:TOO: } [1657280113.653047][9255:9260] CHIP:EM: Sending Standalone Ack for MessageCounter:29028542 on exchange 52303i disabled: true - - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - verification step to be updated. - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - - - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 - - [1656652012.060584][2763:2768] CHIP:DMG: - [1656652012.060609][2763:2768] CHIP:DMG: SuppressResponse = true, - [1656652012.060634][2763:2768] CHIP:DMG: InteractionModelRevision = 1 - [1656652012.060659][2763:2768] CHIP:DMG: } - [1656652012.060820][2763:2768] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 4209633606 - [1656652012.063135][2763:2768] CHIP:TOO: CurrentFabricIndex: 1 - [1656652012.063267][2763:2768] CHIP:EM: Sending Standalone Ack for MessageCounter:205308569 on exchange 52625i - [1656652012.063360][2763:2768] CHIP:IN: Prepared secure message 0xffff7b7ed958 to 0x0000000000000001 (1) - of type 0x10 and protocolId (0, 0) on exchange 52625i with MessageCounter:187919921. - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH , Verify DUT Responds Successfully . - - [1656652338.381499][2784:2789] CHIP:DMG: }, - [1656652338.381552][2784:2789] CHIP:DMG: - [1656652338.381590][2784:2789] CHIP:DMG: ], - [1656652338.381650][2784:2789] CHIP:DMG: - [1656652338.381690][2784:2789] CHIP:DMG: SuppressResponse = true, - [1656652338.381732][2784:2789] CHIP:DMG: InteractionModelRevision = 1 - [1656652338.381769][2784:2789] CHIP:DMG: } - [1656652338.382142][2784:2789] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3780432410 - [1656652338.382228][2784:2789] CHIP:TOO: ACL: 1 entries - [1656652338.382315][2784:2789] CHIP:TOO: [1]: { - [1656652338.382378][2784:2789] CHIP:TOO: Privilege: 5 - [1656652338.382418][2784:2789] CHIP:TOO: AuthMode: 2 - [1656652338.382458][2784:2789] CHIP:TOO: Subjects: 1 entries - [1656652338.382504][2784:2789] CHIP:TOO: [1]: 112233 - [1656652338.382547][2784:2789] CHIP:TOO: Targets: null - [1656652338.382586][2784:2789] CHIP:TOO: FabricIndex: 1 - [1656652338.382617][2784:2789] CHIP:TOO: } - [1656652338.382736][2784:2789] CHIP:EM: Sending Standalone Ack for MessageCounter:224641043 on exchange 12328i - [1656652338.382835][2784:2789] CHIP:IN: Prepared secure message 0xffffa27cd958 to 0x0000000000000001 (1) of type 0x10 and protocolId - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 3 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2 . struct Privilege field: View (1) - AuthMode field: CASE (3) Subjects field: [111, 222, 333, 444] Targets - field: [{Cluster: 11}, {Endpoint: 22}] 3..struct Privilege field: - Operate (3) AuthMode field: Group (3) Subjects field: [555, 666, 777, - 888] Targets field: [{Cluster: 55}, {Endpoint: 66}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 1, "authMode": 3, "subjects": [111,222,333,444], "targets": [{"cluster":11 , "endpoint":22, "deviceType": null}]}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555,666,777,888], "targets": [{"cluster": 55, "endpoint": 66, "deviceType":null }]}]" 1 0 - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 3 elements - [1658323877.660699][2502:2507] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658323877.660829][2502:2507] CHIP:DMG: WriteResponseMessage = - [1658323877.660890][2502:2507] CHIP:DMG: { - [1658323877.660943][2502:2507] CHIP:DMG: AttributeStatusIBs = - [1658323877.661019][2502:2507] CHIP:DMG: [ - [1658323877.661079][2502:2507] CHIP:DMG: AttributeStatusIB = - [1658323877.661251][2502:2507] CHIP:DMG: { - [1658323877.661321][2502:2507] CHIP:DMG: AttributePathIB = - [1658323877.661397][2502:2507] CHIP:DMG: { - [1658323877.661477][2502:2507] CHIP:DMG: Endpoint = 0x0, - [1658323877.661568][2502:2507] CHIP:DMG: Cluster = 0x1f, - [1658323877.661657][2502:2507] CHIP:DMG: Attribute = 0x0000_0000, - [1658323877.661744][2502:2507] CHIP:DMG: } - [1658323877.661838][2502:2507] CHIP:DMG: - [1658323877.661920][2502:2507] CHIP:DMG: StatusIB = - [1658323877.662004][2502:2507] CHIP:DMG: { - [1658323877.662084][2502:2507] CHIP:DMG: status = 0x00 (SUCCESS), - [1658323877.662167][2502:2507] CHIP:DMG: }, - [1658323877.662243][2502:2507] CHIP:DMG: - [1658323877.662309][2502:2507] CHIP:DMG: }, - [1658323877.662398][2502:2507] CHIP:DMG: - [1658323877.662458][2502:2507] CHIP:DMG: AttributeStatusIB = - [1658323877.662527][2502:2507] CHIP:DMG: { - [1658323877.662590][2502:2507] CHIP:DMG: AttributePathIB = - [1658323877.662706][2502:2507] CHIP:DMG: { - [1658323877.662784][2502:2507] CHIP:DMG: Endpoint = 0x0, - [1658323877.662872][2502:2507] CHIP:DMG: Cluster = 0x1f, - [1658323877.662939][2502:2507] CHIP:DMG: Attribute = 0x0000_0000, - [1658323877.663079][2502:2507] CHIP:DMG: ListIndex = Null, - [1658323877.663151][2502:2507] CHIP:DMG: } - [1658323877.663228][2502:2507] CHIP:DMG: - [1658323877.663298][2502:2507] CHIP:DMG: StatusIB = - [1658323877.663364][2502:2507] CHIP:DMG: { - [1658323877.663428][2502:2507] CHIP:DMG: status = 0x00 (SUCCESS), - [1658323877.663500][2502:2507] CHIP:DMG: }, - [1658323877.663566][2502:2507] CHIP:DMG: - [1658323877.663624][2502:2507] CHIP:DMG: }, - [1658323877.663703][2502:2507] CHIP:DMG: - [1658323877.663754][2502:2507] CHIP:DMG: AttributeStatusIB = - [1658323877.663814][2502:2507] CHIP:DMG: { - [1658323877.663871][2502:2507] CHIP:DMG: AttributePathIB = - [1658323877.663941][2502:2507] CHIP:DMG: { - [1658323877.664007][2502:2507] CHIP:DMG: Endpoint = 0x0, - [1658323877.664077][2502:2507] CHIP:DMG: Cluster = 0x1f, - [1658323877.664147][2502:2507] CHIP:DMG: Attribute = 0x0000_0000, - [1658323877.664214][2502:2507] CHIP:DMG: ListIndex = Null, - [1658323877.664278][2502:2507] CHIP:DMG: } - [1658323877.664350][2502:2507] CHIP:DMG: - [1658323877.664414][2502:2507] CHIP:DMG: StatusIB = - [1658323877.664477][2502:2507] CHIP:DMG: { - [1658323877.664541][2502:2507] CHIP:DMG: status = 0x00 (SUCCESS), - [1658323877.664606][2502:2507] CHIP:DMG: }, - [1658323877.664670][2502:2507] CHIP:DMG: - [1658323877.664727][2502:2507] CHIP:DMG: }, - [1658323877.664800][2502:2507] CHIP:DMG: - [1658323877.664850][2502:2507] CHIP:DMG: AttributeStatusIB = - [1658323877.664910][2502:2507] CHIP:DMG: { - [1658323877.664967][2502:2507] CHIP:DMG: AttributePathIB = - [1658323877.665031][2502:2507] CHIP:DMG: { - [1658323877.665096][2502:2507] CHIP:DMG: Endpoint = 0x0, - [1658323877.665170][2502:2507] CHIP:DMG: Cluster = 0x1f, - [1658323877.665240][2502:2507] CHIP:DMG: Attribute = 0x0000_0000, - [1658323877.665313][2502:2507] CHIP:DMG: ListIndex = Null, - [1658323877.665384][2502:2507] CHIP:DMG: } - [1658323877.665453][2502:2507] CHIP:DMG: - [1658323877.665515][2502:2507] CHIP:DMG: StatusIB = - [1658323877.665577][2502:2507] CHIP:DMG: { - [1658323877.665643][2502:2507] CHIP:DMG: status = 0x00 (SUCCESS), - [1658323877.665708][2502:2507] CHIP:DMG: }, - [1658323877.665771][2502:2507] CHIP:DMG: - [1658323877.665828][2502:2507] CHIP:DMG: }, - [1658323877.665889][2502:2507] CHIP:DMG: - [1658323877.665938][2502:2507] CHIP:DMG: ], - [1658323877.666020][2502:2507] CHIP:DMG: - [1658323877.666070][2502:2507] CHIP:DMG: InteractionModelRevision = 1 - [1658323877.666119][2502:2507] CHIP:DMG: } - [1658323877.666433][2502:2507] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658323877.666532][2502:2507] CHIP:EM: Sending Standalone Ack for MessageCounter:122439856 on exchange 57514i - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH1 , Verify DUT Responds Successfully . - InteractionModelRevision = 1 - [1658229676.712083][4872:4878] CHIP:DMG: } - [1658229676.712624][4872:4878] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1307037423 - [1658229676.712736][4872:4878] CHIP:TOO: ACL: 3 entries - [1658229676.712809][4872:4878] CHIP:TOO: [1]: { - [1658229676.712839][4872:4878] CHIP:TOO: Privilege: 5 - [1658229676.712864][4872:4878] CHIP:TOO: AuthMode: 2 - [1658229676.712893][4872:4878] CHIP:TOO: Subjects: 1 entries - [1658229676.712923][4872:4878] CHIP:TOO: [1]: 112233 - [1658229676.712949][4872:4878] CHIP:TOO: Targets: null - [1658229676.712972][4872:4878] CHIP:TOO: FabricIndex: 1 - [1658229676.712995][4872:4878] CHIP:TOO: } - [1658229676.713033][4872:4878] CHIP:TOO: [2]: { - [1658229676.713058][4872:4878] CHIP:TOO: Privilege: 1 - [1658229676.713082][4872:4878] CHIP:TOO: AuthMode: 3 - [1658229676.713109][4872:4878] CHIP:TOO: Subjects: 4 entries - [1658229676.713136][4872:4878] CHIP:TOO: [1]: 111 - [1658229676.713161][4872:4878] CHIP:TOO: [2]: 222 - [1658229676.713187][4872:4878] CHIP:TOO: [3]: 333 - [1658229676.713212][4872:4878] CHIP:TOO: [4]: 444 - [1658229676.713241][4872:4878] CHIP:TOO: Targets: 1 entries - [1658229676.713295][4872:4878] CHIP:TOO: [1]: { - [1658229676.713322][4872:4878] CHIP:TOO: Cluster: 11 - [1658229676.713347][4872:4878] CHIP:TOO: Endpoint: 22 - [1658229676.713371][4872:4878] CHIP:TOO: DeviceType: null - [1658229676.713429][4872:4878] CHIP:TOO: } - [1658229676.713457][4872:4878] CHIP:TOO: FabricIndex: 1 - [1658229676.713480][4872:4878] CHIP:TOO: } - [1658229676.713517][4872:4878] CHIP:TOO: [3]: { - [1658229676.713543][4872:4878] CHIP:TOO: Privilege: 3 - [1658229676.713566][4872:4878] CHIP:TOO: AuthMode: 3 - [1658229676.713593][4872:4878] CHIP:TOO: Subjects: 4 entries - [1658229676.713620][4872:4878] CHIP:TOO: [1]: 555 - [1658229676.713645][4872:4878] CHIP:TOO: [2]: 666 - [1658229676.713670][4872:4878] CHIP:TOO: [3]: 777 - [1658229676.713695][4872:4878] CHIP:TOO: [4]: 888 - [1658229676.713724][4872:4878] CHIP:TOO: Targets: 1 entries - [1658229676.713756][4872:4878] CHIP:TOO: [1]: { - [1658229676.713780][4872:4878] CHIP:TOO: Cluster: 55 - [1658229676.713804][4872:4878] CHIP:TOO: Endpoint: 66 - [1658229676.713826][4872:4878] CHIP:TOO: DeviceType: null - [1658229676.713849][4872:4878] CHIP:TOO: } - [1658229676.713873][4872:4878] CHIP:TOO: FabricIndex: 1 - [1658229676.713896][4872:4878] CHIP:TOO: } - [1658229676.714004][4872:4878] CHIP:EM: Sending Standalone Ack for MessageCounter:20458493 on exchange 31143i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 3 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Manage (4) - AuthMode field: Group (3) Subjects field: [444, 333, 222, 111] Targets - field: [{Cluster: 44}, {Endpoint: 33}] 3.struct Privilege field: - Administer (5) AuthMode field: CASE (3) Subjects field: [888, 777, - 666, 555] Targets field: [{Cluster: 88}, {Endpoint: 77}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [444,333,222,111], "targets": [{"cluster":44 , "endpoint":33, "deviceType":null}]},{"fabricIndex": 1, "privilege":4 , "authMode":3, "subjects": [888,777,666,555], "targets": [{"cluster": 88, "endpoint": 77, "deviceType":null}]}]" 1 0 - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 3 elements - 1658226959.554674][4736:4741] CHIP:DMG: AttributeStatusIBs = - [1658226959.554706][4736:4741] CHIP:DMG: [ - [1658226959.554732][4736:4741] CHIP:DMG: AttributeStatusIB = - [1658226959.554761][4736:4741] CHIP:DMG: { - [1658226959.554787][4736:4741] CHIP:DMG: AttributePathIB = - [1658226959.554822][4736:4741] CHIP:DMG: { - [1658226959.554855][4736:4741] CHIP:DMG: Endpoint = 0x0, - [1658226959.554887][4736:4741] CHIP:DMG: Cluster = 0x1f, - [1658226959.554916][4736:4741] CHIP:DMG: Attribute = 0x0000_0000, - [1658226959.554941][4736:4741] CHIP:DMG: } - [1658226959.554982][4736:4741] CHIP:DMG: - [1658226959.555013][4736:4741] CHIP:DMG: StatusIB = - [1658226959.555049][4736:4741] CHIP:DMG: { - [1658226959.555085][4736:4741] CHIP:DMG: status = 0x00 (SUCCESS), - [1658226959.555121][4736:4741] CHIP:DMG: }, - [1658226959.555152][4736:4741] CHIP:DMG: - [1658226959.555181][4736:4741] CHIP:DMG: }, - [1658226959.555216][4736:4741] CHIP:DMG: - [1658226959.555241][4736:4741] CHIP:DMG: AttributeStatusIB = - [1658226959.555269][4736:4741] CHIP:DMG: { - [1658226959.555296][4736:4741] CHIP:DMG: AttributePathIB = - [1658226959.555329][4736:4741] CHIP:DMG: { - [1658226959.555360][4736:4741] CHIP:DMG: Endpoint = 0x0, - [1658226959.555392][4736:4741] CHIP:DMG: Cluster = 0x1f, - [1658226959.555424][4736:4741] CHIP:DMG: Attribute = 0x0000_0000, - [1658226959.555455][4736:4741] CHIP:DMG: ListIndex = Null, - [1658226959.555487][4736:4741] CHIP:DMG: } - [1658226959.555521][4736:4741] CHIP:DMG: - [1658226959.555552][4736:4741] CHIP:DMG: StatusIB = - [1658226959.555582][4736:4741] CHIP:DMG: { - [1658226959.555614][4736:4741] CHIP:DMG: status = 0x00 (SUCCESS), - [1658226959.555646][4736:4741] CHIP:DMG: }, - [1658226959.555678][4736:4741] CHIP:DMG: - [1658226959.555704][4736:4741] CHIP:DMG: }, - [1658226959.555740][4736:4741] CHIP:DMG: - [1658226959.555765][4736:4741] CHIP:DMG: AttributeStatusIB = - [1658226959.555793][4736:4741] CHIP:DMG: { - [1658226959.555819][4736:4741] CHIP:DMG: AttributePathIB = - [1658226959.555850][4736:4741] CHIP:DMG: { - [1658226959.555881][4736:4741] CHIP:DMG: Endpoint = 0x0, - [1658226959.555912][4736:4741] CHIP:DMG: Cluster = 0x1f, - [1658226959.555947][4736:4741] CHIP:DMG: Attribute = 0x0000_0000, - [1658226959.555983][4736:4741] CHIP:DMG: ListIndex = Null, - [1658226959.556017][4736:4741] CHIP:DMG: } - [1658226959.556053][4736:4741] CHIP:DMG: - [1658226959.556083][4736:4741] CHIP:DMG: StatusIB = - [1658226959.556114][4736:4741] CHIP:DMG: { - [1658226959.556146][4736:4741] CHIP:DMG: status = 0x00 (SUCCESS), - [1658226959.556177][4736:4741] CHIP:DMG: }, - [1658226959.556209][4736:4741] CHIP:DMG: - [1658226959.556235][4736:4741] CHIP:DMG: }, - [1658226959.556271][4736:4741] CHIP:DMG: - [1658226959.556296][4736:4741] CHIP:DMG: AttributeStatusIB = - [1658226959.556323][4736:4741] CHIP:DMG: { - [1658226959.556350][4736:4741] CHIP:DMG: AttributePathIB = - [1658226959.556380][4736:4741] CHIP:DMG: { - [1658226959.556412][4736:4741] CHIP:DMG: Endpoint = 0x0, - [1658226959.556445][4736:4741] CHIP:DMG: Cluster = 0x1f, - [1658226959.556479][4736:4741] CHIP:DMG: Attribute = 0x0000_0000, - [1658226959.556547][4736:4741] CHIP:DMG: ListIndex = Null, - [1658226959.556583][4736:4741] CHIP:DMG: } - [1658226959.556620][4736:4741] CHIP:DMG: - [1658226959.556651][4736:4741] CHIP:DMG: StatusIB = - [1658226959.556679][4736:4741] CHIP:DMG: { - [1658226959.556711][4736:4741] CHIP:DMG: status = 0x00 (SUCCESS), - [1658226959.556743][4736:4741] CHIP:DMG: }, - [1658226959.556774][4736:4741] CHIP:DMG: - [1658226959.556800][4736:4741] CHIP:DMG: }, - [1658226959.556830][4736:4741] CHIP:DMG: - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH1 , Verify DUT Responds Successfully - 9800.959293][4892:4897] CHIP:DMG: - [1658229800.959325][4892:4897] CHIP:DMG: ], - [1658229800.959399][4892:4897] CHIP:DMG: - [1658229800.959433][4892:4897] CHIP:DMG: SuppressResponse = true, - [1658229800.959466][4892:4897] CHIP:DMG: InteractionModelRevision = 1 - [1658229800.959497][4892:4897] CHIP:DMG: } - [1658229800.960148][4892:4897] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1307037427 - [1658229800.960272][4892:4897] CHIP:TOO: ACL: 3 entries - [1658229800.960360][4892:4897] CHIP:TOO: [1]: { - [1658229800.960397][4892:4897] CHIP:TOO: Privilege: 5 - [1658229800.960429][4892:4897] CHIP:TOO: AuthMode: 2 - [1658229800.960465][4892:4897] CHIP:TOO: Subjects: 1 entries - [1658229800.960526][4892:4897] CHIP:TOO: [1]: 112233 - [1658229800.960564][4892:4897] CHIP:TOO: Targets: null - [1658229800.960595][4892:4897] CHIP:TOO: FabricIndex: 1 - [1658229800.960625][4892:4897] CHIP:TOO: } - [1658229800.960673][4892:4897] CHIP:TOO: [2]: { - [1658229800.960706][4892:4897] CHIP:TOO: Privilege: 4 - [1658229800.960736][4892:4897] CHIP:TOO: AuthMode: 2 - [1658229800.960771][4892:4897] CHIP:TOO: Subjects: 4 entries - [1658229800.960806][4892:4897] CHIP:TOO: [1]: 444 - [1658229800.960840][4892:4897] CHIP:TOO: [2]: 333 - [1658229800.960874][4892:4897] CHIP:TOO: [3]: 222 - [1658229800.960907][4892:4897] CHIP:TOO: [4]: 111 - [1658229800.960944][4892:4897] CHIP:TOO: Targets: 1 entries - [1658229800.961008][4892:4897] CHIP:TOO: [1]: { - [1658229800.961042][4892:4897] CHIP:TOO: Cluster: 44 - [1658229800.961074][4892:4897] CHIP:TOO: Endpoint: 33 - [1658229800.961105][4892:4897] CHIP:TOO: DeviceType: null - [1658229800.961135][4892:4897] CHIP:TOO: } - [1658229800.961167][4892:4897] CHIP:TOO: FabricIndex: 1 - [1658229800.961197][4892:4897] CHIP:TOO: } - [1658229800.961245][4892:4897] CHIP:TOO: [3]: { - [1658229800.961277][4892:4897] CHIP:TOO: Privilege: 4 - [1658229800.961308][4892:4897] CHIP:TOO: AuthMode: 3 - [1658229800.961343][4892:4897] CHIP:TOO: Subjects: 4 entries - [1658229800.961378][4892:4897] CHIP:TOO: [1]: 888 - [1658229800.961411][4892:4897] CHIP:TOO: [2]: 777 - [1658229800.961445][4892:4897] CHIP:TOO: [3]: 666 - [1658229800.961479][4892:4897] CHIP:TOO: [4]: 555 - [1658229800.961516][4892:4897] CHIP:TOO: Targets: 1 entries - [1658229800.961556][4892:4897] CHIP:TOO: [1]: { - [1658229800.961589][4892:4897] CHIP:TOO: Cluster: 88 - [1658229800.961620][4892:4897] CHIP:TOO: Endpoint: 77 - [1658229800.961650][4892:4897] CHIP:TOO: DeviceType: null - [1658229800.961679][4892:4897] CHIP:TOO: } - [1658229800.961711][4892:4897] CHIP:TOO: FabricIndex: 1 - [1658229800.961741][4892:4897] CHIP:TOO: } - [1658229800.961850][4892:4897] CHIP:EM: Sending Standalone Ack for MessageCounter:261677764 on exchange 51705i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 3 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: View (1) - AuthMode field: CASE (2) Subjects field: [111, 222, 333, 444] Targets - field: [{Cluster: 11, Endpoint: 22}, {Cluster: 33, DeviceType: 44}] - 3.struct Privilege field: Operate (3) AuthMode field: Group (3) - Subjects field: [555, 666, 777, 888] Targets field: [{Cluster: 55, - Endpoint: 66}, {Cluster: 77, DeviceType: 88}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [111,222,333,444], "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": null },{ "cluster": 33, "endpoint": null, "deviceType": 44 }]}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555,666,777,888], "targets":[{ "cluster": 55, "endpoint": 66, "deviceType": null },{ "cluster": 77, "endpoint": null, "deviceType": 88 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements - 1657276276.708941][2297:2302] CHIP:DMG: WriteClient moving to [ResponseRe] - [1657276276.709021][2297:2302] CHIP:DMG: WriteResponseMessage = - [1657276276.709058][2297:2302] CHIP:DMG: { - [1657276276.709090][2297:2302] CHIP:DMG: AttributeStatusIBs = - [1657276276.709135][2297:2302] CHIP:DMG: [ - [1657276276.709171][2297:2302] CHIP:DMG: AttributeStatusIB = - [1657276276.709216][2297:2302] CHIP:DMG: { - [1657276276.709257][2297:2302] CHIP:DMG: AttributePathIB = - [1657276276.709309][2297:2302] CHIP:DMG: { - [1657276276.709356][2297:2302] CHIP:DMG: Endpoint = 0x0, - [1657276276.709405][2297:2302] CHIP:DMG: Cluster = 0x1f, - [1657276276.709455][2297:2302] CHIP:DMG: Attribute = 0x0000_0000, - [1657276276.709505][2297:2302] CHIP:DMG: } - [1657276276.709555][2297:2302] CHIP:DMG: - [1657276276.709599][2297:2302] CHIP:DMG: StatusIB = - [1657276276.709645][2297:2302] CHIP:DMG: { - [1657276276.709691][2297:2302] CHIP:DMG: status = 0x00 (SUCCESS), - [1657276276.709740][2297:2302] CHIP:DMG: }, - [1657276276.709786][2297:2302] CHIP:DMG: - [1657276276.709826][2297:2302] CHIP:DMG: }, - [1657276276.709880][2297:2302] CHIP:DMG: - [1657276276.709916][2297:2302] CHIP:DMG: AttributeStatusIB = - [1657276276.709954][2297:2302] CHIP:DMG: { - [1657276276.709991][2297:2302] CHIP:DMG: AttributePathIB = - [1657276276.710035][2297:2302] CHIP:DMG: { - [1657276276.710151][2297:2302] CHIP:DMG: Endpoint = 0x0, - [1657276276.710232][2297:2302] CHIP:DMG: Cluster = 0x1f, - [1657276276.710316][2297:2302] CHIP:DMG: Attribute = 0x0000_0000, - [1657276276.710401][2297:2302] CHIP:DMG: ListIndex = Null, - [1657276276.710559][2297:2302] CHIP:DMG: } - [1657276276.710648][2297:2302] CHIP:DMG: - [1657276276.710723][2297:2302] CHIP:DMG: StatusIB = - [1657276276.710798][2297:2302] CHIP:DMG: { - [1657276276.710873][2297:2302] CHIP:DMG: status = 0x00 (SUCCESS), - [1657276276.710948][2297:2302] CHIP:DMG: }, - [1657276276.711025][2297:2302] CHIP:DMG: - [1657276276.711091][2297:2302] CHIP:DMG: }, - [1657276276.711180][2297:2302] CHIP:DMG: - [1657276276.711239][2297:2302] CHIP:DMG: AttributeStatusIB = - [1657276276.711303][2297:2302] CHIP:DMG: { - [1657276276.711365][2297:2302] CHIP:DMG: AttributePathIB = - [1657276276.711439][2297:2302] CHIP:DMG: { - [1657276276.711513][2297:2302] CHIP:DMG: Endpoint = 0x0, - [1657276276.711595][2297:2302] CHIP:DMG: Cluster = 0x1f, - [1657276276.711676][2297:2302] CHIP:DMG: Attribute = 0x0000_0000, - [1657276276.711763][2297:2302] CHIP:DMG: ListIndex = Null, - [1657276276.711837][2297:2302] CHIP:DMG: } - [1657276276.711919][2297:2302] CHIP:DMG: - [1657276276.711992][2297:2302] CHIP:DMG: StatusIB = - [1657276276.712064][2297:2302] CHIP:DMG: { - [1657276276.712141][2297:2302] CHIP:DMG: status = 0x00 (SUCCESS), - [1657276276.712218][2297:2302] CHIP:DMG: }, - [1657276276.712292][2297:2302] CHIP:DMG: - [1657276276.712359][2297:2302] CHIP:DMG: }, - [1657276276.712448][2297:2302] CHIP:DMG: - [1657276276.712512][2297:2302] CHIP:DMG: AttributeStatusIB = - [1657276276.712580][2297:2302] CHIP:DMG: { - [1657276276.712646][2297:2302] CHIP:DMG: AttributePathIB = - [1657276276.712720][2297:2302] CHIP:DMG: { - [1657276276.712794][2297:2302] CHIP:DMG: Endpoint = 0x0, - [1657276276.712881][2297:2302] CHIP:DMG: Cluster = 0x1f, - [1657276276.712963][2297:2302] CHIP:DMG: Attribute = 0x0000_0000, - [1657276276.713043][2297:2302] CHIP:DMG: ListIndex = Null, - [1657276276.713119][2297:2302] CHIP:DMG: } - [1657276276.713203][2297:2302] CHIP:DMG: - [1657276276.713275][2297:2302] CHIP:DMG: StatusIB = - [1657276276.713348][2297:2302] CHIP:DMG: { - [1657276276.713423][2297:2302] CHIP:DMG: status = 0x00 (SUCCESS), - [1657276276.713504][2297:2302] CHIP:DMG: }, - [1657276276.713578][2297:2302] CHIP:DMG: - [1657276276.713644][2297:2302] CHIP:DMG: }, - [1657276276.713716][2297:2302] CHIP:DMG: - [1657276276.713773][2297:2302] CHIP:DMG: ], - [1657276276.713869][2297:2302] CHIP:DMG: - [1657276276.713927][2297:2302] CHIP:DMG: InteractionModelRevision = 1 - [1657276276.713983][2297:2302] CHIP:DMG: } - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully . - - - [1657278053.764924][2231:2236] CHIP:DMG: SuppressResponse = true, - [1657278053.764958][2231:2236] CHIP:DMG: InteractionModelRevision = 1 - [1657278053.764989][2231:2236] CHIP:DMG: } - [1657278053.765924][2231:2236] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 48629793 - [1657278053.766111][2231:2236] CHIP:TOO: ACL: 3 entries - [1657278053.766188][2231:2236] CHIP:TOO: [1]: { - [1657278053.766239][2231:2236] CHIP:TOO: Privilege: 5 - [1657278053.766301][2231:2236] CHIP:TOO: AuthMode: 2 - [1657278053.766339][2231:2236] CHIP:TOO: Subjects: 1 entries - [1657278053.766378][2231:2236] CHIP:TOO: [1]: 112233 - [1657278053.766413][2231:2236] CHIP:TOO: Targets: null - [1657278053.766444][2231:2236] CHIP:TOO: FabricIndex: 1 - [1657278053.766473][2231:2236] CHIP:TOO: } - [1657278053.766525][2231:2236] CHIP:TOO: [2]: { - [1657278053.766557][2231:2236] CHIP:TOO: Privilege: 1 - [1657278053.766587][2231:2236] CHIP:TOO: AuthMode: 2 - [1657278053.766622][2231:2236] CHIP:TOO: Subjects: 4 entries - [1657278053.766657][2231:2236] CHIP:TOO: [1]: 111 - [1657278053.766690][2231:2236] CHIP:TOO: [2]: 222 - [1657278053.766723][2231:2236] CHIP:TOO: [3]: 333 - [1657278053.766756][2231:2236] CHIP:TOO: [4]: 444 - [1657278053.766797][2231:2236] CHIP:TOO: Targets: 2 entries - [1657278053.766894][2231:2236] CHIP:TOO: [1]: { - [1657278053.766929][2231:2236] CHIP:TOO: Cluster: 11 - [1657278053.766960][2231:2236] CHIP:TOO: Endpoint: 22 - [1657278053.766991][2231:2236] CHIP:TOO: DeviceType: null - [1657278053.767020][2231:2236] CHIP:TOO: } - [1657278053.767058][2231:2236] CHIP:TOO: [2]: { - [1657278053.767090][2231:2236] CHIP:TOO: Cluster: 33 - [1657278053.767120][2231:2236] CHIP:TOO: Endpoint: null - [1657278053.767150][2231:2236] CHIP:TOO: DeviceType: 44 - [1657278053.767180][2231:2236] CHIP:TOO: } - [1657278053.767212][2231:2236] CHIP:TOO: FabricIndex: 1 - [1657278053.767242][2231:2236] CHIP:TOO: } - [1657278053.767291][2231:2236] CHIP:TOO: [3]: { - [1657278053.767342][2231:2236] CHIP:TOO: Privilege: 3 - [1657278053.767405][2231:2236] CHIP:TOO: AuthMode: 3 - [1657278053.767441][2231:2236] CHIP:TOO: Subjects: 4 entries - [1657278053.767476][2231:2236] CHIP:TOO: [1]: 555 - [1657278053.767510][2231:2236] CHIP:TOO: [2]: 666 - [1657278053.767542][2231:2236] CHIP:TOO: [3]: 777 - [1657278053.767575][2231:2236] CHIP:TOO: [4]: 888 - [1657278053.767616][2231:2236] CHIP:TOO: Targets: 2 entries - [1657278053.767657][2231:2236] CHIP:TOO: [1]: { - [1657278053.767689][2231:2236] CHIP:TOO: Cluster: 55 - [1657278053.767718][2231:2236] CHIP:TOO: Endpoint: 66 - [1657278053.767747][2231:2236] CHIP:TOO: DeviceType: null - [1657278053.767776][2231:2236] CHIP:TOO: } - [1657278053.767815][2231:2236] CHIP:TOO: [2]: { - [1657278053.767847][2231:2236] CHIP:TOO: Cluster: 77 - [1657278053.767877][2231:2236] CHIP:TOO: Endpoint: null - [1657278053.767907][2231:2236] CHIP:TOO: DeviceType: 88 - [1657278053.767937][2231:2236] CHIP:TOO: } - [1657278053.767976][2231:2236] CHIP:TOO: FabricIndex: 1 - [1657278053.768006][2231:2236] CHIP:TOO: } - [1657278053.768136][2231:2236] CHIP:EM: Sending Standalone Ack for MessageCounter:257683535 on exchange 36353i - [1657278053.768226][2231:2236] CHIP:IN: Prepared secure message 0xffffb14f6958 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 36353i with MessageCounter:185472810. - [1657278053.768279][2231:2236] CHIP:IN: Sending encryp - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 3 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: View (1) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Cluster: 11, Endpoint: 22}, {Cluster: 33, DeviceType: 44}] 3.struct - Privilege field: Operate (3) AuthMode field: Group (3) Subjects field: - null Targets field: [{Cluster: 55, Endpoint: 66}, {Cluster: 77, - DeviceType: 88}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [], "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": null },{ "cluster": 33, "endpoint": null, "deviceType": 44 }]}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [], "targets":[{ "cluster": 55, "endpoint": 66, "deviceType": null },{ "cluster": 77, "endpoint": null, "deviceType": 88 }]}]" 1 0 - Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements - - [1657541707.114348][3004:3009] CHIP:DMG: { - [1657541707.114393][3004:3009] CHIP:DMG: AttributeStatusIBs = - [1657541707.114467][3004:3009] CHIP:DMG: [ - [1657541707.114526][3004:3009] CHIP:DMG: AttributeStatusIB = - [1657541707.114591][3004:3009] CHIP:DMG: { - [1657541707.114653][3004:3009] CHIP:DMG: AttributePathIB = - [1657541707.114729][3004:3009] CHIP:DMG: { - [1657541707.114821][3004:3009] CHIP:DMG: Endpoint = 0x0, - [1657541707.114911][3004:3009] CHIP:DMG: Cluster = 0x1f, - [1657541707.114989][3004:3009] CHIP:DMG: Attribute = 0x0000_0000, - [1657541707.115066][3004:3009] CHIP:DMG: } - [1657541707.115150][3004:3009] CHIP:DMG: - [1657541707.115221][3004:3009] CHIP:DMG: StatusIB = - [1657541707.115297][3004:3009] CHIP:DMG: { - [1657541707.115371][3004:3009] CHIP:DMG: status = 0x00 (SUCCESS), - [1657541707.115447][3004:3009] CHIP:DMG: }, - [1657541707.115521][3004:3009] CHIP:DMG: - [1657541707.115587][3004:3009] CHIP:DMG: }, - [1657541707.115680][3004:3009] CHIP:DMG: - [1657541707.115739][3004:3009] CHIP:DMG: AttributeStatusIB = - [1657541707.115807][3004:3009] CHIP:DMG: { - [1657541707.115868][3004:3009] CHIP:DMG: AttributePathIB = - [1657541707.115939][3004:3009] CHIP:DMG: { - [1657541707.116024][3004:3009] CHIP:DMG: Endpoint = 0x0, - [1657541707.116104][3004:3009] CHIP:DMG: Cluster = 0x1f, - [1657541707.116192][3004:3009] CHIP:DMG: Attribute = 0x0000_0000, - [1657541707.116270][3004:3009] CHIP:DMG: ListIndex = Null, - [1657541707.116352][3004:3009] CHIP:DMG: } - [1657541707.116433][3004:3009] CHIP:DMG: - [1657541707.116513][3004:3009] CHIP:DMG: StatusIB = - [1657541707.116585][3004:3009] CHIP:DMG: { - [1657541707.116662][3004:3009] CHIP:DMG: status = 0x00 (SUCCESS), - [1657541707.116737][3004:3009] CHIP:DMG: }, - [1657541707.116809][3004:3009] CHIP:DMG: - [1657541707.116869][3004:3009] CHIP:DMG: }, - [1657541707.116998][3004:3009] CHIP:DMG: - [1657541707.117058][3004:3009] CHIP:DMG: AttributeStatusIB = - [1657541707.117123][3004:3009] CHIP:DMG: { - [1657541707.117184][3004:3009] CHIP:DMG: AttributePathIB = - [1657541707.117256][3004:3009] CHIP:DMG: { - [1657541707.117330][3004:3009] CHIP:DMG: Endpoint = 0x0, - [1657541707.117409][3004:3009] CHIP:DMG: Cluster = 0x1f, - [1657541707.117489][3004:3009] CHIP:DMG: Attribute = 0x0000_0000, - [1657541707.117566][3004:3009] CHIP:DMG: ListIndex = Null, - [1657541707.117648][3004:3009] CHIP:DMG: } - [1657541707.117729][3004:3009] CHIP:DMG: - [1657541707.117799][3004:3009] CHIP:DMG: StatusIB = - [1657541707.117873][3004:3009] CHIP:DMG: { - [1657541707.117946][3004:3009] CHIP:DMG: status = 0x00 (SUCCESS), - [1657541707.118019][3004:3009] CHIP:DMG: }, - [1657541707.118092][3004:3009] CHIP:DMG: - [1657541707.118157][3004:3009] CHIP:DMG: }, - [1657541707.118240][3004:3009] CHIP:DMG: - [1657541707.118298][3004:3009] CHIP:DMG: AttributeStatusIB = - [1657541707.118362][3004:3009] CHIP:DMG: { - [1657541707.118423][3004:3009] CHIP:DMG: AttributePathIB = - [1657541707.118494][3004:3009] CHIP:DMG: { - [1657541707.118567][3004:3009] CHIP:DMG: Endpoint = 0x0, - [1657541707.118646][3004:3009] CHIP:DMG: Cluster = 0x1f, - [1657541707.118723][3004:3009] CHIP:DMG: Attribute = 0x0000_0000, - [1657541707.118807][3004:3009] CHIP:DMG: ListIndex = Null, - [1657541707.118882][3004:3009] CHIP:DMG: } - [1657541707.118963][3004:3009] CHIP:DMG: - [1657541707.119033][3004:3009] CHIP:DMG: StatusIB = - [1657541707.119108][3004:3009] CHIP:DMG: { - [1657541707.119182][3004:3009] CHIP:DMG: status = 0x00 (SUCCESS), - [1657541707.119255][3004:3009] CHIP:DMG: }, - [1657541707.119330][3004:3009] CHIP:DMG: - [1657541707.119391][3004:3009] CHIP:DMG: }, - [1657541707.119462][3004:3009] CHIP:DMG: - [1657541707.119518][3004:3009] CHIP:DMG: ], - [1657541707.119614][3004:3009] CHIP:DMG: - [1657541707.119672][3004:3009] CHIP:DMG: InteractionModelRevision = 1 - [1657541707.119729][3004:3009] CHIP:DMG: } - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1657278352.938811][2258:2263] CHIP:DMG: - [1657278352.938840][2258:2263] CHIP:DMG: }, - [1657278352.938877][2258:2263] CHIP:DMG: - [1657278352.938902][2258:2263] CHIP:DMG: ], - [1657278352.938961][2258:2263] CHIP:DMG: - [1657278352.938987][2258:2263] CHIP:DMG: SuppressResponse = true, - [1657278352.939013][2258:2263] CHIP:DMG: InteractionModelRevision = 1 - [1657278352.939038][2258:2263] CHIP:DMG: } - [1657278352.939574][2258:2263] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 48629797 - [1657278352.939666][2258:2263] CHIP:TOO: ACL: 3 entries - [1657278352.939725][2258:2263] CHIP:TOO: [1]: { - [1657278352.939765][2258:2263] CHIP:TOO: Privilege: 5 - [1657278352.939790][2258:2263] CHIP:TOO: AuthMode: 2 - [1657278352.939818][2258:2263] CHIP:TOO: Subjects: 1 entries - [1657278352.939849][2258:2263] CHIP:TOO: [1]: 112233 - [1657278352.939876][2258:2263] CHIP:TOO: Targets: null - [1657278352.939900][2258:2263] CHIP:TOO: FabricIndex: 1 - [1657278352.939924][2258:2263] CHIP:TOO: } - [1657278352.939961][2258:2263] CHIP:TOO: [2]: { - [1657278352.939986][2258:2263] CHIP:TOO: Privilege: 1 - [1657278352.940009][2258:2263] CHIP:TOO: AuthMode: 2 - [1657278352.940033][2258:2263] CHIP:TOO: Subjects: null - [1657278352.940063][2258:2263] CHIP:TOO: Targets: 2 entries - [1657278352.940115][2258:2263] CHIP:TOO: [1]: { - [1657278352.940142][2258:2263] CHIP:TOO: Cluster: 11 - [1657278352.940166][2258:2263] CHIP:TOO: Endpoint: 22 - [1657278352.940190][2258:2263] CHIP:TOO: DeviceType: null - [1657278352.940213][2258:2263] CHIP:TOO: } - [1657278352.940243][2258:2263] CHIP:TOO: [2]: { - [1657278352.940268][2258:2263] CHIP:TOO: Cluster: 33 - [1657278352.940292][2258:2263] CHIP:TOO: Endpoint: null - [1657278352.940315][2258:2263] CHIP:TOO: DeviceType: 44 - [1657278352.940338][2258:2263] CHIP:TOO: } - [1657278352.940364][2258:2263] CHIP:TOO: FabricIndex: 1 - [1657278352.940387][2258:2263] CHIP:TOO: } - [1657278352.940423][2258:2263] CHIP:TOO: [3]: { - [1657278352.940447][2258:2263] CHIP:TOO: Privilege: 3 - [1657278352.940471][2258:2263] CHIP:TOO: AuthMode: 3 - [1657278352.940495][2258:2263] CHIP:TOO: Subjects: null - [1657278352.940524][2258:2263] CHIP:TOO: Targets: 2 entries - [1657278352.940557][2258:2263] CHIP:TOO: [1]: { - [1657278352.940582][2258:2263] CHIP:TOO: Cluster: 55 - [1657278352.940605][2258:2263] CHIP:TOO: Endpoint: 66 - [1657278352.940629][2258:2263] CHIP:TOO: DeviceType: null - [1657278352.940652][2258:2263] CHIP:TOO: } - [1657278352.940682][2258:2263] CHIP:TOO: [2]: { - [1657278352.940707][2258:2263] CHIP:TOO: Cluster: 77 - [1657278352.940730][2258:2263] CHIP:TOO: Endpoint: null - [1657278352.940754][2258:2263] CHIP:TOO: DeviceType: 88 - [1657278352.940778][2258:2263] CHIP:TOO: } - [1657278352.940803][2258:2263] CHIP:TOO: FabricIndex: 1 - [1657278352.940827][2258:2263] CHIP:TOO: } - [1657278352.940927][2258:2263] CHIP:EM: Sending Standalone Ack for MessageCounter:24324095 on exchange 31403i - [1657278352.941010][2258:2263] CHIP:IN: Prepared secure message 0xffff8 - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 3 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: View (1) - AuthMode field: CASE (2) Subjects field: [111, 222, 333, 444] Targets - field: null 3.struct Privilege field: Operate (3) AuthMode field: - Group (3) Subjects field: [555, 666, 777, 888] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [111, 222, 333, 444], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [111, 222, 333, 444], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements as Target Null. - - [1657542060.230268][3398:3403] CHIP:DMG: { - [1657542060.230322][3398:3403] CHIP:DMG: AttributeStatusIBs = - [1657542060.230396][3398:3403] CHIP:DMG: [ - [1657542060.230456][3398:3403] CHIP:DMG: AttributeStatusIB = - [1657542060.230522][3398:3403] CHIP:DMG: { - [1657542060.230585][3398:3403] CHIP:DMG: AttributePathIB = - [1657542060.230662][3398:3403] CHIP:DMG: { - [1657542060.230740][3398:3403] CHIP:DMG: Endpoint = 0x0, - [1657542060.230830][3398:3403] CHIP:DMG: Cluster = 0x1f, - [1657542060.230911][3398:3403] CHIP:DMG: Attribute = 0x0000_0000, - [1657542060.230985][3398:3403] CHIP:DMG: } - [1657542060.231068][3398:3403] CHIP:DMG: - [1657542060.231139][3398:3403] CHIP:DMG: StatusIB = - [1657542060.231216][3398:3403] CHIP:DMG: { - [1657542060.231291][3398:3403] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542060.231367][3398:3403] CHIP:DMG: }, - [1657542060.231437][3398:3403] CHIP:DMG: - [1657542060.231498][3398:3403] CHIP:DMG: }, - [1657542060.231583][3398:3403] CHIP:DMG: - [1657542060.231642][3398:3403] CHIP:DMG: AttributeStatusIB = - [1657542060.231706][3398:3403] CHIP:DMG: { - [1657542060.231767][3398:3403] CHIP:DMG: AttributePathIB = - [1657542060.231839][3398:3403] CHIP:DMG: { - [1657542060.231914][3398:3403] CHIP:DMG: Endpoint = 0x0, - [1657542060.232002][3398:3403] CHIP:DMG: Cluster = 0x1f, - [1657542060.232081][3398:3403] CHIP:DMG: Attribute = 0x0000_0000, - [1657542060.232160][3398:3403] CHIP:DMG: ListIndex = Null, - [1657542060.232243][3398:3403] CHIP:DMG: } - [1657542060.232325][3398:3403] CHIP:DMG: - [1657542060.232395][3398:3403] CHIP:DMG: StatusIB = - [1657542060.232468][3398:3403] CHIP:DMG: { - [1657542060.232543][3398:3403] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542060.232624][3398:3403] CHIP:DMG: }, - [1657542060.232695][3398:3403] CHIP:DMG: - [1657542060.232757][3398:3403] CHIP:DMG: }, - [1657542060.232843][3398:3403] CHIP:DMG: - [1657542060.232987][3398:3403] CHIP:DMG: AttributeStatusIB = - [1657542060.233057][3398:3403] CHIP:DMG: { - [1657542060.233120][3398:3403] CHIP:DMG: AttributePathIB = - [1657542060.233192][3398:3403] CHIP:DMG: { - [1657542060.233270][3398:3403] CHIP:DMG: Endpoint = 0x0, - [1657542060.233353][3398:3403] CHIP:DMG: Cluster = 0x1f, - [1657542060.233437][3398:3403] CHIP:DMG: Attribute = 0x0000_0000, - [1657542060.233515][3398:3403] CHIP:DMG: ListIndex = Null, - [1657542060.233590][3398:3403] CHIP:DMG: } - [1657542060.233673][3398:3403] CHIP:DMG: - [1657542060.233744][3398:3403] CHIP:DMG: StatusIB = - [1657542060.233818][3398:3403] CHIP:DMG: { - [1657542060.233892][3398:3403] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542060.233967][3398:3403] CHIP:DMG: }, - [1657542060.234041][3398:3403] CHIP:DMG: - [1657542060.234102][3398:3403] CHIP:DMG: }, - [1657542060.234188][3398:3403] CHIP:DMG: - [1657542060.234248][3398:3403] CHIP:DMG: AttributeStatusIB = - [1657542060.234313][3398:3403] CHIP:DMG: { - [1657542060.234375][3398:3403] CHIP:DMG: AttributePathIB = - [1657542060.234448][3398:3403] CHIP:DMG: { - [1657542060.234520][3398:3403] CHIP:DMG: Endpoint = 0x0, - [1657542060.234594][3398:3403] CHIP:DMG: Cluster = 0x1f, - [1657542060.234680][3398:3403] CHIP:DMG: Attribute = 0x0000_0000, - [1657542060.234758][3398:3403] CHIP:DMG: ListIndex = Null, - [1657542060.234831][3398:3403] CHIP:DMG: } - [1657542060.234912][3398:3403] CHIP:DMG: - [1657542060.234982][3398:3403] CHIP:DMG: StatusIB = - [1657542060.235054][3398:3403] CHIP:DMG: { - [1657542060.235124][3398:3403] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542060.235197][3398:3403] CHIP:DMG: }, - [1657542060.235269][3398:3403] CHIP:DMG: - [1657542060.235330][3398:3403] CHIP:DMG: }, - [1657542060.235402][3398:3403] CHIP:DMG: - [1657542060.235574][3398:3403] CHIP:DMG: ], - [1657542060.235679][3398:3403] CHIP:DMG: - [1657542060.235739][3398:3403] CHIP:DMG: InteractionModelRevision = 1 - [1657542060.235796][3398:3403] CHIP:DMG: } - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - [1656656511.643560][2994:2999] CHIP:DMG: - [1656656511.643593][2994:2999] CHIP:DMG: SuppressResponse = true, - [1656656511.643626][2994:2999] CHIP:DMG: InteractionModelRevision = 1 - [1656656511.643660][2994:2999] CHIP:DMG: } - [1656656511.644242][2994:2999] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3780432418 - [1656656511.644370][2994:2999] CHIP:TOO: ACL: 3 entries - [1656656511.644443][2994:2999] CHIP:TOO: [1]: { - [1656656511.644494][2994:2999] CHIP:TOO: Privilege: 5 - [1656656511.644527][2994:2999] CHIP:TOO: AuthMode: 2 - [1656656511.644562][2994:2999] CHIP:TOO: Subjects: 1 entries - [1656656511.644601][2994:2999] CHIP:TOO: [1]: 112233 - [1656656511.644636][2994:2999] CHIP:TOO: Targets: null - [1656656511.644667][2994:2999] CHIP:TOO: FabricIndex: 1 - [1656656511.644697][2994:2999] CHIP:TOO: } - [1656656511.644741][2994:2999] CHIP:TOO: [2]: { - [1656656511.644773][2994:2999] CHIP:TOO: Privilege: 1 - [1656656511.644804][2994:2999] CHIP:TOO: AuthMode: 2 - [1656656511.644841][2994:2999] CHIP:TOO: Subjects: 4 entries - [1656656511.644875][2994:2999] CHIP:TOO: [1]: 111 - [1656656511.644909][2994:2999] CHIP:TOO: [2]: 222 - [1656656511.644943][2994:2999] CHIP:TOO: [3]: 333 - [1656656511.644976][2994:2999] CHIP:TOO: [4]: 444 - [1656656511.645008][2994:2999] CHIP:TOO: Targets: null - [1656656511.645039][2994:2999] CHIP:TOO: FabricIndex: 1 - [1656656511.645068][2994:2999] CHIP:TOO: } - [1656656511.645110][2994:2999] CHIP:TOO: [3]: { - [1656656511.645142][2994:2999] CHIP:TOO: Privilege: 3 - [1656656511.645172][2994:2999] CHIP:TOO: AuthMode: 3 - [1656656511.645208][2994:2999] CHIP:TOO: Subjects: 4 entries - [1656656511.645243][2994:2999] CHIP:TOO: [1]: 555 - [1656656511.645277][2994:2999] CHIP:TOO: [2]: 666 - [1656656511.645310][2994:2999] CHIP:TOO: [3]: 777 - [1656656511.645343][2994:2999] CHIP:TOO: [4]: 888 - [1656656511.645410][2994:2999] CHIP:TOO: Targets: null - [1656656511.645444][2994:2999] CHIP:TOO: FabricIndex: 1 - [1656656511.645473][2994:2999] CHIP:TOO: } - [1656656511.645588][2994:2999] CHIP:EM: Sending Standalone Ack for MessageCounter:40566460 on exchange 2764i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: Group (3) Subjects field: null Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets": null}]" 1 0 - - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements. - - [1656507141.628453][3224:3229] CHIP:DMG: WriteResponseMessage = - [1656507141.628515][3224:3229] CHIP:DMG: { - [1656507141.628569][3224:3229] CHIP:DMG: AttributeStatusIBs = - [1656507141.628644][3224:3229] CHIP:DMG: [ - [1656507141.628705][3224:3229] CHIP:DMG: AttributeStatusIB = - [1656507141.628772][3224:3229] CHIP:DMG: { - [1656507141.628835][3224:3229] CHIP:DMG: AttributePathIB = - [1656507141.628912][3224:3229] CHIP:DMG: { - [1656507141.628990][3224:3229] CHIP:DMG: Endpoint = 0x0, - [1656507141.629075][3224:3229] CHIP:DMG: Cluster = 0x1f, - [1656507141.629156][3224:3229] CHIP:DMG: Attribute = 0x0000_0000, - [1656507141.629239][3224:3229] CHIP:DMG: } - [1656507141.629323][3224:3229] CHIP:DMG: - [1656507141.629395][3224:3229] CHIP:DMG: StatusIB = - [1656507141.629469][3224:3229] CHIP:DMG: { - [1656507141.629546][3224:3229] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507141.629620][3224:3229] CHIP:DMG: }, - [1656507141.629741][3224:3229] CHIP:DMG: - [1656507141.629807][3224:3229] CHIP:DMG: }, - [1656507141.629893][3224:3229] CHIP:DMG: - [1656507141.629953][3224:3229] CHIP:DMG: AttributeStatusIB = - [1656507141.630023][3224:3229] CHIP:DMG: { - [1656507141.630085][3224:3229] CHIP:DMG: AttributePathIB = - [1656507141.630159][3224:3229] CHIP:DMG: { - [1656507141.630235][3224:3229] CHIP:DMG: Endpoint = 0x0, - [1656507141.630322][3224:3229] CHIP:DMG: Cluster = 0x1f, - [1656507141.630405][3224:3229] CHIP:DMG: Attribute = 0x0000_0000, - [1656507141.630485][3224:3229] CHIP:DMG: ListIndex = Null, - [1656507141.630560][3224:3229] CHIP:DMG: } - [1656507141.630643][3224:3229] CHIP:DMG: - [1656507141.630717][3224:3229] CHIP:DMG: StatusIB = - [1656507141.630790][3224:3229] CHIP:DMG: { - [1656507141.630863][3224:3229] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507141.630939][3224:3229] CHIP:DMG: }, - [1656507141.631014][3224:3229] CHIP:DMG: - [1656507141.631080][3224:3229] CHIP:DMG: }, - [1656507141.631167][3224:3229] CHIP:DMG: - [1656507141.631227][3224:3229] CHIP:DMG: AttributeStatusIB = - [1656507141.631291][3224:3229] CHIP:DMG: { - [1656507141.631353][3224:3229] CHIP:DMG: AttributePathIB = - [1656507141.631426][3224:3229] CHIP:DMG: { - [1656507141.631501][3224:3229] CHIP:DMG: Endpoint = 0x0, - [1656507141.631584][3224:3229] CHIP:DMG: Cluster = 0x1f, - [1656507141.631664][3224:3229] CHIP:DMG: Attribute = 0x0000_0000, - [1656507141.631742][3224:3229] CHIP:DMG: ListIndex = Null, - [1656507141.631824][3224:3229] CHIP:DMG: } - [1656507141.631906][3224:3229] CHIP:DMG: - [1656507141.631978][3224:3229] CHIP:DMG: StatusIB = - [1656507141.632050][3224:3229] CHIP:DMG: { - [1656507141.632125][3224:3229] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507141.632201][3224:3229] CHIP:DMG: }, - [1656507141.632275][3224:3229] CHIP:DMG: - [1656507141.632342][3224:3229] CHIP:DMG: }, - [1656507141.632413][3224:3229] CHIP:DMG: - [1656507141.632472][3224:3229] CHIP:DMG: ], - [1656507141.632560][3224:3229] CHIP:DMG: - [1656507141.632619][3224:3229] CHIP:DMG: InteractionModelRevision = 1 - [1656507141.632677][3224:3229] CHIP:DMG: } - [1656507141.632967][3224:3229] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1656507141.633086][3224:3229] CHIP:EM: Sending Standalone Ack for MessageCounter:55155306 on exchange 54804i - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1656507318.740283][3241:3246] CHIP:DMG: ], - [1656507318.740346][3241:3246] CHIP:DMG: - [1656507318.740383][3241:3246] CHIP:DMG: SuppressResponse = true, - [1656507318.740420][3241:3246] CHIP:DMG: InteractionModelRevision = 1 - [1656507318.740454][3241:3246] CHIP:DMG: } - [1656507318.740920][3241:3246] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3101344021 - [1656507318.741009][3241:3246] CHIP:TOO: ACL: 2 entries - [1656507318.741086][3241:3246] CHIP:TOO: [1]: { - [1656507318.741142][3241:3246] CHIP:TOO: Privilege: 5 - [1656507318.741177][3241:3246] CHIP:TOO: AuthMode: 2 - [1656507318.741216][3241:3246] CHIP:TOO: Subjects: 1 entries - [1656507318.741258][3241:3246] CHIP:TOO: [1]: 112233 - [1656507318.741296][3241:3246] CHIP:TOO: Targets: null - [1656507318.741331][3241:3246] CHIP:TOO: FabricIndex: 1 - [1656507318.741363][3241:3246] CHIP:TOO: } - [1656507318.741408][3241:3246] CHIP:TOO: [2]: { - [1656507318.741442][3241:3246] CHIP:TOO: Privilege: 3 - [1656507318.741475][3241:3246] CHIP:TOO: AuthMode: 3 - [1656507318.741508][3241:3246] CHIP:TOO: Subjects: null - [1656507318.741540][3241:3246] CHIP:TOO: Targets: null - [1656507318.741573][3241:3246] CHIP:TOO: FabricIndex: 1 - [1656507318.741605][3241:3246] CHIP:TOO: } - [1656507318.741742][3241:3246] CHIP:EM: Sending Standalone Ack for MessageCounter:173222401 on exchange 19903i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: ProxyView - (2) AuthMode field: CASE (2) Subjects field: null Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 2, "authMode": 2, "subjects": null, "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - - [1656507439.868495][3249:3254] CHIP:DMG: WriteClient moving to [ResponseRe] - [1656507439.868612][3249:3254] CHIP:DMG: WriteResponseMessage = - [1656507439.868671][3249:3254] CHIP:DMG: { - [1656507439.868725][3249:3254] CHIP:DMG: AttributeStatusIBs = - [1656507439.868800][3249:3254] CHIP:DMG: [ - [1656507439.868860][3249:3254] CHIP:DMG: AttributeStatusIB = - [1656507439.868926][3249:3254] CHIP:DMG: { - [1656507439.868988][3249:3254] CHIP:DMG: AttributePathIB = - [1656507439.869069][3249:3254] CHIP:DMG: { - [1656507439.869147][3249:3254] CHIP:DMG: Endpoint = 0x0, - [1656507439.869230][3249:3254] CHIP:DMG: Cluster = 0x1f, - [1656507439.869311][3249:3254] CHIP:DMG: Attribute = 0x0000_0000, - [1656507439.869387][3249:3254] CHIP:DMG: } - [1656507439.869470][3249:3254] CHIP:DMG: - [1656507439.869546][3249:3254] CHIP:DMG: StatusIB = - [1656507439.869620][3249:3254] CHIP:DMG: { - [1656507439.869765][3249:3254] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507439.869846][3249:3254] CHIP:DMG: }, - [1656507439.869924][3249:3254] CHIP:DMG: - [1656507439.869992][3249:3254] CHIP:DMG: }, - [1656507439.870082][3249:3254] CHIP:DMG: - [1656507439.870141][3249:3254] CHIP:DMG: AttributeStatusIB = - [1656507439.870211][3249:3254] CHIP:DMG: { - [1656507439.870277][3249:3254] CHIP:DMG: AttributePathIB = - [1656507439.870352][3249:3254] CHIP:DMG: { - [1656507439.870427][3249:3254] CHIP:DMG: Endpoint = 0x0, - [1656507439.870507][3249:3254] CHIP:DMG: Cluster = 0x1f, - [1656507439.870588][3249:3254] CHIP:DMG: Attribute = 0x0000_0000, - [1656507439.870667][3249:3254] CHIP:DMG: ListIndex = Null, - [1656507439.870742][3249:3254] CHIP:DMG: } - [1656507439.870827][3249:3254] CHIP:DMG: - [1656507439.870902][3249:3254] CHIP:DMG: StatusIB = - [1656507439.870975][3249:3254] CHIP:DMG: { - [1656507439.871048][3249:3254] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507439.871131][3249:3254] CHIP:DMG: }, - [1656507439.871204][3249:3254] CHIP:DMG: - [1656507439.871269][3249:3254] CHIP:DMG: }, - [1656507439.871354][3249:3254] CHIP:DMG: - [1656507439.871413][3249:3254] CHIP:DMG: AttributeStatusIB = - [1656507439.871477][3249:3254] CHIP:DMG: { - [1656507439.871538][3249:3254] CHIP:DMG: AttributePathIB = - [1656507439.871610][3249:3254] CHIP:DMG: { - [1656507439.871693][3249:3254] CHIP:DMG: Endpoint = 0x0, - [1656507439.871780][3249:3254] CHIP:DMG: Cluster = 0x1f, - [1656507439.871956][3249:3254] CHIP:DMG: Attribute = 0x0000_0000, - [1656507439.872045][3249:3254] CHIP:DMG: ListIndex = Null, - [1656507439.872125][3249:3254] CHIP:DMG: } - [1656507439.872208][3249:3254] CHIP:DMG: - [1656507439.872278][3249:3254] CHIP:DMG: StatusIB = - [1656507439.872359][3249:3254] CHIP:DMG: { - [1656507439.872441][3249:3254] CHIP:DMG: status = 0x00 (SUCCESS), - [1656507439.872523][3249:3254] CHIP:DMG: }, - [1656507439.872598][3249:3254] CHIP:DMG: - [1656507439.872664][3249:3254] CHIP:DMG: }, - [1656507439.872739][3249:3254] CHIP:DMG: - [1656507439.872798][3249:3254] CHIP:DMG: ], - [1656507439.872886][3249:3254] CHIP:DMG: - [1656507439.872945][3249:3254] CHIP:DMG: InteractionModelRevision = 1 - [1656507439.873001][3249:3254] CHIP:DMG: } - [1656507439.873288][3249:3254] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1656507517.730614][3261:3266] CHIP:DMG: - [1656507517.730654][3261:3266] CHIP:DMG: SuppressResponse = true, - [1656507517.730695][3261:3266] CHIP:DMG: InteractionModelRevision = 1 - [1656507517.730733][3261:3266] CHIP:DMG: } - [1656507517.731236][3261:3266] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3101344024 - [1656507517.731328][3261:3266] CHIP:TOO: ACL: 2 entries - [1656507517.731414][3261:3266] CHIP:TOO: [1]: { - [1656507517.731474][3261:3266] CHIP:TOO: Privilege: 5 - [1656507517.731513][3261:3266] CHIP:TOO: AuthMode: 2 - [1656507517.731555][3261:3266] CHIP:TOO: Subjects: 1 entries - [1656507517.731601][3261:3266] CHIP:TOO: [1]: 112233 - [1656507517.731643][3261:3266] CHIP:TOO: Targets: null - [1656507517.731680][3261:3266] CHIP:TOO: FabricIndex: 1 - [1656507517.731715][3261:3266] CHIP:TOO: } - [1656507517.731764][3261:3266] CHIP:TOO: [2]: { - [1656507517.731802][3261:3266] CHIP:TOO: Privilege: 2 - [1656507517.731838][3261:3266] CHIP:TOO: AuthMode: 2 - [1656507517.731874][3261:3266] CHIP:TOO: Subjects: null - [1656507517.731909][3261:3266] CHIP:TOO: Targets: null - [1656507517.731945][3261:3266] CHIP:TOO: FabricIndex: 1 - [1656507517.731980][3261:3266] CHIP:TOO: } - [1656507517.732099][3261:3266] CHIP:EM: Sending Standalone Ack for MessageCounter:72796495 on exchange 36236i - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - SubjectsPerAccessControlEntry attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read subjects-per-access-control-entry 1 0 - - On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry - - [1656657490.002372][3078:3083] CHIP:DMG: - [1656657490.002408][3078:3083] CHIP:DMG: ], - [1656657490.002452][3078:3083] CHIP:DMG: - [1656657490.002489][3078:3083] CHIP:DMG: SuppressResponse = true, - [1656657490.002527][3078:3083] CHIP:DMG: InteractionModelRevision = 1 - [1656657490.002562][3078:3083] CHIP:DMG: } - [1656657490.002742][3078:3083] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0002 DataVersion: 3780432421 - [1656657490.002820][3078:3083] CHIP:TOO: SubjectsPerAccessControlEntry: 4 - [1656657490.002920][3078:3083] CHIP:EM: Sending Standalone Ack for MessageCounter:9586938 on exchange 51487i - [1656657490.003004][3078:3083] CHIP:IN: Prepared secure message 0xffff8e7cd958 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 51487i with MessageCounter:235451132. - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: list of MAXSUBJECTS random - node IDs (stored as SUBJECTS) Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects":[33,44,55,66] , "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - - - - [1657542321.144954][3461:3466] CHIP:DMG: { - [1657542321.144990][3461:3466] CHIP:DMG: AttributeStatusIBs = - [1657542321.145038][3461:3466] CHIP:DMG: [ - [1657542321.145082][3461:3466] CHIP:DMG: AttributeStatusIB = - [1657542321.145128][3461:3466] CHIP:DMG: { - [1657542321.145170][3461:3466] CHIP:DMG: AttributePathIB = - [1657542321.145219][3461:3466] CHIP:DMG: { - [1657542321.145273][3461:3466] CHIP:DMG: Endpoint = 0x0, - [1657542321.145327][3461:3466] CHIP:DMG: Cluster = 0x1f, - [1657542321.145382][3461:3466] CHIP:DMG: Attribute = 0x0000_0000, - [1657542321.145428][3461:3466] CHIP:DMG: } - [1657542321.145484][3461:3466] CHIP:DMG: - [1657542321.145531][3461:3466] CHIP:DMG: StatusIB = - [1657542321.145583][3461:3466] CHIP:DMG: { - [1657542321.145633][3461:3466] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542321.145684][3461:3466] CHIP:DMG: }, - [1657542321.145730][3461:3466] CHIP:DMG: - [1657542321.145774][3461:3466] CHIP:DMG: }, - [1657542321.145831][3461:3466] CHIP:DMG: - [1657542321.145870][3461:3466] CHIP:DMG: AttributeStatusIB = - [1657542321.145912][3461:3466] CHIP:DMG: { - [1657542321.145954][3461:3466] CHIP:DMG: AttributePathIB = - [1657542321.146001][3461:3466] CHIP:DMG: { - [1657542321.146052][3461:3466] CHIP:DMG: Endpoint = 0x0, - [1657542321.146111][3461:3466] CHIP:DMG: Cluster = 0x1f, - [1657542321.146166][3461:3466] CHIP:DMG: Attribute = 0x0000_0000, - [1657542321.146218][3461:3466] CHIP:DMG: ListIndex = Null, - [1657542321.146267][3461:3466] CHIP:DMG: } - [1657542321.146321][3461:3466] CHIP:DMG: - [1657542321.146374][3461:3466] CHIP:DMG: StatusIB = - [1657542321.146423][3461:3466] CHIP:DMG: { - [1657542321.146472][3461:3466] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542321.146523][3461:3466] CHIP:DMG: }, - [1657542321.146573][3461:3466] CHIP:DMG: - [1657542321.146614][3461:3466] CHIP:DMG: }, - [1657542321.146670][3461:3466] CHIP:DMG: - [1657542321.146709][3461:3466] CHIP:DMG: AttributeStatusIB = - [1657542321.146751][3461:3466] CHIP:DMG: { - [1657542321.146792][3461:3466] CHIP:DMG: AttributePathIB = - [1657542321.146840][3461:3466] CHIP:DMG: { - [1657542321.146890][3461:3466] CHIP:DMG: Endpoint = 0x0, - [1657542321.146943][3461:3466] CHIP:DMG: Cluster = 0x1f, - [1657542321.146997][3461:3466] CHIP:DMG: Attribute = 0x0000_0000, - [1657542321.147049][3461:3466] CHIP:DMG: ListIndex = Null, - [1657542321.147099][3461:3466] CHIP:DMG: } - [1657542321.147152][3461:3466] CHIP:DMG: - [1657542321.147204][3461:3466] CHIP:DMG: StatusIB = - [1657542321.147254][3461:3466] CHIP:DMG: { - [1657542321.147302][3461:3466] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542321.147354][3461:3466] CHIP:DMG: }, - [1657542321.147403][3461:3466] CHIP:DMG: - [1657542321.147443][3461:3466] CHIP:DMG: }, - [1657542321.147490][3461:3466] CHIP:DMG: - [1657542321.147528][3461:3466] CHIP:DMG: ], - [1657542321.147586][3461:3466] CHIP:DMG: - [1657542321.147625][3461:3466] CHIP:DMG: InteractionModelRevision = 1 - [1657542321.147663][3461:3466] CHIP:DMG: } - [1657542321.147865][3461:3466] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - [1656928460.992030][4255:4260] CHIP:DMG: ], - [1656928460.992075][4255:4260] CHIP:DMG: - [1656928460.992101][4255:4260] CHIP:DMG: SuppressResponse = true, - [1656928460.992126][4255:4260] CHIP:DMG: InteractionModelRevision = 1 - [1656928460.992149][4255:4260] CHIP:DMG: } - [1656928460.992513][4255:4260] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1070401481 - [1656928460.992588][4255:4260] CHIP:TOO: ACL: 2 entries - [1656928460.992647][4255:4260] CHIP:TOO: [1]: { - [1656928460.992687][4255:4260] CHIP:TOO: Privilege: 5 - [1656928460.992712][4255:4260] CHIP:TOO: AuthMode: 2 - [1656928460.992738][4255:4260] CHIP:TOO: Subjects: 1 entries - [1656928460.992767][4255:4260] CHIP:TOO: [1]: 112233 - [1656928460.992794][4255:4260] CHIP:TOO: Targets: null - [1656928460.992817][4255:4260] CHIP:TOO: FabricIndex: 1 - [1656928460.992840][4255:4260] CHIP:TOO: } - [1656928460.992873][4255:4260] CHIP:TOO: [2]: { - [1656928460.992896][4255:4260] CHIP:TOO: Privilege: 3 - [1656928460.992918][4255:4260] CHIP:TOO: AuthMode: 2 - [1656928460.992945][4255:4260] CHIP:TOO: Subjects: 4 entries - [1656928460.992971][4255:4260] CHIP:TOO: [1]: 33 - [1656928460.992995][4255:4260] CHIP:TOO: [2]: 44 - [1656928460.993020][4255:4260] CHIP:TOO: [3]: 55 - [1656928460.993045][4255:4260] CHIP:TOO: [4]: 66 - [1656928460.993069][4255:4260] CHIP:TOO: Targets: null - [1656928460.993091][4255:4260] CHIP:TOO: FabricIndex: 1 - [1656928460.993113][4255:4260] CHIP:TOO: } - [1656928460.993204][4255:4260] CHIP:EM: Sending Standalone Ack for MessageCounter:154962728 on exchange 64378i - [1656928460.993291][4255:4260] CHIP:IN: Prepared secure message 0xffffad69f958 to 0x0000000000000001 (1) o - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: [CAT1, CAT1, CAT3, CAT4] - Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects":[65520,65521,65522,65523] , "targets": null}]" 1 0 - Verify in TH log: - - [1656509348.174135][3403:3408] CHIP:DMG: WriteClient moving to [ResponseRe] - [1656509348.174227][3403:3408] CHIP:DMG: WriteResponseMessage = - [1656509348.174272][3403:3408] CHIP:DMG: { - [1656509348.174312][3403:3408] CHIP:DMG: AttributeStatusIBs = - [1656509348.174367][3403:3408] CHIP:DMG: [ - [1656509348.174412][3403:3408] CHIP:DMG: AttributeStatusIB = - [1656509348.174462][3403:3408] CHIP:DMG: { - [1656509348.174509][3403:3408] CHIP:DMG: AttributePathIB = - [1656509348.174566][3403:3408] CHIP:DMG: { - [1656509348.174623][3403:3408] CHIP:DMG: Endpoint = 0x0, - [1656509348.174685][3403:3408] CHIP:DMG: Cluster = 0x1f, - [1656509348.174746][3403:3408] CHIP:DMG: Attribute = 0x0000_0000, - [1656509348.174808][3403:3408] CHIP:DMG: } - [1656509348.174870][3403:3408] CHIP:DMG: - [1656509348.174924][3403:3408] CHIP:DMG: StatusIB = - [1656509348.174979][3403:3408] CHIP:DMG: { - [1656509348.175037][3403:3408] CHIP:DMG: status = 0x00 (SUCCESS), - [1656509348.175093][3403:3408] CHIP:DMG: }, - [1656509348.175150][3403:3408] CHIP:DMG: - [1656509348.175200][3403:3408] CHIP:DMG: }, - [1656509348.175265][3403:3408] CHIP:DMG: - [1656509348.175309][3403:3408] CHIP:DMG: AttributeStatusIB = - [1656509348.175357][3403:3408] CHIP:DMG: { - [1656509348.175403][3403:3408] CHIP:DMG: AttributePathIB = - [1656509348.175457][3403:3408] CHIP:DMG: { - [1656509348.175514][3403:3408] CHIP:DMG: Endpoint = 0x0, - [1656509348.175580][3403:3408] CHIP:DMG: Cluster = 0x1f, - [1656509348.175642][3403:3408] CHIP:DMG: Attribute = 0x0000_0000, - [1656509348.175701][3403:3408] CHIP:DMG: ListIndex = Null, - [1656509348.175758][3403:3408] CHIP:DMG: } - [1656509348.175818][3403:3408] CHIP:DMG: - [1656509348.175871][3403:3408] CHIP:DMG: StatusIB = - [1656509348.175925][3403:3408] CHIP:DMG: { - [1656509348.175981][3403:3408] CHIP:DMG: status = 0x00 (SUCCESS), - [1656509348.176038][3403:3408] CHIP:DMG: }, - [1656509348.176093][3403:3408] CHIP:DMG: - [1656509348.176143][3403:3408] CHIP:DMG: }, - [1656509348.176252][3403:3408] CHIP:DMG: - [1656509348.176299][3403:3408] CHIP:DMG: AttributeStatusIB = - [1656509348.176353][3403:3408] CHIP:DMG: { - [1656509348.176399][3403:3408] CHIP:DMG: AttributePathIB = - [1656509348.176454][3403:3408] CHIP:DMG: { - [1656509348.176511][3403:3408] CHIP:DMG: Endpoint = 0x0, - [1656509348.176568][3403:3408] CHIP:DMG: Cluster = 0x1f, - [1656509348.176628][3403:3408] CHIP:DMG: Attribute = 0x0000_0000, - [1656509348.176692][3403:3408] CHIP:DMG: ListIndex = Null, - [1656509348.176749][3403:3408] CHIP:DMG: } - [1656509348.176810][3403:3408] CHIP:DMG: - [1656509348.176863][3403:3408] CHIP:DMG: StatusIB = - [1656509348.176917][3403:3408] CHIP:DMG: { - [1656509348.176973][3403:3408] CHIP:DMG: status = 0x00 (SUCCESS), - [1656509348.177033][3403:3408] CHIP:DMG: }, - [1656509348.177088][3403:3408] CHIP:DMG: - [1656509348.177138][3403:3408] CHIP:DMG: }, - [1656509348.177191][3403:3408] CHIP:DMG: - [1656509348.177235][3403:3408] CHIP:DMG: ], - [1656509348.177299][3403:3408] CHIP:DMG: - [1656509348.177344][3403:3408] CHIP:DMG: InteractionModelRevision = 1 - [1656509348.177387][3403:3408] CHIP:DMG: } - [1656509348.177603][3403:3408] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1656509348.177721][3403:3408] CHIP:EM: Sending Standalone Ack for MessageCounter:77826894 on exchange 45755i - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1656509471.738046][3416:3421] CHIP:DMG: - [1656509471.738082][3416:3421] CHIP:DMG: SuppressResponse = true, - [1656509471.738120][3416:3421] CHIP:DMG: InteractionModelRevision = 1 - [1656509471.738154][3416:3421] CHIP:DMG: } - [1656509471.738644][3416:3421] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3101344046 - [1656509471.738735][3416:3421] CHIP:TOO: ACL: 2 entries - [1656509471.738812][3416:3421] CHIP:TOO: [1]: { - [1656509471.738867][3416:3421] CHIP:TOO: Privilege: 5 - [1656509471.738901][3416:3421] CHIP:TOO: AuthMode: 2 - [1656509471.738940][3416:3421] CHIP:TOO: Subjects: 1 entries - [1656509471.738980][3416:3421] CHIP:TOO: [1]: 112233 - [1656509471.739018][3416:3421] CHIP:TOO: Targets: null - [1656509471.739051][3416:3421] CHIP:TOO: FabricIndex: 1 - [1656509471.739083][3416:3421] CHIP:TOO: } - [1656509471.739130][3416:3421] CHIP:TOO: [2]: { - [1656509471.739164][3416:3421] CHIP:TOO: Privilege: 3 - [1656509471.739197][3416:3421] CHIP:TOO: AuthMode: 2 - [1656509471.739235][3416:3421] CHIP:TOO: Subjects: 4 entries - [1656509471.739273][3416:3421] CHIP:TOO: [1]: 65520 - [1656509471.739310][3416:3421] CHIP:TOO: [2]: 65521 - [1656509471.739346][3416:3421] CHIP:TOO: [3]: 65522 - [1656509471.739382][3416:3421] CHIP:TOO: [4]: 65523 - [1656509471.739417][3416:3421] CHIP:TOO: Targets: null - [1656509471.739450][3416:3421] CHIP:TOO: FabricIndex: 1 - [1656509471.739482][3416:3421] CHIP:TOO: } - [1656509471.739596][3416:3421] CHIP:EM: Sending Standalone Ack for MessageCounter:158465651 on exchange 5515i - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - TargetsPerAccessControlEntry attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read targets-per-access-control-entry 1 0 - On TH, verify DUT responds with value 3 or greater as Targets-per-access-control-entry. - [1656509737.166763][3434:3439] CHIP:DMG: - [1656509737.166786][3434:3439] CHIP:DMG: ], - [1656509737.166816][3434:3439] CHIP:DMG: - [1656509737.166842][3434:3439] CHIP:DMG: SuppressResponse = true, - [1656509737.166867][3434:3439] CHIP:DMG: InteractionModelRevision = 1 - [1656509737.166890][3434:3439] CHIP:DMG: } - [1656509737.167026][3434:3439] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0003 DataVersion: 3101344046 - [1656509737.167092][3434:3439] CHIP:TOO: TargetsPerAccessControlEntry: 3 - [1656509737.167174][3434:3439] CHIP:EM: Sending Standalone Ack for MessageCounter:259106833 on exchange 24633i - [1656509737.167253][3434:3439] CHIP:IN: Prepared secure message 0xffffb8c9c958 to 0x0000000000000001 (1) of type 0x - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: null Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: Targets field: list of - MAXTARGETS targets {Cluster: random} (stored as TARGETS)" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 40, "endpoint": null, "deviceType": null },{ "cluster": 28, "endpoint": null, "deviceType": null }]}]" 1 0 - - Verify in TH log: - - [1657542520.140869][3499:3504] CHIP:DMG: { - [1657542520.140922][3499:3504] CHIP:DMG: AttributeStatusIBs = - [1657542520.140966][3499:3504] CHIP:DMG: [ - [1657542520.140999][3499:3504] CHIP:DMG: AttributeStatusIB = - [1657542520.141036][3499:3504] CHIP:DMG: { - [1657542520.141077][3499:3504] CHIP:DMG: AttributePathIB = - [1657542520.141119][3499:3504] CHIP:DMG: { - [1657542520.141163][3499:3504] CHIP:DMG: Endpoint = 0x0, - [1657542520.141207][3499:3504] CHIP:DMG: Cluster = 0x1f, - [1657542520.141255][3499:3504] CHIP:DMG: Attribute = 0x0000_0000, - [1657542520.141300][3499:3504] CHIP:DMG: } - [1657542520.141346][3499:3504] CHIP:DMG: - [1657542520.141385][3499:3504] CHIP:DMG: StatusIB = - [1657542520.141426][3499:3504] CHIP:DMG: { - [1657542520.141468][3499:3504] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542520.141509][3499:3504] CHIP:DMG: }, - [1657542520.141550][3499:3504] CHIP:DMG: - [1657542520.141584][3499:3504] CHIP:DMG: }, - [1657542520.141630][3499:3504] CHIP:DMG: - [1657542520.141663][3499:3504] CHIP:DMG: AttributeStatusIB = - [1657542520.141697][3499:3504] CHIP:DMG: { - [1657542520.141731][3499:3504] CHIP:DMG: AttributePathIB = - [1657542520.141770][3499:3504] CHIP:DMG: { - [1657542520.141811][3499:3504] CHIP:DMG: Endpoint = 0x0, - [1657542520.141855][3499:3504] CHIP:DMG: Cluster = 0x1f, - [1657542520.141940][3499:3504] CHIP:DMG: Attribute = 0x0000_0000, - [1657542520.142024][3499:3504] CHIP:DMG: ListIndex = Null, - [1657542520.142106][3499:3504] CHIP:DMG: } - [1657542520.142187][3499:3504] CHIP:DMG: - [1657542520.142257][3499:3504] CHIP:DMG: StatusIB = - [1657542520.142336][3499:3504] CHIP:DMG: { - [1657542520.142414][3499:3504] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542520.142497][3499:3504] CHIP:DMG: }, - [1657542520.142572][3499:3504] CHIP:DMG: - [1657542520.142633][3499:3504] CHIP:DMG: }, - [1657542520.142719][3499:3504] CHIP:DMG: - [1657542520.142778][3499:3504] CHIP:DMG: AttributeStatusIB = - [1657542520.142841][3499:3504] CHIP:DMG: { - [1657542520.142903][3499:3504] CHIP:DMG: AttributePathIB = - [1657542520.142976][3499:3504] CHIP:DMG: { - [1657542520.143053][3499:3504] CHIP:DMG: Endpoint = 0x0, - [1657542520.143134][3499:3504] CHIP:DMG: Cluster = 0x1f, - [1657542520.143223][3499:3504] CHIP:DMG: Attribute = 0x0000_0000, - [1657542520.143300][3499:3504] CHIP:DMG: ListIndex = Null, - [1657542520.143382][3499:3504] CHIP:DMG: } - [1657542520.143463][3499:3504] CHIP:DMG: - [1657542520.143536][3499:3504] CHIP:DMG: StatusIB = - [1657542520.143608][3499:3504] CHIP:DMG: { - [1657542520.143683][3499:3504] CHIP:DMG: status = 0x00 (SUCCESS), - [1657542520.143764][3499:3504] CHIP:DMG: }, - [1657542520.143837][3499:3504] CHIP:DMG: - [1657542520.143902][3499:3504] CHIP:DMG: }, - [1657542520.143973][3499:3504] CHIP:DMG: - [1657542520.144030][3499:3504] CHIP:DMG: ], - [1657542520.144117][3499:3504] CHIP:DMG: - [1657542520.144175][3499:3504] CHIP:DMG: InteractionModelRevision = 1 - [1657542520.144233][3499:3504] CHIP:DMG: } - [1657542520.144531][3499:3504] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1657542633.704684][3522:3527] CHIP:DMG: } - [1657542633.705098][3522:3527] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3549245792 - [1657542633.705191][3522:3527] CHIP:TOO: ACL: 2 entries - [1657542633.705237][3522:3527] CHIP:TOO: [1]: { - [1657542633.705278][3522:3527] CHIP:TOO: Privilege: 5 - [1657542633.705303][3522:3527] CHIP:TOO: AuthMode: 2 - [1657542633.705329][3522:3527] CHIP:TOO: Subjects: 1 entries - [1657542633.705358][3522:3527] CHIP:TOO: [1]: 112233 - [1657542633.705384][3522:3527] CHIP:TOO: Targets: null - [1657542633.705407][3522:3527] CHIP:TOO: FabricIndex: 1 - [1657542633.705429][3522:3527] CHIP:TOO: } - [1657542633.705465][3522:3527] CHIP:TOO: [2]: { - [1657542633.705489][3522:3527] CHIP:TOO: Privilege: 3 - [1657542633.705511][3522:3527] CHIP:TOO: AuthMode: 2 - [1657542633.705533][3522:3527] CHIP:TOO: Subjects: null - [1657542633.705561][3522:3527] CHIP:TOO: Targets: 2 entries - [1657542633.705612][3522:3527] CHIP:TOO: [1]: { - [1657542633.705637][3522:3527] CHIP:TOO: Cluster: 40 - [1657542633.705662][3522:3527] CHIP:TOO: Endpoint: null - [1657542633.705684][3522:3527] CHIP:TOO: DeviceType: null - [1657542633.705706][3522:3527] CHIP:TOO: } - [1657542633.705736][3522:3527] CHIP:TOO: [2]: { - [1657542633.705759][3522:3527] CHIP:TOO: Cluster: 28 - [1657542633.705781][3522:3527] CHIP:TOO: Endpoint: null - [1657542633.705804][3522:3527] CHIP:TOO: DeviceType: null - [1657542633.705825][3522:3527] CHIP:TOO: } - [1657542633.705849][3522:3527] CHIP:TOO: FabricIndex: 1 - [1657542633.705871][3522:3527] CHIP:TOO: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntriesPerFabric attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read access-control-entries-per-fabric 1 0 - On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric. - - [1656594850.964909][4043:4048] CHIP:DMG: AttributeReportIBs = - [1656594850.964954][4043:4048] CHIP:DMG: [ - [1656594850.964991][4043:4048] CHIP:DMG: AttributeReportIB = - [1656594850.965038][4043:4048] CHIP:DMG: { - [1656594850.965076][4043:4048] CHIP:DMG: AttributeDataIB = - [1656594850.965129][4043:4048] CHIP:DMG: { - [1656594850.965177][4043:4048] CHIP:DMG: DataVersion = 0x182902e1, - [1656594850.965223][4043:4048] CHIP:DMG: AttributePathIB = - [1656594850.965273][4043:4048] CHIP:DMG: { - [1656594850.965321][4043:4048] CHIP:DMG: Endpoint = 0x0, - [1656594850.965373][4043:4048] CHIP:DMG: Cluster = 0x1f, - [1656594850.965420][4043:4048] CHIP:DMG: Attribute = 0x0000_0004, - [1656594850.965474][4043:4048] CHIP:DMG: } - [1656594850.965529][4043:4048] CHIP:DMG: - [1656594850.965581][4043:4048] CHIP:DMG: Data = 3, - [1656594850.965631][4043:4048] CHIP:DMG: }, - [1656594850.965677][4043:4048] CHIP:DMG: - [1656594850.965714][4043:4048] CHIP:DMG: }, - [1656594850.965759][4043:4048] CHIP:DMG: - [1656594850.965794][4043:4048] CHIP:DMG: ], - [1656594850.965838][4043:4048] CHIP:DMG: - [1656594850.965875][4043:4048] CHIP:DMG: SuppressResponse = true, - [1656594850.965913][4043:4048] CHIP:DMG: InteractionModelRevision = 1 - [1656594850.965947][4043:4048] CHIP:DMG: } - [1656594850.966125][4043:4048] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0004 DataVersion: 405340897 - [1656594850.966204][4043:4048] CHIP:TOO: AccessControlEntriesPerFabric: 3 - [1656594850.966302][4043:4048] CHIP:EM: Sending Standalone Ack for MessageCounter:202038954 on exchange 11588i - [1656594850.966383][4043:4048] CHIP:IN: Prepared secure message 0xffffaa7cd958 to 0x0000000000000001 (1) of type 0x10 - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing MAXENTRIES elements - 1.struct Privilege field: Administer (5) AuthMode field: CASE (2) - Subjects field: null Targets field: null 2.struct Privilege field: - Operate (3) AuthMode field: CASE (2) Subjects field: null Targets - field: null subsequent elements same as second element" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": null, "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [], "targets":null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - - [1657617362.022161][8840:8845] CHIP:DMG: WriteResponseMessage = - [1657617362.022190][8840:8845] CHIP:DMG: { - [1657617362.022216][8840:8845] CHIP:DMG: AttributeStatusIBs = - [1657617362.022249][8840:8845] CHIP:DMG: [ - [1657617362.022275][8840:8845] CHIP:DMG: AttributeStatusIB = - [1657617362.022308][8840:8845] CHIP:DMG: { - [1657617362.022352][8840:8845] CHIP:DMG: AttributePathIB = - [1657617362.022413][8840:8845] CHIP:DMG: { - [1657617362.022442][8840:8845] CHIP:DMG: Endpoint = 0x0, - [1657617362.022479][8840:8845] CHIP:DMG: Cluster = 0x1f, - [1657617362.022514][8840:8845] CHIP:DMG: Attribute = 0x0000_0000, - [1657617362.022550][8840:8845] CHIP:DMG: } - [1657617362.022587][8840:8845] CHIP:DMG: - [1657617362.022618][8840:8845] CHIP:DMG: StatusIB = - [1657617362.022655][8840:8845] CHIP:DMG: { - [1657617362.022687][8840:8845] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617362.022722][8840:8845] CHIP:DMG: }, - [1657617362.022754][8840:8845] CHIP:DMG: - [1657617362.022784][8840:8845] CHIP:DMG: }, - [1657617362.022821][8840:8845] CHIP:DMG: - [1657617362.022846][8840:8845] CHIP:DMG: AttributeStatusIB = - [1657617362.022874][8840:8845] CHIP:DMG: { - [1657617362.022900][8840:8845] CHIP:DMG: AttributePathIB = - [1657617362.022931][8840:8845] CHIP:DMG: { - [1657617362.022967][8840:8845] CHIP:DMG: Endpoint = 0x0, - [1657617362.023003][8840:8845] CHIP:DMG: Cluster = 0x1f, - [1657617362.023041][8840:8845] CHIP:DMG: Attribute = 0x0000_0000, - [1657617362.023075][8840:8845] CHIP:DMG: ListIndex = Null, - [1657617362.023106][8840:8845] CHIP:DMG: } - [1657617362.023141][8840:8845] CHIP:DMG: - [1657617362.023173][8840:8845] CHIP:DMG: StatusIB = - [1657617362.023203][8840:8845] CHIP:DMG: { - [1657617362.023239][8840:8845] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617362.023271][8840:8845] CHIP:DMG: }, - [1657617362.023302][8840:8845] CHIP:DMG: - [1657617362.023328][8840:8845] CHIP:DMG: }, - [1657617362.023364][8840:8845] CHIP:DMG: - [1657617362.023389][8840:8845] CHIP:DMG: AttributeStatusIB = - [1657617362.023416][8840:8845] CHIP:DMG: { - [1657617362.023443][8840:8845] CHIP:DMG: AttributePathIB = - [1657617362.023473][8840:8845] CHIP:DMG: { - [1657617362.023506][8840:8845] CHIP:DMG: Endpoint = 0x0, - [1657617362.023539][8840:8845] CHIP:DMG: Cluster = 0x1f, - [1657617362.023574][8840:8845] CHIP:DMG: Attribute = 0x0000_0000, - [1657617362.023606][8840:8845] CHIP:DMG: ListIndex = Null, - [1657617362.023641][8840:8845] CHIP:DMG: } - [1657617362.023677][8840:8845] CHIP:DMG: - [1657617362.023707][8840:8845] CHIP:DMG: StatusIB = - [1657617362.023738][8840:8845] CHIP:DMG: { - [1657617362.023769][8840:8845] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617362.023801][8840:8845] CHIP:DMG: }, - [1657617362.023833][8840:8845] CHIP:DMG: - [1657617362.023859][8840:8845] CHIP:DMG: }, - [1657617362.023896][8840:8845] CHIP:DMG: - [1657617362.023920][8840:8845] CHIP:DMG: AttributeStatusIB = - [1657617362.023948][8840:8845] CHIP:DMG: { - [1657617362.023974][8840:8845] CHIP:DMG: AttributePathIB = - [1657617362.024004][8840:8845] CHIP:DMG: { - [1657617362.024037][8840:8845] CHIP:DMG: Endpoint = 0x0, - [1657617362.024071][8840:8845] CHIP:DMG: Cluster = 0x1f, - [1657617362.024108][8840:8845] CHIP:DMG: Attribute = 0x0000_0000, - [1657617362.024141][8840:8845] CHIP:DMG: ListIndex = Null, - [1657617362.024175][8840:8845] CHIP:DMG: } - [1657617362.024211][8840:8845] CHIP:DMG: - [1657617362.024241][8840:8845] CHIP:DMG: StatusIB = - [1657617362.024272][8840:8845] CHIP:DMG: { - [1657617362.024304][8840:8845] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617362.024336][8840:8845] CHIP:DMG: }, - [1657617362.024367][8840:8845] CHIP:DMG: - [1657617362.024393][8840:8845] CHIP:DMG: }, - [1657617362.024423][8840:8845] CHIP:DMG: - [1657617362.024447][8840:8845] CHIP:DMG: ], - [1657617362.024489][8840:8845] CHIP:DMG: - [1657617362.024514][8840:8845] CHIP:DMG: InteractionModelRevision = 1 - [1657617362.024538][8840:8845] CHIP:DMG: } - [1657617362.024703][8840:8845] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - - [1657543165.385093][3592:3597] CHIP:DMG: } - [1657543165.385508][3592:3597] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3549245812 - [1657543165.385586][3592:3597] CHIP:TOO: ACL: 3 entries - [1657543165.385627][3592:3597] CHIP:TOO: [1]: { - [1657543165.385666][3592:3597] CHIP:TOO: Privilege: 5 - [1657543165.385689][3592:3597] CHIP:TOO: AuthMode: 2 - [1657543165.385712][3592:3597] CHIP:TOO: Subjects: null - [1657543165.385734][3592:3597] CHIP:TOO: Targets: null - [1657543165.385756][3592:3597] CHIP:TOO: FabricIndex: 1 - [1657543165.385777][3592:3597] CHIP:TOO: } - [1657543165.385807][3592:3597] CHIP:TOO: [2]: { - [1657543165.385830][3592:3597] CHIP:TOO: Privilege: 3 - [1657543165.385851][3592:3597] CHIP:TOO: AuthMode: 2 - [1657543165.385872][3592:3597] CHIP:TOO: Subjects: null - [1657543165.385893][3592:3597] CHIP:TOO: Targets: null - [1657543165.385914][3592:3597] CHIP:TOO: FabricIndex: 1 - [1657543165.385935][3592:3597] CHIP:TOO: } - [1657543165.385964][3592:3597] CHIP:TOO: [3]: { - [1657543165.385986][3592:3597] CHIP:TOO: Privilege: 3 - [1657543165.386007][3592:3597] CHIP:TOO: AuthMode: 2 - [1657543165.386028][3592:3597] CHIP:TOO: Subjects: null - [1657543165.386050][3592:3597] CHIP:TOO: Targets: null - [1657543165.386070][3592:3597] CHIP:TOO: FabricIndex: 1 - [1657543165.386091][3592:3597] CHIP:TOO: } - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: PASE (1) Subjects field: null Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 1, "subjects": [], "targets":null}]" 1 0 - - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 2 elements - [1658475475.310438][3113:3119] CHIP:DMG: { - [1658475475.310466][3113:3119] CHIP:DMG: AttributeStatusIBs = - [1658475475.310500][3113:3119] CHIP:DMG: [ - [1658475475.310530][3113:3119] CHIP:DMG: AttributeStatusIB = - [1658475475.310564][3113:3119] CHIP:DMG: { - [1658475475.310634][3113:3119] CHIP:DMG: AttributePathIB = - [1658475475.310677][3113:3119] CHIP:DMG: { - [1658475475.310718][3113:3119] CHIP:DMG: Endpoint = 0x0, - [1658475475.310764][3113:3119] CHIP:DMG: Cluster = 0x1f, - [1658475475.310811][3113:3119] CHIP:DMG: Attribute = 0x0000_0000, - [1658475475.310855][3113:3119] CHIP:DMG: } - [1658475475.310898][3113:3119] CHIP:DMG: - [1658475475.310934][3113:3119] CHIP:DMG: StatusIB = - [1658475475.310973][3113:3119] CHIP:DMG: { - [1658475475.311012][3113:3119] CHIP:DMG: status = 0x00 (SUCCESS), - [1658475475.311054][3113:3119] CHIP:DMG: }, - [1658475475.311091][3113:3119] CHIP:DMG: - [1658475475.311125][3113:3119] CHIP:DMG: }, - [1658475475.311167][3113:3119] CHIP:DMG: - [1658475475.311197][3113:3119] CHIP:DMG: AttributeStatusIB = - [1658475475.311229][3113:3119] CHIP:DMG: { - [1658475475.311260][3113:3119] CHIP:DMG: AttributePathIB = - [1658475475.311297][3113:3119] CHIP:DMG: { - [1658475475.311335][3113:3119] CHIP:DMG: Endpoint = 0x0, - [1658475475.311375][3113:3119] CHIP:DMG: Cluster = 0x1f, - [1658475475.311416][3113:3119] CHIP:DMG: Attribute = 0x0000_0000, - [1658475475.311456][3113:3119] CHIP:DMG: ListIndex = Null, - [1658475475.311494][3113:3119] CHIP:DMG: } - [1658475475.311535][3113:3119] CHIP:DMG: - [1658475475.311571][3113:3119] CHIP:DMG: StatusIB = - [1658475475.311608][3113:3119] CHIP:DMG: { - [1658475475.311645][3113:3119] CHIP:DMG: status = 0x00 (SUCCESS), - [1658475475.311687][3113:3119] CHIP:DMG: }, - [1658475475.311724][3113:3119] CHIP:DMG: - [1658475475.311755][3113:3119] CHIP:DMG: }, - [1658475475.311798][3113:3119] CHIP:DMG: - [1658475475.311828][3113:3119] CHIP:DMG: AttributeStatusIB = - [1658475475.311860][3113:3119] CHIP:DMG: { - [1658475475.311891][3113:3119] CHIP:DMG: AttributePathIB = - [1658475475.311927][3113:3119] CHIP:DMG: { - [1658475475.311966][3113:3119] CHIP:DMG: Endpoint = 0x0, - [1658475475.312006][3113:3119] CHIP:DMG: Cluster = 0x1f, - [1658475475.312046][3113:3119] CHIP:DMG: Attribute = 0x0000_0000, - [1658475475.312089][3113:3119] CHIP:DMG: ListIndex = Null, - [1658475475.312127][3113:3119] CHIP:DMG: } - [1658475475.312168][3113:3119] CHIP:DMG: - [1658475475.312205][3113:3119] CHIP:DMG: StatusIB = - [1658475475.312246][3113:3119] CHIP:DMG: { - [1658475475.312285][3113:3119] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658475475.312326][3113:3119] CHIP:DMG: }, - [1658475475.312363][3113:3119] CHIP:DMG: - [1658475475.312397][3113:3119] CHIP:DMG: }, - [1658475475.312432][3113:3119] CHIP:DMG: - [1658475475.312461][3113:3119] CHIP:DMG: ], - [1658475475.312506][3113:3119] CHIP:DMG: - [1658475475.312535][3113:3119] CHIP:DMG: InteractionModelRevision = 1 - [1658475475.312563][3113:3119] CHIP:DMG: } - [1658475475.312720][3113:3119] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658475475.312759][3113:3119] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658475475.312828][3113:3119] CHIP:EM: Sending Standalone Ack for MessageCounter:57486291 on exchange 52295i - [1658475475.312917][3113:3119] CHIP:IN: Prepared secure message 0xffffa3ffd9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 52295i with MessageCounter:34853551. - [1658475475.312965][3113:3119] CHIP:IN: Sending encrypted msg 0xffffa3ffd9e8 with MessageCounter:34853551 to 0x0000000000000001 (1) at monotonic time: 00000000004484A6 msec - [1658475475.313213][3113:3119] CHIP:EM: Flushed pending ack for MessageCounter:57486291 on exchange 52295i - [1658475475.313471][3113:3113] CHIP:CTL: Shutting down the commissioner - [1658475475.313509][3113:3113] CHIP:CTL: Stopping commissioning discovery over DNS-SD - [1658475475.313539][3113:3113] CHIP:CTL: Shutting down the controller - [1658475475.313577][3113:3113] CHIP:IN: Expiring all sessions for fabric 0x1!! - [1658475475.313606][3113:3113] CHIP:IN: SecureSession[0xffff9c001930]: MarkForEviction Type:2 LSID:22794 - [1658475475.313634][3113:3113] CHIP:SC: SecureSession[0xffff9c001930]: Moving from state "kActive" --> "kPendingEviction" - [1658475475.313662][3113:3113] CHIP:IN: SecureSession[0xffff9c001930]: Released - Type:2 LSID:22794 - [1658475475.313694][3113:3113] CHIP:FP: Forgetting fabric 0x1 - [1658475475.313734][3113:3113] CHIP:TS: Pending Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.313959][3113:3113] CHIP:TS: Previous Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.313992][3113:3113] CHIP:TS: Reverted Last Known Good Time to previous value - [1658475475.314043][3113:3113] CHIP:CTL: Shutting down the commissioner - [1658475475.314071][3113:3113] CHIP:CTL: Stopping commissioning discovery over DNS-SD - [1658475475.314098][3113:3113] CHIP:CTL: Shutting down the controller - [1658475475.314122][3113:3113] CHIP:IN: Expiring all sessions for fabric 0x2!! - [1658475475.314148][3113:3113] CHIP:FP: Forgetting fabric 0x2 - [1658475475.314177][3113:3113] CHIP:TS: Pending Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.314323][3113:3113] CHIP:TS: Previous Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.314352][3113:3113] CHIP:TS: Reverted Last Known Good Time to previous value - [1658475475.314390][3113:3113] CHIP:CTL: Shutting down the commissioner - [1658475475.314417][3113:3113] CHIP:CTL: Stopping commissioning discovery over DNS-SD - [1658475475.314442][3113:3113] CHIP:CTL: Shutting down the controller - [1658475475.314467][3113:3113] CHIP:IN: Expiring all sessions for fabric 0x3!! - [1658475475.314491][3113:3113] CHIP:FP: Forgetting fabric 0x3 - [1658475475.314520][3113:3113] CHIP:TS: Pending Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.314694][3113:3113] CHIP:TS: Previous Last Known Good Time: 2022-07-21T06:51:50 - [1658475475.314722][3113:3113] CHIP:TS: Reverted Last Known Good Time to previous value - [1658475475.314760][3113:3113] CHIP:CTL: Shutting down the commissioner - [1658475475.314785][3113:3113] CHIP:CTL: Stopping commissioning discovery over DNS-SD - [1658475475.314809][3113:3113] CHIP:CTL: Shutting down the controller - [1658475475.314832][3113:3113] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack - [1658475475.315885][3113:3113] CHIP:DMG: IM WH moving to [Uninitialized] - [1658475475.315927][3113:3113] CHIP:DMG: IM WH moving to [Uninitialized] - [1658475475.315951][3113:3113] CHIP:DMG: IM WH moving to [Uninitialized] - [1658475475.315973][3113:3113] CHIP:DMG: IM WH moving to [Uninitialized] - [1658475475.315998][3113:3113] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet - [1658475475.316077][3113:3113] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented. - [1658475475.316389][3113:3113] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-TP5HmB) - [1658475475.317146][3113:3113] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - [1658475475.317216][3113:3113] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0) - [1658475475.317246][3113:3113] CHIP:DL: Inet Layer shutdown - [1658475475.317271][3113:3113] CHIP:DL: BLE shutdown - [1658475475.317295][3113:3113] CHIP:DL: System Layer shutdown - [1658475475.317425][3113:3113] CHIP:TOO: Run command failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH , Verify DUT Responds Successfully - [1656914601.250655][3267:3272] CHIP:DMG: ], - [1656914601.250709][3267:3272] CHIP:DMG: - [1656914601.250746][3267:3272] CHIP:DMG: SuppressResponse = true, - [1656914601.250783][3267:3272] CHIP:DMG: InteractionModelRevision = 1 - [1656914601.250817][3267:3272] CHIP:DMG: } - [1656914601.251160][3267:3272] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 2291440622 - [1656914601.251237][3267:3272] CHIP:TOO: ACL: 1 entries - [1656914601.251316][3267:3272] CHIP:TOO: [1]: { - [1656914601.251373][3267:3272] CHIP:TOO: Privilege: 5 - [1656914601.251409][3267:3272] CHIP:TOO: AuthMode: 2 - [1656914601.251450][3267:3272] CHIP:TOO: Subjects: 1 entries - [1656914601.251493][3267:3272] CHIP:TOO: [1]: 112233 - [1656914601.251530][3267:3272] CHIP:TOO: Targets: null - [1656914601.251566][3267:3272] CHIP:TOO: FabricIndex: 1 - [1656914601.251600][3267:3272] CHIP:TOO: } - [1656914601.251781][3267:3272] CHIP:EM: Sending Standalone Ack for MessageCounter:251291751 on exchange 59687i - [1656914601.251874][3267:3272] CHIP:IN: Prepared secure message 0xffffb5b3d958 to 0x0000000000000001 (1) of type - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Administer - (5) AuthMode field: Group (3) Subjects field: null Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 5, "authMode": 3, "subjects": [], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 2 elements - [1658475916.602576][3151:3156] CHIP:DMG: WriteResponseMessage = - [1658475916.602649][3151:3156] CHIP:DMG: { - [1658475916.602684][3151:3156] CHIP:DMG: AttributeStatusIBs = - [1658475916.602747][3151:3156] CHIP:DMG: [ - [1658475916.602783][3151:3156] CHIP:DMG: AttributeStatusIB = - [1658475916.602841][3151:3156] CHIP:DMG: { - [1658475916.602881][3151:3156] CHIP:DMG: AttributePathIB = - [1658475916.602942][3151:3156] CHIP:DMG: { - [1658475916.603005][3151:3156] CHIP:DMG: Endpoint = 0x0, - [1658475916.603055][3151:3156] CHIP:DMG: Cluster = 0x1f, - [1658475916.603117][3151:3156] CHIP:DMG: Attribute = 0x0000_0000, - [1658475916.603176][3151:3156] CHIP:DMG: } - [1658475916.603232][3151:3156] CHIP:DMG: - [1658475916.603290][3151:3156] CHIP:DMG: StatusIB = - [1658475916.603352][3151:3156] CHIP:DMG: { - [1658475916.603399][3151:3156] CHIP:DMG: status = 0x00 (SUCCESS), - [1658475916.603460][3151:3156] CHIP:DMG: }, - [1658475916.603511][3151:3156] CHIP:DMG: - [1658475916.603563][3151:3156] CHIP:DMG: }, - [1658475916.603626][3151:3156] CHIP:DMG: - [1658475916.603664][3151:3156] CHIP:DMG: AttributeStatusIB = - [1658475916.603716][3151:3156] CHIP:DMG: { - [1658475916.603754][3151:3156] CHIP:DMG: AttributePathIB = - [1658475916.603812][3151:3156] CHIP:DMG: { - [1658475916.603859][3151:3156] CHIP:DMG: Endpoint = 0x0, - [1658475916.603925][3151:3156] CHIP:DMG: Cluster = 0x1f, - [1658475916.603974][3151:3156] CHIP:DMG: Attribute = 0x0000_0000, - [1658475916.604021][3151:3156] CHIP:DMG: ListIndex = Null, - [1658475916.604066][3151:3156] CHIP:DMG: } - [1658475916.604115][3151:3156] CHIP:DMG: - [1658475916.604163][3151:3156] CHIP:DMG: StatusIB = - [1658475916.604211][3151:3156] CHIP:DMG: { - [1658475916.604257][3151:3156] CHIP:DMG: status = 0x00 (SUCCESS), - [1658475916.604303][3151:3156] CHIP:DMG: }, - [1658475916.604346][3151:3156] CHIP:DMG: - [1658475916.604386][3151:3156] CHIP:DMG: }, - [1658475916.604437][3151:3156] CHIP:DMG: - [1658475916.604472][3151:3156] CHIP:DMG: AttributeStatusIB = - [1658475916.604511][3151:3156] CHIP:DMG: { - [1658475916.604548][3151:3156] CHIP:DMG: AttributePathIB = - [1658475916.604591][3151:3156] CHIP:DMG: { - [1658475916.604637][3151:3156] CHIP:DMG: Endpoint = 0x0, - [1658475916.604685][3151:3156] CHIP:DMG: Cluster = 0x1f, - [1658475916.604733][3151:3156] CHIP:DMG: Attribute = 0x0000_0000, - [1658475916.604780][3151:3156] CHIP:DMG: ListIndex = Null, - [1658475916.604825][3151:3156] CHIP:DMG: } - [1658475916.604873][3151:3156] CHIP:DMG: - [1658475916.604916][3151:3156] CHIP:DMG: StatusIB = - [1658475916.604960][3151:3156] CHIP:DMG: { - [1658475916.605009][3151:3156] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658475916.605056][3151:3156] CHIP:DMG: }, - [1658475916.605101][3151:3156] CHIP:DMG: - [1658475916.605138][3151:3156] CHIP:DMG: }, - [1658475916.605180][3151:3156] CHIP:DMG: - [1658475916.605215][3151:3156] CHIP:DMG: ], - [1658475916.605267][3151:3156] CHIP:DMG: - [1658475916.605301][3151:3156] CHIP:DMG: InteractionModelRevision = 1 - [1658475916.605336][3151:3156] CHIP:DMG: } - [1658475916.605522][3151:3156] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658475916.605569][3151:3156] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658475916.605802][3151:3156] CHIP:EM: Sending Sta - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: invalid - value (not 1-5) AuthMode field: CASE (2) Subjects field: null Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 6, "authMode": 2, "subjects": null, "targets":null}]" 1 0 - - - On TH , Verify DUT Responds Successfully to Invalid Privilege - [1658476127.774933][3171:3176] CHIP:EM: Removed CHIP MessageCounter:240294498 from RetransTable on exchange 6954i - [1658476127.775074][3171:3176] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658476127.775143][3171:3176] CHIP:DMG: WriteResponseMessage = - [1658476127.775178][3171:3176] CHIP:DMG: { - [1658476127.775205][3171:3176] CHIP:DMG: AttributeStatusIBs = - [1658476127.775249][3171:3176] CHIP:DMG: [ - [1658476127.775279][3171:3176] CHIP:DMG: AttributeStatusIB = - [1658476127.775313][3171:3176] CHIP:DMG: { - [1658476127.775345][3171:3176] CHIP:DMG: AttributePathIB = - [1658476127.775384][3171:3176] CHIP:DMG: { - [1658476127.775425][3171:3176] CHIP:DMG: Endpoint = 0x0, - [1658476127.775466][3171:3176] CHIP:DMG: Cluster = 0x1f, - [1658476127.775507][3171:3176] CHIP:DMG: Attribute = 0x0000_0000, - [1658476127.775549][3171:3176] CHIP:DMG: } - [1658476127.775591][3171:3176] CHIP:DMG: - [1658476127.775627][3171:3176] CHIP:DMG: StatusIB = - [1658476127.775666][3171:3176] CHIP:DMG: { - [1658476127.775704][3171:3176] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476127.775745][3171:3176] CHIP:DMG: }, - [1658476127.775782][3171:3176] CHIP:DMG: - [1658476127.775816][3171:3176] CHIP:DMG: }, - [1658476127.775858][3171:3176] CHIP:DMG: - [1658476127.775887][3171:3176] CHIP:DMG: AttributeStatusIB = - [1658476127.775919][3171:3176] CHIP:DMG: { - [1658476127.775950][3171:3176] CHIP:DMG: AttributePathIB = - [1658476127.775986][3171:3176] CHIP:DMG: { - [1658476127.776025][3171:3176] CHIP:DMG: Endpoint = 0x0, - [1658476127.776069][3171:3176] CHIP:DMG: Cluster = 0x1f, - [1658476127.776113][3171:3176] CHIP:DMG: Attribute = 0x0000_0000, - [1658476127.776156][3171:3176] CHIP:DMG: ListIndex = Null, - [1658476127.776193][3171:3176] CHIP:DMG: } - [1658476127.776234][3171:3176] CHIP:DMG: - [1658476127.776270][3171:3176] CHIP:DMG: StatusIB = - [1658476127.776306][3171:3176] CHIP:DMG: { - [1658476127.776345][3171:3176] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476127.776383][3171:3176] CHIP:DMG: }, - [1658476127.776420][3171:3176] CHIP:DMG: - [1658476127.776451][3171:3176] CHIP:DMG: }, - [1658476127.776494][3171:3176] CHIP:DMG: - [1658476127.776523][3171:3176] CHIP:DMG: AttributeStatusIB = - [1658476127.776558][3171:3176] CHIP:DMG: { - [1658476127.776589][3171:3176] CHIP:DMG: AttributePathIB = - [1658476127.776625][3171:3176] CHIP:DMG: { - [1658476127.776664][3171:3176] CHIP:DMG: Endpoint = 0x0, - [1658476127.776705][3171:3176] CHIP:DMG: Cluster = 0x1f, - [1658476127.776746][3171:3176] CHIP:DMG: Attribute = 0x0000_0000, - [1658476127.776785][3171:3176] CHIP:DMG: ListIndex = Null, - [1658476127.776823][3171:3176] CHIP:DMG: } - [1658476127.776864][3171:3176] CHIP:DMG: - [1658476127.776900][3171:3176] CHIP:DMG: StatusIB = - [1658476127.776937][3171:3176] CHIP:DMG: { - [1658476127.776974][3171:3176] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658476127.777013][3171:3176] CHIP:DMG: }, - [1658476127.777054][3171:3176] CHIP:DMG: - [1658476127.777088][3171:3176] CHIP:DMG: }, - [1658476127.777123][3171:3176] CHIP:DMG: - [1658476127.777152][3171:3176] CHIP:DMG: ], - [1658476127.777197][3171:3176] CHIP:DMG: - [1658476127.777226][3171:3176] CHIP:DMG: InteractionModelRevision = 1 - [1658476127.777255][3171:3176] CHIP:DMG: } - [1658476127.777405][3171:3176] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658476127.777446][3171:3176] CHIP:TOO: Response Failu - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: invalid value (not 1-3) Subjects field: null Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 4, "subjects": [], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to Invalid Authmode - [1658476412.664216][3192:3197] CHIP:DMG: WriteResponseMessage = - [1658476412.664247][3192:3197] CHIP:DMG: { - [1658476412.664275][3192:3197] CHIP:DMG: AttributeStatusIBs = - [1658476412.664313][3192:3197] CHIP:DMG: [ - [1658476412.664342][3192:3197] CHIP:DMG: AttributeStatusIB = - [1658476412.664376][3192:3197] CHIP:DMG: { - [1658476412.664408][3192:3197] CHIP:DMG: AttributePathIB = - [1658476412.664448][3192:3197] CHIP:DMG: { - [1658476412.664487][3192:3197] CHIP:DMG: Endpoint = 0x0, - [1658476412.664529][3192:3197] CHIP:DMG: Cluster = 0x1f, - [1658476412.664570][3192:3197] CHIP:DMG: Attribute = 0x0000_0000, - [1658476412.664608][3192:3197] CHIP:DMG: } - [1658476412.664651][3192:3197] CHIP:DMG: - [1658476412.664690][3192:3197] CHIP:DMG: StatusIB = - [1658476412.664728][3192:3197] CHIP:DMG: { - [1658476412.664765][3192:3197] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476412.664804][3192:3197] CHIP:DMG: }, - [1658476412.664841][3192:3197] CHIP:DMG: - [1658476412.664872][3192:3197] CHIP:DMG: }, - [1658476412.664914][3192:3197] CHIP:DMG: - [1658476412.664943][3192:3197] CHIP:DMG: AttributeStatusIB = - [1658476412.664975][3192:3197] CHIP:DMG: { - [1658476412.665005][3192:3197] CHIP:DMG: AttributePathIB = - [1658476412.665041][3192:3197] CHIP:DMG: { - [1658476412.665079][3192:3197] CHIP:DMG: Endpoint = 0x0, - [1658476412.665118][3192:3197] CHIP:DMG: Cluster = 0x1f, - [1658476412.665159][3192:3197] CHIP:DMG: Attribute = 0x0000_0000, - [1658476412.665198][3192:3197] CHIP:DMG: ListIndex = Null, - [1658476412.665236][3192:3197] CHIP:DMG: } - [1658476412.665276][3192:3197] CHIP:DMG: - [1658476412.665311][3192:3197] CHIP:DMG: StatusIB = - [1658476412.665347][3192:3197] CHIP:DMG: { - [1658476412.665384][3192:3197] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476412.665421][3192:3197] CHIP:DMG: }, - [1658476412.665458][3192:3197] CHIP:DMG: - [1658476412.665491][3192:3197] CHIP:DMG: }, - [1658476412.665532][3192:3197] CHIP:DMG: - [1658476412.665561][3192:3197] CHIP:DMG: AttributeStatusIB = - [1658476412.665593][3192:3197] CHIP:DMG: { - [1658476412.665624][3192:3197] CHIP:DMG: AttributePathIB = - [1658476412.665659][3192:3197] CHIP:DMG: { - [1658476412.665776][3192:3197] CHIP:DMG: Endpoint = 0x0, - [1658476412.665819][3192:3197] CHIP:DMG: Cluster = 0x1f, - [1658476412.665860][3192:3197] CHIP:DMG: Attribute = 0x0000_0000, - [1658476412.665899][3192:3197] CHIP:DMG: ListIndex = Null, - [1658476412.665938][3192:3197] CHIP:DMG: } - [1658476412.665980][3192:3197] CHIP:DMG: - [1658476412.666015][3192:3197] CHIP:DMG: StatusIB = - [1658476412.666051][3192:3197] CHIP:DMG: { - [1658476412.666088][3192:3197] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658476412.666130][3192:3197] CHIP:DMG: }, - [1658476412.666167][3192:3197] CHIP:DMG: - [1658476412.666197][3192:3197] CHIP:DMG: }, - [1658476412.666232][3192:3197] CHIP:DMG: - [1658476412.666260][3192:3197] CHIP:DMG: ], - [1658476412.666304][3192:3197] CHIP:DMG: - [1658476412.666332][3192:3197] CHIP:DMG: InteractionModelRevision = 1 - [1658476412.666361][3192:3197] CHIP:DMG: } - [1658476412.666509][3192:3197] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658476412.666548][3192:3197] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658476412.666640][3192:3197] CHIP:EM: Sending Standalone Ack for MessageCounter:222498029 on exchange 30870i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: [0] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [0], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to Invalid Subject Field - [1658476622.665126][3229:3234] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658476622.665195][3229:3234] CHIP:DMG: WriteResponseMessage = - [1658476622.665225][3229:3234] CHIP:DMG: { - [1658476622.665254][3229:3234] CHIP:DMG: AttributeStatusIBs = - [1658476622.665291][3229:3234] CHIP:DMG: [ - [1658476622.665318][3229:3234] CHIP:DMG: AttributeStatusIB = - [1658476622.665353][3229:3234] CHIP:DMG: { - [1658476622.665390][3229:3234] CHIP:DMG: AttributePathIB = - [1658476622.665428][3229:3234] CHIP:DMG: { - [1658476622.665472][3229:3234] CHIP:DMG: Endpoint = 0x0, - [1658476622.665517][3229:3234] CHIP:DMG: Cluster = 0x1f, - [1658476622.665562][3229:3234] CHIP:DMG: Attribute = 0x0000_0000, - [1658476622.665604][3229:3234] CHIP:DMG: } - [1658476622.665652][3229:3234] CHIP:DMG: - [1658476622.665692][3229:3234] CHIP:DMG: StatusIB = - [1658476622.665734][3229:3234] CHIP:DMG: { - [1658476622.665776][3229:3234] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476622.665821][3229:3234] CHIP:DMG: }, - [1658476622.665863][3229:3234] CHIP:DMG: - [1658476622.665902][3229:3234] CHIP:DMG: }, - [1658476622.665953][3229:3234] CHIP:DMG: - [1658476622.665985][3229:3234] CHIP:DMG: AttributeStatusIB = - [1658476622.666023][3229:3234] CHIP:DMG: { - [1658476622.666060][3229:3234] CHIP:DMG: AttributePathIB = - [1658476622.666100][3229:3234] CHIP:DMG: { - [1658476622.666144][3229:3234] CHIP:DMG: Endpoint = 0x0, - [1658476622.666192][3229:3234] CHIP:DMG: Cluster = 0x1f, - [1658476622.666236][3229:3234] CHIP:DMG: Attribute = 0x0000_0000, - [1658476622.666280][3229:3234] CHIP:DMG: ListIndex = Null, - [1658476622.666321][3229:3234] CHIP:DMG: } - [1658476622.666366][3229:3234] CHIP:DMG: - [1658476622.666410][3229:3234] CHIP:DMG: StatusIB = - [1658476622.666450][3229:3234] CHIP:DMG: { - [1658476622.666491][3229:3234] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476622.666533][3229:3234] CHIP:DMG: }, - [1658476622.666574][3229:3234] CHIP:DMG: - [1658476622.666631][3229:3234] CHIP:DMG: }, - [1658476622.666686][3229:3234] CHIP:DMG: - [1658476622.666717][3229:3234] CHIP:DMG: AttributeStatusIB = - [1658476622.666755][3229:3234] CHIP:DMG: { - [1658476622.666787][3229:3234] CHIP:DMG: AttributePathIB = - [1658476622.666816][3229:3234] CHIP:DMG: { - [1658476622.666847][3229:3234] CHIP:DMG: Endpoint = 0x0, - [1658476622.666932][3229:3234] CHIP:DMG: Cluster = 0x1f, - [1658476622.666970][3229:3234] CHIP:DMG: Attribute = 0x0000_0000, - [1658476622.667004][3229:3234] CHIP:DMG: ListIndex = Null, - [1658476622.667035][3229:3234] CHIP:DMG: } - [1658476622.667068][3229:3234] CHIP:DMG: - [1658476622.667097][3229:3234] CHIP:DMG: StatusIB = - [1658476622.667127][3229:3234] CHIP:DMG: { - [1658476622.667157][3229:3234] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658476622.667188][3229:3234] CHIP:DMG: }, - [1658476622.667220][3229:3234] CHIP:DMG: - [1658476622.667246][3229:3234] CHIP:DMG: }, - [1658476622.667276][3229:3234] CHIP:DMG: - [1658476622.667301][3229:3234] CHIP:DMG: ], - [1658476622.667338][3229:3234] CHIP:DMG: - [1658476622.667361][3229:3234] CHIP:DMG: InteractionModelRevision = 1 - [1658476622.667384][3229:3234] CHIP:DMG: } - [1658476622.667510][3229:3234] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: [0xFFFFFFFFFFFFFFFF] Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744073709551615], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to Invalid Subjectfield - 1658476861.356730][3250:3255] CHIP:DMG: { - [1658476861.356767][3250:3255] CHIP:DMG: AttributeStatusIBs = - [1658476861.356813][3250:3255] CHIP:DMG: [ - [1658476861.356839][3250:3255] CHIP:DMG: AttributeStatusIB = - [1658476861.356870][3250:3255] CHIP:DMG: { - [1658476861.356898][3250:3255] CHIP:DMG: AttributePathIB = - [1658476861.356985][3250:3255] CHIP:DMG: { - [1658476861.357021][3250:3255] CHIP:DMG: Endpoint = 0x0, - [1658476861.357056][3250:3255] CHIP:DMG: Cluster = 0x1f, - [1658476861.357091][3250:3255] CHIP:DMG: Attribute = 0x0000_0000, - [1658476861.357123][3250:3255] CHIP:DMG: } - [1658476861.357159][3250:3255] CHIP:DMG: - [1658476861.357191][3250:3255] CHIP:DMG: StatusIB = - [1658476861.357225][3250:3255] CHIP:DMG: { - [1658476861.357257][3250:3255] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476861.357290][3250:3255] CHIP:DMG: }, - [1658476861.357326][3250:3255] CHIP:DMG: - [1658476861.357354][3250:3255] CHIP:DMG: }, - [1658476861.357391][3250:3255] CHIP:DMG: - [1658476861.357417][3250:3255] CHIP:DMG: AttributeStatusIB = - [1658476861.357444][3250:3255] CHIP:DMG: { - [1658476861.357470][3250:3255] CHIP:DMG: AttributePathIB = - [1658476861.357501][3250:3255] CHIP:DMG: { - [1658476861.357534][3250:3255] CHIP:DMG: Endpoint = 0x0, - [1658476861.357569][3250:3255] CHIP:DMG: Cluster = 0x1f, - [1658476861.357604][3250:3255] CHIP:DMG: Attribute = 0x0000_0000, - [1658476861.357640][3250:3255] CHIP:DMG: ListIndex = Null, - [1658476861.357672][3250:3255] CHIP:DMG: } - [1658476861.357708][3250:3255] CHIP:DMG: - [1658476861.357738][3250:3255] CHIP:DMG: StatusIB = - [1658476861.357769][3250:3255] CHIP:DMG: { - [1658476861.357801][3250:3255] CHIP:DMG: status = 0x00 (SUCCESS), - [1658476861.357833][3250:3255] CHIP:DMG: }, - [1658476861.357866][3250:3255] CHIP:DMG: - [1658476861.357894][3250:3255] CHIP:DMG: }, - [1658476861.357932][3250:3255] CHIP:DMG: - [1658476861.357957][3250:3255] CHIP:DMG: AttributeStatusIB = - [1658476861.357984][3250:3255] CHIP:DMG: { - [1658476861.358011][3250:3255] CHIP:DMG: AttributePathIB = - [1658476861.358041][3250:3255] CHIP:DMG: { - [1658476861.358073][3250:3255] CHIP:DMG: Endpoint = 0x0, - [1658476861.358108][3250:3255] CHIP:DMG: Cluster = 0x1f, - [1658476861.358142][3250:3255] CHIP:DMG: Attribute = 0x0000_0000, - [1658476861.358175][3250:3255] CHIP:DMG: ListIndex = Null, - [1658476861.358207][3250:3255] CHIP:DMG: } - [1658476861.358241][3250:3255] CHIP:DMG: - [1658476861.358272][3250:3255] CHIP:DMG: StatusIB = - [1658476861.358303][3250:3255] CHIP:DMG: { - [1658476861.358336][3250:3255] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658476861.358368][3250:3255] CHIP:DMG: }, - [1658476861.358399][3250:3255] CHIP:DMG: - [1658476861.358427][3250:3255] CHIP:DMG: }, - [1658476861.358457][3250:3255] CHIP:DMG: - [1658476861.358482][3250:3255] CHIP:DMG: ], - [1658476861.358519][3250:3255] CHIP:DMG: - [1658476861.358544][3250:3255] CHIP:DMG: InteractionModelRevision = 1 - [1658476861.358568][3250:3255] CHIP:DMG: } - [1658476861.358726][3250:3255] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658476861.358763][3250:3255] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: [0xFFFFFFFD_BAD_NONE0000000] - Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744060824649728], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield - 8477037.056167][3264:3269] CHIP:DMG: { - [1658477037.056200][3264:3269] CHIP:DMG: AttributePathIB = - [1658477037.056238][3264:3269] CHIP:DMG: { - [1658477037.056282][3264:3269] CHIP:DMG: Endpoint = 0x0, - [1658477037.056324][3264:3269] CHIP:DMG: Cluster = 0x1f, - [1658477037.056368][3264:3269] CHIP:DMG: Attribute = 0x0000_0000, - [1658477037.056405][3264:3269] CHIP:DMG: } - [1658477037.056448][3264:3269] CHIP:DMG: - [1658477037.056486][3264:3269] CHIP:DMG: StatusIB = - [1658477037.056529][3264:3269] CHIP:DMG: { - [1658477037.056568][3264:3269] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477037.056609][3264:3269] CHIP:DMG: }, - [1658477037.056646][3264:3269] CHIP:DMG: - [1658477037.056680][3264:3269] CHIP:DMG: }, - [1658477037.056723][3264:3269] CHIP:DMG: - [1658477037.056753][3264:3269] CHIP:DMG: AttributeStatusIB = - [1658477037.056787][3264:3269] CHIP:DMG: { - [1658477037.056823][3264:3269] CHIP:DMG: AttributePathIB = - [1658477037.056860][3264:3269] CHIP:DMG: { - [1658477037.056898][3264:3269] CHIP:DMG: Endpoint = 0x0, - [1658477037.056940][3264:3269] CHIP:DMG: Cluster = 0x1f, - [1658477037.056985][3264:3269] CHIP:DMG: Attribute = 0x0000_0000, - [1658477037.057024][3264:3269] CHIP:DMG: ListIndex = Null, - [1658477037.057062][3264:3269] CHIP:DMG: } - [1658477037.057102][3264:3269] CHIP:DMG: - [1658477037.057143][3264:3269] CHIP:DMG: StatusIB = - [1658477037.057183][3264:3269] CHIP:DMG: { - [1658477037.057225][3264:3269] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477037.057264][3264:3269] CHIP:DMG: }, - [1658477037.057303][3264:3269] CHIP:DMG: - [1658477037.057336][3264:3269] CHIP:DMG: }, - [1658477037.057381][3264:3269] CHIP:DMG: - [1658477037.057411][3264:3269] CHIP:DMG: AttributeStatusIB = - [1658477037.057443][3264:3269] CHIP:DMG: { - [1658477037.057474][3264:3269] CHIP:DMG: AttributePathIB = - [1658477037.057511][3264:3269] CHIP:DMG: { - [1658477037.057549][3264:3269] CHIP:DMG: Endpoint = 0x0, - [1658477037.057589][3264:3269] CHIP:DMG: Cluster = 0x1f, - [1658477037.057629][3264:3269] CHIP:DMG: Attribute = 0x0000_0000, - [1658477037.057668][3264:3269] CHIP:DMG: ListIndex = Null, - [1658477037.057706][3264:3269] CHIP:DMG: } - [1658477037.057746][3264:3269] CHIP:DMG: - [1658477037.057782][3264:3269] CHIP:DMG: StatusIB = - [1658477037.057819][3264:3269] CHIP:DMG: { - [1658477037.057857][3264:3269] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658477037.057899][3264:3269] CHIP:DMG: }, - [1658477037.057936][3264:3269] CHIP:DMG: - [1658477037.057969][3264:3269] CHIP:DMG: }, - [1658477037.058005][3264:3269] CHIP:DMG: - [1658477037.058033][3264:3269] CHIP:DMG: ], - [1658477037.058078][3264:3269] CHIP:DMG: - [1658477037.058107][3264:3269] CHIP:DMG: InteractionModelRevision = 1 - [1658477037.058135][3264:3269] CHIP:DMG: } - [1658477037.058295][3264:3269] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658477037.058334][3264:3269] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658477037.058400][3264:3269] CHIP:EM: Sending Standalone Ack for MessageCounter:171679528 on exchange 41642i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: [0xFFFFFFFFFFFF0000] Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744073709486080], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield - 658477229.869987][3634:3640] CHIP:EM: Removed CHIP MessageCounter:189477251 from RetransTable on exchange 22058i - [1658477229.870031][3634:3640] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658477229.870093][3634:3640] CHIP:DMG: WriteResponseMessage = - [1658477229.870124][3634:3640] CHIP:DMG: { - [1658477229.870146][3634:3640] CHIP:DMG: AttributeStatusIBs = - [1658477229.870177][3634:3640] CHIP:DMG: [ - [1658477229.870201][3634:3640] CHIP:DMG: AttributeStatusIB = - [1658477229.870232][3634:3640] CHIP:DMG: { - [1658477229.870262][3634:3640] CHIP:DMG: AttributePathIB = - [1658477229.870299][3634:3640] CHIP:DMG: { - [1658477229.870336][3634:3640] CHIP:DMG: Endpoint = 0x0, - [1658477229.870373][3634:3640] CHIP:DMG: Cluster = 0x1f, - [1658477229.870407][3634:3640] CHIP:DMG: Attribute = 0x0000_0000, - [1658477229.870442][3634:3640] CHIP:DMG: } - [1658477229.870481][3634:3640] CHIP:DMG: - [1658477229.870517][3634:3640] CHIP:DMG: StatusIB = - [1658477229.870552][3634:3640] CHIP:DMG: { - [1658477229.870623][3634:3640] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477229.870658][3634:3640] CHIP:DMG: }, - [1658477229.870689][3634:3640] CHIP:DMG: - [1658477229.870716][3634:3640] CHIP:DMG: }, - [1658477229.870756][3634:3640] CHIP:DMG: - [1658477229.870780][3634:3640] CHIP:DMG: AttributeStatusIB = - [1658477229.870809][3634:3640] CHIP:DMG: { - [1658477229.870836][3634:3640] CHIP:DMG: AttributePathIB = - [1658477229.870871][3634:3640] CHIP:DMG: { - [1658477229.870906][3634:3640] CHIP:DMG: Endpoint = 0x0, - [1658477229.870943][3634:3640] CHIP:DMG: Cluster = 0x1f, - [1658477229.870979][3634:3640] CHIP:DMG: Attribute = 0x0000_0000, - [1658477229.871014][3634:3640] CHIP:DMG: ListIndex = Null, - [1658477229.871048][3634:3640] CHIP:DMG: } - [1658477229.871086][3634:3640] CHIP:DMG: - [1658477229.871121][3634:3640] CHIP:DMG: StatusIB = - [1658477229.871156][3634:3640] CHIP:DMG: { - [1658477229.871191][3634:3640] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477229.871226][3634:3640] CHIP:DMG: }, - [1658477229.871260][3634:3640] CHIP:DMG: - [1658477229.871287][3634:3640] CHIP:DMG: }, - [1658477229.871324][3634:3640] CHIP:DMG: - [1658477229.871348][3634:3640] CHIP:DMG: AttributeStatusIB = - [1658477229.871376][3634:3640] CHIP:DMG: { - [1658477229.871404][3634:3640] CHIP:DMG: AttributePathIB = - [1658477229.871436][3634:3640] CHIP:DMG: { - [1658477229.871471][3634:3640] CHIP:DMG: Endpoint = 0x0, - [1658477229.871507][3634:3640] CHIP:DMG: Cluster = 0x1f, - [1658477229.871543][3634:3640] CHIP:DMG: Attribute = 0x0000_0000, - [1658477229.871578][3634:3640] CHIP:DMG: ListIndex = Null, - [1658477229.871611][3634:3640] CHIP:DMG: } - [1658477229.871648][3634:3640] CHIP:DMG: - [1658477229.871681][3634:3640] CHIP:DMG: StatusIB = - [1658477229.871711][3634:3640] CHIP:DMG: { - [1658477229.871746][3634:3640] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658477229.871778][3634:3640] CHIP:DMG: }, - [1658477229.871809][3634:3640] CHIP:DMG: - [1658477229.871836][3634:3640] CHIP:DMG: }, - [1658477229.871866][3634:3640] CHIP:DMG: - [1658477229.871889][3634:3640] CHIP:DMG: ], - [1658477229.871925][3634:3640] CHIP:DMG: - [1658477229.871949][3634:3640] CHIP:DMG: InteractionModelRevision = 1 - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: [{}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": null, "deviceType": null }]}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid TargetField - 1658477371.966712][3679:3684] CHIP:EM: Removed CHIP MessageCounter:138419251 from RetransTable on exchange 40076i - [1658477371.966756][3679:3684] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658477371.966830][3679:3684] CHIP:DMG: WriteResponseMessage = - [1658477371.966860][3679:3684] CHIP:DMG: { - [1658477371.966885][3679:3684] CHIP:DMG: AttributeStatusIBs = - [1658477371.966923][3679:3684] CHIP:DMG: [ - [1658477371.966959][3679:3684] CHIP:DMG: AttributeStatusIB = - [1658477371.967002][3679:3684] CHIP:DMG: { - [1658477371.967043][3679:3684] CHIP:DMG: AttributePathIB = - [1658477371.967092][3679:3684] CHIP:DMG: { - [1658477371.967135][3679:3684] CHIP:DMG: Endpoint = 0x0, - [1658477371.967185][3679:3684] CHIP:DMG: Cluster = 0x1f, - [1658477371.967230][3679:3684] CHIP:DMG: Attribute = 0x0000_0000, - [1658477371.967271][3679:3684] CHIP:DMG: } - [1658477371.967317][3679:3684] CHIP:DMG: - [1658477371.967358][3679:3684] CHIP:DMG: StatusIB = - [1658477371.967400][3679:3684] CHIP:DMG: { - [1658477371.967443][3679:3684] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477371.967484][3679:3684] CHIP:DMG: }, - [1658477371.967525][3679:3684] CHIP:DMG: - [1658477371.967560][3679:3684] CHIP:DMG: }, - [1658477371.967607][3679:3684] CHIP:DMG: - [1658477371.967639][3679:3684] CHIP:DMG: AttributeStatusIB = - [1658477371.967676][3679:3684] CHIP:DMG: { - [1658477371.967709][3679:3684] CHIP:DMG: AttributePathIB = - [1658477371.967741][3679:3684] CHIP:DMG: { - [1658477371.967774][3679:3684] CHIP:DMG: Endpoint = 0x0, - [1658477371.967818][3679:3684] CHIP:DMG: Cluster = 0x1f, - [1658477371.967862][3679:3684] CHIP:DMG: Attribute = 0x0000_0000, - [1658477371.967898][3679:3684] CHIP:DMG: ListIndex = Null, - [1658477371.967930][3679:3684] CHIP:DMG: } - [1658477371.967966][3679:3684] CHIP:DMG: - [1658477371.968000][3679:3684] CHIP:DMG: StatusIB = - [1658477371.968035][3679:3684] CHIP:DMG: { - [1658477371.968069][3679:3684] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477371.968101][3679:3684] CHIP:DMG: }, - [1658477371.968133][3679:3684] CHIP:DMG: - [1658477371.968159][3679:3684] CHIP:DMG: }, - [1658477371.968195][3679:3684] CHIP:DMG: - [1658477371.968220][3679:3684] CHIP:DMG: AttributeStatusIB = - [1658477371.968247][3679:3684] CHIP:DMG: { - [1658477371.968274][3679:3684] CHIP:DMG: AttributePathIB = - [1658477371.968305][3679:3684] CHIP:DMG: { - [1658477371.968338][3679:3684] CHIP:DMG: Endpoint = 0x0, - [1658477371.968372][3679:3684] CHIP:DMG: Cluster = 0x1f, - [1658477371.968406][3679:3684] CHIP:DMG: Attribute = 0x0000_0000, - [1658477371.968440][3679:3684] CHIP:DMG: ListIndex = Null, - [1658477371.968472][3679:3684] CHIP:DMG: } - [1658477371.968506][3679:3684] CHIP:DMG: - [1658477371.968541][3679:3684] CHIP:DMG: StatusIB = - [1658477371.968573][3679:3684] CHIP:DMG: { - [1658477371.968604][3679:3684] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658477371.968637][3679:3684] CHIP:DMG: }, - [1658477371.968668][3679:3684] CHIP:DMG: - [1658477371.968696][3679:3684] CHIP:DMG: }, - [1658477371.968726][3679:3684] CHIP:DMG: - [1658477371.968751][3679:3684] CHIP:DMG: ], - [1658477371.968789][3679:3684] CHIP:DMG: - [1658477371.968814][3679:3684] CHIP:DMG: InteractionModelRevision = 1 - [1658477371.968838][3679:3684] CHIP:DMG: } - [1658477371.968974][3679:3684] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Cluster: 0xFFFFFFFF}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 4294967295, "endpoint": null, "deviceType": null }]}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield - [1657617852.177018][8933:8938] CHIP:DMG: WriteResponseMessage = - [1657617852.177055][8933:8938] CHIP:DMG: { - [1657617852.177086][8933:8938] CHIP:DMG: AttributeStatusIBs = - [1657617852.177130][8933:8938] CHIP:DMG: [ - [1657617852.177163][8933:8938] CHIP:DMG: AttributeStatusIB = - [1657617852.177204][8933:8938] CHIP:DMG: { - [1657617852.177243][8933:8938] CHIP:DMG: AttributePathIB = - [1657617852.177284][8933:8938] CHIP:DMG: { - [1657617852.177329][8933:8938] CHIP:DMG: Endpoint = 0x0, - [1657617852.177375][8933:8938] CHIP:DMG: Cluster = 0x1f, - [1657617852.177418][8933:8938] CHIP:DMG: Attribute = 0x0000_0000, - [1657617852.177464][8933:8938] CHIP:DMG: } - [1657617852.177514][8933:8938] CHIP:DMG: - [1657617852.177558][8933:8938] CHIP:DMG: StatusIB = - [1657617852.177604][8933:8938] CHIP:DMG: { - [1657617852.177649][8933:8938] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617852.177692][8933:8938] CHIP:DMG: }, - [1657617852.177732][8933:8938] CHIP:DMG: - [1657617852.177765][8933:8938] CHIP:DMG: }, - [1657617852.177811][8933:8938] CHIP:DMG: - [1657617852.177843][8933:8938] CHIP:DMG: AttributeStatusIB = - [1657617852.177877][8933:8938] CHIP:DMG: { - [1657617852.177911][8933:8938] CHIP:DMG: AttributePathIB = - [1657617852.177950][8933:8938] CHIP:DMG: { - [1657617852.177996][8933:8938] CHIP:DMG: Endpoint = 0x0, - [1657617852.178042][8933:8938] CHIP:DMG: Cluster = 0x1f, - [1657617852.178090][8933:8938] CHIP:DMG: Attribute = 0x0000_0000, - [1657617852.178133][8933:8938] CHIP:DMG: ListIndex = Null, - [1657617852.178173][8933:8938] CHIP:DMG: } - [1657617852.178217][8933:8938] CHIP:DMG: - [1657617852.178261][8933:8938] CHIP:DMG: StatusIB = - [1657617852.178301][8933:8938] CHIP:DMG: { - [1657617852.178340][8933:8938] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617852.178414][8933:8938] CHIP:DMG: }, - [1657617852.178457][8933:8938] CHIP:DMG: - [1657617852.178489][8933:8938] CHIP:DMG: }, - [1657617852.178535][8933:8938] CHIP:DMG: - [1657617852.178566][8933:8938] CHIP:DMG: AttributeStatusIB = - [1657617852.178601][8933:8938] CHIP:DMG: { - [1657617852.178634][8933:8938] CHIP:DMG: AttributePathIB = - [1657617852.178673][8933:8938] CHIP:DMG: { - [1657617852.178715][8933:8938] CHIP:DMG: Endpoint = 0x0, - [1657617852.178758][8933:8938] CHIP:DMG: Cluster = 0x1f, - [1657617852.178801][8933:8938] CHIP:DMG: Attribute = 0x0000_0000, - [1657617852.178847][8933:8938] CHIP:DMG: ListIndex = Null, - [1657617852.178888][8933:8938] CHIP:DMG: } - [1657617852.178932][8933:8938] CHIP:DMG: - [1657617852.178971][8933:8938] CHIP:DMG: StatusIB = - [1657617852.179010][8933:8938] CHIP:DMG: { - [1657617852.179053][8933:8938] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1657617852.179094][8933:8938] CHIP:DMG: }, - [1657617852.179135][8933:8938] CHIP:DMG: - [1657617852.179168][8933:8938] CHIP:DMG: }, - [1657617852.179206][8933:8938] CHIP:DMG: - [1657617852.179237][8933:8938] CHIP:DMG: ], - [1657617852.179284][8933:8938] CHIP:DMG: - [1657617852.179315][8933:8938] CHIP:DMG: InteractionModelRevision = 1 - [1657617852.179346][8933:8938] CHIP:DMG: } - [1657617852.179509][8933:8938] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1657617852.179550][8933:8938] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Endpoint: 255}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": 65535, "deviceType": null }]}]" 1 0 - - [1657617920.044059][8948:8953] CHIP:DMG: { - [1657617920.044085][8948:8953] CHIP:DMG: AttributeStatusIBs = - [1657617920.044120][8948:8953] CHIP:DMG: [ - [1657617920.044148][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.044181][8948:8953] CHIP:DMG: { - [1657617920.044211][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.044251][8948:8953] CHIP:DMG: { - [1657617920.044288][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.044327][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.044365][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.044401][8948:8953] CHIP:DMG: } - [1657617920.044440][8948:8953] CHIP:DMG: - [1657617920.044475][8948:8953] CHIP:DMG: StatusIB = - [1657617920.044512][8948:8953] CHIP:DMG: { - [1657617920.044548][8948:8953] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617920.044585][8948:8953] CHIP:DMG: }, - [1657617920.044625][8948:8953] CHIP:DMG: - [1657617920.044656][8948:8953] CHIP:DMG: }, - [1657617920.044697][8948:8953] CHIP:DMG: - [1657617920.044725][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.044755][8948:8953] CHIP:DMG: { - [1657617920.044784][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.044818][8948:8953] CHIP:DMG: { - [1657617920.044857][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.044895][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.044934][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.044975][8948:8953] CHIP:DMG: ListIndex = Null, - [1657617920.045010][8948:8953] CHIP:DMG: } - [1657617920.045049][8948:8953] CHIP:DMG: - [1657617920.045084][8948:8953] CHIP:DMG: StatusIB = - [1657617920.045118][8948:8953] CHIP:DMG: { - [1657617920.045158][8948:8953] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617920.045193][8948:8953] CHIP:DMG: }, - [1657617920.045229][8948:8953] CHIP:DMG: - [1657617920.045258][8948:8953] CHIP:DMG: }, - [1657617920.045298][8948:8953] CHIP:DMG: - [1657617920.045326][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.045356][8948:8953] CHIP:DMG: { - [1657617920.045385][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.045419][8948:8953] CHIP:DMG: { - [1657617920.045455][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.045493][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.045531][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.045567][8948:8953] CHIP:DMG: ListIndex = Null, - [1657617920.045602][8948:8953] CHIP:DMG: } - [1657617920.045642][8948:8953] CHIP:DMG: - [1657617920.045675][8948:8953] CHIP:DMG: StatusIB = - [1657617920.045711][8948:8953] CHIP:DMG: { - [1657617920.045745][8948:8953] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1657617920.045781][8948:8953] CHIP:DMG: }, - [1657617920.045815][8948:8953] CHIP:DMG: - [1657617920.045846][8948:8953] CHIP:DMG: }, - [1657617920.045880][8948:8953] CHIP:DMG: - [1657617920.045907][8948:8953] CHIP:DMG: ], - [1657617920.045948][8948:8953] CHIP:DMG: - [1657617920.045976][8948:8953] CHIP:DMG: InteractionModelRevision = 1 - [1657617920.046002][8948:8953] CHIP:DMG: } - [1657617920.046147][8948:8953] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1657617920.046184][8948:8953] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{DeviceType: 0xFFFFFFFF}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": null, "deviceType": 4294967295 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - - - - [1657617920.044059][8948:8953] CHIP:DMG: { - [1657617920.044085][8948:8953] CHIP:DMG: AttributeStatusIBs = - [1657617920.044120][8948:8953] CHIP:DMG: [ - [1657617920.044148][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.044181][8948:8953] CHIP:DMG: { - [1657617920.044211][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.044251][8948:8953] CHIP:DMG: { - [1657617920.044288][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.044327][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.044365][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.044401][8948:8953] CHIP:DMG: } - [1657617920.044440][8948:8953] CHIP:DMG: - [1657617920.044475][8948:8953] CHIP:DMG: StatusIB = - [1657617920.044512][8948:8953] CHIP:DMG: { - [1657617920.044548][8948:8953] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617920.044585][8948:8953] CHIP:DMG: }, - [1657617920.044625][8948:8953] CHIP:DMG: - [1657617920.044656][8948:8953] CHIP:DMG: }, - [1657617920.044697][8948:8953] CHIP:DMG: - [1657617920.044725][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.044755][8948:8953] CHIP:DMG: { - [1657617920.044784][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.044818][8948:8953] CHIP:DMG: { - [1657617920.044857][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.044895][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.044934][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.044975][8948:8953] CHIP:DMG: ListIndex = Null, - [1657617920.045010][8948:8953] CHIP:DMG: } - [1657617920.045049][8948:8953] CHIP:DMG: - [1657617920.045084][8948:8953] CHIP:DMG: StatusIB = - [1657617920.045118][8948:8953] CHIP:DMG: { - [1657617920.045158][8948:8953] CHIP:DMG: status = 0x00 (SUCCESS), - [1657617920.045193][8948:8953] CHIP:DMG: }, - [1657617920.045229][8948:8953] CHIP:DMG: - [1657617920.045258][8948:8953] CHIP:DMG: }, - [1657617920.045298][8948:8953] CHIP:DMG: - [1657617920.045326][8948:8953] CHIP:DMG: AttributeStatusIB = - [1657617920.045356][8948:8953] CHIP:DMG: { - [1657617920.045385][8948:8953] CHIP:DMG: AttributePathIB = - [1657617920.045419][8948:8953] CHIP:DMG: { - [1657617920.045455][8948:8953] CHIP:DMG: Endpoint = 0x0, - [1657617920.045493][8948:8953] CHIP:DMG: Cluster = 0x1f, - [1657617920.045531][8948:8953] CHIP:DMG: Attribute = 0x0000_0000, - [1657617920.045567][8948:8953] CHIP:DMG: ListIndex = Null, - [1657617920.045602][8948:8953] CHIP:DMG: } - [1657617920.045642][8948:8953] CHIP:DMG: - [1657617920.045675][8948:8953] CHIP:DMG: StatusIB = - [1657617920.045711][8948:8953] CHIP:DMG: { - [1657617920.045745][8948:8953] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1657617920.045781][8948:8953] CHIP:DMG: }, - [1657617920.045815][8948:8953] CHIP:DMG: - [1657617920.045846][8948:8953] CHIP:DMG: }, - [1657617920.045880][8948:8953] CHIP:DMG: - [1657617920.045907][8948:8953] CHIP:DMG: ], - [1657617920.045948][8948:8953] CHIP:DMG: - [1657617920.045976][8948:8953] CHIP:DMG: InteractionModelRevision = 1 - [1657617920.046002][8948:8953] CHIP:DMG: } - [1657617920.046147][8948:8953] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1657617920.046184][8948:8953] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Endpoint: 22, DeviceType: 33}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": 22, "deviceType": 33 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - [1658477583.616961][3701:3706] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658477583.617072][3701:3706] CHIP:DMG: WriteResponseMessage = - [1658477583.617120][3701:3706] CHIP:DMG: { - [1658477583.617143][3701:3706] CHIP:DMG: AttributeStatusIBs = - [1658477583.617174][3701:3706] CHIP:DMG: [ - [1658477583.617199][3701:3706] CHIP:DMG: AttributeStatusIB = - [1658477583.617244][3701:3706] CHIP:DMG: { - [1658477583.617282][3701:3706] CHIP:DMG: AttributePathIB = - [1658477583.617329][3701:3706] CHIP:DMG: { - [1658477583.617376][3701:3706] CHIP:DMG: Endpoint = 0x0, - [1658477583.617421][3701:3706] CHIP:DMG: Cluster = 0x1f, - [1658477583.617468][3701:3706] CHIP:DMG: Attribute = 0x0000_0000, - [1658477583.617510][3701:3706] CHIP:DMG: } - [1658477583.617560][3701:3706] CHIP:DMG: - [1658477583.617604][3701:3706] CHIP:DMG: StatusIB = - [1658477583.617639][3701:3706] CHIP:DMG: { - [1658477583.617683][3701:3706] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477583.617730][3701:3706] CHIP:DMG: }, - [1658477583.617773][3701:3706] CHIP:DMG: - [1658477583.617803][3701:3706] CHIP:DMG: }, - [1658477583.617848][3701:3706] CHIP:DMG: - [1658477583.617874][3701:3706] CHIP:DMG: AttributeStatusIB = - [1658477583.617903][3701:3706] CHIP:DMG: { - [1658477583.617934][3701:3706] CHIP:DMG: AttributePathIB = - [1658477583.617966][3701:3706] CHIP:DMG: { - [1658477583.618011][3701:3706] CHIP:DMG: Endpoint = 0x0, - [1658477583.618059][3701:3706] CHIP:DMG: Cluster = 0x1f, - [1658477583.618108][3701:3706] CHIP:DMG: Attribute = 0x0000_0000, - [1658477583.618156][3701:3706] CHIP:DMG: ListIndex = Null, - [1658477583.618201][3701:3706] CHIP:DMG: } - [1658477583.618249][3701:3706] CHIP:DMG: - [1658477583.618292][3701:3706] CHIP:DMG: StatusIB = - [1658477583.618325][3701:3706] CHIP:DMG: { - [1658477583.618369][3701:3706] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477583.618401][3701:3706] CHIP:DMG: }, - [1658477583.618432][3701:3706] CHIP:DMG: - [1658477583.618459][3701:3706] CHIP:DMG: }, - [1658477583.618504][3701:3706] CHIP:DMG: - [1658477583.618530][3701:3706] CHIP:DMG: AttributeStatusIB = - [1658477583.618558][3701:3706] CHIP:DMG: { - [1658477583.618627][3701:3706] CHIP:DMG: AttributePathIB = - [1658477583.618664][3701:3706] CHIP:DMG: { - [1658477583.618707][3701:3706] CHIP:DMG: Endpoint = 0x0, - [1658477583.618755][3701:3706] CHIP:DMG: Cluster = 0x1f, - [1658477583.618804][3701:3706] CHIP:DMG: Attribute = 0x0000_0000, - [1658477583.618851][3701:3706] CHIP:DMG: ListIndex = Null, - [1658477583.618897][3701:3706] CHIP:DMG: } - [1658477583.618947][3701:3706] CHIP:DMG: - [1658477583.618990][3701:3706] CHIP:DMG: StatusIB = - [1658477583.619034][3701:3706] CHIP:DMG: { - [1658477583.619078][3701:3706] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658477583.619124][3701:3706] CHIP:DMG: }, - [1658477583.619167][3701:3706] CHIP:DMG: - [1658477583.619196][3701:3706] CHIP:DMG: }, - [1658477583.619235][3701:3706] CHIP:DMG: - [1658477583.619261][3701:3706] CHIP:DMG: ], - [1658477583.619297][3701:3706] CHIP:DMG: - [1658477583.619321][3701:3706] CHIP:DMG: InteractionModelRevision = 1 - [1658477583.619346][3701:3706] CHIP:DMG: } - [1658477583.619476][3701:3706] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658477583.619510][3701:3706] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658477583.619575][3701:3706] CHIP:EM: Sending Standalone Ack for MessageCounter:77176256 on exchange 29384i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Cluster: 11, Endpoint: 22, DeviceType: 33}]" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": 33 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - [1658477662.415412][3710:3715] CHIP:EM: Removed CHIP MessageCounter:35384027 from RetransTable on exchange 6953i - [1658477662.415452][3710:3715] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658477662.415535][3710:3715] CHIP:DMG: WriteResponseMessage = - [1658477662.415563][3710:3715] CHIP:DMG: { - [1658477662.415582][3710:3715] CHIP:DMG: AttributeStatusIBs = - [1658477662.415609][3710:3715] CHIP:DMG: [ - [1658477662.415629][3710:3715] CHIP:DMG: AttributeStatusIB = - [1658477662.415662][3710:3715] CHIP:DMG: { - [1658477662.415692][3710:3715] CHIP:DMG: AttributePathIB = - [1658477662.415727][3710:3715] CHIP:DMG: { - [1658477662.415779][3710:3715] CHIP:DMG: Endpoint = 0x0, - [1658477662.415845][3710:3715] CHIP:DMG: Cluster = 0x1f, - [1658477662.415895][3710:3715] CHIP:DMG: Attribute = 0x0000_0000, - [1658477662.415942][3710:3715] CHIP:DMG: } - [1658477662.415994][3710:3715] CHIP:DMG: - [1658477662.416051][3710:3715] CHIP:DMG: StatusIB = - [1658477662.416097][3710:3715] CHIP:DMG: { - [1658477662.416150][3710:3715] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477662.416205][3710:3715] CHIP:DMG: }, - [1658477662.416239][3710:3715] CHIP:DMG: - [1658477662.416275][3710:3715] CHIP:DMG: }, - [1658477662.416323][3710:3715] CHIP:DMG: - [1658477662.416348][3710:3715] CHIP:DMG: AttributeStatusIB = - [1658477662.416385][3710:3715] CHIP:DMG: { - [1658477662.416414][3710:3715] CHIP:DMG: AttributePathIB = - [1658477662.416454][3710:3715] CHIP:DMG: { - [1658477662.416487][3710:3715] CHIP:DMG: Endpoint = 0x0, - [1658477662.416533][3710:3715] CHIP:DMG: Cluster = 0x1f, - [1658477662.416580][3710:3715] CHIP:DMG: Attribute = 0x0000_0000, - [1658477662.416615][3710:3715] CHIP:DMG: ListIndex = Null, - [1658477662.416658][3710:3715] CHIP:DMG: } - [1658477662.416702][3710:3715] CHIP:DMG: - [1658477662.416736][3710:3715] CHIP:DMG: StatusIB = - [1658477662.416779][3710:3715] CHIP:DMG: { - [1658477662.416820][3710:3715] CHIP:DMG: status = 0x00 (SUCCESS), - [1658477662.416855][3710:3715] CHIP:DMG: }, - [1658477662.416893][3710:3715] CHIP:DMG: - [1658477662.416920][3710:3715] CHIP:DMG: }, - [1658477662.416965][3710:3715] CHIP:DMG: - [1658477662.416990][3710:3715] CHIP:DMG: AttributeStatusIB = - [1658477662.417028][3710:3715] CHIP:DMG: { - [1658477662.417056][3710:3715] CHIP:DMG: AttributePathIB = - [1658477662.417098][3710:3715] CHIP:DMG: { - [1658477662.417141][3710:3715] CHIP:DMG: Endpoint = 0x0, - [1658477662.417176][3710:3715] CHIP:DMG: Cluster = 0x1f, - [1658477662.417221][3710:3715] CHIP:DMG: Attribute = 0x0000_0000, - [1658477662.417266][3710:3715] CHIP:DMG: ListIndex = Null, - [1658477662.417300][3710:3715] CHIP:DMG: } - [1658477662.417334][3710:3715] CHIP:DMG: - [1658477662.417367][3710:3715] CHIP:DMG: StatusIB = - [1658477662.417400][3710:3715] CHIP:DMG: { - [1658477662.417435][3710:3715] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), - [1658477662.417468][3710:3715] CHIP:DMG: }, - [1658477662.417501][3710:3715] CHIP:DMG: - [1658477662.417528][3710:3715] CHIP:DMG: }, - [1658477662.417559][3710:3715] CHIP:DMG: - [1658477662.417582][3710:3715] CHIP:DMG: ], - [1658477662.417618][3710:3715] CHIP:DMG: - [1658477662.417641][3710:3715] CHIP:DMG: InteractionModelRevision = 1 - [1658477662.417664][3710:3715] CHIP:DMG: } - [1658477662.417794][3710:3715] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658477662.417828][3710:3715] CHIP:TOO: Response Failure: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) - [1658477662.417896][3710:3715] CHIP:EM: Sending Standalone Ack for MessageCounter:43630190 on exchange 6953i - [1658477662.417987][3710:3715] CHIP:IN: Prepared secure message 0xffff82fdd9e8 to 0x0000000000000001 (1) of type 0x10 and prot - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is an empty list" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing `1 element. - [1657618011.091198][8968:8973] CHIP:DMG: { - [1657618011.091228][8968:8973] CHIP:DMG: AttributeStatusIBs = - [1657618011.091272][8968:8973] CHIP:DMG: [ - [1657618011.091306][8968:8973] CHIP:DMG: AttributeStatusIB = - [1657618011.091348][8968:8973] CHIP:DMG: { - [1657618011.091383][8968:8973] CHIP:DMG: AttributePathIB = - [1657618011.091424][8968:8973] CHIP:DMG: { - [1657618011.091473][8968:8973] CHIP:DMG: Endpoint = 0x0, - [1657618011.091519][8968:8973] CHIP:DMG: Cluster = 0x1f, - [1657618011.091567][8968:8973] CHIP:DMG: Attribute = 0x0000_0000, - [1657618011.091612][8968:8973] CHIP:DMG: } - [1657618011.091663][8968:8973] CHIP:DMG: - [1657618011.091705][8968:8973] CHIP:DMG: StatusIB = - [1657618011.091748][8968:8973] CHIP:DMG: { - [1657618011.091790][8968:8973] CHIP:DMG: status = 0x00 (SUCCESS), - [1657618011.091832][8968:8973] CHIP:DMG: }, - [1657618011.091878][8968:8973] CHIP:DMG: - [1657618011.091915][8968:8973] CHIP:DMG: }, - [1657618011.091961][8968:8973] CHIP:DMG: - [1657618011.091994][8968:8973] CHIP:DMG: AttributeStatusIB = - [1657618011.092029][8968:8973] CHIP:DMG: { - [1657618011.092063][8968:8973] CHIP:DMG: AttributePathIB = - [1657618011.092103][8968:8973] CHIP:DMG: { - [1657618011.092149][8968:8973] CHIP:DMG: Endpoint = 0x0, - [1657618011.092194][8968:8973] CHIP:DMG: Cluster = 0x1f, - [1657618011.092239][8968:8973] CHIP:DMG: Attribute = 0x0000_0000, - [1657618011.092282][8968:8973] CHIP:DMG: ListIndex = Null, - [1657618011.092328][8968:8973] CHIP:DMG: } - [1657618011.092372][8968:8973] CHIP:DMG: - [1657618011.092416][8968:8973] CHIP:DMG: StatusIB = - [1657618011.092460][8968:8973] CHIP:DMG: { - [1657618011.092503][8968:8973] CHIP:DMG: status = 0x00 (SUCCESS), - [1657618011.092547][8968:8973] CHIP:DMG: }, - [1657618011.092586][8968:8973] CHIP:DMG: - [1657618011.092623][8968:8973] CHIP:DMG: }, - [1657618011.092661][8968:8973] CHIP:DMG: - [1657618011.092693][8968:8973] CHIP:DMG: ], - [1657618011.092736][8968:8973] CHIP:DMG: - [1657618011.092768][8968:8973] CHIP:DMG: InteractionModelRevision = 1 - [1657618011.092798][8968:8973] CHIP:DMG: } - [1657618011.092928][8968:8973] CHIP:DMG: WriteClient moving to [AwaitingDe] - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml index da4a8d51a4a3a1..92614bd8b113a3 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml @@ -13,7 +13,10 @@ # 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: 132.2.4. [TC-ACL-2.4] ACL attribute +name: 131.2.4. [TC-ACL-2.4] ACL attribute + +PICS: + - ACL.S config: nodeId: 0x12344321 @@ -688,7 +691,7 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [111, 222, 333, 444], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [111, 222, 333, 444], "targets": null}]" 1 0 + {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555, 666, 777, 888], "targets": null}]" 1 0 On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements as Target Null. [1657542060.230268][3398:3403] CHIP:DMG: { @@ -2366,11 +2369,11 @@ tests: - label: "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Operate (3) - AuthMode field: CASE (2) Subjects field: null Targets field: - [{Endpoint: 255}]" + is list of AccessControlEntryStruct containing 2 elements 1. + struct Privilege field: Administer (5) AuthMode field: CASE + (2) Subjects field: [N1] Targets field: null 2. struct Privilege + field: Operate (3) AuthMode field: CASE (2) Subjects field: + null Targets field: [{Endpoint: 65535}]" PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": 65535, "deviceType": null }]}]" 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml index 21827125220d67..e6899bf561fc2d 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml @@ -13,7 +13,10 @@ # 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: 132.2.5. [TC-ACL-2.5] AccessControlExtensionChanged event +name: 133.2.5. [TC-ACL-2.5] AccessControlExtensionChanged event + +PICS: + - ACL.S config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml index 41b03ee6c74152..339d611b8f5dae 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml @@ -1,2001 +1,462 @@ -# 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: 132.2.6. [TC-ACL-2.6] AccessControlEntryChanged event - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - verification step to be updated. - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 - - - [1656581567.459433][2846:2851] CHIP:EM: Removed CHIP MessageCounter:147498618 from RetransTable on exchange 16019i - [1656581567.459514][2846:2851] CHIP:DMG: ReportDataMessage = - [1656581567.459558][2846:2851] CHIP:DMG: { - [1656581567.459593][2846:2851] CHIP:DMG: AttributeReportIBs = - [1656581567.459643][2846:2851] CHIP:DMG: [ - [1656581567.459683][2846:2851] CHIP:DMG: AttributeReportIB = - [1656581567.459735][2846:2851] CHIP:DMG: { - [1656581567.459777][2846:2851] CHIP:DMG: AttributeDataIB = - [1656581567.459828][2846:2851] CHIP:DMG: { - [1656581567.459881][2846:2851] CHIP:DMG: DataVersion = 0x69e80d80, - [1656581567.459933][2846:2851] CHIP:DMG: AttributePathIB = - [1656581567.459987][2846:2851] CHIP:DMG: { - [1656581567.460042][2846:2851] CHIP:DMG: Endpoint = 0x0, - [1656581567.460104][2846:2851] CHIP:DMG: Cluster = 0x3e, - [1656581567.460166][2846:2851] CHIP:DMG: Attribute = 0x0000_0005, - [1656581567.460220][2846:2851] CHIP:DMG: } - [1656581567.460277][2846:2851] CHIP:DMG: - [1656581567.460333][2846:2851] CHIP:DMG: Data = 1, - [1656581567.460388][2846:2851] CHIP:DMG: }, - [1656581567.460441][2846:2851] CHIP:DMG: - [1656581567.460485][2846:2851] CHIP:DMG: }, - [1656581567.460537][2846:2851] CHIP:DMG: - [1656581567.460576][2846:2851] CHIP:DMG: ], - [1656581567.460680][2846:2851] CHIP:DMG: - [1656581567.460723][2846:2851] CHIP:DMG: SuppressResponse = true, - [1656581567.460764][2846:2851] CHIP:DMG: InteractionModelRevision = 1 - [1656581567.460802][2846:2851] CHIP:DMG: } - [1656581567.461044][2846:2851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1776815488 - [1656581567.463444][2846:2851] CHIP:TOO: CurrentFabricIndex: 1 - [1656581567.463579][2846:2851] CHIP:EM: Sending Standalone Ack for MessageCounter:43211765 on exchange 16019i - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - - On TH , Verify DUT Responds Successfully - - - [[1657618697.392815][9079:9084] CHIP:DMG: - [1657618697.392846][9079:9084] CHIP:DMG: SuppressResponse = true, - [1657618697.392878][9079:9084] CHIP:DMG: InteractionModelRevision = 1 - [1657618697.392906][9079:9084] CHIP:DMG: } - [1657618697.393187][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618697.393218][9079:9084] CHIP:TOO: Event number: 83 - [1657618697.393245][9079:9084] CHIP:TOO: Priority: Info - [1657618697.393272][9079:9084] CHIP:TOO: Timestamp: 13908987 - [1657618697.393379][9079:9084] CHIP:TOO: AccessControlEntryChanged: { - [1657618697.393423][9079:9084] CHIP:TOO: AdminNodeID: 112233 - [1657618697.393453][9079:9084] CHIP:TOO: AdminPasscodeID: null - [1657618697.393482][9079:9084] CHIP:TOO: ChangeType: 1 - [1657618697.393512][9079:9084] CHIP:TOO: LatestValue: { - [1657618697.393539][9079:9084] CHIP:TOO: Privilege: 5 - [1657618697.393567][9079:9084] CHIP:TOO: AuthMode: 2 - [1657618697.393600][9079:9084] CHIP:TOO: Subjects: 1 entries - [1657618697.393635][9079:9084] CHIP:TOO: [1]: 112233 - [1657618697.393667][9079:9084] CHIP:TOO: Targets: null - [1657618697.393695][9079:9084] CHIP:TOO: FabricIndex: 1 - [1657618697.393722][9079:9084] CHIP:TOO: } - [1657618697.393749][9079:9084] CHIP:TOO: AdminFabricIndex: 1 - [1657618697.393777][9079:9084] CHIP:TOO: } - [1657618697.393916][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618697.393946][9079:9084] CHIP:TOO: Event number: 84 - [1657618697.393972][9079:9084] CHIP:TOO: Priority: Info - [1657618697.393999][9079:9084] CHIP:TOO: Timestamp: 13941929 - [1657618697.394045][9079:9084] CHIP:TOO: AccessControlEntryChanged: { - [1657618697.394076][9079:9084] CHIP:TOO: AdminNodeID: 112233 - [1657618697.394105][9079:9084] CHIP:TOO: AdminPasscodeID: null - [1657618697.394133][9079:9084] CHIP:TOO: ChangeType: 2 - [1657618697.394160][9079:9084] CHIP:TOO: LatestValue: { - [1657618697.394187][9079:9084] CHIP:TOO: Privilege: 5 - [1657618697.394214][9079:9084] CHIP:TOO: AuthMode: 2 - [1657618697.394245][9079:9084] CHIP:TOO: Subjects: 1 entries - [1657618697.394277][9079:9084] CHIP:TOO: [1]: 112233 - [1657618697.394308][9079:9084] CHIP:TOO: Targets: null - [1657618697.394336][9079:9084] CHIP:TOO: FabricIndex: 1 - [1657618697.394383][9079:9084] CHIP:TOO: } - [1657618697.394412][9079:9084] CHIP:TOO: AdminFabricIndex: 1 - [1657618697.394439][9079:9084] CHIP:TOO: } - [1657618697.394578][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618697.394609][9079:9084] CHIP:TOO: Event number: 85 - [1657618697.394635][9079:9084] CHIP:TOO: Priority: Info - [1657618697.394661][9079:9084] CHIP:TOO: Timestamp: 13941931 - [1657618697.394709][9079:9084] CHIP:TOO: AccessControlEntryChanged: { - [1657618697.394741][9079:9084] CHIP:TOO: AdminNodeID: 112233 - [1657618697.394770][9079:9084] CHIP:TOO: AdminPasscodeID: null - [1657618697.394798][9079:9084] CHIP:TOO: ChangeType: 1 - [1657618697.394826][9079:9084] CHIP:TOO: LatestValue: { - [1657618697.394853][9079:9084] CHIP:TOO: Privilege: 5 - [1657618697.394880][9079:9084] CHIP:TOO: AuthMode: 2 - [1657618697.394907][9079:9084] CHIP:TOO: Subjects: null - [1657618697.394934][9079:9084] CHIP:TOO: Targets: null - [1657618697.394960][9079:9084] CHIP:TOO: FabricIndex: 1 - [1657618697.394983][9079:9084] CHIP:TOO: } - [1657618697.395005][9079:9084] CHIP:TOO: AdminFabricIndex: 1 - [1657618697.395027][9079:9084] CHIP:TOO: } - [1657618697.395193][9079:9084] CHIP:EM: Sending Standalone Ack for MessageCounter:53700395 on exchange 63882i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2struct Privilege field: Operate (3) - AuthMode field: Group (3) Subjects field: null Targets field: null" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [], "targets":null}]" 1 0 - Verify in TH log: - - [[1657545728.526415][3928:3933] CHIP:DMG: WriteResponseMessage = - [1657545728.526460][3928:3933] CHIP:DMG: { - [1657545728.526500][3928:3933] CHIP:DMG: AttributeStatusIBs = - [1657545728.526555][3928:3933] CHIP:DMG: [ - [1657545728.526599][3928:3933] CHIP:DMG: AttributeStatusIB = - [1657545728.526648][3928:3933] CHIP:DMG: { - [1657545728.526695][3928:3933] CHIP:DMG: AttributePathIB = - [1657545728.526753][3928:3933] CHIP:DMG: { - [1657545728.526811][3928:3933] CHIP:DMG: Endpoint = 0x0, - [1657545728.526877][3928:3933] CHIP:DMG: Cluster = 0x1f, - [1657545728.526939][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, - [1657545728.526994][3928:3933] CHIP:DMG: } - [1657545728.527056][3928:3933] CHIP:DMG: - [1657545728.527200][3928:3933] CHIP:DMG: StatusIB = - [1657545728.527260][3928:3933] CHIP:DMG: { - [1657545728.527317][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), - [1657545728.527374][3928:3933] CHIP:DMG: }, - [1657545728.527430][3928:3933] CHIP:DMG: - [1657545728.527477][3928:3933] CHIP:DMG: }, - [1657545728.527540][3928:3933] CHIP:DMG: - [1657545728.527585][3928:3933] CHIP:DMG: AttributeStatusIB = - [1657545728.527634][3928:3933] CHIP:DMG: { - [1657545728.527680][3928:3933] CHIP:DMG: AttributePathIB = - [1657545728.527735][3928:3933] CHIP:DMG: { - [1657545728.527792][3928:3933] CHIP:DMG: Endpoint = 0x0, - [1657545728.527853][3928:3933] CHIP:DMG: Cluster = 0x1f, - [1657545728.527909][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, - [1657545728.527967][3928:3933] CHIP:DMG: ListIndex = Null, - [1657545728.528023][3928:3933] CHIP:DMG: } - [1657545728.528084][3928:3933] CHIP:DMG: - [1657545728.528137][3928:3933] CHIP:DMG: StatusIB = - [1657545728.528191][3928:3933] CHIP:DMG: { - [1657545728.528249][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), - [1657545728.528306][3928:3933] CHIP:DMG: }, - [1657545728.528363][3928:3933] CHIP:DMG: - [1657545728.528409][3928:3933] CHIP:DMG: }, - [1657545728.528473][3928:3933] CHIP:DMG: - [1657545728.528517][3928:3933] CHIP:DMG: AttributeStatusIB = - [1657545728.528566][3928:3933] CHIP:DMG: { - [1657545728.528618][3928:3933] CHIP:DMG: AttributePathIB = - [1657545728.528756][3928:3933] CHIP:DMG: { - [1657545728.528834][3928:3933] CHIP:DMG: Endpoint = 0x0, - [1657545728.528990][3928:3933] CHIP:DMG: Cluster = 0x1f, - [1657545728.529068][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, - [1657545728.529134][3928:3933] CHIP:DMG: ListIndex = Null, - [1657545728.529369][3928:3933] CHIP:DMG: } - [1657545728.529498][3928:3933] CHIP:DMG: - [1657545728.529565][3928:3933] CHIP:DMG: StatusIB = - [1657545728.529681][3928:3933] CHIP:DMG: { - [1657545728.529752][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), - [1657545728.529824][3928:3933] CHIP:DMG: }, - [1657545728.529887][3928:3933] CHIP:DMG: - [1657545728.529944][3928:3933] CHIP:DMG: }, - [1657545728.530005][3928:3933] CHIP:DMG: - [1657545728.530054][3928:3933] CHIP:DMG: ], - [1657545728.530129][3928:3933] CHIP:DMG: - [1657545728.530178][3928:3933] CHIP:DMG: InteractionModelRevision = 1 - [1657545728.530227][3928:3933] CHIP:DMG: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - - On TH , Verify DUT Responds Successfully - - [1657618772.535125][9091:9096] CHIP:DMG: - [1657618772.535162][9091:9096] CHIP:DMG: SuppressResponse = true, - [1657618772.535198][9091:9096] CHIP:DMG: InteractionModelRevision = 1 - [1657618772.535232][9091:9096] CHIP:DMG: } - [1657618772.535593][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618772.535630][9091:9096] CHIP:TOO: Event number: 85 - [1657618772.535663][9091:9096] CHIP:TOO: Priority: Info - [1657618772.535695][9091:9096] CHIP:TOO: Timestamp: 13941931 - [1657618772.535791][9091:9096] CHIP:TOO: AccessControlEntryChanged: { - [1657618772.535883][9091:9096] CHIP:TOO: AdminNodeID: 112233 - [1657618772.535912][9091:9096] CHIP:TOO: AdminPasscodeID: null - [1657618772.535939][9091:9096] CHIP:TOO: ChangeType: 1 - [1657618772.535966][9091:9096] CHIP:TOO: LatestValue: { - [1657618772.535991][9091:9096] CHIP:TOO: Privilege: 5 - [1657618772.536017][9091:9096] CHIP:TOO: AuthMode: 2 - [1657618772.536043][9091:9096] CHIP:TOO: Subjects: null - [1657618772.536067][9091:9096] CHIP:TOO: Targets: null - [1657618772.536092][9091:9096] CHIP:TOO: FabricIndex: 1 - [1657618772.536117][9091:9096] CHIP:TOO: } - [1657618772.536142][9091:9096] CHIP:TOO: AdminFabricIndex: 1 - [1657618772.536168][9091:9096] CHIP:TOO: } - [1657618772.536296][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618772.536324][9091:9096] CHIP:TOO: Event number: 94 - [1657618772.536349][9091:9096] CHIP:TOO: Priority: Info - [1657618772.536373][9091:9096] CHIP:TOO: Timestamp: 14681840 - [1657618772.536416][9091:9096] CHIP:TOO: AccessControlEntryChanged: { - [1657618772.536444][9091:9096] CHIP:TOO: AdminNodeID: 112233 - [1657618772.536470][9091:9096] CHIP:TOO: AdminPasscodeID: null - [1657618772.536494][9091:9096] CHIP:TOO: ChangeType: 2 - [1657618772.536519][9091:9096] CHIP:TOO: LatestValue: { - [1657618772.536544][9091:9096] CHIP:TOO: Privilege: 5 - [1657618772.536569][9091:9096] CHIP:TOO: AuthMode: 2 - [1657618772.536594][9091:9096] CHIP:TOO: Subjects: null - [1657618772.536618][9091:9096] CHIP:TOO: Targets: null - [1657618772.536643][9091:9096] CHIP:TOO: FabricIndex: 1 - [1657618772.536667][9091:9096] CHIP:TOO: } - [1657618772.536692][9091:9096] CHIP:TOO: AdminFabricIndex: 1 - [1657618772.536717][9091:9096] CHIP:TOO: } - [1657618772.536842][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618772.536869][9091:9096] CHIP:TOO: Event number: 95 - [1657618772.536894][9091:9096] CHIP:TOO: Priority: Info - [1657618772.536918][9091:9096] CHIP:TOO: Timestamp: 14681842 - [1657618772.536962][9091:9096] CHIP:TOO: AccessControlEntryChanged: { - [1657618772.536990][9091:9096] CHIP:TOO: AdminNodeID: 112233 - [1657618772.537015][9091:9096] CHIP:TOO: AdminPasscodeID: null - [1657618772.537040][9091:9096] CHIP:TOO: ChangeType: 1 - [1657618772.537065][9091:9096] CHIP:TOO: LatestValue: { - [1657618772.537090][9091:9096] CHIP:TOO: Privilege: 5 - [1657618772.537115][9091:9096] CHIP:TOO: AuthMode: 2 - [1657618772.537144][9091:9096] CHIP:TOO: Subjects: 1 entries - [1657618772.537175][9091:9096] CHIP:TOO: [1]: 112233 - [1657618772.537203][9091:9096] CHIP:TOO: Targets: null - [1657618772.537228][9091:9096] CHIP:TOO: FabricIndex: 1 - [1657618772.537253][9091:9096] CHIP:TOO: } - [1657618772.537278][9091:9096] CHIP:TOO: AdminFabricIndex: 1 - [1657618772.537303][9091:9096] CHIP:TOO: } - [1657618772.537426][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657618772.537453][9091:9096] CHIP:TOO: Event number: 96 - [1657618772.537477][9091:9096] CHIP:TOO: Priority: Info - [1657618772.537501][9091:9096] CHIP:TOO: Timestamp: 14681844 - [1657618772.537543][9091:9096] CHIP:TOO: AccessControlEntryChanged: { - [1657618772.537571][9091:9096] CHIP:TOO: AdminNodeID: 112233 - [1657618772.537596][9091:9096] CHIP:TOO: AdminPasscodeID: null - [1657618772.537621][9091:9096] CHIP:TOO: ChangeType: 1 - [1657618772.537645][9091:9096] CHIP:TOO: LatestValue: { - [1657618772.537670][9091:9096] CHIP:TOO: Privilege: 3 - [1657618772.537695][9091:9096] CHIP:TOO: AuthMode: 3 - [1657618772.537720][9091:9096] CHIP:TOO: Subjects: null - [1657618772.537744][9091:9096] CHIP:TOO: Targets: null - [1657618772.537768][9091:9096] CHIP:TOO: FabricIndex: 1 - [1657618772.537792][9091:9096] CHIP:TOO: } - [1657618772.537817][9091:9096] CHIP:TOO: AdminFabricIndex: 1 - [1657618772.537842][9091:9096] CHIP:TOO: } - [1657618772.538004][9091:9096] CHIP:EM: Sending Standalone Ack for MessageCounter:65216018 on exchange 10750i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null 2.struct Privilege field: Administer - (3) AuthMode field: Group (3) Subjects field: null Targets field: null" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets":null}]" 1 0 - On TH Verify DUT Responds Successfully to ACL attribute with value is list of AccessControlEntryStruct containing 2 elements - - 58813102.344539][2489:2494] CHIP:EM: Removed CHIP MessageCounter:131488146 from RetransTable on exchange 37188i - [1658813102.344581][2489:2494] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658813102.344655][2489:2494] CHIP:DMG: WriteResponseMessage = - [1658813102.344711][2489:2494] CHIP:DMG: { - [1658813102.344741][2489:2494] CHIP:DMG: AttributeStatusIBs = - [1658813102.344798][2489:2494] CHIP:DMG: [ - [1658813102.344831][2489:2494] CHIP:DMG: AttributeStatusIB = - [1658813102.344883][2489:2494] CHIP:DMG: { - [1658813102.344918][2489:2494] CHIP:DMG: AttributePathIB = - [1658813102.344973][2489:2494] CHIP:DMG: { - [1658813102.345027][2489:2494] CHIP:DMG: Endpoint = 0x0, - [1658813102.345073][2489:2494] CHIP:DMG: Cluster = 0x1f, - [1658813102.345130][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, - [1658813102.345182][2489:2494] CHIP:DMG: } - [1658813102.345231][2489:2494] CHIP:DMG: - [1658813102.345280][2489:2494] CHIP:DMG: StatusIB = - [1658813102.345322][2489:2494] CHIP:DMG: { - [1658813102.345377][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), - [1658813102.345430][2489:2494] CHIP:DMG: }, - [1658813102.345469][2489:2494] CHIP:DMG: - [1658813102.345509][2489:2494] CHIP:DMG: }, - [1658813102.345549][2489:2494] CHIP:DMG: - [1658813102.345577][2489:2494] CHIP:DMG: AttributeStatusIB = - [1658813102.345606][2489:2494] CHIP:DMG: { - [1658813102.345644][2489:2494] CHIP:DMG: AttributePathIB = - [1658813102.345678][2489:2494] CHIP:DMG: { - [1658813102.345714][2489:2494] CHIP:DMG: Endpoint = 0x0, - [1658813102.345754][2489:2494] CHIP:DMG: Cluster = 0x1f, - [1658813102.345795][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, - [1658813102.345831][2489:2494] CHIP:DMG: ListIndex = Null, - [1658813102.345866][2489:2494] CHIP:DMG: } - [1658813102.345903][2489:2494] CHIP:DMG: - [1658813102.345937][2489:2494] CHIP:DMG: StatusIB = - [1658813102.345970][2489:2494] CHIP:DMG: { - [1658813102.346008][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), - [1658813102.346043][2489:2494] CHIP:DMG: }, - [1658813102.346078][2489:2494] CHIP:DMG: - [1658813102.346106][2489:2494] CHIP:DMG: }, - [1658813102.346145][2489:2494] CHIP:DMG: - [1658813102.346169][2489:2494] CHIP:DMG: AttributeStatusIB = - [1658813102.346194][2489:2494] CHIP:DMG: { - [1658813102.346233][2489:2494] CHIP:DMG: AttributePathIB = - [1658813102.346265][2489:2494] CHIP:DMG: { - [1658813102.346297][2489:2494] CHIP:DMG: Endpoint = 0x0, - [1658813102.346341][2489:2494] CHIP:DMG: Cluster = 0x1f, - [1658813102.346382][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, - [1658813102.346417][2489:2494] CHIP:DMG: ListIndex = Null, - [1658813102.346452][2489:2494] CHIP:DMG: } - [1658813102.346487][2489:2494] CHIP:DMG: - [1658813102.346520][2489:2494] CHIP:DMG: StatusIB = - [1658813102.346590][2489:2494] CHIP:DMG: { - [1658813102.346630][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), - [1658813102.346667][2489:2494] CHIP:DMG: }, - [1658813102.346701][2489:2494] CHIP:DMG: - [1658813102.346731][2489:2494] CHIP:DMG: }, - [1658813102.346764][2489:2494] CHIP:DMG: - [1658813102.346796][2489:2494] CHIP:DMG: ], - [1658813102.346837][2489:2494] CHIP:DMG: - [1658813102.346864][2489:2494] CHIP:DMG: InteractionModelRevision = 1 - [1658813102.346891][2489:2494] CHIP:DMG: } - [1658813102.347080][2489:2494] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658813102.347150][2489:2494] CHIP:EM: Sending Standalone Ack for MessageCounter:54598939 on - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - - On TH , Verify DUT Responds Successfully - - 1658813186.871698][2504:2509] CHIP:DMG: ], - [1658813186.871770][2504:2509] CHIP:DMG: - [1658813186.871799][2504:2509] CHIP:DMG: SuppressResponse = true, - [1658813186.871828][2504:2509] CHIP:DMG: InteractionModelRevision = 1 - [1658813186.871855][2504:2509] CHIP:DMG: } - [1658813186.874723][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1658813186.874826][2504:2509] CHIP:TOO: Event number: 2 - [1658813186.874854][2504:2509] CHIP:TOO: Priority: Info - [1658813186.874880][2504:2509] CHIP:TOO: Timestamp: 554681 - [1658813186.875037][2504:2509] CHIP:TOO: AccessControlEntryChanged: { - [1658813186.875097][2504:2509] CHIP:TOO: AdminNodeID: null - [1658813186.875137][2504:2509] CHIP:TOO: AdminPasscodeID: 0 - [1658813186.875165][2504:2509] CHIP:TOO: ChangeType: 1 - [1658813186.875192][2504:2509] CHIP:TOO: LatestValue: { - [1658813186.875218][2504:2509] CHIP:TOO: Privilege: 5 - [1658813186.875244][2504:2509] CHIP:TOO: AuthMode: 2 - [1658813186.875276][2504:2509] CHIP:TOO: Subjects: 1 entries - [1658813186.875311][2504:2509] CHIP:TOO: [1]: 112233 - [1658813186.875341][2504:2509] CHIP:TOO: Targets: null - [1658813186.875367][2504:2509] CHIP:TOO: FabricIndex: 1 - [1658813186.875392][2504:2509] CHIP:TOO: } - [1658813186.875419][2504:2509] CHIP:TOO: AdminFabricIndex: 1 - [1658813186.875444][2504:2509] CHIP:TOO: } - [1658813186.875592][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1658813186.875620][2504:2509] CHIP:TOO: Event number: 3 - [1658813186.875645][2504:2509] CHIP:TOO: Priority: Info - [1658813186.875670][2504:2509] CHIP:TOO: Timestamp: 579681 - [1658813186.875756][2504:2509] CHIP:TOO: AccessControlEntryChanged: { - [1658813186.875786][2504:2509] CHIP:TOO: AdminNodeID: 112233 - [1658813186.875814][2504:2509] CHIP:TOO: AdminPasscodeID: null - [1658813186.875841][2504:2509] CHIP:TOO: ChangeType: 2 - [1658813186.875867][2504:2509] CHIP:TOO: LatestValue: { - [1658813186.875892][2504:2509] CHIP:TOO: Privilege: 5 - [1658813186.875917][2504:2509] CHIP:TOO: AuthMode: 2 - [1658813186.875946][2504:2509] CHIP:TOO: Subjects: 1 entries - [1658813186.875977][2504:2509] CHIP:TOO: [1]: 112233 - [1658813186.876005][2504:2509] CHIP:TOO: Targets: null - [1658813186.876032][2504:2509] CHIP:TOO: FabricIndex: 1 - [1658813186.876057][2504:2509] CHIP:TOO: } - [1658813186.876083][2504:2509] CHIP:TOO: AdminFabricIndex: 1 - [1658813186.876108][2504:2509] CHIP:TOO: } - [1658813186.876234][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1658813186.876261][2504:2509] CHIP:TOO: Event number: 4 - [1658813186.876286][2504:2509] CHIP:TOO: Priority: Info - [1658813186.876310][2504:2509] CHIP:TOO: Timestamp: 579683 - [1658813186.876353][2504:2509] CHIP:TOO: AccessControlEntryChanged: { - [1658813186.876382][2504:2509] CHIP:TOO: AdminNodeID: 112233 - [1658813186.876408][2504:2509] CHIP:TOO: AdminPasscodeID: null - [1658813186.876434][2504:2509] CHIP:TOO: ChangeType: 1 - [1658813186.876460][2504:2509] CHIP:TOO: LatestValue: { - [1658813186.876485][2504:2509] CHIP:TOO: Privilege: 5 - [1658813186.876510][2504:2509] CHIP:TOO: AuthMode: 2 - [1658813186.876539][2504:2509] CHIP:TOO: Subjects: 1 entries - [1658813186.876569][2504:2509] CHIP:TOO: [1]: 112233 - [1658813186.876597][2504:2509] CHIP:TOO: Targets: null - [1658813186.876624][2504:2509] CHIP:TOO: FabricIndex: 1 - [1658813186.876649][2504:2509] CHIP:TOO: } - [1658813186.876675][2504:2509] CHIP:TOO: AdminFabricIndex: 1 - [1658813186.876700][2504:2509] CHIP:TOO: } - [1658813186.876826][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1658813186.876853][2504:2509] CHIP:TOO: Event number: 5 - [1658813186.876878][2504:2509] CHIP:TOO: Priority: Info - [1658813186.876902][2504:2509] CHIP:TOO: Timestamp: 579684 - [1658813186.876944][2504:2509] CHIP:TOO: AccessControlEntryChanged: { - [1658813186.876972][2504:2509] CHIP:TOO: AdminNodeID: 112233 - [1658813186.876996][2504:2509] CHIP:TOO: AdminPasscodeID: null - [1658813186.877021][2504:2509] CHIP:TOO: ChangeType: 1 - [1658813186.877047][2504:2509] CHIP:TOO: LatestValue: { - [1658813186.877072][2504:2509] CHIP:TOO: Privilege: 3 - [1658813186.877097][2504:2509] CHIP:TOO: AuthMode: 3 - [1658813186.877122][2504:2509] CHIP:TOO: Subjects: null - [1658813186.877148][2504:2509] CHIP:TOO: Targets: null - [1658813186.877173][2504:2509] CHIP:TOO: FabricIndex: 1 - [1658813186.877198][2504:2509] CHIP:TOO: } - [1658813186.877223][2504:2509] CHIP:TOO: AdminFabricIndex: 1 - [1658813186.877248][2504:2509] CHIP:TOO: } - [1658813186.877432][2504:2509] CHIP:EM: Sending Standalone Ack for MessageCounter:46379362 on exchange 51787i - [1658813186.877525][2504:2509] CHIP:IN: Prepared secure message 0xffff87ffda68 to 0x0000000000000001 (1) of - disabled: true - - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - DUT - sudo ./chip-all-clusters-app - - TH - ./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841 - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 - - [1657186774.908634][10846:10851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734 - [1657186774.911149][10846:10851] CHIP:TOO: CurrentFabricIndex: 1 - disabled: true - - - label: - "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin - node ID N2" - verification: | - Open a commissioning window on TH1 using below command - - ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 - [1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 - [1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window on the device - [1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617] - [1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700] - - - Commission TH2 to DUT using manualcode generated in TH1 using open commission window - - ./chip-tool pairing code 2 36253605617 - [1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step "Cleanup" - [1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 2 0 - - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 2 - [1657186956.724761][3910:3915] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734 - [1657186956.731658][3910:3915] CHIP:TOO: CurrentFabricIndex: 2 - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, - value is list of AccessControlExtensionStruct containing 1 element - 1.struct .Data field: D_OK_EMPTY 1718" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - - ON TH1,Verify DUT Responds Successfully to extension attribute list containg one element . - - - 657893593.975649][4116:4121] CHIP:DMG: { - [1657893593.975678][4116:4121] CHIP:DMG: AttributePathIB = - [1657893593.975718][4116:4121] CHIP:DMG: { - [1657893593.975755][4116:4121] CHIP:DMG: Endpoint = 0x0, - [1657893593.975797][4116:4121] CHIP:DMG: Cluster = 0x1f, - [1657893593.975835][4116:4121] CHIP:DMG: Attribute = 0x0000_0001, - [1657893593.975871][4116:4121] CHIP:DMG: } - [1657893593.975910][4116:4121] CHIP:DMG: - [1657893593.975944][4116:4121] CHIP:DMG: StatusIB = - [1657893593.975980][4116:4121] CHIP:DMG: { - [1657893593.976015][4116:4121] CHIP:DMG: status = 0x00 (SUCCESS), - [1657893593.976054][4116:4121] CHIP:DMG: }, - [1657893593.976088][4116:4121] CHIP:DMG: - [1657893593.976119][4116:4121] CHIP:DMG: }, - [1657893593.976161][4116:4121] CHIP:DMG: - [1657893593.976188][4116:4121] CHIP:DMG: AttributeStatusIB = - [1657893593.976220][4116:4121] CHIP:DMG: { - [1657893593.976248][4116:4121] CHIP:DMG: AttributePathIB = - [1657893593.976281][4116:4121] CHIP:DMG: { - [1657893593.976316][4116:4121] CHIP:DMG: Endpoint = 0x0, - [1657893593.976354][4116:4121] CHIP:DMG: Cluster = 0x1f, - [1657893593.976395][4116:4121] CHIP:DMG: Attribute = 0x0000_0001, - [1657893593.976434][4116:4121] CHIP:DMG: ListIndex = Null, - [1657893593.976469][4116:4121] CHIP:DMG: } - [1657893593.976507][4116:4121] CHIP:DMG: - [1657893593.976541][4116:4121] CHIP:DMG: StatusIB = - [1657893593.976574][4116:4121] CHIP:DMG: { - [1657893593.976610][4116:4121] CHIP:DMG: status = 0x00 (SUCCESS), - [1657893593.976645][4116:4121] CHIP:DMG: }, - [1657893593.976678][4116:4121] CHIP:DMG: - [1657893593.976709][4116:4121] CHIP:DMG: }, - [1657893593.976744][4116:4121] CHIP:DMG: - [1657893593.976771][4116:4121] CHIP:DMG: ], - [1657893593.976808][4116:4121] CHIP:DMG: - [1657893593.976835][4116:4121] CHIP:D - disabled: true - - - label: - "TH2 writes DUT Endpoint 0 AccessControl cluster Extension attribute - value is list of AccessControlExtensionStruct containing 1 element - 1.struct Data field: D_OK_SINGLE - 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 - - ON TH2,Verify DUT Responds Successfully to extension attribute list containg one element . - 1657894672.479983][2433:2438] CHIP:DMG: WriteClient moving to [ResponseRe] - [1657894672.480057][2433:2438] CHIP:DMG: WriteResponseMessage = - [1657894672.480092][2433:2438] CHIP:DMG: { - [1657894672.480124][2433:2438] CHIP:DMG: AttributeStatusIBs = - [1657894672.480175][2433:2438] CHIP:DMG: [ - [1657894672.480211][2433:2438] CHIP:DMG: AttributeStatusIB = - [1657894672.480251][2433:2438] CHIP:DMG: { - [1657894672.480288][2433:2438] CHIP:DMG: AttributePathIB = - [1657894672.480333][2433:2438] CHIP:DMG: { - [1657894672.480379][2433:2438] CHIP:DMG: Endpoint = 0x0, - [1657894672.480427][2433:2438] CHIP:DMG: Cluster = 0x1f, - [1657894672.480476][2433:2438] CHIP:DMG: Attribute = 0x0000_0001, - [1657894672.480521][2433:2438] CHIP:DMG: } - [1657894672.480570][2433:2438] CHIP:DMG: - [1657894672.480612][2433:2438] CHIP:DMG: StatusIB = - [1657894672.480657][2433:2438] CHIP:DMG: { - [1657894672.480700][2433:2438] CHIP:DMG: status = 0x00 (SUCCESS), - [1657894672.480745][2433:2438] CHIP:DMG: }, - [1657894672.480789][2433:2438] CHIP:DMG: - [1657894672.480826][2433:2438] CHIP:DMG: }, - [1657894672.480877][2433:2438] CHIP:DMG: - [1657894672.480911][2433:2438] CHIP:DMG: AttributeStatusIB = - [1657894672.480949][2433:2438] CHIP:DMG: { - [1657894672.480986][2433:2438] CHIP:DMG: AttributePathIB = - [1657894672.481028][2433:2438] CHIP:DMG: { - [1657894672.481072][2433:2438] CHIP:DMG: Endpoint = 0x0, - [1657894672.481120][2433:2438] CHIP:DMG: Cluster = 0x1f, - [1657894672.481168][2433:2438] CHIP:DMG: Attribute = 0x0000_0001, - [1657894672.481214][2433:2438] CHIP:DMG: ListIndex = Null, - [1657894672.481258][2433:2438] CHIP:DMG: } - [1657894672.481306][2433:2438] CHIP:DMG: - [1657894672.481347][2433:2438] CHIP:DMG: StatusIB = - [1657894672.481390][2433:2438] CHIP:DMG: { - [1657894672.481433][2433:2438] CHIP:DMG: status = 0x00 (SUCCESS), - [1657894672.481482][2433:2438] CHIP:DMG: }, - [1657894672.481526][2433:2438] CHIP:DMG: - [1657894672.481562][2433:2438] CHIP:DMG: }, - [1657894672.481605][2433:2438] CHIP:DMG: - [1657894672.481639][2433:2438] CHIP:DMG: ], - [1657894672.481686][2433:2438] CHIP:DMG: - [1657894672.481720][2433:2438] CHIP:DMG: InteractionModelRevision = 1 - [1657894672.481754][2433:2438] CHIP:DMG: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read extension 1 0 - On TH1 ,VERIFY DUT RESPONDS SUCCESSFULLY. - - [1657187433.621369][10890:10895] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 3415499944 - [1657187433.621422][10890:10895] CHIP:TOO: Extension: 1 entries - [1657187433.621470][10890:10895] CHIP:TOO: [1]: { - [1657187433.621498][10890:10895] CHIP:TOO: Data: 1000110010001100 - [1657187433.621534][10890:10895] CHIP:TOO: FabricIndex: 1 - [1657187433.621557][10890:10895] CHIP:TOO: } - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read extension 2 0 - - On TH2, Verify DUT Responds successfully - [1658327214.683199][2749:2754] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 2953114587 - [1658327214.683283][2749:2754] CHIP:TOO: Extension: 1 entries - [1658327214.683348][2749:2754] CHIP:TOO: [1]: { - [1658327214.683388][2749:2754] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 - [1658327214.683423][2749:2754] CHIP:TOO: FabricIndex: 2 - [1658327214.683454][2749:2754] CHIP:TOO: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlExtensionChanged event" - PICS: ACL.S.E01 - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - [1658327494.282263][2810:2815] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 - [1658327494.282295][2810:2815] CHIP:TOO: Event number: 5 - [1658327494.282319][2810:2815] CHIP:TOO: Priority: Info - [1658327494.282342][2810:2815] CHIP:TOO: Timestamp: 4621721 - [1658327494.282458][2810:2815] CHIP:TOO: AccessControlExtensionChanged: { - [1658327494.282497][2810:2815] CHIP:TOO: AdminNodeID: 112233 - [1658327494.282524][2810:2815] CHIP:TOO: AdminPasscodeID: null - [1658327494.282551][2810:2815] CHIP:TOO: ChangeType: 1 - [1658327494.282576][2810:2815] CHIP:TOO: LatestValue: { - [1658327494.282633][2810:2815] CHIP:TOO: Data: 1718 - [1658327494.282660][2810:2815] CHIP:TOO: FabricIndex: 1 - [1658327494.282684][2810:2815] CHIP:TOO: } - [1658327494.282709][2810:2815] CHIP:TOO: AdminFabricIndex: 1 - [1658327494.282733][2810:2815] CHIP:TOO: } - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 AccessControl cluster - AccessControlExtensionChanged event" - PICS: ACL.S.E01 - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 2 0 - On TH2, Verify DUT Responds successfully - - [1658327551.622018][4295:4300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 - [1658327551.622043][4295:4300] CHIP:TOO: Event number: 6 - [1658327551.622065][4295:4300] CHIP:TOO: Priority: Info - [1658327551.622130][4295:4300] CHIP:TOO: Timestamp: 4633724 - [1658327551.622239][4295:4300] CHIP:TOO: AccessControlExtensionChanged: { - [1658327551.622287][4295:4300] CHIP:TOO: AdminNodeID: 112233 - [1658327551.622313][4295:4300] CHIP:TOO: AdminPasscodeID: null - [1658327551.622337][4295:4300] CHIP:TOO: ChangeType: 1 - [1658327551.622361][4295:4300] CHIP:TOO: LatestValue: { - [1658327551.622389][4295:4300] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 - [1658327551.622414][4295:4300] CHIP:TOO: FabricIndex: 2 - [1658327551.622436][4295:4300] CHIP:TOO: } - [1658327551.622459][4295:4300] CHIP:TOO: AdminFabricIndex: 2 - [1658327551.622480][4295:4300] CHIP:TOO: } - disabled: true - - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - DUT - sudo ./chip-all-clusters-app - - TH - ./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841 - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - - On TH1, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 - - [1656588171.078880][3260:3265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1776815488 - [1656588171.078952][3260:3265] CHIP:TOO: CurrentFabricIndex: 1 - [1656588171.079037][3260:3265] CHIP:EM: Sending Standalone Ack for MessageCounter:260718042 on exchange 36423i - disabled: true - - - label: - "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin - node ID N2" - verification: | - Open a commissioning window on TH1 using below command - - ./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000 - - [1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage = - [1657286379.420894][4724:4729] CHIP:DMG: { - [1657286379.420937][4724:4729] CHIP:DMG: suppressResponse = false, - [1657286379.421000][4724:4729] CHIP:DMG: InvokeResponseIBs = - [1657286379.421068][4724:4729] CHIP:DMG: [ - [1657286379.421120][4724:4729] CHIP:DMG: InvokeResponseIB = - [1657286379.421208][4724:4729] CHIP:DMG: { - [1657286379.421264][4724:4729] CHIP:DMG: CommandStatusIB = - [1657286379.421344][4724:4729] CHIP:DMG: { - [1657286379.421407][4724:4729] CHIP:DMG: CommandPathIB = - [1657286379.421493][4724:4729] CHIP:DMG: { - [1657286379.421581][4724:4729] CHIP:DMG: EndpointId = 0x0, - [1657286379.421656][4724:4729] CHIP:DMG: ClusterId = 0x3c, - [1657286379.421754][4724:4729] CHIP:DMG: CommandId = 0x1, - [1657286379.421838][4724:4729] CHIP:DMG: }, - [1657286379.421916][4724:4729] CHIP:DMG: - [1657286379.421998][4724:4729] CHIP:DMG: StatusIB = - [1657286379.422084][4724:4729] CHIP:DMG: { - [1657286379.422159][4724:4729] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286379.422251][4724:4729] CHIP:DMG: }, - [1657286379.422336][4724:4729] CHIP:DMG: - [1657286379.422397][4724:4729] CHIP:DMG: }, - [1657286379.422483][4724:4729] CHIP:DMG: - [1657286379.422537][4724:4729] CHIP:DMG: }, - [1657286379.422616][4724:4729] CHIP:DMG: - [1657286379.422666][4724:4729] CHIP:DMG: ], - [1657286379.422745][4724:4729] CHIP:DMG: - [1657286379.422796][4724:4729] CHIP:DMG: InteractionModelRevision = 1 - [1657286379.422861][4724:4729] CHIP:DMG: }, - [1657286379.422975][4724:4729] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1657286379.423058][4724:4729] CHIP:DMG: ICR moving to [AwaitingDe] - - - - Commission TH2 to DUT using below command - - ./chip-tool pairing onnetwork 2 20202021 --commissioner-nodeid 223344 --commissioner-name beta - - [1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step "Cleanup" - [1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-nodeid 223344 --commissioner-name beta - - - 1658747098.843523][3024:3029] CHIP:DMG: }, - [1658747098.843552][3024:3029] CHIP:DMG: - [1658747098.843575][3024:3029] CHIP:DMG: ], - [1658747098.843604][3024:3029] CHIP:DMG: - [1658747098.843628][3024:3029] CHIP:DMG: SuppressResponse = true, - [1658747098.843653][3024:3029] CHIP:DMG: InteractionModelRevision = 1 - [1658747098.843676][3024:3029] CHIP:DMG: } - [1658747098.843805][3024:3029] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2815046656 - [1658747098.846044][3024:3029] CHIP:TOO: CurrentFabricIndex: 2 - [1658747098.846131][3024:3029] CHIP:EM: Sending Standalone Ack for MessageCounter:263449390 on exchange 10738i - [1658747098.846202][3024:3029] CHIP:IN: Prepared secure message 0xffffb67cd9e8 to 0x0000000000000002 (2) of type 0x10 and protocolId (0, 0) on exchange 10738i with MessageCounter:175421270. - [1658747098.846282][3024:3029] CHIP:IN: Sending encrypted msg 0xffffb67cd9e8 with MessageCounter:175421270 to 0x0000000000000002 (2) at monotonic time: 00000000009FA528 msec - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 1 element struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1, 1111] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets":null}]" 1 0 - On TH1, VERIFY DUT Responds Successfully. - - [1657286416.461279][4737:4742] CHIP:DMG: { - [1657286416.461307][4737:4742] CHIP:DMG: AttributeStatusIBs = - [1657286416.461345][4737:4742] CHIP:DMG: [ - [1657286416.461375][4737:4742] CHIP:DMG: AttributeStatusIB = - [1657286416.461409][4737:4742] CHIP:DMG: { - [1657286416.461441][4737:4742] CHIP:DMG: AttributePathIB = - [1657286416.461479][4737:4742] CHIP:DMG: { - [1657286416.461517][4737:4742] CHIP:DMG: Endpoint = 0x0, - [1657286416.461559][4737:4742] CHIP:DMG: Cluster = 0x1f, - [1657286416.461599][4737:4742] CHIP:DMG: Attribute = 0x0000_0000, - [1657286416.461657][4737:4742] CHIP:DMG: } - [1657286416.461741][4737:4742] CHIP:DMG: - [1657286416.461814][4737:4742] CHIP:DMG: StatusIB = - [1657286416.461879][4737:4742] CHIP:DMG: { - [1657286416.461945][4737:4742] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286416.462017][4737:4742] CHIP:DMG: }, - [1657286416.462081][4737:4742] CHIP:DMG: - [1657286416.462134][4737:4742] CHIP:DMG: }, - [1657286416.462207][4737:4742] CHIP:DMG: - [1657286416.462258][4737:4742] CHIP:DMG: AttributeStatusIB = - [1657286416.462314][4737:4742] CHIP:DMG: { - [1657286416.462368][4737:4742] CHIP:DMG: AttributePathIB = - [1657286416.462430][4737:4742] CHIP:DMG: { - [1657286416.462495][4737:4742] CHIP:DMG: Endpoint = 0x0, - [1657286416.462565][4737:4742] CHIP:DMG: Cluster = 0x1f, - [1657286416.462640][4737:4742] CHIP:DMG: Attribute = 0x0000_0000, - [1657286416.462715][4737:4742] CHIP:DMG: ListIndex = Null, - [1657286416.462779][4737:4742] CHIP:DMG: } - [1657286416.462849][4737:4742] CHIP:DMG: - [1657286416.462910][4737:4742] CHIP:DMG: StatusIB = - [1657286416.462972][4737:4742] CHIP:DMG: { - [1657286416.463036][4737:4742] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286416.463101][4737:4742] CHIP:DMG: }, - [1657286416.463164][4737:4742] CHIP:DMG: - [1657286416.463216][4737:4742] CHIP:DMG: }, - [1657286416.463277][4737:4742] CHIP:DMG: - [1657286416.463326][4737:4742] CHIP:DMG: ], - [1657286416.463394][4737:4742] CHIP:DMG: - [1657286416.463447][4737:4742] CHIP:DMG: InteractionModelRevision = 1 - [1657286416.463495][4737:4742] CHIP:DMG: } - [1657286416.463687][4737:4742] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1657286416.463785][4737:4742] CHIP:EM: Sending Standalone Ack for MessageCounter:171860790 on exchange 42820i - disabled: true - - - label: - "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 1 element struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N2, 2222] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets":null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH2, VERIFY DUT Responds Successfully. - - [1658747124.117113][3031:3036] CHIP:DMG: { - [1658747124.117163][3031:3036] CHIP:DMG: AttributeStatusIBs = - [1658747124.117214][3031:3036] CHIP:DMG: [ - [1658747124.117269][3031:3036] CHIP:DMG: AttributeStatusIB = - [1658747124.117317][3031:3036] CHIP:DMG: { - [1658747124.117377][3031:3036] CHIP:DMG: AttributePathIB = - [1658747124.117434][3031:3036] CHIP:DMG: { - [1658747124.117488][3031:3036] CHIP:DMG: Endpoint = 0x0, - [1658747124.117548][3031:3036] CHIP:DMG: Cluster = 0x1f, - [1658747124.117602][3031:3036] CHIP:DMG: Attribute = 0x0000_0000, - [1658747124.117657][3031:3036] CHIP:DMG: } - [1658747124.117715][3031:3036] CHIP:DMG: - [1658747124.117764][3031:3036] CHIP:DMG: StatusIB = - [1658747124.117814][3031:3036] CHIP:DMG: { - [1658747124.117866][3031:3036] CHIP:DMG: status = 0x00 (SUCCESS), - [1658747124.117921][3031:3036] CHIP:DMG: }, - [1658747124.117972][3031:3036] CHIP:DMG: - [1658747124.118016][3031:3036] CHIP:DMG: }, - [1658747124.118077][3031:3036] CHIP:DMG: - [1658747124.118116][3031:3036] CHIP:DMG: AttributeStatusIB = - [1658747124.118161][3031:3036] CHIP:DMG: { - [1658747124.118205][3031:3036] CHIP:DMG: AttributePathIB = - [1658747124.118285][3031:3036] CHIP:DMG: { - [1658747124.118340][3031:3036] CHIP:DMG: Endpoint = 0x0, - [1658747124.118394][3031:3036] CHIP:DMG: Cluster = 0x1f, - [1658747124.118453][3031:3036] CHIP:DMG: Attribute = 0x0000_0000, - [1658747124.118505][3031:3036] CHIP:DMG: ListIndex = Null, - [1658747124.118555][3031:3036] CHIP:DMG: } - [1658747124.118609][3031:3036] CHIP:DMG: - [1658747124.118658][3031:3036] CHIP:DMG: StatusIB = - [1658747124.118707][3031:3036] CHIP:DMG: { - [1658747124.118757][3031:3036] CHIP:DMG: status = 0x00 (SUCCESS), - [1658747124.118810][3031:3036] CHIP:DMG: }, - [1658747124.118861][3031:3036] CHIP:DMG: - [1658747124.118904][3031:3036] CHIP:DMG: }, - [1658747124.118954][3031:3036] CHIP:DMG: - [1658747124.118992][3031:3036] CHIP:DMG: ], - [1658747124.119044][3031:3036] CHIP:DMG: - [1658747124.119082][3031:3036] CHIP:DMG: InteractionModelRevision = 1 - [1658747124.119119][3031:3036] CHIP:DMG: } - [1658747124.119272][3031:3036] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658747124.119359][3031:3036] CHIP:EM: Sending Standalone Ack for MessageCounter:33509818 on exchange 38117i - [1658747124.119446][3031:3036] CHIP:IN: Prepared secure message 0xffff7a7cd9e8 to 0x0000000000000002 (2) of type 0x10 and protocolId (0, 0) on exchange 38117i with MessageCounter:75755402. - [1658747124.119505][3031:3036] CHIP:IN: Sending encrypted msg 0xffff7a7cd9e8 with MessageCounter:7575 - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH1, VERIFY DUT Responds Successfully. - [1657286432.997319][4745:4751] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3308562949 - [1657286432.997655][4745:4751] CHIP:TOO: ACL: 1 entries - [1657286432.997727][4745:4751] CHIP:TOO: [1]: { - [1657286432.997774][4745:4751] CHIP:TOO: Privilege: 5 - [1657286432.997802][4745:4751] CHIP:TOO: AuthMode: 2 - [1657286432.997834][4745:4751] CHIP:TOO: Subjects: 2 entries - [1657286432.997867][4745:4751] CHIP:TOO: [1]: 112233 - [1657286432.997896][4745:4751] CHIP:TOO: [2]: 1111 - [1657286432.997925][4745:4751] CHIP:TOO: Targets: null - [1657286432.997950][4745:4751] CHIP:TOO: FabricIndex: 1 - [1657286432.997976][4745:4751] CHIP:TOO: } - disabled: true - - - label: "TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344 - - On TH2, VERIFY DUT Responds Successfully. - [1657286742.977222][18111:18116] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3308562953 - [1657286742.977287][18111:18116] CHIP:TOO: ACL: 1 entries - [1657286742.977344][18111:18116] CHIP:TOO: [1]: { - [1657286742.977368][18111:18116] CHIP:TOO: Privilege: 5 - [1657286742.977392][18111:18116] CHIP:TOO: AuthMode: 2 - [1657286742.977416][18111:18116] CHIP:TOO: Subjects: 2 entries - [1657286742.977447][18111:18116] CHIP:TOO: [1]: 223344 - [1657286742.977468][18111:18116] CHIP:TOO: [2]: 1111 - [1657286742.977492][18111:18116] CHIP:TOO: Targets: null - [1657286742.977515][18111:18116] CHIP:TOO: FabricIndex: 1 - [1657286742.977537][18111:18116] CHIP:TOO: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - On TH1, VERIFY DUT Responds Successfully. - - - [1657286873.948408][4767:4772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657286873.948509][4767:4772] CHIP:TOO: Event number: 1 - [1657286873.948539][4767:4772] CHIP:TOO: Priority: Info - [1657286873.948567][4767:4772] CHIP:TOO: Timestamp: 31107322 - [1657286873.948707][4767:4772] CHIP:TOO: AccessControlEntryChanged: { - [1657286873.948741][4767:4772] CHIP:TOO: AdminNodeID: null - [1657286873.948781][4767:4772] CHIP:TOO: AdminPasscodeID: 0 - [1657286873.948811][4767:4772] CHIP:TOO: ChangeType: 1 - [1657286873.948840][4767:4772] CHIP:TOO: LatestValue: { - [1657286873.948868][4767:4772] CHIP:TOO: Privilege: 5 - [1657286873.948895][4767:4772] CHIP:TOO: AuthMode: 2 - [1657286873.948930][4767:4772] CHIP:TOO: Subjects: 1 entries - [1657286873.948967][4767:4772] CHIP:TOO: [1]: 112233 - [1657286873.948998][4767:4772] CHIP:TOO: Targets: null - [1657286873.949026][4767:4772] CHIP:TOO: FabricIndex: 1 - [1657286873.949054][4767:4772] CHIP:TOO: } - [1657286873.949082][4767:4772] CHIP:TOO: AdminFabricIndex: 1 - [1657286873.949109][4767:4772] CHIP:TOO: } - [1657286873.949254][4767:4772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657286873.949284][4767:4772] CHIP:TOO: Event number: 5 - [1657286873.949311][4767:4772] CHIP:TOO: Priority: Info - [1657286873.949337][4767:4772] CHIP:TOO: Timestamp: 31185059 - [1657286873.949422][4767:4772] CHIP:TOO: AccessControlEntryChanged: { - [1657286873.949454][4767:4772] CHIP:TOO: AdminNodeID: 112233 - [1657286873.949482][4767:4772] CHIP:TOO: AdminPasscodeID: null - [1657286873.949511][4767:4772] CHIP:TOO: ChangeType: 2 - [1657286873.949538][4767:4772] CHIP:TOO: LatestValue: { - [1657286873.949565][4767:4772] CHIP:TOO: Privilege: 5 - [1657286873.949592][4767:4772] CHIP:TOO: AuthMode: 2 - [1657286873.949623][4767:4772] CHIP:TOO: Subjects: 1 entries - [1657286873.949656][4767:4772] CHIP:TOO: [1]: 112233 - [1657286873.949687][4767:4772] CHIP:TOO: Targets: null - [1657286873.949712][4767:4772] CHIP:TOO: FabricIndex: 1 - [1657286873.949739][4767:4772] CHIP:TOO: } - [1657286873.949767][4767:4772] CHIP:TOO: AdminFabricIndex: 1 - [1657286873.949794][4767:4772] CHIP:TOO: } - [1657286873.949938][4767:4772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657286873.949970][4767:4772] CHIP:TOO: Event number: 6 - [1657286873.950056][4767:4772] CHIP:TOO: Priority: Info - [1657286873.950087][4767:4772] CHIP:TOO: Timestamp: 31185063 - [1657286873.950142][4767:4772] CHIP:TOO: AccessControlEntryChanged: { - [1657286873.950177][4767:4772] CHIP:TOO: AdminNodeID: 112233 - [1657286873.950208][4767:4772] CHIP:TOO: AdminPasscodeID: null - [1657286873.950238][4767:4772] CHIP:TOO: ChangeType: 1 - [1657286873.950268][4767:4772] CHIP:TOO: LatestValue: { - [1657286873.950298][4767:4772] CHIP:TOO: Privilege: 5 - [1657286873.950330][4767:4772] CHIP:TOO: AuthMode: 2 - [1657286873.950364][4767:4772] CHIP:TOO: Subjects: 2 entries - [1657286873.950400][4767:4772] CHIP:TOO: [1]: 112233 - [1657286873.950434][4767:4772] CHIP:TOO: [2]: 1111 - [1657286873.950467][4767:4772] CHIP:TOO: Targets: null - [1657286873.950497][4767:4772] CHIP:TOO: FabricIndex: 1 - [1657286873.950527][4767:4772] CHIP:TOO: } - [1657286873.950557][4767:4772] CHIP:TOO: AdminFabricIndex: 1 - [1657286873.950586][4767:4772] CHIP:TOO: } - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH2, VERIFY DUT Responds Successfully. - - - - [1657287207.040351][18332:18337] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657287207.040361][18332:18337] CHIP:TOO: Event number: 4 - [1657287207.040369][18332:18337] CHIP:TOO: Priority: Info - [1657287207.040376][18332:18337] CHIP:TOO: Timestamp: 31805127 - [1657287207.040425][18332:18337] CHIP:TOO: AccessControlEntryChanged: { - [1657287207.040440][18332:18337] CHIP:TOO: AdminNodeID: null - [1657287207.040451][18332:18337] CHIP:TOO: AdminPasscodeID: 0 - [1657287207.040460][18332:18337] CHIP:TOO: ChangeType: 1 - [1657287207.040467][18332:18337] CHIP:TOO: LatestValue: { - [1657287207.040474][18332:18337] CHIP:TOO: Privilege: 5 - [1657287207.040482][18332:18337] CHIP:TOO: AuthMode: 2 - [1657287207.040492][18332:18337] CHIP:TOO: Subjects: 1 entries - [1657287207.040502][18332:18337] CHIP:TOO: [1]: 223344 - [1657287207.040510][18332:18337] CHIP:TOO: Targets: null - [1657287207.040518][18332:18337] CHIP:TOO: FabricIndex: 2 - [1657287207.040526][18332:18337] CHIP:TOO: } - [1657287207.040533][18332:18337] CHIP:TOO: AdminFabricIndex: 2 - [1657287207.040540][18332:18337] CHIP:TOO: } - [1657287207.040612][18332:18337] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657287207.040619][18332:18337] CHIP:TOO: Event number: 7 - [1657287207.040624][18332:18337] CHIP:TOO: Priority: Info - [1657287207.040630][18332:18337] CHIP:TOO: Timestamp: 31903266 - [1657287207.040653][18332:18337] CHIP:TOO: AccessControlEntryChanged: { - [1657287207.040660][18332:18337] CHIP:TOO: AdminNodeID: 223344 - [1657287207.040667][18332:18337] CHIP:TOO: AdminPasscodeID: null - [1657287207.040675][18332:18337] CHIP:TOO: ChangeType: 2 - [1657287207.040681][18332:18337] CHIP:TOO: LatestValue: { - [1657287207.040688][18332:18337] CHIP:TOO: Privilege: 5 - [1657287207.040695][18332:18337] CHIP:TOO: AuthMode: 2 - [1657287207.040703][18332:18337] CHIP:TOO: Subjects: 1 entries - [1657287207.040713][18332:18337] CHIP:TOO: [1]: 223344 - [1657287207.040721][18332:18337] CHIP:TOO: Targets: null - [1657287207.040728][18332:18337] CHIP:TOO: FabricIndex: 2 - [1657287207.040735][18332:18337] CHIP:TOO: } - [1657287207.040742][18332:18337] CHIP:TOO: AdminFabricIndex: 2 - [1657287207.040749][18332:18337] CHIP:TOO: } - [1657287207.040819][18332:18337] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1657287207.040827][18332:18337] CHIP:TOO: Event number: 8 - [1657287207.040833][18332:18337] CHIP:TOO: Priority: Info - [1657287207.040840][18332:18337] CHIP:TOO: Timestamp: 31903269 - [1657287207.040856][18332:18337] CHIP:TOO: AccessControlEntryChanged: { - [1657287207.040865][18332:18337] CHIP:TOO: AdminNodeID: 223344 - [1657287207.040872][18332:18337] CHIP:TOO: AdminPasscodeID: null - [1657287207.040879][18332:18337] CHIP:TOO: ChangeType: 1 - [1657287207.040887][18332:18337] CHIP:TOO: LatestValue: { - [1657287207.040894][18332:18337] CHIP:TOO: Privilege: 5 - [1657287207.040901][18332:18337] CHIP:TOO: AuthMode: 2 - [1657287207.040910][18332:18337] CHIP:TOO: Subjects: 2 entries - [1657287207.040919][18332:18337] CHIP:TOO: [1]: 223344 - [1657287207.040928][18332:18337] CHIP:TOO: [2]: 1111 - [1657287207.040936][18332:18337] CHIP:TOO: Targets: null - [1657287207.040943][18332:18337] CHIP:TOO: FabricIndex: 2 - [1657287207.040950][18332:18337] CHIP:TOO: } - [1657287207.040957][18332:18337] CHIP:TOO: AdminFabricIndex: 2 - [1657287207.040964][18332:18337] CHIP:TOO: } - disabled: true - - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - verification step to be updated. - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 1 element struct - Privilege field: Manage (4) AuthMode field: CASE (2) Subjects field: - [N1] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [112233], "targets": null}]" 1 0 - On TH, VERIFY DUT Responds Successfully. - - [1656589077.991761][3452:3457] CHIP:DMG: WriteClient moving to [ResponseRe] - [1656589077.991838][3452:3457] CHIP:DMG: WriteResponseMessage = - [1656589077.991879][3452:3457] CHIP:DMG: { - [1656589077.991914][3452:3457] CHIP:DMG: AttributeStatusIBs = - [1656589077.991964][3452:3457] CHIP:DMG: [ - [1656589077.992003][3452:3457] CHIP:DMG: AttributeStatusIB = - [1656589077.992047][3452:3457] CHIP:DMG: { - [1656589077.992090][3452:3457] CHIP:DMG: AttributePathIB = - [1656589077.992146][3452:3457] CHIP:DMG: { - [1656589077.992198][3452:3457] CHIP:DMG: Endpoint = 0x0, - [1656589077.992253][3452:3457] CHIP:DMG: Cluster = 0x1f, - [1656589077.992307][3452:3457] CHIP:DMG: Attribute = 0x0000_0000, - [1656589077.992361][3452:3457] CHIP:DMG: } - [1656589077.992416][3452:3457] CHIP:DMG: - [1656589077.992465][3452:3457] CHIP:DMG: StatusIB = - [1656589077.992516][3452:3457] CHIP:DMG: { - [1656589077.992565][3452:3457] CHIP:DMG: status = 0x00 (SUCCESS), - [1656589077.992642][3452:3457] CHIP:DMG: }, - [1656589077.992695][3452:3457] CHIP:DMG: - [1656589077.992736][3452:3457] CHIP:DMG: }, - [1656589077.992794][3452:3457] CHIP:DMG: - [1656589077.992833][3452:3457] CHIP:DMG: AttributeStatusIB = - [1656589077.992879][3452:3457] CHIP:DMG: { - [1656589077.992920][3452:3457] CHIP:DMG: AttributePathIB = - [1656589077.992968][3452:3457] CHIP:DMG: { - [1656589077.993018][3452:3457] CHIP:DMG: Endpoint = 0x0, - [1656589077.993076][3452:3457] CHIP:DMG: Cluster = 0x1f, - [1656589077.993130][3452:3457] CHIP:DMG: Attribute = 0x0000_0000, - [1656589077.993184][3452:3457] CHIP:DMG: ListIndex = Null, - [1656589077.993234][3452:3457] CHIP:DMG: } - [1656589077.993288][3452:3457] CHIP:DMG: - [1656589077.993335][3452:3457] CHIP:DMG: StatusIB = - [1656589077.993382][3452:3457] CHIP:DMG: { - [1656589077.993431][3452:3457] CHIP:DMG: status = 0x00 (SUCCESS), - [1656589077.993480][3452:3457] CHIP:DMG: }, - [1656589077.993530][3452:3457] CHIP:DMG: - [1656589077.993571][3452:3457] CHIP:DMG: }, - [1656589077.993619][3452:3457] CHIP:DMG: - [1656589077.993657][3452:3457] CHIP:DMG: ], - [1656589077.993710][3452:3457] CHIP:DMG: - [1656589077.993749][3452:3457] CHIP:DMG: InteractionModelRevision = 1 - [1656589077.993787][3452:3457] CHIP:DMG: } - [1656589077.993938][3452:3457] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1656589077.994024][3452:3457] CHIP:EM: Sending Standalone Ack for MessageCounter:54734971 on exchange 46491i - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH, VERIFY DUT Responds Successfully. - [1656589294.730359][3469:3474] CHIP:DMG: ReportDataMessage = - [1656589294.730409][3469:3474] CHIP:DMG: { - [1656589294.730449][3469:3474] CHIP:DMG: AttributeReportIBs = - [1656589294.730506][3469:3474] CHIP:DMG: [ - [1656589294.730550][3469:3474] CHIP:DMG: AttributeReportIB = - [1656589294.730616][3469:3474] CHIP:DMG: { - [1656589294.730663][3469:3474] CHIP:DMG: AttributeStatusIB = - [1656589294.730719][3469:3474] CHIP:DMG: { - [1656589294.730772][3469:3474] CHIP:DMG: AttributePathIB = - [1656589294.730834][3469:3474] CHIP:DMG: { - [1656589294.730896][3469:3474] CHIP:DMG: Endpoint = 0x0, - [1656589294.730961][3469:3474] CHIP:DMG: Cluster = 0x1f, - [1656589294.731078][3469:3474] CHIP:DMG: Attribute = 0x0000_0000, - [1656589294.731174][3469:3474] CHIP:DMG: } - [1656589294.731244][3469:3474] CHIP:DMG: - [1656589294.731303][3469:3474] CHIP:DMG: StatusIB = - [1656589294.731364][3469:3474] CHIP:DMG: { - [1656589294.731424][3469:3474] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656589294.731484][3469:3474] CHIP:DMG: }, - [1656589294.731545][3469:3474] CHIP:DMG: - [1656589294.731600][3469:3474] CHIP:DMG: }, - [1656589294.731662][3469:3474] CHIP:DMG: - [1656589294.731712][3469:3474] CHIP:DMG: }, - [1656589294.731769][3469:3474] CHIP:DMG: - [1656589294.731813][3469:3474] CHIP:DMG: ], - [1656589294.731867][3469:3474] CHIP:DMG: - [1656589294.731913][3469:3474] CHIP:DMG: SuppressResponse = true, - [1656589294.731959][3469:3474] CHIP:DMG: InteractionModelRevision = 1 - [1656589294.732001][3469:3474] CHIP:DMG: } - [1656589294.732174][3469:3474] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656589294.732303][3469:3474] CHIP:EM: Sending Standalone Ack for MessageCounter:239082421 on exchange 10750i - [1656589294.732405][3469:3474] CHIP:IN: Prepared secure message 0xffffa9da2958 to 0x0000000000000001 (1) - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 1 element 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1] Targets field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}]" 1 0 - On TH, VERIFY DUT Responds Successfully. - - [1656589843.696435][3518:3523] CHIP:DMG: WriteResponseMessage = - [1656589843.696471][3518:3523] CHIP:DMG: { - [1656589843.696504][3518:3523] CHIP:DMG: AttributeStatusIBs = - [1656589843.696549][3518:3523] CHIP:DMG: [ - [1656589843.696636][3518:3523] CHIP:DMG: AttributeStatusIB = - [1656589843.696685][3518:3523] CHIP:DMG: { - [1656589843.696724][3518:3523] CHIP:DMG: AttributePathIB = - [1656589843.696767][3518:3523] CHIP:DMG: { - [1656589843.696813][3518:3523] CHIP:DMG: Endpoint = 0x0, - [1656589843.696859][3518:3523] CHIP:DMG: Cluster = 0x1f, - [1656589843.696905][3518:3523] CHIP:DMG: Attribute = 0x0000_0000, - [1656589843.696951][3518:3523] CHIP:DMG: } - [1656589843.697002][3518:3523] CHIP:DMG: - [1656589843.697046][3518:3523] CHIP:DMG: StatusIB = - [1656589843.697092][3518:3523] CHIP:DMG: { - [1656589843.697137][3518:3523] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656589843.697179][3518:3523] CHIP:DMG: }, - [1656589843.697225][3518:3523] CHIP:DMG: - [1656589843.697265][3518:3523] CHIP:DMG: }, - [1656589843.697316][3518:3523] CHIP:DMG: - [1656589843.697352][3518:3523] CHIP:DMG: AttributeStatusIB = - [1656589843.697393][3518:3523] CHIP:DMG: { - [1656589843.697430][3518:3523] CHIP:DMG: AttributePathIB = - [1656589843.697473][3518:3523] CHIP:DMG: { - [1656589843.697518][3518:3523] CHIP:DMG: Endpoint = 0x0, - [1656589843.697567][3518:3523] CHIP:DMG: Cluster = 0x1f, - [1656589843.697616][3518:3523] CHIP:DMG: Attribute = 0x0000_0000, - [1656589843.697662][3518:3523] CHIP:DMG: ListIndex = Null, - [1656589843.697708][3518:3523] CHIP:DMG: } - [1656589843.697758][3518:3523] CHIP:DMG: - [1656589843.697802][3518:3523] CHIP:DMG: StatusIB = - [1656589843.697846][3518:3523] CHIP:DMG: { - [1656589843.697890][3518:3523] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656589843.697939][3518:3523] CHIP:DMG: }, - [1656589843.697985][3518:3523] CHIP:DMG: - [1656589843.698026][3518:3523] CHIP:DMG: }, - [1656589843.698071][3518:3523] CHIP:DMG: - [1656589843.698106][3518:3523] CHIP:DMG: ], - [1656589843.698154][3518:3523] CHIP:DMG: - [1656589843.698190][3518:3523] CHIP:DMG: InteractionModelRevision = 1 - [1656589843.698225][3518:3523] CHIP:DMG: } - [1656589843.698364][3518:3523] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1656589843.698409][3518:3523] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656589843.698479][3518:3523] CHIP:EM: Sending Standalone Ack for MessageCounter:108024547 on exchange 43576i - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol read extension 1 0 - On TH, VERIFY DUT Responds Successfully. - [1656590048.181895][3536:3541] CHIP:DMG: ReportDataMessage = - [1656590048.181938][3536:3541] CHIP:DMG: { - [1656590048.181973][3536:3541] CHIP:DMG: AttributeReportIBs = - [1656590048.182023][3536:3541] CHIP:DMG: [ - [1656590048.182063][3536:3541] CHIP:DMG: AttributeReportIB = - [1656590048.182119][3536:3541] CHIP:DMG: { - [1656590048.182161][3536:3541] CHIP:DMG: AttributeStatusIB = - [1656590048.182210][3536:3541] CHIP:DMG: { - [1656590048.182257][3536:3541] CHIP:DMG: AttributePathIB = - [1656590048.182311][3536:3541] CHIP:DMG: { - [1656590048.182366][3536:3541] CHIP:DMG: Endpoint = 0x0, - [1656590048.182424][3536:3541] CHIP:DMG: Cluster = 0x1f, - [1656590048.182482][3536:3541] CHIP:DMG: Attribute = 0x0000_0001, - [1656590048.182540][3536:3541] CHIP:DMG: } - [1656590048.182601][3536:3541] CHIP:DMG: - [1656590048.182653][3536:3541] CHIP:DMG: StatusIB = - [1656590048.182711][3536:3541] CHIP:DMG: { - [1656590048.182766][3536:3541] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656590048.182819][3536:3541] CHIP:DMG: }, - [1656590048.182873][3536:3541] CHIP:DMG: - [1656590048.182920][3536:3541] CHIP:DMG: }, - [1656590048.182973][3536:3541] CHIP:DMG: - [1656590048.183017][3536:3541] CHIP:DMG: }, - [1656590048.183066][3536:3541] CHIP:DMG: - [1656590048.183104][3536:3541] CHIP:DMG: ], - [1656590048.183152][3536:3541] CHIP:DMG: - [1656590048.183192][3536:3541] CHIP:DMG: SuppressResponse = true, - [1656590048.183233][3536:3541] CHIP:DMG: InteractionModelRevision = 1 - [1656590048.183271][3536:3541] CHIP:DMG: } - [1656590048.183424][3536:3541] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656590048.183539][3536:3541] CHIP:EM: Sending Standalone Ack for MessageCounter:5598495 on exchange 61834i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, - value is an empty list" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol write extension [] 1 0 - On TH , Verify DUT Responds Successfully with extension attribute value is an empty list. - - [1656592607.144276][3897:3903] CHIP:DMG: WriteClient moving to [ResponseRe] - [1656592607.144341][3897:3903] CHIP:DMG: WriteResponseMessage = - [1656592607.144378][3897:3903] CHIP:DMG: { - [1656592607.144410][3897:3903] CHIP:DMG: AttributeStatusIBs = - [1656592607.144463][3897:3903] CHIP:DMG: [ - [1656592607.144499][3897:3903] CHIP:DMG: AttributeStatusIB = - [1656592607.144539][3897:3903] CHIP:DMG: { - [1656592607.144576][3897:3903] CHIP:DMG: AttributePathIB = - [1656592607.144652][3897:3903] CHIP:DMG: { - [1656592607.144700][3897:3903] CHIP:DMG: Endpoint = 0x0, - [1656592607.144751][3897:3903] CHIP:DMG: Cluster = 0x1f, - [1656592607.144799][3897:3903] CHIP:DMG: Attribute = 0x0000_0001, - [1656592607.144846][3897:3903] CHIP:DMG: } - [1656592607.144897][3897:3903] CHIP:DMG: - [1656592607.144939][3897:3903] CHIP:DMG: StatusIB = - [1656592607.144986][3897:3903] CHIP:DMG: { - [1656592607.145030][3897:3903] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656592607.145080][3897:3903] CHIP:DMG: }, - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - SubjectsPerAccessControlEntry attribute" - PICS: ACL.S.A0002 - verification: | - ./chip-tool accesscontrol read subjects-per-access-control-entry 1 0 - On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry. - - [1656592739.107798][3916:3921] CHIP:DMG: ReportDataMessage = - [1656592739.107828][3916:3921] CHIP:DMG: { - [1656592739.107850][3916:3921] CHIP:DMG: AttributeReportIBs = - [1656592739.107881][3916:3921] CHIP:DMG: [ - [1656592739.107906][3916:3921] CHIP:DMG: AttributeReportIB = - [1656592739.107938][3916:3921] CHIP:DMG: { - [1656592739.107963][3916:3921] CHIP:DMG: AttributeDataIB = - [1656592739.107998][3916:3921] CHIP:DMG: { - [1656592739.108032][3916:3921] CHIP:DMG: DataVersion = 0x182902e1, - [1656592739.108068][3916:3921] CHIP:DMG: AttributePathIB = - [1656592739.108103][3916:3921] CHIP:DMG: { - [1656592739.108137][3916:3921] CHIP:DMG: Endpoint = 0x0, - [1656592739.108177][3916:3921] CHIP:DMG: Cluster = 0x1f, - [1656592739.108216][3916:3921] CHIP:DMG: Attribute = 0x0000_0002, - [1656592739.108252][3916:3921] CHIP:DMG: } - [1656592739.108287][3916:3921] CHIP:DMG: - [1656592739.108325][3916:3921] CHIP:DMG: Data = 4, - [1656592739.108355][3916:3921] CHIP:DMG: }, - [1656592739.108388][3916:3921] CHIP:DMG: - [1656592739.108413][3916:3921] CHIP:DMG: }, - [1656592739.108443][3916:3921] CHIP:DMG: - [1656592739.108466][3916:3921] CHIP:DMG: ], - [1656592739.108496][3916:3921] CHIP:DMG: - [1656592739.108520][3916:3921] CHIP:DMG: SuppressResponse = true, - [1656592739.108545][3916:3921] CHIP:DMG: InteractionModelRevision = 1 - [1656592739.108568][3916:3921] CHIP:DMG: } - [1656592739.108729][3916:3921] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0002 DataVersion: 405340897 - [1656592739.108793][3916:3921] CHIP:TOO: SubjectsPerAccessControlEntry: 4 - [1656592739.108878][3916:3921] CHIP:EM: Sending Standalone Ack for MessageCounter:265434881 on exchange 145 - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - TargetsPerAccessControlEntry attribute" - PICS: ACL.S.A0003 - verification: | - ./chip-tool accesscontrol read targets-per-access-control-entry 1 0 - On TH, verify DUT responds with value 3 or greater as TargetsPerAccessControlEntry - [1656593266.074720][3943:3948] CHIP:DMG: ReportDataMessage = - [1656593266.074748][3943:3948] CHIP:DMG: { - [1656593266.074769][3943:3948] CHIP:DMG: AttributeReportIBs = - [1656593266.074800][3943:3948] CHIP:DMG: [ - [1656593266.074824][3943:3948] CHIP:DMG: AttributeReportIB = - [1656593266.074863][3943:3948] CHIP:DMG: { - [1656593266.074889][3943:3948] CHIP:DMG: AttributeDataIB = - [1656593266.074919][3943:3948] CHIP:DMG: { - [1656593266.074950][3943:3948] CHIP:DMG: DataVersion = 0x182902e1, - [1656593266.074998][3943:3948] CHIP:DMG: AttributePathIB = - [1656593266.075037][3943:3948] CHIP:DMG: { - [1656593266.075074][3943:3948] CHIP:DMG: Endpoint = 0x0, - [1656593266.075112][3943:3948] CHIP:DMG: Cluster = 0x1f, - [1656593266.075145][3943:3948] CHIP:DMG: Attribute = 0x0000_0003, - [1656593266.075178][3943:3948] CHIP:DMG: } - [1656593266.075214][3943:3948] CHIP:DMG: - [1656593266.075246][3943:3948] CHIP:DMG: Data = 3, - [1656593266.075276][3943:3948] CHIP:DMG: }, - [1656593266.075309][3943:3948] CHIP:DMG: - [1656593266.075335][3943:3948] CHIP:DMG: }, - [1656593266.075365][3943:3948] CHIP:DMG: - [1656593266.075388][3943:3948] CHIP:DMG: ], - [1656593266.075418][3943:3948] CHIP:DMG: - [1656593266.075442][3943:3948] CHIP:DMG: SuppressResponse = true, - [1656593266.075467][3943:3948] CHIP:DMG: InteractionModelRevision = 1 - [1656593266.075491][3943:3948] CHIP:DMG: } - [1656593266.075626][3943:3948] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0003 DataVersion: 405340897 - [1656593266.075684][3943:3948] CHIP:TOO: TargetsPerAccessControlEntry: 3 - [1656593266.075758][3943:3948] CHIP:EM: Sending Standalone Ack for MessageCounter:42625412 on exchange 36195i - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntriesPerFabric attribute" - PICS: ACL.S.A0004 - verification: | - ./chip-tool accesscontrol read access-control-entries-per-fabric 1 0 - - On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric. - [1656593406.902865][3956:3961] CHIP:DMG: ReportDataMessage = - [1656593406.902902][3956:3961] CHIP:DMG: { - [1656593406.902931][3956:3961] CHIP:DMG: AttributeReportIBs = - [1656593406.902971][3956:3961] CHIP:DMG: [ - [1656593406.903004][3956:3961] CHIP:DMG: AttributeReportIB = - [1656593406.903049][3956:3961] CHIP:DMG: { - [1656593406.903087][3956:3961] CHIP:DMG: AttributeDataIB = - [1656593406.903128][3956:3961] CHIP:DMG: { - [1656593406.903173][3956:3961] CHIP:DMG: DataVersion = 0x182902e1, - [1656593406.903216][3956:3961] CHIP:DMG: AttributePathIB = - [1656593406.903259][3956:3961] CHIP:DMG: { - [1656593406.903304][3956:3961] CHIP:DMG: Endpoint = 0x0, - [1656593406.903354][3956:3961] CHIP:DMG: Cluster = 0x1f, - [1656593406.903400][3956:3961] CHIP:DMG: Attribute = 0x0000_0004, - [1656593406.903447][3956:3961] CHIP:DMG: } - [1656593406.903493][3956:3961] CHIP:DMG: - [1656593406.903539][3956:3961] CHIP:DMG: Data = 3, - [1656593406.903580][3956:3961] CHIP:DMG: }, - [1656593406.903624][3956:3961] CHIP:DMG: - [1656593406.903661][3956:3961] CHIP:DMG: }, - [1656593406.903700][3956:3961] CHIP:DMG: - [1656593406.903732][3956:3961] CHIP:DMG: ], - [1656593406.903771][3956:3961] CHIP:DMG: - [1656593406.903804][3956:3961] CHIP:DMG: SuppressResponse = true, - [1656593406.903837][3956:3961] CHIP:DMG: InteractionModelRevision = 1 - [1656593406.903868][3956:3961] CHIP:DMG: } - [1656593406.904032][3956:3961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0004 DataVersion: 405340897 - [1656593406.904102][3956:3961] CHIP:TOO: AccessControlEntriesPerFabric: 3 - [1656593406.904200][3956:3961] CHIP:EM: Sending Standalone Ack for MessageCounter:135320969 on exchange 30343i - [1656593406.904273][3956:3961] CHIP:IN: Prepared secure message 0xffff977ed958 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 30343i with MessageCounter:267106256. - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlEntryChanged event" - PICS: ACL.S.E00 - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - Verify in TH log - - [1656593588.305232][3979:3984] CHIP:DMG: }, - [1656593588.305269][3979:3984] CHIP:DMG: - [1656593588.305299][3979:3984] CHIP:DMG: StatusIB = - [1656593588.305333][3979:3984] CHIP:DMG: { - [1656593588.305371][3979:3984] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656593588.305408][3979:3984] CHIP:DMG: }, - [1656593588.305445][3979:3984] CHIP:DMG: - [1656593588.305475][3979:3984] CHIP:DMG: }, - [1656593588.305512][3979:3984] CHIP:DMG: - [1656593588.305542][3979:3984] CHIP:DMG: }, - [1656593588.305575][3979:3984] CHIP:DMG: - [1656593588.305602][3979:3984] CHIP:DMG: ], - [1656593588.305641][3979:3984] CHIP:DMG: - [1656593588.305668][3979:3984] CHIP:DMG: SuppressResponse = true, - [1656593588.305696][3979:3984] CHIP:DMG: InteractionModelRevision = 1 - [1656593588.305721][3979:3984] CHIP:DMG: } - [1656593588.305841][3979:3984] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656593588.305905][3979:3984] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656593588.305969][3979:3984] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) - [1656593588.306132][3979:3984] CHIP:EM: Sending Standalone Ack for MessageCounter:82107286 - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster - AccessControlExtensionChanged event" - PICS: ACL.S.E01 - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH, verify DUT Responds S uccessfully - [1656593726.387025][3990:3995] CHIP:DMG: - [1656593726.387048][3990:3995] CHIP:DMG: EventReportIB = - [1656593726.387078][3990:3995] CHIP:DMG: { - [1656593726.387103][3990:3995] CHIP:DMG: EventStatusIB = - [1656593726.387133][3990:3995] CHIP:DMG: { - [1656593726.387161][3990:3995] CHIP:DMG: EventPath = - [1656593726.387193][3990:3995] CHIP:DMG: { - [1656593726.387226][3990:3995] CHIP:DMG: Endpoint = 0x0, - [1656593726.387260][3990:3995] CHIP:DMG: Cluster = 0x1f, - [1656593726.387293][3990:3995] CHIP:DMG: Event = 0x1, - [1656593726.387324][3990:3995] CHIP:DMG: }, - [1656593726.387359][3990:3995] CHIP:DMG: - [1656593726.387388][3990:3995] CHIP:DMG: StatusIB = - [1656593726.387419][3990:3995] CHIP:DMG: { - [1656593726.387452][3990:3995] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656593726.387484][3990:3995] CHIP:DMG: }, - [1656593726.387516][3990:3995] CHIP:DMG: - [1656593726.387544][3990:3995] CHIP:DMG: }, - [1656593726.387577][3990:3995] CHIP:DMG: - [1656593726.387602][3990:3995] CHIP:DMG: }, - [1656593726.387635][3990:3995] CHIP:DMG: - [1656593726.387659][3990:3995] CHIP:DMG: EventReportIB = - [1656593726.387689][3990:3995] CHIP:DMG: { - [1656593726.387714][3990:3995] CHIP:DMG: EventStatusIB = - [1656593726.387743][3990:3995] CHIP:DMG: { - [1656593726.387772][3990:3995] CHIP:DMG: EventPath = - [1656593726.387804][3990:3995] CHIP:DMG: { - [1656593726.387837][3990:3995] CHIP:DMG: Endpoint = 0x0, - [1656593726.387870][3990:3995] CHIP:DMG: Cluster = 0x1f, - [1656593726.387904][3990:3995] CHIP:DMG: Event = 0x1, - [1656593726.387935][3990:3995] CHIP:DMG: }, - [1656593726.387969][3990:3995] CHIP:DMG: - [1656593726.387998][3990:3995] CHIP:DMG: StatusIB = - [1656593726.388030][3990:3995] CHIP:DMG: { - [1656593726.388063][3990:3995] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), - [1656593726.388094][3990:3995] CHIP:DMG: }, - [1656593726.388126][3990:3995] CHIP:DMG: - [1656593726.388154][3990:3995] CHIP:DMG: }, - disabled: true - - - label: "TH1 commissions DUT using admin node ID N1" - verification: | - DUT - sudo ./chip-all-clusters-app - - TH - ./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841 - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 1 0 - - [1658329512.220471][3036:3041] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572 - [1658329512.220529][3036:3041] CHIP:TOO: CurrentFabricIndex: 1 - [1658329512.220601][3036:3041] CHIP:EM: Sending Standalone Ack for MessageCounter:23447431 on exchange 2287i - disabled: true - - - label: - "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin - node ID N2" - verification: | - Open a commissioning window on TH1 using below command - - ./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000 - On TH2, verify DUT Responds SUCCESSFULLY - - [1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage = - [1657286379.420894][4724:4729] CHIP:DMG: { - [1657286379.420937][4724:4729] CHIP:DMG: suppressResponse = false, - [1657286379.421000][4724:4729] CHIP:DMG: InvokeResponseIBs = - [1657286379.421068][4724:4729] CHIP:DMG: [ - [1657286379.421120][4724:4729] CHIP:DMG: InvokeResponseIB = - [1657286379.421208][4724:4729] CHIP:DMG: { - [1657286379.421264][4724:4729] CHIP:DMG: CommandStatusIB = - [1657286379.421344][4724:4729] CHIP:DMG: { - [1657286379.421407][4724:4729] CHIP:DMG: CommandPathIB = - [1657286379.421493][4724:4729] CHIP:DMG: { - [1657286379.421581][4724:4729] CHIP:DMG: EndpointId = 0x0, - [1657286379.421656][4724:4729] CHIP:DMG: ClusterId = 0x3c, - [1657286379.421754][4724:4729] CHIP:DMG: CommandId = 0x1, - [1657286379.421838][4724:4729] CHIP:DMG: }, - [1657286379.421916][4724:4729] CHIP:DMG: - [1657286379.421998][4724:4729] CHIP:DMG: StatusIB = - [1657286379.422084][4724:4729] CHIP:DMG: { - [1657286379.422159][4724:4729] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286379.422251][4724:4729] CHIP:DMG: }, - [1657286379.422336][4724:4729] CHIP:DMG: - [1657286379.422397][4724:4729] CHIP:DMG: }, - [1657286379.422483][4724:4729] CHIP:DMG: - [1657286379.422537][4724:4729] CHIP:DMG: }, - [1657286379.422616][4724:4729] CHIP:DMG: - [1657286379.422666][4724:4729] CHIP:DMG: ], - [1657286379.422745][4724:4729] CHIP:DMG: - [1657286379.422796][4724:4729] CHIP:DMG: InteractionModelRevision = 1 - [1657286379.422861][4724:4729] CHIP:DMG: }, - [1657286379.422975][4724:4729] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1657286379.423058][4724:4729] CHIP:DMG: ICR moving to [AwaitingDe] - - - - Commission TH2 to DUT using below command - - ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta --commissioner-nodeid 223344 - - [1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step "Cleanup" - [1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - verification: | - ./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 2 - - 1658329570.828165][4563:4568] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572 - [1658329570.831838][4563:4568] CHIP:TOO: CurrentFabricIndex: 2 - [1658329570.831929][4563:4568] CHIP:EM: Sending Standalone Ack for MessageCounter:4928928 on exchange 29185i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1, 1111] Targets field: null 2.struct Privilege field: - Operate (3) AuthMode field: Group (3) Subjects field: [3333] Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH1 , Verify DUT Responds Successfully - [1658329787.635523][3056:3061] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658329787.635615][3056:3061] CHIP:DMG: WriteResponseMessage = - [1658329787.635661][3056:3061] CHIP:DMG: { - [1658329787.635701][3056:3061] CHIP:DMG: AttributeStatusIBs = - [1658329787.635758][3056:3061] CHIP:DMG: [ - [1658329787.635804][3056:3061] CHIP:DMG: AttributeStatusIB = - [1658329787.635864][3056:3061] CHIP:DMG: { - [1658329787.635913][3056:3061] CHIP:DMG: AttributePathIB = - [1658329787.635971][3056:3061] CHIP:DMG: { - [1658329787.636030][3056:3061] CHIP:DMG: Endpoint = 0x0, - [1658329787.636093][3056:3061] CHIP:DMG: Cluster = 0x1f, - [1658329787.636157][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, - [1658329787.636216][3056:3061] CHIP:DMG: } - [1658329787.636280][3056:3061] CHIP:DMG: - [1658329787.636334][3056:3061] CHIP:DMG: StatusIB = - [1658329787.636395][3056:3061] CHIP:DMG: { - [1658329787.636452][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329787.636509][3056:3061] CHIP:DMG: }, - [1658329787.636566][3056:3061] CHIP:DMG: - [1658329787.636613][3056:3061] CHIP:DMG: }, - [1658329787.636678][3056:3061] CHIP:DMG: - [1658329787.636723][3056:3061] CHIP:DMG: AttributeStatusIB = - [1658329787.636774][3056:3061] CHIP:DMG: { - [1658329787.636822][3056:3061] CHIP:DMG: AttributePathIB = - [1658329787.636880][3056:3061] CHIP:DMG: { - [1658329787.636937][3056:3061] CHIP:DMG: Endpoint = 0x0, - [1658329787.636998][3056:3061] CHIP:DMG: Cluster = 0x1f, - [1658329787.637066][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, - [1658329787.637131][3056:3061] CHIP:DMG: ListIndex = Null, - [1658329787.637194][3056:3061] CHIP:DMG: } - [1658329787.637263][3056:3061] CHIP:DMG: - [1658329787.637319][3056:3061] CHIP:DMG: StatusIB = - [1658329787.637376][3056:3061] CHIP:DMG: { - [1658329787.637626][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329787.637691][3056:3061] CHIP:DMG: }, - [1658329787.637750][3056:3061] CHIP:DMG: - [1658329787.637801][3056:3061] CHIP:DMG: }, - [1658329787.637868][3056:3061] CHIP:DMG: - [1658329787.637913][3056:3061] CHIP:DMG: AttributeStatusIB = - [1658329787.637966][3056:3061] CHIP:DMG: { - [1658329787.638017][3056:3061] CHIP:DMG: AttributePathIB = - [1658329787.638074][3056:3061] CHIP:DMG: { - [1658329787.638131][3056:3061] CHIP:DMG: Endpoint = 0x0, - [1658329787.638193][3056:3061] CHIP:DMG: Cluster = 0x1f, - [1658329787.638256][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, - [1658329787.638322][3056:3061] CHIP:DMG: ListIndex = Null, - [1658329787.638382][3056:3061] CHIP:DMG: } - [1658329787.638444][3056:3061] CHIP:DMG: - [1658329787.638505][3056:3061] CHIP:DMG: StatusIB = - [1658329787.638562][3056:3061] CHIP:DMG: { - [1658329787.638639][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329787.638698][3056:3061] CHIP:DMG: }, - [1658329787.638754][3056:3061] CHIP:DMG: - [1658329787.638801][3056:3061] CHIP:DMG: }, - [1658329787.638854][3056:3061] CHIP:DMG: - [1658329787.638899][3056:3061] CHIP:DMG: ], - [1658329787.638965][3056:3061] CHIP:DMG: - [1658329787.639009][3056:3061] CHIP:DMG: InteractionModelRevision = 1 - [1658329787.639053][3056:3061] CHIP:DMG: } - [1658329787.639281][3056:3061] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658329787.639370][3056:3061] CHIP:EM: Sending Standalone Ack for MessageCounter:32017076 on exchange 14424i - disabled: true - - - label: - "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements 1.struct - Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N2, 2222] Targets field: null 2.struct Privilege field: - Operate (3) AuthMode field: Group (3) Subjects field: [4444] Targets - field: null" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - - - On TH2 , Verify DUT Responds Successfully - - [1658329868.113411][4587:4592] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658329868.113469][4587:4592] CHIP:DMG: WriteResponseMessage = - [1658329868.113496][4587:4592] CHIP:DMG: { - [1658329868.113537][4587:4592] CHIP:DMG: AttributeStatusIBs = - [1658329868.113568][4587:4592] CHIP:DMG: [ - [1658329868.113602][4587:4592] CHIP:DMG: AttributeStatusIB = - [1658329868.113646][4587:4592] CHIP:DMG: { - [1658329868.113672][4587:4592] CHIP:DMG: AttributePathIB = - [1658329868.113712][4587:4592] CHIP:DMG: { - [1658329868.113745][4587:4592] CHIP:DMG: Endpoint = 0x0, - [1658329868.113788][4587:4592] CHIP:DMG: Cluster = 0x1f, - [1658329868.113833][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, - [1658329868.113868][4587:4592] CHIP:DMG: } - [1658329868.113914][4587:4592] CHIP:DMG: - [1658329868.113951][4587:4592] CHIP:DMG: StatusIB = - [1658329868.113984][4587:4592] CHIP:DMG: { - [1658329868.114028][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329868.114091][4587:4592] CHIP:DMG: }, - [1658329868.114124][4587:4592] CHIP:DMG: - [1658329868.114160][4587:4592] CHIP:DMG: }, - [1658329868.114197][4587:4592] CHIP:DMG: - [1658329868.114229][4587:4592] CHIP:DMG: AttributeStatusIB = - [1658329868.114266][4587:4592] CHIP:DMG: { - [1658329868.114294][4587:4592] CHIP:DMG: AttributePathIB = - [1658329868.114335][4587:4592] CHIP:DMG: { - [1658329868.114367][4587:4592] CHIP:DMG: Endpoint = 0x0, - [1658329868.114411][4587:4592] CHIP:DMG: Cluster = 0x1f, - [1658329868.114458][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, - [1658329868.114491][4587:4592] CHIP:DMG: ListIndex = Null, - [1658329868.114529][4587:4592] CHIP:DMG: } - [1658329868.114563][4587:4592] CHIP:DMG: - [1658329868.114604][4587:4592] CHIP:DMG: StatusIB = - [1658329868.114645][4587:4592] CHIP:DMG: { - [1658329868.114677][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329868.114716][4587:4592] CHIP:DMG: }, - [1658329868.114747][4587:4592] CHIP:DMG: - [1658329868.114782][4587:4592] CHIP:DMG: }, - [1658329868.114826][4587:4592] CHIP:DMG: - [1658329868.114850][4587:4592] CHIP:DMG: AttributeStatusIB = - [1658329868.114884][4587:4592] CHIP:DMG: { - [1658329868.114910][4587:4592] CHIP:DMG: AttributePathIB = - [1658329868.114948][4587:4592] CHIP:DMG: { - [1658329868.114980][4587:4592] CHIP:DMG: Endpoint = 0x0, - [1658329868.115024][4587:4592] CHIP:DMG: Cluster = 0x1f, - [1658329868.115067][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, - [1658329868.115102][4587:4592] CHIP:DMG: ListIndex = Null, - [1658329868.115145][4587:4592] CHIP:DMG: } - [1658329868.115188][4587:4592] CHIP:DMG: - [1658329868.115222][4587:4592] CHIP:DMG: StatusIB = - [1658329868.115260][4587:4592] CHIP:DMG: { - [1658329868.115291][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), - [1658329868.115333][4587:4592] CHIP:DMG: }, - [1658329868.115371][4587:4592] CHIP:DMG: - [1658329868.115398][4587:4592] CHIP:DMG: }, - [1658329868.115438][4587:4592] CHIP:DMG: - [1658329868.115463][4587:4592] CHIP:DMG: ], - [1658329868.115507][4587:4592] CHIP:DMG: - [1658329868.115531][4587:4592] CHIP:DMG: InteractionModelRevision = 1 - [1658329868.115565][4587:4592] CHIP:DMG: } - [1658329868.115702][4587:4592] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658329868.115764][4587:4592] CHIP:EM: Sending Standalone Ack for MessageCounter:240702602 on exchange 57878i - disabled: true - - - label: - "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, - value is list of AccessControlExtensionStruct containing 1 element 1. - struct Data field: D_OK_EMPTY" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element - [1658330105.863185][3079:3084] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658330105.863237][3079:3084] CHIP:DMG: WriteResponseMessage = - [1658330105.863262][3079:3084] CHIP:DMG: { - [1658330105.863284][3079:3084] CHIP:DMG: AttributeStatusIBs = - [1658330105.863315][3079:3084] CHIP:DMG: [ - [1658330105.863339][3079:3084] CHIP:DMG: AttributeStatusIB = - [1658330105.863367][3079:3084] CHIP:DMG: { - [1658330105.863393][3079:3084] CHIP:DMG: AttributePathIB = - [1658330105.863428][3079:3084] CHIP:DMG: { - [1658330105.863460][3079:3084] CHIP:DMG: Endpoint = 0x0, - [1658330105.863495][3079:3084] CHIP:DMG: Cluster = 0x1f, - [1658330105.863529][3079:3084] CHIP:DMG: Attribute = 0x0000_0001, - [1658330105.863589][3079:3084] CHIP:DMG: } - [1658330105.863670][3079:3084] CHIP:DMG: - [1658330105.863745][3079:3084] CHIP:DMG: StatusIB = - [1658330105.863812][3079:3084] CHIP:DMG: { - [1658330105.863877][3079:3084] CHIP:DMG: status = 0x00 (SUCCESS), - [1658330105.863945][3079:3084] CHIP:DMG: }, - [1658330105.864010][3079:3084] CHIP:DMG: - [1658330105.864068][3079:3084] CHIP:DMG: }, - [1658330105.864146][3079:3084] CHIP:DMG: - [1658330105.864197][3079:3084] CHIP:DMG: AttributeStatusIB = - [1658330105.864257][3079:3084] CHIP:DMG: { - [1658330105.864315][3079:3084] CHIP:DMG: AttributePathIB = - [1658330105.864379][3079:3084] CHIP:DMG: { - [1658330105.864444][3079:3084] CHIP:DMG: Endpoint = 0x0, - [1658330105.864516][3079:3084] CHIP:DMG: Cluster = 0x1f, - [1658330105.864592][3079:3084] CHIP:DMG: Attribute = 0x0000_0001, - [1658330105.864669][3079:3084] CHIP:DMG: ListIndex = Null, - [1658330105.864736][3079:3084] CHIP:DMG: } - [1658330105.864808][3079:3084] CHIP:DMG: - [1658330105.864871][3079:3084] CHIP:DMG: StatusIB = - [1658330105.864936][3079:3084] CHIP:DMG: { - [1658330105.865001][3079:3084] CHIP:DMG: status = 0x00 (SUCCESS), - [1658330105.865068][3079:3084] CHIP:DMG: }, - [1658330105.865134][3079:3084] CHIP:DMG: - [1658330105.865188][3079:3084] CHIP:DMG: }, - [1658330105.865251][3079:3084] CHIP:DMG: - [1658330105.865302][3079:3084] CHIP:DMG: ], - [1658330105.865370][3079:3084] CHIP:DMG: - [1658330105.865421][3079:3084] CHIP:DMG: InteractionModelRevision = 1 - [1658330105.865472][3079:3084] CHIP:DMG: } - [1658330105.865672][3079:3084] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658330105.865769][3079:3084] CHIP:EM: Sending Standalone Ack for MessageCounter:104745751 on exchange 216i - disabled: true - - - label: - "TH2 writes DUT Endpoint 0 AccessControl cluster Extension attribute - value is list of AccessControlExtensionStruct containing 1 element - 1.struct Data field: D_OK_SINGLE" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - - On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element . - - [1658819083.842765][8349:8354] CHIP:EM: Removed CHIP MessageCounter:249057275 from RetransTable on exchange 59888i - [1658819083.842800][8349:8354] CHIP:DMG: WriteClient moving to [ResponseRe] - [1658819083.842907][8349:8354] CHIP:DMG: WriteResponseMessage = - [1658819083.842939][8349:8354] CHIP:DMG: { - [1658819083.842963][8349:8354] CHIP:DMG: AttributeStatusIBs = - [1658819083.843000][8349:8354] CHIP:DMG: [ - [1658819083.843026][8349:8354] CHIP:DMG: AttributeStatusIB = - [1658819083.843057][8349:8354] CHIP:DMG: { - [1658819083.843086][8349:8354] CHIP:DMG: AttributePathIB = - [1658819083.843120][8349:8354] CHIP:DMG: { - [1658819083.843161][8349:8354] CHIP:DMG: Endpoint = 0x0, - [1658819083.843201][8349:8354] CHIP:DMG: Cluster = 0x1f, - [1658819083.843242][8349:8354] CHIP:DMG: Attribute = 0x0000_0001, - [1658819083.843277][8349:8354] CHIP:DMG: } - [1658819083.843319][8349:8354] CHIP:DMG: - [1658819083.843355][8349:8354] CHIP:DMG: StatusIB = - [1658819083.843393][8349:8354] CHIP:DMG: { - [1658819083.843431][8349:8354] CHIP:DMG: status = 0x00 (SUCCESS), - [1658819083.843466][8349:8354] CHIP:DMG: }, - [1658819083.843504][8349:8354] CHIP:DMG: - [1658819083.843534][8349:8354] CHIP:DMG: }, - [1658819083.843575][8349:8354] CHIP:DMG: - [1658819083.843604][8349:8354] CHIP:DMG: AttributeStatusIB = - [1658819083.843636][8349:8354] CHIP:DMG: { - [1658819083.843666][8349:8354] CHIP:DMG: AttributePathIB = - [1658819083.843700][8349:8354] CHIP:DMG: { - [1658819083.843734][8349:8354] CHIP:DMG: Endpoint = 0x0, - [1658819083.843774][8349:8354] CHIP:DMG: Cluster = 0x1f, - [1658819083.843814][8349:8354] CHIP:DMG: Attribute = 0x0000_0001, - [1658819083.843853][8349:8354] CHIP:DMG: ListIndex = Null, - [1658819083.843888][8349:8354] CHIP:DMG: } - [1658819083.843926][8349:8354] CHIP:DMG: - [1658819083.843962][8349:8354] CHIP:DMG: StatusIB = - [1658819083.843996][8349:8354] CHIP:DMG: { - [1658819083.844030][8349:8354] CHIP:DMG: status = 0x00 (SUCCESS), - [1658819083.844065][8349:8354] CHIP:DMG: }, - [1658819083.844103][8349:8354] CHIP:DMG: - [1658819083.844133][8349:8354] CHIP:DMG: }, - [1658819083.844168][8349:8354] CHIP:DMG: - [1658819083.844194][8349:8354] CHIP:DMG: ], - [1658819083.844230][8349:8354] CHIP:DMG: - [1658819083.844256][8349:8354] CHIP:DMG: InteractionModelRevision = 1 - [1658819083.844282][8349:8354] CHIP:DMG: } - [1658819083.844389][8349:8354] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1658819083.844452][8349:8354] CHIP:EM: Sending Standalone Ack for MessageCounter:27055873 on exchange 59888i - disabled: true - - - label: "Reboot the DUT" - verification: | - Follow the below procedure for rebooting (Only applicable on raspi) - - 1. create a file using touch command , something like touch mytest.txt - 2. chmod 777 mytest.txt - 3. launch the app sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt - 4. commission DUT with TH using above steps - - And in this step use kill DUT and launch again, without commission follow the next steps - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - - On TH 1, Verify DUT Responds Successfully. - - [1657289627.393651][5251:5256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 - [1657289627.393731][5251:5256] CHIP:TOO: ACL: 2 entries - [1657289627.393798][5251:5256] CHIP:TOO: [1]: { - [1657289627.393858][5251:5256] CHIP:TOO: Privilege: 5 - [1657289627.393889][5251:5256] CHIP:TOO: AuthMode: 2 - [1657289627.393935][5251:5256] CHIP:TOO: Subjects: 2 entries - [1657289627.393970][5251:5256] CHIP:TOO: [1]: 112233 - [1657289627.394013][5251:5256] CHIP:TOO: [2]: 1111 - [1657289627.394044][5251:5256] CHIP:TOO: Targets: null - [1657289627.394085][5251:5256] CHIP:TOO: FabricIndex: 1 - [1657289627.394110][5251:5256] CHIP:TOO: } - [1657289627.394157][5251:5256] CHIP:TOO: [2]: { - [1657289627.394183][5251:5256] CHIP:TOO: Privilege: 3 - [1657289627.394212][5251:5256] CHIP:TOO: AuthMode: 3 - [1657289627.394243][5251:5256] CHIP:TOO: Subjects: 1 entries - [1657289627.394286][5251:5256] CHIP:TOO: [1]: 3333 - [1657289627.394318][5251:5256] CHIP:TOO: Targets: null - [1657289627.394356][5251:5256] CHIP:TOO: FabricIndex: 1 - [1657289627.394385][5251:5256] CHIP:TOO: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol read extension 1 0 - On TH1 , Verify DUT Responds Successfully - - - [1657289676.947323][5260:5265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 - [1657289676.947388][5260:5265] CHIP:TOO: Extension: 1 entries - [1657289676.947438][5260:5265] CHIP:TOO: [1]: { - [1657289676.947467][5260:5265] CHIP:TOO: Data: 1718 - [1657289676.947504][5260:5265] CHIP:TOO: FabricIndex: 1 - [1657289676.947528][5260:5265] CHIP:TOO: } - disabled: true - - - label: "TH2 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344 - - On TH 2, Verify DUT Responds Successfully . - - - [1657289713.626327][19279:19284] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 - [1657289713.626381][19279:19284] CHIP:TOO: ACL: 2 entries - [1657289713.626417][19279:19284] CHIP:TOO: [1]: { - [1657289713.626431][19279:19284] CHIP:TOO: Privilege: 5 - [1657289713.626443][19279:19284] CHIP:TOO: AuthMode: 2 - [1657289713.626457][19279:19284] CHIP:TOO: Subjects: 2 entries - [1657289713.626472][19279:19284] CHIP:TOO: [1]: 223344 - [1657289713.626485][19279:19284] CHIP:TOO: [2]: 2222 - [1657289713.626497][19279:19284] CHIP:TOO: Targets: null - [1657289713.626508][19279:19284] CHIP:TOO: FabricIndex: 2 - [1657289713.626519][19279:19284] CHIP:TOO: } - [1657289713.626537][19279:19284] CHIP:TOO: [2]: { - [1657289713.626547][19279:19284] CHIP:TOO: Privilege: 3 - [1657289713.626556][19279:19284] CHIP:TOO: AuthMode: 3 - [1657289713.626568][19279:19284] CHIP:TOO: Subjects: 1 entries - [1657289713.626580][19279:19284] CHIP:TOO: [1]: 4444 - [1657289713.626591][19279:19284] CHIP:TOO: Targets: null - [1657289713.626601][19279:19284] CHIP:TOO: FabricIndex: 2 - [1657289713.626611][19279:19284] CHIP:TOO: } - disabled: true - - - label: - "TH2 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol read extension 2 0 --commissioner-name beta --commissioner-nodeid 223344 - - On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element . - - [1657289746.737641][19293:19298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 - [1657289746.737713][19293:19298] CHIP:TOO: Extension: 1 entries - [1657289746.737778][19293:19298] CHIP:TOO: [1]: { - [1657289746.737803][19293:19298] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 - [1657289746.737844][19293:19298] CHIP:TOO: FabricIndex: 2 - [1657289746.737862][19293:19298] CHIP:TOO: } - disabled: true - - - label: - "If DUT is an app on host, examine persistent storage in /tmp/chip_kvs - text file" - verification: | - sudo vi kvs text file - disabled: true - - - label: "TH1 removes fabric F2 from DUT" - verification: | - ./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344 - - On TH2 , Verify DUT Responds Successfully . - - [1657289809.358455][19309:19314] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1657289809.358500][19309:19314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1657289809.358559][19309:19314] CHIP:TOO: NOCResponse: { - [1657289809.358600][19309:19314] CHIP:TOO: statusCode: 0 - [1657289809.358620][19309:19314] CHIP:TOO: fabricIndex: 2 - [1657289809.358641][19309:19314] CHIP:TOO: } - disabled: true - - - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" - PICS: ACL.S.A0000 - verification: | - ./chip-tool accesscontrol read acl 1 0 - On TH1 , Verify DUT Responds Successfully . - - - [1657289848.956276][5274:5279] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 - [1657289848.956366][5274:5279] CHIP:TOO: ACL: 2 entries - [1657289848.956445][5274:5279] CHIP:TOO: [1]: { - [1657289848.956502][5274:5279] CHIP:TOO: Privilege: 5 - [1657289848.956538][5274:5279] CHIP:TOO: AuthMode: 2 - [1657289848.956578][5274:5279] CHIP:TOO: Subjects: 2 entries - [1657289848.956620][5274:5279] CHIP:TOO: [1]: 112233 - [1657289848.956659][5274:5279] CHIP:TOO: [2]: 1111 - [1657289848.956696][5274:5279] CHIP:TOO: Targets: null - [1657289848.956730][5274:5279] CHIP:TOO: FabricIndex: 1 - [1657289848.956764][5274:5279] CHIP:TOO: } - [1657289848.956811][5274:5279] CHIP:TOO: [2]: { - [1657289848.956846][5274:5279] CHIP:TOO: Privilege: 3 - [1657289848.956879][5274:5279] CHIP:TOO: AuthMode: 3 - [1657289848.956916][5274:5279] CHIP:TOO: Subjects: 1 entries - [1657289848.956954][5274:5279] CHIP:TOO: [1]: 3333 - [1657289848.956990][5274:5279] CHIP:TOO: Targets: null - [1657289848.957023][5274:5279] CHIP:TOO: FabricIndex: 1 - [1657289848.957055][5274:5279] CHIP:TOO: } - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 AccessControl cluster Extension attribute" - PICS: ACL.S.A0001 - verification: | - ./chip-tool accesscontrol read extension 1 0 - On TH1 , Verify DUT Responds Successfully to extension attribute list containg one element . - - - [1657289881.142883][5283:5288] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 - [1657289881.142955][5283:5288] CHIP:TOO: Extension: 1 entries - [1657289881.143019][5283:5288] CHIP:TOO: [1]: { - [1657289881.143056][5283:5288] CHIP:TOO: Data: 1718 - [1657289881.143107][5283:5288] CHIP:TOO: FabricIndex: 1 - [1657289881.143138][5283:5288] CHIP:TOO: } - disabled: true - - - label: - "If DUT is an app on host, examine persistent storage in /tmp/chip_kvs - text file" - verification: | - sudo vi kvs text file - disabled: true +# 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: 129.2.6. [TC-ACL-2.6] AccessControlEntryChanged event + +PICS: + - ACL.S + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH1 commissions DUT using admin node ID N1" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 reads DUT Endpoint 0 OperationalCredentials cluster + CurrentFabricIndex attribute" + verification: | + ./chip-tool operationalcredentials read current-fabric-index 1 0 + + On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + + + [1656581567.459433][2846:2851] CHIP:EM: Removed CHIP MessageCounter:147498618 from RetransTable on exchange 16019i + [1656581567.459514][2846:2851] CHIP:DMG: ReportDataMessage = + [1656581567.459558][2846:2851] CHIP:DMG: { + [1656581567.459593][2846:2851] CHIP:DMG: AttributeReportIBs = + [1656581567.459643][2846:2851] CHIP:DMG: [ + [1656581567.459683][2846:2851] CHIP:DMG: AttributeReportIB = + [1656581567.459735][2846:2851] CHIP:DMG: { + [1656581567.459777][2846:2851] CHIP:DMG: AttributeDataIB = + [1656581567.459828][2846:2851] CHIP:DMG: { + [1656581567.459881][2846:2851] CHIP:DMG: DataVersion = 0x69e80d80, + [1656581567.459933][2846:2851] CHIP:DMG: AttributePathIB = + [1656581567.459987][2846:2851] CHIP:DMG: { + [1656581567.460042][2846:2851] CHIP:DMG: Endpoint = 0x0, + [1656581567.460104][2846:2851] CHIP:DMG: Cluster = 0x3e, + [1656581567.460166][2846:2851] CHIP:DMG: Attribute = 0x0000_0005, + [1656581567.460220][2846:2851] CHIP:DMG: } + [1656581567.460277][2846:2851] CHIP:DMG: + [1656581567.460333][2846:2851] CHIP:DMG: Data = 1, + [1656581567.460388][2846:2851] CHIP:DMG: }, + [1656581567.460441][2846:2851] CHIP:DMG: + [1656581567.460485][2846:2851] CHIP:DMG: }, + [1656581567.460537][2846:2851] CHIP:DMG: + [1656581567.460576][2846:2851] CHIP:DMG: ], + [1656581567.460680][2846:2851] CHIP:DMG: + [1656581567.460723][2846:2851] CHIP:DMG: SuppressResponse = true, + [1656581567.460764][2846:2851] CHIP:DMG: InteractionModelRevision = 1 + [1656581567.460802][2846:2851] CHIP:DMG: } + [1656581567.461044][2846:2851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1776815488 + [1656581567.463444][2846:2851] CHIP:TOO: CurrentFabricIndex: 1 + [1656581567.463579][2846:2851] CHIP:EM: Sending Standalone Ack for MessageCounter:43211765 on exchange 16019i + disabled: true + + - label: + "TH1 reads DUT Endpoint 0 AccessControl cluster + AccessControlEntryChanged event" + PICS: ACL.S.E00 + verification: | + ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 + + On TH , Verify DUT Responds Successfully + + + [[1657618697.392815][9079:9084] CHIP:DMG: + [1657618697.392846][9079:9084] CHIP:DMG: SuppressResponse = true, + [1657618697.392878][9079:9084] CHIP:DMG: InteractionModelRevision = 1 + [1657618697.392906][9079:9084] CHIP:DMG: } + [1657618697.393187][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618697.393218][9079:9084] CHIP:TOO: Event number: 83 + [1657618697.393245][9079:9084] CHIP:TOO: Priority: Info + [1657618697.393272][9079:9084] CHIP:TOO: Timestamp: 13908987 + [1657618697.393379][9079:9084] CHIP:TOO: AccessControlEntryChanged: { + [1657618697.393423][9079:9084] CHIP:TOO: AdminNodeID: 112233 + [1657618697.393453][9079:9084] CHIP:TOO: AdminPasscodeID: null + [1657618697.393482][9079:9084] CHIP:TOO: ChangeType: 1 + [1657618697.393512][9079:9084] CHIP:TOO: LatestValue: { + [1657618697.393539][9079:9084] CHIP:TOO: Privilege: 5 + [1657618697.393567][9079:9084] CHIP:TOO: AuthMode: 2 + [1657618697.393600][9079:9084] CHIP:TOO: Subjects: 1 entries + [1657618697.393635][9079:9084] CHIP:TOO: [1]: 112233 + [1657618697.393667][9079:9084] CHIP:TOO: Targets: null + [1657618697.393695][9079:9084] CHIP:TOO: FabricIndex: 1 + [1657618697.393722][9079:9084] CHIP:TOO: } + [1657618697.393749][9079:9084] CHIP:TOO: AdminFabricIndex: 1 + [1657618697.393777][9079:9084] CHIP:TOO: } + [1657618697.393916][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618697.393946][9079:9084] CHIP:TOO: Event number: 84 + [1657618697.393972][9079:9084] CHIP:TOO: Priority: Info + [1657618697.393999][9079:9084] CHIP:TOO: Timestamp: 13941929 + [1657618697.394045][9079:9084] CHIP:TOO: AccessControlEntryChanged: { + [1657618697.394076][9079:9084] CHIP:TOO: AdminNodeID: 112233 + [1657618697.394105][9079:9084] CHIP:TOO: AdminPasscodeID: null + [1657618697.394133][9079:9084] CHIP:TOO: ChangeType: 2 + [1657618697.394160][9079:9084] CHIP:TOO: LatestValue: { + [1657618697.394187][9079:9084] CHIP:TOO: Privilege: 5 + [1657618697.394214][9079:9084] CHIP:TOO: AuthMode: 2 + [1657618697.394245][9079:9084] CHIP:TOO: Subjects: 1 entries + [1657618697.394277][9079:9084] CHIP:TOO: [1]: 112233 + [1657618697.394308][9079:9084] CHIP:TOO: Targets: null + [1657618697.394336][9079:9084] CHIP:TOO: FabricIndex: 1 + [1657618697.394383][9079:9084] CHIP:TOO: } + [1657618697.394412][9079:9084] CHIP:TOO: AdminFabricIndex: 1 + [1657618697.394439][9079:9084] CHIP:TOO: } + [1657618697.394578][9079:9084] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618697.394609][9079:9084] CHIP:TOO: Event number: 85 + [1657618697.394635][9079:9084] CHIP:TOO: Priority: Info + [1657618697.394661][9079:9084] CHIP:TOO: Timestamp: 13941931 + [1657618697.394709][9079:9084] CHIP:TOO: AccessControlEntryChanged: { + [1657618697.394741][9079:9084] CHIP:TOO: AdminNodeID: 112233 + [1657618697.394770][9079:9084] CHIP:TOO: AdminPasscodeID: null + [1657618697.394798][9079:9084] CHIP:TOO: ChangeType: 1 + [1657618697.394826][9079:9084] CHIP:TOO: LatestValue: { + [1657618697.394853][9079:9084] CHIP:TOO: Privilege: 5 + [1657618697.394880][9079:9084] CHIP:TOO: AuthMode: 2 + [1657618697.394907][9079:9084] CHIP:TOO: Subjects: null + [1657618697.394934][9079:9084] CHIP:TOO: Targets: null + [1657618697.394960][9079:9084] CHIP:TOO: FabricIndex: 1 + [1657618697.394983][9079:9084] CHIP:TOO: } + [1657618697.395005][9079:9084] CHIP:TOO: AdminFabricIndex: 1 + [1657618697.395027][9079:9084] CHIP:TOO: } + [1657618697.395193][9079:9084] CHIP:EM: Sending Standalone Ack for MessageCounter:53700395 on exchange 63882i + disabled: true + + - label: + "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value + is list of AccessControlEntryStruct containing 2 elements 1.struct + Privilege field: Administer (5) AuthMode field: CASE (2) Subjects + field: [N1] Targets field: null 2struct Privilege field: Operate (3) + AuthMode field: Group (3) Subjects field: null Targets field: null" + PICS: ACL.S.E00 + verification: | + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, + {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [], "targets":null}]" 1 0 + Verify in TH log: + + [[1657545728.526415][3928:3933] CHIP:DMG: WriteResponseMessage = + [1657545728.526460][3928:3933] CHIP:DMG: { + [1657545728.526500][3928:3933] CHIP:DMG: AttributeStatusIBs = + [1657545728.526555][3928:3933] CHIP:DMG: [ + [1657545728.526599][3928:3933] CHIP:DMG: AttributeStatusIB = + [1657545728.526648][3928:3933] CHIP:DMG: { + [1657545728.526695][3928:3933] CHIP:DMG: AttributePathIB = + [1657545728.526753][3928:3933] CHIP:DMG: { + [1657545728.526811][3928:3933] CHIP:DMG: Endpoint = 0x0, + [1657545728.526877][3928:3933] CHIP:DMG: Cluster = 0x1f, + [1657545728.526939][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, + [1657545728.526994][3928:3933] CHIP:DMG: } + [1657545728.527056][3928:3933] CHIP:DMG: + [1657545728.527200][3928:3933] CHIP:DMG: StatusIB = + [1657545728.527260][3928:3933] CHIP:DMG: { + [1657545728.527317][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), + [1657545728.527374][3928:3933] CHIP:DMG: }, + [1657545728.527430][3928:3933] CHIP:DMG: + [1657545728.527477][3928:3933] CHIP:DMG: }, + [1657545728.527540][3928:3933] CHIP:DMG: + [1657545728.527585][3928:3933] CHIP:DMG: AttributeStatusIB = + [1657545728.527634][3928:3933] CHIP:DMG: { + [1657545728.527680][3928:3933] CHIP:DMG: AttributePathIB = + [1657545728.527735][3928:3933] CHIP:DMG: { + [1657545728.527792][3928:3933] CHIP:DMG: Endpoint = 0x0, + [1657545728.527853][3928:3933] CHIP:DMG: Cluster = 0x1f, + [1657545728.527909][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, + [1657545728.527967][3928:3933] CHIP:DMG: ListIndex = Null, + [1657545728.528023][3928:3933] CHIP:DMG: } + [1657545728.528084][3928:3933] CHIP:DMG: + [1657545728.528137][3928:3933] CHIP:DMG: StatusIB = + [1657545728.528191][3928:3933] CHIP:DMG: { + [1657545728.528249][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), + [1657545728.528306][3928:3933] CHIP:DMG: }, + [1657545728.528363][3928:3933] CHIP:DMG: + [1657545728.528409][3928:3933] CHIP:DMG: }, + [1657545728.528473][3928:3933] CHIP:DMG: + [1657545728.528517][3928:3933] CHIP:DMG: AttributeStatusIB = + [1657545728.528566][3928:3933] CHIP:DMG: { + [1657545728.528618][3928:3933] CHIP:DMG: AttributePathIB = + [1657545728.528756][3928:3933] CHIP:DMG: { + [1657545728.528834][3928:3933] CHIP:DMG: Endpoint = 0x0, + [1657545728.528990][3928:3933] CHIP:DMG: Cluster = 0x1f, + [1657545728.529068][3928:3933] CHIP:DMG: Attribute = 0x0000_0000, + [1657545728.529134][3928:3933] CHIP:DMG: ListIndex = Null, + [1657545728.529369][3928:3933] CHIP:DMG: } + [1657545728.529498][3928:3933] CHIP:DMG: + [1657545728.529565][3928:3933] CHIP:DMG: StatusIB = + [1657545728.529681][3928:3933] CHIP:DMG: { + [1657545728.529752][3928:3933] CHIP:DMG: status = 0x00 (SUCCESS), + [1657545728.529824][3928:3933] CHIP:DMG: }, + [1657545728.529887][3928:3933] CHIP:DMG: + [1657545728.529944][3928:3933] CHIP:DMG: }, + [1657545728.530005][3928:3933] CHIP:DMG: + [1657545728.530054][3928:3933] CHIP:DMG: ], + [1657545728.530129][3928:3933] CHIP:DMG: + [1657545728.530178][3928:3933] CHIP:DMG: InteractionModelRevision = 1 + [1657545728.530227][3928:3933] CHIP:DMG: } + disabled: true + + - label: + "TH1 reads DUT Endpoint 0 AccessControl cluster + AccessControlEntryChanged event" + PICS: ACL.S.E00 + verification: | + ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 + + On TH , Verify DUT Responds Successfully + + [1657618772.535125][9091:9096] CHIP:DMG: + [1657618772.535162][9091:9096] CHIP:DMG: SuppressResponse = true, + [1657618772.535198][9091:9096] CHIP:DMG: InteractionModelRevision = 1 + [1657618772.535232][9091:9096] CHIP:DMG: } + [1657618772.535593][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618772.535630][9091:9096] CHIP:TOO: Event number: 85 + [1657618772.535663][9091:9096] CHIP:TOO: Priority: Info + [1657618772.535695][9091:9096] CHIP:TOO: Timestamp: 13941931 + [1657618772.535791][9091:9096] CHIP:TOO: AccessControlEntryChanged: { + [1657618772.535883][9091:9096] CHIP:TOO: AdminNodeID: 112233 + [1657618772.535912][9091:9096] CHIP:TOO: AdminPasscodeID: null + [1657618772.535939][9091:9096] CHIP:TOO: ChangeType: 1 + [1657618772.535966][9091:9096] CHIP:TOO: LatestValue: { + [1657618772.535991][9091:9096] CHIP:TOO: Privilege: 5 + [1657618772.536017][9091:9096] CHIP:TOO: AuthMode: 2 + [1657618772.536043][9091:9096] CHIP:TOO: Subjects: null + [1657618772.536067][9091:9096] CHIP:TOO: Targets: null + [1657618772.536092][9091:9096] CHIP:TOO: FabricIndex: 1 + [1657618772.536117][9091:9096] CHIP:TOO: } + [1657618772.536142][9091:9096] CHIP:TOO: AdminFabricIndex: 1 + [1657618772.536168][9091:9096] CHIP:TOO: } + [1657618772.536296][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618772.536324][9091:9096] CHIP:TOO: Event number: 94 + [1657618772.536349][9091:9096] CHIP:TOO: Priority: Info + [1657618772.536373][9091:9096] CHIP:TOO: Timestamp: 14681840 + [1657618772.536416][9091:9096] CHIP:TOO: AccessControlEntryChanged: { + [1657618772.536444][9091:9096] CHIP:TOO: AdminNodeID: 112233 + [1657618772.536470][9091:9096] CHIP:TOO: AdminPasscodeID: null + [1657618772.536494][9091:9096] CHIP:TOO: ChangeType: 2 + [1657618772.536519][9091:9096] CHIP:TOO: LatestValue: { + [1657618772.536544][9091:9096] CHIP:TOO: Privilege: 5 + [1657618772.536569][9091:9096] CHIP:TOO: AuthMode: 2 + [1657618772.536594][9091:9096] CHIP:TOO: Subjects: null + [1657618772.536618][9091:9096] CHIP:TOO: Targets: null + [1657618772.536643][9091:9096] CHIP:TOO: FabricIndex: 1 + [1657618772.536667][9091:9096] CHIP:TOO: } + [1657618772.536692][9091:9096] CHIP:TOO: AdminFabricIndex: 1 + [1657618772.536717][9091:9096] CHIP:TOO: } + [1657618772.536842][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618772.536869][9091:9096] CHIP:TOO: Event number: 95 + [1657618772.536894][9091:9096] CHIP:TOO: Priority: Info + [1657618772.536918][9091:9096] CHIP:TOO: Timestamp: 14681842 + [1657618772.536962][9091:9096] CHIP:TOO: AccessControlEntryChanged: { + [1657618772.536990][9091:9096] CHIP:TOO: AdminNodeID: 112233 + [1657618772.537015][9091:9096] CHIP:TOO: AdminPasscodeID: null + [1657618772.537040][9091:9096] CHIP:TOO: ChangeType: 1 + [1657618772.537065][9091:9096] CHIP:TOO: LatestValue: { + [1657618772.537090][9091:9096] CHIP:TOO: Privilege: 5 + [1657618772.537115][9091:9096] CHIP:TOO: AuthMode: 2 + [1657618772.537144][9091:9096] CHIP:TOO: Subjects: 1 entries + [1657618772.537175][9091:9096] CHIP:TOO: [1]: 112233 + [1657618772.537203][9091:9096] CHIP:TOO: Targets: null + [1657618772.537228][9091:9096] CHIP:TOO: FabricIndex: 1 + [1657618772.537253][9091:9096] CHIP:TOO: } + [1657618772.537278][9091:9096] CHIP:TOO: AdminFabricIndex: 1 + [1657618772.537303][9091:9096] CHIP:TOO: } + [1657618772.537426][9091:9096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1657618772.537453][9091:9096] CHIP:TOO: Event number: 96 + [1657618772.537477][9091:9096] CHIP:TOO: Priority: Info + [1657618772.537501][9091:9096] CHIP:TOO: Timestamp: 14681844 + [1657618772.537543][9091:9096] CHIP:TOO: AccessControlEntryChanged: { + [1657618772.537571][9091:9096] CHIP:TOO: AdminNodeID: 112233 + [1657618772.537596][9091:9096] CHIP:TOO: AdminPasscodeID: null + [1657618772.537621][9091:9096] CHIP:TOO: ChangeType: 1 + [1657618772.537645][9091:9096] CHIP:TOO: LatestValue: { + [1657618772.537670][9091:9096] CHIP:TOO: Privilege: 3 + [1657618772.537695][9091:9096] CHIP:TOO: AuthMode: 3 + [1657618772.537720][9091:9096] CHIP:TOO: Subjects: null + [1657618772.537744][9091:9096] CHIP:TOO: Targets: null + [1657618772.537768][9091:9096] CHIP:TOO: FabricIndex: 1 + [1657618772.537792][9091:9096] CHIP:TOO: } + [1657618772.537817][9091:9096] CHIP:TOO: AdminFabricIndex: 1 + [1657618772.537842][9091:9096] CHIP:TOO: } + [1657618772.538004][9091:9096] CHIP:EM: Sending Standalone Ack for MessageCounter:65216018 on exchange 10750i + disabled: true + + - label: + "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value + is list of AccessControlEntryStruct containing 2 elements 1.struct + Privilege field: Administer (5) AuthMode field: CASE (2) Subjects + field: [N1] Targets field: null 2.struct Privilege field: Administer + (3) AuthMode field: Group (3) Subjects field: null Targets field: null" + PICS: ACL.S.E00 + verification: | + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets":null}]" 1 0 + On TH Verify DUT Responds Successfully to ACL attribute with value is list of AccessControlEntryStruct containing 2 elements + + 58813102.344539][2489:2494] CHIP:EM: Removed CHIP MessageCounter:131488146 from RetransTable on exchange 37188i + [1658813102.344581][2489:2494] CHIP:DMG: WriteClient moving to [ResponseRe] + [1658813102.344655][2489:2494] CHIP:DMG: WriteResponseMessage = + [1658813102.344711][2489:2494] CHIP:DMG: { + [1658813102.344741][2489:2494] CHIP:DMG: AttributeStatusIBs = + [1658813102.344798][2489:2494] CHIP:DMG: [ + [1658813102.344831][2489:2494] CHIP:DMG: AttributeStatusIB = + [1658813102.344883][2489:2494] CHIP:DMG: { + [1658813102.344918][2489:2494] CHIP:DMG: AttributePathIB = + [1658813102.344973][2489:2494] CHIP:DMG: { + [1658813102.345027][2489:2494] CHIP:DMG: Endpoint = 0x0, + [1658813102.345073][2489:2494] CHIP:DMG: Cluster = 0x1f, + [1658813102.345130][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, + [1658813102.345182][2489:2494] CHIP:DMG: } + [1658813102.345231][2489:2494] CHIP:DMG: + [1658813102.345280][2489:2494] CHIP:DMG: StatusIB = + [1658813102.345322][2489:2494] CHIP:DMG: { + [1658813102.345377][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), + [1658813102.345430][2489:2494] CHIP:DMG: }, + [1658813102.345469][2489:2494] CHIP:DMG: + [1658813102.345509][2489:2494] CHIP:DMG: }, + [1658813102.345549][2489:2494] CHIP:DMG: + [1658813102.345577][2489:2494] CHIP:DMG: AttributeStatusIB = + [1658813102.345606][2489:2494] CHIP:DMG: { + [1658813102.345644][2489:2494] CHIP:DMG: AttributePathIB = + [1658813102.345678][2489:2494] CHIP:DMG: { + [1658813102.345714][2489:2494] CHIP:DMG: Endpoint = 0x0, + [1658813102.345754][2489:2494] CHIP:DMG: Cluster = 0x1f, + [1658813102.345795][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, + [1658813102.345831][2489:2494] CHIP:DMG: ListIndex = Null, + [1658813102.345866][2489:2494] CHIP:DMG: } + [1658813102.345903][2489:2494] CHIP:DMG: + [1658813102.345937][2489:2494] CHIP:DMG: StatusIB = + [1658813102.345970][2489:2494] CHIP:DMG: { + [1658813102.346008][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), + [1658813102.346043][2489:2494] CHIP:DMG: }, + [1658813102.346078][2489:2494] CHIP:DMG: + [1658813102.346106][2489:2494] CHIP:DMG: }, + [1658813102.346145][2489:2494] CHIP:DMG: + [1658813102.346169][2489:2494] CHIP:DMG: AttributeStatusIB = + [1658813102.346194][2489:2494] CHIP:DMG: { + [1658813102.346233][2489:2494] CHIP:DMG: AttributePathIB = + [1658813102.346265][2489:2494] CHIP:DMG: { + [1658813102.346297][2489:2494] CHIP:DMG: Endpoint = 0x0, + [1658813102.346341][2489:2494] CHIP:DMG: Cluster = 0x1f, + [1658813102.346382][2489:2494] CHIP:DMG: Attribute = 0x0000_0000, + [1658813102.346417][2489:2494] CHIP:DMG: ListIndex = Null, + [1658813102.346452][2489:2494] CHIP:DMG: } + [1658813102.346487][2489:2494] CHIP:DMG: + [1658813102.346520][2489:2494] CHIP:DMG: StatusIB = + [1658813102.346590][2489:2494] CHIP:DMG: { + [1658813102.346630][2489:2494] CHIP:DMG: status = 0x00 (SUCCESS), + [1658813102.346667][2489:2494] CHIP:DMG: }, + [1658813102.346701][2489:2494] CHIP:DMG: + [1658813102.346731][2489:2494] CHIP:DMG: }, + [1658813102.346764][2489:2494] CHIP:DMG: + [1658813102.346796][2489:2494] CHIP:DMG: ], + [1658813102.346837][2489:2494] CHIP:DMG: + [1658813102.346864][2489:2494] CHIP:DMG: InteractionModelRevision = 1 + [1658813102.346891][2489:2494] CHIP:DMG: } + [1658813102.347080][2489:2494] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1658813102.347150][2489:2494] CHIP:EM: Sending Standalone Ack for MessageCounter:54598939 on + disabled: true + + - label: + "TH1 reads DUT Endpoint 0 AccessControl cluster + AccessControlEntryChanged event" + PICS: ACL.S.E00 + verification: | + ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 + + On TH , Verify DUT Responds Successfully + + 1658813186.871698][2504:2509] CHIP:DMG: ], + [1658813186.871770][2504:2509] CHIP:DMG: + [1658813186.871799][2504:2509] CHIP:DMG: SuppressResponse = true, + [1658813186.871828][2504:2509] CHIP:DMG: InteractionModelRevision = 1 + [1658813186.871855][2504:2509] CHIP:DMG: } + [1658813186.874723][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1658813186.874826][2504:2509] CHIP:TOO: Event number: 2 + [1658813186.874854][2504:2509] CHIP:TOO: Priority: Info + [1658813186.874880][2504:2509] CHIP:TOO: Timestamp: 554681 + [1658813186.875037][2504:2509] CHIP:TOO: AccessControlEntryChanged: { + [1658813186.875097][2504:2509] CHIP:TOO: AdminNodeID: null + [1658813186.875137][2504:2509] CHIP:TOO: AdminPasscodeID: 0 + [1658813186.875165][2504:2509] CHIP:TOO: ChangeType: 1 + [1658813186.875192][2504:2509] CHIP:TOO: LatestValue: { + [1658813186.875218][2504:2509] CHIP:TOO: Privilege: 5 + [1658813186.875244][2504:2509] CHIP:TOO: AuthMode: 2 + [1658813186.875276][2504:2509] CHIP:TOO: Subjects: 1 entries + [1658813186.875311][2504:2509] CHIP:TOO: [1]: 112233 + [1658813186.875341][2504:2509] CHIP:TOO: Targets: null + [1658813186.875367][2504:2509] CHIP:TOO: FabricIndex: 1 + [1658813186.875392][2504:2509] CHIP:TOO: } + [1658813186.875419][2504:2509] CHIP:TOO: AdminFabricIndex: 1 + [1658813186.875444][2504:2509] CHIP:TOO: } + [1658813186.875592][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1658813186.875620][2504:2509] CHIP:TOO: Event number: 3 + [1658813186.875645][2504:2509] CHIP:TOO: Priority: Info + [1658813186.875670][2504:2509] CHIP:TOO: Timestamp: 579681 + [1658813186.875756][2504:2509] CHIP:TOO: AccessControlEntryChanged: { + [1658813186.875786][2504:2509] CHIP:TOO: AdminNodeID: 112233 + [1658813186.875814][2504:2509] CHIP:TOO: AdminPasscodeID: null + [1658813186.875841][2504:2509] CHIP:TOO: ChangeType: 2 + [1658813186.875867][2504:2509] CHIP:TOO: LatestValue: { + [1658813186.875892][2504:2509] CHIP:TOO: Privilege: 5 + [1658813186.875917][2504:2509] CHIP:TOO: AuthMode: 2 + [1658813186.875946][2504:2509] CHIP:TOO: Subjects: 1 entries + [1658813186.875977][2504:2509] CHIP:TOO: [1]: 112233 + [1658813186.876005][2504:2509] CHIP:TOO: Targets: null + [1658813186.876032][2504:2509] CHIP:TOO: FabricIndex: 1 + [1658813186.876057][2504:2509] CHIP:TOO: } + [1658813186.876083][2504:2509] CHIP:TOO: AdminFabricIndex: 1 + [1658813186.876108][2504:2509] CHIP:TOO: } + [1658813186.876234][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1658813186.876261][2504:2509] CHIP:TOO: Event number: 4 + [1658813186.876286][2504:2509] CHIP:TOO: Priority: Info + [1658813186.876310][2504:2509] CHIP:TOO: Timestamp: 579683 + [1658813186.876353][2504:2509] CHIP:TOO: AccessControlEntryChanged: { + [1658813186.876382][2504:2509] CHIP:TOO: AdminNodeID: 112233 + [1658813186.876408][2504:2509] CHIP:TOO: AdminPasscodeID: null + [1658813186.876434][2504:2509] CHIP:TOO: ChangeType: 1 + [1658813186.876460][2504:2509] CHIP:TOO: LatestValue: { + [1658813186.876485][2504:2509] CHIP:TOO: Privilege: 5 + [1658813186.876510][2504:2509] CHIP:TOO: AuthMode: 2 + [1658813186.876539][2504:2509] CHIP:TOO: Subjects: 1 entries + [1658813186.876569][2504:2509] CHIP:TOO: [1]: 112233 + [1658813186.876597][2504:2509] CHIP:TOO: Targets: null + [1658813186.876624][2504:2509] CHIP:TOO: FabricIndex: 1 + [1658813186.876649][2504:2509] CHIP:TOO: } + [1658813186.876675][2504:2509] CHIP:TOO: AdminFabricIndex: 1 + [1658813186.876700][2504:2509] CHIP:TOO: } + [1658813186.876826][2504:2509] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1658813186.876853][2504:2509] CHIP:TOO: Event number: 5 + [1658813186.876878][2504:2509] CHIP:TOO: Priority: Info + [1658813186.876902][2504:2509] CHIP:TOO: Timestamp: 579684 + [1658813186.876944][2504:2509] CHIP:TOO: AccessControlEntryChanged: { + [1658813186.876972][2504:2509] CHIP:TOO: AdminNodeID: 112233 + [1658813186.876996][2504:2509] CHIP:TOO: AdminPasscodeID: null + [1658813186.877021][2504:2509] CHIP:TOO: ChangeType: 1 + [1658813186.877047][2504:2509] CHIP:TOO: LatestValue: { + [1658813186.877072][2504:2509] CHIP:TOO: Privilege: 3 + [1658813186.877097][2504:2509] CHIP:TOO: AuthMode: 3 + [1658813186.877122][2504:2509] CHIP:TOO: Subjects: null + [1658813186.877148][2504:2509] CHIP:TOO: Targets: null + [1658813186.877173][2504:2509] CHIP:TOO: FabricIndex: 1 + [1658813186.877198][2504:2509] CHIP:TOO: } + [1658813186.877223][2504:2509] CHIP:TOO: AdminFabricIndex: 1 + [1658813186.877248][2504:2509] CHIP:TOO: } + [1658813186.877432][2504:2509] CHIP:EM: Sending Standalone Ack for MessageCounter:46379362 on exchange 51787i + [1658813186.877525][2504:2509] CHIP:IN: Prepared secure message 0xffff87ffda68 to 0x0000000000000001 (1) of + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml index 4ca785fd0ed56d..a88db855f33854 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml @@ -15,6 +15,9 @@ name: 3.2.1. [TC-ACT-2.1] Attributes with server as DUT +PICS: + - ACT.S + config: nodeId: 0x12344321 cluster: "Basic" @@ -23,7 +26,12 @@ config: tests: - label: "Commission DUT to TH (can be skipped if done in a preceding test)" verification: | + On DUT side: + sudo ./chip-bridge-app + + On TH side: + ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 disabled: true - label: @@ -38,56 +46,97 @@ tests: - label: "Use manufacturer provided means (e.g. app) to define available - actions that can be exposed using the Actions server cluster (NOTE if - this is not provided, it is assumed the DUT automagically creates - these)" + actions that can be exposed using the Actions server cluster" PICS: ACT.S.M.FillActionList verification: | no Matter messages, result will be used in steps 5a and beyond disabled: true - label: - "Read PartsList attribute of Descriptor cluster on all endpoints of - the DUT" + "Read PartsList attribute of Descriptor cluster on endpoint 0 of the + DUT" verification: | - Read PartsList attribute of Descriptor cluster on all endpoints of the DUT (start with EP 0 and recursively handle all the EP found in the PartsList) - disabled: true + ./chip-tool descriptor read parts-list 1 0 - - label: "Compile a list of all endpoints on the server" - verification: | - internal TH: create list of all EP on this server + On TH, verify the PartsList value as 13 entries + + [1658393733.358450][13576:13581] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3528858866 + [1658393733.358548][13576:13581] CHIP:TOO: parts list: 13 entries + [1658393733.358579][13576:13581] CHIP:TOO: [1]: 1 + [1658393733.358615][13576:13581] CHIP:TOO: [2]: 2 + [1658393733.358640][13576:13581] CHIP:TOO: [3]: 3 + [1658393733.358665][13576:13581] CHIP:TOO: [4]: 4 + [1658393733.358699][13576:13581] CHIP:TOO: [5]: 5 + [1658393733.358724][13576:13581] CHIP:TOO: [6]: 6 + [1658393733.358756][13576:13581] CHIP:TOO: [7]: 7 + [1658393733.358781][13576:13581] CHIP:TOO: [8]: 8 + [1658393733.358804][13576:13581] CHIP:TOO: [9]: 9 + [1658393733.358838][13576:13581] CHIP:TOO: [10]: 10 + [1658393733.358863][13576:13581] CHIP:TOO: [11]: 11 + [1658393733.358895][13576:13581] CHIP:TOO: [12]: 12 + [1658393733.358921][13576:13581] CHIP:TOO: [13]: 13 + [1658393733.359051][13576:13581] CHIP:EM: Sending Standalone Ack for MessageCounter:3177509 on exchange 11364i disabled: true - label: "Read EndpointLists attribute of Actions server" PICS: ACT.S.A0001 verification: | - Read EndpointLists attribute + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH, verify the EndpointListStructs in TH Log: + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 + [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries + [1658474608.888949][20775:20780] CHIP:TOO: [1]: { + [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 + [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 + [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 + [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries + [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 + [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 + [1658474608.889072][20775:20780] CHIP:TOO: } + [1658474608.889099][20775:20780] CHIP:TOO: [2]: { + [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 + [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 + [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 + [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries + [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 + [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 + [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "For each EndpointListStruct, verify that the endpoints in the Endpoints field are in the list of endpoints of the DUT" verification: | - no Matter messages, but TH internal checking + Verify all referenced endpoints present in list from step 3 + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "For each EndpointListStruct, verify that the Name is present" verification: | - no Matter messages, but TH internal checking + Verify each entry has Name in following log + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "For each EndpointListStruct, verify that the Type is present and valid" verification: | - no Matter messages, but TH internal checking + Verify the type is oresent and valid in following log + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "Verify that the EndPointListIDs of all EndpointListStruct are unique (no duplicates)" verification: | - no Matter messages, but TH internal checking + Verify there are no duplicate entry in following log + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: @@ -96,50 +145,168 @@ tests: means" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - no Matter messages, but TH internal checking + Verify the information matches, Name and Type against the name/type of each group of endpoints provided + + [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "Read ActionList attribute of Actions server" PICS: ACT.S.A0000 verification: | - Read ActionList attribute + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "For each ActionStruct, verify the Name is present" verification: | - no Matter messages, but TH internal checking + Verify ActionStructs has Name in below Log: + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "For each ActionStruct, verify the Type is present and valid" verification: | - no Matter messages, but TH internal checking + Verify Type ActionStructs is present and valid in below Log: + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "For each ActionStruct, verify the EndpointListID is present in one of the EndpointListStructs (see step 4a)" verification: | - no Matter messages, but TH internal checking + Compare step 5d and 4a, verify the EndpointListID is present in one of the EndpointListStructs disabled: true - label: "For each ActionStruct, verify the SupportedCommands field is present and valid (at least one bit is set)" verification: | - no Matter messages, but TH internal checking + verify the SupportedCommands field is present and valid in below log + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "For each ActionStruct, verify the State field is present and valid" verification: | - no Matter messages, but TH internal checking + verify the State field is present and valid in below log + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "Verify that the ActionIDs of all ActionStructs are unique (no duplicates)" verification: | - no Matter messages, but TH internal checking + Verify that the ActionIDs of all ActionStructs are unique in below log + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: @@ -148,31 +315,62 @@ tests: means" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - no Matter messages, but TH internal checking + verify Name, Type and State against the name/type/state info for the action provided in below log: + + [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 + [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries + [1658473018.104263][16539:16544] CHIP:TOO: [1]: { + [1658473018.104728][16539:16544] CHIP:TOO: ActionID: 4097 + [1658473018.104753][16539:16544] CHIP:TOO: Name: Room 1 On + [1658473018.104770][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104786][16539:16544] CHIP:TOO: EndpointListID: 57345 + [1658473018.104803][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104819][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104834][16539:16544] CHIP:TOO: } + [1658473018.104864][16539:16544] CHIP:TOO: [2]: { + [1658473018.104879][16539:16544] CHIP:TOO: ActionID: 4098 + [1658473018.104894][16539:16544] CHIP:TOO: Name: Turn On Room 2 + [1658473018.104908][16539:16544] CHIP:TOO: Type: 3 + [1658473018.104923][16539:16544] CHIP:TOO: EndpointListID: 57346 + [1658473018.104938][16539:16544] CHIP:TOO: SupportedCommands: 1 + [1658473018.104953][16539:16544] CHIP:TOO: Status: 0 + [1658473018.104967][16539:16544] CHIP:TOO: } disabled: true - label: "Read SetupURL attribute" PICS: ACT.S.A0002 verification: | - Read SetupURL attribute + ./chip-tool bridgedactions read setup-url 1 1 + + Verify in TH log + + [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 + [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com disabled: true - label: "Verify that its syntax" verification: | - no Matter messages, but TH internal checking + Verify the syntax as specified in RFC 3986, max. 512 ASCII characters in below log + + [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 + [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com disabled: true - label: "Verify SetupURL points to a site providing information about the actions" verification: | - no Matter messages, but TH internal checking + accessing the URL on the internet + Verify SetupURL points to a site providing information about the actions in below log + + [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 + [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com disabled: true - label: - 'Verify SetupURL appended by "?/a=" and the decimal numeric value of - one of the exposed ActionIDs (see step 5a) points to a site providing - information about the action' + "Verify SetupURL appended by ?/a= and the decimal numeric value of one + of the exposed ActionIDs (see step 5a) points to a site providing + information about the action" + PICS: ACT.S.A0002 && ACT.S.M.SetupURLWithSuffix verification: | - no Matter messages, but TH internal checking + accessing the URL on the internet + Compare 5a and 6a, Verify SetupURL appended by "?/a=" and the decimal numeric value of one of the exposed ActionIDs disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml index 400f6dfb190104..39341561546c1f 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml @@ -13,7 +13,10 @@ # 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: 76.2.2. [TC-ACT-2.2] Primary functionality with server as DUT +name: 3.2.2. [TC-ACT-2.2] Primary functionality with server as DUT + +PICS: + - ACT.S config: nodeId: 0x12344321 @@ -23,7 +26,12 @@ config: tests: - label: "Commission DUT to TH (can be skipped if done in a preceding test)" verification: | + On DUT side: + sudo ./chip-bridge-app + + On TH side: + ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 disabled: true - label: @@ -31,13 +39,32 @@ tests: each multiple bridged devices (endpoints)" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - no Matter messages + Create multiple groups with each multiple bridged devices (endpoints) disabled: true - label: "Read EndpointLists attribute" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Read EndpointLists attribute + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH, verify the EndpointListStructs in TH Log: + [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries + [1658426570.716465][16527:16532] CHIP:TOO: [1]: { + [1658426570.716507][16527:16532] CHIP:TOO: EndpointListID: 0 + [1658426570.716534][16527:16532] CHIP:TOO: Name: living_room + [1658426570.716559][16527:16532] CHIP:TOO: Type: 1 + [1658426570.716588][16527:16532] CHIP:TOO: Endpoints: 2 entries + [1658426570.716617][16527:16532] CHIP:TOO: [1]: 2 + [1658426570.716646][16527:16532] CHIP:TOO: [2]: 3 + [1658426570.716673][16527:16532] CHIP:TOO: } + [1658426570.717133][16527:16532] CHIP:TOO: [2]: { + [1658426570.717160][16527:16532] CHIP:TOO: EndpointListID: 2 + [1658426570.717185][16527:16532] CHIP:TOO: Name: office + [1658426570.717209][16527:16532] CHIP:TOO: Type: 1 + [1658426570.717236][16527:16532] CHIP:TOO: Endpoints: 1 entries + [1658426570.717265][16527:16532] CHIP:TOO: [1]: 9 + [1658426570.717292][16527:16532] CHIP:TOO: } disabled: true - label: @@ -45,19 +72,79 @@ tests: groups" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Read EndpointLists attribute + press r in bridge-app to rename + (in the example, renamed "office" to "kitchen") disabled: true - label: "Read EndpointLists attribute again" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - TH internal checking of changes to EndpointLists attribute matching what was changed in 2c + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH, verify the EndpointListStructs in TH Log: + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 1 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.788278][14495:14500] CHIP:TOO: } disabled: true - label: "compare result of step 2d to what was read in step 2b" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - no Matter messages + compare result of step 2d to what was read in step 2b, Verify name field in relevant EndpointListStruct has been updated and no other changes in EndpointLists attribute + + Step 2d log + On TH, verify the EndpointListStructs in TH Log: + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 1 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.788278][14495:14500] CHIP:TOO: } + + Step 2b log + On TH, verify the EndpointListStructs in TH Log: + [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries + [1658426570.716465][16527:16532] CHIP:TOO: [1]: { + [1658426570.716507][16527:16532] CHIP:TOO: EndpointListID: 0 + [1658426570.716534][16527:16532] CHIP:TOO: Name: living_room + [1658426570.716559][16527:16532] CHIP:TOO: Type: 1 + [1658426570.716588][16527:16532] CHIP:TOO: Endpoints: 2 entries + [1658426570.716617][16527:16532] CHIP:TOO: [1]: 2 + [1658426570.716646][16527:16532] CHIP:TOO: [2]: 3 + [1658426570.716673][16527:16532] CHIP:TOO: } + [1658426570.717133][16527:16532] CHIP:TOO: [2]: { + [1658426570.717160][16527:16532] CHIP:TOO: EndpointListID: 2 + [1658426570.717185][16527:16532] CHIP:TOO: Name: office + [1658426570.717209][16527:16532] CHIP:TOO: Type: 1 + [1658426570.717236][16527:16532] CHIP:TOO: Endpoints: 1 entries + [1658426570.717265][16527:16532] CHIP:TOO: [1]: 9 + [1658426570.717292][16527:16532] CHIP:TOO: } disabled: true - label: @@ -65,69 +152,120 @@ tests: devices (one endpoint) from one group to another group" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - TH internal checking of changes to EndpointLists attribute matching what was changed in 2f + Press f in bridge app to move one of the bridged devices (one endpoint) from one group to another group disabled: true - label: "Read EndpointLists attribute again" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - no Matter messages + Press f in bridge app + (in the example, light at ep 3 was moved to kitchen) disabled: true - label: "compare result of step 2g to what was read in step 2e" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Read EndpointLists attribute + https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 disabled: true - label: "Using the manufacturer provided means, remove one of the groups" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - no Matter messages + Press i in bridge-ap to remove one of the groups disabled: true - label: "Read EndpointLists attribute again" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Read EndpointLists attribute + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH, verify the EndpointListStructs in TH Log: + [1658426959.409374][16560:16565] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658426959.409476][16560:16565] CHIP:TOO: endpoint list: 1 entries + [1658426959.409543][16560:16565] CHIP:TOO: [1]: { + [1658426959.409580][16560:16565] CHIP:TOO: EndpointListID: 0 + [1658426959.409604][16560:16565] CHIP:TOO: Name: living_room + [1658426959.409636][16560:16565] CHIP:TOO: Type: 1 + [1658426959.409691][16560:16565] CHIP:TOO: Endpoints: 1 entries + [1658426959.409730][16560:16565] CHIP:TOO: [1]: 2 + [1658426959.409755][16560:16565] CHIP:TOO: } disabled: true - label: "compare result of step 2j to what was read in step 2h" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - TH internal checking of changes to EndpointLists attribute matching what was changed in 2l + https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 disabled: true - label: "Using the manufacturer provided means, create a new group, which includes one of the bridged devices also present in another group" - PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists verification: | - no Matter messages + press l in bridge-app + in this example, a zone was created with same light (ep 2) disabled: true - label: "Read EndpointLists attribute again" - PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists verification: | - Read ActionList attribute + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH, verify the EndpointListStructs in TH Log: + [1658427088.316681][16578:16583] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + [1658427088.316792][16578:16583] CHIP:TOO: endpoint list: 2 entries + [1658427088.316850][16578:16583] CHIP:TOO: [1]: { + [1658427088.316890][16578:16583] CHIP:TOO: EndpointListID: 0 + [1658427088.316915][16578:16583] CHIP:TOO: Name: living_room + [1658427088.316939][16578:16583] CHIP:TOO: Type: 1 + [1658427088.316965][16578:16583] CHIP:TOO: Endpoints: 1 entries + [1658427088.316993][16578:16583] CHIP:TOO: [1]: 2 + [1658427088.317019][16578:16583] CHIP:TOO: } + [1658427088.317558][16578:16583] CHIP:TOO: [2]: { + [1658427088.317583][16578:16583] CHIP:TOO: EndpointListID: 2 + [1658427088.317606][16578:16583] CHIP:TOO: Name: dining + [1658427088.317628][16578:16583] CHIP:TOO: Type: 2 + [1658427088.317652][16578:16583] CHIP:TOO: Endpoints: 1 entries + [1658427088.317679][16578:16583] CHIP:TOO: [1]: 2 + [1658427088.317705][16578:16583] CHIP:TOO: } disabled: true - label: "compare result of step 2m to what was read in step 2k" - PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists + PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists verification: | - no Matter messages + https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 disabled: true - label: "Using the manufacturer provided means, create multiple actions" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - TH internal checking of changes to ActionList attribute matching what was changed in 3c + no Matter messages disabled: true - label: "Read ActionList attribute" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - no Matter messages + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries + [1658479958.699549][26130:26135] CHIP:TOO: [1]: { + [1658479958.699582][26130:26135] CHIP:TOO: ActionID: 4097 + [1658479958.699597][26130:26135] CHIP:TOO: Name: Room 1 On + [1658479958.699611][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699624][26130:26135] CHIP:TOO: EndpointListID: 57345 + [1658479958.699638][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699652][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699665][26130:26135] CHIP:TOO: } + [1658479958.699689][26130:26135] CHIP:TOO: [2]: { + [1658479958.699702][26130:26135] CHIP:TOO: ActionID: 4098 + [1658479958.699715][26130:26135] CHIP:TOO: Name: Turn On Room 2 + [1658479958.699727][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699740][26130:26135] CHIP:TOO: EndpointListID: 57346 + [1658479958.699753][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699765][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699777][26130:26135] CHIP:TOO: } disabled: true - label: @@ -135,19 +273,81 @@ tests: actions" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - TH internal checking of changes to ActionList attribute matching what was changed in 3f + Press m in bridge-app to update the name of one action disabled: true - label: "Read ActionList attribute again" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - no Matter messages + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries + [1658480004.064992][26153:26158] CHIP:TOO: [1]: { + [1658480004.065024][26153:26158] CHIP:TOO: ActionID: 4097 + [1658480004.065041][26153:26158] CHIP:TOO: Name: Turn On Room 1 + [1658480004.065057][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065073][26153:26158] CHIP:TOO: EndpointListID: 57345 + [1658480004.065090][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065105][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065120][26153:26158] CHIP:TOO: } + [1658480004.065148][26153:26158] CHIP:TOO: [2]: { + [1658480004.065165][26153:26158] CHIP:TOO: ActionID: 4098 + [1658480004.065179][26153:26158] CHIP:TOO: Name: Turn On Room 2 + [1658480004.065194][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065209][26153:26158] CHIP:TOO: EndpointListID: 57346 + [1658480004.065223][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065238][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065252][26153:26158] CHIP:TOO: } disabled: true - label: "compare result of step 3d to what was read in step 3b" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - Read ActionList attribute + Compare step 3d and 3b and verify the name field has been chamged + + Step 3d + Verify ActionStructs in TH Log: + [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries + [1658480004.064992][26153:26158] CHIP:TOO: [1]: { + [1658480004.065024][26153:26158] CHIP:TOO: ActionID: 4097 + [1658480004.065041][26153:26158] CHIP:TOO: Name: Turn On Room 1 + [1658480004.065057][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065073][26153:26158] CHIP:TOO: EndpointListID: 57345 + [1658480004.065090][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065105][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065120][26153:26158] CHIP:TOO: } + [1658480004.065148][26153:26158] CHIP:TOO: [2]: { + [1658480004.065165][26153:26158] CHIP:TOO: ActionID: 4098 + [1658480004.065179][26153:26158] CHIP:TOO: Name: Turn On Room 2 + [1658480004.065194][26153:26158] CHIP:TOO: Type: 3 + [1658480004.065209][26153:26158] CHIP:TOO: EndpointListID: 57346 + [1658480004.065223][26153:26158] CHIP:TOO: SupportedCommands: 1 + [1658480004.065238][26153:26158] CHIP:TOO: Status: 0 + [1658480004.065252][26153:26158] CHIP:TOO: } + + Step 3b Log: + Verify ActionStructs in TH Log: + [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries + [1658479958.699549][26130:26135] CHIP:TOO: [1]: { + [1658479958.699582][26130:26135] CHIP:TOO: ActionID: 4097 + [1658479958.699597][26130:26135] CHIP:TOO: Name: Room 1 On + [1658479958.699611][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699624][26130:26135] CHIP:TOO: EndpointListID: 57345 + [1658479958.699638][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699652][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699665][26130:26135] CHIP:TOO: } + [1658479958.699689][26130:26135] CHIP:TOO: [2]: { + [1658479958.699702][26130:26135] CHIP:TOO: ActionID: 4098 + [1658479958.699715][26130:26135] CHIP:TOO: Name: Turn On Room 2 + [1658479958.699727][26130:26135] CHIP:TOO: Type: 3 + [1658479958.699740][26130:26135] CHIP:TOO: EndpointListID: 57346 + [1658479958.699753][26130:26135] CHIP:TOO: SupportedCommands: 1 + [1658479958.699765][26130:26135] CHIP:TOO: Status: 0 + [1658479958.699777][26130:26135] CHIP:TOO: } disabled: true - label: @@ -155,58 +355,106 @@ tests: actions" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - + Press n in bridge-app to remove one of exposed actions disabled: true - label: "Read ActionList attribute again" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - no Matter messages + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + [1658480039.164683][26172:26177] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480039.164758][26172:26177] CHIP:TOO: action list: 1 entries + [1658480039.164815][26172:26177] CHIP:TOO: [1]: { + [1658480039.164846][26172:26177] CHIP:TOO: ActionID: 4097 + [1658480039.164872][26172:26177] CHIP:TOO: Name: Turn On Room 1 + [1658480039.164897][26172:26177] CHIP:TOO: Type: 3 + [1658480039.164920][26172:26177] CHIP:TOO: EndpointListID: 57345 + [1658480039.164948][26172:26177] CHIP:TOO: SupportedCommands: 1 + [1658480039.164974][26172:26177] CHIP:TOO: Status: 0 + [1658480039.164997][26172:26177] CHIP:TOO: } disabled: true - label: "compare result of step 3g to what was read in step 3e" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - Read ActionList attribute + https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 disabled: true - label: "Using the manufacturer provided means, add a new exposed action" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - sequence of Matter messages as described + press o in bridge-app disabled: true - label: "Read ActionList attribute again" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - sequence of Matter messages as described + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + [1658480059.199268][26178:26183] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480059.199349][26178:26183] CHIP:TOO: action list: 2 entries + [1658480059.199410][26178:26183] CHIP:TOO: [1]: { + [1658480059.199440][26178:26183] CHIP:TOO: ActionID: 4097 + [1658480059.199457][26178:26183] CHIP:TOO: Name: Turn On Room 1 + [1658480059.199473][26178:26183] CHIP:TOO: Type: 3 + [1658480059.199488][26178:26183] CHIP:TOO: EndpointListID: 57345 + [1658480059.199505][26178:26183] CHIP:TOO: SupportedCommands: 1 + [1658480059.199520][26178:26183] CHIP:TOO: Status: 0 + [1658480059.199534][26178:26183] CHIP:TOO: } + [1658480059.199562][26178:26183] CHIP:TOO: [2]: { + [1658480059.199578][26178:26183] CHIP:TOO: ActionID: 4099 + [1658480059.199593][26178:26183] CHIP:TOO: Name: Turn Off Room 1 + [1658480059.199607][26178:26183] CHIP:TOO: Type: 3 + [1658480059.199622][26178:26183] CHIP:TOO: EndpointListID: 57347 + [1658480059.199636][26178:26183] CHIP:TOO: SupportedCommands: 1 + [1658480059.199651][26178:26183] CHIP:TOO: Status: 0 + [1658480059.199665][26178:26183] CHIP:TOO: } disabled: true - label: "compare result of step 3j to what was read in step 3h" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - + https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 disabled: true - - label: - "Using the manufacturer provided means, create multiple actions (NOTE - if this is not provided, it is assumed the DUT automagically creates - these)" - PICS: ACT.S.A0000 + - label: "Using the manufacturer provided means, create multiple actions" + PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - + no Matter messages disabled: true - label: "Read ActionList attribute" PICS: ACT.S.A0000 verification: | - + ./chip-tool bridgedactions read action-list 1 1 + + Verify ActionStructs in TH Log: + [1658480080.135069][26185:26190] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 + [1658480080.135130][26185:26190] CHIP:TOO: action list: 2 entries + [1658480080.135191][26185:26190] CHIP:TOO: [1]: { + [1658480080.135222][26185:26190] CHIP:TOO: ActionID: 4097 + [1658480080.135238][26185:26190] CHIP:TOO: Name: Turn On Room 1 + [1658480080.135253][26185:26190] CHIP:TOO: Type: 3 + [1658480080.135269][26185:26190] CHIP:TOO: EndpointListID: 57345 + [1658480080.135285][26185:26190] CHIP:TOO: SupportedCommands: 1 + [1658480080.135300][26185:26190] CHIP:TOO: Status: 0 + [1658480080.135315][26185:26190] CHIP:TOO: } + [1658480080.135342][26185:26190] CHIP:TOO: [2]: { + [1658480080.135357][26185:26190] CHIP:TOO: ActionID: 4099 + [1658480080.135371][26185:26190] CHIP:TOO: Name: Turn Off Room 1 + [1658480080.135386][26185:26190] CHIP:TOO: Type: 3 + [1658480080.135400][26185:26190] CHIP:TOO: EndpointListID: 57347 + [1658480080.135415][26185:26190] CHIP:TOO: SupportedCommands: 1 + [1658480080.135430][26185:26190] CHIP:TOO: Status: 0 + [1658480080.135443][26185:26190] CHIP:TOO: } disabled: true - label: "subscribe to StateChanged and ActionFailed events" - PICS: ACT.S.A0000 verification: | - + subscribe to events (Needs SDK implemenation) disabled: true - label: @@ -214,13 +462,11 @@ tests: 4b), perform one of the actions supported (see SupportedCommands in this ActionStruct) by sending the command with this particular ActionID and a random value for InvokeID" - PICS: ACT.S.A0000 verification: | - + sequence of Matter messages as described disabled: true - label: "repeat 4d for the other SupportedCommands of each ActionStruct" - PICS: ACT.S.A0000 verification: | - + sequence of Matter messages as described disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml index b1680797059659..0f14c7bd1db201 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.1.1. [TC-BINFO-1.1] Global Attributes for Basic Information Cluster + 12.1.1. [TC-BINFO-1.1] Global Attributes for Basic Information Cluster [DUT-Server] +PICS: + - BINFO.S + config: nodeId: 0x12344321 cluster: "Basic" @@ -24,12 +27,9 @@ config: tests: - label: "Commission DUT to TH" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId + verification: | + verification step to be updated. + disabled: true - label: "TH reads the ClusterRevision from DUT" verification: | @@ -38,14 +38,9 @@ tests: [1651214669.313397][2666:2671] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFD DataVersion: 158558310 [1651214669.313472][2666:2671] CHIP:TOO: ClusterRevision: 1 - command: "readAttribute" - attribute: "ClusterRevision" - response: - value: 1 - constraints: - type: int16u - - - label: "TH reads the FeatureMap from DUT" + disabled: true + + - label: "TH reads the FeatureMap from DUTF" verification: | ./chip-tool basic read feature-map 1 0 @@ -54,12 +49,7 @@ tests: [1653459580.065669][29174:29179] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFC DataVersion: 46104872 [1653459580.065758][29174:29179] CHIP:TOO: FeatureMap: 0 [1653459580.065936][29174:29179] CHIP:EM: Sending Standalone Ack for MessageCounter:14961519 on exchange 31457i - command: "readAttribute" - attribute: "FeatureMap" - response: - value: 0 - constraints: - type: bitmap32 + disabled: true - label: "TH reads AttributeList from DUT" verification: | @@ -80,14 +70,6 @@ tests: [1657021528.885865][7089:7094] CHIP:TOO: [9]: 8 [1657021528.885890][7089:7094] CHIP:TOO: [10]: 9 [1657021528.885915][7089:7094] CHIP:TOO: [11]: 10 - [1657021528.886135][7089:7094] CHIP:TOO: [20]: 19 - [1657021528.886160][7089:7094] CHIP:TOO: [21]: 65528 - [1657021528.886184][7089:7094] CHIP:TOO: [22]: 65529 - [1657021528.886209][7089:7094] CHIP:TOO: [23]: 65531 - [1657021528.886234][7089:7094] CHIP:TOO: [24]: 65532 - [1657021528.886258][7089:7094] CHIP:TOO: [25]: 65533 - - NOTE also any optional attributes: [1657021528.885939][7089:7094] CHIP:TOO: [12]: 11 [1657021528.885964][7089:7094] CHIP:TOO: [13]: 12 [1657021528.885988][7089:7094] CHIP:TOO: [14]: 13 @@ -96,32 +78,13 @@ tests: [1657021528.886062][7089:7094] CHIP:TOO: [17]: 16 [1657021528.886086][7089:7094] CHIP:TOO: [18]: 17 [1657021528.886111][7089:7094] CHIP:TOO: [19]: 18 - - command: "readAttribute" - attribute: "AttributeList" - response: - constraints: - type: list - contains: - [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 19, - 65528, - 65529, - 65531, - 65532, - 65533, - ] + [1657021528.886135][7089:7094] CHIP:TOO: [20]: 19 + [1657021528.886160][7089:7094] CHIP:TOO: [21]: 65528 + [1657021528.886184][7089:7094] CHIP:TOO: [22]: 65529 + [1657021528.886209][7089:7094] CHIP:TOO: [23]: 65531 + [1657021528.886234][7089:7094] CHIP:TOO: [24]: 65532 + [1657021528.886258][7089:7094] CHIP:TOO: [25]: 65533 + disabled: true - label: "TH reads EventList from DUT" verification: | @@ -136,12 +99,7 @@ tests: [1651214820.355561][2695:2700] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF9 DataVersion: 158558310 [1651214820.355673][2695:2700] CHIP:TOO: AcceptedCommandList: 0 entries - command: "readAttribute" - attribute: "AcceptedCommandList" - response: - value: [] - constraints: - type: list + disabled: true - label: "TH reads GeneratedCommandList from DUT" verification: | @@ -151,9 +109,4 @@ tests: [1651214861.208575][2702:2707] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF8 DataVersion: 158558310 [1651214861.208682][2702:2707] CHIP:TOO: GeneratedCommandList: 0 entries - command: "readAttribute" - attribute: "GeneratedCommandList" - response: - value: [] - constraints: - type: list + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml index f6e1cc7ddd8ffd..0ad5188ed749a4 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml @@ -13,22 +13,26 @@ # 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: "[TC-BINFO-2.2] Events [DUT - Server]" +name: 12.2.2. [TC-BINFO-2.2] Events [DUT-Server] + +PICS: + - BINFO.S config: nodeId: 0x12344321 cluster: "Basic" endpoint: 0 + tests: - label: "Reboot the DUT TH reads the StartUp event from DUT" PICS: BINFO.S.E00 verification: | - On Raspi platform the event is triggered with this command, Pls use equivalent command on the respective DUT + To verify StartUp event follow the below commands , Pls use equivalent command on the respective DUT ./chip-tool basic read-event start-up 1 0 - On TH verify that StartUp event has priority set as CRITICAL and software verision + verify that StartUp event as priority set has CRITICAL and software verision on TH(chip-tool) [1657193007.841105][5422:5427] CHIP:DMG: ], [1657193007.841137][5422:5427] CHIP:DMG: @@ -48,7 +52,7 @@ tests: - label: "TH subscribes to the ShutDown event on the DUT. Shutdown DUT." PICS: BINFO.S.E01 verification: | - On Raspi platform the event is triggered with this command, Pls use equivalent command on the respective DUT + To verify leave event follow the below commands , Pls use equivalent command on the respective DUT 1. Launch chip-tool into interactive mode with the command @@ -59,7 +63,7 @@ tests: 2. run below command in interactive mode shell and Turn down the DUT - On TH verify that StartUp event has priority set as CRITICAL + verify that ShutDown event as priority set has CRITICAL on TH(chip-tool) CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0001 [1653050528.900202][119367:119372] CHIP:TOO: Event number: 5 diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml index 17f58a47a98836..0b89e541ac18bd 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_4.yaml @@ -13,7 +13,10 @@ # 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.1.4. [TC-BINFO-2.4] Basic Information Cluster Events [DUT - Controller] +name: 3.1.4. [TC-BINFO-2.4] Events [DUT - Client] + +PICS: + - BINFO.C config: nodeId: 0x12344321 @@ -21,136 +24,79 @@ config: endpoint: 0 tests: - - label: "Simulate a reboot on the TH" + - label: "Simulate a Reachable attribute change on the TH" + PICS: BINFO.C.E03 verification: | - ./chip-tool basic read-event start-up 1 0 + "reachable-changed" Event is an Optional event + As its an optional event we cannot generate the event as of now , hence no example logs provided. - [1651229405.704017][2825:2825] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:11744980 on exchange 35983r - [1651229405.704064][2825:2825] CHIP:EM: Handling via exchange: 35983r, Delegate: 0xaaaae659a088 - [1651229405.704208][2825:2825] CHIP:IM: Received Read request - [1651229405.704271][2825:2825] CHIP:DMG: ReadRequestMessage = - [1651229405.704303][2825:2825] CHIP:DMG: { - [1651229405.704329][2825:2825] CHIP:DMG: EventPathIBs = - [1651229405.704362][2825:2825] CHIP:DMG: [ - [1651229405.704392][2825:2825] CHIP:DMG: EventPath = - [1651229405.704428][2825:2825] CHIP:DMG: { - [1651229405.704463][2825:2825] CHIP:DMG: Endpoint = 0x0, - [1651229405.704501][2825:2825] CHIP:DMG: Cluster = 0x28, - [1651229405.704539][2825:2825] CHIP:DMG: Event = 0x0, - [1651229405.704575][2825:2825] CHIP:DMG: }, - [1651229405.704613][2825:2825] CHIP:DMG: - [1651229405.704641][2825:2825] CHIP:DMG: ], - [1651229405.704676][2825:2825] CHIP:DMG: - [1651229405.704707][2825:2825] CHIP:DMG: isFabricFiltered = true, - [1651229405.704737][2825:2825] CHIP:DMG: InteractionModelRevision = 1 - [1651229405.704766][2825:2825] CHIP:DMG: }, - - On TH side: - " ./chip-tool basic read-event start-up 1 0 - - - - [1646996282.798986][2283:2288] CHIP:DMG: - [1646996282.799030][2283:2288] CHIP:DMG: SuppressResponse = true, - [1646996282.799075][2283:2288] CHIP:DMG: InteractionModelRevision = 1 - [1646996282.799117][2283:2288] CHIP:DMG: } - [1646996282.799379][2283:2288] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 - [1646996282.799425][2283:2288] CHIP:TOO: Event number: 0 - [1646996282.799465][2283:2288] CHIP:TOO: Priority: Critical - [1646996282.799505][2283:2288] CHIP:TOO: Timestamp: 429117 - [1646996282.799725][2283:2288] CHIP:TOO: StartUp: { - [1646996282.799787][2283:2288] CHIP:TOO: SoftwareVersion: 0 - [1646996282.799832][2283:2288] CHIP:TOO: }" + ./chip-tool basic read-event reachable-changed 1 0 disabled: true - - label: "Simulate a Shut down on the TH" + - label: "Simulate a shutdown on the TH" PICS: BINFO.C.E01 verification: | - 1. Launch chip-tool into interactive mode with the command ./chip-tool interactive start + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) and TH as all-clusters-app. + + + To verify shutdown event follow the below commands, - 2. Turn down the DUT and run below command in interactive mode shell - basic subscribe-event shut-down 1 3 1 0 + 1. Launch chip-tool into interactive mode with using the below command + ./chip-tool interactive start - CHIP:ZCL: Emitting ShutDown event - [1653392378.033015][19010:19010] CHIP:EVL: LogEvent event number: 0x0000000000000005 priority: 2, endpoint id: 0x0 cluster id: 0x0000_0028 event id: 0x1 Sys timestamp: 0x0000000006AD1297 + + 2. run below subscribe-event command in interactive mode shell and then Turn down the TH (all-clusters-app) + basic subscribe-event shut-down 20 100 1 0 + + On DUT as a client side, ,verify that Shutdown event has priority set as CRITICAL + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0001 + [1653050528.900202][119367:119372] CHIP:TOO: Event number: 5 + [1653050528.900295][119367:119372] CHIP:TOO: Priority: Critical + [1653050528.900386][119367:119372] CHIP:TOO: Timestamp: 289436805 + [1653050528.900630][119367:119372] CHIP:TOO: ShutDown: { + [1653050528.900732][119367:119372] CHIP:TOO: } + [1653050528.900892][119367:119372] CHIP:DMG: Refresh LivenessCheckTime for 28000 milliseconds with SubscriptionId = 0x27408c83 Peer = 01:0000000000000 disabled: true - - label: "Simulate a reboot on the TH" + - label: "Simulate a (re)start on the TH after the previous shutdown" + PICS: BINFO.C.E00 verification: | ./chip-tool basic read-event start-up 1 0 - - [1651229405.704017][2825:2825] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:11744980 on exchange 35983r - [1651229405.704064][2825:2825] CHIP:EM: Handling via exchange: 35983r, Delegate: 0xaaaae659a088 - [1651229405.704208][2825:2825] CHIP:IM: Received Read request - [1651229405.704271][2825:2825] CHIP:DMG: ReadRequestMessage = - [1651229405.704303][2825:2825] CHIP:DMG: { - [1651229405.704329][2825:2825] CHIP:DMG: EventPathIBs = - [1651229405.704362][2825:2825] CHIP:DMG: [ - [1651229405.704392][2825:2825] CHIP:DMG: EventPath = - [1651229405.704428][2825:2825] CHIP:DMG: { - [1651229405.704463][2825:2825] CHIP:DMG: Endpoint = 0x0, - [1651229405.704501][2825:2825] CHIP:DMG: Cluster = 0x28, - [1651229405.704539][2825:2825] CHIP:DMG: Event = 0x0, - [1651229405.704575][2825:2825] CHIP:DMG: }, - [1651229405.704613][2825:2825] CHIP:DMG: - [1651229405.704641][2825:2825] CHIP:DMG: ], - [1651229405.704676][2825:2825] CHIP:DMG: - [1651229405.704707][2825:2825] CHIP:DMG: isFabricFiltered = true, - [1651229405.704737][2825:2825] CHIP:DMG: InteractionModelRevision = 1 - [1651229405.704766][2825:2825] CHIP:DMG: }, + verify that StartUp event has priority set as CRITICAL and software version field on TH(all-clusters-app) log + + [1657193007.841105][5422:5427] CHIP:DMG: ], + [1657193007.841137][5422:5427] CHIP:DMG: + [1657193007.841162][5422:5427] CHIP:DMG: SuppressResponse = true, + [1657193007.841186][5422:5427] CHIP:DMG: InteractionModelRevision = 1 + [1657193007.841209][5422:5427] CHIP:DMG: } + [1657193007.841358][5422:5427] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0000 + [1657193007.841387][5422:5427] CHIP:TOO: Event number: 0 + [1657193007.841409][5422:5427] CHIP:TOO: Priority: Critical + [1657193007.841431][5422:5427] CHIP:TOO: Timestamp: 132146 + [1657193007.841531][5422:5427] CHIP:TOO: StartUp: { + [1657193007.841570][5422:5427] CHIP:TOO: SoftwareVersion: 1 + [1657193007.841594][5422:5427] CHIP:TOO: } + [1657193007.841691][5422:5427] CHIP:EM: Sending Standalone Ack for MessageCounter:91740387 on exchange 60385i" disabled: true - - label: "Simulate a Factory Reset the TH" + - label: "Simulate a leave current fabric operation on the TH" + PICS: BINFO.C.E02 verification: | To verify leave event follow the below commands + 1. ./chip-tool interactive start 2. basic subscribe-event leave 1 100 1 0 3. operationalcredentials remove-fabric 1 1 0 + verify that leave event has priority as INFO on TH (all-clusters-app) + [1655369668.996192][2323:2328] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0002 - [1655369668.996235][2323:2328] CHIP:TOO: Event number: 2 - [1655369668.996273][2323:2328] CHIP:TOO: Priority: Info - [1655369668.996311][2323:2328] CHIP:TOO: Timestamp: 659361 + [1655369668.996235][2323:2328] CHIP:TOO: Event number: 2 + [1655369668.996273][2323:2328] CHIP:TOO: Priority: Info + [1655369668.996311][2323:2328] CHIP:TOO: Timestamp: 659361 [1655369668.998931][2323:2328] CHIP:TOO: Leave: { [1655369668.998986][2323:2328] CHIP:TOO: } disabled: true - - - label: "Simulate a reboot on the TH" - verification: | - ./chip-tool basic read-event start-up 1 0 - - - [1651229405.704017][2825:2825] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:11744980 on exchange 35983r - [1651229405.704064][2825:2825] CHIP:EM: Handling via exchange: 35983r, Delegate: 0xaaaae659a088 - [1651229405.704208][2825:2825] CHIP:IM: Received Read request - [1651229405.704271][2825:2825] CHIP:DMG: ReadRequestMessage = - [1651229405.704303][2825:2825] CHIP:DMG: { - [1651229405.704329][2825:2825] CHIP:DMG: EventPathIBs = - [1651229405.704362][2825:2825] CHIP:DMG: [ - [1651229405.704392][2825:2825] CHIP:DMG: EventPath = - [1651229405.704428][2825:2825] CHIP:DMG: { - [1651229405.704463][2825:2825] CHIP:DMG: Endpoint = 0x0, - [1651229405.704501][2825:2825] CHIP:DMG: Cluster = 0x28, - [1651229405.704539][2825:2825] CHIP:DMG: Event = 0x0, - [1651229405.704575][2825:2825] CHIP:DMG: }, - [1651229405.704613][2825:2825] CHIP:DMG: - [1651229405.704641][2825:2825] CHIP:DMG: ], - [1651229405.704676][2825:2825] CHIP:DMG: - [1651229405.704707][2825:2825] CHIP:DMG: isFabricFiltered = true, - [1651229405.704737][2825:2825] CHIP:DMG: InteractionModelRevision = 1 - [1651229405.704766][2825:2825] CHIP:DMG: }, - disabled: true - - - label: "Simulate a Reachable attribute change on the TH" - PICS: BINFO.C.E03 - verification: | - ./chip-tool basic read-event reachable-changed 1 0 - - [1655369993.433630][2377:2382] CHIP:DMG: ReportDataMessage = - [1655369993.433667][2377:2382] CHIP:DMG: { - [1655369993.433699][2377:2382] CHIP:DMG: SuppressResponse = true, - [1655369993.433742][2377:2382] CHIP:DMG: InteractionModelRevision = 1 - [1655369993.433775][2377:2382] CHIP:DMG: } - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml index c203aacebaa71a..f97bc710fb0b9a 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.1.3. [TC-CNET-1.3] Global Attributes for Networking commissioning cluster + 12.1.3. [TC-CNET-1.3] Global Attributes for Networking commissioning cluster [DUT-Server] +PICS: + - CNET.S + config: nodeId: 0x12344321 cluster: "Basic" @@ -25,14 +28,14 @@ config: tests: - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - + verification step to be updated. disabled: true - label: "TH reads the ClusterRevision from DUT" verification: | ./chip-tool networkcommissioning read cluster-revision 1 0 - Verify on the TH Log: + Verify ClusterRevision: 1 on the TH Log: [1649244866.275684][30440:30446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFD DataVersion: 2702518944 [1649244866.277721][30440:30446] CHIP:TOO: ClusterRevision: 1 @@ -43,8 +46,7 @@ tests: verification: | ./chip-tool networkcommissioning read feature-map 1 0 - - Verify on the TH Log: + Verify FeatureMap on the TH Log: [1651215443.195852][3285:3290] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 2584224280 [1651215443.195939][3285:3290] CHIP:TOO: FeatureMap: 4 @@ -54,8 +56,7 @@ tests: verification: | ./chip-tool networkcommissioning read attribute-list 1 0 - - Verify on the TH Log: + Verify AttributeList on the TH Log: [1651215479.539148][3293:3298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFB DataVersion: 2584224280 [1651215479.539230][3293:3298] CHIP:TOO: AttributeList: 13 entries @@ -81,12 +82,9 @@ tests: - label: "TH reads AcceptedCommandList from DUT" verification: | - In case of chip tool, here is an example command to use - ./chip-tool networkcommissioning read accepted-command-list 1 0 - - Verify on the TH Log: + Verify AcceptedCommandList on the TH Log: [1653909914.972854][3424:3429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 880539056 [1653909914.973027][3424:3429] CHIP:TOO: AcceptedCommandList: 5 entries @@ -100,10 +98,10 @@ tests: - label: "TH reads GeneratedCommandList from DUT" verification: | - ( WiFi) ubuntu@TE-8:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read generated-command-list 1 0 + ( WiFi) ./chip-tool networkcommissioning read generated-command-list 1 0 - Verify on the TH Log: + Verify GeneratedCommandList on the TH Log: [1650370123.417759][42418:42423] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 3182776035 [1650370123.417866][42418:42423] CHIP:TOO: GeneratedCommandList: 3 entries @@ -115,7 +113,7 @@ tests: ( Thread ) ./chip-tool networkcommissioning read generated-command-list 51 0 - Verify on the TH Log: + Verify GeneratedCommandList on the TH Log: [1650370342.693373][7450:7455] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 1032683896 [1650370342.693536][7450:7455] CHIP:TOO: GeneratedCommandList: 2 entries @@ -129,5 +127,5 @@ tests: "NOTE: Repeat the test case by Commission DUT to TH on the Thread and Ethernet setups" verification: | - + verification step to be updated. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml index 2f1f0e88821dca..7aaff6332b8310 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml @@ -14,7 +14,10 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.1. [TC-CNET-4.1] [Wi-Fi] Verification for attributes check [DUT-Server] + 12.4.1. [TC-CNET-4.1] [Wi-Fi] Verification for attributes check [DUT-Server] + +PICS: + - CNET.S.F00 config: nodeId: 0x12344321 @@ -24,12 +27,12 @@ config: tests: - label: "Factory reset the DUT" verification: | - + verification step to be updated. disabled: true - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - + verification step to be updated. disabled: true - label: @@ -38,7 +41,7 @@ tests: verification: | ./chip-tool descriptor read server-list 1 0 - Verify on the TH Log: + Verify "server list" on the TH(chip-tool) Log: [1654250292.680821][5262:5267] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 812190876 [1654250292.681079][5262:5267] CHIP:TOO: server list: 26 entries @@ -74,8 +77,7 @@ tests: verification: | ./chip-tool networkcommissioning read feature-map 1 0 - - Verify on the TH Log: + Verify "FeatureMap: 1" on the TH(chip-tool) Log: [1653473169.784344][29771:29776] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 1600858167 [1653473169.784413][29771:29776] CHIP:TOO: FeatureMap: 1 @@ -87,8 +89,7 @@ tests: verification: | ./chip-tool networkcommissioning read max-networks 1 0 - - Verify on the TH Log: + Verify "MaxNetworks" on the TH(chip-tool) Log: [1653473181.407542][29777:29782] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 1600858167 [1653473181.407621][29777:29782] CHIP:TOO: MaxNetworks: 1 @@ -96,10 +97,10 @@ tests: disabled: true - label: - "TH saves the MaxNetworks attribute value as 'MaxNetworksValue' for + "TH saves the MaxNetworks attribute value as MaxNetworksValue for future use" verification: | - + verification step to be updated. disabled: true - label: "TH reads the Networks attribute list from the DUT" @@ -108,7 +109,7 @@ tests: ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376 [1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries @@ -123,7 +124,7 @@ tests: verification: | ./chip-tool networkcommissioning read scan-max-time-seconds 1 0 - Verify on the TH Log: + Verify "ScanMaxTimeSeconds" on the TH(chip-tool) Log: [1653473784.850830][29813:29818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 1600858167 @@ -137,7 +138,7 @@ tests: ./chip-tool networkcommissioning read connect-max-time-seconds 1 0 - Verify on the TH Log: + Verify "ConnectMaxTimeSeconds" on the TH(chip-tool) Log: [1653473821.367214][29821:29826] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 1600858167 [1653473821.367283][29821:29826] CHIP:TOO: ConnectMaxTimeSeconds: 20 @@ -150,7 +151,7 @@ tests: ./chip-tool networkcommissioning read interface-enabled 1 0 - Verify on the TH Log: + Verify "InterfaceEnabled" on the TH(chip-tool) Log: [1653473893.275901][29834:29839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 1600858167 [1653473893.275964][29834:29839] CHIP:TOO: InterfaceEnabled: TRUE @@ -163,7 +164,7 @@ tests: ./chip-tool networkcommissioning read last-networking-status 1 0 - Verify on the TH Log: + Verify "LastNetworkingStatus" on the TH(chip-tool) Log: [1653473918.484769][29840:29845] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 [1653473918.484843][29840:29845] CHIP:TOO: LastNetworkingStatus: 0 @@ -175,9 +176,9 @@ tests: Networks attribute from the DUT" PICS: CNET.S.A0006 verification: | - ./chip-tool networkcommissioning read last-network-id 1 + ./chip-tool networkcommissioning read last-network-id 1 0 - Verify on the TH Log: + Verify "LastNetworkID" on the TH(chip-tool) Log: "[1653474059.383553][27286:27291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1912591449 @@ -191,7 +192,7 @@ tests: ./chip-tool networkcommissioning read last-connect-error-value 1 0 - Verify on the TH Log: + Verify "LastConnectErrorValue" on the TH(chip-tool) Log: [1653474102.061746][29860:29865] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 1600858167 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml index 97b156d7b4f886..db14b8bdd36467 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.8. [TC-CNET-4.10] [Thread] Verification for RemoveNetwork Command + 12.4.8. [TC-CNET-4.10] [Thread] Verification for RemoveNetwork Command [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -42,7 +45,7 @@ tests: - label: "TH1 reads Networks attribute from the DUT and save the number of - entries as 'NumNetworks'" + entries as NumNetworks" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 1 0 @@ -61,9 +64,9 @@ tests: - label: "TH finds the index of the Networks list entry with NetworkID field value PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET and saves it as - 'Userth_netidx'" + Userth_netidx" verification: | - + verification step to be updated. disabled: true - label: @@ -73,7 +76,9 @@ tests: PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:1850171990782922 62 0 Verify NetworkConfigResponse and its arguments on the TH Log: @@ -145,7 +150,9 @@ tests: PICS: CNET.S.C04.Rsp verification: | ./chip-tool networkcommissioning connect-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning connect-network hex:1850171990782922 1 0 --Breadcrumb 2 Verify ConnectNetworkResponse and its arguments on the TH Log: @@ -233,7 +240,9 @@ tests: PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:1850171990782922 32 0 --Breadcrumb 1 Verify NetworkConfigResponse and its arguments on the TH Log: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml index 5960a4a50c3486..30c2f770f3562c 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.9. [TC-CNET-4.11] [Wi-Fi] Verification for ConnectNetwork Command + 12.4.9. [TC-CNET-4.11] [Wi-Fi] Verification for ConnectNetwork Command [DUT-Server] +PICS: + - CNET.S.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -27,7 +30,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1653479952.284160][30473:30478] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -41,12 +44,12 @@ tests: - label: "TH reads Networks attribute from the DUT and saves the number of - entries as 'NumNetworks'" + entries as NumNetworks" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657733068.835240][7475:7480] CHIP:TOO: Networks: 1 entries [1657733068.835354][7475:7480] CHIP:TOO: [1]: { @@ -57,10 +60,9 @@ tests: - label: "TH finds the index of the Networks list entry with NetworkID for - PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and saves it as - 'Userwifi_netidx'" + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and saves it as Userwifi_netidx" verification: | - + verification step to be updated. disabled: true - label: @@ -68,9 +70,13 @@ tests: PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1657290079.168208][2668:2673] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1657290079.168273][2668:2673] CHIP:TOO: NetworkConfigResponse: { @@ -86,9 +92,13 @@ tests: set to 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning add-or-update-wi-fi-network Sbee_Moto Sunsuraj 1 0 --Breadcrumb 1 ( second network) - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1657288838.207746][2455:2460] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1657288838.207816][2455:2460] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -98,12 +108,12 @@ tests: [1657288838.208068][2455:2460] CHIP:TOO: } disabled: true - - label: "TH reads Networks attribute from the DUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657733345.351745][7595:7600] CHIP:TOO: Networks: 1 entries [1657733345.351888][7595:7600] CHIP:TOO: [1]: { @@ -113,13 +123,18 @@ tests: disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 2" + "TH sends ConnectNetwork command to the DUT with NetworkID + field set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID + and Breadcrumb field set to 2" PICS: CNET.S.C06.Rsp verification: | + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning connect-network hex:536265655F4D6F746F 1 0 --Breadcrumb 2 (second network) - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1653479953.633815][30491:30496] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -135,16 +150,16 @@ tests: "TH changes its WiFi connection to PIXIT.CNET.WIFI_2ND_ACCESSPOINT_SSID" verification: | - + verification step to be updated. disabled: true - label: - "TH discovers andconnects to DUTon thePIXIT.CNET.WIFI_ - 2ND_ACCESSPOINT_SSID operational network" + "TH discovers and connects to DUT on + the PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID operational network" verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657733596.457792][7640:7645] CHIP:TOO: Networks: 1 entries @@ -155,27 +170,27 @@ tests: disabled: true - label: - "TH readsBreadcrumbattribute from theGeneral\r Commissioningcluster of - the DUT" + "TH reads Breadcrumb attribute from + the General Commissioning cluster of the DUT" PICS: CNET.S.C06.Rsp verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify Breadcrumb: 2 on the TH Log: [1657733618.370511][7653:7658] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2956231097 [1657733618.370581][7653:7658] CHIP:TOO: Breadcrumb: 2 disabled: true - label: - "TH sendsArmFailSafecommand to theDUT with ExpiryLengthSeconds set to - 0. This forcibly disarmsthe fail-safe and isexpected to causethe - changes ofconfiguration toNetworkCommissioning cluster doneso far to - bereverted." + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0. This forcibly disarms the + fail-safe and is expected to cause the changes of configuration + to NetworkCommissi oning cluster done so far to be reverted." verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1657289119.775902][2519:2524] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657289119.775973][2519:2524] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -186,10 +201,10 @@ tests: disabled: true - label: - "TH changes itsWiFi connection toPIXIT.CNET.WIFI_\r - 1ST_ACCESSPOINT_SSID" + "TH changes its WiFi connection + to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID" verification: | - + verification step to be updated. disabled: true - label: @@ -198,7 +213,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657881740.139492][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4005581086 [1657881740.139598][3022:3027] CHIP:TOO: Networks: 0 entries @@ -206,12 +221,12 @@ tests: disabled: true - label: - "TH sendsArmFailSafecommand to theDUT with\r ExpiryLengthSeconds set - to 900" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 900" verification: | ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1657289228.311622][2529:2534] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657289228.311668][2529:2534] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -222,13 +237,16 @@ tests: disabled: true - label: - "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_ 1ST_ACCESSPOINT_SSID andBreadcrumb fieldset to 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID + field set to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID + and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1653479953.633815][30491:30496] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 [1653479953.633986][30491:30496] CHIP:TOO: ConnectNetworkResponse: { @@ -240,15 +258,18 @@ tests: disabled: true - label: - "TH sendsAddOrUpdateWiFiNetworkcommand to theDUT with SSIDfield set - toPIXIT.CNET.WIFI_ 2ND_ACCESSPOINT_SSID,Credentials fieldset to - PIXIT.CNET.WIFI_2ND_ACCESSPOIN T_CREDENTIALSand Breadcrumbfield set to - 1" + "TH sends AddOrUpdateWiFi Network command to the DUT with + SSID field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, Credentials field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_CREDENTIALS and + Breadcrumb field set to 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning add-or-update-wi-fi-network Sbee_Moto Sunsuraj 1 0 --Breadcrumb 1 ( second network) - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1657734444.832145][7736:7741] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1657734444.832215][7736:7741] CHIP:TOO: NetworkConfigResponse: { @@ -259,13 +280,16 @@ tests: disabled: true - label: - "TH sendsConnectNetworkcommand to theDUT withNetworkID fieldset - toPIXIT.CNET.WIFI_ 2ND_ACCESSPOINT_SSID andBreadcrumb fieldset to 3" + "TH sends ConnectNetwork command to the DUT with NetworkID + field set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID + and Breadcrumb field set to 3" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | + ./chip-tool networkcommissioning connect-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning connect-network hex:536265655F4D6F746F 1 0 --Breadcrumb 3 (second network) - Verify on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH Log: [1657734624.698518][7768:7773] CHIP:TOO: ConnectNetworkResponse: { [1657734624.698601][7768:7773] CHIP:TOO: networkingStatus: 0 @@ -274,19 +298,19 @@ tests: disabled: true - label: - "TH changes itsWiFi connection toPIXIT.CNET.WIFI_\r - 2ND_ACCESSPOINT_SSID" + "TH changes its WiFi connection + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID" verification: | - + verification step to be updated. disabled: true - label: - "TH discovers andconnects to DUTon thePIXIT.CNET.WIFI_ - 2ND_ACCESSPOINT_SSID operational network" + "TH discovers and connects to DUT on + the PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID operational network" verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657733596.457792][7640:7645] CHIP:TOO: Networks: 1 entries [1657733596.457867][7640:7645] CHIP:TOO: [1]: { @@ -296,24 +320,24 @@ tests: disabled: true - label: - "TH readsBreadcrumbattribute from theGeneral\r Commissioningcluster of - the DUT" + "TH reads Breadcrumb attribute from + the General Commissioning cluster of the DUT" PICS: CNET.S.C06.Rsp verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify Breadcrumb: 3 on the TH Log: [1657734757.740003][7793:7798] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2956231102 [1657734757.740140][7793:7798] CHIP:TOO: Breadcrumb: 3 disabled: true - - label: "TH sends theCommissioningComplete commandto the DUT" + - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | ./chip-tool generalcommissioning commissioning-complete 1 0 - Verify on the TH Log: + Verify CommissioningCompleteResponse and its arguments on the TH Log: [1657734803.411199][7802:7808] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 [1657734803.411256][7802:7808] CHIP:TOO: CommissioningCompleteResponse: { @@ -322,12 +346,12 @@ tests: [1657734803.411356][7802:7808] CHIP:TOO: } disabled: true - - label: "TH readsNetworksattribute from theDUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657734855.925075][7819:7824] CHIP:TOO: Networks: 1 entries diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml index e7a0a55cda936e..4fab79cf785688 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.10. [TC-CNET-4.12] [Thread] Verification for ConnectNetwork Command + 12.4.10. [TC-CNET-4.12] [Thread] Verification for ConnectNetwork Command [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -29,7 +32,8 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 900 1 22 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: + [1657808518.577084][5979:5984] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657808518.577181][5979:5984] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1657808518.577311][5979:5984] CHIP:TOO: ArmFailSafeResponse: { @@ -41,29 +45,30 @@ tests: disabled: true - label: - "TH reads Networks attribute from the DUT and saves the number of - entries as 'NumNetworks'" + "TH reads Networks attribute from the DUT and saves the number of + entries as NumNetworks" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 22 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: - [1657808547.048515][5988:5993] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1213114000 - [1657887601.758284][3446:3451] CHIP:TOO: Networks: 1 entries - [1657887601.758396][3446:3451] CHIP:TOO: [1]: { - [1657887601.758466][3446:3451] CHIP:TOO: NetworkID: 1111111152222222 - [1657887601.758524][3446:3451] CHIP:TOO: Connected: TRUE - [1657887601.758578][3446:3451] CHIP:TOO: } + [1658294685.945276][7397:7402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 4291713161 + [1658294685.948705][7397:7402] CHIP:TOO: Networks: 1 entries + [1658294685.949116][7397:7402] CHIP:TOO: [1]: { + [1658294685.949204][7397:7402] CHIP:TOO: NetworkID: 1111071122222222 + [1658294685.949265][7397:7402] CHIP:TOO: Connected: TRUE + [1658294685.949321][7397:7402] CHIP:TOO: } + [1658294685.949533][7397:7402] CHIP:EM: Sending Standalone Ack for MessageCounter:233126607 on exchange 26309i [1657808547.049138][5988:5993] CHIP:EM: Sending Standalone Ack for MessageCounter:115176450 on exchange 56560i disabled: true - label: - "TH saves the index of the Networks list entry from step 2 as - Userth_netidx" + "TH saves the index of the Networks list entry from step 2 + as Userth_netidx" verification: | - + verification step to be updated. disabled: true - label: @@ -71,9 +76,13 @@ tests: th_xpan and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - ./chip-tool networkcommissioning remove-network hex:1111111152222222 22 0 + ./chip-tool networkcommissioning remove-network hex: 1 0 - Verify on the TH Log: + Below is an example: + + ./chip-tool networkcommissioning remove-network hex:1111071122222222 22 0 + + Verify NetworkConfigResponse and its arguments on the TH Log: [1657808740.364069][5996:6001] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1657808740.364170][5996:6001] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -91,9 +100,13 @@ tests: ONALDATASET and Breadcrumb field set to 1" PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx verification: | - ./chip-tool networkcommissioning add-or-update-thread-network hex:0e080000000000010000000300000f35060004001fffe0020811111111282222220708fd5930b7d8b62f58051000112233445562778899aabbccddeeff030e4f70656e54687265746444656d6f010212340410005ed405199188e1a5c0dd607282d7480c0402a0fff8 22 0 (second network dataset value) + ./chip-tool networkcommissioning add-or-update-thread-network-network hex: 1 0 + + Below is an example: - Verify on the TH Log: + ./chip-tool networkcommissioning add-or-update-thread-network hex:0e080000000000010000000300000f35060004001fffe0020811111111072222220708fd9957a92dadc7aa051000112233445966778899aabbccddeeff030f4f70656e54687265616444656d6f6a0102123404106ad73489ca556d19f8c47fd2150e58e30c0402a0fff8 48 0(second network dataset value) + + Verify NetworkConfigResponse and its arguments on the TH Log: [1657809088.095574][6022:6027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1657809088.095728][6022:6027] CHIP:TOO: NetworkConfigResponse: { @@ -104,31 +117,35 @@ tests: [1657809088.096131][6022:6027] CHIP:EM: Sending Standalone Ack for MessageCounter:17614664 on exchange 10016i disabled: true - - label: "TH reads Networks attribute from the DUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool networkcommissioning read networks 22 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657809209.998296][6029:6034] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1213114000 [1657887708.272234][3468:3473] CHIP:TOO: Networks: 1 entries [1657887708.272346][3468:3473] CHIP:TOO: [1]: { - [1657887708.272415][3468:3473] CHIP:TOO: NetworkID: 1161111128222222 + [1657887708.272415][3468:3473] CHIP:TOO: NetworkID: 1111111107222222 [1657887708.272472][3468:3473] CHIP:TOO: Connected: FALSE [1657887708.272527][3468:3473] CHIP:TOO: } [1657809209.999036][6029:6034] CHIP:EM: Sending Standalone Ack for MessageCounter:117964728 on exchange 14021i disabled: true - label: - "TH sends ConnectNetwork command to the DUT with NetworkID field set - to PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET and Breadcrumb field set - to 2" + "TH sends ConnectNetwork command to the DUT with NetworkID + field set to PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET and + Breadcrumb field set to 2" PICS: CNET.S.C06.Rsp verification: | - ./chip-tool networkcommissioning connect-network hex:1161111128222222 1 0 --Breadcrumb 2 + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + + ./chip-tool networkcommissioning connect-network hex:1111111107222222 1 0 --Breadcrumb 2 - Verify on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH Log: [1657887765.287786][3477:3482] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1657887765.287890][3477:3482] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -141,47 +158,48 @@ tests: disabled: true - label: - "TH discovers and connects to DUT on the PIXIT.CNET.THRE - AD_2ND_OPERATI ONALDATASET operational network" + "TH discovers and connects to DUT on + the PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET operational network" verification: | - + verification step to be updated. disabled: true - label: - "TH reads Breadcrumb attribute from the General Commissioning cluster - of the DUT" + "TH reads Breadcrumb attribute from + the General Commissioning cluster of the DUT" PICS: CNET.S.C06.Rsp verification: | - + ./chip-tool generalcommissioning read breadcrumb 1 0 disabled: true - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set - to 0. This forcibly disarms the fail-safe and is expected to cause the - changes of configuration to NetworkCommissi oning cluster done so far - to be reverted." + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0. This forcibly disarms the + fail-safe and is expected to cause the changes of configuration + to NetworkCommissi oning cluster done so far to be reverted." verification: | - + ./chip-tool generalcommissioning arm-fail-safe 0 1 22 0 disabled: true - label: - "TH changes its WiFi connection to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT - _SSID" + "TH changes its WiFi connection + to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID" verification: | - + verification step to be updated. disabled: true - label: - "TH discovers and connects to DUT on the PIXIT.CNET.WIFI_ - 1ST_ACCESSPOINT _SSID operational network" + "TH discovers and connects to DUT on + the PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID operational network" verification: | - + verification step to be updated. disabled: true + - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set - to 900" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 900" verification: | - + verification step to be updated. disabled: true - label: @@ -189,50 +207,51 @@ tests: PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - + verification step to be updated. disabled: true - label: - "TH sends AddOrUpdateWiFi Network command to the DUT with SSID field - set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, Credentials field set - to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_CREDENTIALS and Breadcrumb field - set to 1" + "TH sends AddOrUpdateWiFi Network command to the DUT with + SSID field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, Credentials field set + to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_CREDENTIALS and + Breadcrumb field set to 1" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | - + verification step to be updated. disabled: true - label: - "TH sends ConnectNetwork command to the DUT with NetworkID field set - to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID and Breadcrumb field set to - 3" + "TH sends ConnectNetwork command to the DUT with NetworkID + field set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID + and Breadcrumb field set to 3" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | - + verification step to be updated. disabled: true - label: - "TH discovers and connects to DUT on the PIXIT.CNET.THRE - AD_2ND_OPERATI ONALDATASET operational network" + "TH discovers and connects to DUT on + the PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET operational network" verification: | - + verification step to be updated. disabled: true - label: - "TH reads Breadcrumb attribute from the General Commissioning cluster - of the DUT" + "TH reads Breadcrumb attribute from + the General Commissioning cluster of the DUT" PICS: CNET.S.C06.Rsp verification: | - + verification step to be updated. disabled: true - - label: "TH sends the CommissioningCo mplete command to the DUT" + - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | - + verification step to be updated. disabled: true - - label: "TH reads Networks attribute from the DUT" + - label: "TH reads Networks attribute from the DUT" PICS: CNET.S.A0001 verification: | - + verification step to be updated. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml index fc75b78c550758..ee7443197417c5 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_13.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.11. [TC-CNET-4.13] [Wi-Fi] Verification for ReorderNetwork command + 12.4.11. [TC-CNET-4.13] [Wi-Fi] Verification for ReorderNetwork command [DUT-Server] +PICS: + - CNET.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -24,8 +27,8 @@ config: tests: - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set - to 900" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 900" verification: | ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 @@ -34,8 +37,8 @@ tests: disabled: true - label: - "TH reads Networks attribute from the DUT and saves the number of - entries as 'NumNetworks'" + "TH reads Networks attribute from the DUT and saves the number of + entries as NumNetworks" PICS: CNET.S.A0001 verification: | ./chip-tool network-commissioning read networks 1 0 @@ -45,9 +48,9 @@ tests: disabled: true - label: - "TH calculates the number of remaining network slots as - 'MaxNetworksVal ue' - 'NumNetworks' and saves as 'RemainingNetwor - kSlots'" + "TH calculates the number of remaining network slots + as MaxNetworksVal ue - NumNetworks and saves + as RemainingNetwor kSlots" verification: | The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) @@ -55,8 +58,8 @@ tests: - label: "TH1 sends AddOrUpdateWiFiNetwork command to the DUT with SSID - argument value as 'Userwifi_ssid2', Credentials argument value as - 'Userwifi_Credentials' and Breadcrumb argument value as 1" + argument value as Userwifi_ssid2, Credentials argument value as + Userwifi_Credentials and Breadcrumb argument value as 1" verification: | ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivate092010 1 0 --Breadcrumb 1 @@ -65,8 +68,8 @@ tests: disabled: true - label: - "TH calculates the midpoint of the network list as floor(('MaxNetwor - ksValue' + 1)/2) and saves as 'Midpoint'" + "TH calculates the midpoint of the network list + as floor((MaxNetwor ksValue + 1)/2) and saves as Midpoint" verification: | The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) @@ -84,10 +87,11 @@ tests: disabled: true - label: - "TH sends AddOrUpdateWiFi Network command to the DUT. This step should - be repeated 'RemainingNetwor kSlots' times using DIFFERENT SSID and - credential values and the Breadcrumb field set to 1. Note that these - credentials are NOT required to be connectable." + "TH sends AddOrUpdateWiFi Network command to the DUT. This + step should be repeated RemainingNetwor kSlots times + using DIFFERENT SSID and credential values and the Breadcrumb + field set to 1. Note that these credentials are NOT required to be + connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:63686970736574757035 matter123 1 0 --Breadcrumb 1 @@ -97,8 +101,8 @@ tests: disabled: true - label: - "TH reads Networks attribute from the DUT and saves the list as - 'OriginalNetworkL ist'" + "TH reads Networks attribute from the DUT and saves the list + as OriginalNetworkL ist" PICS: CNET.S.A0001 verification: | ./chip-tool network-commissioning read networks 1 0 @@ -110,7 +114,7 @@ tests: - label: "TH sends ReorderNetwo rk Command to the DUT with the following fields: 1. NetworkID is PIXIT.CNET .WIFI_1ST_ ACCESSPOI NT_SSID 2. - NetworkIn dex is 'MaxNetwo rksValue' 3. Breadcrum b is 2" + NetworkIn dex is MaxNetwo rksValue 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | ./chip-tool network-commissioning read networks 1 0 @@ -129,9 +133,10 @@ tests: disabled: true - label: - "TH sends ReorderNetwo rk Command to the DUT with the following - fields: 1. NetworkID is a NetworkID value NOT present in 'OriginalNe - tworkList' 2. NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. NetworkID is a NetworkID value + NOT present in OriginalNe tworkList 2. NetworkIn dex + is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 @@ -150,7 +155,7 @@ tests: - label: "TH sends ReorderNetwo rk Command to the DUT with the following fields: 1. NetworkID is PIXIT.CNET .WIFI_1ST_ ACCESSPOI NT_SSID 2. - NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" + NetworkIn dex is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | ./chip-tool networkcommissioning reorder-network hex:47524C50726976617465 1 0 --Breadcrumb 1 @@ -160,7 +165,8 @@ tests: disabled: true - label: - "TH reads Breadcumb attribute from the General Commissioning Cluster" + "TH reads Breadcumb attribute from + the General Commissioning Cluster" verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 @@ -168,7 +174,7 @@ tests: ( Pre-Condition) disabled: true - - label: "TH reads Networks attribute list from the DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool network-commissioning read networks 1 0 @@ -178,8 +184,8 @@ tests: disabled: true - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set - to 0" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0" verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 @@ -187,7 +193,7 @@ tests: ( Pre-Condition) disabled: true - - label: "TH reads Networks attribute list from the DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool network-commissioning read networks 1 0 @@ -208,10 +214,11 @@ tests: disabled: true - label: - "TH sends AddOrUpdateWiFi Network command to the DUT. This step should - be repeated 'RemainingNetwor kSlots' times using DIFFERENT SSID and - credential values and Breadcrumb field set to 1. Note that these - credentials are NOT required to be connectable." + "TH sends AddOrUpdateWiFi Network command to the DUT. This + step should be repeated RemainingNetwor kSlots times + using DIFFERENT SSID and credential values and Breadcrumb + field set to 1. Note that these credentials are NOT required to be + connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 @@ -219,9 +226,10 @@ tests: disabled: true - label: - "TH sends ReorderNetwo rk Command to the DUT with the following - fields: 1. NetworkID is PIXIT.CNET .WIFI_1ST_ ACCESSPOI NT_SSID 2. - NetworkIn dex is 'Midpoint' 3. Breadcrum b is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. + NetworkID is PIXIT.CNET .WIFI_1ST_ ACCESSPOI NT_SSID 2. NetworkIn dex + is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 @@ -237,8 +245,8 @@ tests: disabled: true - label: - "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set - to 0" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0" verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 @@ -246,7 +254,7 @@ tests: ( Pre-Condition) disabled: true - - label: "TH reads Networks attribute list from the DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | ./chip-tool network-commissioning read networks 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_14.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_14.yaml index 2b344c5bdf91e5..c18427112ec20d 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_14.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_14.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.12. [TC-CNET-4.14] [Thread] Verification for ReorderNetwork command + 12.4.12. [TC-CNET-4.14] [Thread] Verification for ReorderNetwork command [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -24,174 +27,202 @@ config: tests: - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to - 900" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 900" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true - label: "TH reads Networks attribute from the DUT and saves the number of - entries as 'NumNetworks'" + entries as NumNetworks" PICS: CNET.S.A0001 verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true - label: - "TH calculates thenumber ofremainingnetwork slots as'MaxNetworksValue' - -'NumNetworks'r and saves as'RemainingNetworkSlots'" + "TH calculates the number of remaining network slots + as MaxNetworksVal ue - NumNetworks and saves + as RemainingNetwor kSlots" verification: | - The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true - label: "TH1 sends AddOrUpdateWiFiNetwork command to the DUT with SSID - argument value as 'Userwifi_ssid2', Credentials argument value as - 'Userwifi_Credentials' and Breadcrumb argument value as 1" + argument value as Userwifi_ssid2, Credentials argument value as + Userwifi_Credentials and Breadcrumb argument value as 1" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH calculates themidpoint of thenetwork list - asfloor(('MaxNetworksValue' + 1)/2)r and saves as'Midpoint'" + "TH calculates the midpoint of the network list + as floor((MaxNetwor ksValue + 1)/2) and saves as Midpoint" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeco nds field set to 900" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsAddOrUpdateWiFiNetworkcommand to theDUT. This stepshould - berepeatedr 'RemainingNetworkSlots' times usingDIFFERENT SSIDand - credentialvalues and ther Breadcrumb fieldset to 1. Note thatthese - credentialsare NOT requiredto be connectable." + "TH sends AddOrUpdateWiFi Network command to the DUT. This + step should be repeated RemainingNetwor kSlots times + using DIFFERENT SSID and credential values and the Breadcrumb + field set to 1. Note that these credentials are NOT required to be + connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH readsNetworksattribute from theDUT and saves thelist - as'OriginalNetworkLr ist'" + "TH reads Networks attribute from the DUT and saves the list + as OriginalNetworkL ist" PICS: CNET.S.A0001 verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsReorderNetwork Commandto the DUTwith thefollowingfields:1. - NetworkIDr is theextendedPAN ID - ofPIXIT.CNET.THREAD_1ST_OPERATIONALDATASET2.r NetworkIndex - is'MaxNetworksValue'3.Breadcrumb is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. NetworkID is the extended PAN ID + of PIXIT.CNET .THREAD_1 ST_OPERA TIONALDA TASET 2. NetworkIn dex + is MaxNetwo rksValue 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsReorderNetwork Commandto the DUTwith thefollowingfields:1. - NetworkIDr is aNetworkIDvalue NOTpresent - in'OriginalNetworkList'2.NetworkIndex is'Midpoint'3.Breadcrumb is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. NetworkID is a NetworkID value + NOT present in OriginalNe tworkList 2. NetworkIn dex + is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsReorderNetwork Commandto the DUTwith thefollowingfields:1. - NetworkIDr is theextendedPAN ID - ofPIXIT.CNET.THREAD_1ST_OPERATIONALDATASET2.r NetworkIndex - is'Midpoint'3.Breadcrumb is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. NetworkID is the extended PAN ID + of PIXIT.CNET .THREAD_1 ST_OPERA TIONALDA TASET 2. NetworkIn dex + is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - - label: "TH readsBreadcumbattribute from theGeneralCommissioningCluster" + - label: + "TH reads Breadcumb attribute from + the General Commissioning Cluster" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - - label: "TH readsNetworksattribute list fromthe DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to 0" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - - label: "TH readsNetworksattribute list fromthe DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsAddOrUpdateThreadNetworkcommand to theDUT. This stepshould - berepeatedr 'RemainingNetworkSlots' times - usingDIFFERENTOperationalDataset values andBreadcrumb set to1. Note - that thesecredentials areNOT required tobe connectable" + "TH sends AddOrUpdateThre adNetwork command to the DUT. This + step should be repeated RemainingNetwor kSlots times + using DIFFERENT OperationalDatase t values and Breadcrumb set + to 1. Note that these credentials are NOT required to be + connectable" PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsReorderNetwork Commandto the DUTwith thefollowingfields:1. - NetworkIDr is theextendedPAN ID - ofPIXIT.CNET.THREAD_1ST_OPERATIONALDATASET2.r NetworkIndex - is'Midpoint'3.Breadcrumb is 2" + "TH sends ReorderNetwo rk Command to the DUT with + the following fields: 1. NetworkID is the extended PAN ID + of PIXIT.CNET .THREAD_1 ST_OPERA TIONALDA TASET 2. NetworkIn dex + is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - label: - "TH sendsArmFailSafecommand to theDUT withExpiryLengthSeconds set to 0" + "TH sends ArmFailSafe command to the DUT + with ExpiryLengthSeco nds set to 0" verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true - - label: "TH readsNetworksattribute list fromthe DUT" + - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | - + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 + ( Pre-Condition) disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml index 663a580c2221ec..5561ab5a81d98e 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.13. [TC-CNET-4.15] [Wi-Fi] NetworkIDNotFound returned in + 12.4.13. [TC-CNET-4.15] [Wi-Fi] NetworkIDNotFound returned in LastNetworkingStatus field validation [DUT-Server] +PICS: + - CNET.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -24,32 +27,12 @@ config: tests: - label: - "TH reads Network attribute from the DUT * TH saves the single entrys - NetworkID value as 'userwifi_ssid' value for the future use" - verification: | - ./chip-tool networkcommissioning read networks 1 0 - - Verify on the TH Log: - - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 47524C50726976617465 - [1650389742.394958][9809:9814] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i - disabled: true - - - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeco nds - field set to 900" + "TH sends ArmFailSafe command to the DUT with + the ExpiryLengthSeco nds field set to 900" verification: | ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1650383264.543046][44233:44238] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650383264.543109][44233:44238] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -62,14 +45,18 @@ tests: disabled: true - label: - "TH sends RemoveNetwork Command to the DUT with NetworkID field set to - PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, which does not match the - provisioned network, and Breadcrumb field set to 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID + field set to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID, which does + not match the provisioned network, and Breadcrumb field set to 1" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | - ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + ./chip-tool networkcommissioning remove-network hex: 1 0 + + Below is an example: + + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1650383270.888700][44239:44244] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650383270.888774][44239:44244] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -86,9 +73,13 @@ tests: provisioned network, and Breadcrumb field set to 1" PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 - Verify on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH Log: [1650383278.349428][44245:44250] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650383278.349490][44245:44250] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml index 4e408c47fe0aed..5402eb015270ec 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml @@ -14,40 +14,23 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.14. [TC-CNET-4.16] [Thread] NetworkIDNotFound returned in + 12.4.14. [TC-CNET-4.16] [Thread] NetworkIDNotFound returned in LastNetworkingStatus field validation [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" endpoint: 0 tests: - - label: - "* TH reads Network attribute from the DUT * TH saves the single - entrys NetworkID value as 'Userth_op' value for the future use" - verification: | - ./chip-tool networkcommissioning read networks 162 0 - - Verify on the TH Log: - - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 47524C50726976617465 - [1650389742.394958][9809:9814] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i - disabled: true - - label: "TH sends ArmFailSafe command to the DUT" verification: | - ./chip-tool generalcommissioning arm-fail-safe 900 0 62 0 + ./chip-tool generalcommissioning arm-fail-safe 900 0 54 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1650392597.976230][10152:10157] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650392597.976363][10152:10157] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -60,13 +43,19 @@ tests: disabled: true - label: - "TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset to the - extendedr PAN ID ofPIXIT.CNET.THREAD_2ND_OPERATIONALDATASET,which does - notmatch thecommissionedr network, andBreadcrumb fieldset to 1" + "TH sends RemoveNetwork Command to the DUT with NetworkID + field set to the extended PAN ID + of PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET, which does + not match the commissioned network, and Breadcrumb field set to 1" + PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - ./chip-tool networkcommissioning remove-network 47524C50726976617465 62 0 + ./chip-tool networkcommissioning remove-network hex: 1 0 - Verify on the TH Log: + Below is an example: + + ./chip-tool networkcommissioning remove-network 47524C50726976617465 54 0 + + Verify NetworkConfigResponse and its arguments on the TH Log: [1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -78,13 +67,19 @@ tests: disabled: true - label: - "TH sendsConnectNetwork Command to theDUT withNetworkID valueas the - extendedr PAN ID ofPIXIT.CNET.THREAD_2ND_OPERATIONALDATASET,which does - notmatch thecommissionedr network, andBreadcrumb fieldset to 1" + "TH sends ConnectNetwork Command to the DUT with NetworkID + value as the extended PAN ID + of PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET, which does + not match the commissioned network, and Breadcrumb field set to 1" + PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx verification: | - ./chip-tool networkcommissioning connect-network 47524C50726976617465 62 0 + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + + ./chip-tool networkcommissioning connect-network 47524C50726976617465 54 0 - Verify on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH Log: [1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml index b5eaf65da8f928..671e0afc155e96 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.15. [TC-CNET-4.17] [Wi-Fi] Verification for attributes check + 12.4.15. [TC-CNET-4.17] [Wi-Fi] Verification for attributes check [DUT-Client] +PICS: + - CNET.C.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -26,15 +29,15 @@ tests: - label: "DUT reads the MaxNetworks attribute from the TH" PICS: CNET.S.A0000 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read max-networks 1 0 + ./chip-tool networkcommissioning read max-networks 1 0 - Verify on the TH Log: + Verify MaxNetworks attribute on the TH/All-cluster-app Log: [1646216356.472036][7021:7026] CHIP:DMG: SuppressResponse = true, [1646216356.472088][7021:7026] CHIP:DMG: InteractionModelRevision = 1 [1646216356.472136][7021:7026] CHIP:DMG: } [1646216356.472388][7021:7026] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 1979781767 - [1646216356.472511][7021:7026] CHIP:TOO: MaxNetworks: 1 + [1646216356.472511][7021:7026] CHIP:TOO: MaxNetworks: 1 [1646216356.472624][7021:7026] CHIP:EM: Sending Standalone Ack for MessageCounter:4914191 on exchange 38527i disabled: true @@ -43,39 +46,41 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: - [1649249212.072823][30681:30686] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2702518944 - [1649249212.072912][30681:30686] CHIP:TOO: Networks: 1 entries - [1649249212.073027][30681:30686] CHIP:TOO: [1]: { - [1649249212.073067][30681:30686] CHIP:TOO: NetworkID: 47524C50726976617465 - [1649249212.073101][30681:30686] CHIP:TOO: Connected: FALSE - [1649249212.073135][30681:30686] CHIP:TOO: } - [1649249212.073266][30681:30686] CHIP:EM: Sending Standalone Ack for MessageCounter:8988360 on exchange 58610i + Verify Networks entiries and its status on the TH/All-cluster-app Log: + + [1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376 + [1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries + [1654250379.882123][5309:5314] CHIP:TOO: [1]: { + [1654250379.882196][5309:5314] CHIP:TOO: NetworkID: 47524C50726976617465 + [1654250379.882257][5309:5314] CHIP:TOO: Connected: TRUE + [1654250379.882312][5309:5314] CHIP:TOO: } disabled: true - label: "DUT reads ScanMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0002 verification: | - sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read scan-max-time-seconds 1 0 + ./chip-tool networkcommissioning read scan-max-time-seconds 1 0 + + Verify ScanMaxTimeSeconds on the TH/All-cluster-app Log: - Verify on the TH Log: - [1648122894.380473][8770:8775] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 317843604 - [1648122894.380552][8770:8775] CHIP:TOO: ScanMaxTimeSeconds: 10 - [1648122894.380642][8770:8775] CHIP:EM: Sending Standalone Ack for MessageCounter:12629308 on exchange 33084i + [1653473784.850830][29813:29818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 1600858167 + [1653473784.850916][29813:29818] CHIP:TOO: ScanMaxTimeSeconds: 10 + [1653473784.851029][29813:29818] CHIP:EM: Sending Standalone Ack for MessageCounter:16671548 on exchange 37205i disabled: true - label: "DUT reads ConnectMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0003 verification: | - sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read connect-max-time-seconds 1 0 + ./chip-tool networkcommissioning read connect-max-time-seconds 1 0 - Verify on the TH Log: - [1648122935.626395][8780:8785] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 317843604 - [1648122935.626461][8780:8785] CHIP:TOO: ConnectMaxTimeSeconds: 20 - [1648122935.626539][8780:8785] CHIP:EM: Sending Standalone Ack for MessageCounter:11607262 on exchange 19306i + Verify ConnectMaxTimeSeconds on the TH/All-cluster-app Log: + + [1653473821.367214][29821:29826] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 1600858167 + [1653473821.367283][29821:29826] CHIP:TOO: ConnectMaxTimeSeconds: 20 + [1653473821.367379][29821:29826] CHIP:EM: Sending Standalone Ack for MessageCounter:187119 on exchange 50022i disabled: true - label: "DUT reads InterfaceEnabled attribute from the TH" @@ -83,45 +88,47 @@ tests: verification: | ./chip-tool networkcommissioning read interface-enabled 1 0 - Verify on the TH Log: - [1649250241.092686][30726:30731] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 2702518944 - [1649250241.092744][30726:30731] CHIP:TOO: InterfaceEnabled: TRUE - [1649250241.092852][30726:30731] CHIP:EM: Sending Standalone Ack for MessageCounter:3120276 on exchange 4316i + Verify InterfaceEnabled on the TH/All-cluster-app Log: + + [1653473893.275901][29834:29839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 1600858167 + [1653473893.275964][29834:29839] CHIP:TOO: InterfaceEnabled: TRUE + [1653473893.276084][29834:29839] CHIP:EM: Sending Standalone Ack for MessageCounter:13157245 on exchange 55578i disabled: true - label: "DUT reads LastNetworkingStatus attribute from the TH" PICS: CNET.S.A0005 verification: | - sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-networking-status 1 0 + ./chip-tool networkcommissioning read last-networking-status 1 0 + - Verify on the TH Log: + Verify LastNetworkingStatus on the TH/All-cluster-app Log: - [1648123150.266020][8807:8812] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 317843604 - [1648123150.266107][8807:8812] CHIP:TOO: LastNetworkingStatus: 0 - [1648123150.266205][8807:8812] CHIP:EM: Sending Standalone Ack for MessageCounter:6011442 on exchange 36001i + [1653473918.484769][29840:29845] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 + [1653473918.484843][29840:29845] CHIP:TOO: LastNetworkingStatus: 0 + [1653473918.484940][29840:29845] CHIP:EM: Sending Standalone Ack for MessageCounter:10161085 on exchange 18769i disabled: true - label: "DUT reads LastNetworkID attribute from the TH" PICS: CNET.S.A0006 verification: | - sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-network-id 1 0 + ./chip-tool networkcommissioning read last-network-id 1 - Verify on the TH Log: + Verify LastNetworkID on the TH/All-cluster-app Log: - [1648123296.959013][8824:8829] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 317843604 - [1648123296.959092][8824:8829] CHIP:TOO: LastNetworkID: 47524C50726976617465 - [1648123296.959180][8824:8829] CHIP:EM: Sending Standalone Ack for MessageCounter:7786733 on exchange 2835i + "[1653474059.383553][27286:27291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1912591449 + [1653474059.383618][27286:27291] CHIP:TOO: LastNetworkID: 47524C50726976617465 + [1653474059.383723][27286:27291] CHIP:EM: Sending Standalone Ack for MessageCounter:6975079 on exchange 34674i" disabled: true - label: "DUT reads LastConnectErrorValue attribute from the TH" PICS: CNET.S.A0007 verification: | - sudo ./examples/chip-tool/out/debug/chip-tool networkcommissioning read last-connect-error-value 1 0 + ./chip-tool networkcommissioning read last-connect-error-value 1 0 - Verify on the TH Log: + Verify LastConnectErrorValue on the TH/All-cluster-app Log: - [1648123350.094356][8834:8839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 317843604 - [1648123350.094425][8834:8839] CHIP:TOO: LastConnectErrorValue: null - [1648123350.094535][8834:8839] CHIP:EM: Sending Standalone Ack for MessageCounter:8991167 on exchange 59318i + [1653474102.061746][29860:29865] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 1600858167 + [1653474102.061812][29860:29865] CHIP:TOO: LastConnectErrorValue: null + [1653474102.061934][29860:29865] CHIP:EM: Sending Standalone Ack for MessageCounter:5193529 on exchange 29546i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml index 1381f953c04039..b395e8d42a16c4 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.16. [TC-CNET-4.18] [Thread] Verification for attributes check + 12.4.16. [TC-CNET-4.18] [Thread] Verification for attributes check [DUT-Client] +PICS: + - CNET.C.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -26,122 +29,157 @@ tests: - label: "DUT reads the MaxNetworks attribute from the TH" PICS: CNET.S.A0000 verification: | - ./chip-tool networkcommissioning read max-networks 162 0 - Verify on the TH Log: - - [1657887014.660005][3406:3411] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 2068264358 - [1657887014.660161][3406:3411] CHIP:TOO: MaxNetworks: 1 - [1657887014.660322][3406:3411] CHIP:EM: Sending Standalone Ack for MessageCounter:123700848 on exchange 6838i + ./chip-tool networkcommissioning read max-networks 54 0 + + Verify MaxNetworks on the TH(All-cluster-app) Log: + + D: 7993601 [SC]Allocated SecureSession (0x20003680) - waiting for Sigma1 msg + D: 7993608 [EM]Retransmitting MessageCounter:53368032 on exchange 5643r Send Cnt 1 + I: 7993615 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368032 to 0x0000000000000000c + I: 7993630 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:231115534 on exchar + D: 7993640 [EM]Handling via exchange: 5644r, Delegate: 0x200070ec + D: 7993647 [IM]Received Read request + D: 7993651 [DMG]IM RH moving to [GeneratingReports] + D: 7993657 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 7993666 [DMG] Cluster 31, Attribute 0 is dirty + D: 7993671 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + D: 7993682 [DMG] Sending report (payload has 36 bytes)... + I: 7993688 [IN]Prepared secure message 0x200048b4 to 0x00000000000 disabled: true - label: "DUT reads the Networks attribute from the TH" PICS: CNET.S.A0001 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 - - Verify on the TH Log: - - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 1111161622222211 - [1645772651.446173][3856:3861] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i + ./chip-tool networkcommissioning read networks 54 0 + + Verify Networks entries and its status on the TH(All-cluster-app) Log: + + D: 8065181 [SC]Allocated SecureSession (0x20003738) - waiting for Sigma1 msg + D: 8065188 [EM]Retransmitting MessageCounter:53368036 on exchange 57159r Send Cnt 1 + I: 8065196 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368036 to 0x0000000000000000c + I: 8065213 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:15008713 on exchanr + D: 8065223 [EM]Handling via exchange: 57160r, Delegate: 0x200070ec + D: 8065229 [IM]Received Read request + D: 8065233 [DMG]IM RH moving to [GeneratingReports] + D: 8065240 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8065248 [DMG] Cluster 31, Attribute 1 is dirty + D: 8065254 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0001 (expanded=0) + D: 8065265 [DMG] Sending report (payload has 77 bytes)... disabled: true - label: "DUT reads ScanMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0002 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 - - Verify on the TH Log: - - [1645772820.740795][3867:3872] CHIP:DMG: SuppressResponse = true, - [1645772820.740855][3867:3872] CHIP:DMG: InteractionModelRevision = 1 - [1645772820.740903][3867:3872] CHIP:DMG: } - [1645772820.741209][3867:3872] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002DataVersion: 92121563 - [1645772820.741357][3867:3872] CHIP:TOO: ScanMaxTimeSeconds: 10 - [1645772820.741512][3867:3872] CHIP:EM: Sending Standalone Ack for MessageCounter:10309775 on exchange 55305i + ./chip-tool networkcommissioning read scan-max-time-seconds 54 0 + + Verify ScanMaxTimeSeconds on the TH(All-cluster-app) Log: + + D: 8108702 [SC]Allocated SecureSession (0x200037f0) - waiting for Sigma1 msg + I: 8108710 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:194637583 on exchar + D: 8108720 [EM]Handling via exchange: 42632r, Delegate: 0x200070ec + D: 8108726 [IM]Received Read request + D: 8108730 [DMG]IM RH moving to [GeneratingReports] + D: 8108735 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8108743 [DMG] Cluster 31, Attribute 2 is dirty + D: 8108749 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0002 (expanded=0) + D: 8108758 [DMG] Sending report (payload has 36 bytes)... disabled: true - label: "DUT reads ConnectMaxTimeSeconds attribute from the TH" PICS: CNET.S.A0003 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 - - Verify on the TH Log: - - [1645772901.118880][3879:3884] CHIP:DMG: SuppressResponse = true, - [1645772901.119008][3879:3884] CHIP:DMG: InteractionModelRevision = 1 - [1645772901.119141][3879:3884] CHIP:DMG: } - [1645772901.119684][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003DataVersion: 92121563 - [1645772901.119885][3879:3884] CHIP:TOO: ConnectMaxTimeSeconds: 20 - [1645772901.120100][3879:3884] CHIP:EM: Sending Standalone Ack for MessageCounter:11917538 on exchange 4188 + ./chip-tool networkcommissioning read connect-max-time-seconds 54 0 + + Verify ConnectMaxTimeSeconds on the TH(All-cluster-app) Log: + + D: 8145477 [SC]Allocated SecureSession (0x20002c70) - waiting for Sigma1 msg + I: 8145484 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:134704639 on exchar + D: 8145495 [EM]Handling via exchange: 57526r, Delegate: 0x200070ec + D: 8145502 [IM]Received Read request + D: 8145506 [DMG]IM RH moving to [GeneratingReports] + D: 8145511 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8145520 [DMG] Cluster 31, Attribute 3 is dirty + D: 8145525 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0003 (expanded=0) + D: 8145534 [DMG] Sending report (payload has 36 bytes)... disabled: true - label: "DUT reads InterfaceEnabled attribute from the TH" PICS: CNET.S.A0004 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read interface-enabled 162 0 - - Verify on the TH Log: - - [1645772984.653996][3895:3900] CHIP:DMG: SuppressResponse = true, - [1645772984.654043][3895:3900] CHIP:DMG: InteractionModelRevision = 1 - [1645772984.654084][3895:3900] CHIP:DMG: } - [1645772984.654310][3895:3900] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 92121563 - [1645772984.654388][3895:3900] CHIP:TOO: InterfaceEnabled: TRUE - [1645772984.654530][3895:3900] CHIP:EM: Sending Standalone Ack for MessageCounter:14026610 on exchange 33717i + ./chip-tool networkcommissioning read interface-enabled 54 0 + + Verify InterfaceEnabled on the TH(All-cluster-app) Log: + + D: 8179717 [SC]Allocated SecureSession (0x20002de0) - waiting for Sigma1 msg + I: 8179725 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:158532673 on exchar + D: 8179735 [EM]Handling via exchange: 13106r, Delegate: 0x200070ec + D: 8179741 [IM]Received Read request + D: 8179745 [DMG]IM RH moving to [GeneratingReports] + D: 8179750 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8179759 [DMG] Cluster 31, Attribute 4 is dirty + D: 8179764 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0004 (expanded=0) + D: 8179775 [DMG] Sending report (payload has 35 bytes)... disabled: true - label: "DUT reads LastNetworkingStatus attribute from the TH" PICS: CNET.S.A0005 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 162 0 - - - Verify on the TH Log: - - [1645773078.930516][3905:3910] CHIP:DMG: SuppressResponse = true, - [1645773078.930579][3905:3910] CHIP:DMG: InteractionModelRevision = 1 - [1645773078.930635][3905:3910] CHIP:DMG: } - [1645773078.930943][3905:3910] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 92121563 - [1645773078.931067][3905:3910] CHIP:TOO: LastNetworkingStatus: 0 - [1645773078.931217][3905:3910] CHIP:EM: Sending Standalone Ack for MessageCounter:16576011 on exchange 44187i + ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 54 0 + + + Verify LastNetworkingStatus on the TH(All-cluster-app) Log: + + D: 8428403 [SC]Allocated SecureSession (0x20002d28) - waiting for Sigma1 msg + I: 8428410 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:135181543 on exchar + D: 8428421 [EM]Handling via exchange: 29697r, Delegate: 0x200070ec + D: 8428427 [IM]Received Read request + D: 8428431 [DMG]IM RH moving to [GeneratingReports] + D: 8428435 [EM]Retransmitting MessageCounter:53368052 on exchange 29696r Send Cnt 1 + I: 8428443 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368052 to 0x0000000000000000c + D: 8428459 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8428468 [DMG] Cluster 31, Attribute 5 is dirty + D: 8428473 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0005 (expanded=0) + D: 8428483 [DMG] Sending report (payload has 36 bytes)... disabled: true - label: "DUT reads LastNetworkID attribute from the TH" PICS: CNET.S.A0006 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-network-id 162 0 - - - Verify on the TH Log: - - [1645773167.178501][3913:3918] CHIP:DMG: SuppressResponse = true, - [1645773167.178561][3913:3918] CHIP:DMG: InteractionModelRevision = 1 - [1645773167.178618][3913:3918] CHIP:DMG: } - [1645773167.178919][3913:3918] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 92121563 - [1645773167.182241][3913:3918] CHIP:TOO: LastNetworkID: 1111161622222211 - [1645773167.182422][3913:3918] CHIP:EM: Sending Standalone Ack for MessageCounter:2029571 on exchange 18566i + ./chip-tool networkcommissioning read last-network-id 54 0 + + + Verify LastNetworkID on the TH(All-cluster-app) Log: + + D: 8469179 [SC]Allocated SecureSession (0x20002e98) - waiting for Sigma1 msg + I: 8469187 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:91003604 on exchanr + D: 8469197 [EM]Handling via exchange: 63120r, Delegate: 0x200070ec + D: 8469203 [IM]Received Read request + D: 8469207 [DMG]IM RH moving to [GeneratingReports] + D: 8469212 [EM]Retransmitting MessageCounter:53368056 on exchange 63119r Send Cnt 1 + I: 8469219 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368056 to 0x0000000000000000c + D: 8469233 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8469242 [DMG] Cluster 31, Attribute 6 is dirty + D: 8469248 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0006 (expanded=0) + D: 8469258 [DMG] Sending report (payload has 44 bytes)... disabled: true - label: "DUT reads LastConnectErrorValue attribute from the TH" PICS: CNET.S.A0007 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-connect-error-value 162 0 - - - Verify on the TH Log: - - [1645773318.752774][3938:3943] CHIP:DMG: SuppressResponse = true, - [1645773318.752861][3938:3943] CHIP:DMG: InteractionModelRevision = 1 - [1645773318.753043][3938:3943] CHIP:DMG: } - [1645773318.753543][3938:3943] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007DataVersion: 92121563 - [1645773318.753724][3938:3943] CHIP:TOO: LastConnectErrorValue: 0 - [1645773318.753985][3938:3943] CHIP:EM: Sending Standalone Ack for MessageCounter:15303417 on exchange 41937i + ./chip-tool networkcommissioning read last-connect-error-value 54 0 + + + Verify LastConnectErrorValue on the TH(All-cluster-app) Log: + + D: 8729020 [SC]Allocated SecureSession (0x20002f50) - waiting for Sigma1 msg + I: 8729028 [EM]Received message of type 0x2 with protocolId (0, 1) and MessageCounter:249692114 on exchar + D: 8729038 [EM]Handling via exchange: 17068r, Delegate: 0x200070ec + D: 8729044 [IM]Received Read request + D: 8729048 [DMG]IM RH moving to [GeneratingReports] + D: 8729053 [EM]Retransmitting MessageCounter:53368060 on exchange 17067r Send Cnt 1 + I: 8729060 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368060 to 0x0000000000000000c + D: 8729074 [DMG]Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + D: 8729083 [DMG] Cluster 31, Attribute 7 is dirty + D: 8729089 [DMG]Reading attribute: Cluster=0x0000_0031 Endpoint=0 AttributeId=0x0000_0007 (expanded=0) + D: 8729100 [DMG] Sending report (payload has 35 bytes)... disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml index d35c17a12b52ff..5b349f5590e6eb 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.17. [TC-CNET-4.19] [Ethernet] Verification for attributes check + 12.4.17. [TC-CNET-4.19] [Ethernet] Verification for attributes check [DUT-Client] +PICS: + - CNET.C.F02 + config: nodeId: 0x12344321 cluster: "Basic" @@ -26,7 +29,9 @@ tests: - label: "DUT reads the MaxNetworks attribute from the TH" PICS: CNET.S.A0000 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read max-networks 1 0 + ./chip-tool networkcommissioning read max-networks 1 0 + + Verify MaxNetworks on the TH/All-cluster-app Log: [1646226441.815782][2475:2480] CHIP:DMG: SuppressResponse = true, [1646226441.815849][2475:2480] CHIP:DMG: InteractionModelRevision = 1 @@ -41,13 +46,14 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - [1653483289.382372][28210:28215] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3189790698 - [1653483289.382458][28210:28215] CHIP:TOO: Networks: 1 entries - [1653483289.382507][28210:28215] CHIP:TOO: [1]: { - [1653483289.382537][28210:28215] CHIP:TOO: NetworkID: 65746830 - [1653483289.382561][28210:28215] CHIP:TOO: Connected: TRUE - [1653483289.382584][28210:28215] CHIP:TOO: } - [1653483289.382684][28210:28215] CHIP:EM: Sending Standalone Ack for MessageCounter:13711908 on exchange 32535i + Verify Networks entiries and its status on the TH/All-cluster-app Log: + + [1654076774.294361][33659:33664] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 609053543 + [1654076774.294505][33659:33664] CHIP:TOO: Networks: 1 entries + [1654076774.294625][33659:33664] CHIP:TOO: [1]: { + [1654076774.294679][33659:33664] CHIP:TOO: NetworkID: 6368697035 + [1654076774.294726][33659:33664] CHIP:TOO: Connected: TRUE + [1654076774.294774][33659:33664] CHIP:TOO: } disabled: true - label: "DUT reads InterfaceEnabled attribute from the TH" @@ -55,6 +61,8 @@ tests: verification: | ./chip-tool networkcommissioning read interface-enabled 1 0 + Verify InterfaceEnabled on the TH/All-cluster-app Log: + [1646226615.428003][2502:2507] CHIP:DMG: [1646226615.428035][2502:2507] CHIP:DMG: SuppressResponse = true, [1646226615.428064][2502:2507] CHIP:DMG: InteractionModelRevision = 1 @@ -69,6 +77,8 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 + Verify LastNetworkingStatus on the TH/All-cluster-app Log: + [1646227167.614060][2533:2538] CHIP:DMG: SuppressResponse = true, [1646227167.614095][2533:2538] CHIP:DMG: InteractionModelRevision = 1 [1646227167.614126][2533:2538] CHIP:DMG: } @@ -80,15 +90,12 @@ tests: - label: "DUT reads LastNetworkID attribute from the TH" PICS: CNET.S.A0006 verification: | - ./chip-tool networkcommissioning read last-network-id 1 0 - - [1646227218.543427][2545:2550] CHIP:DMG: - [1646227218.543462][2545:2550] CHIP:DMG: SuppressResponse = true, - [1646227218.543506][2545:2550] CHIP:DMG: InteractionModelRevision = 1 - [1646227218.543538][2545:2550] CHIP:DMG: } - [1646227218.543748][2545:2550] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 3622667250 - [1646227218.543836][2545:2550] CHIP:TOO: LastNetworkID: - [1646227218.543924][2545:2550] CHIP:EM: Sending Standalone Ack for MessageCounter:9758721 on exchange 15256i + ./chip-tool networkcommissioning read last-network-id 1 + + Verify LastNetworkID on the TH/All-cluster-app Log: + + [1654076802.288579][33669:33674] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 609053543 + [1654076802.288708][33669:33674] CHIP:TOO: LastNetworkID: 6368697035 disabled: true - label: "DUT reads LastConnectErrorValue attribute from the TH" @@ -96,6 +103,8 @@ tests: verification: | ./chip-tool networkcommissioning read last-connect-error-value 1 0 + Verify LastConnectErrorValue on the TH/All-cluster-app Log: + [1653483224.839873][28189:28194] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 3189790698 [1653483224.839927][28189:28194] CHIP:TOO: LastConnectErrorValue: null [1653483224.840028][28189:28194] CHIP:EM: Sending Standalone Ack for MessageCounter:289132 on exchange 60682i diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml index c408143233d7b0..476ca11f5f94a3 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml @@ -14,8 +14,10 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.2. [TC-CNET-4.2] [Thread] Verification for attributes check - [DUT-Server] + 12.4.1. [TC-CNET-4.1] [Wi-Fi] Verification for attributes check [DUT-Server] + +PICS: + - CNET.S.F01 config: nodeId: 0x12344321 @@ -25,21 +27,21 @@ config: tests: - label: "Factory reset the DUT" verification: | - + verification step to be updated. disabled: true - label: "Commmission TH and DUT on Thread setup" verification: | - + verification step to be updated. disabled: true - label: "TH reads Descriptor Cluster from the DUT with EP0 TH reads ServerList from the DUT" verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool descriptor read server-list 162 0 + ./chip-tool descriptor read server-list 54 0 - Verify on the TH Log: + Verify the "ServerList" in the TH(chip-tool) Log: [1645772414.100694][3827:3832] CHIP:DMG: SuppressResponse = true, [1645772414.100718][3827:3832] CHIP:DMG: InteractionModelRevision = 1 @@ -72,10 +74,9 @@ tests: - label: "TH reads FeatureMap attribute from the DUT" verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read feature-map 162 0 + ./chip-tool networkcommissioning read feature-map 54 0 - - Verify on the TH Log: + Verify the "FeatureMap: 2" in the TH(chip-tool) Log: [1645772204.502545][3809:3814] CHIP:DMG: SuppressResponse = true, [1645772204.502608][3809:3814] CHIP:DMG: InteractionModelRevision = 1 @@ -88,10 +89,9 @@ tests: - label: "TH reads the MaxNetworks attribute from the DUT" PICS: CNET.S.A0000 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read max-networks 162 0 - - Verify on the TH Log: + ./chip-tool networkcommissioning read max-networks 54 0 + Verify "MaxNetworks" on the TH(chip-tool) Log: [1645772548.257320][3837:3842] CHIP:DMG: SuppressResponse = true, [1645772548.257381][3837:3842] CHIP:DMG: InteractionModelRevision = 1 @@ -102,7 +102,7 @@ tests: disabled: true - label: - "TH saves the MaxNetworks attribute value as 'MaxNetworksValue' for + "TH saves the MaxNetworks attribute value as MaxNetworksValue for future use" verification: | TH1 saves the MaxNetworks attribute value @@ -111,9 +111,9 @@ tests: - label: "TH reads the Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 + ./chip-tool networkcommissioning read networks 54 0 - Verify on the TH Log: + Verify "Networks entries and its status" on the TH(chip-tool) Log: [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 @@ -130,9 +130,9 @@ tests: - label: "TH reads ScanMaxTimeSeconds attribute from the DUT" PICS: CNET.S.A0002 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 + ./chip-tool networkcommissioning read scan-max-time-seconds 54 0 - Verify on the TH Log: + Verify "ScanMaxTimeSeconds" on the TH(chip-tool) Log: [1645772820.740795][3867:3872] CHIP:DMG: SuppressResponse = true, [1645772820.740855][3867:3872] CHIP:DMG: InteractionModelRevision = 1 @@ -145,9 +145,9 @@ tests: - label: "TH reads ConnectMaxTimeSeconds Attribute from the DUT" PICS: CNET.S.A0003 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 + ./chip-tool networkcommissioning read connect-max-time-seconds 54 0 - Verify on the TH Log: + Verify "ConnectMaxTimeSeconds" on the TH(chip-tool) Log: [1645772901.118880][3879:3884] CHIP:DMG: SuppressResponse = true, [1645772901.119008][3879:3884] CHIP:DMG: InteractionModelRevision = 1 @@ -160,9 +160,9 @@ tests: - label: "TH reads InterfaceEnabled attribute from the DUT" PICS: CNET.S.A0004 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read interface-enabled 162 0 + ./chip-tool networkcommissioning read interface-enabled 54 0 - Verify on the TH Log: + Verify "InterfaceEnabled" on the TH(chip-tool) Log: [1645772984.653996][3895:3900] CHIP:DMG: SuppressResponse = true, [1645772984.654043][3895:3900] CHIP:DMG: InteractionModelRevision = 1 @@ -175,10 +175,10 @@ tests: - label: "TH reads LastNetworkingStatus attribute from the DUT" PICS: CNET.S.A0005 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 162 0 + ./chip-tool networkcommissioning read last-networking-status 54 0 - Verify on the TH Log: + Verify "LastNetworkingStatus" on the TH(chip-tool) Log: [1645773078.930516][3905:3910] CHIP:DMG: SuppressResponse = true, [1645773078.930579][3905:3910] CHIP:DMG: InteractionModelRevision = 1 @@ -193,10 +193,10 @@ tests: Networks attribute from the DUT" PICS: CNET.S.A0006 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-network-id 162 0 + ./chip-tool networkcommissioning read last-network-id 54 0 - Verify on the TH Log: + Verify "LastNetworkID" on the TH(chip-tool) Log: [1645773167.178501][3913:3918] CHIP:DMG: SuppressResponse = true, [1645773167.178561][3913:3918] CHIP:DMG: InteractionModelRevision = 1 @@ -209,10 +209,9 @@ tests: - label: "TH reads the LastConnectErrorValue attribute from the DUT" PICS: CNET.S.A0007 verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-connect-error-value 162 0 - + ./chip-tool networkcommissioning read last-connect-error-value 54 0 - Verify on the TH Log: + Verify "LastConnectErrorValue" on the TH(chip-tool) Log: [1645773318.752774][3938:3943] CHIP:DMG: SuppressResponse = true, [1645773318.752861][3938:3943] CHIP:DMG: InteractionModelRevision = 1 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml index a8be4cf5f31ddb..779589a1c6a2ab 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml @@ -14,7 +14,10 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.18. [TC-CNET-4.20] [Wi-Fi] Verification for commands check [DUT-Client] + 12.4.18. [TC-CNET-4.20] [Wi-Fi] Verification for commands check [DUT-Client] + +PICS: + - CNET.C.F00 config: nodeId: 0x12344321 @@ -22,17 +25,12 @@ config: endpoint: 0 tests: - - label: "Commission TH and DUT over BLE to setup the Wi-Fi" - verification: | - - disabled: true - - label: "DUT sends the ScanNetwork command to the TH" PICS: CNET.C.C00.Tx verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid null --Breadcrumb 1 - Verify ScanNetworksResponse status on the TH Log: + Verify ScanNetworksResponse status on the TH/All-cluster-app Log: [1653475026.012811][29937:29942] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475026.012942][29937:29942] CHIP:TOO: ScanNetworksResponse: { @@ -167,7 +165,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 - Verify ArmFailSafeResponse on the TH Log: + Verify ArmFailSafeResponse on the TH/All-cluster-app Log: [1650371269.889246][42481:42486] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650371269.889331][42481:42486] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -183,10 +181,12 @@ tests: PICS: CNET.C.C03.Tx verification: | ./chip-tool networkcommissioning add-or-update-wi-fi-network-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivatewifi092010 1 0 - Verify NetworkConfigResponse and its arguments on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: [1650371276.622265][42488:42493] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650371276.622332][42488:42493] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -202,10 +202,12 @@ tests: PICS: CNET.C.C06.Tx verification: | ./chip-tool networkcommissioning connect-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 - Verify ConnectNetworkResponse and its arguments on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH/All-cluster-app Log: [1650376217.124606][42876:42881] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650376217.124707][42876:42881] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -221,10 +223,12 @@ tests: PICS: CNET.C.C08.Tx verification: | ./chip-tool networkcommissioning reorder-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning reorder-network hex:47524C50726976617465 3 1 0 - Verify NetworkConfigResponse and its arguments on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: [1650381494.820649][44087:44092] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650381494.820749][44087:44092] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -240,10 +244,12 @@ tests: PICS: CNET.C.C04.Tx verification: | ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 - Verify NetworkConfigResponse and its arguments on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: [1650373300.704806][42697:42702] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650373300.704864][42697:42702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml index e06d4c77896319..2b804c7b92fdf5 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.19. [TC-CNET-4.21] [Thread] Verification for commands check + 12.4.19. [TC-CNET-4.21] [Thread] Verification for commands check [DUT-Client] +PICS: + - CNET.C.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -26,78 +29,137 @@ tests: - label: "DUT sends the ScanNetwork command to the TH" PICS: CNET.C.C00.Tx verification: | - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning scan-networks 62 0 + ./chip-tool networkcommissioning scan-networks 54 0 + + Verify ScanNetworksResponse status on the TH/All-cluster-app Log: - I: 4348550 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:3714330 on exchange 35752r - D: 4348560 [EM]Handling via exchange: 35752r, Delegate: 0x2000766c - D: 4348567 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0000 - D: 4348576 [DMG]Decreasing reference count for CommandHandler, remaining 1 + D: 14385336 [SC]Allocated SecureSession (0x20003510) - waiting for Sigma1 msg + I: 14385344 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:197483196 on exchr + D: 14385354 [EM]Handling via exchange: 9330r, Delegate: 0x200070ec + D: 14385361 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0000 + D: 14385369 [DMG]Decreasing reference count for CommandHandler, remaining 1 + I: 14385377 [EM]Received message of type 0x10 with protocolId (0, 0) and MessageCounter:178528543 on excr + D: 14385387 [EM]Found matching exchange: 9329r, Delegate: (nil) + D: 14385393 [EM]Rxd Ack; Removing MessageCounter:53368092 from Retrans Table on exchange 9329r + D: 14385401 [EM]Removed CHIP MessageCounter:53368092 from RetransTable on exchange 9329r + I: 14385432 [DL]Thread Network: GRL Panid 0xface Channel 11 RSSI -85 LQI 28 Version 4 + D: 14385560 [EM]Sending Standalone Ack for MessageCounter:197483196 on exchange 9330r + I: 14385569 [IN]Prepared secure message 0x2002d4a8 to 0x000000000001B669 (1) of type 0x10 and protocolI. + I: 14385583 [IN]Sending encrypted msg 0x2002d4a8 with MessageCounter:136422877 to 0x000000000001B669 (1)c + I: 14386621 [DL]Thread Network: OpenThpeudkomku Panid 0x1234 Channel 15 RSSI -62 LQI 120 Version 3 + I: 14386712 [DL]Thread Network: GRL Panid 0xface Channel 15 RSSI -89 LQI 20 Version 4 + D: 14390254 [DMG]ICR moving to [ Preparing] + D: 14390258 [DMG]ICR moving to [AddingComm] + D: 14390263 [DMG]ICR moving to [AddedComma] + D: 14390267 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14390276 [IN]Prepared secure message 0x2000489c to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14390291 [IN]Sending encrypted msg 0x2000489c with MessageCounter:136422878 to 0x000000000001B669 (1)c + D: 14390305 [DMG]ICR moving to [CommandSen] disabled: true - label: "DUT sends the ArmFailSafe command to the TH" verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs - - [1650388634.822788][9682:9687] CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' - [1650388634.822849][9682:9687] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' - [1650388634.822902][9682:9687] CHIP:CTL: Arming failsafe (60 seconds) - [1650388635.103211][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1650388635.103362][9682:9687] CHIP:CTL: Received ArmFailSafe response - [1650388635.103426][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' + ./chip-tool generalcommissioning arm-fail-safe 900 1 54 0 + + Verify ArmFailSafeResponse on the TH/All-cluster-app Log: + + D: 14447757 [SC]Allocated SecureSession (0x200035c8) - waiting for Sigma1 msg + I: 14447765 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:60910764 on exchar + D: 14447775 [EM]Handling via exchange: 51913r, Delegate: 0x200070ec + D: 14447782 [DMG]Received command for Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0000 + I: 14447790 [FS]GeneralCommissioning: Received ArmFailSafe (90s) + D: 14447796 [DMG]Endpoint 0, Cluster 0x0000_0030 update version to feff759c + D: 14447802 [DMG]ICR moving to [ Preparing] + D: 14447806 [DMG]ICR moving to [AddingComm] + D: 14447810 [DMG]ICR moving to [AddedComma] + D: 14447814 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14447822 [IN]Prepared secure message 0x200048b4 to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14447839 [IN]Sending encrypted msg 0x200048b4 with MessageCounter:10799379 to 0x000000000001B669 (1) c + D: 14447853 [DMG]ICR moving to [CommandSen] disabled: true - label: "DUT sends the AddOrUpdateThreadNetwork command to the TH" PICS: CNET.C.C03.Tx verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs - - - [1650388638.775935][9682:9687] CHIP:CTL: Successfully finished commissioning step 'SendNOC' - [1650388638.775991][9682:9687] CHIP:CTL: Commissioning stage next step: 'SendNOC' -> 'ThreadNetworkSetup' - [1650388638.776048][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkSetup' - [1650388639.091089][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650388639.091215][9682:9687] CHIP:CTL: Received NetworkConfig response - [1650388639.091281][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkSetup' - [1650388639.091336][9682:9687] CHIP:CTL: Commissioning stage next step: 'ThreadNetworkSetup' -> 'ThreadNetworkEnable' - [1650388639.091393][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkEnable' + ./chip-tool networkcommissioning add-or-update-thread-network hex:0e080000000000010000000300000f35060004001fffe0020811111111072222220708fd9957a92dadc7aa051000112233445966778899aabbccddeeff030f4f70656e54687265616444656d6f6a0102123404106ad73489ca556d19f8c47fd2150e58e30c0402a0fff8 54 0 + + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: + + D: 14484538 [SC]Allocated SecureSession (0x20003680) - waiting for Sigma1 msg + D: 14484545 [EM]Retransmitting MessageCounter:53368100 on exchange 24385r Send Cnt 1 + I: 14484553 [IN]Sending unauthenticated msg 0x2000489c with MessageCounter:53368100 to 0x000000000000000c + I: 14484568 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:77079850 on exchar + D: 14484580 [EM]Handling via exchange: 24386r, Delegate: 0x200070ec + D: 14484587 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 + D: 14484597 [DMG]ICR moving to [ Preparing] + D: 14484601 [DMG]ICR moving to [AddingComm] + D: 14484606 [DMG]ICR moving to [AddedComma] + D: 14484611 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14484619 [IN]Prepared secure message 0x200048b4 to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14484633 [IN]Sending encrypted msg 0x200048b4 with MessageCounter:249890633 to 0x000000000001B669 (1)c + D: 14484648 [DMG]ICR moving to [CommandSen] disabled: true - label: "DUT sends the ConnectNetwork command to the TH" PICS: CNET.C.C06.Tx verification: | - Executed during the commissioning + ./chip-tool networkcommissioning connect-network hex:1111111107222222 54 0 - [1650388642.195472][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1650388642.195553][9682:9687] CHIP:CTL: Received ConnectNetwork response - [1650388642.195614][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkEnable' + Verify ConnectNetworkResponse and its arguments on the TH/All-cluster-app/All-cluster-app Log: + + D: 14513760 [IN]SecureSession[0x20003738]: Allocated Type:2 LSID:13367 + D: 14513766 [SC]Allocated SecureSession (0x20003738) - waiting for Sigma1 msg + I: 14513774 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:239166765 on exchr + D: 14513784 [EM]Handling via exchange: 65498r, Delegate: 0x200070ec + D: 14513791 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0006 + D: 14513799 [DMG]ICR moving to [ Preparing] + D: 14513803 [DMG]ICR moving to [AddingComm] + D: 14513807 [DMG]ICR moving to [AddedComma] + D: 14513813 [DMG]Decreasing reference count for CommandHandler, remaining 1 + D: 14513820 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14513827 [IN]Prepared secure message 0x200048b4 to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14513842 [IN]Sending encrypted msg 0x200048b4 with MessageCounter:17976666 to 0x000000000001B669 (1) c + D: 14513856 [DMG]ICR moving to [CommandSen] disabled: true - label: "DUT sends the ReorderNetwork command to the TH" PICS: CNET.C.C08.Tx verification: | - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning reorder-network 0119100899082022 3 62 0 - - [1650392602.379377][10158:10163] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650392602.379490][10158:10163] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1650392602.379618][10158:10163] CHIP:TOO: NetworkConfigResponse: { - [1650392602.379725][10158:10163] CHIP:TOO: networkingStatus: 3 - [1650392602.379792][10158:10163] CHIP:TOO: } - [1650392602.379882][10158:10163] CHIP:DMG: ICR moving to [AwaitingDe] + ./chip-tool networkcommissioning reorder-network 0119100899082022 3 54 0 + + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: + + D: 14569275 [IN]SecureSession[0x20002c70]: Allocated Type:2 LSID:13369 + D: 14569282 [SC]Allocated SecureSession (0x20002c70) - waiting for Sigma1 msg + I: 14569289 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:42856299 on exchar + D: 14569300 [EM]Handling via exchange: 57898r, Delegate: 0x200070ec + D: 14569306 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0008 + D: 14569314 [DMG]ICR moving to [ Preparing] + D: 14569318 [DMG]ICR moving to [AddingComm] + D: 14569322 [DMG]ICR moving to [AddedComma] + D: 14569326 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14569333 [IN]Prepared secure message 0x200048b4 to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14569348 [IN]Sending encrypted msg 0x200048b4 with MessageCounter:151956957 to 0x000000000001B669 (1)c + D: 14569362 [DMG]ICR moving to [CommandSen] disabled: true - label: "DUT sends the RemoveNetwork command to the TH" PICS: CNET.C.C04.Tx verification: | - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network 0119100899082022 62 0 - - [1650391420.469341][10048:10053] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650391420.469452][10048:10053] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1650391420.469634][10048:10053] CHIP:TOO: NetworkConfigResponse: { - [1650391420.469746][10048:10053] CHIP:TOO: networkingStatus: 3 - [1650391420.469812][10048:10053] CHIP:TOO: } - [1650391420.469902][10048:10053] CHIP:DMG: ICR moving to [AwaitingDe] + ./chip-tool networkcommissioning remove-network 0119100899082022 54 0 + + Verify NetworkConfigResponse and its arguments on the TH/All-cluster-app Log: + + D: 14591036 [IN]SecureSession[0x20002de0]: Allocated Type:2 LSID:13370 + D: 14591042 [SC]Allocated SecureSession (0x20002de0) - waiting for Sigma1 msg + I: 14591050 [EM]Received message of type 0x8 with protocolId (0, 1) and MessageCounter:7121068 on exchanr + D: 14591060 [EM]Handling via exchange: 20338r, Delegate: 0x200070ec + D: 14591066 [DMG]Received command for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0004 + D: 14591074 [DMG]ICR moving to [ Preparing] + D: 14591078 [DMG]ICR moving to [AddingComm] + D: 14591082 [DMG]ICR moving to [AddedComma] + D: 14591086 [DMG]Decreasing reference count for CommandHandler, remaining 0 + I: 14591096 [IN]Prepared secure message 0x200048b4 to 0x000000000001B669 (1) of type 0x9 and protocolId. + I: 14591110 [IN]Sending encrypted msg 0x200048b4 with MessageCounter:241944247 to 0x000000000001B669 (1)c + D: 14591124 [DMG]ICR moving to [CommandSen] disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml index b622be30cdb113..2addac18129cb1 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_22.yaml @@ -17,6 +17,9 @@ name: 4.4.20. [TC-CNET-4.22] [Thread] Verification for ScanNetworks command [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -28,46 +31,36 @@ tests: and the Breadcrumb field set to 1" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | - ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 1 - - Verify on the TH Log: - - [1657688269.591979][1607:1612] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 - [1657688269.592081][1607:1612] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 - [1657688269.592260][1607:1612] CHIP:TOO: ScanNetworksResponse: { - [1657688269.593439][1607:1612] CHIP:TOO: networkingStatus: 0 - [1657688269.593546][1607:1612] CHIP:TOO: threadScanResults: 2 entries - [1657688269.593677][1607:1612] CHIP:TOO: [1]: { - [1657688269.593712][1607:1612] CHIP:TOO: PanId: 64206 - [1657688269.593745][1607:1612] CHIP:TOO: ExtendedPanId: 3861484836749312 - [1657688269.593777][1607:1612] CHIP:TOO: NetworkName: GRL - [1657688269.593808][1607:1612] CHIP:TOO: Channel: 20 - [1657688269.593839][1607:1612] CHIP:TOO: Version: 4 - [1657688269.593874][1607:1612] CHIP:TOO: ExtendedAddress: 166E0A0000000001 - [1657688269.593905][1607:1612] CHIP:TOO: Rssi: -88 - [1657688269.593935][1607:1612] CHIP:TOO: Lqi: 20 - [1657688269.593964][1607:1612] CHIP:TOO: } - [1657688269.594009][1607:1612] CHIP:TOO: [2]: { - [1657688269.594041][1607:1612] CHIP:TOO: PanId: 64206 - [1657688269.594072][1607:1612] CHIP:TOO: ExtendedPanId: 3861484836749312 - [1657688269.594121][1607:1612] CHIP:TOO: NetworkName: GRL - [1657688269.594153][1607:1612] CHIP:TOO: Channel: 20 - [1657688269.594183][1607:1612] CHIP:TOO: Version: 4 - [1657688269.594215][1607:1612] CHIP:TOO: ExtendedAddress: 166E0A0000000001 - [1657688269.594246][1607:1612] CHIP:TOO: Rssi: -89 - [1657688269.594276][1607:1612] CHIP:TOO: Lqi: 24 - [1657688269.594304][1607:1612] CHIP:TOO: } - [1657688269.594337][1607:1612] CHIP:TOO: } - [1657688269.594410][1607:1612] CHIP:DMG: ICR moving to [AwaitingDe] - [1657688269.594480][1607:1612] CHIP:EM: Sending Standalone Ack for MessageCounter:174411537 on exchange 60247i + ./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 1 + + Verify ScanNetworksResponse and its arguments on the TH/All-cluster-app Log: + + [1658297246.000815][7679:7684] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1658297246.001029][7679:7684] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1658297246.001190][7679:7684] CHIP:TOO: ScanNetworksResponse: { + [1658297246.001270][7679:7684] CHIP:TOO: networkingStatus: 0 + [1658297246.001357][7679:7684] CHIP:TOO: threadScanResults: 1 entries + [1658297246.001485][7679:7684] CHIP:TOO: [1]: { + [1658297246.001548][7679:7684] CHIP:TOO: PanId: 64206 + [1658297246.001607][7679:7684] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1658297246.001665][7679:7684] CHIP:TOO: NetworkName: GRL + [1658297246.001721][7679:7684] CHIP:TOO: Channel: 11 + [1658297246.001777][7679:7684] CHIP:TOO: Version: 4 + [1658297246.001841][7679:7684] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1658297246.001900][7679:7684] CHIP:TOO: Rssi: -81 + [1658297246.001955][7679:7684] CHIP:TOO: Lqi: 48 + [1658297246.002010][7679:7684] CHIP:TOO: } + [1658297246.002070][7679:7684] CHIP:TOO: } + [1658297246.002181][7679:7684] CHIP:DMG: ICR moving to [AwaitingDe] + [1658297246.002298][7679:7684] CHIP:EM: Sending Standalone Ack for MessageCounter:124278362 on exchange 24525i disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | - ./chip-tool generalcommissioning read breadcrumb 1 0 + ./chip-tool generalcommissioning read breadcrumb 54 0 - Verify on the TH Log: + Verify Breadcrumb: 1 on the TH/All-cluster-app Log: [1657688310.986593][1613:1618] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017612 [1657688310.989412][1613:1618] CHIP:TOO: Breadcrumb: 1 @@ -79,36 +72,46 @@ tests: null and the Breadcrumb field set to 2" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | - ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 2 - - Verify on the TH Log: - - [1657688349.980151][1619:1624] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 - [1657688349.980254][1619:1624] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 - [1657688349.980418][1619:1624] CHIP:TOO: ScanNetworksResponse: { - [1657688349.980498][1619:1624] CHIP:TOO: networkingStatus: 0 - [1657688349.980583][1619:1624] CHIP:TOO: threadScanResults: 1 entries - [1657688349.980707][1619:1624] CHIP:TOO: [1]: { - [1657688349.980767][1619:1624] CHIP:TOO: PanId: 4660 - [1657688349.980824][1619:1624] CHIP:TOO: ExtendedPanId: 1731940895939895842 - [1657688349.980882][1619:1624] CHIP:TOO: NetworkName: OpenThuyayiyipo - [1657688349.980938][1619:1624] CHIP:TOO: Channel: 15 - [1657688349.980994][1619:1624] CHIP:TOO: Version: 3 - [1657688349.981056][1619:1624] CHIP:TOO: ExtendedAddress: C676266EB1EE47FB - [1657688349.981112][1619:1624] CHIP:TOO: Rssi: -73 - [1657688349.981166][1619:1624] CHIP:TOO: Lqi: 80 - [1657688349.981220][1619:1624] CHIP:TOO: } - [1657688349.981277][1619:1624] CHIP:TOO: } - [1657688349.981388][1619:1624] CHIP:DMG: ICR moving to [AwaitingDe] - [1657688349.981491][1619:1624] CHIP:EM: Sending Standalone Ack for MessageCounter:197076749 on exchange 44697i + ./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 2 + + Verify ScanNetworksResponse and its arguments on the TH/All-cluster-app Log: + + [1658297283.141075][7695:7700] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1658297283.141183][7695:7700] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1658297283.141356][7695:7700] CHIP:TOO: ScanNetworksResponse: { + [1658297283.141438][7695:7700] CHIP:TOO: networkingStatus: 0 + [1658297283.141534][7695:7700] CHIP:TOO: threadScanResults: 2 entries + [1658297283.141663][7695:7700] CHIP:TOO: [1]: { + [1658297283.141729][7695:7700] CHIP:TOO: PanId: 64206 + [1658297283.141788][7695:7700] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1658297283.141847][7695:7700] CHIP:TOO: NetworkName: GRL + [1658297283.141904][7695:7700] CHIP:TOO: Channel: 11 + [1658297283.141961][7695:7700] CHIP:TOO: Version: 4 + [1658297283.142023][7695:7700] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1658297283.142079][7695:7700] CHIP:TOO: Rssi: -80 + [1658297283.142134][7695:7700] CHIP:TOO: Lqi: 52 + [1658297283.142188][7695:7700] CHIP:TOO: } + [1658297283.142271][7695:7700] CHIP:TOO: [2]: { + [1658297283.142331][7695:7700] CHIP:TOO: PanId: 64206 + [1658297283.142386][7695:7700] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1658297283.142443][7695:7700] CHIP:TOO: NetworkName: GRL + [1658297283.142500][7695:7700] CHIP:TOO: Channel: 11 + [1658297283.142551][7695:7700] CHIP:TOO: Version: 4 + [1658297283.142609][7695:7700] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1658297283.142665][7695:7700] CHIP:TOO: Rssi: -83 + [1658297283.142718][7695:7700] CHIP:TOO: Lqi: 44 + [1658297283.142771][7695:7700] CHIP:TOO: } + [1658297283.142828][7695:7700] CHIP:TOO: } + [1658297283.142958][7695:7700] CHIP:DMG: ICR moving to [AwaitingDe] + [1658297283.143074][7695:7700] CHIP:EM: Sending Standalone Ack for MessageCounter:115607423 on exchange 55136i disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | - ./chip-tool generalcommissioning read breadcrumb 1 0 + ./chip-tool generalcommissioning read breadcrumb 54 0 - Verify on the TH Log: + Verify Breadcrumb: 2 on the TH/All-cluster-app Log: [1657688397.398564][1626:1631] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017613 @@ -122,26 +125,37 @@ tests: characters and the Breadcrumb field set to 3" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | - ./chip-tool networkcommissioning scan-networks 62 0 --Breadcrumb 3 - - Verify on the TH Log: - - [1657688431.913157][1632:1637] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 - [1657688431.913259][1632:1637] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 - [1657688431.913413][1632:1637] CHIP:TOO: ScanNetworksResponse: { - [1657688431.913493][1632:1637] CHIP:TOO: networkingStatus: 0 - [1657688431.913564][1632:1637] CHIP:TOO: threadScanResults: 0 entries - [1657688431.913629][1632:1637] CHIP:TOO: } - [1657688431.913718][1632:1637] CHIP:DMG: ICR moving to [AwaitingDe] - [1657688431.913829][1632:1637] CHIP:EM: Sending Standalone Ack for MessageCounter:96710809 on exchange 52223i + ./chip-tool networkcommissioning scan-networks 54 0 --Breadcrumb 3 + + Verify ScanNetworksResponse and its arguments on the TH/All-cluster-app Log: + + [1658297312.201709][7708:7713] CHIP:DMG: }, + [1658297312.201898][7708:7713] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0001 + [1658297312.202021][7708:7713] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 + [1658297312.202196][7708:7713] CHIP:TOO: ScanNetworksResponse: { + [1658297312.202276][7708:7713] CHIP:TOO: networkingStatus: 0 + [1658297312.202359][7708:7713] CHIP:TOO: threadScanResults: 1 entries + [1658297312.202481][7708:7713] CHIP:TOO: [1]: { + [1658297312.202544][7708:7713] CHIP:TOO: PanId: 64206 + [1658297312.202604][7708:7713] CHIP:TOO: ExtendedPanId: 3861484836749312 + [1658297312.202663][7708:7713] CHIP:TOO: NetworkName: GRL + [1658297312.202718][7708:7713] CHIP:TOO: Channel: 11 + [1658297312.202775][7708:7713] CHIP:TOO: Version: 4 + [1658297312.202838][7708:7713] CHIP:TOO: ExtendedAddress: 166E0A0000000001 + [1658297312.202897][7708:7713] CHIP:TOO: Rssi: -78 + [1658297312.202952][7708:7713] CHIP:TOO: Lqi: 60 + [1658297312.203007][7708:7713] CHIP:TOO: } + [1658297312.203066][7708:7713] CHIP:TOO: } + [1658297312.203176][7708:7713] CHIP:DMG: ICR moving to [AwaitingDe] + [1658297312.203284][7708:7713] CHIP:EM: Sending Standalone Ack for MessageCounter:217378941 on exchange 37389i disabled: true - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | - ./chip-tool generalcommissioning read breadcrumb 1 0 + ./chip-tool generalcommissioning read breadcrumb 54 0 - Verify on the TH Log: + Verify Breadcrumb: 3 on the TH/All-cluster-app Log: [1657688489.553742][1639:1644] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 829017614 [1657688489.553897][1639:1644] CHIP:TOO: Breadcrumb: 3 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml index 87f16edb5461cd..d1cd39bf193079 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.3. [TC-CNET-4.3] [Ethernet] Verification for attributes check + 12.4.3. [TC-CNET-4.3] [Ethernet] Verification for attributes check [DUT-Server] +PICS: + - CNET.S.F02 + config: nodeId: 0x12344321 cluster: "Basic" @@ -25,23 +28,21 @@ config: tests: - label: "Factory reset the DUT" verification: | - + verification step to be updated. disabled: true - label: "Commmission TH and DUT on Ethernet setup" verification: | - + verification step to be updated. disabled: true - label: "TH reads Descriptor Cluster from the DUT with EP0 TH reads ServerList from the DUT" verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool descriptor read server-list 1 0 - - - Verify on the TH Log: + ./chip-tool descriptor read server-list 1 0 + Verify "server list" on the TH(chip-tool) Log: [1646226258.250313][2446:2451] CHIP:DMG: SuppressResponse = true, [1646226258.250337][2446:2451] CHIP:DMG: InteractionModelRevision = 1 @@ -78,9 +79,9 @@ tests: - label: "TH reads FeatureMap attribute from the DUT" verification: | - ubuntu@ubuntu:~/sethu-apr1/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read feature-map 1 0 + ./chip-tool networkcommissioning read feature-map 1 0 - Verify on the TH Log: + Verify "FeatureMap: 4 on the TH(chip-tool) Log: [1649309323.273092][2611:2617] CHIP:DMG: } @@ -92,9 +93,9 @@ tests: - label: "TH reads the MaxNetworks attribute from the DUT" PICS: CNET.S.A0000 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read max-networks 1 0 + ./chip-tool networkcommissioning read max-networks 1 0 - Verify on the TH Log: + Verify "MaxNetworks" on the TH(chip-tool) Log: [1646226441.815782][2475:2480] CHIP:DMG: SuppressResponse = true, [1646226441.815849][2475:2480] CHIP:DMG: InteractionModelRevision = 1 @@ -105,7 +106,7 @@ tests: disabled: true - label: - "TH saves the MaxNetworks attribute value as 'MaxNetworksValue' for + "TH saves the MaxNetworks attribute value as MaxNetworksValue for future use" verification: | TH saves MaxNetworks attribute value @@ -116,7 +117,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1654076774.294361][33659:33664] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 609053543 [1654076774.294505][33659:33664] CHIP:TOO: Networks: 1 entries @@ -129,25 +130,15 @@ tests: - label: "TH reads InterfaceEnabled attribute from the DUT" PICS: CNET.S.A0004 verification: | - ./chip-tool networkcommissioning read interface-enabled 1 0 - - Verify on the TH Log: - - [1646226615.428003][2502:2507] CHIP:DMG: - [1646226615.428035][2502:2507] CHIP:DMG: SuppressResponse = true, - [1646226615.428064][2502:2507] CHIP:DMG: InteractionModelRevision = 1 - [1646226615.428094][2502:2507] CHIP:DMG: } - [1646226615.428270][2502:2507] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 3622667250 - [1646226615.428331][2502:2507] CHIP:TOO: InterfaceEnabled: TRUE - [1646226615.428415][2502:2507] CHIP:EM: Sending Standalone Ack for MessageCounter:3894401 on exchange 55691i + verification step to be updated. disabled: true - label: "TH reads LastNetworkingStatus attribute from the DUT" PICS: CNET.S.A0005 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-networking-status 1 0 + ./chip-tool networkcommissioning read last-networking-status 1 0 - Verify on the TH Log: + Verify "LastNetworkingStatus" on the TH(chip-tool) Log: [1646227167.614060][2533:2538] CHIP:DMG: SuppressResponse = true, [1646227167.614095][2533:2538] CHIP:DMG: InteractionModelRevision = 1 @@ -162,9 +153,9 @@ tests: Networks attribute from the DUT" PICS: CNET.S.A0006 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-network-id 1 + ./chip-tool networkcommissioning read last-network-id 1 0 - Verify on the TH Log: + Verify "LastNetworkID" on the TH(chip-tool) Log: [1654076802.288579][33669:33674] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 609053543 [1654076802.288708][33669:33674] CHIP:TOO: LastNetworkID: 6368697035 @@ -173,9 +164,9 @@ tests: - label: "TH reads the LastConnectErrorValue attribute from the DUT" PICS: CNET.S.A0007 verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool networkcommissioning read last-connect-error-value 1 0 + ./chip-tool networkcommissioning read last-connect-error-value 1 0 - Verify on the TH Log: + Verify "LastConnectErrorValue" on the TH(chip-tool) Log: [1653483224.839873][28189:28194] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 3189790698 [1653483224.839927][28189:28194] CHIP:TOO: LastConnectErrorValue: null diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml index b027d91c5b2322..c6c25070b6cc77 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.4. [TC-CNET-4.4] [Wi-Fi] Verification for ScanNetworks command + 12.4.4. [TC-CNET-4.4] [Wi-Fi] Verification for ScanNetworks command [DUT-Server] +PICS: + - CNET.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -24,13 +27,13 @@ config: tests: - label: - "TH sends ScanNetworks command to the DUT with the SSID field set to - 'null' and Breadcrumb field set to 1" + "TH sends ScanNetworks command to the DUT with the SSID field set + to null and Breadcrumb field set to 1" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid null --Breadcrumb 1 - Verify wiFiScanResults entries and its arguments on the TH Log: + Verify "wiFiScanResults entries and its arguments" on the TH(chip-tool) Log: [1653475026.012811][29937:29942] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475026.012942][29937:29942] CHIP:TOO: ScanNetworksResponse: { @@ -162,26 +165,28 @@ tests: disabled: true - label: - "TH reads Breadcumb attribute from the General Commissioning Cluster" + "TH reads Breadcumb attribute from + the General Commissioning Cluster" verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify Breadcrumb: 1 on the TH Log: + Verify "Breadcrumb: 1" on the TH(chip-tool) Log: [1657190614.753193][5241:5246] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642039 [1657190614.753305][5241:5246] CHIP:TOO: Breadcrumb: 1 disabled: true - label: - "TH sends ScanNetworks Command to the DUT with SSID field set to - PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 2" + "TH sends ScanNetworks Command to the DUT with SSID field set + to PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb + field set to 2" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | ./chip-tool networkcommissioning scan-network hex: 1 0 Below is an example: ./chip-tool networkcommissioning scan-networks 1 0 --Ssid 47524C50726976617465 --Breadcrumb 2 - Verify ScanNetworksResponse and its arguments on the TH Log: + Verify "ScanNetworksResponse and its arguments" on the TH(chip-tool) Log: [1653475824.575642][30076:30081] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475824.575807][30076:30081] CHIP:TOO: ScanNetworksResponse: { @@ -201,11 +206,12 @@ tests: disabled: true - label: - "TH reads Breadcumb attribute from the General Commissioning Cluster" + "TH reads Breadcumb attribute from + the General Commissioning Cluster" verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify Breadcrumb: 2 on the TH Log: + Verify "Breadcrumb: 2" on the TH(chip-tool) Log: [1657197542.352377][5661:5666] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642042 [1657197542.352450][5661:5666] CHIP:TOO: Breadcrumb: 2 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml index 0e77dee8ad56fe..b6de8c391fc5c8 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_5.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.5. [TC-CNET-4.5] [Wi-Fi] FAILSAFE_REQUIRED message Validation + 12.4.5. [TC-CNET-4.5] [Wi-Fi] FAILSAFE_REQUIRED message Validation [DUT-Server] +PICS: + - CNET.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -25,14 +28,17 @@ config: tests: - label: "TH sends the AddOrUpdateWiFiNetwork command to the DUT with the - following argument: SSID argument value as 'Userwifi_ssid' Credentials - argument value as 'Userwifi_Credentials' Breadcrumb argument value as - 1" + following argument: SSID argument value as Userwifi_ssid Credentials + argument value as Userwifi_Credentials Breadcrumb argument value as 1" PICS: CNET.S.C02.Rsp verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivatewifi092010 1 0 - Verify on the TH Log: + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) @@ -41,12 +47,16 @@ tests: - label: "TH sends RemoveNetwork command to the DUT with NetworkID argument - value as 'Userwifi_ssid' and Breadcrumb argument value as 1" + value as Userwifi_ssid and Breadcrumb argument value as 1" PICS: CNET.S.C02.Rsp verification: | + ./chip-tool networkcommissioning remove hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 - Verify on the TH Log: + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) @@ -55,12 +65,16 @@ tests: - label: "TH sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userwifi_ssid' and Breadcrumb argument value as 1" + value as Userwifi_ssid and Breadcrumb argument value as 1" PICS: CNET.S.C06.Rsp verification: | + ./chip-tool networkcommissioning connect hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 - Verify on the TH Log: + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml index d72c40f56a8e4c..0880d115fd02e7 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_6.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.6. [TC-CNET-4.6] [Thread] FAILSAFE_REQUIRED message Validation + 12.4.6. [TC-CNET-4.6] [Thread] FAILSAFE_REQUIRED message Validation [DUT-Server] +PICS: + - CNET.S.F01 + config: nodeId: 0x12344321 cluster: "Basic" @@ -25,13 +28,17 @@ config: tests: - label: "TH sends the AddOrUpdateThreadNetwork command to the DUT with the - following argument: OperationalDataset argument value as 'Userth_op' + following argument: OperationalDataset argument value as Userth_op Breadcrumb argument value as 1" PICS: CNET.S.C03.Rsp verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning add-or-update-thread-network 1232034768527434274 51 0 + ./chip-tool networkcommissioning add-or-update-thread-network-network hex: 1 0 + + Below is an example: - Verify on the TH Log: + ./chip-tool networkcommissioning add-or-update-thread-network 1232034768527434274 51 0 + + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) @@ -40,12 +47,16 @@ tests: - label: "TH sends RemoveNetwork command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 1" + value as Userth_op and Breadcrumb argument value as 1" PICS: CNET.S.C04.Rsp verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network 1232034768527434274 51 0 + ./chip-tool networkcommissioning remove-network hex: 1 0 + + Below is an example: - Verify on the TH Log: + /chip-tool networkcommissioning remove-network 1232034768527434274 51 0 + + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) @@ -54,12 +65,16 @@ tests: - label: "TH sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 1" + value as Userth_op and Breadcrumb argument value as 1" PICS: CNET.S.C06.Rsp verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning connect-network 1232034768527434274 51 0 + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + + ./chip-tool networkcommissioning connect-network 1232034768527434274 51 0 - Verify on the TH Log: + Verify "FAILSAFE_REQUIRED status code" on the TH(chip-tool) Log: [1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca [1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml index 72b4bf684ef3c4..edb28901a28b35 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_9.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.4.7. [TC-CNET-4.9] [Wi-Fi] Verification for RemoveNetwork Command + 12.4.7. [TC-CNET-4.9] [Wi-Fi] Verification for RemoveNetwork Command [DUT-Server] +PICS: + - CNET.S.F00 + config: nodeId: 0x12344321 cluster: "Basic" @@ -29,7 +32,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0 - Verify on the TH Log: + Verify "ArmFailSafeResponse" on the TH(chip-tool) Log: [1653478311.640549][30368:30373] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1653478311.640646][30368:30373] CHIP:TOO: ArmFailSafeResponse: { @@ -45,7 +48,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376 [1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries @@ -58,11 +61,11 @@ tests: - label: "TH finds the index of the Networks list entry with NetworkID field value PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT_SSID and saves it as - 'Userwifi_netidx'" + Userwifi_netidx" verification: | ./chip-tool networkcommissioning read last-network-id 1 0 - Verify on the TH Log: + Verify "LastNetworkID" on the TH(chip-tool) Log: [1657198553.376268][5799:5804] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 2494552649 [1657198553.376351][5799:5804] CHIP:TOO: LastNetworkID: 47524C50726976617465 @@ -73,9 +76,13 @@ tests: PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 - Verify on the TH Log: + Verify "NetworkConfigResponse and its arguments" on the TH(chip-tool) Log: [1653478327.351092][30388:30393] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -92,7 +99,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1653478331.979300][30395:30400] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 [1653478331.979380][30395:30400] CHIP:TOO: Networks: 0 entries @@ -104,7 +111,7 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 - Verify on the TH Log: + Verify "LastNetworkingStatus" on the TH(chip-tool) Log: [1653478850.425096][30420:30425] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 [1653478850.425170][30420:30425] CHIP:TOO: LastNetworkingStatus: 0 @@ -116,8 +123,7 @@ tests: verification: | ./chip-tool networkcommissioning read last-network-id 1 0 - - Verify on the TH Log: + Verify "LastNetworkID" on the TH(chip-tool) Log: [1657197861.497831][5737:5742] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 2494552649 [1657197861.497897][5737:5742] CHIP:TOO: LastNetworkID: 47524C50726976617465 @@ -130,7 +136,7 @@ tests: verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify "Breadcrumb: 1" on the TH(chip-tool) Log: [1657197903.686316][5745:5750] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642043 [1657197903.686428][5745:5750] CHIP:TOO: Breadcrumb: 1 @@ -142,9 +148,13 @@ tests: 2" PICS: CNET.S.C04.Rsp verification: | + ./chip-tool networkcommissioning connect-network hex: 1 0 + + Below is an example: + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 --Breadcrumb 2 - Verify on the TH Log: + Verify "ConnectNetworkResponse and its arguments" on the TH(chip-tool) Log: [1657288261.892249][2347:2352] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1657288261.892304][2347:2352] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -161,7 +171,7 @@ tests: verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify "Breadcrumb: 1" on the TH(chip-tool) Log: [1657288331.671111][2360:2365] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 3470734109 [1657288331.671207][2360:2365] CHIP:TOO: Breadcrumb: 1 @@ -173,7 +183,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 - Verify on the TH Log: + Verify "ArmFailSafeResponse" on the TH(chip-tool) Log: [1657288382.006035][2369:2374] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657288382.006094][2369:2374] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -188,7 +198,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1657288403.226567][2376:2381] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1420716065 [1657288403.226663][2376:2381] CHIP:TOO: Networks: 0 entries @@ -200,7 +210,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 90 1 1 0 - Verify on the TH Log: + Verify "ArmFailSafeResponse" on the TH(chip-tool) Log: [1657288428.409103][2382:2388] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657288428.409191][2382:2388] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -215,8 +225,13 @@ tests: PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1 + Verify "NetworkConfigResponse and its arguments" on the TH(chip-tool) Log: + [1657288459.534546][2390:2395] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1657288459.534622][2390:2395] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1657288459.534720][2390:2395] CHIP:TOO: NetworkConfigResponse: { @@ -229,7 +244,7 @@ tests: verification: | ./chip-tool generalcommissioning commissioning-complete 1 0 - Verify on the TH Log: + Verify "CommissioningCompleteResponse and its arguments" on the TH(chip-tool) Log: [1657288504.905001][2397:2402] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 [1657288504.905050][2397:2402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 @@ -247,7 +262,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 - Verify on the TH Log: + Verify "ArmFailSafeResponse" on the TH(chip-tool) Log: [1657288529.987350][2404:2409] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657288529.987514][2404:2409] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -262,7 +277,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify "Networks entiries and its status" on the TH(chip-tool) Log: [1657288549.446752][2412:2417] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1420716065 [1657288549.446852][2412:2417] CHIP:TOO: Networks: 0 entries diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml index 535c6dbf4cf028..691c0ae2c43d8d 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml @@ -17,6 +17,9 @@ name: 4.1.1. [TC-DA-1.1] The NOC SHALL be wiped on Factory Reset [DUT - Commissionee] +PICS: + - MCORE.ROLE.COMMISSIONEE + config: nodeId: 0x12344321 cluster: "Basic" @@ -27,9 +30,10 @@ tests: verification: | sudo ./chip-all-clusters-app --wifi - Verify in TH log: ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 + Verify in TH log: + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success disabled: true @@ -40,7 +44,8 @@ tests: verification: | ./chip-tool operationalcredentials read fabrics 1 0 - Verify there is single entry in TH log: + Verify that there is a single entry in the list + [1655471672.386120][13377:13382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297992 [1655471672.386213][13377:13382] CHIP:TOO: Fabrics: 1 entries [1655471672.386291][13377:13382] CHIP:TOO: [1]: { @@ -59,7 +64,8 @@ tests: verification: | ./chip-tool operationalcredentials read nocs 1 0 - Verify there is single entry in TH log: + Verify there is single entry and Fabric ID matches FabricID of TH1 + [1658392350.745452][3254:3259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660110003 [1658392350.748972][3254:3259] CHIP:TOO: NOCs: 1 entries [1658392350.749041][3254:3259] CHIP:TOO: [1]: { @@ -110,7 +116,7 @@ tests: verification: | ./chip-tool operationalcredentials read fabrics 2 0 - Verify there is single entry in TH log: + Verify there is single entry and FabricID matches the FabricID of TH2 [1655471672.386120][13377:13382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297992 [1655471672.386213][13377:13382] CHIP:TOO: Fabrics: 1 entries @@ -129,7 +135,7 @@ tests: verification: | "./chip-tool operationalcredentials read nocs 2 0 - Verify there is single entry in TH log: + Verify there is single entry and verify the NOC entry of TH1 and NOC entry of TH2 are different [1655471146.098327][13302:13307] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2667297991 [1655471146.098416][13302:13307] CHIP:TOO: NOCs: 1 entries diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml index b24ee7734d68ce..b7bc74dfcc5bd0 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_2.yaml @@ -17,6 +17,9 @@ name: 4.1.2. [TC-DA-1.2] Device Attestation Request Validation [DUT - Commissionee] +PICS: + - MCORE.ROLE.COMMISSIONEE + config: nodeId: 0x12344321 cluster: "Basic" @@ -49,6 +52,13 @@ tests: [1657814395.878985][2481:2486] CHIP:TOO: } disabled: true + - label: + "Verify that the DUT generates the Attestation Information and that it + is sent to TH1 using AttestationResponse Command" + verification: | + Verify DUT generates Attestation Information + disabled: true + - label: "TH1 sends CertificateChainRequest Command with CertificateType field set to DACCertificate (1) to DUT to obtain DAC" @@ -64,7 +74,10 @@ tests: - label: "TH1 saves DAC certificate" verification: | - See above + Verify the size of certificate is less than or equal to 600 bytes and of type octstr from the above log + + Example : + 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 disabled: true - label: @@ -84,7 +97,10 @@ tests: - label: "TH1 saves PAI certificate" verification: | - See above + Verify the size of certificate is less than or equal to 600 bytes and of type octstr from the above log + + Example : + 308201CB30820171A003020102020856AD8222AD945B64300A06082A8648CE3D04030230303118301606035504030C0F4D617474657220546573742050414131143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313059301306072A8648CE3D020106082A8648CE3D03010703420004419A9315C2173E0C8C876D03CCFC944852647F7FEC5E5082F4059928ECA894C594151309AC631E4CB03392AF684B0BAFB7E65B3B8162C2F52BF931B8E77AAA82A366306430120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106301D0603551D0E0416041463540E47F64B1C38D13884A462D16C195D8FFB3C301F0603551D230418301680146AFD22771F511FECBF1641976710DCDC31A1717E300A06082A8648CE3D0403020348003045022100B2EF27F49AE9B50FB91EEAC94C4D0BDBB8D7929C6C disabled: true - label: @@ -134,9 +150,675 @@ tests: [1658223434.719135][5712:5717] CHIP:TOO: } disabled: true + - label: + "Verify that the DUT generated the AttestationResponse has the + following fields:AttestationElements ,AttestationSignature" + verification: | + Verify that the DUT generated the AttestationResponse has the following fields: + 1. AttestationElements + 2. AttestationSignature + + AttestationResponse: { + [1658223434.719026][5712:5717] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 + [1658223434.719078][5712:5717] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C3002203577CA6EFFFC560E287604663AE5BE2F11D1B1CF99BE326AF5B3B114A2E9139524030018 + [1658223434.719110][5712:5717] CHIP:TOO: signature: 7E18271F57FFC60492CA74943FC897493FB2FECDD4A4DC9F2AD348AAD1F5C57DAEB144A4D1C79419386C746F28AC145F3185C64AD99DD829EE70C3690D29642D + disabled: true + - label: "Read the attestation_elements_message structure fields" verification: | - verification step to be updated. + Verify the attestation elements field + + [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = + [1655374218.453366][35023:35028] CHIP:DMG: { + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = + [1655374218.455474][35023:35028] CHIP:DMG: { + [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 + [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 + [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 + [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 + [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 + [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 + [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 + [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 + [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 + [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 + [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 + [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 + [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 + [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 + [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 + [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 + [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 + [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 + [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 + [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 + [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 + [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 + [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 + [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 + [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 + [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 + [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 + [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 + [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 + [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 + [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 + [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 + [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 + [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 + [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 + [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 + [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 + [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 + [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 + [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 + [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 + [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 + [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 + [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 + [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 + [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 + [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 + [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 + [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 + [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 + [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 + [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 + [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 + [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 + [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 + [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 + [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 + [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 + [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 + [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 + [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 + [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 + [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 + [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 + [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 + [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 + [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 + [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 + [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 + [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 + [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 + [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 + [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 + [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 + [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 + [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 + [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 + [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 + [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 + [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 + [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 + [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 + [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 + [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 + [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 + [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 + [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 + [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 + [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 + [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 + [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 + [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 + [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 + [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 + [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 + [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 + [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 + [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 + [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 + [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 + [1655374218.459309][35023:35028] CHIP:DMG: } + [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 + [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 + [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 + [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 + [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 + disabled: true + + - label: + "Verify that the attestation_elements_message structure fields satisfy + the following conditions:" + verification: | + Verify that the attestation_elements_message structure fields satisfy the following conditions + 1. AttestationElements field size should not be greater than RESP_MAX(900 bytes) + 2. certification_declaration is present and is an octet string + + [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = + [1655374218.453366][35023:35028] CHIP:DMG: { + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = + [1655374218.455474][35023:35028] CHIP:DMG: { + [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 + [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 + [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 + [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 + [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 + [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 + [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 + [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 + [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 + [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 + [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 + [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 + [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 + [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 + [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 + [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 + [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 + [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 + [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 + [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 + [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 + [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 + [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 + [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 + [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 + [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 + [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 + [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 + [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 + [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 + [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 + [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 + [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 + [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 + [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 + [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 + [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 + [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 + [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 + [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 + [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 + [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 + [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 + [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 + [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 + [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 + [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 + [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 + [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 + [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 + [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 + [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 + [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 + [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 + [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 + [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 + [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 + [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 + [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 + [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 + [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 + [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 + [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 + [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 + [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 + [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 + [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 + [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 + [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 + [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 + [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 + [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 + [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 + [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 + [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 + [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 + [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 + [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 + [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 + [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 + [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 + [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 + [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 + [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 + [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 + [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 + [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 + [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 + [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 + [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 + [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 + [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 + [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 + [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 + [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 + [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 + [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 + [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 + [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 + [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 + [1655374218.459309][35023:35028] CHIP:DMG: } + [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 + [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 + [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 + [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 + [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 + disabled: true + + - label: + "AttestationElements field size should not be greater than + RESP_MAX(900 bytes)" + verification: | + AttestationElements field size should not be greater than RESP_MAX(900 bytes) + + Attestation Elements (585 bytes) = + [1655374218.453366][35023:35028] CHIP:DMG: { + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = + disabled: true + + - label: + "certification_declaration is present and is an octet string + representation CMS-format certification declaration, as described in + section 6.3.1" + verification: | + Verify certification_declaration is present and is an octet string in TH log: + + [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = + [1655374218.453366][35023:35028] CHIP:DMG: { + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = + [1655374218.455474][35023:35028] CHIP:DMG: { + [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 + [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 + [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 + [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 + [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 + [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 + [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 + [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 + [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 + [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 + [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 + [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 + [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 + [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 + [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 + [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 + [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 + [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 + [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 + [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 + [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 + [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 + [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 + [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 + [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 + [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 + [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 + [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 + [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 + [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 + [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 + [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 + [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 + [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 + [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 + [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 + [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 + [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 + [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 + [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 + [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 + [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 + [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 + [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 + [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 + [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 + [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 + [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 + [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 + [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 + [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 + [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 + [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 + [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 + [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 + [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 + [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 + [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 + [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 + [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 + [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 + [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 + [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 + [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 + [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 + [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 + [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 + [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 + [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 + [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 + [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 + [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 + [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 + [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 + [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 + [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 + [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 + [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 + [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 + [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 + [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 + [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 + [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 + [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 + [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 + [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 + [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 + [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 + [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 + [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 + [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 + [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 + [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 + [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 + [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 + [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 + [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 + [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 + [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 + [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 + [1655374218.459309][35023:35028] CHIP:DMG: } + [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 + [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 + [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 + [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 + [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 + disabled: true + + - label: + "Verify for the following contents of CD: format_version = 1 ,The + vendor_id field matches the one saved as basic_info_vendor_id saved + earlier ,The vendor_id field is in range [0x0001 .. 0xFFF0] ,The + product_id_array field contains the value of basic_info_product_id + saved earlier ,device_type_id has a value between 0 and (2^31 - 1) + ,security level = 0 ,security_information = 0 ,version_number is an + integer in range 0..65535 ,certification_type has a value between 1..2" + verification: | + Verify Verify for the following contents of CD in TH log: + format_version = 1, + vendor_id matches the basic_info_vendor_id, + product_id_array matches the basic_info_product_id saved earlier, + device_type_id value should between 0 and (2^31 - 1), + certificate_id, + security level = 0, + security_information = 0, + version_number should be in range 0..65535, + certification_type should be between 1..2 + + https://github.com/project-chip/connectedhomeip/issues/21578 + disabled: true + + - label: + "Confirm that either both the fields dac_origin_vendor_id and + dac_origin_product_id are present in Certification Declaration ,Or + confirm both the fields dac_origin_vendor_id and dac_origin_product_id + are not present in the Certification Declaration" + PICS: + MCORE.DA.CERTDECL_ORIGIN_VENDORID && + MCORE.DA.CERTDECL_ORIGIN_PRODUCTID + verification: | + Verify vendor_id and product_id are present in Certification Declaration in TH log: + + [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = + [1655374218.453366][35023:35028] CHIP:DMG: { + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = + [1655374218.455474][35023:35028] CHIP:DMG: { + [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 + [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 + [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 + [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 + [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 + [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 + [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 + [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 + [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 + [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 + [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 + [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 + [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 + [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 + [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 + [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 + [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 + [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 + [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 + [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 + [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 + [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 + [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 + [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 + [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 + [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 + [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 + [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 + [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 + [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 + [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 + [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 + [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 + [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 + [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 + [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 + [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 + [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 + [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 + [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 + [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 + [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 + [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 + [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 + [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 + [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 + [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 + [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 + [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 + [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 + [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 + [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 + [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 + [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 + [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 + [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 + [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 + [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 + [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 + [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 + [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 + [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 + [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 + [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 + [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 + [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 + [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 + [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 + [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 + [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 + [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 + [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 + [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 + [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 + [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 + [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 + [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 + [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 + [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 + [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 + [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 + [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 + [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 + [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 + [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 + [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 + [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 + [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 + [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 + [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 + [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 + [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 + [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 + [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 + [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 + [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 + [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 + [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 + [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 + [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 + [1655374218.459309][35023:35028] CHIP:DMG: } + [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 + [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 + [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 + [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 + [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 + disabled: true + + - label: + "If the Certification Declaration has both the dac_origin_vendor_id + and the dac_origin_product_id fields then check for the following + conditions: ,The Vendor ID (VID) in the DAC subject and PAI subject + are the same as the dac_origin_vendor_id field in the Certification + Declaration. ,The Product ID (PID) in the DAC subject is same as the + dac_origin_product_id field in the Certification Declaration. ,If it + is present in the PAI certificate, the Product ID (PID) in the subject + is same as the dac_origin_product_id field in the Certification + Declaration" + PICS: + MCORE.DA.CERTDECL_ORIGIN_VENDORID && + MCORE.DA.CERTDECL_ORIGIN_PRODUCTID + verification: | + Verify both vendorID has same value + + Verify in DUT log: + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + + + "./chip-tool basic read vendor-id 1 0 + + Verify in TH log: + [1654068750.496162][10974:10979] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 2079473956 + [1654068750.496206][10974:10979] CHIP:TOO: VendorID: 65521 + [1654068750.496287][10974:10979] CHIP:EM: Sending Standalone Ack for MessageCounter:5436360 on exchange 400i" + disabled: true + + - label: + "If the Certification Declaration has neither the dac_origin_vendor_id + nor the dac_origin_product_id fields then check for the following + conditions: ,The Vendor ID (VID) in the DAC subject and PAI subject + are the same as the vendor_id field in the Certification + Declaration.,The Product ID (PID) subject DN in the DAC is contained + in the product_id_array field in the Certification Declaration. ,If it + is present in the PAI certificate, the Product ID (PID) in the subject + is contained in the product_id_array field in the Certification + Declaration." + PICS: + MCORE.DA.CERTDECL_ORIGIN_VENDORID && + MCORE.DA.CERTDECL_ORIGIN_PRODUCTID + verification: | + Verify The Vendor ID (VID) in the DAC subject and PAI subject are the same as the vendor_id field in the Certification Declaration. + + Verify in DUT log: + [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = + [1655374218.453483][35023:35028] CHIP:DMG: { + [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 + [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 + + + "./chip-tool basic read vendor-id 1 0 + + Verify in TH log: + [1654068750.496162][10974:10979] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 2079473956 + [1654068750.496206][10974:10979] CHIP:TOO: VendorID: 65521 + [1654068750.496287][10974:10979] CHIP:EM: Sending Standalone Ack for MessageCounter:5436360 on exchange 400i" + disabled: true + + - label: + "If the Certification Declaration has authorized_paa_list then check + for the following conditions: The authority key id extension of the + PAI certificate matches the one found in the authorized_paa_list" + PICS: MCORE.DA.CERTDECL_AUTH_PAA + verification: | + Not verifiable, authorized_paa_list is optional + disabled: true + + - label: + "Verify that the certification_declaration CMS enveloped can be + verified with the well-known Certification Declaration public key used + to originally sign the Certification Declaration" + verification: | + Not verifiable + disabled: true + + - label: + "attestation_nonce is present in the attestation_elements_message + structure ,attestation_nonce value matches the AttestationNonce field + value sent in the AttestationRequest Command sent by the commissioner + ,attestation_nonce is a 32 byte-long octet string" + verification: | + Verify Attestation Nonce in TH Log: + [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 + [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 + [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 + [1655374218.459584][35023:35028] CHIP:DMG: } + [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 + [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 + [1655374218.459699][35023:35028] CHIP:DMG: } + disabled: true + + - label: + "firmware_information is optional, may be present ,if + firmware_information field is present it is a octet string" + PICS: MCORE.DA.ATTESTELEMENT_FW_INFO + verification: | + firmware_information is optional, may be present + disabled: true + + - label: + "Using Crypto_Verify cryptographic primitive, validate that the + AttestationSignature from the AttestationResponse Command is valid if + verified against a message constructed by concatenating + AttestationElements with the attestation challenge associated with the + secure session over which the AttestationResponse was obtained, using + the subject public key found in the DAC." + verification: | + Not verifiable + disabled: true + + - label: + "Verify that the PAA subject public key and subject match one of the + official PAA certificates found in the Distributed Compliance Ledger." + verification: | + Not verifiable because DCL data disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml index 29c478c67560d4..45bac3d1c2c61d 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_3.yaml @@ -17,6 +17,9 @@ name: 4.1.3. [TC-DA-1.3] Device Attestation Request Validation [DUT - Commissioner] +PICS: + - MCORE.ROLE.COMMISSIONER + config: nodeId: 0x12344321 cluster: "Basic" @@ -442,7 +445,7 @@ tests: - label: "Factory Reset TH1 so that it is commissionable again" verification: | - Both on DUT and TH side + On Raspi platform below commands are used to perform factory_reset operation. sudo rm -rf /tmp/chip_* disabled: true @@ -715,5 +718,5 @@ tests: "TH1 records the AttestationNonce received in AttestationRequest as Nonce_2" verification: | - See above + save disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml index 91be3aa72333e5..54e3ae4445abbf 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml @@ -17,6 +17,9 @@ name: 4.1.4. [TC-DA-1.4] Device Attestation Request Validation-Error Scenario [DUT-Commissioner] +PICS: + - MCORE.ROLE.COMMISSIONER + config: nodeId: 0x12344321 cluster: "Basic" @@ -35,299 +38,34 @@ tests: - label: "DUT generates 32-byte AttestationNonce" verification: | - Verify attestation Nonce in DUT as commissioner side: - - [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information - [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] - [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655374218.252180][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.252405][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.352372][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.352509][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.450622][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.450870][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.452138][35023:35028] CHIP:DMG: << from BLE | 224958145 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 19710 / Exchange = 1302] - [1655374218.452241][35023:35028] CHIP:DMG: Header Flags = - [1655374218.452300][35023:35028] CHIP:DMG: { - [1655374218.452395][35023:35028] CHIP:DMG: } - [1655374218.452449][35023:35028] CHIP:DMG: - [1655374218.452521][35023:35028] CHIP:DMG: Encrypted Payload (716 bytes) = - [1655374218.452579][35023:35028] CHIP:DMG: { - [1655374218.452634][35023:35028] CHIP:DMG: data = 00fe4c00c196680d30c5e98d35a6d844102a8b0067edba80e2adf97e28751f8353657dacb7c9706c2c22add28d18adca15378d16af57f0f4092893cfc5d3e85f6e409f70e39bcb9e0bd3397947e927d20e5bf5173e3def7218d0152cf40e7cb16db615efbd282fd6e84c710bd2c7441228eb5dbbcf0dc76a3eaa0b04655f434d3c8223c7016703b8082c9984c3a91432d12271c87f4d09e90cb6e78d07c81d6359cd5a756f2bace60a7a216896949b536e5583f22db64aeae0279ba2fd279813be383e4324ab63472e3d9877f6c9fa539e577dc50fbcc5a7124a14ea78abdd6ada4ec256a3ee0a242747d636215ffab3c8b4291023eb51b3701939e153912b0f5764479b05e1cf472c350304d1ead872295c80fed3a545530f773e729b6f7bd7d5547de03076a72b8855191beb12d8194477bc9798b6177557cccf3b11b2c1f82cee31d451408359650112394dc2c1592cd2eb1e75881aa340885e65ef9a9905947842574ddcac832d68188b0a3a20fb223258d766692b13a6cde0de34d4f9047046d38ad94caf0a9cc7a786c082d5ae8c62346d69684c6ed5ae958ab68c0685922751ff04d922a838c9d2257a7af6e72af524b459a45ea6311431d30c7de32b3d79581ac119d6e7f63a877b53fda9d69256c5870f2af36f74e08b22e1217a0324b772394a4a596ff237331c623b8d7746077826088dddd2a741f19011cde09f1e897f92ac975fd9a157de0b780f6551b11a50ffe12c781f304dbda9dd75465fb3a8ec52d30f7ddb9179f1b9dfe415ae2d66a53bad67bcf27b3351b8a5cdc9e8b54095c81774007237c8a14a3e2c9cf350616cf5ebf7f6ae5a8c77207924b0e1cddc6c7e77c2a514319947c5988af1dd77325259f496293e53041941d45a1355f56b8036008ab696f7d47d17f9fc4890aa78c2811560b7b4d79a460b7dcd3d9bc3bdd5f72d27bb0060f722aa9c22e7d635895404c832bf2371321d1ababa954482c847fedd0d4676bd188365 - [1655374218.452884][35023:35028] CHIP:DMG: buffer_ptr = 281472627984864 - [1655374218.452941][35023:35028] CHIP:DMG: } - [1655374218.452992][35023:35028] CHIP:DMG: - [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = - [1655374218.453366][35023:35028] CHIP:DMG: { - [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = - [1655374218.453483][35023:35028] CHIP:DMG: { - [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 - [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 - [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = - [1655374218.455474][35023:35028] CHIP:DMG: { - [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 - [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 - [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 - [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 - [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 - [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 - [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 - [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 - [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 - [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 - [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 - [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 - [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 - [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 - [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 - [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 - [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 - [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 - [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 - [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 - [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 - [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 - [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 - [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 - [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 - [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 - [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 - [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 - [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 - [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 - [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 - [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 - [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 - [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 - [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 - [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 - [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 - [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 - [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 - [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 - [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 - [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 - [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 - [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 - [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 - [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 - [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 - [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 - [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 - [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 - [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 - [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 - [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 - [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 - [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 - [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 - [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 - [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 - [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 - [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 - [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 - [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 - [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 - [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 - [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 - [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 - [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 - [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 - [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 - [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 - [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 - [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 - [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 - [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 - [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 - [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 - [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 - [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 - [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 - [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 - [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 - [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 - [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 - [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 - [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 - [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 - [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 - [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 - [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 - [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 - [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 - [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 - [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 - [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 - [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 - [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 - [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 - [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 - [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 - [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 - [1655374218.459309][35023:35028] CHIP:DMG: } - [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 - [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 - [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 - [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 - [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 - [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 - [1655374218.459584][35023:35028] CHIP:DMG: } - [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 - [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 - [1655374218.459699][35023:35028] CHIP:DMG: } + To generate the Attestation Nonce give below command + + echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) + + The generated Attestation Nonce is hex:F573438E58E445EAB50665023A298E351446F5E5E9493F05F4C63CCC02E1F834 disabled: true - label: "DUT sends AttestationRequest Command with AttestationNonce as field to the TH1." verification: | - DUT Verify attestation Nonce in DUT as commissioner side: - - [1655374218.117635][35023:35028] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information - [1655374218.117686][35023:35028] CHIP:DMG: ICR moving to [AwaitingDe] - [1655374218.204040][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655374218.252180][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.252405][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.352372][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.352509][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.450622][35023:35026] CHIP:DL: Indication received, conn = 0xffff8003c0c0 - [1655374218.450870][35023:35028] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655374218.452138][35023:35028] CHIP:DMG: << from BLE | 224958145 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 19710 / Exchange = 1302] - [1655374218.452241][35023:35028] CHIP:DMG: Header Flags = - [1655374218.452300][35023:35028] CHIP:DMG: { - [1655374218.452395][35023:35028] CHIP:DMG: } - [1655374218.452449][35023:35028] CHIP:DMG: - [1655374218.452521][35023:35028] CHIP:DMG: Encrypted Payload (716 bytes) = - [1655374218.452579][35023:35028] CHIP:DMG: { - [1655374218.452634][35023:35028] CHIP:DMG: data = 00fe4c00c196680d30c5e98d35a6d844102a8b0067edba80e2adf97e28751f8353657dacb7c9706c2c22add28d18adca15378d16af57f0f4092893cfc5d3e85f6e409f70e39bcb9e0bd3397947e927d20e5bf5173e3def7218d0152cf40e7cb16db615efbd282fd6e84c710bd2c7441228eb5dbbcf0dc76a3eaa0b04655f434d3c8223c7016703b8082c9984c3a91432d12271c87f4d09e90cb6e78d07c81d6359cd5a756f2bace60a7a216896949b536e5583f22db64aeae0279ba2fd279813be383e4324ab63472e3d9877f6c9fa539e577dc50fbcc5a7124a14ea78abdd6ada4ec256a3ee0a242747d636215ffab3c8b4291023eb51b3701939e153912b0f5764479b05e1cf472c350304d1ead872295c80fed3a545530f773e729b6f7bd7d5547de03076a72b8855191beb12d8194477bc9798b6177557cccf3b11b2c1f82cee31d451408359650112394dc2c1592cd2eb1e75881aa340885e65ef9a9905947842574ddcac832d68188b0a3a20fb223258d766692b13a6cde0de34d4f9047046d38ad94caf0a9cc7a786c082d5ae8c62346d69684c6ed5ae958ab68c0685922751ff04d922a838c9d2257a7af6e72af524b459a45ea6311431d30c7de32b3d79581ac119d6e7f63a877b53fda9d69256c5870f2af36f74e08b22e1217a0324b772394a4a596ff237331c623b8d7746077826088dddd2a741f19011cde09f1e897f92ac975fd9a157de0b780f6551b11a50ffe12c781f304dbda9dd75465fb3a8ec52d30f7ddb9179f1b9dfe415ae2d66a53bad67bcf27b3351b8a5cdc9e8b54095c81774007237c8a14a3e2c9cf350616cf5ebf7f6ae5a8c77207924b0e1cddc6c7e77c2a514319947c5988af1dd77325259f496293e53041941d45a1355f56b8036008ab696f7d47d17f9fc4890aa78c2811560b7b4d79a460b7dcd3d9bc3bdd5f72d27bb0060f722aa9c22e7d635895404c832bf2371321d1ababa954482c847fedd0d4676bd188365 - [1655374218.452884][35023:35028] CHIP:DMG: buffer_ptr = 281472627984864 - [1655374218.452941][35023:35028] CHIP:DMG: } - [1655374218.452992][35023:35028] CHIP:DMG: - [1655374218.453303][35023:35028] CHIP:DMG: Attestation Elements (585 bytes) = - [1655374218.453366][35023:35028] CHIP:DMG: { - [1655374218.453431][35023:35028] CHIP:DMG: Certification Declaration = - [1655374218.453483][35023:35028] CHIP:DMG: { - [1655374218.455342][35023:35028] CHIP:DMG: Format Version = 1 - [1655374218.455398][35023:35028] CHIP:DMG: Vendor Id = 65521 - [1655374218.455438][35023:35028] CHIP:DMG: Product Ids = - [1655374218.455474][35023:35028] CHIP:DMG: { - [1655374218.455512][35023:35028] CHIP:DMG: Product Id = 32768 - [1655374218.455552][35023:35028] CHIP:DMG: Product Id = 32769 - [1655374218.455590][35023:35028] CHIP:DMG: Product Id = 32770 - [1655374218.455628][35023:35028] CHIP:DMG: Product Id = 32771 - [1655374218.455666][35023:35028] CHIP:DMG: Product Id = 32772 - [1655374218.455704][35023:35028] CHIP:DMG: Product Id = 32773 - [1655374218.455742][35023:35028] CHIP:DMG: Product Id = 32774 - [1655374218.455780][35023:35028] CHIP:DMG: Product Id = 32775 - [1655374218.455818][35023:35028] CHIP:DMG: Product Id = 32776 - [1655374218.455855][35023:35028] CHIP:DMG: Product Id = 32777 - [1655374218.455893][35023:35028] CHIP:DMG: Product Id = 32778 - [1655374218.455931][35023:35028] CHIP:DMG: Product Id = 32779 - [1655374218.455969][35023:35028] CHIP:DMG: Product Id = 32780 - [1655374218.456007][35023:35028] CHIP:DMG: Product Id = 32781 - [1655374218.456045][35023:35028] CHIP:DMG: Product Id = 32782 - [1655374218.456082][35023:35028] CHIP:DMG: Product Id = 32783 - [1655374218.456120][35023:35028] CHIP:DMG: Product Id = 32784 - [1655374218.456158][35023:35028] CHIP:DMG: Product Id = 32785 - [1655374218.456196][35023:35028] CHIP:DMG: Product Id = 32786 - [1655374218.456234][35023:35028] CHIP:DMG: Product Id = 32787 - [1655374218.456271][35023:35028] CHIP:DMG: Product Id = 32788 - [1655374218.456309][35023:35028] CHIP:DMG: Product Id = 32789 - [1655374218.456347][35023:35028] CHIP:DMG: Product Id = 32790 - [1655374218.456385][35023:35028] CHIP:DMG: Product Id = 32791 - [1655374218.456423][35023:35028] CHIP:DMG: Product Id = 32792 - [1655374218.456461][35023:35028] CHIP:DMG: Product Id = 32793 - [1655374218.456498][35023:35028] CHIP:DMG: Product Id = 32794 - [1655374218.456536][35023:35028] CHIP:DMG: Product Id = 32795 - [1655374218.456573][35023:35028] CHIP:DMG: Product Id = 32796 - [1655374218.456611][35023:35028] CHIP:DMG: Product Id = 32797 - [1655374218.456649][35023:35028] CHIP:DMG: Product Id = 32798 - [1655374218.456687][35023:35028] CHIP:DMG: Product Id = 32799 - [1655374218.456724][35023:35028] CHIP:DMG: Product Id = 32800 - [1655374218.456761][35023:35028] CHIP:DMG: Product Id = 32801 - [1655374218.456799][35023:35028] CHIP:DMG: Product Id = 32802 - [1655374218.456836][35023:35028] CHIP:DMG: Product Id = 32803 - [1655374218.456874][35023:35028] CHIP:DMG: Product Id = 32804 - [1655374218.456912][35023:35028] CHIP:DMG: Product Id = 32805 - [1655374218.456949][35023:35028] CHIP:DMG: Product Id = 32806 - [1655374218.456987][35023:35028] CHIP:DMG: Product Id = 32807 - [1655374218.457024][35023:35028] CHIP:DMG: Product Id = 32808 - [1655374218.457061][35023:35028] CHIP:DMG: Product Id = 32809 - [1655374218.457099][35023:35028] CHIP:DMG: Product Id = 32810 - [1655374218.457138][35023:35028] CHIP:DMG: Product Id = 32811 - [1655374218.457175][35023:35028] CHIP:DMG: Product Id = 32812 - [1655374218.457212][35023:35028] CHIP:DMG: Product Id = 32813 - [1655374218.457250][35023:35028] CHIP:DMG: Product Id = 32814 - [1655374218.457288][35023:35028] CHIP:DMG: Product Id = 32815 - [1655374218.457326][35023:35028] CHIP:DMG: Product Id = 32816 - [1655374218.457363][35023:35028] CHIP:DMG: Product Id = 32817 - [1655374218.457401][35023:35028] CHIP:DMG: Product Id = 32818 - [1655374218.457439][35023:35028] CHIP:DMG: Product Id = 32819 - [1655374218.457476][35023:35028] CHIP:DMG: Product Id = 32820 - [1655374218.457514][35023:35028] CHIP:DMG: Product Id = 32821 - [1655374218.457552][35023:35028] CHIP:DMG: Product Id = 32822 - [1655374218.457590][35023:35028] CHIP:DMG: Product Id = 32823 - [1655374218.457627][35023:35028] CHIP:DMG: Product Id = 32824 - [1655374218.457665][35023:35028] CHIP:DMG: Product Id = 32825 - [1655374218.457702][35023:35028] CHIP:DMG: Product Id = 32826 - [1655374218.457740][35023:35028] CHIP:DMG: Product Id = 32827 - [1655374218.457777][35023:35028] CHIP:DMG: Product Id = 32828 - [1655374218.457833][35023:35028] CHIP:DMG: Product Id = 32829 - [1655374218.457874][35023:35028] CHIP:DMG: Product Id = 32830 - [1655374218.457912][35023:35028] CHIP:DMG: Product Id = 32831 - [1655374218.457950][35023:35028] CHIP:DMG: Product Id = 32832 - [1655374218.457987][35023:35028] CHIP:DMG: Product Id = 32833 - [1655374218.458026][35023:35028] CHIP:DMG: Product Id = 32834 - [1655374218.458063][35023:35028] CHIP:DMG: Product Id = 32835 - [1655374218.458101][35023:35028] CHIP:DMG: Product Id = 32836 - [1655374218.458139][35023:35028] CHIP:DMG: Product Id = 32837 - [1655374218.458177][35023:35028] CHIP:DMG: Product Id = 32838 - [1655374218.458215][35023:35028] CHIP:DMG: Product Id = 32839 - [1655374218.458253][35023:35028] CHIP:DMG: Product Id = 32840 - [1655374218.458291][35023:35028] CHIP:DMG: Product Id = 32841 - [1655374218.458328][35023:35028] CHIP:DMG: Product Id = 32842 - [1655374218.458366][35023:35028] CHIP:DMG: Product Id = 32843 - [1655374218.458404][35023:35028] CHIP:DMG: Product Id = 32844 - [1655374218.458441][35023:35028] CHIP:DMG: Product Id = 32845 - [1655374218.458480][35023:35028] CHIP:DMG: Product Id = 32846 - [1655374218.458517][35023:35028] CHIP:DMG: Product Id = 32847 - [1655374218.458555][35023:35028] CHIP:DMG: Product Id = 32848 - [1655374218.458592][35023:35028] CHIP:DMG: Product Id = 32849 - [1655374218.458630][35023:35028] CHIP:DMG: Product Id = 32850 - [1655374218.458667][35023:35028] CHIP:DMG: Product Id = 32851 - [1655374218.458706][35023:35028] CHIP:DMG: Product Id = 32852 - [1655374218.458743][35023:35028] CHIP:DMG: Product Id = 32853 - [1655374218.458781][35023:35028] CHIP:DMG: Product Id = 32854 - [1655374218.458818][35023:35028] CHIP:DMG: Product Id = 32855 - [1655374218.458856][35023:35028] CHIP:DMG: Product Id = 32856 - [1655374218.458893][35023:35028] CHIP:DMG: Product Id = 32857 - [1655374218.458932][35023:35028] CHIP:DMG: Product Id = 32858 - [1655374218.458969][35023:35028] CHIP:DMG: Product Id = 32859 - [1655374218.459007][35023:35028] CHIP:DMG: Product Id = 32860 - [1655374218.459045][35023:35028] CHIP:DMG: Product Id = 32861 - [1655374218.459082][35023:35028] CHIP:DMG: Product Id = 32862 - [1655374218.459120][35023:35028] CHIP:DMG: Product Id = 32863 - [1655374218.459159][35023:35028] CHIP:DMG: Product Id = 32864 - [1655374218.459196][35023:35028] CHIP:DMG: Product Id = 32865 - [1655374218.459234][35023:35028] CHIP:DMG: Product Id = 32866 - [1655374218.459271][35023:35028] CHIP:DMG: Product Id = 32867 - [1655374218.459309][35023:35028] CHIP:DMG: } - [1655374218.459347][35023:35028] CHIP:DMG: Device Type Id = 22 - [1655374218.459390][35023:35028] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 - [1655374218.459430][35023:35028] CHIP:DMG: Security Level = 0 - [1655374218.459470][35023:35028] CHIP:DMG: Security Information = 0 - [1655374218.459508][35023:35028] CHIP:DMG: Version Number = 9876 - [1655374218.459546][35023:35028] CHIP:DMG: Certification Type = 0 - [1655374218.459584][35023:35028] CHIP:DMG: } - [1655374218.459627][35023:35028] CHIP:DMG: Attestation Nonce (32) = 762B6B9DA08F7FC63BB693E38634EC6F87CEFF28AB1554A16AD43DCEC24C2466 - [1655374218.459664][35023:35028] CHIP:DMG: Timestamp = 0 - [1655374218.459699][35023:35028] CHIP:DMG: } + DUT sends AttestationRequest Command with AttestationNonce as field to the TH1. + + ./chip-tool operationalcredentials attestation-request hex:F573438E58E445EAB50665023A298E351446F5E5E9493F05F4C63CCC02E1F834 1 0 + + + [1659514429.238042][3458:3464] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1659514429.238161][3458:3464] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 + [1659514429.238282][3458:3464] CHIP:TOO: AttestationResponse: { + [1659514429.238447][3458:3464] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 + [1659514429.238593][3458:3464] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C300220F573438E58E445EAB50665023A298E351446F5E5E9493F05F4C63CCC02E1F83424030018 + [1659514429.238672][3458:3464] CHIP:TOO: signature: 1644376FEC5DE29C92AD9CDF43E0051EA2C46DA93429BEEADDA5C7B74A6EF8ACFB47D8AAD77EBEEDEEFE987639ECCA596E1BBDBD39BF0ED5EE7BACAA7A899CA0 + [1659514429.238756][3458:3464] CHIP:TOO: } disabled: true - label: "TH1 responds to the DUT with an invalid AttestationResponse Command - by setting the following error condition: 1. Commissionee is not yet + by setting the following error condition: Commissionee is not yet certified" verification: | To Execute ths step follow the following @@ -353,6 +91,35 @@ tests: + --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 + + [1658320787.287039][4152:4157] CHIP:CTL: Verifying attestation + [1658320787.292504][4152:4157] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors + [1658320787.292594][4152:4157] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" + [1658320787.292627][4152:4157] CHIP:CTL: Failed to perform commissioning step 8 + [1658320787.292662][4152:4157] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1658320787.292707][4152:4157] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" + [1658320787.292739][4152:4157] CHIP:CTL: Expiring failsafe on proxy 0xffff7c000b60 + disabled: true + + - label: + "Verify that DUT notifies a warning stating that Commissionee is not a + fully trusted device,Verify that the warning contains the information + about the reason for error condition,If the warning message indicates + that Commissioning is allowed then confirm that CSRRequest Command is + sent from DUT to TH1" + PICS: MCORE.DA.ATTEST_WARNING + verification: | + ------>sudo ./chip-all-clusters-app --dac_provide /dec_message.json + + [1658320787.328879][4550:4550] CHIP:SVR: Failsafe timer expired + [1658320787.328962][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: MarkForEviction Type:1 LSID:30683 + [1658320787.329015][4550:4550] CHIP:SC: SecureSession[0xaaaadef5bb00]: Moving from state "kActive" --> "kPendingEviction" + [1658320787.329073][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: Released - Type:1 LSID:30683 + [1658320787.329147][4550:4550] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:71: CHIP Error 0x00000032: Timeout + + + --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 [1658320787.287039][4152:4157] CHIP:CTL: Verifying attestation @@ -377,11 +144,11 @@ tests: - label: "Repeat step 1 to step 7 and for step 5 set different error condition - as below: 1. Commissionees PAA is not in the Commissioners trusted - set. 2. Commissionee provides an invalid DAC and PAI chain as - validated by TH against the RFC5280 certificate Basic path validation - algorithm 3. Commissionee provides DAC with validity period that is - not in range of PAA/PAI" + as below: Commissionees PAA is not in the Commissioners trusted set. + Commissionee provides an invalid DAC and PAI chain as validated by TH + against the RFC5280 certificate Basic path validation algorithm + Commissionee provides DAC with validity period that is not in range of + PAA/PAI" verification: | To Execute ths step for error condition 1 follow the following @@ -428,13 +195,13 @@ tests: - label: "Repeat step 1 to step 7 and for step 5 set different error condition: - 1. Certification Declaration has only one of the following fields - dac_origin_vendor_id dac_origin_product_id 2. vendor_id field in the + Certification Declaration has only one of the following fields + dac_origin_vendor_id dac_origin_product_id vendor_id field in the Certification Declaration does not match with the VendorID attribute - found in the Basic Information cluster 3. The Vendor ID in the DAC - does not match the vendor_id field in the Certification Declaration. - 4. The Product ID (PID) the DAC is not present in the product_id_array - field in the Certification Declaration" + found in the Basic Information cluster The Vendor ID in the DAC does + not match the vendor_id field in the Certification Declaration. The + Product ID (PID) the DAC is not present in the product_id_array field + in the Certification Declaration" verification: | To Execute ths step for error condition 1 follow the following diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml index 88668dc41dc9c5..1ab2e84c96a65e 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_5.yaml @@ -15,6 +15,9 @@ name: 4.1.5. [TC-DA-1.5] NOCSR Procedure Validation [DUT - Commissionee] +PICS: + - MCORE.ROLE.COMMISSIONEE + config: nodeId: 0x12344321 cluster: "Basic" @@ -23,7 +26,7 @@ config: tests: - label: "TH1 fully commissions the DUT" verification: | - sudo ./chip-all-clusters-app --wifi + sudo ./chip-all-clusters-app --wifi --trace_decode 1 Verify in TH log: ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml index 8bab4bafe34f1e..bfd0dbd501c8eb 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml @@ -15,6 +15,9 @@ name: 4.1.6. [TC-DA-1.6] NOCSR Procedure Validation [DUT - Commissioner] +PICS: + - MCORE.ROLE.COMMISSIONER + config: nodeId: 0x12344321 cluster: "Basic" @@ -344,8 +347,3 @@ tests: verification: | verification step to be updated. disabled: true - - - label: "AttestationSignature is not an octet string" - verification: | - verification step to be updated. - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml index f2cc353b906f6a..184b655a32f1bf 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml @@ -15,21 +15,21 @@ name: 4.1.7. [TC-DA-1.7] Validate CertificateChainRequest [DUT-Commissionee] +PICS: + - MCORE.ROLE.COMMISSIONEE + config: nodeId: 0x12344321 cluster: "Basic" endpoint: 0 tests: - - label: - "Pre-Conditions 1. DUT1 and DUT2 Supports Factory Reset Method 2. DUT1 - and DUT2 must have a different subject public key 3. TH1 only has - official PAAs from DCL" + - label: "Pre-Conditions TH only has official PAAs from DCL" verification: | verification step to be updated. disabled: true - - label: "Start the commissioning process of DUT1 by TH on a first Fabric" + - label: "Commission DUT1 to TH fabric" verification: | sudo ./chip-all-clusters-app --wifi @@ -40,7 +40,8 @@ tests: disabled: true - label: - "TH sends CertificateChainRequest Command to DUT1 for both PAI and DAC" + "TH sends CertificateChainRequest Command to DUT1 with the + CertificateType set to PAICertificate" verification: | To get DAC value, send below command. ./chip-tool operationalcredentials certificate-chain-request 1 1 0 @@ -69,9 +70,144 @@ tests: disabled: true - label: - "TH saves PAI certificates. Extract the Authority Key Identifier from - the PAI certificate" + "TH sends CertificateChainRequest Command to DUT1 with the + CertificateType set to DACCertificate" + verification: | + See above + disabled: true + + - label: "TH extracts the Authority Key Identifier from the PAI certificate" verification: | + During commissioning we will get PAI certificate, see in below log: + + [1659415376.883870][2666:2671] CHIP:CTL: Performing next commissioning step "SendPAICertificateRequest" + [1659415376.883925][2666:2671] CHIP:CTL: Sending request for PAI certificate + [1659415376.884015][2666:2671] CHIP:CTL: Sending Certificate Chain request to 0xffffa0000b60 device + [1659415376.884167][2666:2671] CHIP:DMG: ICR moving to [AddingComm] + [1659415376.884302][2666:2671] CHIP:DMG: ICR moving to [AddedComma] + [1659415376.884867][2666:2671] CHIP:IN: Prepared secure message 0xffffb37ec8d8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 61632i with MessageCounter:72933899. + [1659415376.884965][2666:2671] CHIP:IN: Sending encrypted msg 0xffffb37ec8d8 with MessageCounter:72933899 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000161D55 msec + [1659415376.885796][2666:2671] CHIP:DMG: >> to BLE | 72933899 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 384 / Exchange = 61632] + [1659415376.885890][2666:2671] CHIP:DMG: Header Flags = + [1659415376.885944][2666:2671] CHIP:DMG: { + [1659415376.886028][2666:2671] CHIP:DMG: Exchange (0x01) = + [1659415376.886081][2666:2671] CHIP:DMG: { + [1659415376.886154][2666:2671] CHIP:DMG: Initiator = true + [1659415376.886206][2666:2671] CHIP:DMG: } + [1659415376.886296][2666:2671] CHIP:DMG: } + [1659415376.886350][2666:2671] CHIP:DMG: + [1659415376.886438][2666:2671] CHIP:DMG: Encrypted Payload (62 bytes) = + [1659415376.886492][2666:2671] CHIP:DMG: { + [1659415376.886542][2666:2671] CHIP:DMG: data = 008001000be258046e751fb56b97dabcc7ee6b6611ede33a66461e188834bb1fe5b6332edb4a3896d32bce2eb59dee722e070c4426af77c82dfca14619bb + [1659415376.886616][2666:2671] CHIP:DMG: buffer_ptr = 281473366182720 + [1659415376.886666][2666:2671] CHIP:DMG: } + [1659415376.886714][2666:2671] CHIP:DMG: + [1659415376.886900][2666:2671] CHIP:DMG: InvokeRequestMessage = + [1659415376.886962][2666:2671] CHIP:DMG: { + [1659415376.887039][2666:2671] CHIP:DMG: suppressResponse = false, + [1659415376.887103][2666:2671] CHIP:DMG: timedRequest = false, + [1659415376.887162][2666:2671] CHIP:DMG: InvokeRequests = + [1659415376.887234][2666:2671] CHIP:DMG: [ + [1659415376.887312][2666:2671] CHIP:DMG: CommandDataIB = + [1659415376.887380][2666:2671] CHIP:DMG: { + [1659415376.887442][2666:2671] CHIP:DMG: CommandPathIB = + [1659415376.887538][2666:2671] CHIP:DMG: { + [1659415376.887633][2666:2671] CHIP:DMG: EndpointId = 0x0, + [1659415376.887874][2666:2671] CHIP:DMG: ClusterId = 0x3e, + [1659415376.888039][2666:2671] CHIP:DMG: CommandId = 0x2, + [1659415376.888125][2666:2671] CHIP:DMG: }, + [1659415376.888225][2666:2671] CHIP:DMG: + [1659415376.888289][2666:2671] CHIP:DMG: CommandFields = + [1659415376.888384][2666:2671] CHIP:DMG: { + [1659415376.888478][2666:2671] CHIP:DMG: 0x0 = 2, + [1659415376.888560][2666:2671] CHIP:DMG: }, + [1659415376.888655][2666:2671] CHIP:DMG: }, + [1659415376.888728][2666:2671] CHIP:DMG: + [1659415376.888806][2666:2671] CHIP:DMG: ], + [1659415376.888877][2666:2671] CHIP:DMG: + [1659415376.888955][2666:2671] CHIP:DMG: InteractionModelRevision = 1 + [1659415376.889012][2666:2671] CHIP:DMG: }, + [1659415376.889086][2666:2671] CHIP:DMG: + [1659415376.889368][2666:2671] CHIP:DMG: ICR moving to [CommandSen] + [1659415376.889523][2666:2671] CHIP:DMG: ICR moving to [AwaitingDe] + [1659415376.972895][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1659415377.021227][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.021488][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.122119][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.122505][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.217641][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.217905][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.219135][2666:2671] CHIP:DMG: << from BLE | 199585160 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 46479 / Exchange = 61632] + [1659415377.219238][2666:2671] CHIP:DMG: Header Flags = + [1659415377.219295][2666:2671] CHIP:DMG: { + [1659415377.219391][2666:2671] CHIP:DMG: } + [1659415377.219446][2666:2671] CHIP:DMG: + [1659415377.219518][2666:2671] CHIP:DMG: Encrypted Payload (527 bytes) = + [1659415377.219573][2666:2671] CHIP:DMG: { + [1659415377.219626][2666:2671] CHIP:DMG: data = 008fb500886de50b9dd1c80f8f48187dc9457d6066ed57c1f15550aefb6a675573c3fcff99cc266b26bdbd97c5ac460ff50e513fd8ef02f39294c2e79b507b0d7b6342caea806048b1c64804aae7bb9d4cdb04d4c7c4d345788e332256c05e7ea38eddd7693e4a39cdfe625688f0101cf16af6f5281049b25e47e6931b06c832d9a014a8248d7cfe31d8b75ebb7805b511293591caa108030939b43b951ad2a164692b051201f9c777e769b9632f05b94bc1990718ec3d2e0fa0161da28ec39bc51017c519e994e9fbbc68693e86ae9fa72618a5a0bc9a133e919bf61ca0805a90a09807c5c4b88329bd1d99149788c5464650dc3b7223e11f4d5a487c0b589453f725b035b543b0159801bee756dcd835832af45402931d73f4977371c90a3fd406905b278fefccf607e0699cac0b082d062b563f17d6e9438720a885f6b5d0dd035d652fd9b88790b1e79995030977f4423139eff3d2e36915065474ea1996705bd63b40395344e402c191e54c1c136c4daa31040ea09cc39c5804dd4203763d05e30d2cfd50ed84e12fd01ecf9c49a4bf7fe73c13416af1cc8bed4f5f2e8919f5724d698990115f97c08f43f9dd463883b53d09e6f888ac8a8d8ba91bd65b242ae049cccd4af6fdcfa402877ba10fb560008d07054deb1e9f1a39fd9110930e1e620fc64f999255a52f8064dc1c83fe6aa35de56c44850e932c82919c1f1af174afa75f3ef77c8b08fcace33883 + [1659415377.219729][2666:2671] CHIP:DMG: buffer_ptr = 281473366176768 + [1659415377.219780][2666:2671] CHIP:DMG: } + [1659415377.219830][2666:2671] CHIP:DMG: + [1659415377.220104][2666:2671] CHIP:DMG: DAC/PAI (463) = + [1659415377.220220][2666:2671] CHIP:DMG: { + -----BEGIN CERTIFICATE----- + MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP + TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw + MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ + QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO + PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU + xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E + CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk + YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI + zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl + Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== + -----END CERTIFICATE----- + [1659415377.220439][2666:2671] CHIP:DMG: } + [1659415377.220490][2666:2671] CHIP:DMG: + [1659415377.220553][2666:2671] CHIP:DMG: + [1659415377.220635][2666:2671] CHIP:DMG: Additional Fields = + [1659415377.220689][2666:2671] CHIP:DMG: { + [1659415377.220748][2666:2671] CHIP:DMG: peer_address = BLE + [1659415377.220801][2666:2671] CHIP:DMG: } + [1659415377.220850][2666:2671] CHIP:DMG: + [1659415377.220914][2666:2671] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:199585160 on exchange 61632i + [1659415377.220977][2666:2671] CHIP:EM: Found matching exchange: 61632i, Delegate: 0xffffa803c898 + [1659415377.221071][2666:2671] CHIP:DMG: ICR moving to [ResponseRe] + [1659415377.221162][2666:2671] CHIP:DMG: InvokeResponseMessage = + [1659415377.221222][2666:2671] CHIP:DMG: { + [1659415377.221279][2666:2671] CHIP:DMG: suppressResponse = false, + [1659415377.221339][2666:2671] CHIP:DMG: InvokeResponseIBs = + [1659415377.221413][2666:2671] CHIP:DMG: [ + [1659415377.221473][2666:2671] CHIP:DMG: InvokeResponseIB = + [1659415377.221551][2666:2671] CHIP:DMG: { + [1659415377.221615][2666:2671] CHIP:DMG: CommandDataIB = + [1659415377.221691][2666:2671] CHIP:DMG: { + [1659415377.221764][2666:2671] CHIP:DMG: CommandPathIB = + [1659415377.221855][2666:2671] CHIP:DMG: { + [1659415377.221949][2666:2671] CHIP:DMG: EndpointId = 0x0, + [1659415377.222037][2666:2671] CHIP:DMG: ClusterId = 0x3e, + [1659415377.222125][2666:2671] CHIP:DMG: CommandId = 0x3, + [1659415377.222216][2666:2671] CHIP:DMG: }, + [1659415377.222303][2666:2671] CHIP:DMG: + [1659415377.222377][2666:2671] CHIP:DMG: CommandFields = + [1659415377.222476][2666:2671] CHIP:DMG: { + [1659415377.222570][2666:2671] CHIP:DMG: 0x0 = [ + [1659415377.222896][2666:2671] CHIP:DMG: 0x30, 0x82, 0x1, 0xcb, 0x30, 0x82, 0x1, 0x71, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x56, 0xad, 0x82, 0x22, 0xad, 0x94, 0x5b, 0x64, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0xf, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0xd, 0x32, 0x32, 0x30, 0x32, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x18, 0xf, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x3d, 0x31, 0x25, 0x30, 0x23, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x1c, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x20, 0x50, 0x41, 0x49, 0x20, 0x30, 0x78, 0x46, 0x46, 0x46, 0x31, 0x20, 0x6e, 0x6f, 0x20, 0x50, 0x49, 0x44, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x41, 0x9a, 0x93, 0x15, 0xc2, 0x17, 0x3e, 0xc, 0x8c, 0x87, 0x6d, 0x3, 0xcc, 0xfc, 0x94, 0x48, 0x52, 0x64, 0x7f, 0x7f, 0xec, 0x5e, 0x50, 0x82, 0xf4, 0x5, 0x99, 0x28, 0xec, 0xa8, 0x94, 0xc5, 0x94, 0x15, 0x13, 0x9, 0xac, 0x63, 0x1e, 0x4c, 0xb0, 0x33, 0x92, 0xaf, 0x68, 0x4b, 0xb, 0xaf, 0xb7, 0xe6, 0x5b, 0x3b, 0x81, 0x62, 0xc2, 0xf5, 0x2b, 0xf9, 0x31, 0xb8, 0xe7, 0x7a, 0xaa, 0x82, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x8, 0x30, 0x6, 0x1, 0x1, 0xff, 0x2, 0x1, + [1659415377.223073][2666:2671] CHIP:DMG: ] (463 bytes) + [1659415377.223156][2666:2671] CHIP:DMG: }, + [1659415377.223230][2666:2671] CHIP:DMG: }, + [1659415377.223312][2666:2671] CHIP:DMG: + [1659415377.223374][2666:2671] CHIP:DMG: }, + [1659415377.223448][2666:2671] CHIP:DMG: + [1659415377.223505][2666:2671] CHIP:DMG: ], + [1659415377.223579][2666:2671] CHIP:DMG: + [1659415377.223637][2666:2671] CHIP:DMG: InteractionModelRevision = 1 + [1659415377.223694][2666:2671] CHIP:DMG: }, + [1659415377.223832][2666:2671] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1659415377.223908][2666:2671] CHIP:CTL: Received certificate chain from the device + [1659415377.224018][2666:2671] CHIP:CTL: Successfully finished commissioning step "SendPAICertificateRequest" + + 1. Save the PAI value from commissioning log of TH in the file as below vi pai_6.pem @@ -135,7 +271,7 @@ tests: -----END CERTIFICATE----- disabled: true - - label: "Repeat Step 1 to 4 with DUT2" + - label: "TH extracts the public key from the DAC and saves as pk_1" verification: | To commission DUT2 to TH @@ -169,6 +305,136 @@ tests: [1657774756.281388][7964:7969] CHIP:TOO: } + During commissioning we will get PAI certificate, see in below log: + + [1659415376.883870][2666:2671] CHIP:CTL: Performing next commissioning step "SendPAICertificateRequest" + [1659415376.883925][2666:2671] CHIP:CTL: Sending request for PAI certificate + [1659415376.884015][2666:2671] CHIP:CTL: Sending Certificate Chain request to 0xffffa0000b60 device + [1659415376.884167][2666:2671] CHIP:DMG: ICR moving to [AddingComm] + [1659415376.884302][2666:2671] CHIP:DMG: ICR moving to [AddedComma] + [1659415376.884867][2666:2671] CHIP:IN: Prepared secure message 0xffffb37ec8d8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 61632i with MessageCounter:72933899. + [1659415376.884965][2666:2671] CHIP:IN: Sending encrypted msg 0xffffb37ec8d8 with MessageCounter:72933899 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000161D55 msec + [1659415376.885796][2666:2671] CHIP:DMG: >> to BLE | 72933899 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 384 / Exchange = 61632] + [1659415376.885890][2666:2671] CHIP:DMG: Header Flags = + [1659415376.885944][2666:2671] CHIP:DMG: { + [1659415376.886028][2666:2671] CHIP:DMG: Exchange (0x01) = + [1659415376.886081][2666:2671] CHIP:DMG: { + [1659415376.886154][2666:2671] CHIP:DMG: Initiator = true + [1659415376.886206][2666:2671] CHIP:DMG: } + [1659415376.886296][2666:2671] CHIP:DMG: } + [1659415376.886350][2666:2671] CHIP:DMG: + [1659415376.886438][2666:2671] CHIP:DMG: Encrypted Payload (62 bytes) = + [1659415376.886492][2666:2671] CHIP:DMG: { + [1659415376.886542][2666:2671] CHIP:DMG: data = 008001000be258046e751fb56b97dabcc7ee6b6611ede33a66461e188834bb1fe5b6332edb4a3896d32bce2eb59dee722e070c4426af77c82dfca14619bb + [1659415376.886616][2666:2671] CHIP:DMG: buffer_ptr = 281473366182720 + [1659415376.886666][2666:2671] CHIP:DMG: } + [1659415376.886714][2666:2671] CHIP:DMG: + [1659415376.886900][2666:2671] CHIP:DMG: InvokeRequestMessage = + [1659415376.886962][2666:2671] CHIP:DMG: { + [1659415376.887039][2666:2671] CHIP:DMG: suppressResponse = false, + [1659415376.887103][2666:2671] CHIP:DMG: timedRequest = false, + [1659415376.887162][2666:2671] CHIP:DMG: InvokeRequests = + [1659415376.887234][2666:2671] CHIP:DMG: [ + [1659415376.887312][2666:2671] CHIP:DMG: CommandDataIB = + [1659415376.887380][2666:2671] CHIP:DMG: { + [1659415376.887442][2666:2671] CHIP:DMG: CommandPathIB = + [1659415376.887538][2666:2671] CHIP:DMG: { + [1659415376.887633][2666:2671] CHIP:DMG: EndpointId = 0x0, + [1659415376.887874][2666:2671] CHIP:DMG: ClusterId = 0x3e, + [1659415376.888039][2666:2671] CHIP:DMG: CommandId = 0x2, + [1659415376.888125][2666:2671] CHIP:DMG: }, + [1659415376.888225][2666:2671] CHIP:DMG: + [1659415376.888289][2666:2671] CHIP:DMG: CommandFields = + [1659415376.888384][2666:2671] CHIP:DMG: { + [1659415376.888478][2666:2671] CHIP:DMG: 0x0 = 2, + [1659415376.888560][2666:2671] CHIP:DMG: }, + [1659415376.888655][2666:2671] CHIP:DMG: }, + [1659415376.888728][2666:2671] CHIP:DMG: + [1659415376.888806][2666:2671] CHIP:DMG: ], + [1659415376.888877][2666:2671] CHIP:DMG: + [1659415376.888955][2666:2671] CHIP:DMG: InteractionModelRevision = 1 + [1659415376.889012][2666:2671] CHIP:DMG: }, + [1659415376.889086][2666:2671] CHIP:DMG: + [1659415376.889368][2666:2671] CHIP:DMG: ICR moving to [CommandSen] + [1659415376.889523][2666:2671] CHIP:DMG: ICR moving to [AwaitingDe] + [1659415376.972895][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1659415377.021227][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.021488][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.122119][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.122505][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.217641][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 + [1659415377.217905][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1659415377.219135][2666:2671] CHIP:DMG: << from BLE | 199585160 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 46479 / Exchange = 61632] + [1659415377.219238][2666:2671] CHIP:DMG: Header Flags = + [1659415377.219295][2666:2671] CHIP:DMG: { + [1659415377.219391][2666:2671] CHIP:DMG: } + [1659415377.219446][2666:2671] CHIP:DMG: + [1659415377.219518][2666:2671] CHIP:DMG: Encrypted Payload (527 bytes) = + [1659415377.219573][2666:2671] CHIP:DMG: { + [1659415377.219626][2666:2671] CHIP:DMG: data = 008fb500886de50b9dd1c80f8f48187dc9457d6066ed57c1f15550aefb6a675573c3fcff99cc266b26bdbd97c5ac460ff50e513fd8ef02f39294c2e79b507b0d7b6342caea806048b1c64804aae7bb9d4cdb04d4c7c4d345788e332256c05e7ea38eddd7693e4a39cdfe625688f0101cf16af6f5281049b25e47e6931b06c832d9a014a8248d7cfe31d8b75ebb7805b511293591caa108030939b43b951ad2a164692b051201f9c777e769b9632f05b94bc1990718ec3d2e0fa0161da28ec39bc51017c519e994e9fbbc68693e86ae9fa72618a5a0bc9a133e919bf61ca0805a90a09807c5c4b88329bd1d99149788c5464650dc3b7223e11f4d5a487c0b589453f725b035b543b0159801bee756dcd835832af45402931d73f4977371c90a3fd406905b278fefccf607e0699cac0b082d062b563f17d6e9438720a885f6b5d0dd035d652fd9b88790b1e79995030977f4423139eff3d2e36915065474ea1996705bd63b40395344e402c191e54c1c136c4daa31040ea09cc39c5804dd4203763d05e30d2cfd50ed84e12fd01ecf9c49a4bf7fe73c13416af1cc8bed4f5f2e8919f5724d698990115f97c08f43f9dd463883b53d09e6f888ac8a8d8ba91bd65b242ae049cccd4af6fdcfa402877ba10fb560008d07054deb1e9f1a39fd9110930e1e620fc64f999255a52f8064dc1c83fe6aa35de56c44850e932c82919c1f1af174afa75f3ef77c8b08fcace33883 + [1659415377.219729][2666:2671] CHIP:DMG: buffer_ptr = 281473366176768 + [1659415377.219780][2666:2671] CHIP:DMG: } + [1659415377.219830][2666:2671] CHIP:DMG: + [1659415377.220104][2666:2671] CHIP:DMG: DAC/PAI (463) = + [1659415377.220220][2666:2671] CHIP:DMG: { + -----BEGIN CERTIFICATE----- + MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP + TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw + MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ + QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO + PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU + xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E + CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk + YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI + zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl + Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== + -----END CERTIFICATE----- + [1659415377.220439][2666:2671] CHIP:DMG: } + [1659415377.220490][2666:2671] CHIP:DMG: + [1659415377.220553][2666:2671] CHIP:DMG: + [1659415377.220635][2666:2671] CHIP:DMG: Additional Fields = + [1659415377.220689][2666:2671] CHIP:DMG: { + [1659415377.220748][2666:2671] CHIP:DMG: peer_address = BLE + [1659415377.220801][2666:2671] CHIP:DMG: } + [1659415377.220850][2666:2671] CHIP:DMG: + [1659415377.220914][2666:2671] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:199585160 on exchange 61632i + [1659415377.220977][2666:2671] CHIP:EM: Found matching exchange: 61632i, Delegate: 0xffffa803c898 + [1659415377.221071][2666:2671] CHIP:DMG: ICR moving to [ResponseRe] + [1659415377.221162][2666:2671] CHIP:DMG: InvokeResponseMessage = + [1659415377.221222][2666:2671] CHIP:DMG: { + [1659415377.221279][2666:2671] CHIP:DMG: suppressResponse = false, + [1659415377.221339][2666:2671] CHIP:DMG: InvokeResponseIBs = + [1659415377.221413][2666:2671] CHIP:DMG: [ + [1659415377.221473][2666:2671] CHIP:DMG: InvokeResponseIB = + [1659415377.221551][2666:2671] CHIP:DMG: { + [1659415377.221615][2666:2671] CHIP:DMG: CommandDataIB = + [1659415377.221691][2666:2671] CHIP:DMG: { + [1659415377.221764][2666:2671] CHIP:DMG: CommandPathIB = + [1659415377.221855][2666:2671] CHIP:DMG: { + [1659415377.221949][2666:2671] CHIP:DMG: EndpointId = 0x0, + [1659415377.222037][2666:2671] CHIP:DMG: ClusterId = 0x3e, + [1659415377.222125][2666:2671] CHIP:DMG: CommandId = 0x3, + [1659415377.222216][2666:2671] CHIP:DMG: }, + [1659415377.222303][2666:2671] CHIP:DMG: + [1659415377.222377][2666:2671] CHIP:DMG: CommandFields = + [1659415377.222476][2666:2671] CHIP:DMG: { + [1659415377.222570][2666:2671] CHIP:DMG: 0x0 = [ + [1659415377.222896][2666:2671] CHIP:DMG: 0x30, 0x82, 0x1, 0xcb, 0x30, 0x82, 0x1, 0x71, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x56, 0xad, 0x82, 0x22, 0xad, 0x94, 0x5b, 0x64, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0xf, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0xd, 0x32, 0x32, 0x30, 0x32, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x18, 0xf, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x3d, 0x31, 0x25, 0x30, 0x23, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x1c, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x20, 0x50, 0x41, 0x49, 0x20, 0x30, 0x78, 0x46, 0x46, 0x46, 0x31, 0x20, 0x6e, 0x6f, 0x20, 0x50, 0x49, 0x44, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x41, 0x9a, 0x93, 0x15, 0xc2, 0x17, 0x3e, 0xc, 0x8c, 0x87, 0x6d, 0x3, 0xcc, 0xfc, 0x94, 0x48, 0x52, 0x64, 0x7f, 0x7f, 0xec, 0x5e, 0x50, 0x82, 0xf4, 0x5, 0x99, 0x28, 0xec, 0xa8, 0x94, 0xc5, 0x94, 0x15, 0x13, 0x9, 0xac, 0x63, 0x1e, 0x4c, 0xb0, 0x33, 0x92, 0xaf, 0x68, 0x4b, 0xb, 0xaf, 0xb7, 0xe6, 0x5b, 0x3b, 0x81, 0x62, 0xc2, 0xf5, 0x2b, 0xf9, 0x31, 0xb8, 0xe7, 0x7a, 0xaa, 0x82, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x8, 0x30, 0x6, 0x1, 0x1, 0xff, 0x2, 0x1, + [1659415377.223073][2666:2671] CHIP:DMG: ] (463 bytes) + [1659415377.223156][2666:2671] CHIP:DMG: }, + [1659415377.223230][2666:2671] CHIP:DMG: }, + [1659415377.223312][2666:2671] CHIP:DMG: + [1659415377.223374][2666:2671] CHIP:DMG: }, + [1659415377.223448][2666:2671] CHIP:DMG: + [1659415377.223505][2666:2671] CHIP:DMG: ], + [1659415377.223579][2666:2671] CHIP:DMG: + [1659415377.223637][2666:2671] CHIP:DMG: InteractionModelRevision = 1 + [1659415377.223694][2666:2671] CHIP:DMG: }, + [1659415377.223832][2666:2671] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1659415377.223908][2666:2671] CHIP:CTL: Received certificate chain from the device + [1659415377.224018][2666:2671] CHIP:CTL: Successfully finished commissioning step "SendPAICertificateRequest" + + "1. Save the PAI value from commissioning log of TH in the file as below vi pai_6.pem @@ -227,3 +493,10 @@ tests: i+oDPOUDAiAlVJQ75X1T1sR199I+v8/CA2zSm6Y5PsfvrYcUq3GCGQ== -----END CERTIFICATE----- disabled: true + + - label: + "Repeat Step 1 to 4 with DUT2, saving the PAI, DAC and public key as + pk_2" + verification: | + verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml index f2b6606fc1ce17..aed1b7b83d150b 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml @@ -17,10 +17,6 @@ name: 3.1.5. [TC-DD-1.5] NFC Rules of Advertisement and Onboarding [DUT - Commissionee] -PICS: - - MCORE.ROLE.COMMISSIONEE - - MCORE.DD.NFC - config: nodeId: 0x12344321 cluster: "Basic" @@ -30,6 +26,7 @@ tests: - label: "Keep the DUT in packaging and bring in TH NFC scanner close to the DUT packaging." + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true @@ -38,6 +35,7 @@ tests: "Unpack DUT from its packaging, make sure DUT is not powered on and do not put the DUT in pairing mode. Bring in TH NFC scanner close to the DUTs NFC tag" + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true @@ -45,7 +43,7 @@ tests: - label: "Power on DUT and do not put the DUT in pairing mode. Bring in TH NFC scanner close to the DUTs NFC tag" - PICS: MCORE.DD.PHYSICAL_TAMPERING + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true @@ -59,13 +57,13 @@ tests: - label: "Power on DUT and put the DUT in pairing mode. Bring in TH NFC scanner close to NFC tag" - PICS: MCORE.DD.PHYSICAL_TAMPERING + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true - label: "Power on DUT. Bring in NFC scanner close to NFC tag" - PICS: MCORE.DD.PHYSICAL_TAMPERING + PICS: MCORE.DD.PHYSICAL_TAMPERING && MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true @@ -95,6 +93,7 @@ tests: disabled: true - label: "Using TH NFC scanner - read NFC tag Reader type" + PICS: MCORE.DD.SCAN_NFC verification: | Vendor specific field verification disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml index aefc6526395346..222d0e6cd0366f 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml @@ -15,6 +15,9 @@ name: 50.1.1. [TC-DGTHREAD-1.1] Global Attributes [DUT-Server] +PICS: + - DGTHREAD.S + config: nodeId: 0x12344321 cluster: "Basic" @@ -28,9 +31,9 @@ tests: - label: "TH reads the ClusterRevision from DUT" verification: | - ./chip-tool threadnetworkdiagnostics read cluster-revision 65 0 + ./chip-tool threadnetworkdiagnostics read cluster-revision 54 0 - Verify on the TH Log: + Verify ClusterRevision: 1 on the TH Log: [1649747941.607337][9541:9546] CHIP:DMG: SuppressResponse = true, [1649747941.607399][9541:9546] CHIP:DMG: InteractionModelRevision = 1 @@ -41,9 +44,9 @@ tests: - label: "TH reads the FeatureMap from DUT" verification: | - ./chip-tool threadnetworkdiagnostics read feature-map 65 0 + ./chip-tool threadnetworkdiagnostics read feature-map 54 0 - Verify on the TH Log: + Verify FeatureMap: 15 on the TH Log: [1649747973.385016][9548:9553] CHIP:DMG: SuppressResponse = true, [1649747973.385080][9548:9553] CHIP:DMG: InteractionModelRevision = 1 @@ -54,9 +57,9 @@ tests: - label: "TH reads AttributeList from DUT" verification: | - ./chip-tool threadnetworkdiagnostics read attribute-list 65 0 + ./chip-tool threadnetworkdiagnostics read attribute-list 54 0 - Verify on the TH Log: + Verify AttributeList on the TH Log: [1649748119.656589][9559:9564] CHIP:DMG: SuppressResponse = true, [1649748119.656616][9559:9564] CHIP:DMG: InteractionModelRevision = 1 @@ -140,9 +143,9 @@ tests: - label: "TH reads AcceptedCommandList from DUT" verification: | - /chip-tool threadnetworkdiagnostics read accepted-command-list 65 0 + ./chip-tool threadnetworkdiagnostics read accepted-command-list 54 0 - Verify on the TH Log: + Verify AcceptedCommandList: 1 entries on the TH Log: [1649748231.835572][9579:9584] CHIP:DMG: SuppressResponse = true, [1649748231.835633][9579:9584] CHIP:DMG: InteractionModelRevision = 1 @@ -154,9 +157,9 @@ tests: - label: "TH reads GeneratedCommandList from DUT" verification: | - ./chip-tool threadnetworkdiagnostics read generated-command-list 65 0 + ./chip-tool threadnetworkdiagnostics read generated-command-list 54 0 - Verify on the TH Log: + Verify GeneratedCommandList: 0 entries on the TH Log: [1649748201.118100][9570:9575] CHIP:DMG: SuppressResponse = true, [1649748201.118163][9570:9575] CHIP:DMG: InteractionModelRevision = 1 diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml index a85e5343f03a54..2842f2e45499e9 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml @@ -14,8 +14,11 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 3.2.1. [TC-OPCREDS-3.1] Attribute-NOCs, TrustedRootCertificates list - validation [DUT-Commissionee] + 12.3.1. [TC-OPCREDS-3.1] Attribute-NOCs, TrustedRootCertificates list + validation [DUT-Server] + +PICS: + - OPCREDS.S config: nodeId: 0x12344321 @@ -27,12 +30,6 @@ tests: "Factory Reset DUT (to ensure NOC list is empty at the beginning of the following steps)" PICS: OPCREDS.S.A0000 - verification: | - On both DUT and TH side - sudo rm -rf /tmp/chip_* - disabled: true - - - label: "Start the commissioning process DUT by TH1 on a first Fabric" verification: | DUT side: sudo ./chip-all-clusters-app --wifi @@ -43,68 +40,12 @@ tests: [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success disabled: true - - label: "TH1 sends AttestationRequest command to DUT" - PICS: OPCREDS.S.C00.Rsp - verification: | - Verify in TH log during commissioning - [1655468538.157845][13015:13020] CHIP:CTL: Sending Attestation Request to the device. - [1655468538.157895][13015:13020] CHIP:CTL: Sending Attestation request to 0xffff8c000b60 device - [1655468538.158012][13015:13020] CHIP:DMG: ICR moving to [AddingComm] - [1655468538.158085][13015:13020] CHIP:DMG: ICR moving to [AddedComma] - [1655468538.158597][13015:13020] CHIP:IN: Prepared secure message 0xffff967cc958 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 10360i with MessageCounter:149163721. - [1655468538.158702][13015:13020] CHIP:IN: Sending encrypted msg 0xffff967cc958 with MessageCounter:149163721 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000017BF667 msec - [1655468538.159191][13015:13020] CHIP:DMG: >> to BLE | 149163721 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 60420 / Exchange = 10360] - [1655468538.159385][13015:13020] CHIP:DMG: Header Flags = - [1655468538.159446][13015:13020] CHIP:DMG: { - [1655468538.159533][13015:13020] CHIP:DMG: Exchange (0x01) = - [1655468538.159588][13015:13020] CHIP:DMG: { - [1655468538.159637][13015:13020] CHIP:DMG: Initiator = true - [1655468538.159689][13015:13020] CHIP:DMG: } - [1655468538.159759][13015:13020] CHIP:DMG: } - [1655468538.159814][13015:13020] CHIP:DMG: - [1655468538.159883][13015:13020] CHIP:DMG: Encrypted Payload (94 bytes) = - [1655468538.159937][13015:13020] CHIP:DMG: { - [1655468538.159990][13015:13020] CHIP:DMG: data = 0004ec00c90ee4087fc3ac4bd5a116fd361c5e04d88e4ce91c073c8496372c14c0b23b692dd6a21874ee111e9f4a5c1ab993473d7b884f693cc74908a8068f3b6e96f060d668b364df9b7e190c271800cea785354ed9ebcfe86fd770baa8 - [1655468538.160046][13015:13020] CHIP:DMG: buffer_ptr = 281473030640128 - [1655468538.160097][13015:13020] CHIP:DMG: } - [1655468538.160147][13015:13020] CHIP:DMG: - [1655468538.160306][13015:13020] CHIP:DMG: InvokeRequestMessage = - [1655468538.160351][13015:13020] CHIP:DMG: { - [1655468538.160374][13015:13020] CHIP:DMG: suppressResponse = false, - [1655468538.160400][13015:13020] CHIP:DMG: timedRequest = false, - [1655468538.160424][13015:13020] CHIP:DMG: InvokeRequests = - [1655468538.160465][13015:13020] CHIP:DMG: [ - [1655468538.160491][13015:13020] CHIP:DMG: CommandDataIB = - [1655468538.160521][13015:13020] CHIP:DMG: { - [1655468538.160546][13015:13020] CHIP:DMG: CommandPathIB = - [1655468538.160578][13015:13020] CHIP:DMG: { - [1655468538.160610][13015:13020] CHIP:DMG: EndpointId = 0x0, - [1655468538.160646][13015:13020] CHIP:DMG: ClusterId = 0x3e, - [1655468538.160680][13015:13020] CHIP:DMG: CommandId = 0x0, - [1655468538.160714][13015:13020] CHIP:DMG: }, - [1655468538.160747][13015:13020] CHIP:DMG: - [1655468538.160774][13015:13020] CHIP:DMG: CommandFields = - [1655468538.160803][13015:13020] CHIP:DMG: { - [1655468538.160836][13015:13020] CHIP:DMG: 0x0 = [ - [1655468538.160880][13015:13020] CHIP:DMG: 0x2d, 0x5c, 0x2e, 0x70, 0x51, 0x5a, 0x8d, 0x82, 0x61, 0x5, 0xca, 0xec, 0xd1, 0x2a, 0xec, 0x32, 0xa8, 0xdc, 0xc9, 0x4, 0x44, 0x4c, 0x87, 0x55, 0xf, 0x86, 0xd6, 0xaa, 0x41, 0x70, 0xa1, 0x4a, - [1655468538.160916][13015:13020] CHIP:DMG: ] - [1655468538.160946][13015:13020] CHIP:DMG: }, - [1655468538.160976][13015:13020] CHIP:DMG: }, - [1655468538.161005][13015:13020] CHIP:DMG: - [1655468538.161029][13015:13020] CHIP:DMG: ], - [1655468538.161058][13015:13020] CHIP:DMG: - [1655468538.161082][13015:13020] CHIP:DMG: InteractionModelRevision = 1 - [1655468538.161105][13015:13020] CHIP:DMG: }, - [1655468538.161128][13015:13020] CHIP:DMG: - [1655468538.161273][13015:13020] CHIP:DMG: ICR moving to [CommandSen] - [1655468538.161310][13015:13020] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information - disabled: true - - - label: "TH1 sends ArmFailSafe command to the DUT" - PICS: CGEN.S.C00.Rsp + - label: "Start the commissioning process of DUT by TH1 on a first Fabric" verification: | ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + Verify the ErrorCode as "OK"(0) in TH log + [1655469679.636495][13173:13178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1655469679.636600][13173:13178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1655469679.636738][13173:13178] CHIP:TOO: ArmFailSafeResponse: { @@ -114,675 +55,681 @@ tests: disabled: true - label: - "TH1 sends CertificateChainRequest Command to DUT for both PAI and DAC" - PICS: OPCREDS.S.C02.Rsp + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - Verify TH log during commissioning + ./chip-tool generalcommissioning set-regulatory-config 0 new 0 1 0 + + Verify the ErrorCode as SUCCESS in TH Log - [1655468537.763350][13015:13020] CHIP:DMG: DAC/PAI (463) = - [1655468537.763466][13015:13020] CHIP:DMG: { - -----BEGIN CERTIFICATE----- - MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP - TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw - MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ - QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO - PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU - xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E - CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk - YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI - zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl - Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== - -----END CERTIFICATE----- + [1658223287.237009][5570:5575] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0003 + [1658223287.237060][5570:5575] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0003 + [1658223287.237122][5570:5575] CHIP:TOO: SetRegulatoryConfigResponse: { + [1658223287.237159][5570:5575] CHIP:TOO: errorCode: 0 + [1658223287.237183][5570:5575] CHIP:TOO: debugText: + [1658223287.237205][5570:5575] CHIP:TOO: } disabled: true - - label: "TH1 saves DAC and the PAI certificates." + - label: "TH1 sends SetRegulatoryConfig command to the DUT" + PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx verification: | - Verify below data is less or equal to 600 bytes + To get attestation nonce give below command + echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) + + + ./chip-tool operationalcredentials attestation-request hex:3577CA6EFFFC560E287604663AE5BE2F11D1B1CF99BE326AF5B3B114A2E91395 1 0 - MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP - TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw - MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ - QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO - PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU - xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E - CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk - YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI - zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl - Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== + Verify attestation response in TH Log + + [1658223434.718871][5712:5717] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1658223434.718921][5712:5717] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 + [1658223434.718981][5712:5717] CHIP:TOO: AttestationResponse: { + [1658223434.719026][5712:5717] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 + [1658223434.719078][5712:5717] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C3002203577CA6EFFFC560E287604663AE5BE2F11D1B1CF99BE326AF5B3B114A2E9139524030018 + [1658223434.719110][5712:5717] CHIP:TOO: signature: 7E18271F57FFC60492CA74943FC897493FB2FECDD4A4DC9F2AD348AAD1F5C57DAEB144A4D1C79419386C746F28AC145F3185C64AD99DD829EE70C3690D29642D + [1658223434.719135][5712:5717] CHIP:TOO: } + disabled: true + + - label: "TH1 sends AttestationRequest command to DUT" + PICS: OPCREDS.S.C00.Rsp && OPCREDS.S.C01.Tx + verification: | + ./chip-tool operationalcredentials certificate-chain-request 2 1 0 + + Verify the CertificateChainResponse and verify that the size of certificate is less than or equal to 600 bytes and of type octstr in TH Log + + [1658223566.816155][5951:5956] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1658223566.816246][5951:5956] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 + [1658223566.816346][5951:5956] CHIP:TOO: CertificateChainResponse: { + [1658223566.816403][5951:5956] CHIP:TOO: certificate: 308201CB30820171A003020102020856AD8222AD945B64300A06082A8648CE3D04030230303118301606035504030C0F4D617474657220546573742050414131143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313059301306072A8648CE3D020106082A8648CE3D03010703420004419A9315C2173E0C8C876D03CCFC944852647F7FEC5E5082F4059928ECA894C594151309AC631E4CB03392AF684B0BAFB7E65B3B8162C2F52BF931B8E77AAA82A366306430120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106301D0603551D0E0416041463540E47F64B1C38D13884A462D16C195D8FFB3C301F0603551D230418301680146AFD22771F511FECBF1641976710DCDC31A1717E300A06082A8648CE3D0403020348003045022100B2EF27F49AE9B50FB91EEAC94C4D0BDBB8D7929C6C + [1658223566.816475][5951:5956] CHIP:TOO: ...........: B88FACE529368D12054C0C0220655DC92B86BD909882A6C62177B825D7D05EDBE7C22F9FEA71220E7EA703F891 + [1658223566.816510][5951:5956] CHIP:TOO: } + + Verify the size of certificate is less than or equal to 600 bytes and of type octstr from the above log + + Example : + 308201CB30820171A003020102020856AD8222AD945B64300A06082A8648CE3D04030230303118301606035504030C0F4D617474657220546573742050414131143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313059301306072A8648CE3D020106082A8648CE3D03010703420004419A9315C2173E0C8C876D03CCFC944852647F7FEC5E5082F4059928ECA894C594151309AC631E4CB03392AF684B0BAFB7E65B3B8162C2F52BF931B8E77AAA82A366306430120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106301D0603551D0E0416041463540E47F64B1C38D13884A462D16C195D8FFB3C301F0603551D230418301680146AFD22771F511FECBF1641976710DCDC31A1717E300A06082A8648CE3D0403020348003045022100B2EF27F49AE9B50FB91EEAC94C4D0BDBB8D7929C6C + disabled: true + + - label: + "TH1 sends CertificateChainRequest Command to DUT for the PAI and + saves the certififate as PAICert" + PICS: OPCREDS.S.C02.Rsp && OPCREDS.S.C03.Tx + verification: | + ./chip-tool operationalcredentials certificate-chain-request 1 1 0 + + Verify the CertificateChainResponse in TH Log + + [1658223537.868606][5857:5862] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1658223537.868656][5857:5862] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 + [1658223537.868716][5857:5862] CHIP:TOO: CertificateChainResponse: { + [1658223537.868762][5857:5862] CHIP:TOO: certificate: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 + [1658223537.868809][5857:5862] CHIP:TOO: ...........: 034700304402200127A27B4B44610EE2FCDC4D2B7885563660BC0F76F17219ED6A08DFB2B3C1CD02206B59E0AF45F3EB2A85B919D35731528C6028C415239545E108E4E54E70971353 + [1658223537.868834][5857:5862] CHIP:TOO: } + + Verify the size of certificate is less than or equal to 600 bytes and of type octstr from the above log + + Example : + 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 + disabled: true + + - label: + "TH1 sends CertificateChainRequest Command to DUT for the DAC and + saves the certififate as DACCert" + PICS: OPCREDS.S.C02.Rsp && OPCREDS.S.C03.Tx + verification: | + To get SCR Nonce give below command 2 times + echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) + + ./chip-tool operationalcredentials csrrequest hex:A61BFCE6E2C6AAF48FDEC4BF9DCEF08EB65B976997D82BE5F359902982717603 1 0 + + Verify the CSRResponse in TH Log + + [1658223679.580697][6136:6141] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1658223679.580761][6136:6141] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1658223679.580823][6136:6141] CHIP:TOO: CSRResponse: { + [1658223679.580875][6136:6141] CHIP:TOO: NOCSRElements: 153001CB3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200047DA16C714034D3B96716F64DC0E742D007233212025E305AF6CE56DFA057718E149E52B39584456C8F954A1596B64F8BBC02E501276B962D4AB2C0A607D983C9A000300A06082A8648CE3D040302034800304502206FB78A61A7B0F021C396FEC1CCD6802129AC3EE5EA2727ABCCB19DBAEA7DEE1A022100A5C81ADC5D8BFAA5DB84A1261D8BBCEA5C26B24D4405F0B978E19B17D8458C9E300220A61BFCE6E2C6AAF48FDEC4BF9DCEF08EB65B976997D82BE5F35990298271760318 + [1658223679.580915][6136:6141] CHIP:TOO: attestationSignature: EB731B40B20501AF32C468AA522948F7848D3AEDFA24D9A879575B4A265886C97109EE0DE1ECEB969B1A7F98F127DB4C275292B986BF8DA56EF7B16DA8EC8ABE + [1658223679.580943][6136:6141] CHIP:TOO: } + + Verify attestation signature is an octstr type and has maximum length of 64 + + Example: + EB731B40B20501AF32C468AA522948F7848D3AEDFA24D9A879575B4A265886C97109EE0DE1ECEB969B1A7F98F127DB4C275292B986BF8DA56EF7B16DA8EC8ABE disabled: true - label: "TH1 Sends CSRRequest command with a random 32-byte nonce" PICS: OPCREDS.S.C04.Rsp verification: | - Verify in TH log during commissioning - - [1656307574.648253][15168:15173] CHIP:CTL: Sending CSR request to 0xffff74000b60 device - [1656307574.648387][15168:15173] CHIP:DMG: ICR moving to [AddingComm] - [1656307574.648463][15168:15173] CHIP:DMG: ICR moving to [AddedComma] - [1656307574.649023][15168:15173] CHIP:IN: Prepared secure message 0xffff877ec028 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3350i with MessageCounter:222219370. - [1656307574.649128][15168:15173] CHIP:IN: Sending encrypted msg 0xffff877ec028 with MessageCounter:222219370 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000008AAFA1 msec - [1656307574.649613][15168:15173] CHIP:DMG: >> to BLE | 222219370 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 48092 / Exchange = 3350] - [1656307574.649833][15168:15173] CHIP:DMG: Header Flags = - [1656307574.649897][15168:15173] CHIP:DMG: { - [1656307574.649985][15168:15173] CHIP:DMG: Exchange (0x01) = - [1656307574.650041][15168:15173] CHIP:DMG: { - [1656307574.650090][15168:15173] CHIP:DMG: Initiator = true - [1656307574.650142][15168:15173] CHIP:DMG: } - [1656307574.650209][15168:15173] CHIP:DMG: } - [1656307574.650263][15168:15173] CHIP:DMG: - [1656307574.650330][15168:15173] CHIP:DMG: Encrypted Payload (94 bytes) = - [1656307574.650384][15168:15173] CHIP:DMG: { - [1656307574.650437][15168:15173] CHIP:DMG: data = 00dcbb006acc3e0d04a94ba12213788e9f5d817fafabfb592848b041cde4cb2e4b986deab9caf6b111742c30e541068d3e9f1ae8f755ee80543b71c27d4cc80e8ea3b856d4cd27f88a3603ace3ec58852f3d64b46ff2877cc7717338beb3 - [1656307574.650494][15168:15173] CHIP:DMG: buffer_ptr = 281472627992672 - [1656307574.650544][15168:15173] CHIP:DMG: } - [1656307574.650594][15168:15173] CHIP:DMG: - [1656307574.650754][15168:15173] CHIP:DMG: InvokeRequestMessage = - [1656307574.650818][15168:15173] CHIP:DMG: { - [1656307574.650874][15168:15173] CHIP:DMG: suppressResponse = false, - [1656307574.650938][15168:15173] CHIP:DMG: timedRequest = false, - [1656307574.650998][15168:15173] CHIP:DMG: InvokeRequests = - [1656307574.651073][15168:15173] CHIP:DMG: [ - [1656307574.651133][15168:15173] CHIP:DMG: CommandDataIB = - [1656307574.651198][15168:15173] CHIP:DMG: { - [1656307574.651262][15168:15173] CHIP:DMG: CommandPathIB = - [1656307574.651339][15168:15173] CHIP:DMG: { - [1656307574.651416][15168:15173] CHIP:DMG: EndpointId = 0x0, - [1656307574.651499][15168:15173] CHIP:DMG: ClusterId = 0x3e, - [1656307574.651571][15168:15173] CHIP:DMG: CommandId = 0x4, - [1656307574.651646][15168:15173] CHIP:DMG: }, - [1656307574.651723][15168:15173] CHIP:DMG: - [1656307574.651787][15168:15173] CHIP:DMG: CommandFields = - [1656307574.651908][15168:15173] CHIP:DMG: { - [1656307574.652026][15168:15173] CHIP:DMG: 0x0 = [ - [1656307574.652135][15168:15173] CHIP:DMG: 0xcd, 0x5d, 0x72, 0xba, 0x11, 0x46, 0xf2, 0x35, 0x4, 0x3e, 0x64, 0x5c, 0xc3, 0x76, 0x7e, 0xfd, 0x7, 0x91, 0x37, 0xf8, 0x70, 0xe6, 0x62, 0x54, 0xb4, 0x97, 0xa8, 0x10, 0xe1, 0xa, 0x7c, 0x35, - [1656307574.652372][15168:15173] CHIP:DMG: ] - [1656307574.652457][15168:15173] CHIP:DMG: }, - [1656307574.652529][15168:15173] CHIP:DMG: }, - [1656307574.652603][15168:15173] CHIP:DMG: - [1656307574.652662][15168:15173] CHIP:DMG: ], - [1656307574.652734][15168:15173] CHIP:DMG: - [1656307574.652794][15168:15173] CHIP:DMG: InteractionModelRevision = 1 - [1656307574.652852][15168:15173] CHIP:DMG: }, - [1656307574.652906][15168:15173] CHIP:DMG: - [1656307574.653159][15168:15173] CHIP:DMG: ICR moving to [CommandSen] - [1656307574.653233][15168:15173] CHIP:CTL: Sent CSR request, waiting for the CSR - [1656307574.653345][15168:15173] CHIP:DMG: ICR moving to [AwaitingDe] - [1656307574.712918][15168:15173] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1656307574.761126][15168:15171] CHIP:DL: Indication received, conn = 0xffff7c03d9f0 - [1656307574.761389][15168:15173] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1656307574.861665][15168:15171] CHIP:DL: Indication received, conn = 0xffff7c03d9f0 - [1656307574.861959][15168:15173] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1656307574.863170][15168:15173] CHIP:DMG: << from BLE | 75871068 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 34848 / Exchange = 3350] - [1656307574.863294][15168:15173] CHIP:DMG: Header Flags = - [1656307574.863356][15168:15173] CHIP:DMG: { - [1656307574.863457][15168:15173] CHIP:DMG: } - [1656307574.863514][15168:15173] CHIP:DMG: - [1656307574.863584][15168:15173] CHIP:DMG: Encrypted Payload (372 bytes) = - [1656307574.863639][15168:15173] CHIP:DMG: { - [1656307574.863693][15168:15173] CHIP:DMG: data = 002088005cb3850449e4f72f19ee28896f2f11cbc43d6a3862e61d08d566d51901aeecfa75d2cde55b19812314df78cb4be7622a35c9a848bb818c0dd567d3212dda9640ddddb88c254a48f88eb35b79409d1d12badacca0260c3c463e995ced399bb9a84ffd6679546cc68520243550bfb498a334c609f8e4cc9a246b1c645cd4617b1fe60ac27285d6adbdfc38677fe01d5cfb33b9669a596af831b90afb5577c61a063ddc447da8961e140ddfe96bc65b41f1e3f3b64309474ef09a59c09ae650d3e46f859f0ec28bc660f7b46d0880250f929a44fed46c832ea45fd1dae20b06a12446bab5b4bfd3aaafe3f835488db918fa5f7ec3eb110deaa3f7c0b3da8e202116691144e137b5cf8741a876f5798a3605d531b7c85c4956a21085bbf218424db56c19eff224e2e82b3e343448018f62528873464bcec0dd817cc94b3d6617ffefd38505e10cd4bf993d68b2df8084b2f080327728ddd2c776ee53cd46bc2ee96fb5cb7ee56fb5e1d9306925cf73cfa197 - [1656307574.863767][15168:15173] CHIP:DMG: buffer_ptr = 281472627974512 - [1656307574.863820][15168:15173] CHIP:DMG: } - [1656307574.863929][15168:15173] CHIP:DMG: - [1656307574.864162][15168:15173] CHIP:DMG: NOCSR Elements = - [1656307574.864226][15168:15173] CHIP:DMG: { - [1656307574.864303][15168:15173] CHIP:DMG: CSR (202) = 3081C73070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200049C2B2AF5CDD5CF559AA1C26E13616E04F7E65C3CB490A413AED8C51539731DA595370FC4FA81A8F73C936213AD1E7E49193878F8211D419427017586CF264196A000300A06082A8648CE3D0403020347003044022019B404320D7A0E3D77BC913AAB9AFD3A77922501909C307D54938BE6D2D5E45102200E5C75F96348D926E962B19248C4FC018D7CCEFAF1B97B80E68174A3D6FB2CF1 - [1656307574.864372][15168:15173] CHIP:DMG: CSRNonce (32) = CD5D72BA1146F235043E645CC3767EFD079137F870E66254B497A810E10A7C35 - [1656307574.864425][15168:15173] CHIP:DMG: } - [1656307574.864475][15168:15173] CHIP:DMG: - [1656307574.864527][15168:15173] CHIP:DMG: CSR (202) = - [1656307574.864612][15168:15173] CHIP:DMG: { - -----BEGIN CERTIFICATE REQUEST----- - MIHHMHACAQAwDjEMMAoGA1UECgwDQ1NSMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD - QgAEnCsq9c3Vz1WaocJuE2FuBPfmXDy0kKQTrtjFFTlzHaWVNw/E+oGo9zyTYhOt - Hn5JGTh4+CEdQZQnAXWGzyZBlqAAMAoGCCqGSM49BAMCA0cAMEQCIBm0BDINeg49 - d7yROqua/Tp3kiUBkJwwfVSTi+bS1eRRAiAOXHX5Y0jZJulisZJIxPwBjXzO+vG5 - e4DmgXSj1vss8Q== - -----END CERTIFICATE REQUEST----- - [1656307574.864775][15168:15173] CHIP:DMG: } - [1656307574.864827][15168:15173] CHIP:DMG: - [1656307574.864893][15168:15173] CHIP:DMG: - [1656307574.864983][15168:15173] CHIP:DMG: Additional Fields = - [1656307574.865039][15168:15173] CHIP:DMG: { - [1656307574.865097][15168:15173] CHIP:DMG: peer_address = BLE - [1656307574.865151][15168:15173] CHIP:DMG: } - [1656307574.865201][15168:15173] CHIP:DMG: - [1656307574.865273][15168:15173] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:75871068 on exchange 3350i - [1656307574.865344][15168:15173] CHIP:EM: Found matching exchange: 3350i, Delegate: 0xffff7c03f270 - [1656307574.865444][15168:15173] CHIP:DMG: ICR moving to [ResponseRe] - [1656307574.865543][15168:15173] CHIP:DMG: InvokeResponseMessage = - [1656307574.865604][15168:15173] CHIP:DMG: { - [1656307574.865663][15168:15173] CHIP:DMG: suppressResponse = false, - [1656307574.865725][15168:15173] CHIP:DMG: InvokeResponseIBs = - [1656307574.865801][15168:15173] CHIP:DMG: [ - [1656307574.865863][15168:15173] CHIP:DMG: InvokeResponseIB = - [1656307574.865943][15168:15173] CHIP:DMG: { - [1656307574.866007][15168:15173] CHIP:DMG: CommandDataIB = - [1656307574.866086][15168:15173] CHIP:DMG: { - [1656307574.866159][15168:15173] CHIP:DMG: CommandPathIB = - [1656307574.866243][15168:15173] CHIP:DMG: { - [1656307574.866335][15168:15173] CHIP:DMG: EndpointId = 0x0, - [1656307574.866430][15168:15173] CHIP:DMG: ClusterId = 0x3e, - [1656307574.866514][15168:15173] CHIP:DMG: CommandId = 0x5, - [1656307574.866594][15168:15173] CHIP:DMG: }, - [1656307574.866679][15168:15173] CHIP:DMG: - [1656307574.866753][15168:15173] CHIP:DMG: CommandFields = - [1656307574.866832][15168:15173] CHIP:DMG: { - [1656307574.866917][15168:15173] CHIP:DMG: 0x0 = [ - [1656307574.867187][15168:15173] CHIP:DMG: 0x15, 0x30, 0x1, 0xca, 0x30, 0x81, 0xc7, 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, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x9c, 0x2b, 0x2a, 0xf5, 0xcd, 0xd5, 0xcf, 0x55, 0x9a, 0xa1, 0xc2, 0x6e, 0x13, 0x61, 0x6e, 0x4, 0xf7, 0xe6, 0x5c, 0x3c, 0xb4, 0x90, 0xa4, 0x13, 0xae, 0xd8, 0xc5, 0x15, 0x39, 0x73, 0x1d, 0xa5, 0x95, 0x37, 0xf, 0xc4, 0xfa, 0x81, 0xa8, 0xf7, 0x3c, 0x93, 0x62, 0x13, 0xad, 0x1e, 0x7e, 0x49, 0x19, 0x38, 0x78, 0xf8, 0x21, 0x1d, 0x41, 0x94, 0x27, 0x1, 0x75, 0x86, 0xcf, 0x26, 0x41, 0x96, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x47, 0x0, 0x30, 0x44, 0x2, 0x20, 0x19, 0xb4, 0x4, 0x32, 0xd, 0x7a, 0xe, 0x3d, 0x77, 0xbc, 0x91, 0x3a, 0xab, 0x9a, 0xfd, 0x3a, 0x77, 0x92, 0x25, 0x1, 0x90, 0x9c, 0x30, 0x7d, 0x54, 0x93, 0x8b, 0xe6, 0xd2, 0xd5, 0xe4, 0x51, 0x2, 0x20, 0xe, 0x5c, 0x75, 0xf9, 0x63, 0x48, 0xd9, 0x26, 0xe9, 0x62, 0xb1, 0x92, 0x48, 0xc4, 0xfc, 0x1, 0x8d, 0x7c, 0xce, 0xfa, 0xf1, 0xb9, 0x7b, 0x80, 0xe6, 0x81, 0x74, 0xa3, 0xd6, 0xfb, 0x2c, 0xf1, 0x30, 0x2, 0x20, 0xcd, 0x5d, 0x72, 0xba, 0x11, 0x46, 0xf2, 0x35, 0x4, 0x3e, 0x64, 0x5c, 0xc3, 0x76, 0x7e, 0xfd, 0x7, 0x91, 0x37, 0xf8, 0x70, 0xe6, 0x62, 0x54, 0xb4, 0x97, 0xa8, 0x10, 0xe1, 0xa, 0x7c, 0x35, 0x18, - [1656307574.867353][15168:15173] CHIP:DMG: ] - [1656307574.867438][15168:15173] CHIP:DMG: 0x1 = [ - [1656307574.867568][15168:15173] CHIP:DMG: 0x51, 0xa0, 0x8f, 0x6a, 0xf3, 0x3d, 0x10, 0xc1, 0xdf, 0xbc, 0x9e, 0xe, 0xf, 0x2, 0x5f, 0x58, 0xfb, 0x80, 0x16, 0x87, 0x14, 0xab, 0xd1, 0xae, 0xb4, 0x9f, 0x97, 0xb8, 0x6, 0x58, 0x92, 0x52, 0x19, 0xaf, 0xc4, 0xb1, 0x9a, 0xbc, 0x2, 0x2e, 0xa6, 0xe7, 0xb9, 0xce, 0xd, 0xfc, 0x5, 0x58, 0x4a, 0xaa, 0x8c, 0xd7, 0xd6, 0x6a, 0x60, 0x52, 0x4, 0xd0, 0xcf, 0xcb, 0xa8, 0xc6, 0xca, 0x33, - [1656307574.867670][15168:15173] CHIP:DMG: ] - [1656307574.867755][15168:15173] CHIP:DMG: }, - [1656307574.867949][15168:15173] CHIP:DMG: }, - [1656307574.868055][15168:15173] CHIP:DMG: - [1656307574.868121][15168:15173] CHIP:DMG: }, - [1656307574.868199][15168:15173] CHIP:DMG: - [1656307574.868259][15168:15173] CHIP:DMG: ], - [1656307574.868336][15168:15173] CHIP:DMG: - [1656307574.868396][15168:15173] CHIP:DMG: InteractionModelRevision = 1 - [1656307574.868454][15168:15173] CHIP:DMG: }, - [1656307574.868597][15168:15173] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 - [1656307574.868679][15168:15173] CHIP:CTL: Received certificate signing request from the device - [1656307574.868752][15168:15173] CHIP:CTL: Successfully finished commissioning step 'SendOpCertSigningRequest' - disabled: true - - - label: - "TH1 validates the attestation response, obtains the NOC, the Root CA - Certificate and ICAC (optional) and also allocates the FabricID and - NodeID. Save RCAC certificate as Root_CA_Certificate_Original_TH1" - verification: | - Verify in TH log during commissioning' - - - [1655290769.330332][5196:5201] CHIP:DMG: << from BLE | 192898622 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 61656 / Exchange = 11375] - [1655290769.330388][5196:5201] CHIP:DMG: Header Flags = - [1655290769.330412][5196:5201] CHIP:DMG: { - [1655290769.330510][5196:5201] CHIP:DMG: } - [1655290769.330536][5196:5201] CHIP:DMG: - [1655290769.330570][5196:5201] CHIP:DMG: Encrypted Payload (716 bytes) = - [1655290769.330593][5196:5201] CHIP:DMG: { - [1655290769.330614][5196:5201] CHIP:DMG: data = 00d8f0003e667f0bad61a61c6c43bba4004d9d031cc5315fbf19fd56bbdcf3b966b90ce84f794dad16b0fce43f8805a7e51f43a6becbaff2a1a59de66821fae88166b847d427aec4cd2f42b49389a6c7bd8d37ffb28812b63107fe791b12f437472b093d8e68a483b6601a5834026a0275630294c55d08c3addff9e3df25ba3f9fe01a48b131cb83baa3d9d1ff57da9e6b06136d8ca6e3cbc6981d0cc8eb57be18a4a612bd0020cd49702d33afa8f6e56a7b0f2334f6267c5ff4e846a742da71f13f17b00766f2c6f42cc757cd923282aa05d4107643c3895d0a463c5ea4a001607cecadd6422bc42c2e10d5835c6e5b7e0d845f972082aa1a1b15fbe96732859a362223ab9e213a938d502c6786d2234297f84c94a35ec67fb554b2c9c028af4d03c8b9e79d751bd3bf686382b1126a685df7dfca94adb3088727f3c6cf7d486fa70ae6f10a28a3e5460447ebf4ad9e4dcbb1caf0bb49fe399b4b5e66d40346dd2e2339f94435133a8a3fafaa54cbd7d4845ff4f133e7b190c5eee9af38e2c8aa16694466de6fb74eb52e15c400835492eaa92b1202e22704e6960e4e78eac37f9296bb3ea1d01ea001caf0f5e9f6541bd70f2aa5271d558001108c8729667f140e36b8106ee066cfb59be1e64754094ab48656c601b5b21c3c852ef1286a3324b9a1fd9c7fb899a23c0462d3aba5b80a4a7bebfdf275d4658775662ef82527d450b3377365f7c0c3a6564520139ed92957496acc87c984c57840fdbf14b5ee9d4246d8754d1ea934526846d06bb37b51d069c0eb2e833abb886c5c9fcd9dea7390cc8d3463d3a0ecbe02b4c2b994b4b08f61a44da8cb22e983877c2543b05c69ef5f33c6c902484e6e1c0f4e87973f99bede289a4981cccf050e272d58030051ccd5c39f9aa847a4a2ad699990a15d9206d5442aa4ac0eeae61a69f44abcd7bb3f7a5d7ca54bc4843e20ca40940a2af143585e161eb6e731ef814dc71d2a2dc2df2aa8864ef4dd2b3774d5 - [1655290769.330666][5196:5201] CHIP:DMG: buffer_ptr = 281472426657904 - [1655290769.330687][5196:5201] CHIP:DMG: } - [1655290769.330707][5196:5201] CHIP:DMG: - [1655290769.330848][5196:5201] CHIP:DMG: Attestation Elements (585 bytes) = - [1655290769.330876][5196:5201] CHIP:DMG: { - [1655290769.330898][5196:5201] CHIP:DMG: Certification Declaration = - [1655290769.330918][5196:5201] CHIP:DMG: { - [1655290769.331827][5196:5201] CHIP:DMG: Format Version = 1 - [1655290769.331873][5196:5201] CHIP:DMG: Vendor Id = 65521 - [1655290769.331898][5196:5201] CHIP:DMG: Product Ids = - [1655290769.331919][5196:5201] CHIP:DMG: { - [1655290769.332029][5196:5201] CHIP:DMG: Product Id = 32768 - [1655290769.332053][5196:5201] CHIP:DMG: Product Id = 32769 - [1655290769.332076][5196:5201] CHIP:DMG: Product Id = 32770 - [1655290769.332099][5196:5201] CHIP:DMG: Product Id = 32771 - [1655290769.332123][5196:5201] CHIP:DMG: Product Id = 32772 - [1655290769.332146][5196:5201] CHIP:DMG: Product Id = 32773 - [1655290769.332169][5196:5201] CHIP:DMG: Product Id = 32774 - [1655290769.332193][5196:5201] CHIP:DMG: Product Id = 32775 - [1655290769.332216][5196:5201] CHIP:DMG: Product Id = 32776 - [1655290769.332239][5196:5201] CHIP:DMG: Product Id = 32777 - [1655290769.332361][5196:5201] CHIP:DMG: Product Id = 32778 - [1655290769.332392][5196:5201] CHIP:DMG: Product Id = 32779 - [1655290769.332416][5196:5201] CHIP:DMG: Product Id = 32780 - [1655290769.332440][5196:5201] CHIP:DMG: Product Id = 32781 - [1655290769.332463][5196:5201] CHIP:DMG: Product Id = 32782 - [1655290769.332486][5196:5201] CHIP:DMG: Product Id = 32783 - [1655290769.332509][5196:5201] CHIP:DMG: Product Id = 32784 - [1655290769.332532][5196:5201] CHIP:DMG: Product Id = 32785 - [1655290769.332555][5196:5201] CHIP:DMG: Product Id = 32786 - [1655290769.332578][5196:5201] CHIP:DMG: Product Id = 32787 - [1655290769.332601][5196:5201] CHIP:DMG: Product Id = 32788 - [1655290769.332624][5196:5201] CHIP:DMG: Product Id = 32789 - [1655290769.332647][5196:5201] CHIP:DMG: Product Id = 32790 - [1655290769.332670][5196:5201] CHIP:DMG: Product Id = 32791 - [1655290769.332693][5196:5201] CHIP:DMG: Product Id = 32792 - [1655290769.332716][5196:5201] CHIP:DMG: Product Id = 32793 - [1655290769.332739][5196:5201] CHIP:DMG: Product Id = 32794 - [1655290769.332762][5196:5201] CHIP:DMG: Product Id = 32795 - [1655290769.332785][5196:5201] CHIP:DMG: Product Id = 32796 - [1655290769.332807][5196:5201] CHIP:DMG: Product Id = 32797 - [1655290769.332830][5196:5201] CHIP:DMG: Product Id = 32798 - [1655290769.332853][5196:5201] CHIP:DMG: Product Id = 32799 - [1655290769.332876][5196:5201] CHIP:DMG: Product Id = 32800 - [1655290769.332899][5196:5201] CHIP:DMG: Product Id = 32801 - [1655290769.332922][5196:5201] CHIP:DMG: Product Id = 32802 - [1655290769.332945][5196:5201] CHIP:DMG: Product Id = 32803 - [1655290769.332968][5196:5201] CHIP:DMG: Product Id = 32804 - [1655290769.332991][5196:5201] CHIP:DMG: Product Id = 32805 - [1655290769.333014][5196:5201] CHIP:DMG: Product Id = 32806 - [1655290769.333037][5196:5201] CHIP:DMG: Product Id = 32807 - [1655290769.333060][5196:5201] CHIP:DMG: Product Id = 32808 - [1655290769.333083][5196:5201] CHIP:DMG: Product Id = 32809 - [1655290769.333106][5196:5201] CHIP:DMG: Product Id = 32810 - [1655290769.333129][5196:5201] CHIP:DMG: Product Id = 32811 - [1655290769.333152][5196:5201] CHIP:DMG: Product Id = 32812 - [1655290769.333175][5196:5201] CHIP:DMG: Product Id = 32813 - [1655290769.333198][5196:5201] CHIP:DMG: Product Id = 32814 - [1655290769.333221][5196:5201] CHIP:DMG: Product Id = 32815 - [1655290769.333244][5196:5201] CHIP:DMG: Product Id = 32816 - [1655290769.333267][5196:5201] CHIP:DMG: Product Id = 32817 - [1655290769.333290][5196:5201] CHIP:DMG: Product Id = 32818 - [1655290769.333313][5196:5201] CHIP:DMG: Product Id = 32819 - [1655290769.333336][5196:5201] CHIP:DMG: Product Id = 32820 - [1655290769.333359][5196:5201] CHIP:DMG: Product Id = 32821 - [1655290769.333382][5196:5201] CHIP:DMG: Product Id = 32822 - [1655290769.333405][5196:5201] CHIP:DMG: Product Id = 32823 - [1655290769.333428][5196:5201] CHIP:DMG: Product Id = 32824 - [1655290769.333451][5196:5201] CHIP:DMG: Product Id = 32825 - [1655290769.333474][5196:5201] CHIP:DMG: Product Id = 32826 - [1655290769.333497][5196:5201] CHIP:DMG: Product Id = 32827 - [1655290769.333520][5196:5201] CHIP:DMG: Product Id = 32828 - [1655290769.333543][5196:5201] CHIP:DMG: Product Id = 32829 - [1655290769.333566][5196:5201] CHIP:DMG: Product Id = 32830 - [1655290769.333589][5196:5201] CHIP:DMG: Product Id = 32831 - [1655290769.333612][5196:5201] CHIP:DMG: Product Id = 32832 - [1655290769.333635][5196:5201] CHIP:DMG: Product Id = 32833 - [1655290769.333658][5196:5201] CHIP:DMG: Product Id = 32834 - [1655290769.333681][5196:5201] CHIP:DMG: Product Id = 32835 - [1655290769.333704][5196:5201] CHIP:DMG: Product Id = 32836 - [1655290769.333728][5196:5201] CHIP:DMG: Product Id = 32837 - [1655290769.333750][5196:5201] CHIP:DMG: Product Id = 32838 - [1655290769.333773][5196:5201] CHIP:DMG: Product Id = 32839 - [1655290769.333796][5196:5201] CHIP:DMG: Product Id = 32840 - [1655290769.333819][5196:5201] CHIP:DMG: Product Id = 32841 - [1655290769.333842][5196:5201] CHIP:DMG: Product Id = 32842 - [1655290769.333865][5196:5201] CHIP:DMG: Product Id = 32843 - [1655290769.333888][5196:5201] CHIP:DMG: Product Id = 32844 - [1655290769.333911][5196:5201] CHIP:DMG: Product Id = 32845 - [1655290769.333933][5196:5201] CHIP:DMG: Product Id = 32846 - [1655290769.333956][5196:5201] CHIP:DMG: Product Id = 32847 - [1655290769.333979][5196:5201] CHIP:DMG: Product Id = 32848 - [1655290769.334002][5196:5201] CHIP:DMG: Product Id = 32849 - [1655290769.334024][5196:5201] CHIP:DMG: Product Id = 32850 - [1655290769.334048][5196:5201] CHIP:DMG: Product Id = 32851 - [1655290769.334070][5196:5201] CHIP:DMG: Product Id = 32852 - [1655290769.334093][5196:5201] CHIP:DMG: Product Id = 32853 - [1655290769.334117][5196:5201] CHIP:DMG: Product Id = 32854 - [1655290769.334139][5196:5201] CHIP:DMG: Product Id = 32855 - [1655290769.334162][5196:5201] CHIP:DMG: Product Id = 32856 - [1655290769.334185][5196:5201] CHIP:DMG: Product Id = 32857 - [1655290769.334208][5196:5201] CHIP:DMG: Product Id = 32858 - [1655290769.334231][5196:5201] CHIP:DMG: Product Id = 32859 - [1655290769.334254][5196:5201] CHIP:DMG: Product Id = 32860 - [1655290769.334277][5196:5201] CHIP:DMG: Product Id = 32861 - [1655290769.334300][5196:5201] CHIP:DMG: Product Id = 32862 - [1655290769.334323][5196:5201] CHIP:DMG: Product Id = 32863 - [1655290769.334346][5196:5201] CHIP:DMG: Product Id = 32864 - [1655290769.334369][5196:5201] CHIP:DMG: Product Id = 32865 - [1655290769.334392][5196:5201] CHIP:DMG: Product Id = 32866 - [1655290769.334415][5196:5201] CHIP:DMG: Product Id = 32867 - [1655290769.334456][5196:5201] CHIP:DMG: } - [1655290769.334484][5196:5201] CHIP:DMG: Device Type Id = 22 - [1655290769.334511][5196:5201] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 - [1655290769.334537][5196:5201] CHIP:DMG: Security Level = 0 - [1655290769.334561][5196:5201] CHIP:DMG: Security Information = 0 - [1655290769.334585][5196:5201] CHIP:DMG: Version Number = 9876 - [1655290769.334609][5196:5201] CHIP:DMG: Certification Type = 0 - [1655290769.334632][5196:5201] CHIP:DMG: } - [1655290769.334659][5196:5201] CHIP:DMG: Attestation Nonce (32) = 49FB25897AB41A60FACACA5B7C97785D902678928069EE696893D4C48874C1FE - [1655290769.334681][5196:5201] CHIP:DMG: Timestamp = 0 - [1655290769.334703][5196:5201] CHIP:DMG: } - [1655290769.334723][5196:5201] CHIP:DMG: - [1655290769.334753][5196:5201] CHIP:DMG: - [1655290769.334806][5196:5201] CHIP:DMG: Additional Fields = - [1655290769.334829][5196:5201] CHIP:DMG: { - [1655290769.334855][5196:5201] CHIP:DMG: peer_address = BLE - [1655290769.334877][5196:5201] CHIP:DMG: } - [1655290769.334897][5196:5201] CHIP:DMG: - [1655290769.334935][5196:5201] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:192898622 on exchange 11375i - [1655290769.334964][5196:5201] CHIP:EM: Found matching exchange: 11375i, Delegate: 0xffff68003360 - [1655290769.335011][5196:5201] CHIP:DMG: ICR moving to [ResponseRe] - [1655290769.335055][5196:5201] CHIP:DMG: InvokeResponseMessage = - [1655290769.335080][5196:5201] CHIP:DMG: { - [1655290769.335105][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290769.335129][5196:5201] CHIP:DMG: InvokeResponseIBs = - [1655290769.335160][5196:5201] CHIP:DMG: [ - [1655290769.335184][5196:5201] CHIP:DMG: InvokeResponseIB = - [1655290769.335224][5196:5201] CHIP:DMG: { - [1655290769.335253][5196:5201] CHIP:DMG: CommandDataIB = - [1655290769.335284][5196:5201] CHIP:DMG: { - [1655290769.335315][5196:5201] CHIP:DMG: CommandPathIB = - [1655290769.335350][5196:5201] CHIP:DMG: { - [1655290769.335388][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290769.335427][5196:5201] CHIP:DMG: ClusterId = 0x3e, - [1655290769.335464][5196:5201] CHIP:DMG: CommandId = 0x1, - [1655290769.335499][5196:5201] CHIP:DMG: }, - [1655290769.335537][5196:5201] CHIP:DMG: - [1655290769.335567][5196:5201] CHIP:DMG: CommandFields = - [1655290769.335602][5196:5201] CHIP:DMG: { - [1655290769.335639][5196:5201] CHIP:DMG: 0x0 = [ - [1655290769.335784][5196:5201] CHIP:DMG: 0x15, 0x31, 0x1, 0x1d, 0x2, 0x30, 0x82, 0x2, 0x19, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x2, 0xa0, 0x82, 0x2, 0xa, 0x30, 0x82, 0x2, 0x6, 0x2, 0x1, 0x3, 0x31, 0xd, 0x30, 0xb, 0x6, 0x9, 0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x2, 0x1, 0x30, 0x82, 0x1, 0x71, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x1, 0xa0, 0x82, 0x1, 0x62, 0x4, 0x82, 0x1, 0x5e, 0x15, 0x24, 0x0, 0x1, 0x25, 0x1, 0xf1, 0xff, 0x36, 0x2, 0x5, 0x0, 0x80, 0x5, 0x1, 0x80, 0x5, 0x2, 0x80, 0x5, 0x3, 0x80, 0x5, 0x4, 0x80, 0x5, 0x5, 0x80, 0x5, 0x6, 0x80, 0x5, 0x7, 0x80, 0x5, 0x8, 0x80, 0x5, 0x9, 0x80, 0x5, 0xa, 0x80, 0x5, 0xb, 0x80, 0x5, 0xc, 0x80, 0x5, 0xd, 0x80, 0x5, 0xe, 0x80, 0x5, 0xf, 0x80, 0x5, 0x10, 0x80, 0x5, 0x11, 0x80, 0x5, 0x12, 0x80, 0x5, 0x13, 0x80, 0x5, 0x14, 0x80, 0x5, 0x15, 0x80, 0x5, 0x16, 0x80, 0x5, 0x17, 0x80, 0x5, 0x18, 0x80, 0x5, 0x19, 0x80, 0x5, 0x1a, 0x80, 0x5, 0x1b, 0x80, 0x5, 0x1c, 0x80, 0x5, 0x1d, 0x80, 0x5, 0x1e, 0x80, 0x5, 0x1f, 0x80, 0x5, 0x20, 0x80, 0x5, 0x21, 0x80, 0x5, 0x22, 0x80, 0x5, 0x23, 0x80, 0x5, 0x24, 0x80, 0x5, 0x25, 0x80, 0x5, 0x26, 0x80, 0x5, 0x27, 0x80, 0x5, 0x28, 0x80, 0x5, 0x29, 0x80, 0x5, 0x2a, 0x80, 0x5, 0x2b, 0x80, 0x5, 0x2c, 0x80, 0x5, 0x2d, 0x80, 0x5, 0x2e, 0x80, 0x5, 0x2f, 0x80, 0x5, 0x30, 0x80, 0x5, 0x31, 0x80, 0x5, 0x32, 0x80, 0x5, 0x33, 0x80, 0x5, 0x34, 0x80, 0x5, 0x35, 0x80, 0x5, 0x36, 0x80, 0x5, 0x37, 0x80, 0x5, 0x38, 0x80, 0x5, 0x39, 0x80, 0x5, 0x3a, 0x80, 0x5, 0x3b, 0x80, 0x5, 0x3c, 0x80, 0x5, 0x3d, 0x80, 0x5, 0x3e, 0x80, 0x5, 0x3f, 0x80, 0x5, 0x40, 0x80, 0x5, 0x41, 0x80, 0x5, 0x42, 0x80, 0x5, 0x43, 0x80, 0x5, 0x44, 0x80, 0x5, 0x45, 0x80, 0x5, 0x46, 0x80, 0x5, 0x47, 0x80, 0x5, 0x48, 0x80, 0x5, 0x49, 0x80, 0x5, 0x4a, 0x80, 0x5, 0x - [1655290769.335859][5196:5201] CHIP:DMG: ] - [1655290769.335895][5196:5201] CHIP:DMG: 0x1 = [ - [1655290769.336267][5196:5201] CHIP:DMG: 0x27, 0x4d, 0x13, 0x4e, 0x60, 0xe6, 0x7a, 0xb2, 0x25, 0x90, 0x86, 0x10, 0x63, 0x85, 0x12, 0x14, 0x2c, 0x12, 0x14, 0x5a, 0xef, 0x9a, 0x73, 0x57, 0x85, 0x5e, 0x1e, 0xcb, 0x6b, 0x83, 0xe3, 0xda, 0xa0, 0x6, 0x23, 0x1c, 0x74, 0x9, 0x55, 0x67, 0x74, 0xd9, 0x70, 0xc5, 0xe1, 0xc3, 0x48, 0xc5, 0xdf, 0x1c, 0xc3, 0x26, 0xfc, 0x89, 0xca, 0x10, 0xdf, 0xa, 0x39, 0x53, 0xe0, 0xbb, 0x3f, 0x6d, - [1655290769.336312][5196:5201] CHIP:DMG: ] - [1655290769.336345][5196:5201] CHIP:DMG: }, - [1655290769.336376][5196:5201] CHIP:DMG: }, - [1655290769.336412][5196:5201] CHIP:DMG: - [1655290769.336439][5196:5201] CHIP:DMG: }, - [1655290769.336471][5196:5201] CHIP:DMG: - [1655290769.336494][5196:5201] CHIP:DMG: ], - [1655290769.336526][5196:5201] CHIP:DMG: - [1655290769.336549][5196:5201] CHIP:DMG: InteractionModelRevision = 1 - [1655290769.336573][5196:5201] CHIP:DMG: }, - [1655290769.336637][5196:5201] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 - [1655290769.336674][5196:5201] CHIP:CTL: Received Attestation Information from the device - disabled: true - - - label: - "TH1 sends AddTrustedRootCertificate command to DUT to install the - Root CA Certificate to the trust store" + verification step to be updated. + disabled: true + + - label: "TH1 validates the attestation response" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 obtains or generates the NOC, the Root CA Certificate and ICAC + using the CSR elements from step 8 and selects an IPK. The + certificates shall have their subjects padded with additional data + such that they are each the maximum certificate size of 400 bytes when + encoded in the MatterCertificateEncoding. Save RCAC as + Root_CA_Certificate_TH1 Save ICAC as Intermediate_Certificate_TH1 Save + NOC as Node_Operational_Certificate_TH1 Save IPK as IPK_TH1 Extract + the RCAC public key and save as Root_Public_Key_TH1" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 obtains or generates Root Certificate with a different Root CA ID + and the corresponding ICAC, NOC and IPK using the CSR elements from + step 8 Save RCAC as Root_CA_Certificate_TH1_2 Save ICAC as + Intermediate_Certificate_TH1_2 Save NOC as + Node_Operational_Certificate_TH1_2 Save IPK as IPK_TH1_2" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 generates an INVALID Root Certificate where the signature does + not match the public key and saves it as Root_CA_Malformed" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends AddTrustedRootCertificate command to DUT to install + Root_CA_Malformed" + PICS: OPCREDS.S.C0b.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends AddTrustedRootCertificate command to DUT with + RootCACertificate set to Root_CA_Certificate_TH1" PICS: OPCREDS.S.C0b.Rsp verification: | - 1. ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 - - 2. ./chip-tool operationalcredentials add-trusted-root-certificate 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941043D96471BD73AAAA423AA3EBA87DE9CC7C0864D46FA5571F4BCC64D3F50453E95C5EDB07713B14D0FD22359A85595C3049E0D2046AF0692691DCC32BC1322830F370A350129011824026030041442E8D59F9829D4E11FEE544E8C89C92774A7E27E30051442E8D59F9829D4E11FEE544E8C89C92774A7E27E18300B402334770CE79AB4EAAAA70B5A07232B9AE0BE0AAA681118552726DCB5B04C7F0382519CA0A7A7D4C498CFB3EE479912832B3618926F4765BA4343D6E691FE238918 1 0 - - - [1655374218.706390][35023:35028] CHIP:DMG: CommandFields = - [1655374218.706431][35023:35028] CHIP:DMG: { - [1655374218.706464][35023:35028] CHIP:DMG: 0x0 = [ - [1655374218.706591][35023:35028] 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, 0x14, 0x0, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xab, 0xae, 0x5e, 0xc6, 0x4f, 0xc4, 0x6e, 0x99, 0xc, 0x44, 0x55, 0x39, 0x2, 0x45, 0xf6, 0xe9, 0x9, 0xcb, 0xc3, 0xc3, 0xc, 0xa0, 0x8, 0xb7, 0x36, 0x96, 0x62, 0x56, 0x43, 0x56, 0xba, 0x22, 0x25, 0x38, 0x6f, 0x40, 0x50, 0xf8, 0x7b, 0xd1, 0xd7, 0xe4, 0xd6, 0x5c, 0x12, 0x30, 0x84, 0x91, 0xb3, 0x10, 0x8f, 0x6a, 0x71, 0x8, 0xe1, 0xf0, 0xc3, 0xa0, 0xd2, 0x4, 0x99, 0xe3, 0xfb, 0xf, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x89, 0x4f, 0x8f, 0xdd, 0xf2, 0x13, 0x8d, 0x8e, 0xe0, 0x12, 0x13, 0x72, 0xa2, 0xb4, 0x23, 0x25, 0xef, 0xd6, 0x25, 0x8c, 0x30, 0x5, 0x14, 0x89, 0x4f, 0x8f, 0xdd, 0xf2, 0x13, 0x8d, 0x8e, 0xe0, 0x12, 0x13, 0x72, 0xa2, 0xb4, 0x23, 0x25, 0xef, 0xd6, 0x25, 0x8c, 0x18, 0x30, 0xb, 0x40, 0xd3, 0x8f, 0x56, 0xa2, 0xd9, 0xb4, 0x4a, 0x3a, 0x79, 0x6d, 0xed, 0xd7, 0x1c, 0x7a, 0x3e, 0xd6, 0xb9, 0x8d, 0x80, 0xd6, 0x3d, 0xe2, 0xde, 0xa5, 0xb0, 0x3b, 0xc0, 0xce, 0x1a, 0xe9, 0x26, 0x0, 0x9d, 0x9c, 0x78, 0xe4, 0xf3, 0x78, 0x74, 0x3a, 0xd, 0xfa, 0xc8, 0x1f, 0x27, 0xaa, 0x5e, 0x9b, 0xef, 0x78, 0x48, 0x1e, 0x6a, 0x60, 0x1a, 0x71, 0xd8, 0x67, 0x9, 0x40, 0xb3, 0xe4, 0xd0, 0xc6, 0x18, - - Verify we are getting success response - [1655371172.014771][2459:2464] CHIP:DMG: InvokeResponseMessage = - [1655371172.014797][2459:2464] CHIP:DMG: { - [1655371172.014822][2459:2464] CHIP:DMG: suppressResponse = false, - [1655371172.014854][2459:2464] CHIP:DMG: InvokeResponseIBs = - [1655371172.014889][2459:2464] CHIP:DMG: [ - [1655371172.014914][2459:2464] CHIP:DMG: InvokeResponseIB = - [1655371172.014959][2459:2464] CHIP:DMG: { - [1655371172.014989][2459:2464] CHIP:DMG: CommandStatusIB = - [1655371172.015024][2459:2464] CHIP:DMG: { - [1655371172.015055][2459:2464] CHIP:DMG: CommandPathIB = - [1655371172.015090][2459:2464] CHIP:DMG: { - [1655371172.015125][2459:2464] CHIP:DMG: EndpointId = 0x0, - [1655371172.015161][2459:2464] CHIP:DMG: ClusterId = 0x3e, - [1655371172.015196][2459:2464] CHIP:DMG: CommandId = 0xb, - [1655371172.015229][2459:2464] CHIP:DMG: }, - [1655371172.015266][2459:2464] CHIP:DMG: - [1655371172.015297][2459:2464] CHIP:DMG: StatusIB = - [1655371172.015332][2459:2464] CHIP:DMG: { - [1655371172.015366][2459:2464] CHIP:DMG: status = 0x00 (SUCCESS), - [1655371172.015399][2459:2464] CHIP:DMG: }, - [1655371172.015433][2459:2464] CHIP:DMG: - [1655371172.015464][2459:2464] CHIP:DMG: }, - [1655371172.015498][2459:2464] CHIP:DMG: - [1655371172.015527][2459:2464] CHIP:DMG: }, - [1655371172.015560][2459:2464] CHIP:DMG: - [1655371172.015584][2459:2464] CHIP:DMG: ], - [1655371172.015614][2459:2464] CHIP:DMG: - [1655371172.015639][2459:2464] CHIP:DMG: InteractionModelRevision = 1 - [1655371172.015665][2459:2464] CHIP:DMG: }, - [1655371172.015725][2459:2464] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 - [1655371172.015770][2459:2464] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true - - - label: - "TH1 sends AddTrustedRootCertificate command to DUT for the - installation of the same Root_CA_Certificate_Original_TH1" + verification step to be updated. + disabled: true + + - label: + "TH1 sends AddTrustedRootCertificate command to DUT again with the + RootCACertificate field set to Root_CA_Certificate_TH1" PICS: OPCREDS.S.C0b.Rsp verification: | - 1. ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 - - 2. ./chip-tool operationalcredentials add-trusted-root-certificate FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQUABgkBwEkCAEwCUEE7v2ZbSMsKkVeeXBYD1r6THUa0+MwX1Sre4hF6HifssT8LmPXr7Yo5Oukmggl4zu0dHeXGoks+DcIqvMoSZqKTDcKNQEpARgkAmAwBBRk4uawYkPefrADlbkhMYSjioM+szAFFGTi5rBiQ95+sAOVuSExhKOKgz6zGDALQP+ShFEcnKP6jj903MIhM8/zcZpRq5whUk/z5ZJgiOztyTD5BTyfAOtLGxnC597PW5Rm4H1Eu+5EkJObonVQcBgY 1 0 - - Verify we are getting success response - [1655371172.014771][2459:2464] CHIP:DMG: InvokeResponseMessage = - [1655371172.014797][2459:2464] CHIP:DMG: { - [1655371172.014822][2459:2464] CHIP:DMG: suppressResponse = false, - [1655371172.014854][2459:2464] CHIP:DMG: InvokeResponseIBs = - [1655371172.014889][2459:2464] CHIP:DMG: [ - [1655371172.014914][2459:2464] CHIP:DMG: InvokeResponseIB = - [1655371172.014959][2459:2464] CHIP:DMG: { - [1655371172.014989][2459:2464] CHIP:DMG: CommandStatusIB = - [1655371172.015024][2459:2464] CHIP:DMG: { - [1655371172.015055][2459:2464] CHIP:DMG: CommandPathIB = - [1655371172.015090][2459:2464] CHIP:DMG: { - [1655371172.015125][2459:2464] CHIP:DMG: EndpointId = 0x0, - [1655371172.015161][2459:2464] CHIP:DMG: ClusterId = 0x3e, - [1655371172.015196][2459:2464] CHIP:DMG: CommandId = 0xb, - [1655371172.015229][2459:2464] CHIP:DMG: }, - [1655371172.015266][2459:2464] CHIP:DMG: - [1655371172.015297][2459:2464] CHIP:DMG: StatusIB = - [1655371172.015332][2459:2464] CHIP:DMG: { - [1655371172.015366][2459:2464] CHIP:DMG: status = 0x00 (SUCCESS), - [1655371172.015399][2459:2464] CHIP:DMG: }, - [1655371172.015433][2459:2464] CHIP:DMG: - [1655371172.015464][2459:2464] CHIP:DMG: }, - [1655371172.015498][2459:2464] CHIP:DMG: - [1655371172.015527][2459:2464] CHIP:DMG: }, - [1655371172.015560][2459:2464] CHIP:DMG: - [1655371172.015584][2459:2464] CHIP:DMG: ], - [1655371172.015614][2459:2464] CHIP:DMG: - [1655371172.015639][2459:2464] CHIP:DMG: InteractionModelRevision = 1 - [1655371172.015665][2459:2464] CHIP:DMG: }, - [1655371172.015725][2459:2464] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 - [1655371172.015770][2459:2464] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true - - - label: "Read the TrustedRootCertificates list from DUT" - verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 1 0 - - [1655296468.138167][5628:5633] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 323778350 - [1655296468.138314][5628:5633] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655296468.138421][5628:5633] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941040411C332B4D6CA8A742852BAA10666F9BD6A0D6180BAF8677011FD1542C19E1A89864CE9454AA409BF0CABB8E2305E6FBB4A767FE00C7D8C0A581758749650C8370A35012901182402603004145A3098A5158DF1C2E6C2188E2CB716AB925129933005145A3098A5158DF1C2E6C2188E2CB716AB9251299318300B40822E81D4315B3710181B44D7E35C91AE7E6578C90D112275BB07CF8B7906751830BC0F93BB53E43BD8AD38C58A74386101A1AC7759D6D53EB9F65F64870C875818 - disabled: true - - - label: "TH1 sends the AddNOC Command to DUT" + verification step to be updated. + disabled: true + + - label: + "TH1 sends AddTrustedRootCertificate command to DUT again with the + RootCACertificate field set to Root_CA_Certificate_TH1_2" + PICS: OPCREDS.S.C0b.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 reads the TrustedRootCertificates list from DUT and saves as + TrustedRootsList" + PICS: OPCREDS.S.A0004 + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 appends Root_CA_Certificate_TH1_2 to TrustedRootsList and writes + the TrustedRootCertificates attribute with that value" + PICS: OPCREDS.S.A0004 + verification: | + verification step to be updated. + disabled: true + + - label: "TH1 reads the TrustedRootCertificates list from DUT" + PICS: OPCREDS.S.A0004 + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_2 ICACValue as + Intermediate_Certificate_TH1_2 IpkValue as IPK_TH1_2 CaseAdminSubject + as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1 ICACValue as + Intermediate_Certificate_TH1 IpkValue as IPK_TH1 CaseAdminSubject is + an invalid NodeID (not an operational Node ID or Case Authenticated + Tag - ex. 0) AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - Not Verifiable + verification step to be updated. disabled: true - label: - "Save the FabricIndex as FabricIndex_TH1 or FabricIndex_TH2 (depending - on which TH was running the command) for future use" + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1 ICACValue as + Intermediate_Certificate_TH1 IpkValue as IPK_TH1 CaseAdminSubject as + the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: "TH1 saves the FabricIndex as FabricIndex_TH1 for future use" verification: | - Not Verifiable + verification step to be updated. disabled: true - - label: "Read the NOCs (NOCStruct) list from DUT" + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_1 ICACValue as + Intermediate_Certificate_TH1_1 IpkValue as IPK_TH1_1 CaseAdminSubject + as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp verification: | - ./chip-tool operationalcredentials read nocs 1 0 + verification step to be updated. + disabled: true - [1655470923.441130][13282:13287] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2667297991 - [1655470923.441223][13282:13287] CHIP:TOO: NOCs: 1 entries - [1655470923.441297][13282:13287] CHIP:TOO: [1]: { - [1655470923.441352][13282:13287] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104D5FA104FF03F9118BDC2A072D50DB3BED32C47F138439FBF05753D02D01AEC10F350CB77EA22844A83FF0FEF6CFA764F5B1FD48E487F3EC82A201D376F56DCC8370A350128011824020136030402040118300414BD61F9405A7A15EFA38F8B6833AB9027876482E1300514B5AED0B2C2CDBB9D4D0124755B56278B081FD4AD18300B40441AA0EE6ACE43EEA2A52321821D8B260AAFFEBD394C2FD11E83008C5AD2DF5EA58FAFA14A3EF7BAFDE190591298311D7DE6A257819D98D0E9FE239A635684B418 - [1655470923.441411][13282:13287] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B267483D9981A2C15E7DE8C63298FEB6DC19EAA9AEA41D9D659CD3BBBD25B943B3186716C82B297091D64B1620E8FB2C6FD095F509684E074C5B479E583CE295370A3501290118240260300414B5AED0B2C2CDBB9D4D0124755B56278B081FD4AD3005146EDE812590A5E6E4463798EB06AC3BD5284DFAAE18300B404A48E0B45704A98739C0C656B0F1A4252AEED8E1EBA5FD1032C79A4B26BF8A314EFDD7C835947DEB4B3E9F6D0BF2A561CEE54B45F311773301D4B5CFFF2F76D918 - [1655470923.441453][13282:13287] CHIP:TOO: FabricIndex: 1 - [1655470923.441486][13282:13287] CHIP:TOO: } + - label: + "TH1 reads the NOCs attribute from DUT using a non-fabric-filtered + read and saves the list as NOClist" + PICS: OPCREDS.S.A0000 + verification: | + verification step to be updated. disabled: true - - label: "Read the first NOCStruct element from the list" + - label: + "TH1 appends a second list item to NOClist and writes that value to + the NOCs attribute" + PICS: OPCREDS.S.A0000 verification: | + verification step to be updated. + disabled: true + - label: + "TH1 reads the NOCs attribute from DUT using a non-fabric-filtered + read" + PICS: OPCREDS.S.A0000 + verification: | + verification step to be updated. disabled: true - label: - "TH1 sends UpdateFabricLabel command with 'Label 1' as Label field to + "TH1 sends UpdateFabricLabel command with Label 1 as Label field to DUT" PICS: OPCREDS.S.C09.Rsp verification: | - ./chip-tool operationalcredentials update-fabric-label label2 1 0 + verification step to be updated. + disabled: true - [1651571821.028022][3803:3808] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1651571821.028086][3803:3808] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1651571821.028181][3803:3808] CHIP:TOO: NOCResponse: { - [1651571821.028226][3803:3808] CHIP:TOO: statusCode: 0 - [1651571821.028259][3803:3808] CHIP:TOO: fabricIndex: 1 - [1651571821.028292][3803:3808] CHIP:TOO: } + - label: + "TH1 reads the Fabrics Attribute from DUT using a non-fabric-filtered + read and gets the FabricDescriptorStruct for which the FabricIndex + field equals FabricIndex_TH1" + verification: | + verification step to be updated. disabled: true - label: - "Read the Fabrics List from DUT and get the FabricDescriptorStruct for - which FabricIndex the FabricIndex field equals FabricIndex_TH1" + "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds + field set to 0" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ./chip-tool operationalcredentials read fabrics 1 0 + verification step to be updated. + disabled: true - [1655471672.386120][13377:13382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297992 - [1655471672.386213][13377:13382] CHIP:TOO: Fabrics: 1 entries - [1655471672.386291][13377:13382] CHIP:TOO: [1]: { - [1655471672.386339][13377:13382] CHIP:TOO: RootPublicKey: 04FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB - [1655471672.386378][13377:13382] CHIP:TOO: VendorId: 65521 - [1655471672.386412][13377:13382] CHIP:TOO: FabricId: 1 - [1655471672.386445][13377:13382] CHIP:TOO: NodeId: 1 - [1655471672.386675][13377:13382] CHIP:TOO: Label: - [1655471672.386716][13377:13382] CHIP:TOO: FabricIndex: 1 - [1655471672.386750][13377:13382] CHIP:TOO: } + - label: "TH1 reconnects to the DUT over PASE" + verification: | + verification step to be updated. disabled: true - - label: "Read the TrustedRootCertificates list from DUT" + - label: "TH1 reads the TrustedRootCertificates list from DUT" + PICS: OPCREDS.S.A0004 verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + verification step to be updated. + disabled: true - [1655296468.138167][5628:5633] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 323778350 - [1655296468.138314][5628:5633] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655296468.138421][5628:5633] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941040411C332B4D6CA8A742852BAA10666F9BD6A0D6180BAF8677011FD1542C19E1A89864CE9454AA409BF0CABB8E2305E6FBB4A767FE00C7D8C0A581758749650C8370A35012901182402603004145A3098A5158DF1C2E6C2188E2CB716AB925129933005145A3098A5158DF1C2E6C2188E2CB716AB9251299318300B40822E81D4315B3710181B44D7E35C91AE7E6578C90D112275BB07CF8B7906751830BC0F93BB53E43BD8AD38C58A74386101A1AC7759D6D53EB9F65F64870C875818 + - label: + "TH1 reads the NOCs attribute from DUT using a non-fabric-filtered + read" + PICS: OPCREDS.S.A0000 + verification: | + verification step to be updated. disabled: true - label: - 'TH2 starts comissionning DUT on a second fabric Repeat steps 3 to 30 - for TH2 For UpdateFabricLabel command set the label value as "Label 2" - Save RCAC certificate as Root_CA_Certificate_Original_TH2' + "TH1 reads the Fabrics attribute from the DUT using a + non-fabric-filtered read" + PICS: OPCREDS.S.A0001 verification: | - To commission DUT to TH2 follow below procedure - 1../chip-tool pairing open-commissioning-window 1 1 400 2000 3841 on TH - 2. manualcode will be provided by TH when we pass above command pass manualcode in TH2 to commission by using "./chip-tool pairing code 2 36199720672" considering 36199720672 as manualcode generated in TH + verification step to be updated. + disabled: true - Repeat Step 3 to 30 from DUT to Th + - label: + "TH1 fully commissions DUT onto the fabric, using + Root_CA_Certificate_TH1 and the AddNOC parameters specified in step . + This will update the value of FabricIndex_TH1 so that it references + the fabric the DUT was just commissioned onto" + verification: | + verification step to be updated. disabled: true - - label: "Read the TrustedRootCertificates list from DUT" + - label: "TH1 reads the TrustedRootCertificates list from DUT" + PICS: OPCREDS.S.A0004 verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 2 0 + verification step to be updated. + disabled: true + - label: + "TH1 reads the NOCs attribute from DUT using a non-fabric-filtered + read" + PICS: OPCREDS.S.A0000 + verification: | + verification step to be updated. + disabled: true - [1655472305.543993][4402:4407] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 2667297995 - [1655472305.547119][4402:4407] CHIP:TOO: TrustedRootCertificates: 2 entries - [1655472305.547219][4402:4407] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A37062414001824070124080130094104FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB370A35012901182402603004146EDE812590A5E6E4463798EB06AC3BD5284DFAAE3005146EDE812590A5E6E4463798EB06AC3BD5284DFAAE18300B405F5AF97A75846BFB6B68727C697FEF7E233535D14303E2338A458BB50A6C7BA05AEC058DD802EB4138164D3525392F51D1F8595E8E9FC79E3F5704995762164218 - [1655472305.547287][4402:4407] CHIP:TOO: [2]: 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941046E07C7995834C97544C01B348C6E99AECC2BFBC7A6C9D2CDF2B8C23AEC425463997F77AFF4F536257118CA4113AAD5EDBE64F548F525FF9C1EEEB1E71530CD2F370A3501290118240260300414532A927E58D5D6E4512CA432D4DC750058752C04300514532A927E58D5D6E4512CA432D4DC750058752C0418300B403FDF5247055ACF950C7717B9145ECA0BFE1702C780AD459CBB26E20927A22C5C73308CC5C9C982EAB1EC9F1310784B9F81E35C683D9EA01A5E4CFF9667B8235F18 + - label: + "TH1 sends UpdateFabricLabel command with Label 1 as Label field to + DUT" + PICS: OPCREDS.S.C09.Rsp + verification: | + verification step to be updated. disabled: true - label: - "TH2 sends UpdateFabricLabel command with 'Label 1' as Label field to + "TH1 reads the Fabrics Attribute from DUT using a non-fabric-filtered + read and gets the FabricDescriptorStruct for which the FabricIndex + field equals FabricIndex_TH1" + PICS: OPCREDS.S.A0001 + verification: | + verification step to be updated. + disabled: true + + - label: "TH1 reads the ACL attribute from the Access Control cluster" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: "TH1 issues a KeySetRead command to the DUT for GroupKeySetID 0" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends an OpenCommissioningWindow command to the Administrator + Commissioning cluster" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 begins the process of commissionning the DUT. After receiving the + CSRResponse TH2 obtains or generates a NOC, the Root CA Certificate, + ICAC and IPK. The certificates shall have their subjects padded with + additional data such that they are each the maximum certificate size + of 400 bytes when encoded in the MatterCertificateEncoding. Save RCAC + as Root_CA_Certificate_TH2 Save ICAC as Intermediate_Certificate_TH2 + Save NOC as Node_Operational_Certificate_TH2 Save IPK as IPK_TH2 + Extract the RCAC public key and save as Root_Public_Key_TH2" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 completes the commissioning process using Root_CA_Certificate_TH2 + when performing the AddTrustedRootCertificate command and sending + AddNOC with the following parameters: NOCValue as + Node_Operational_Certificate_TH2 ICACValue as + Intermediate_Certificate_TH2 IpkValue as IPK_TH2 CaseAdminSubject as + CAT_TH2 AdminVendorId as the Vendor ID of TH2" + verification: | + Not verifiable + disabled: true + + - label: "TH2 reads the TrustedRootCertificates list from DUT" + PICS: OPCREDS.S.A0004 + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 reads the NOCs attribute from DUT using a non-fabric-filtered + read" + PICS: OPCREDS.S.A0000 + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 sends UpdateFabricLabel command with Label 2 as Label field to DUT" PICS: OPCREDS.S.C09.Rsp verification: | - ./chip-tool operationalcredentials update-fabric-label label2 2 0 + verification step to be updated. + disabled: true - [1656311622.310656][20507:20512] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1656311622.310739][20507:20512] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1656311622.310848][20507:20512] CHIP:TOO: NOCResponse: { - [1656311622.310937][20507:20512] CHIP:TOO: statusCode: 10 - [1656311622.310990][20507:20512] CHIP:TOO: } + - label: + "TH2 sends UpdateFabricLabel command with Label 1 as Label field to + DUT" + PICS: OPCREDS.S.C09.Rsp + verification: | + verification step to be updated. disabled: true - - label: "Read the Fabrics List from DUT" + - label: "Read the Fabrics List from DUT using a non-fabric-filtered read" + PICS: OPCREDS.S.A0001 verification: | - ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 + verification step to be updated. + disabled: true - [1655472488.702974][4422:4427] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297999 - [1655472488.703106][4422:4427] CHIP:TOO: Fabrics: 2 entries - [1655472488.703199][4422:4427] CHIP:TOO: [1]: { - [1655472488.703253][4422:4427] CHIP:TOO: RootPublicKey: 04FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB - [1655472488.703299][4422:4427] CHIP:TOO: VendorId: 65521 - [1655472488.703338][4422:4427] CHIP:TOO: FabricId: 1 - [1655472488.703374][4422:4427] CHIP:TOO: NodeId: 1 - [1655472488.703411][4422:4427] CHIP:TOO: Label: - [1655472488.703447][4422:4427] CHIP:TOO: FabricIndex: 1 - [1655472488.703480][4422:4427] CHIP:TOO: } - [1655472488.703535][4422:4427] CHIP:TOO: [2]: { - [1655472488.703581][4422:4427] CHIP:TOO: RootPublicKey: 046E07C7995834C97544C01B348C6E99AECC2BFBC7A6C9D2CDF2B8C23AEC425463997F77AFF4F536257118CA4113AAD5EDBE64F548F525FF9C1EEEB1E71530CD2F - [1655472488.703622][4422:4427] CHIP:TOO: VendorId: 65521 - [1655472488.703660][4422:4427] CHIP:TOO: FabricId: 1 - [1655472488.703697][4422:4427] CHIP:TOO: NodeId: 2 - [1655472488.703735][4422:4427] CHIP:TOO: Label: NodeOpeCredits1 - [1655472488.703773][4422:4427] CHIP:TOO: FabricIndex: 2 - [1655472488.703805][4422:4427] CHIP:TOO: } + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + verification: | + verification step to be updated. disabled: true - label: - "Read the Fabrics List from DUT and get the FabricDescriptorStruct for - which the FabricIndex field equals FabricIndex_TH2" + "TH1 sends AddTrustedRootCertificate command to DUT with + RootCACertificate set to Root_CA_Certificate_TH1_2" + PICS: OPCREDS.S.C0b.Rsp verification: | - See above + verification step to be updated. disabled: true - label: - "From TH2 send RemoveFabric command with Fabric Index as - FabricIndexTH2 + 5 (Invalid Fabric Index) to DUT" - PICS: OPCREDS.S.C0a.Rsp + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_2 ICACValue as + Intermediate_Certificate_TH1_2 IpkValue as IPK_TH1_2 CaseAdminSubject + as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp verification: | - ./chip-tool operationalcredentials remove-fabric 3 2 0 + verification step to be updated. + disabled: true - [1655472616.205550][4434:4439] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655472616.205609][4434:4439] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655472616.205671][4434:4439] CHIP:TOO: NOCResponse: { - [1655472616.205722][4434:4439] CHIP:TOO: statusCode: 11 - [1655472616.205760][4434:4439] CHIP:TOO: } - [1655472616.205799][4434:4439] CHIP:DMG: ICR moving to [AwaitingDe] + - label: "TH1 Sends CSRRequest command with a random 32-byte nonce" + PICS: OPCREDS.S.C04.Rsp + verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_2 ICACValue as + Intermediate_Certificate_TH1_2 IpkValue as IPK_TH1_2 CaseAdminSubject + as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true - ./chip-tool operationalcredentials read trusted-root-certificates 2 0 + - label: + "TH1 obtains or generates a NOC and ICAC using the CSR elements from + step 55 with a different NodeID, but the same Root CA Certificate and + fabric ID as step 10. Save as + Node_Operational_Certificates_TH1_fabric_conflict and + Intermediate_Certificate_TH1_fabric_conflict" + verification: | + verification step to be updated. + disabled: true - [1655472673.786473][4444:4449] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 2667298001 - [1655472673.786545][4444:4449] CHIP:TOO: TrustedRootCertificates: 2 entries - [1655472673.786590][4444:4449] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A37062414001824070124080130094104FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB370A35012901182402603004146EDE812590A5E6E4463798EB06AC3BD5284DFAAE3005146EDE812590A5E6E4463798EB06AC3BD5284DFAAE18300B405F5AF97A75846BFB6B68727C697FEF7E233535D14303E2338A458BB50A6C7BA05AEC058DD802EB4138164D3525392F51D1F8595E8E9FC79E3F5704995762164218 - [1655472673.786635][4444:4449] CHIP:TOO: [2]: 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941046E07C7995834C97544C01B348C6E99AECC2BFBC7A6C9D2CDF2B8C23AEC425463997F77AFF4F536257118CA4113AAD5EDBE64F548F525FF9C1EEEB1E71530CD2F370A3501290118240260300414532A927E58D5D6E4512CA432D4DC750058752C04300514532A927E58D5D6E4512CA432D4DC750058752C0418300B403FDF5247055ACF950C7717B9145ECA0BFE1702C780AD459CBB26E20927A22C5C73308CC5C9C982EAB1EC9F1310784B9F81E35C683D9EA01A5E4CFF9667B8235F18 + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_fabric_conflict ICACValue + as Intermediate_Certificate_TH1_fabric_conflict CaseAdminSubject as + the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. disabled: true - label: - "From TH2 sends RemoveFabric command with Fabric Index as - FabricIndex_TH1 (Valid Fabric Index) to DUT" + "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds set + to 0" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ./chip-tool operationalcredentials remove-fabric 1 2 0 + verification step to be updated. + disabled: true + + - label: "TH1 reads the TrustedRootCertificates list from DUT" + PICS: OPCREDS.S.A0004 + verification: | + verification step to be updated. + disabled: true - [1655472760.302540][4453:4458] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655472760.302643][4453:4458] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655472760.302815][4453:4458] CHIP:TOO: NOCResponse: { - [1655472760.302885][4453:4458] CHIP:TOO: statusCode: 0 - [1655472760.303018][4453:4458] CHIP:TOO: fabricIndex: 1 - [1655472760.303070][4453:4458] CHIP:TOO: } + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + verification: | + verification step to be updated. disabled: true - - label: "From TH1 Read the Fabrics list from DUT." + - label: + "TH1 Sends CSRRequest command with a random 32-byte nonce and the + IsForUpdateNOC field set to true" + PICS: OPCREDS.S.C04.Rsp verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + verification step to be updated. + disabled: true - [1655472793.693681][13463:13468] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 2667298005 - [1655472793.693790][13463:13468] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655472793.693869][13463:13468] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A37062414001824070124080130094104FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB370A35012901182402603004146EDE812590A5E6E4463798EB06AC3BD5284DFAAE3005146EDE812590A5E6E4463798EB06AC3BD5284DFAAE18300B405F5AF97A75846BFB6B68727C697FEF7E233535D14303E2338A458BB50A6C7BA05AEC058DD802EB4138164D3525392F51D1F8595E8E9FC79E3F5704995762164218 + - label: + "TH1 obtains or generates a NOC, Root CA Certificate, ICAC using the + CSR elements from the previous step Save RCAC as + Root_CA_Certificate_TH1_3 Save ICAC as Intermediate_Certificate_TH1_3 + Save NOC as Node_Operational_Certificate_TH1_3" + verification: | + verification step to be updated. disabled: true - label: - "TH1 sends AddTrustedRootCertificate command to DUT to install the - Root CA Certificate which differs from - Root_CA_Certificate_Original_TH1 by one byte in the Subject field" + "TH1 sends AddTrustedRootCertificate command to DUT with + RootCACertificate set to Root_CA_Certificate_TH1_3" PICS: OPCREDS.S.C0b.Rsp verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 sends the AddNOC Command to DUT with the following fields: + NOCValue as Node_Operational_Certificate_TH1_3 ICACValue as + Intermediate_Certificate_TH1_3 CaseAdminSubject as the NodeID of TH1 + AdminVendorId as the Vendor ID of TH1" + PICS: OPCREDS.S.C06.Rsp + verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds set + to 0" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + verification: | + verification step to be updated. disabled: true - - label: "Read the TrustedRootCertificates list from DUT" + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + verification step to be updated. + disabled: true - [1655296468.138167][5628:5633] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 323778350 - [1655296468.138314][5628:5633] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655296468.138421][5628:5633] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A370624140018240701240801300941040411C332B4D6CA8A742852BAA10666F9BD6A0D6180BAF8677011FD1542C19E1A89864CE9454AA409BF0CABB8E2305E6FBB4A767FE00C7D8C0A581758749650C8370A35012901182402603004145A3098A5158DF1C2E6C2188E2CB716AB925129933005145A3098A5158DF1C2E6C2188E2CB716AB9251299318300B40822E81D4315B3710181B44D7E35C91AE7E6578C90D112275BB07CF8B7906751830BC0F93BB53E43BD8AD38C58A74386101A1AC7759D6D53EB9F65F64870C875818 + - label: + "TH2 sends RemoveFabric command with Fabric Index as FabricIndexTH2 + + 5 (Invalid Fabric Index) to DUT" + PICS: OPCREDS.S.C0a.Rsp + verification: | + verification step to be updated. disabled: true - label: - "TH1 sends AddTrustedRootCertificate command to DUT to install a - malformed Root CA Certificate where the signature does not match the - public key" - PICS: OPCREDS.S.C0b.Rsp + "TH2 reads the Fabrics List from DUT using a non-fabric-filtered read" + PICS: OPCREDS.S.A0001 verification: | - Not verifiable + verification step to be updated. + disabled: true + + - label: + "TH2 sends RemoveFabric command with Fabric Index as FabricIndex_TH1 + (Valid Fabric Index) to DUT" + PICS: OPCREDS.S.C0a.Rsp + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 reads the Fabrics List from DUT using a non-fabric-filtetered + read" + PICS: OPCREDS.S.A0001 + verification: | + verification step to be updated. + disabled: true + + - label: "TH2 sends a CommissioningComplete command to the DUT" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH2 sends an OpenCommissioningWindow command to the Administrator + Commissioning cluster" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 fully commissions the DUT using subject-padded, 400 byte + certificates" + verification: | + verification step to be updated. + disabled: true + + - label: + "Repeat steps 73 and 74 to fill the fabric table using the remaining + test harnesses (TH3 through TH NumSupportedFabrics). Each test harness + should commission the DUT using subject-padded, 400-byte certificates" + verification: | + verification step to be updated. + disabled: true + + - label: "TH1 reads CommissionedFabrics attribute" + PICS: OPCREDS.S.A0003 + verification: | + verification step to be updated. + disabled: true + + - label: "Repeat steps 73 and 74 with TH NumSupportedFabrics + 1" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 reads the SubjectsPerAccessControlEntry attribute from the Access + Control Cluster and saves the value as maxSubjects" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 reads the TargetsPerAccessControlEntry attribute from the Access + Control Cluster and saves the value as maxTargets" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 reads the AccessControlEntriesPerFabric attribute from the Access + Control Cluster and saves the value as maxEntries" + verification: | + verification step to be updated. + disabled: true + + - label: + "TH1 creates a valid list of AccessControlEntryStructs with maxEntries + entries. Each AccessControlEntryStruct specifies maxSubjects subjects + and maxTargets targets. TH1 writes this list to the AccessControl + cluster ACL attribute" + verification: | + verification step to be updated. + disabled: true + + - label: + "Repeat step 81 for TH2 through TH NumSupportedFabrics to fill the ACL + table" + verification: | + verification step to be updated. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml index 9a91443b53963f..2d90471f290293 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml @@ -14,9 +14,12 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 11.3.2. [TC-OPCREDS-3.2] Attribute-CurrentFabricIndex validation + 12.3.2. [TC-OPCREDS-3.2] Attribute-CurrentFabricIndex validation [DUT-Server] +PICS: + - OPCREDS.S + config: nodeId: 0x12344321 cluster: "Basic" @@ -33,18 +36,44 @@ tests: "Commission DUT to TH1s Fabric When DUT sends NOC response save FabricIndex as FabricIndex_TH1" verification: | - After commissioning DUT to TH1's fabric read nocs - Verify in TH Log - - NOC and ICAC value during commissioning is - - [1657692835.180909][15001:15006] CHIP:DMG: CommandFields = - [1657692835.180947][15001:15006] CHIP:DMG: { - [1657692835.180997][15001:15006] CHIP:DMG: 0x0 = [ - [1657692835.181155][15001:15006] 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, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x84, 0x3a, 0x27, 0xff, 0xf3, 0x6c, 0x84, 0x24, 0x2, 0xa9, 0x59, 0xf, 0x9, 0x75, 0x96, 0x1a, 0x6a, 0x5f, 0x71, 0x3b, 0x30, 0x5, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x18, 0x30, 0xb, 0x40, 0x6a, 0x23, 0xec, 0x6e, 0xe1, 0x23, 0x0, 0x97, 0x6f, 0xe, 0xcb, 0xb7, 0x58, 0x82, 0xf3, 0x75, 0x8, 0xf4, 0x7d, 0xbe, 0xb0, 0x15, 0x56, 0x77, 0x1c, 0x22, 0x93, 0x56, 0xc4, 0x2a, 0xdc, 0x70, 0xd9, 0xe6, 0xb5, 0xe9, 0xf6, 0xe0, 0x8d, 0x57, 0xcb, 0x5, 0x26, 0x6a, 0x55, 0x34, 0x87, 0x16, 0xd9, 0xf1, 0x5b, 0x53, 0x67, 0x91, 0xfb, 0xb6, 0x2e, 0x59, 0xa7, 0xf4, 0x65, 0x68, 0x77, 0x8, 0x18, - [1657692835.181249][15001:15006] CHIP:DMG: ] - [1657692835.181293][15001:15006] CHIP:DMG: 0x1 = [ - [1657692835.181422][15001:15006] 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, 0x60, 0xc5, 0x13, 0x45, 0x8f, 0x15, 0x33, 0xf6, 0x4b, 0x4f, 0x54, 0xec, 0x65, 0xa1, 0x54, 0xa9, 0xa6, 0x5f, 0x44, 0x69, 0x88, 0x6, 0x39, 0xad, 0x50, 0x45, 0x43, 0xdf, 0xcb, 0x55, 0x1a, 0xc9, 0xe3, 0x1b, 0xbf, 0x2a, 0x5e, 0x90, 0x56, 0xc1, 0x17, 0x5f, 0xa, 0x23, 0x29, 0x7e, 0x8, 0xc1, 0xed, 0xa8, 0x98, 0xf2, 0x56, 0xbf, 0x27, 0xcd, 0x5f, 0x51, 0x22, 0xf5, 0x4d, 0xdb, 0xad, 0xbe, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x30, 0x5, 0x14, 0xb8, 0x43, 0x4a, 0x31, 0x1c, 0xa3, 0xac, 0x9a, 0xc, 0x9d, 0x5c, 0x13, 0x6, 0xa1, 0xf0, 0xf3, 0x15, 0xad, 0xf8, 0x95, 0x18, 0x30, 0xb, 0x40, 0x6e, 0xe8, 0x76, 0x26, 0xe9, 0x79, 0x12, 0x8, 0xb, 0x84, 0x98, 0x8a, 0x77, 0x77, 0xc2, 0x72, 0xb8, 0xcf, 0x2b, 0x3f, 0x43, 0xc3, 0x64, 0x8e, 0x59, 0x40, 0x31, 0xc0, 0xe4, 0xc, 0xd0, 0xba, 0xee, 0xf5, 0x65, 0x84, 0xe, 0xf9, 0x5a, 0xf1, 0xb4, 0xf8, 0x86, 0x4e, 0xe9, 0x37, 0xa, 0xc0, 0x7d, 0x71, 0xb4, 0x22, 0x9b, 0x5b, 0x86, 0x10, 0xb, 0xc3, 0x18, 0x65, 0xa6, 0x6, 0xce, 0x1e, 0x18, + "DUT side: + sudo ./chip-all-clusters-app --wifi + + TH side: + ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 + + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success" + + + After commissioning DUT to TH1"s fabric read nocs + + Verify the NOC and ICAC value during commissioning in TH Log + + NOC and ICAC value during commissioning + + [1658819330.489559][8295:8300] CHIP:DMG: InvokeRequestMessage = + [1658819330.489587][8295:8300] CHIP:DMG: { + [1658819330.489612][8295:8300] CHIP:DMG: suppressResponse = false, + [1658819330.489701][8295:8300] CHIP:DMG: timedRequest = false, + [1658819330.489730][8295:8300] CHIP:DMG: InvokeRequests = + [1658819330.489767][8295:8300] CHIP:DMG: [ + [1658819330.489795][8295:8300] CHIP:DMG: CommandDataIB = + [1658819330.489825][8295:8300] CHIP:DMG: { + [1658819330.489854][8295:8300] CHIP:DMG: CommandPathIB = + [1658819330.489888][8295:8300] CHIP:DMG: { + [1658819330.489923][8295:8300] CHIP:DMG: EndpointId = 0x0, + [1658819330.489962][8295:8300] CHIP:DMG: ClusterId = 0x3e, + [1658819330.489999][8295:8300] CHIP:DMG: CommandId = 0x6, + [1658819330.490033][8295:8300] CHIP:DMG: }, + [1658819330.490069][8295:8300] CHIP:DMG: + [1658819330.490099][8295:8300] CHIP:DMG: CommandFields = + [1658819330.490133][8295:8300] CHIP:DMG: { + [1658819330.490169][8295:8300] CHIP:DMG: 0x0 = [ + [1658819330.490291][8295:8300] 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, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x94, 0x5b, 0xb6, 0xd3, 0x14, 0x0, 0x45, 0x35, 0xf0, 0x64, 0x25, 0x7d, 0xb7, 0x8a, 0x56, 0x9d, 0x5, 0x0, 0x56, 0xec, 0xbc, 0xa9, 0xb5, 0xdc, 0xfa, 0xa4, 0x93, 0x28, 0x14, 0x1d, 0x7, 0x3a, 0xc9, 0x7d, 0x1c, 0x9d, 0x21, 0x56, 0xf4, 0xec, 0xc8, 0x7d, 0x3c, 0x87, 0x6f, 0x51, 0xa3, 0x65, 0x89, 0x92, 0x4d, 0xcf, 0xd9, 0x11, 0x71, 0xab, 0x4e, 0x99, 0xcb, 0x90, 0x72, 0xb5, 0x45, 0xa9, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xf2, 0x2d, 0x91, 0xb, 0xf2, 0xb1, 0xce, 0xdb, 0x60, 0x10, 0x23, 0x97, 0x31, 0xfd, 0x43, 0xc4, 0x40, 0x46, 0x5a, 0x99, 0x30, 0x5, 0x14, 0xf9, 0x94, 0xad, 0x9e, 0x2b, 0x0, 0x6b, 0xa9, 0xc1, 0x27, 0x6d, 0x20, 0xcb, 0x27, 0xa4, 0xf1, 0x21, 0x2b, 0xc9, 0x8b, 0x18, 0x30, 0xb, 0x40, 0xa1, 0xd2, 0x49, 0x5c, 0xa, 0xc1, 0x58, 0x12, 0x71, 0xd, 0x1a, 0x37, 0xe4, 0x7b, 0x3d, 0xbd, 0x19, 0xe, 0xe8, 0x86, 0xa8, 0x49, 0x4, 0x8, 0x7b, 0x20, 0x94, 0xfa, 0x21, 0xe8, 0x5b, 0xbf, 0x58, 0xc, 0x7d, 0x93, 0x4b, 0x89, 0x88, 0x78, 0xeb, 0xf2, 0x9, 0xf9, 0x3e, 0x6, 0xf7, 0x85, 0xbe, 0xa2, 0xa1, 0xf, 0xc8, 0x40, 0x64, 0xd5, 0xdf, 0x97, 0x6f, 0xef, 0x2c, 0xad, 0xbc, 0xcc, 0x18, + [1658819330.490363][8295:8300] CHIP:DMG: ] (241 bytes) + [1658819330.490403][8295:8300] CHIP:DMG: 0x1 = [ + [1658819330.490521][8295:8300] 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, 0x5c, 0x9d, 0x56, 0x1f, 0x53, 0xaa, 0xb6, 0xd9, 0x47, 0x3d, 0xf2, 0xee, 0x51, 0x70, 0xb0, 0x33, 0x32, 0xbc, 0x38, 0xef, 0x46, 0x18, 0x42, 0xc3, 0x79, 0x54, 0xce, 0x99, 0xad, 0xc4, 0xd5, 0x5b, 0x27, 0x2b, 0x3e, 0x54, 0x5b, 0xb9, 0xfb, 0x24, 0x40, 0xcb, 0x71, 0x2b, 0xa7, 0xb, 0xdd, 0xe2, 0x7a, 0x31, 0x8b, 0xee, 0x13, 0x48, 0xd5, 0xf8, 0xc2, 0xd2, 0xc9, 0x8c, 0xdb, 0xad, 0x63, 0xc9, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xf9, 0x94, 0xad, 0x9e, 0x2b, 0x0, 0x6b, 0xa9, 0xc1, 0x27, 0x6d, 0x20, 0xcb, 0x27, 0xa4, 0xf1, 0x21, 0x2b, 0xc9, 0x8b, 0x30, 0x5, 0x14, 0x90, 0x40, 0xfb, 0xaf, 0x6f, 0x57, 0xd4, 0xe3, 0x21, 0x88, 0xcd, 0x36, 0xd, 0xd4, 0x95, 0x92, 0x72, 0x74, 0x5d, 0x76, 0x18, 0x30, 0xb, 0x40, 0xc5, 0xef, 0xcc, 0x41, 0xa1, 0x8a, 0x4f, 0xad, 0x6b, 0x1d, 0xae, 0x6b, 0x12, 0x67, 0x5d, 0xc, 0x3f, 0xf1, 0x69, 0x7, 0x28, 0xc3, 0x1d, 0x1e, 0x95, 0x62, 0x95, 0x11, 0xf2, 0x3a, 0x43, 0x36, 0xdb, 0x53, 0x92, 0xe1, 0xfe, 0xf0, 0x5e, 0xf1, 0xba, 0x1d, 0xa4, 0x60, 0x80, 0xa2, 0x9b, 0xab, 0x60, 0xec, 0x61, 0x3d, 0xef, 0x3, 0x1e, 0x2e, 0xd9, 0x85, 0xb, 0xb2, 0xe3, 0xb4, 0x8b, 0x11, 0x18, + [1658819330.490592][8295:8300] CHIP:DMG: ] (231 bytes) disabled: true - label: "Save TH1s Fabric ID as FabricID1" @@ -60,6 +89,8 @@ tests: 1. ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 on TH + Verify in TH2 Log: + CHIP:IN: Sending encrypted msg 0xaaaad3464d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5805157 msec [1635691999.946536][3822:3827] CHIP:DMG: ICR moving to [CommandSen] [1635691999.946586][3822:3827] CHIP:CTL: Manual pairing code: [35407541839] @@ -75,18 +106,33 @@ tests: Verify whether you got below message in the log of TH Device commissioning completed with success - After commissioning DUT to TH2's fabric read nocs - - Verify in TH Log: - NOC and ICAC value during commissioning is - - [1657692964.637112][93108:93113] CHIP:DMG: CommandFields = - [1657692964.637117][93108:93113] CHIP:DMG: { - [1657692964.637123][93108:93113] CHIP:DMG: 0x0 = [ - [1657692964.637158][93108:93113] 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, 0xc9, 0xc4, 0x4e, 0x8c, 0xbe, 0xed, 0xd4, 0x9c, 0x8f, 0x72, 0x3d, 0x77, 0x5a, 0x7, 0xad, 0x1d, 0xab, 0xe2, 0x79, 0x75, 0x5b, 0x5f, 0xfd, 0x34, 0xa7, 0x73, 0xed, 0x96, 0x1a, 0x88, 0xae, 0x37, 0x4c, 0xde, 0x63, 0x99, 0xd5, 0xe, 0xcd, 0x11, 0x1b, 0xd8, 0x9a, 0xcb, 0x6e, 0x36, 0x6a, 0x1f, 0xb8, 0x89, 0xc8, 0x61, 0x8e, 0xf1, 0xa, 0x19, 0xb1, 0xfb, 0xb9, 0x9b, 0x5b, 0x12, 0x66, 0x69, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x47, 0x72, 0x3f, 0x5b, 0xaf, 0x16, 0x94, 0x4c, 0x3e, 0x45, 0x92, 0x26, 0xc9, 0x2f, 0x75, 0x48, 0x89, 0x94, 0x9b, 0x3d, 0x30, 0x5, 0x14, 0xa1, 0xe8, 0xff, 0x87, 0x3b, 0xd2, 0x8c, 0x5a, 0xb6, 0x89, 0xc0, 0x37, 0xc3, 0x19, 0x61, 0x99, 0xf6, 0x23, 0x50, 0xb6, 0x18, 0x30, 0xb, 0x40, 0x4f, 0x79, 0x94, 0x7, 0x18, 0x3c, 0x59, 0xb5, 0xcc, 0xf2, 0xa1, 0xa4, 0x2c, 0xa4, 0x40, 0xda, 0xea, 0x70, 0x92, 0x66, 0x88, 0x92, 0x78, 0x78, 0x6a, 0xa2, 0x73, 0x83, 0x13, 0x96, 0x16, 0xe, 0x72, 0xcc, 0x90, 0x77, 0xc0, 0x68, 0xc7, 0xd, 0xb0, 0x5f, 0x6f, 0x3e, 0x71, 0x29, 0xe7, 0x29, 0x39, 0xc8, 0x78, 0xd3, 0xa3, 0x2f, 0x5c, 0xa0, 0x62, 0xe0, 0xc7, 0xba, 0x48, 0x91, 0xa, 0xd6, 0x18, - [1657692964.637175][93108:93113] CHIP:DMG: ] - [1657692964.637180][93108:93113] CHIP:DMG: 0x1 = [ - [1657692964.637214][93108:93113] 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, 0xb4, 0xc, 0xdd, 0x16, 0x23, 0xfe, 0xe0, 0xe5, 0xd8, 0xfa, 0x1a, 0x2d, 0x9d, 0xf6, 0x13, 0xff, 0xe2, 0xc, 0x5b, 0xb9, 0xf5, 0x60, 0x25, 0x2c, 0x6, 0x13, 0x5c, 0x29, 0x67, 0xce, 0xee, 0xa0, 0x7c, 0x4b, 0x9, 0xf, 0x6c, 0x9b, 0xe, 0x4f, 0xe9, 0xa5, 0xa4, 0xb, 0x17, 0xa4, 0x1b, 0x6a, 0xae, 0xc4, 0x51, 0xfc, 0xed, 0x4b, 0xd4, 0x19, 0x2c, 0x7a, 0xe5, 0x58, 0xa4, 0x75, 0x48, 0x20, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xa1, 0xe8, 0xff, 0x87, 0x3b, 0xd2, 0x8c, 0x5a, 0xb6, 0x89, 0xc0, 0x37, 0xc3, 0x19, 0x61, 0x99, 0xf6, 0x23, 0x50, 0xb6, 0x30, 0x5, 0x14, 0x49, 0xfa, 0xf8, 0x8, 0x14, 0x7a, 0xeb, 0x16, 0xc5, 0x5, 0x6d, 0x50, 0xbe, 0x51, 0x98, 0x2e, 0xa, 0xcf, 0x54, 0xad, 0x18, 0x30, 0xb, 0x40, 0x34, 0xa4, 0x14, 0x92, 0xeb, 0x94, 0x9b, 0xb9, 0x19, 0x28, 0x44, 0x93, 0xae, 0x12, 0xae, 0xd5, 0x1d, 0xa7, 0x71, 0xe5, 0xa5, 0xea, 0xa5, 0xbf, 0xee, 0x90, 0x4e, 0x90, 0xea, 0xa9, 0x1, 0xf7, 0xa9, 0xb0, 0xae, 0x5c, 0xfa, 0x82, 0xbf, 0xe4, 0x71, 0x8e, 0x82, 0x75, 0x29, 0x64, 0x18, 0x23, 0xd7, 0x5e, 0xc1, 0xea, 0x2d, 0xeb, 0x6d, 0x63, 0x94, 0x78, 0x33, 0x91, 0xda, 0xcf, 0x99, 0xd6, 0x18, + After commissioning DUT to TH2"s fabric read nocs + + Verify the NOC and ICAC value during commissioning in TH2 Log + + [1658819526.011801][8379:8385] CHIP:DMG: InvokeRequestMessage = + [1658819526.011835][8379:8385] CHIP:DMG: { + [1658819526.011869][8379:8385] CHIP:DMG: suppressResponse = false, + [1658819526.011907][8379:8385] CHIP:DMG: timedRequest = false, + [1658819526.011943][8379:8385] CHIP:DMG: InvokeRequests = + [1658819526.011990][8379:8385] CHIP:DMG: [ + [1658819526.012025][8379:8385] CHIP:DMG: CommandDataIB = + [1658819526.012065][8379:8385] CHIP:DMG: { + [1658819526.012102][8379:8385] CHIP:DMG: CommandPathIB = + [1658819526.012148][8379:8385] CHIP:DMG: { + [1658819526.012195][8379:8385] CHIP:DMG: EndpointId = 0x0, + [1658819526.012245][8379:8385] CHIP:DMG: ClusterId = 0x3e, + [1658819526.012298][8379:8385] CHIP:DMG: CommandId = 0x6, + [1658819526.012340][8379:8385] CHIP:DMG: }, + [1658819526.012387][8379:8385] CHIP:DMG: + [1658819526.012426][8379:8385] CHIP:DMG: CommandFields = + [1658819526.012470][8379:8385] CHIP:DMG: { + [1658819526.012516][8379:8385] CHIP:DMG: 0x0 = [ + [1658819526.012680][8379:8385] 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, 0xff, 0x8d, 0x28, 0xdb, 0x36, 0x90, 0x2f, 0x67, 0x4f, 0x4b, 0xf3, 0x12, 0x98, 0x5c, 0xde, 0xa5, 0x22, 0x31, 0xe0, 0xb3, 0xc4, 0x79, 0x5e, 0x54, 0xe3, 0xef, 0xc0, 0xd6, 0xde, 0x9a, 0xed, 0x14, 0xd, 0xef, 0x65, 0x3e, 0xde, 0x91, 0x60, 0xb1, 0xb, 0xf4, 0x46, 0xd6, 0xe2, 0xfa, 0xc5, 0xdb, 0xd3, 0x8b, 0xf8, 0x55, 0x97, 0xe0, 0x95, 0x13, 0x6a, 0x20, 0x9f, 0x9, 0x90, 0xe5, 0x43, 0x94, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x4f, 0xf, 0x8, 0xea, 0x1f, 0x54, 0x14, 0xc3, 0x24, 0x91, 0x40, 0x19, 0xeb, 0x74, 0xca, 0x31, 0xc9, 0x81, 0x9a, 0xc6, 0x30, 0x5, 0x14, 0xff, 0x5d, 0x8, 0x5, 0x83, 0xb5, 0xb1, 0x32, 0xc4, 0x5f, 0x80, 0xb, 0x8d, 0x2e, 0x18, 0x4e, 0x7d, 0x59, 0x9f, 0x51, 0x18, 0x30, 0xb, 0x40, 0xd4, 0x34, 0xa0, 0xd9, 0xda, 0x1c, 0x7d, 0x61, 0x78, 0x4d, 0x8b, 0xcb, 0xee, 0x3e, 0x71, 0x79, 0xa4, 0x81, 0x84, 0x99, 0x44, 0x2d, 0xd2, 0x39, 0x19, 0xa8, 0x19, 0x33, 0xc0, 0x17, 0x6, 0x73, 0xff, 0x33, 0xd0, 0xe8, 0x65, 0x43, 0x12, 0x38, 0x8e, 0xe7, 0x17, 0x16, 0x1d, 0xf5, 0xe1, 0xb6, 0xe1, 0x44, 0x2, 0x38, 0x6, 0x2, 0xb8, 0x73, 0xd5, 0x51, 0x17, 0x4b, 0x2b, 0xa0, 0xd8, 0xe7, 0x18, + [1658819526.012788][8379:8385] CHIP:DMG: ] (241 bytes) + [1658819526.012832][8379:8385] CHIP:DMG: 0x1 = [ + [1658819526.012982][8379:8385] 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, 0xa5, 0x8c, 0x57, 0xe9, 0xd8, 0x91, 0x91, 0x52, 0xde, 0x3, 0xda, 0xc9, 0x91, 0x15, 0x5d, 0x75, 0xa, 0x5d, 0x8c, 0x93, 0x9, 0x3d, 0x75, 0xe1, 0x66, 0xe1, 0xc5, 0xcf, 0x86, 0x38, 0x1e, 0xa9, 0x26, 0xe1, 0x8, 0xbf, 0xe7, 0x8d, 0xad, 0x9f, 0xff, 0xb4, 0x36, 0x3a, 0x70, 0x6d, 0xa8, 0x8b, 0x9f, 0x3b, 0x8e, 0xf5, 0xd8, 0xf, 0x42, 0x8f, 0x44, 0xea, 0xe2, 0x64, 0x72, 0xc8, 0x1b, 0x47, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xff, 0x5d, 0x8, 0x5, 0x83, 0xb5, 0xb1, 0x32, 0xc4, 0x5f, 0x80, 0xb, 0x8d, 0x2e, 0x18, 0x4e, 0x7d, 0x59, 0x9f, 0x51, 0x30, 0x5, 0x14, 0x30, 0x36, 0xaa, 0xd3, 0xb8, 0xed, 0xbf, 0x60, 0x75, 0x36, 0x4a, 0x85, 0xa9, 0x6f, 0x9a, 0x5, 0x83, 0xee, 0xc4, 0x97, 0x18, 0x30, 0xb, 0x40, 0x14, 0xbe, 0xaf, 0x33, 0xc7, 0xb5, 0x47, 0x85, 0x7a, 0xc3, 0x6a, 0x17, 0xad, 0x1c, 0xdd, 0x4d, 0x90, 0xd7, 0x4, 0x58, 0x89, 0xc5, 0xb5, 0x76, 0xca, 0x64, 0x4c, 0x78, 0xf0, 0x21, 0xb6, 0xc2, 0x14, 0x98, 0xed, 0xdc, 0x43, 0x73, 0xa, 0xfe, 0xad, 0x6a, 0xf5, 0xa9, 0x45, 0x72, 0x8d, 0x1c, 0x4f, 0x7d, 0xf7, 0xee, 0x37, 0xc3, 0x13, 0xd5, 0xae, 0x27, 0xe7, 0x8f, 0x5, 0x9, 0xdb, 0x99, 0x18, + [1658819526.013069][8379:8385] CHIP:DMG: ] (231 bytes) disabled: true - label: "Save TH2s Fabric ID as FabricID2" @@ -97,30 +143,50 @@ tests: - label: "From TH1 read the CurrentFabricIndex" PICS: OPCREDS.S.A0005 verification: | - Verify in TH Log - ./chip-tool operationalcredentials read current-fabric-index 1 0 + Verify the current fabric index in TH Log + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2445178920 CHIP:TOO: CurrentFabricIndex: 1 CHIP:EM: Sending Standalone Ack for MessageCounter:7141893 on exchange 26909i disabled: true + - label: "Verify that CurrentFabricIndex = FabricIndex_TH1" + verification: | + Verify that CurrentFabricIndex = FabricIndex_TH1 + disabled: true + - label: "From TH1 read the entire NOCs List attribute with a non-fabric-filtered read" verification: | ./chip-tool operationalcredentials read nocs 1 0 - Verify in TH Log + Verify the NOCs List in TH Log - [1657693116.110511][15039:15044] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693116.110594][15039:15044] CHIP:TOO: NOCs: 1 entries - [1657693116.110673][15039:15044] CHIP:TOO: [1]: { - [1657693116.110713][15039:15044] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 - [1657693116.110767][15039:15044] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 - [1657693116.110810][15039:15044] CHIP:TOO: FabricIndex: 1 - [1657693116.110834][15039:15044] CHIP:TOO: } + [1658819541.245848][8318:8323] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819541.245960][8318:8323] CHIP:TOO: NOCs: 1 entries + [1658819541.246062][8318:8323] CHIP:TOO: [1]: { + [1658819541.246104][8318:8323] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + [1658819541.246163][8318:8323] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A370624130118240701240801300941045C9D561F53AAB6D9473DF2EE5170B03332BC38EF461842C37954CE99ADC4D55B272B3E545BB9FB2440CB712BA70BDDE27A318BEE1348D5F8C2D2C98CDBAD63C9370A3501290118240260300414F994AD9E2B006BA9C1276D20CB27A4F1212BC98B3005149040FBAF6F57D4E32188CD360DD4959272745D7618300B40C5EFCC41A18A4FAD6B1DAE6B12675D0C3FF1690728C31D1E95629511F23A4336DB5392E1FEF05EF1BA1DA46080A29BAB60EC613DEF031E2ED9850BB2E3B48B1118 + [1658819541.246198][8318:8323] CHIP:TOO: FabricIndex: 1 + [1658819541.246224][8318:8323] CHIP:TOO: } + disabled: true + + - label: + "Verify that there is only data for the entry whose FabricIndex field + is equal to FabricIndex_TH1" + verification: | + Verify that Noc"s list has only data for FabricIndex_TH1 + + [1658819541.245848][8318:8323] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819541.245960][8318:8323] CHIP:TOO: NOCs: 1 entries + [1658819541.246062][8318:8323] CHIP:TOO: [1]: { + [1658819541.246104][8318:8323] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + [1658819541.246163][8318:8323] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A370624130118240701240801300941045C9D561F53AAB6D9473DF2EE5170B03332BC38EF461842C37954CE99ADC4D55B272B3E545BB9FB2440CB712BA70BDDE27A318BEE1348D5F8C2D2C98CDBAD63C9370A3501290118240260300414F994AD9E2B006BA9C1276D20CB27A4F1212BC98B3005149040FBAF6F57D4E32188CD360DD4959272745D7618300B40C5EFCC41A18A4FAD6B1DAE6B12675D0C3FF1690728C31D1E95629511F23A4336DB5392E1FEF05EF1BA1DA46080A29BAB60EC613DEF031E2ED9850BB2E3B48B1118 + [1658819541.246198][8318:8323] CHIP:TOO: FabricIndex: 1 + [1658819541.246224][8318:8323] CHIP:TOO: } disabled: true - label: @@ -129,30 +195,61 @@ tests: verification: | ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 - Verify in TH Log + Verify the NOCs List in TH Log - [1657693140.680045][15047:15052] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693140.680128][15047:15052] CHIP:TOO: NOCs: 1 entries - [1657693140.680206][15047:15052] CHIP:TOO: [1]: { - [1657693140.680245][15047:15052] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 - [1657693140.680309][15047:15052] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 - [1657693140.680341][15047:15052] CHIP:TOO: FabricIndex: 1 - [1657693140.680366][15047:15052] CHIP:TOO: } + [1658819590.504973][8327:8332] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819590.505058][8327:8332] CHIP:TOO: NOCs: 1 entries + [1658819590.505131][8327:8332] CHIP:TOO: [1]: { + [1658819590.505173][8327:8332] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + [1658819590.505232][8327:8332] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A370624130118240701240801300941045C9D561F53AAB6D9473DF2EE5170B03332BC38EF461842C37954CE99ADC4D55B272B3E545BB9FB2440CB712BA70BDDE27A318BEE1348D5F8C2D2C98CDBAD63C9370A3501290118240260300414F994AD9E2B006BA9C1276D20CB27A4F1212BC98B3005149040FBAF6F57D4E32188CD360DD4959272745D7618300B40C5EFCC41A18A4FAD6B1DAE6B12675D0C3FF1690728C31D1E95629511F23A4336DB5392E1FEF05EF1BA1DA46080A29BAB60EC613DEF031E2ED9850BB2E3B48B1118 + [1658819590.505266][8327:8332] CHIP:TOO: FabricIndex: 1 + [1658819590.505292][8327:8332] CHIP:TOO: } + disabled: true + + - label: + "Verify that there is only data for the entry whose FabricIndex field + is equal to FabricIndex_TH1" + verification: | + Verify that Noc"s list has only data for FabricIndex_TH1 + + [1658819590.504973][8327:8332] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819590.505058][8327:8332] CHIP:TOO: NOCs: 1 entries + [1658819590.505131][8327:8332] CHIP:TOO: [1]: { + [1658819590.505173][8327:8332] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + [1658819590.505232][8327:8332] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A370624130118240701240801300941045C9D561F53AAB6D9473DF2EE5170B03332BC38EF461842C37954CE99ADC4D55B272B3E545BB9FB2440CB712BA70BDDE27A318BEE1348D5F8C2D2C98CDBAD63C9370A3501290118240260300414F994AD9E2B006BA9C1276D20CB27A4F1212BC98B3005149040FBAF6F57D4E32188CD360DD4959272745D7618300B40C5EFCC41A18A4FAD6B1DAE6B12675D0C3FF1690728C31D1E95629511F23A4336DB5392E1FEF05EF1BA1DA46080A29BAB60EC613DEF031E2ED9850BB2E3B48B1118 + [1658819590.505266][8327:8332] CHIP:TOO: FabricIndex: 1 + [1658819590.505292][8327:8332] CHIP:TOO: } disabled: true - label: "Read NOCStruct values from entry at index 0" verification: | ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 - Verify in TH Log + Verify FabricIndex field equal to FabricIndex_TH1 in TH Log - [1657693140.680045][15047:15052] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693140.680128][15047:15052] CHIP:TOO: NOCs: 1 entries - [1657693140.680206][15047:15052] CHIP:TOO: [1]: { - [1657693140.680245][15047:15052] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439370A350128011824020136030402040118300414843A27FFF36C842402A9590F0975961A6A5F713B300514615818FAF5095121A4B8B0C567B0F287A4AB057B18300B406A23EC6EE12300976F0ECBB75882F37508F47DBEB01556771C229356C42ADC70D9E6B5E9F6E08D57CB05266A55348716D9F15B536791FBB62E59A7F46568770818 - [1657693140.680309][15047:15052] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410460C513458F1533F64B4F54EC65A154A9A65F4469880639AD504543DFCB551AC9E31BBF2A5E9056C1175F0A23297E08C1EDA898F256BF27CD5F5122F54DDBADBE370A3501290118240260300414615818FAF5095121A4B8B0C567B0F287A4AB057B300514B8434A311CA3AC9A0C9D5C1306A1F0F315ADF89518300B406EE87626E97912080B84988A7777C272B8CF2B3F43C3648E594031C0E40CD0BAEEF565840EF95AF1B4F8864EE9370AC07D71B4229B5B86100BC31865A606CE1E18 - [1657693140.680341][15047:15052] CHIP:TOO: FabricIndex: 1 - [1657693140.680366][15047:15052] CHIP:TOO: } + [1658819590.504973][8327:8332] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819590.505058][8327:8332] CHIP:TOO: NOCs: 1 entries + [1658819590.505131][8327:8332] CHIP:TOO: [1]: { + [1658819590.505173][8327:8332] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + [1658819590.505232][8327:8332] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A370624130118240701240801300941045C9D561F53AAB6D9473DF2EE5170B03332BC38EF461842C37954CE99ADC4D55B272B3E545BB9FB2440CB712BA70BDDE27A318BEE1348D5F8C2D2C98CDBAD63C9370A3501290118240260300414F994AD9E2B006BA9C1276D20CB27A4F1212BC98B3005149040FBAF6F57D4E32188CD360DD4959272745D7618300B40C5EFCC41A18A4FAD6B1DAE6B12675D0C3FF1690728C31D1E95629511F23A4336DB5392E1FEF05EF1BA1DA46080A29BAB60EC613DEF031E2ED9850BB2E3B48B1118 + [1658819590.505266][8327:8332] CHIP:TOO: FabricIndex: 1 + [1658819590.505292][8327:8332] CHIP:TOO: } + disabled: true + + - label: + "From the NOCStruct values verify the following: ,NOC matches the NOC + sent to the DUT during commissioning process ,ICAC matches the ICAC + sent to the DUT during commissioning process from AddNOC in + pre-condition" + verification: | + Verify NOC and ICAC value in step 12 and 2 matches + + NOC value of step 12 + Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104945BB6D314004535F064257DB78A569D050056ECBCA9B5DCFAA49328141D073AC97D1C9D2156F4ECC87D3C876F51A36589924DCFD91171AB4E99CB9072B545A9370A350128011824020136030402040118300414F22D910BF2B1CEDB6010239731FD43C440465A99300514F994AD9E2B006BA9C1276D20CB27A4F1212BC98B18300B40A1D2495C0AC15812710D1A37E47B3DBD190EE886A84904087B2094FA21E85BBF580C7D934B898878EBF209F93E06F785BEA2A10FC84064D5DF976FEF2CADBCCC18 + + NOC value of Step 2 + + 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, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x94, 0x5b, 0xb6, 0xd3, 0x14, 0x0, 0x45, 0x35, 0xf0, 0x64, 0x25, 0x7d, 0xb7, 0x8a, 0x56, 0x9d, 0x5, 0x0, 0x56, 0xec, 0xbc, 0xa9, 0xb5, 0xdc, 0xfa, 0xa4, 0x93, 0x28, 0x14, 0x1d, 0x7, 0x3a, 0xc9, 0x7d, 0x1c, 0x9d, 0x21, 0x56, 0xf4, 0xec, 0xc8, 0x7d, 0x3c, 0x87, 0x6f, 0x51, 0xa3, 0x65, 0x89, 0x92, 0x4d, 0xcf, 0xd9, 0x11, 0x71, 0xab, 0x4e, 0x99, 0xcb, 0x90, 0x72, 0xb5, 0x45, 0xa9, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xf2, 0x2d, 0x91, 0xb, 0xf2, 0xb1, 0xce, 0xdb, 0x60, 0x10, 0x23, 0x97, 0x31, 0xfd, 0x43, 0xc4, 0x40, 0x46, 0x5a, 0x99, 0x30, 0x5, 0x14, 0xf9, 0x94, 0xad, 0x9e, 0x2b, 0x0, 0x6b, 0xa9, 0xc1, 0x27, 0x6d, 0x20, 0xcb, 0x27, 0xa4, 0xf1, 0x21, 0x2b, 0xc9, 0x8b, 0x18, 0x30, 0xb, 0x40, 0xa1, 0xd2, 0x49, 0x5c, 0xa, 0xc1, 0x58, 0x12, 0x71, 0xd, 0x1a, 0x37, 0xe4, 0x7b, 0x3d, 0xbd, 0x19, 0xe, 0xe8, 0x86, 0xa8, 0x49, 0x4, 0x8, 0x7b, 0x20, 0x94, 0xfa, 0x21, 0xe8, 0x5b, 0xbf, 0x58, 0xc, 0x7d, 0x93, 0x4b, 0x89, 0x88, 0x78, 0xeb, 0xf2, 0x9, 0xf9, 0x3e, 0x6, 0xf7, 0x85, 0xbe, 0xa2, 0xa1, 0xf, 0xc8, 0x40, 0x64, 0xd5, 0xdf, 0x97, 0x6f, 0xef, 0x2c, 0xad, 0xbc, 0xcc, 0x18, disabled: true - label: @@ -161,7 +258,26 @@ tests: verification: | ./chip-tool operationalcredentials read fabrics 1 0 - Verify in TH Log + Verify FabricIndex = FabricIndex_TH1 in TH Log + + [1657693240.722099][15129:15134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 908345149 + [1657693240.722200][15129:15134] CHIP:TOO: Fabrics: 1 entries + [1657693240.722273][15129:15134] CHIP:TOO: [1]: { + [1657693240.722316][15129:15134] CHIP:TOO: RootPublicKey: 04038A93AE14428E9179C2ACC3BA1522D4D19BC20A3203BE97FEC0BE47EBC6CCCD4AD5F7B1CE0A02F85FF1B14216FAFCA034B3B312C16B0517267804D5B03582EF + [1657693240.722368][15129:15134] CHIP:TOO: VendorId: 65521 + [1657693240.722401][15129:15134] CHIP:TOO: FabricId: 1 + [1657693240.722431][15129:15134] CHIP:TOO: NodeId: 1 + [1657693240.722462][15129:15134] CHIP:TOO: Label: + [1657693240.722492][15129:15134] CHIP:TOO: FabricIndex: 1 + [1657693240.722522][15129:15134] CHIP:TOO: } + disabled: true + + - label: + "Verify that TH1 is able to read the FabricDescriptorStruct values + ,Verify that Fabrics list does not have any entry as FabricID = + FabricID2" + verification: | + Verify the FabricDescriptorStruct values has no entry og FabricID2 [1657693240.722099][15129:15134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 908345149 [1657693240.722200][15129:15134] CHIP:TOO: Fabrics: 1 entries @@ -179,28 +295,49 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 2 0 - Verify in TH Log + Verify current fabric index in TH2 Log CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2445178920 CHIP:TOO: CurrentFabricIndex: 2 CHIP:EM: Sending Standalone Ack for MessageCounter:8900122 on exchange 26519i disabled: true + - label: "Verify that CurrentFabricIndex = FabricIndex_TH2" + verification: | + Verify that CurrentFabricIndex = FabricIndex_TH2 + disabled: true + - label: "From TH2 read the entire NOCs List attribute with a non-fabric-filtered read" verification: | ./chip-tool operationalcredentials read nocs 2 0 - Verify in TH Log - [1657693277.401266][93213:93218] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693277.401332][93213:93218] CHIP:TOO: NOCs: 1 entries - [1657693277.401428][93213:93218] CHIP:TOO: [1]: { - [1657693277.401470][93213:93218] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 - [1657693277.401534][93213:93218] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 - [1657693277.401566][93213:93218] CHIP:TOO: FabricIndex: 2 - [1657693277.401581][93213:93218] CHIP:TOO: } + Verify the NOCs List in TH2 Log + + [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries + [1658819643.546258][8397:8402] CHIP:TOO: [1]: { + [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 + [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 + [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 + [1658819643.546478][8397:8402] CHIP:TOO: } + disabled: true + + - label: + "Verify that there is only data for the entry whose FabricIndex field + is equal to FabricIndex_TH2" + verification: | + Verify that Noc"s list has only data for FabricIndex_TH2 + + [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries + [1658819643.546258][8397:8402] CHIP:TOO: [1]: { + [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 + [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 + [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 + [1658819643.546478][8397:8402] CHIP:TOO: } disabled: true - label: @@ -209,28 +346,59 @@ tests: verification: | ./chip-tool operationalcredentials read nocs 2 0 --fabric-filtered 1 - Verify in TH Log - [1657693320.664710][93225:93230] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693320.664809][93225:93230] CHIP:TOO: NOCs: 1 entries - [1657693320.664889][93225:93230] CHIP:TOO: [1]: { - [1657693320.664942][93225:93230] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 - [1657693320.665017][93225:93230] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 - [1657693320.665057][93225:93230] CHIP:TOO: FabricIndex: 2 - [1657693320.665079][93225:93230] CHIP:TOO: } + Verify the NOCs List in TH2 Log + + [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries + [1658819643.546258][8397:8402] CHIP:TOO: [1]: { + [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 + [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 + [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 + [1658819643.546478][8397:8402] CHIP:TOO: } + disabled: true + + - label: + "Verify that there is only data for the entry whose FabricIndex field + is equal to FabricIndex_TH2" + verification: | + Verify that Noc"s list has only data for FabricIndex_TH2 + + [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries + [1658819643.546258][8397:8402] CHIP:TOO: [1]: { + [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 + [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 + [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 + [1658819643.546478][8397:8402] CHIP:TOO: } disabled: true - label: "Read NOCStruct values from entry at index 1" verification: | ./chip-tool operationalcredentials read nocs 2 0 - Verify in TH Log + Verify FabricIndex = FabricIndex_TH2 in TH2 Log + + [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 + [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries + [1658819643.546258][8397:8402] CHIP:TOO: [1]: { + [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 + [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 + [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 + [1658819643.546478][8397:8402] CHIP:TOO: } + disabled: true + + - label: + "From the NOCStruct values verify the following: NOC matches the NOC + sent to the DUT during commissioning process,ICAC matches the ICAC + sent to the DUT during commissioning process from AddNOC in + pre-condition" + verification: | + Verify the value of NOC and ICAC are same in step 22 and 4 are same + + Step 22 Log: + Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 - [1657693277.401266][93213:93218] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 908345149 - [1657693277.401332][93213:93218] CHIP:TOO: NOCs: 1 entries - [1657693277.401428][93213:93218] CHIP:TOO: [1]: { - [1657693277.401470][93213:93218] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104C9C44E8CBEEDD49C8F723D775A07AD1DABE279755B5FFD34A773ED961A88AE374CDE6399D50ECD111BD89ACB6E366A1FB889C8618EF10A19B1FBB99B5B126669370A35012801182402013603040204011830041447723F5BAF16944C3E459226C92F754889949B3D300514A1E8FF873BD28C5AB689C037C3196199F62350B618300B404F799407183C59B5CCF2A1A42CA440DAEA709266889278786AA273831396160E72CC9077C068C70DB05F6F3E7129E72939C878D3A32F5CA062E0C7BA48910AD618 - [1657693277.401534][93213:93218] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B40CDD1623FEE0E5D8FA1A2D9DF613FFE20C5BB9F560252C06135C2967CEEEA07C4B090F6C9B0E4FE9A5A40B17A41B6AAEC451FCED4BD4192C7AE558A4754820370A3501290118240260300414A1E8FF873BD28C5AB689C037C3196199F62350B630051449FAF808147AEB16C5056D50BE51982E0ACF54AD18300B4034A41492EB949BB919284493AE12AED51DA771E5A5EAA5BFEE904E90EAA901F7A9B0AE5CFA82BFE4718E827529641823D75EC1EA2DEB6D6394783391DACF99D618 - [1657693277.401566][93213:93218] CHIP:TOO: FabricIndex: 2 - [1657693277.401581][93213:93218] CHIP:TOO: } + Step 4 Log + 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, 0xff, 0x8d, 0x28, 0xdb, 0x36, 0x90, 0x2f, 0x67, 0x4f, 0x4b, 0xf3, 0x12, 0x98, 0x5c, 0xde, 0xa5, 0x22, 0x31, 0xe0, 0xb3, 0xc4, 0x79, 0x5e, 0x54, 0xe3, 0xef, 0xc0, 0xd6, 0xde, 0x9a, 0xed, 0x14, 0xd, 0xef, 0x65, 0x3e, 0xde, 0x91, 0x60, 0xb1, 0xb, 0xf4, 0x46, 0xd6, 0xe2, 0xfa, 0xc5, 0xdb, 0xd3, 0x8b, 0xf8, 0x55, 0x97, 0xe0, 0x95, 0x13, 0x6a, 0x20, 0x9f, 0x9, 0x90, 0xe5, 0x43, 0x94, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x4f, 0xf, 0x8, 0xea, 0x1f, 0x54, 0x14, 0xc3, 0x24, 0x91, 0x40, 0x19, 0xeb, 0x74, 0xca, 0x31, 0xc9, 0x81, 0x9a, 0xc6, 0x30, 0x5, 0x14, 0xff, 0x5d, 0x8, 0x5, 0x83, 0xb5, 0xb1, 0x32, 0xc4, 0x5f, 0x80, 0xb, 0x8d, 0x2e, 0x18, 0x4e, 0x7d, 0x59, 0x9f, 0x51, 0x18, 0x30, 0xb, 0x40, 0xd4, 0x34, 0xa0, 0xd9, 0xda, 0x1c, 0x7d, 0x61, 0x78, 0x4d, 0x8b, 0xcb, 0xee, 0x3e, 0x71, 0x79, 0xa4, 0x81, 0x84, 0x99, 0x44, 0x2d, 0xd2, 0x39, 0x19, 0xa8, 0x19, 0x33, 0xc0, 0x17, 0x6, 0x73, 0xff, 0x33, 0xd0, 0xe8, 0x65, 0x43, 0x12, 0x38, 0x8e, 0xe7, 0x17, 0x16, 0x1d, 0xf5, 0xe1, 0xb6, 0xe1, 0x44, 0x2, 0x38, 0x6, 0x2, 0xb8, 0x73, 0xd5, 0x51, 0x17, 0x4b, 0x2b, 0xa0, 0xd8, 0xe7, 0x18, disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml index 1463163543a05d..319f77703250b6 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml @@ -13,7 +13,10 @@ # 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: 11.3.3. [TC-OPCREDS-3.3] Attribute-NOCs, Commands [DUT-Client] +name: 12.3.3. [TC-OPCREDS-3.3] Attribute-NOCs, Commands [DUT-Client] + +PICS: + - OPCREDS.C config: nodeId: 0x12344321 @@ -32,23 +35,491 @@ tests: - label: "Start the commissioning process of TH with DUT" verification: | - ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 - - TH END: + ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 --trace_decode 1 [1641381202.376419][5628:5633] CHIP:CTL: Received success response 0x3df8 sudo ./all-clusters-app --wifi - - DUT END: [1641381202.306840][4431:4431] CHIP:DL: NVS set: chip-config/regulatory-location = 0 (0x0) disabled: true + - label: "Verify that the DUT sends AttestationRequest Command to TH" + PICS: OPCREDS.C.C00.Tx + verification: | + Verify the DUT send AttestationRequest Command to TH(all-clusters-app) + + [1657778307.595402][8192:8197] CHIP:CTL: Commissioning stage next step: "SendDACCertificateRequest" -> "SendAttestationRequest" + [1657778307.595466][8192:8197] CHIP:CTL: Performing next commissioning step "SendAttestationRequest" + [1657778307.595517][8192:8197] CHIP:CTL: Sending Attestation Request to the device. + [1657778307.595568][8192:8197] CHIP:CTL: Sending Attestation request to 0xffff78000b60 device + [1657778307.595684][8192:8197] CHIP:DMG: ICR moving to [AddingComm] + [1657778307.595755][8192:8197] CHIP:DMG: ICR moving to [AddedComma] + [1657778307.596288][8192:8197] CHIP:IN: Prepared secure message 0xffff8ccc8988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 40143i with MessageCounter:181296337. + [1657778307.596388][8192:8197] CHIP:IN: Sending encrypted msg 0xffff8ccc8988 with MessageCounter:181296337 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000B2EBB8 msec + [1657778307.596863][8192:8197] CHIP:DMG: >> to BLE | 181296337 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 7643 / Exchange = 40143] + [1657778307.596952][8192:8197] CHIP:DMG: Header Flags = + [1657778307.597006][8192:8197] CHIP:DMG: { + [1657778307.597089][8192:8197] CHIP:DMG: Exchange (0x01) = + [1657778307.597142][8192:8197] CHIP:DMG: { + [1657778307.597190][8192:8197] CHIP:DMG: Initiator = true + [1657778307.597241][8192:8197] CHIP:DMG: } + [1657778307.597308][8192:8197] CHIP:DMG: } + [1657778307.597360][8192:8197] CHIP:DMG: + [1657778307.597426][8192:8197] CHIP:DMG: Encrypted Payload (94 bytes) = + [1657778307.597479][8192:8197] CHIP:DMG: { + [1657778307.597531][8192:8197] CHIP:DMG: data = 00db1d00d15cce0a9e41196dfa37634da5b2fe6edc59e3c5f5911b6ed350fd5b1eafeb716efe7da2c6a78ef40ae5394491e778c404fc584791108e44818806ec871cfa2265860edc0ef34774a4279ee2207afe4a68ae2f1520b45df66605 + [1657778307.597586][8192:8197] CHIP:DMG: buffer_ptr = 281472695099056 + [1657778307.597637][8192:8197] CHIP:DMG: } + [1657778307.597685][8192:8197] CHIP:DMG: + [1657778307.597840][8192:8197] CHIP:DMG: InvokeRequestMessage = + [1657778307.597902][8192:8197] CHIP:DMG: { + [1657778307.597957][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778307.597989][8192:8197] CHIP:DMG: timedRequest = false, + [1657778307.598016][8192:8197] CHIP:DMG: InvokeRequests = + [1657778307.598050][8192:8197] CHIP:DMG: [ + [1657778307.598091][8192:8197] CHIP:DMG: CommandDataIB = + [1657778307.598130][8192:8197] CHIP:DMG: { + [1657778307.598159][8192:8197] CHIP:DMG: CommandPathIB = + [1657778307.598193][8192:8197] CHIP:DMG: { + [1657778307.598229][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778307.598266][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778307.598302][8192:8197] CHIP:DMG: CommandId = 0x0, + [1657778307.598337][8192:8197] CHIP:DMG: }, + [1657778307.598372][8192:8197] CHIP:DMG: + [1657778307.598402][8192:8197] CHIP:DMG: CommandFields = + [1657778307.598436][8192:8197] CHIP:DMG: { + [1657778307.598472][8192:8197] CHIP:DMG: 0x0 = [ + [1657778307.598518][8192:8197] CHIP:DMG: 0x8d, 0x1f, 0x15, 0xd8, 0x1b, 0xd8, 0x1a, 0x3, 0xfe, 0x93, 0xc3, 0x58, 0x17, 0x48, 0xa9, 0x33, 0xe2, 0xfe, 0xba, 0x0, 0xfd, 0x6e, 0xc, 0xfb, 0x49, 0x13, 0xdb, 0x0, 0xca, 0x8a, 0x6a, 0xcf, + [1657778307.598555][8192:8197] CHIP:DMG: ] + [1657778307.598592][8192:8197] CHIP:DMG: }, + [1657778307.598621][8192:8197] CHIP:DMG: }, + [1657778307.598655][8192:8197] CHIP:DMG: + [1657778307.598681][8192:8197] CHIP:DMG: ], + [1657778307.598715][8192:8197] CHIP:DMG: + [1657778307.598741][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778307.598768][8192:8197] CHIP:DMG: }, + [1657778307.598793][8192:8197] CHIP:DMG: + [1657778307.598918][8192:8197] CHIP:DMG: ICR moving to [CommandSen] + [1657778307.598957][8192:8197] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information + [1657778307.599005][8192:8197] CHIP:DMG: ICR moving to [AwaitingDe] + [1657778307.685794][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778307.734042][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.734282][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.834042][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.834170][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.932290][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.932502][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.933601][8192:8197] CHIP:DMG: << from BLE | 27198690 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 43164 / Exchange = 40143] + [1657778307.933675][8192:8197] CHIP:DMG: Header Flags = + [1657778307.933714][8192:8197] CHIP:DMG: { + [1657778307.933785][8192:8197] CHIP:DMG: } + [1657778307.933822][8192:8197] CHIP:DMG: + [1657778307.933873][8192:8197] CHIP:DMG: Encrypted Payload (716 bytes) = + [1657778307.933911][8192:8197] CHIP:DMG: { + [1657778307.933948][8192:8197] CHIP:DMG: data = 009ca800e2049f01825e076c2ef5d56303eed99eb3853fe31cead002e94f20b4431a903ce9a6e5aece94cb1e3c2e2b37bce851145c9678b2b01175c366becc41a618030cc6f516f791abe826e3928b1e85a62219ff195375dc19d936df65d1127a5513bc242c65d863c74fcd05cb748d585b5340cd4eda24ac0c8ab99dedf519894be01ee1d71a2126a3b08ff07478c12592178a14b4c0095eb23d58e41ba5e42b370399fd64a7390bf8b8ae85c3479ec2b4bdadd24d00d515d2a76ab00476cb40035e0d3f50b3485c9f47a8120608a1fdfc5e981e5e66d2e39247659ef31ecacbc1b2fa65cd4999539b9424d617557b8759e8cd3843d4cdcab6b003151a0a52d743f9b9a81dd35096191d9524d72622abf358df96b5761560c18028ea5fef958672c59208fa89473be7fe8c47667244d0d447ae7193c93808943a30d19fdd4df4c25bb3bcd8b1d137b561974bcbde73d144cda6953ce05f4f7a5db1d03226eba8647ba02f6844cca300d580811f4a93004cd28fc455a2845643142c8d30932f049030b967b1c265df35f32e782f88a463d33836f1084abaa324da45839bf425250e7dd2f5848a4981bbcf833ef6e1dea958d121cf0cd4a957583159a95662142263559a9a3556d49b8a9f6ce8eec2f91331cb0b7a84e3646b8500f2d0c46be9048d156403347ac6d5b7e331efe57644689f2cbb4400c5b52263a1d6ada06bfcab1d10a27aee313520f65812d6403e962adac054207e561bf94547787bdf5d91de9be84d6eca8e32da9ae3a34b5d68da55b9efd50e625a7e798d1ca14507789ec303a33446fe6e823b29575af6b6f12637d199bfef06169262de9d5f61bc4676192a6451d38d646e8ac17258ed50facba50e6cf88de03e1b515dbf43618c8af86cc5079607bb794ddf971cfc86737d17f2c606668a996b631cc79f2e8f89c572594717431316397fdc24701f6da563caae713851d285eb9aa80600e542227b723a4e2782cafaf43c97739eec + [1657778307.934037][8192:8197] CHIP:DMG: buffer_ptr = 281472695094080 + [1657778307.934072][8192:8197] CHIP:DMG: } + [1657778307.934107][8192:8197] CHIP:DMG: + [1657778307.934360][8192:8197] CHIP:DMG: Attestation Elements (585 bytes) = + [1657778307.934402][8192:8197] CHIP:DMG: { + [1657778307.934437][8192:8197] CHIP:DMG: Certification Declaration = + [1657778307.934472][8192:8197] CHIP:DMG: { + [1657778307.936415][8192:8197] CHIP:DMG: Format Version = 1 + [1657778307.936482][8192:8197] CHIP:DMG: Vendor Id = 65521 + [1657778307.936533][8192:8197] CHIP:DMG: Product Ids = + [1657778307.936580][8192:8197] CHIP:DMG: { + [1657778307.936629][8192:8197] CHIP:DMG: Product Id = 32768 + [1657778307.936679][8192:8197] CHIP:DMG: Product Id = 32769 + [1657778307.936727][8192:8197] CHIP:DMG: Product Id = 32770 + [1657778307.936776][8192:8197] CHIP:DMG: Product Id = 32771 + [1657778307.936825][8192:8197] CHIP:DMG: Product Id = 32772 + [1657778307.936875][8192:8197] CHIP:DMG: Product Id = 32773 + [1657778307.936923][8192:8197] CHIP:DMG: Product Id = 32774 + [1657778307.936972][8192:8197] CHIP:DMG: Product Id = 32775 + [1657778307.937021][8192:8197] CHIP:DMG: Product Id = 32776 + [1657778307.937070][8192:8197] CHIP:DMG: Product Id = 32777 + [1657778307.937118][8192:8197] CHIP:DMG: Product Id = 32778 + [1657778307.937167][8192:8197] CHIP:DMG: Product Id = 32779 + [1657778307.937215][8192:8197] CHIP:DMG: Product Id = 32780 + [1657778307.937264][8192:8197] CHIP:DMG: Product Id = 32781 + [1657778307.937313][8192:8197] CHIP:DMG: Product Id = 32782 + [1657778307.937362][8192:8197] CHIP:DMG: Product Id = 32783 + [1657778307.937410][8192:8197] CHIP:DMG: Product Id = 32784 + [1657778307.937459][8192:8197] CHIP:DMG: Product Id = 32785 + [1657778307.937507][8192:8197] CHIP:DMG: Product Id = 32786 + [1657778307.937556][8192:8197] CHIP:DMG: Product Id = 32787 + [1657778307.937605][8192:8197] CHIP:DMG: Product Id = 32788 + [1657778307.937654][8192:8197] CHIP:DMG: Product Id = 32789 + [1657778307.937702][8192:8197] CHIP:DMG: Product Id = 32790 + [1657778307.937751][8192:8197] CHIP:DMG: Product Id = 32791 + [1657778307.937799][8192:8197] CHIP:DMG: Product Id = 32792 + [1657778307.937848][8192:8197] CHIP:DMG: Product Id = 32793 + [1657778307.937897][8192:8197] CHIP:DMG: Product Id = 32794 + [1657778307.937946][8192:8197] CHIP:DMG: Product Id = 32795 + [1657778307.937994][8192:8197] CHIP:DMG: Product Id = 32796 + [1657778307.938043][8192:8197] CHIP:DMG: Product Id = 32797 + [1657778307.938092][8192:8197] CHIP:DMG: Product Id = 32798 + [1657778307.938140][8192:8197] CHIP:DMG: Product Id = 32799 + [1657778307.938189][8192:8197] CHIP:DMG: Product Id = 32800 + [1657778307.938238][8192:8197] CHIP:DMG: Product Id = 32801 + [1657778307.938287][8192:8197] CHIP:DMG: Product Id = 32802 + [1657778307.938336][8192:8197] CHIP:DMG: Product Id = 32803 + [1657778307.938384][8192:8197] CHIP:DMG: Product Id = 32804 + [1657778307.938433][8192:8197] CHIP:DMG: Product Id = 32805 + [1657778307.938481][8192:8197] CHIP:DMG: Product Id = 32806 + [1657778307.938530][8192:8197] CHIP:DMG: Product Id = 32807 + [1657778307.938578][8192:8197] CHIP:DMG: Product Id = 32808 + [1657778307.938628][8192:8197] CHIP:DMG: Product Id = 32809 + [1657778307.938677][8192:8197] CHIP:DMG: Product Id = 32810 + [1657778307.938725][8192:8197] CHIP:DMG: Product Id = 32811 + [1657778307.938773][8192:8197] CHIP:DMG: Product Id = 32812 + [1657778307.938823][8192:8197] CHIP:DMG: Product Id = 32813 + [1657778307.938871][8192:8197] CHIP:DMG: Product Id = 32814 + [1657778307.938920][8192:8197] CHIP:DMG: Product Id = 32815 + [1657778307.938969][8192:8197] CHIP:DMG: Product Id = 32816 + [1657778307.939018][8192:8197] CHIP:DMG: Product Id = 32817 + [1657778307.939067][8192:8197] CHIP:DMG: Product Id = 32818 + [1657778307.939115][8192:8197] CHIP:DMG: Product Id = 32819 + [1657778307.939164][8192:8197] CHIP:DMG: Product Id = 32820 + [1657778307.939213][8192:8197] CHIP:DMG: Product Id = 32821 + [1657778307.939262][8192:8197] CHIP:DMG: Product Id = 32822 + [1657778307.939311][8192:8197] CHIP:DMG: Product Id = 32823 + [1657778307.939360][8192:8197] CHIP:DMG: Product Id = 32824 + [1657778307.939408][8192:8197] CHIP:DMG: Product Id = 32825 + [1657778307.939457][8192:8197] CHIP:DMG: Product Id = 32826 + [1657778307.939505][8192:8197] CHIP:DMG: Product Id = 32827 + [1657778307.939554][8192:8197] CHIP:DMG: Product Id = 32828 + [1657778307.939603][8192:8197] CHIP:DMG: Product Id = 32829 + [1657778307.939652][8192:8197] CHIP:DMG: Product Id = 32830 + [1657778307.939701][8192:8197] CHIP:DMG: Product Id = 32831 + [1657778307.939749][8192:8197] CHIP:DMG: Product Id = 32832 + [1657778307.939797][8192:8197] CHIP:DMG: Product Id = 32833 + [1657778307.939846][8192:8197] CHIP:DMG: Product Id = 32834 + [1657778307.939895][8192:8197] CHIP:DMG: Product Id = 32835 + [1657778307.939944][8192:8197] CHIP:DMG: Product Id = 32836 + [1657778307.939985][8192:8197] CHIP:DMG: Product Id = 32837 + [1657778307.940024][8192:8197] CHIP:DMG: Product Id = 32838 + [1657778307.940064][8192:8197] CHIP:DMG: Product Id = 32839 + [1657778307.940103][8192:8197] CHIP:DMG: Product Id = 32840 + [1657778307.940180][8192:8197] CHIP:DMG: Product Id = 32841 + [1657778307.940232][8192:8197] CHIP:DMG: Product Id = 32842 + [1657778307.940281][8192:8197] CHIP:DMG: Product Id = 32843 + [1657778307.940331][8192:8197] CHIP:DMG: Product Id = 32844 + [1657778307.940380][8192:8197] CHIP:DMG: Product Id = 32845 + [1657778307.940428][8192:8197] CHIP:DMG: Product Id = 32846 + [1657778307.940477][8192:8197] CHIP:DMG: Product Id = 32847 + [1657778307.940525][8192:8197] CHIP:DMG: Product Id = 32848 + [1657778307.940573][8192:8197] CHIP:DMG: Product Id = 32849 + [1657778307.940622][8192:8197] CHIP:DMG: Product Id = 32850 + [1657778307.940671][8192:8197] CHIP:DMG: Product Id = 32851 + [1657778307.940719][8192:8197] CHIP:DMG: Product Id = 32852 + [1657778307.940768][8192:8197] CHIP:DMG: Product Id = 32853 + [1657778307.940816][8192:8197] CHIP:DMG: Product Id = 32854 + [1657778307.940864][8192:8197] CHIP:DMG: Product Id = 32855 + [1657778307.940913][8192:8197] CHIP:DMG: Product Id = 32856 + [1657778307.940961][8192:8197] CHIP:DMG: Product Id = 32857 + [1657778307.941011][8192:8197] CHIP:DMG: Product Id = 32858 + [1657778307.941060][8192:8197] CHIP:DMG: Product Id = 32859 + [1657778307.941108][8192:8197] CHIP:DMG: Product Id = 32860 + [1657778307.941157][8192:8197] CHIP:DMG: Product Id = 32861 + [1657778307.941205][8192:8197] CHIP:DMG: Product Id = 32862 + [1657778307.941254][8192:8197] CHIP:DMG: Product Id = 32863 + [1657778307.941303][8192:8197] CHIP:DMG: Product Id = 32864 + [1657778307.941352][8192:8197] CHIP:DMG: Product Id = 32865 + [1657778307.941503][8192:8197] CHIP:DMG: Product Id = 32866 + [1657778307.941554][8192:8197] CHIP:DMG: Product Id = 32867 + [1657778307.941603][8192:8197] CHIP:DMG: } + [1657778307.941652][8192:8197] CHIP:DMG: Device Type Id = 22 + [1657778307.941706][8192:8197] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1657778307.941758][8192:8197] CHIP:DMG: Security Level = 0 + [1657778307.941807][8192:8197] CHIP:DMG: Security Information = 0 + [1657778307.941857][8192:8197] CHIP:DMG: Version Number = 9876 + [1657778307.941905][8192:8197] CHIP:DMG: Certification Type = 0 + [1657778307.941953][8192:8197] CHIP:DMG: } + [1657778307.942008][8192:8197] CHIP:DMG: Attestation Nonce (32) = 8D1F15D81BD81A03FE93C3581748A933E2FEBA00FD6E0CFB4913DB00CA8A6ACF + [1657778307.942054][8192:8197] CHIP:DMG: Timestamp = 0 + [1657778307.942099][8192:8197] CHIP:DMG: } + [1657778307.942143][8192:8197] CHIP:DMG: + [1657778307.942197][8192:8197] CHIP:DMG: + [1657778307.942281][8192:8197] CHIP:DMG: Additional Fields = + [1657778307.942330][8192:8197] CHIP:DMG: { + [1657778307.942383][8192:8197] CHIP:DMG: peer_address = BLE + [1657778307.942430][8192:8197] CHIP:DMG: } + [1657778307.942473][8192:8197] CHIP:DMG: + [1657778307.942537][8192:8197] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:27198690 on exchange 40143i + [1657778307.942592][8192:8197] CHIP:EM: Found matching exchange: 40143i, Delegate: 0xffff78003520 + [1657778307.942676][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] + [1657778307.942755][8192:8197] CHIP:DMG: InvokeResponseMessage = + [1657778307.942806][8192:8197] CHIP:DMG: { + [1657778307.942852][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778307.942878][8192:8197] CHIP:DMG: InvokeResponseIBs = + [1657778307.942911][8192:8197] CHIP:DMG: [ + [1657778307.942936][8192:8197] CHIP:DMG: InvokeResponseIB = + [1657778307.943029][8192:8197] CHIP:DMG: { + [1657778307.943058][8192:8197] CHIP:DMG: CommandDataIB = + [1657778307.943090][8192:8197] CHIP:DMG: { + [1657778307.943120][8192:8197] CHIP:DMG: CommandPathIB = + [1657778307.943158][8192:8197] CHIP:DMG: { + [1657778307.943193][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778307.943232][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778307.943269][8192:8197] CHIP:DMG: CommandId = 0x1, + [1657778307.943304][8192:8197] CHIP:DMG: }, + [1657778307.943339][8192:8197] CHIP:DMG: + [1657778307.943370][8192:8197] CHIP:DMG: CommandFields = + [1657778307.943405][8192:8197] CHIP:DMG: { + [1657778307.943440][8192:8197] CHIP:DMG: 0x0 = [ + [1657778307.943589][8192:8197] CHIP:DMG: 0x15, 0x31, 0x1, 0x1d, 0x2, 0x30, 0x82, 0x2, 0x19, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x2, 0xa0, 0x82, 0x2, 0xa, 0x30, 0x82, 0x2, 0x6, 0x2, 0x1, 0x3, 0x31, 0xd, 0x30, 0xb, 0x6, 0x9, 0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x2, 0x1, 0x30, 0x82, 0x1, 0x71, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x1, 0xa0, 0x82, 0x1, 0x62, 0x4, 0x82, 0x1, 0x5e, 0x15, 0x24, 0x0, 0x1, 0x25, 0x1, 0xf1, 0xff, 0x36, 0x2, 0x5, 0x0, 0x80, 0x5, 0x1, 0x80, 0x5, 0x2, 0x80, 0x5, 0x3, 0x80, 0x5, 0x4, 0x80, 0x5, 0x5, 0x80, 0x5, 0x6, 0x80, 0x5, 0x7, 0x80, 0x5, 0x8, 0x80, 0x5, 0x9, 0x80, 0x5, 0xa, 0x80, 0x5, 0xb, 0x80, 0x5, 0xc, 0x80, 0x5, 0xd, 0x80, 0x5, 0xe, 0x80, 0x5, 0xf, 0x80, 0x5, 0x10, 0x80, 0x5, 0x11, 0x80, 0x5, 0x12, 0x80, 0x5, 0x13, 0x80, 0x5, 0x14, 0x80, 0x5, 0x15, 0x80, 0x5, 0x16, 0x80, 0x5, 0x17, 0x80, 0x5, 0x18, 0x80, 0x5, 0x19, 0x80, 0x5, 0x1a, 0x80, 0x5, 0x1b, 0x80, 0x5, 0x1c, 0x80, 0x5, 0x1d, 0x80, 0x5, 0x1e, 0x80, 0x5, 0x1f, 0x80, 0x5, 0x20, 0x80, 0x5, 0x21, 0x80, 0x5, 0x22, 0x80, 0x5, 0x23, 0x80, 0x5, 0x24, 0x80, 0x5, 0x25, 0x80, 0x5, 0x26, 0x80, 0x5, 0x27, 0x80, 0x5, 0x28, 0x80, 0x5, 0x29, 0x80, 0x5, 0x2a, 0x80, 0x5, 0x2b, 0x80, 0x5, 0x2c, 0x80, 0x5, 0x2d, 0x80, 0x5, 0x2e, 0x80, 0x5, 0x2f, 0x80, 0x5, 0x30, 0x80, 0x5, 0x31, 0x80, 0x5, 0x32, 0x80, 0x5, 0x33, 0x80, 0x5, 0x34, 0x80, 0x5, 0x35, 0x80, 0x5, 0x36, 0x80, 0x5, 0x37, 0x80, 0x5, 0x38, 0x80, 0x5, 0x39, 0x80, 0x5, 0x3a, 0x80, 0x5, 0x3b, 0x80, 0x5, 0x3c, 0x80, 0x5, 0x3d, 0x80, 0x5, 0x3e, 0x80, 0x5, 0x3f, 0x80, 0x5, 0x40, 0x80, 0x5, 0x41, 0x80, 0x5, 0x42, 0x80, 0x5, 0x43, 0x80, 0x5, 0x44, 0x80, 0x5, 0x45, 0x80, 0x5, 0x46, 0x80, 0x5, 0x47, 0x80, 0x5, 0x48, 0x80, 0x5, 0x49, 0x80, 0x5, 0x4a, 0x80, 0x5, 0 + [1657778307.943664][8192:8197] CHIP:DMG: ] + [1657778307.943700][8192:8197] CHIP:DMG: 0x1 = [ + [1657778307.943756][8192:8197] CHIP:DMG: 0x93, 0x5b, 0xb8, 0x33, 0x3f, 0xde, 0xfc, 0xd, 0x52, 0x4c, 0x43, 0xcb, 0xf1, 0x3b, 0x4f, 0xf, 0x6c, 0x7c, 0x50, 0xe8, 0xd9, 0xf6, 0xcb, 0x67, 0x6c, 0x68, 0x65, 0xe7, 0x43, 0x93, 0xe, 0x52, 0x7c, 0x1, 0xb4, 0xe6, 0x7, 0x9b, 0x2d, 0x3e, 0xca, 0xac, 0xe3, 0xc6, 0x6, 0x4b, 0x1e, 0xd6, 0x79, 0x6a, 0xe6, 0xb8, 0xce, 0x93, 0xb4, 0xd5, 0xde, 0xff, 0xd, 0xf9, 0x75, 0xb8, 0x63, 0x8, + [1657778307.943807][8192:8197] CHIP:DMG: ] + [1657778307.943843][8192:8197] CHIP:DMG: }, + [1657778307.943875][8192:8197] CHIP:DMG: }, + [1657778307.943910][8192:8197] CHIP:DMG: + [1657778307.943939][8192:8197] CHIP:DMG: }, + [1657778307.943974][8192:8197] CHIP:DMG: + [1657778307.943999][8192:8197] CHIP:DMG: ], + [1657778307.944032][8192:8197] CHIP:DMG: + [1657778307.944057][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778307.944082][8192:8197] CHIP:DMG: }, + [1657778307.944160][8192:8197] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1657778307.944199][8192:8197] CHIP:CTL: Received Attestation Information from the device + disabled: true + + - label: "Verify that the DUT sends CertificateChainRequest Command to TH" + PICS: OPCREDS.C.C02.Tx + verification: | + Verify DUT send CertificateChainRequest Command to TH (all-clusters-app) + + [1657778306.864918][8192:8197] CHIP:CTL: Sending Certificate Chain request to 0xffff78000b60 device + [1657778306.865059][8192:8197] CHIP:DMG: ICR moving to [AddingComm] + [1657778306.865316][8192:8197] CHIP:DMG: ICR moving to [AddedComma] + [1657778306.865857][8192:8197] CHIP:IN: Prepared secure message 0xffff8ccc89b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 40141i with MessageCounter:181296335. + [1657778306.865956][8192:8197] CHIP:IN: Sending encrypted msg 0xffff8ccc89b8 with MessageCounter:181296335 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000B2E8DD msec + [1657778306.866442][8192:8197] CHIP:DMG: >> to BLE | 181296335 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 7643 / Exchange = 40141] + [1657778306.866533][8192:8197] CHIP:DMG: Header Flags = + [1657778306.866587][8192:8197] CHIP:DMG: { + [1657778306.866669][8192:8197] CHIP:DMG: Exchange (0x01) = + [1657778306.866723][8192:8197] CHIP:DMG: { + [1657778306.866791][8192:8197] CHIP:DMG: Initiator = true + [1657778306.866844][8192:8197] CHIP:DMG: } + [1657778306.866919][8192:8197] CHIP:DMG: } + [1657778306.866946][8192:8197] CHIP:DMG: + [1657778306.866990][8192:8197] CHIP:DMG: Encrypted Payload (62 bytes) = + [1657778306.867085][8192:8197] CHIP:DMG: { + [1657778306.867114][8192:8197] CHIP:DMG: data = 00db1d00cf5cce0ad858b96c9ddd6fd789b65304d9b51b8ed1281582a8f6a42d042f5b23a03b17cba47b82664d2eeed12ce8d1dcdf53e5bbaa8d2f399ef3 + [1657778306.867141][8192:8197] CHIP:DMG: buffer_ptr = 281472695086464 + [1657778306.867177][8192:8197] CHIP:DMG: } + [1657778306.867202][8192:8197] CHIP:DMG: + [1657778306.867290][8192:8197] CHIP:DMG: InvokeRequestMessage = + [1657778306.867334][8192:8197] CHIP:DMG: { + [1657778306.867362][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778306.867404][8192:8197] CHIP:DMG: timedRequest = false, + [1657778306.867434][8192:8197] CHIP:DMG: InvokeRequests = + [1657778306.867481][8192:8197] CHIP:DMG: [ + [1657778306.867512][8192:8197] CHIP:DMG: CommandDataIB = + [1657778306.867555][8192:8197] CHIP:DMG: { + [1657778306.867587][8192:8197] CHIP:DMG: CommandPathIB = + [1657778306.867634][8192:8197] CHIP:DMG: { + [1657778306.867672][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778306.867723][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778306.867773][8192:8197] CHIP:DMG: CommandId = 0x2, + [1657778306.867814][8192:8197] CHIP:DMG: }, + [1657778306.867863][8192:8197] CHIP:DMG: + [1657778306.867895][8192:8197] CHIP:DMG: CommandFields = + [1657778306.867942][8192:8197] CHIP:DMG: { + [1657778306.867980][8192:8197] CHIP:DMG: 0x0 = 2, + [1657778306.868020][8192:8197] CHIP:DMG: }, + [1657778306.868054][8192:8197] CHIP:DMG: }, + [1657778306.868090][8192:8197] CHIP:DMG: + [1657778306.868118][8192:8197] CHIP:DMG: ], + [1657778306.868173][8192:8197] CHIP:DMG: + [1657778306.868203][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778306.868232][8192:8197] CHIP:DMG: }, + [1657778306.868259][8192:8197] CHIP:DMG: + [1657778306.868386][8192:8197] CHIP:DMG: ICR moving to [CommandSen] + [1657778306.868454][8192:8197] CHIP:DMG: ICR moving to [AwaitingDe] + [1657778307.003433][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778307.051604][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.051836][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.152471][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.152715][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.247304][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778307.247492][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778307.248434][8192:8197] CHIP:DMG: << from BLE | 27198688 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 43164 / Exchange = 40141] + [1657778307.248505][8192:8197] CHIP:DMG: Header Flags = + [1657778307.248543][8192:8197] CHIP:DMG: { + [1657778307.248607][8192:8197] CHIP:DMG: } + [1657778307.248644][8192:8197] CHIP:DMG: + [1657778307.248712][8192:8197] CHIP:DMG: Encrypted Payload (527 bytes) = + [1657778307.248749][8192:8197] CHIP:DMG: { + [1657778307.248799][8192:8197] CHIP:DMG: data = 009ca800e0049f01e94e5d64370df635edc6d12163c261988f11dc6daf7e81d14dbe977643043af413f047a62280ba0e417261eb0f1392975b34aa9ada75dbe41609b489150b0e7f8ae179e68d4b3d3d6d2d536298d68a5cedf1bf7d123a524c111c34a142c368c7481e2f6e135ec15ff6acec7a066da8169edf664f8532b174c2c27e84c895f5586bf2d1c4ea72b76425bbc4437db7246afd1f026765095be4d99afdd25873244dd2180d7d95efcd81ec341f8acdc2c5d5c85cee54009c4572ca0745a6b30c287787a681d60fd9c7063d9efcaebf95ebb8122f3895af426470f87f5d2b9a9f2a9fe6a4843f4b3b1757e8674ebabe30257ad598495f699b2d3cb7fededfacdda5dca42181efaea575d7eb8561095be3dc7d41d619bb0d780b2018f2bec397447f6ce6902e82f9a9e63e4db03e22ec24e32bba955e86d14281b9486a018b1e7bcda903daeb4d3dab116800b680b4d23ec22eee01df1c36aebaaba931934cab46c0c4cbf4cddf3a87f33b0bfe1243c9a20de53c4d2335c5e26f94cb6ae78487398ef658787b718a27b602a21649f96de469dd45d589cdb5f4992a0014d6fb2fd2b2e7ff541d486613c1e6f161a3623e9b8d08c2bfe27a240d42537f8f8da957bd436cfcf1ba550708b2e7f57ed3d36340dde77cecbb0f33e7f02ea563d1c040a5d7210dfbe42e92721a483bc560dc5fd545535f28cc939555959a9b57f43037496a3047dae781e91b3a + [1657778307.248871][8192:8197] CHIP:DMG: buffer_ptr = 281472695094080 + [1657778307.248921][8192:8197] CHIP:DMG: } + [1657778307.248955][8192:8197] CHIP:DMG: + [1657778307.249129][8192:8197] CHIP:DMG: DAC/PAI (463) = + [1657778307.249219][8192:8197] CHIP:DMG: { + -----BEGIN CERTIFICATE----- + MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP + TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw + MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ + QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO + PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU + xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E + CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk + YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI + zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl + Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== + -----END CERTIFICATE----- + [1657778307.249375][8192:8197] CHIP:DMG: } + [1657778307.249410][8192:8197] CHIP:DMG: + [1657778307.249453][8192:8197] CHIP:DMG: + [1657778307.249520][8192:8197] CHIP:DMG: Additional Fields = + [1657778307.249557][8192:8197] CHIP:DMG: { + [1657778307.249610][8192:8197] CHIP:DMG: peer_address = BLE + [1657778307.249646][8192:8197] CHIP:DMG: } + [1657778307.249693][8192:8197] CHIP:DMG: + [1657778307.249739][8192:8197] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:27198688 on exchange 40141i + [1657778307.249797][8192:8197] CHIP:EM: Found matching exchange: 40141i, Delegate: 0xffff78003520 + [1657778307.249862][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] + [1657778307.249942][8192:8197] CHIP:DMG: InvokeResponseMessage = + [1657778307.249984][8192:8197] CHIP:DMG: { + [1657778307.250036][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778307.250076][8192:8197] CHIP:DMG: InvokeResponseIBs = + [1657778307.250141][8192:8197] CHIP:DMG: [ + [1657778307.250181][8192:8197] CHIP:DMG: InvokeResponseIB = + [1657778307.250252][8192:8197] CHIP:DMG: { + [1657778307.250311][8192:8197] CHIP:DMG: CommandDataIB = + [1657778307.250368][8192:8197] CHIP:DMG: { + [1657778307.250436][8192:8197] CHIP:DMG: CommandPathIB = + [1657778307.250505][8192:8197] CHIP:DMG: { + [1657778307.250567][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778307.250638][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778307.250716][8192:8197] CHIP:DMG: CommandId = 0x3, + [1657778307.250770][8192:8197] CHIP:DMG: }, + [1657778307.250844][8192:8197] CHIP:DMG: + [1657778307.250909][8192:8197] CHIP:DMG: CommandFields = + [1657778307.250964][8192:8197] CHIP:DMG: { + [1657778307.251031][8192:8197] CHIP:DMG: 0x0 = [ + [1657778307.251285][8192:8197] CHIP:DMG: 0x30, 0x82, 0x1, 0xcb, 0x30, 0x82, 0x1, 0x71, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x56, 0xad, 0x82, 0x22, 0xad, 0x94, 0x5b, 0x64, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0xf, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0xd, 0x32, 0x32, 0x30, 0x32, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x18, 0xf, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x3d, 0x31, 0x25, 0x30, 0x23, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x1c, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x20, 0x50, 0x41, 0x49, 0x20, 0x30, 0x78, 0x46, 0x46, 0x46, 0x31, 0x20, 0x6e, 0x6f, 0x20, 0x50, 0x49, 0x44, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x41, 0x9a, 0x93, 0x15, 0xc2, 0x17, 0x3e, 0xc, 0x8c, 0x87, 0x6d, 0x3, 0xcc, 0xfc, 0x94, 0x48, 0x52, 0x64, 0x7f, 0x7f, 0xec, 0x5e, 0x50, 0x82, 0xf4, 0x5, 0x99, 0x28, 0xec, 0xa8, 0x94, 0xc5, 0x94, 0x15, 0x13, 0x9, 0xac, 0x63, 0x1e, 0x4c, 0xb0, 0x33, 0x92, 0xaf, 0x68, 0x4b, 0xb, 0xaf, 0xb7, 0xe6, 0x5b, 0x3b, 0x81, 0x62, 0xc2, 0xf5, 0x2b, 0xf9, 0x31, 0xb8, 0xe7, 0x7a, 0xaa, 0x82, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x8, 0x30, 0x6, 0x1, 0x1, 0xff, 0x2, 0x1, + [1657778307.251403][8192:8197] CHIP:DMG: ] + [1657778307.251459][8192:8197] CHIP:DMG: }, + [1657778307.251513][8192:8197] CHIP:DMG: }, + [1657778307.251570][8192:8197] CHIP:DMG: + [1657778307.251614][8192:8197] CHIP:DMG: }, + [1657778307.251667][8192:8197] CHIP:DMG: + [1657778307.251706][8192:8197] CHIP:DMG: ], + [1657778307.251755][8192:8197] CHIP:DMG: + [1657778307.251794][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778307.251832][8192:8197] CHIP:DMG: }, + [1657778307.251925][8192:8197] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 + [1657778307.251977][8192:8197] CHIP:CTL: Received certificate chain from the device + [1657778307.252029][8192:8197] CHIP:CTL: Successfully finished commissioning step "SendPAICertificateRequest" + disabled: true + + - label: "Verify that the DUT Sends CSRRequest command to TH" + PICS: OPCREDS.C.C04.Tx + verification: | + Verify the DUT send CSRRequest command to TH (all-clusters-app) + + [1657778307.949847][8192:8197] CHIP:CTL: Sending CSR request to 0xffff78000b60 device + [1657778307.949923][8192:8197] CHIP:DMG: ICR moving to [AddingComm] + [1657778307.949958][8192:8197] CHIP:DMG: ICR moving to [AddedComma] + [1657778307.950241][8192:8197] CHIP:IN: Prepared secure message 0xffff8ccc8058 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 40144i with MessageCounter:181296338. + [1657778307.950290][8192:8197] CHIP:IN: Sending encrypted msg 0xffff8ccc8058 with MessageCounter:181296338 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000B2ED1A msec + [1657778307.950503][8192:8197] CHIP:DMG: >> to BLE | 181296338 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 7643 / Exchange = 40144] + [1657778307.950543][8192:8197] CHIP:DMG: Header Flags = + [1657778307.950567][8192:8197] CHIP:DMG: { + [1657778307.950604][8192:8197] CHIP:DMG: Exchange (0x01) = + [1657778307.950627][8192:8197] CHIP:DMG: { + [1657778307.950648][8192:8197] CHIP:DMG: Initiator = true + [1657778307.950670][8192:8197] CHIP:DMG: } + [1657778307.950699][8192:8197] CHIP:DMG: } + [1657778307.950721][8192:8197] CHIP:DMG: + [1657778307.950751][8192:8197] CHIP:DMG: Encrypted Payload (94 bytes) = + [1657778307.950774][8192:8197] CHIP:DMG: { + [1657778307.950796][8192:8197] CHIP:DMG: data = 00db1d00d25cce0a7d2c458a6cc96e685db53a91b06e769d7be0e51a1419780c73a8839ec165d86032a2f0b0f5e689f21c47723a29aa14dbab44c3e576f80d816d32a25ae4bad652490f905584f0973947b80e290f72554c920857e617ef + [1657778307.950821][8192:8197] CHIP:DMG: buffer_ptr = 281472695102832 + [1657778307.950843][8192:8197] CHIP:DMG: } + [1657778307.950864][8192:8197] CHIP:DMG: + [1657778307.950936][8192:8197] CHIP:DMG: InvokeRequestMessage = + [1657778307.950964][8192:8197] CHIP:DMG: { + [1657778307.950988][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778307.951015][8192:8197] CHIP:DMG: timedRequest = false, + [1657778307.951041][8192:8197] CHIP:DMG: InvokeRequests = + [1657778307.951073][8192:8197] CHIP:DMG: [ + [1657778307.951099][8192:8197] CHIP:DMG: CommandDataIB = + [1657778307.951128][8192:8197] CHIP:DMG: { + [1657778307.951155][8192:8197] CHIP:DMG: CommandPathIB = + [1657778307.951188][8192:8197] CHIP:DMG: { + [1657778307.951221][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778307.951259][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778307.951296][8192:8197] CHIP:DMG: CommandId = 0x4, + [1657778307.951329][8192:8197] CHIP:DMG: }, + [1657778307.951363][8192:8197] CHIP:DMG: + [1657778307.951391][8192:8197] CHIP:DMG: CommandFields = + [1657778307.951422][8192:8197] CHIP:DMG: { + [1657778307.951475][8192:8197] CHIP:DMG: 0x0 = [ + [1657778307.951520][8192:8197] CHIP:DMG: 0x47, 0xce, 0x65, 0x6b, 0xb9, 0x27, 0xa3, 0xf2, 0x56, 0x89, 0xb5, 0xfe, 0x24, 0x69, 0xf9, 0x21, 0x50, 0x63, 0x58, 0xe4, 0xaa, 0x38, 0x28, 0xf6, 0x74, 0x14, 0xf, 0x91, 0x38, 0x5, 0xd4, 0x3e, + [1657778307.951560][8192:8197] CHIP:DMG: ] + [1657778307.951593][8192:8197] CHIP:DMG: }, + [1657778307.951622][8192:8197] CHIP:DMG: }, + [1657778307.951654][8192:8197] CHIP:DMG: + [1657778307.951678][8192:8197] CHIP:DMG: ], + [1657778307.951791][8192:8197] CHIP:DMG: + [1657778307.951819][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778307.951844][8192:8197] CHIP:DMG: }, + [1657778307.951869][8192:8197] CHIP:DMG: + [1657778307.952003][8192:8197] CHIP:DMG: ICR moving to [CommandSen] + [1657778307.952039][8192:8197] CHIP:CTL: Sent CSR request, waiting for the CSR + [1657778307.952091][8192:8197] CHIP:DMG: ICR moving to [AwaitingDe] + [1657778308.027194][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.075130][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778308.075340][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778308.174205][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778308.174351][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778308.174882][8192:8197] CHIP:DMG: << from BLE | 27198691 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 43164 / Exchange = 40144] + [1657778308.174926][8192:8197] CHIP:DMG: Header Flags = + [1657778308.174949][8192:8197] CHIP:DMG: { + [1657778308.174987][8192:8197] CHIP:DMG: } + [1657778308.175009][8192:8197] CHIP:DMG: + [1657778308.175037][8192:8197] CHIP:DMG: Encrypted Payload (373 bytes) = + [1657778308.175058][8192:8197] CHIP:DMG: { + [1657778308.175080][8192:8197] CHIP:DMG: data = 009ca800e3049f0181af5d343055b1e08029770603ce1623344a13092dfbc683d4e1b499f7d8efae9fb5acc148a67fc54cc06d0dd0a3731778f1846b6cb17ba6a59b903a828cd7736ffc4c6942638ab4798e0bc89dd1d49cdab5487a275e9c4023fd551158727e53cd18ba247440d6b1738ece4d8e6615a5db799278349d316ad8d0a7d9e9c5ba8236b269468eb4b1a9e17bd102d9def0dfff1b8df4e9bd2d9915cbfd1057db78860bdc85be825a5e738bdc93a8bd527b0335920170b422d25ef1c35f713ed6ea86fcf43ab933e01ede33fb0a561d94ba964ca321c5885d5268c79531976df15a2ccae944f5275575e22584c76381c11ac763690812b280272ff9ea215d7c14f926893b2f33c482bfd800910b54dfe042ca654f7a73465c472ba13087f7dcf3bebe7d9d44c71599f3d63546adefbdd8f7c74c382b161a53b92c2b7bae661aa0132b83e60da2c95e8a0a99344a41ba1eefbb8ce1cf12772e6105df13857cef69c0a834bfb01461beb6e230160f5d1e + [1657778308.175109][8192:8197] CHIP:DMG: buffer_ptr = 281472695094080 + [1657778308.175129][8192:8197] CHIP:DMG: } + [1657778308.175149][8192:8197] CHIP:DMG: + [1657778308.175247][8192:8197] CHIP:DMG: NOCSR Elements = + [1657778308.175271][8192:8197] CHIP:DMG: { + [1657778308.175302][8192:8197] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200041158E37015725ED191BFBA9F68DB85EC2F277388CF0E268486479F7442C1E1195A78BC2049ACB9945FE42B668267ED5827DB7469811F5AE6DF69ECD083A3002DA000300A06082A8648CE3D0403020348003045022100E853E755F48279CDB66DD8A0E8FDC144F8755339672729573938A35149286A3C0220552CDCB0FDC0E0E0409BF87D63514F3BB45EF4DA4776DBD2EBA05194BD9680FB + [1657778308.175329][8192:8197] CHIP:DMG: CSRNonce (32) = 47CE656BB927A3F25689B5FE2469F921506358E4AA3828F674140F913805D43E + [1657778308.175350][8192:8197] CHIP:DMG: } + [1657778308.175370][8192:8197] CHIP:DMG: + [1657778308.175390][8192:8197] CHIP:DMG: CSR (203) = + [1657778308.175425][8192:8197] CHIP:DMG: { + -----BEGIN CERTIFICATE REQUEST----- + MIHIMHACAQAwDjEMMAoGA1UECgwDQ1NSMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD + QgAEEVjjcBVyXtGRv7qfaNuF7C8nc4jPDiaEhkefdELB4RlaeLwgSay5lF/kK2aC + Z+1YJ9t0aYEfWubfaezQg6MALaAAMAoGCCqGSM49BAMCA0gAMEUCIQDoU+dV9IJ5 + zbZt2KDo/cFE+HVTOWcnKVc5OKNRSShqPAIgVSzcsP3A4OBAm/h9Y1FPO7Re9NpH + dtvS66BRlL2WgPs= + -----END CERTIFICATE REQUEST----- + [1657778308.175484][8192:8197] CHIP:DMG: } + [1657778308.175504][8192:8197] CHIP:DMG: + [1657778308.175530][8192:8197] CHIP:DMG: + [1657778308.175562][8192:8197] CHIP:DMG: Additional Fields = + [1657778308.175584][8192:8197] CHIP:DMG: { + [1657778308.175607][8192:8197] CHIP:DMG: peer_address = BLE + [1657778308.175628][8192:8197] CHIP:DMG: } + [1657778308.175649][8192:8197] CHIP:DMG: + [1657778308.175675][8192:8197] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:27198691 on exchange 40144i + disabled: true + - label: "Extract the CSRResponse values for future use from TH NOCSRElements - which contains the Node Operational PublicKey from CSR AttestationSignature" verification: | - Verify the below log in DUT as Client side: + Extract the CSRResponse values from TH (all-clusters-app) [1657778308.175702][8192:8197] CHIP:EM: Found matching exchange: 40144i, Delegate: 0xaaaaf7819670 [1657778308.175743][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] @@ -89,12 +560,296 @@ tests: [1657778308.177003][8192:8197] CHIP:CTL: Received certificate signing request from the device disabled: true + - label: "Verify that the DUT sends AddTrustedRootCertificate command to TH" + PICS: OPCREDS.C.C0b.Tx + verification: | + Verify the DUT send AddTrustedRootCertificate command to TH (all-clusters-app) + + [1657778308.179742][8192:8197] CHIP:CTL: Performing next commissioning step "SendTrustedRootCert" + [1657778308.179769][8192:8197] CHIP:CTL: Sending root certificate to the device + [1657778308.179839][8192:8197] CHIP:DMG: ICR moving to [AddingComm] + [1657778308.179870][8192:8197] CHIP:DMG: ICR moving to [AddedComma] + [1657778308.180204][8192:8197] CHIP:IN: Prepared secure message 0xffff8ccc78e8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 40145i with MessageCounter:181296339. + [1657778308.180250][8192:8197] CHIP:IN: Sending encrypted msg 0xffff8ccc78e8 with MessageCounter:181296339 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000B2EE00 msec + [1657778308.180470][8192:8197] CHIP:DMG: >> to BLE | 181296339 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 7643 / Exchange = 40145] + [1657778308.180508][8192:8197] CHIP:DMG: Header Flags = + [1657778308.180529][8192:8197] CHIP:DMG: { + [1657778308.180564][8192:8197] CHIP:DMG: Exchange (0x01) = + [1657778308.180586][8192:8197] CHIP:DMG: { + [1657778308.180605][8192:8197] CHIP:DMG: Initiator = true + [1657778308.180626][8192:8197] CHIP:DMG: } + [1657778308.180653][8192:8197] CHIP:DMG: } + [1657778308.180675][8192:8197] CHIP:DMG: + [1657778308.180702][8192:8197] CHIP:DMG: Encrypted Payload (293 bytes) = + [1657778308.180723][8192:8197] CHIP:DMG: { + [1657778308.180744][8192:8197] CHIP:DMG: data = 00db1d00d35cce0a92f416b3b3a7206d646251f86d72b33342aa0f93281840168c180dc94d4beee3cbbb92a76d912acdcc6fb379f321773366bfe2fa26320c4ced460bd7bd3604f4bc56e81c1b82e489cc664e8eaa9ef595942bae9aa568fb26b333e665028f01f731f2bcc9794570167b9d1623ec984af711541e8592828b39e02f46c469a8b4015f0e2829d4cb852ab12119fee598dc2cec12907dac7bc8eb2bbe3fe5ec55966c78dfbba7204e72116b2cb6c9cea896763974c0480d54fbb2094c41dc2f44b691327eb6f2e28738172c4b45d7051ddc9444527fdfcafbbf5521ea6936f9085630fb5ed86edcb828175dc07314c821df25a40db9a5844faba24c7886adaa31f07f306d359ae9a645420363e810d9ebc2e52b50a1daf2efa37c0b530d9775 + [1657778308.180771][8192:8197] CHIP:DMG: buffer_ptr = 281472695121488 + [1657778308.180792][8192:8197] CHIP:DMG: } + [1657778308.180811][8192:8197] CHIP:DMG: + [1657778308.180887][8192:8197] CHIP:DMG: RCACValue (231) = + [1657778308.180922][8192:8197] CHIP:DMG: { + FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQUABgkBwEkCAEwCUEE2QHwyyu1hWrl6hNG7UZa2r7AwQDFKb1cr3RuYA92tdNfAk8fIw1HgUO6CZ/4h9grNrefpqCXCCRaVjGzkI540TcKNQEpARgkAmAwBBTpD3Ul0H8BwgT1DEdRNpk01PHuADAFFOkPdSXQfwHCBPUMR1E2mTTU8e4AGDALQLd4Zg/cqqQeIHn1+c34AEW7+OSppzG7dwmX7qUh7+LhRWpMpy+Ktx8eZFHN7jNlXCKgAjw7YzZRzbzWg9uNBZsY + [1657778308.180960][8192:8197] CHIP:DMG: } + [1657778308.180981][8192:8197] CHIP:DMG: + [1657778308.181017][8192:8197] CHIP:DMG: InvokeRequestMessage = + [1657778308.181041][8192:8197] CHIP:DMG: { + [1657778308.181063][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778308.181089][8192:8197] CHIP:DMG: timedRequest = false, + [1657778308.181112][8192:8197] CHIP:DMG: InvokeRequests = + [1657778308.181142][8192:8197] CHIP:DMG: [ + [1657778308.181165][8192:8197] CHIP:DMG: CommandDataIB = + [1657778308.181192][8192:8197] CHIP:DMG: { + [1657778308.181217][8192:8197] CHIP:DMG: CommandPathIB = + [1657778308.181317][8192:8197] CHIP:DMG: { + [1657778308.181351][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778308.181384][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778308.181415][8192:8197] CHIP:DMG: CommandId = 0xb, + [1657778308.181445][8192:8197] CHIP:DMG: }, + [1657778308.181477][8192:8197] CHIP:DMG: + [1657778308.181502][8192:8197] CHIP:DMG: CommandFields = + [1657778308.181531][8192:8197] CHIP:DMG: { + [1657778308.181562][8192:8197] CHIP:DMG: 0x0 = [ + [1657778308.181665][8192:8197] 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, 0x14, 0x0, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xd9, 0x1, 0xf0, 0xcb, 0x2b, 0xb5, 0x85, 0x6a, 0xe5, 0xea, 0x13, 0x46, 0xed, 0x46, 0x5a, 0xda, 0xbe, 0xc0, 0xc1, 0x0, 0xc5, 0x29, 0xbd, 0x5c, 0xaf, 0x74, 0x6e, 0x60, 0xf, 0x76, 0xb5, 0xd3, 0x5f, 0x2, 0x4f, 0x1f, 0x23, 0xd, 0x47, 0x81, 0x43, 0xba, 0x9, 0x9f, 0xf8, 0x87, 0xd8, 0x2b, 0x36, 0xb7, 0x9f, 0xa6, 0xa0, 0x97, 0x8, 0x24, 0x5a, 0x56, 0x31, 0xb3, 0x90, 0x8e, 0x78, 0xd1, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xe9, 0xf, 0x75, 0x25, 0xd0, 0x7f, 0x1, 0xc2, 0x4, 0xf5, 0xc, 0x47, 0x51, 0x36, 0x99, 0x34, 0xd4, 0xf1, 0xee, 0x0, 0x30, 0x5, 0x14, 0xe9, 0xf, 0x75, 0x25, 0xd0, 0x7f, 0x1, 0xc2, 0x4, 0xf5, 0xc, 0x47, 0x51, 0x36, 0x99, 0x34, 0xd4, 0xf1, 0xee, 0x0, 0x18, 0x30, 0xb, 0x40, 0xb7, 0x78, 0x66, 0xf, 0xdc, 0xaa, 0xa4, 0x1e, 0x20, 0x79, 0xf5, 0xf9, 0xcd, 0xf8, 0x0, 0x45, 0xbb, 0xf8, 0xe4, 0xa9, 0xa7, 0x31, 0xbb, 0x77, 0x9, 0x97, 0xee, 0xa5, 0x21, 0xef, 0xe2, 0xe1, 0x45, 0x6a, 0x4c, 0xa7, 0x2f, 0x8a, 0xb7, 0x1f, 0x1e, 0x64, 0x51, 0xcd, 0xee, 0x33, 0x65, 0x5c, 0x22, 0xa0, 0x2, 0x3c, 0x3b, 0x63, 0x36, 0x51, 0xcd, 0xbc, 0xd6, 0x83, 0xdb, 0x8d, 0x5, 0x9b, 0x18, + [1657778308.181725][8192:8197] CHIP:DMG: ] + [1657778308.181759][8192:8197] CHIP:DMG: }, + [1657778308.181788][8192:8197] CHIP:DMG: }, + [1657778308.181816][8192:8197] CHIP:DMG: + [1657778308.181840][8192:8197] CHIP:DMG: ], + [1657778308.181869][8192:8197] CHIP:DMG: + [1657778308.181893][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778308.181915][8192:8197] CHIP:DMG: }, + [1657778308.181937][8192:8197] CHIP:DMG: + [1657778308.182058][8192:8197] CHIP:DMG: ICR moving to [CommandSen] + [1657778308.182096][8192:8197] CHIP:CTL: Sent root certificate to the device + [1657778308.182397][8192:8197] CHIP:DMG: ICR moving to [AwaitingDe] + [1657778308.270475][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.367969][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.369721][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778308.369943][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778308.370814][8192:8197] CHIP:DMG: << from BLE | 27198692 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 43164 / Exchange = 40145] + [1657778308.370915][8192:8197] CHIP:DMG: Header Flags = + [1657778308.370971][8192:8197] CHIP:DMG: { + [1657778308.371066][8192:8197] CHIP:DMG: } + [1657778308.371118][8192:8197] CHIP:DMG: + [1657778308.371185][8192:8197] CHIP:DMG: Encrypted Payload (63 bytes) = + [1657778308.371238][8192:8197] CHIP:DMG: { + [1657778308.371289][8192:8197] CHIP:DMG: data = 009ca800e4049f018f9246b0d6d27b9fb8b63eaeeab82274f92760600108b065645896f60b20b56967fb8959cc8ed87e753c1037450a36ef30e4e2d6bbf356 + [1657778308.371343][8192:8197] CHIP:DMG: buffer_ptr = 281472695094080 + [1657778308.371394][8192:8197] CHIP:DMG: } + [1657778308.371443][8192:8197] CHIP:DMG: + [1657778308.371566][8192:8197] CHIP:DMG: + [1657778308.371648][8192:8197] CHIP:DMG: Additional Fields = + [1657778308.371703][8192:8197] CHIP:DMG: { + [1657778308.371760][8192:8197] CHIP:DMG: peer_address = BLE + [1657778308.371813][8192:8197] CHIP:DMG: } + [1657778308.371863][8192:8197] CHIP:DMG: + [1657778308.371926][8192:8197] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:27198692 on exchange 40145i + [1657778308.371989][8192:8197] CHIP:EM: Found matching exchange: 40145i, Delegate: 0xffff78003520 + [1657778308.372072][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] + [1657778308.372201][8192:8197] CHIP:DMG: InvokeResponseMessage = + [1657778308.372263][8192:8197] CHIP:DMG: { + [1657778308.372319][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778308.372379][8192:8197] CHIP:DMG: InvokeResponseIBs = + [1657778308.372452][8192:8197] CHIP:DMG: [ + [1657778308.372512][8192:8197] CHIP:DMG: InvokeResponseIB = + [1657778308.372600][8192:8197] CHIP:DMG: { + [1657778308.372663][8192:8197] CHIP:DMG: CommandStatusIB = + [1657778308.372736][8192:8197] CHIP:DMG: { + [1657778308.372809][8192:8197] CHIP:DMG: CommandPathIB = + [1657778308.372888][8192:8197] CHIP:DMG: { + [1657778308.372970][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778308.373054][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778308.373139][8192:8197] CHIP:DMG: CommandId = 0xb, + [1657778308.373210][8192:8197] CHIP:DMG: }, + [1657778308.373296][8192:8197] CHIP:DMG: + [1657778308.373370][8192:8197] CHIP:DMG: StatusIB = + [1657778308.373452][8192:8197] CHIP:DMG: { + [1657778308.373526][8192:8197] CHIP:DMG: status = 0x00 (SUCCESS), + [1657778308.373605][8192:8197] CHIP:DMG: }, + [1657778308.373887][8192:8197] CHIP:DMG: + [1657778308.373960][8192:8197] CHIP:DMG: }, + [1657778308.374037][8192:8197] CHIP:DMG: + [1657778308.374098][8192:8197] CHIP:DMG: }, + [1657778308.374171][8192:8197] CHIP:DMG: + [1657778308.374228][8192:8197] CHIP:DMG: ], + [1657778308.374299][8192:8197] CHIP:DMG: + [1657778308.374357][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778308.374414][8192:8197] CHIP:DMG: }, + [1657778308.374544][8192:8197] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 + [1657778308.374610][8192:8197] CHIP:CTL: Device confirmed that it has received the root certificate + [1657778308.374671][8192:8197] CHIP:CTL: Successfully finished commissioning step "SendTrustedRootCert" + disabled: true + + - label: "Verify that DUT sends the AddNOC Command to TH" + PICS: OPCREDS.C.C06.Tx + verification: | + Verify the DUT send AddNOC command to TH (all-clusters-app) + + + [1657778308.374786][8192:8197] CHIP:CTL: Performing next commissioning step "SendNOC" + [1657778308.374916][8192:8197] CHIP:DMG: ICR moving to [AddingComm] + [1657778308.374996][8192:8197] CHIP:DMG: ICR moving to [AddedComma] + [1657778308.375901][8192:8197] CHIP:IN: Prepared secure message 0xffff8ccc89b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 40146i with MessageCounter:181296340. + [1657778308.376000][8192:8197] CHIP:IN: Sending encrypted msg 0xffff8ccc89b8 with MessageCounter:181296340 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000B2EEC3 msec + [1657778308.376839][8192:8197] CHIP:DMG: >> to BLE | 181296340 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 7643 / Exchange = 40146] + [1657778308.376934][8192:8197] CHIP:DMG: Header Flags = + [1657778308.376989][8192:8197] CHIP:DMG: { + [1657778308.377071][8192:8197] CHIP:DMG: Exchange (0x01) = + [1657778308.377125][8192:8197] CHIP:DMG: { + [1657778308.377173][8192:8197] CHIP:DMG: Initiator = true + [1657778308.377233][8192:8197] CHIP:DMG: } + [1657778308.377301][8192:8197] CHIP:DMG: } + [1657778308.377353][8192:8197] CHIP:DMG: + [1657778308.377423][8192:8197] CHIP:DMG: Encrypted Payload (566 bytes) = + [1657778308.377477][8192:8197] CHIP:DMG: { + [1657778308.377538][8192:8197] CHIP:DMG: data = 00db1d00d45cce0afc12beef1327287a34b78b228011c03756a7de84ad3b0b40545238c440d868eff492f5cc58caa9566d09050719970a8830b12b46e29b8e77ea6985b8e5a78d46ec4876bd3a2dd451f4da1c0ee46ee3a0f39e237e2b1f906ec319f9a2655f4b07d1c280403d3234054e550e33cf4555f6fcbd5927656c589833ef4705a58b2abab6ceca7ad004c43d78459e1832926aea7c26d30ebb0e8e5e24bdac0df5ad32bcaa74871ea63f62078e444986882221c3dcfbacd5bb85b8555521c4bbe14fe0f6053f91548c1c733fc565b1637af547ba7763512e4f4ec2c5fb928b5e914f29b7a9d99f2dfdb7fca4d0d796acefc12179b1a366f6ee4494d7d67852d53378ddb81579e702146f037639e835c5c7b4c34c405de045bafeb524fdb7a16ed22fbfc8b3a3f87ffa321cae990ed5cfe99d7ac98480996eb846a008594fb58dbd035d6838e2b640b8f6131af1b5ec682d237651f9cec735673388886e6429688d6ab433521668a7d163b444a68da0a0835f554c60598c4444a61709055e4481e278fe9f242b582aabb12055ad948fbb7938497262d02e98ad31a116371e2d8c544fee8825877134a2d8605cce87afce425adc994586f98833a4d6d6391bf35589706239c869e98441c079a1ed552be45c2bb888ebe9e6cd3523273c9048ba817165a54dcf1b2a521c8ba92a70cddf5a09d49a3819299fde8d962179b44b1e856b113875921ec6ab083114d26a933c1cd88b06821c6d19f6597c09dbb8a5476a76985d118eaa443afe8afe75be59c53e1f9f + [1657778308.377644][8192:8197] CHIP:DMG: buffer_ptr = 281472695121488 + [1657778308.377694][8192:8197] CHIP:DMG: } + [1657778308.377743][8192:8197] CHIP:DMG: + [1657778308.377969][8192:8197] CHIP:DMG: NOCValue (241) = + [1657778308.378014][8192:8197] CHIP:DMG: { + FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEEVjjcBVyXtGRv7qfaNuF7C8nc4jPDiaEhkefdELB4RlaeLwgSay5lF/kK2aCZ+1YJ9t0aYEfWubfaezQg6MALTcKNQEoARgkAgE2AwQCBAEYMAQUzseVXMJqXGjbk9fgg6lp4vy2c2YwBRTuecUEKXl3L7PdVqEuT7fJq/jqIxgwC0D7RgAtJ8hxBYRG+M80BSMk5Y9EFAZWX1S7MaaLPNkn1JHlbq4cbZyaMWu1U2udUzKUzouVpo725bMzmKsglCvdGA== + [1657778308.378120][8192:8197] CHIP:DMG: } + [1657778308.378145][8192:8197] CHIP:DMG: + [1657778308.378172][8192:8197] CHIP:DMG: ICACValue (231) = + [1657778308.378209][8192:8197] CHIP:DMG: { + FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEEx5QAnzqNn7I0Hhe6YADzoBGWnlI29Ey27Zo7tT94lGxprQhku7PjzDmRvwbKQyg1MU0tS54w4MZ4eQ5MtvHKUDcKNQEpARgkAmAwBBTuecUEKXl3L7PdVqEuT7fJq/jqIzAFFOkPdSXQfwHCBPUMR1E2mTTU8e4AGDALQM4ze/Xnl5HSDVgVw1qSlKuNLE92xOQ2ysYGLAFmFlPojqNQks84Mzf67V/ZBi31cl6mGtKTLqrapcRT+w9JKfgY + [1657778308.378259][8192:8197] CHIP:DMG: } + [1657778308.378284][8192:8197] CHIP:DMG: + [1657778308.378371][8192:8197] CHIP:DMG: InvokeRequestMessage = + [1657778308.378402][8192:8197] CHIP:DMG: { + [1657778308.378430][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778308.378462][8192:8197] CHIP:DMG: timedRequest = false, + [1657778308.378490][8192:8197] CHIP:DMG: InvokeRequests = + [1657778308.378530][8192:8197] CHIP:DMG: [ + [1657778308.378560][8192:8197] CHIP:DMG: CommandDataIB = + [1657778308.378594][8192:8197] CHIP:DMG: { + [1657778308.378624][8192:8197] CHIP:DMG: CommandPathIB = + [1657778308.378661][8192:8197] CHIP:DMG: { + [1657778308.378697][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778308.378738][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778308.378777][8192:8197] CHIP:DMG: CommandId = 0x6, + [1657778308.378818][8192:8197] CHIP:DMG: }, + [1657778308.378855][8192:8197] CHIP:DMG: + [1657778308.378887][8192:8197] CHIP:DMG: CommandFields = + [1657778308.378923][8192:8197] CHIP:DMG: { + [1657778308.378962][8192:8197] CHIP:DMG: 0x0 = [ + [1657778308.379095][8192:8197] 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, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x11, 0x58, 0xe3, 0x70, 0x15, 0x72, 0x5e, 0xd1, 0x91, 0xbf, 0xba, 0x9f, 0x68, 0xdb, 0x85, 0xec, 0x2f, 0x27, 0x73, 0x88, 0xcf, 0xe, 0x26, 0x84, 0x86, 0x47, 0x9f, 0x74, 0x42, 0xc1, 0xe1, 0x19, 0x5a, 0x78, 0xbc, 0x20, 0x49, 0xac, 0xb9, 0x94, 0x5f, 0xe4, 0x2b, 0x66, 0x82, 0x67, 0xed, 0x58, 0x27, 0xdb, 0x74, 0x69, 0x81, 0x1f, 0x5a, 0xe6, 0xdf, 0x69, 0xec, 0xd0, 0x83, 0xa3, 0x0, 0x2d, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xce, 0xc7, 0x95, 0x5c, 0xc2, 0x6a, 0x5c, 0x68, 0xdb, 0x93, 0xd7, 0xe0, 0x83, 0xa9, 0x69, 0xe2, 0xfc, 0xb6, 0x73, 0x66, 0x30, 0x5, 0x14, 0xee, 0x79, 0xc5, 0x4, 0x29, 0x79, 0x77, 0x2f, 0xb3, 0xdd, 0x56, 0xa1, 0x2e, 0x4f, 0xb7, 0xc9, 0xab, 0xf8, 0xea, 0x23, 0x18, 0x30, 0xb, 0x40, 0xfb, 0x46, 0x0, 0x2d, 0x27, 0xc8, 0x71, 0x5, 0x84, 0x46, 0xf8, 0xcf, 0x34, 0x5, 0x23, 0x24, 0xe5, 0x8f, 0x44, 0x14, 0x6, 0x56, 0x5f, 0x54, 0xbb, 0x31, 0xa6, 0x8b, 0x3c, 0xd9, 0x27, 0xd4, 0x91, 0xe5, 0x6e, 0xae, 0x1c, 0x6d, 0x9c, 0x9a, 0x31, 0x6b, 0xb5, 0x53, 0x6b, 0x9d, 0x53, 0x32, 0x94, 0xce, 0x8b, 0x95, 0xa6, 0x8e, 0xf6, 0xe5, 0xb3, 0x33, 0x98, 0xab, 0x20, 0x94, 0x2b, 0xdd, 0x18, + [1657778308.379174][8192:8197] CHIP:DMG: ] + [1657778308.379214][8192:8197] CHIP:DMG: 0x1 = [ + [1657778308.379341][8192:8197] 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, 0xc7, 0x94, 0x0, 0x9f, 0x3a, 0x8d, 0x9f, 0xb2, 0x34, 0x1e, 0x17, 0xba, 0x60, 0x0, 0xf3, 0xa0, 0x11, 0x96, 0x9e, 0x52, 0x36, 0xf4, 0x4c, 0xb6, 0xed, 0x9a, 0x3b, 0xb5, 0x3f, 0x78, 0x94, 0x6c, 0x69, 0xad, 0x8, 0x64, 0xbb, 0xb3, 0xe3, 0xcc, 0x39, 0x91, 0xbf, 0x6, 0xca, 0x43, 0x28, 0x35, 0x31, 0x4d, 0x2d, 0x4b, 0x9e, 0x30, 0xe0, 0xc6, 0x78, 0x79, 0xe, 0x4c, 0xb6, 0xf1, 0xca, 0x50, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xee, 0x79, 0xc5, 0x4, 0x29, 0x79, 0x77, 0x2f, 0xb3, 0xdd, 0x56, 0xa1, 0x2e, 0x4f, 0xb7, 0xc9, 0xab, 0xf8, 0xea, 0x23, 0x30, 0x5, 0x14, 0xe9, 0xf, 0x75, 0x25, 0xd0, 0x7f, 0x1, 0xc2, 0x4, 0xf5, 0xc, 0x47, 0x51, 0x36, 0x99, 0x34, 0xd4, 0xf1, 0xee, 0x0, 0x18, 0x30, 0xb, 0x40, 0xce, 0x33, 0x7b, 0xf5, 0xe7, 0x97, 0x91, 0xd2, 0xd, 0x58, 0x15, 0xc3, 0x5a, 0x92, 0x94, 0xab, 0x8d, 0x2c, 0x4f, 0x76, 0xc4, 0xe4, 0x36, 0xca, 0xc6, 0x6, 0x2c, 0x1, 0x66, 0x16, 0x53, 0xe8, 0x8e, 0xa3, 0x50, 0x92, 0xcf, 0x38, 0x33, 0x37, 0xfa, 0xed, 0x5f, 0xd9, 0x6, 0x2d, 0xf5, 0x72, 0x5e, 0xa6, 0x1a, 0xd2, 0x93, 0x2e, 0xaa, 0xda, 0xa5, 0xc4, 0x53, 0xfb, 0xf, 0x49, 0x29, 0xf8, 0x18, + [1657778308.379416][8192:8197] CHIP:DMG: ] + [1657778308.379459][8192:8197] CHIP:DMG: 0x2 = [ + [1657778308.379502][8192:8197] CHIP:DMG: 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, + [1657778308.379550][8192:8197] CHIP:DMG: ] + [1657778308.379595][8192:8197] CHIP:DMG: 0x3 = 112233, + [1657778308.379635][8192:8197] CHIP:DMG: 0x4 = 65521, + [1657778308.379675][8192:8197] CHIP:DMG: }, + [1657778308.379709][8192:8197] CHIP:DMG: }, + [1657778308.379748][8192:8197] CHIP:DMG: + [1657778308.379777][8192:8197] CHIP:DMG: ], + [1657778308.379816][8192:8197] CHIP:DMG: + [1657778308.379845][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778308.379874][8192:8197] CHIP:DMG: }, + [1657778308.379901][8192:8197] CHIP:DMG: + [1657778308.380041][8192:8197] CHIP:DMG: ICR moving to [CommandSen] + [1657778308.380085][8192:8197] CHIP:CTL: Sent operational certificate to the device + [1657778308.380153][8192:8197] CHIP:DMG: ICR moving to [AwaitingDe] + [1657778308.514297][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.611751][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.708601][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1657778308.807985][8192:8195] CHIP:DL: Indication received, conn = 0xffff8403b1d0 + [1657778308.808296][8192:8197] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1657778308.809237][8192:8197] CHIP:DMG: << from BLE | 27198693 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 43164 / Exchange = 40146] + [1657778308.809341][8192:8197] CHIP:DMG: Header Flags = + [1657778308.809398][8192:8197] CHIP:DMG: { + [1657778308.809494][8192:8197] CHIP:DMG: } + [1657778308.809548][8192:8197] CHIP:DMG: + [1657778308.809642][8192:8197] CHIP:DMG: Encrypted Payload (66 bytes) = + [1657778308.809699][8192:8197] CHIP:DMG: { + [1657778308.809773][8192:8197] CHIP:DMG: data = 009ca800e5049f0152863583d2b26b6e19d712d00af203550c624e9bc740624ac602e9cde6a93a68a120f1c74fb57213ee5106455bf8ce9ac330d6fb4e4e0b9a7a6e + [1657778308.809829][8192:8197] CHIP:DMG: buffer_ptr = 281472695094080 + [1657778308.809900][8192:8197] CHIP:DMG: } + [1657778308.809951][8192:8197] CHIP:DMG: + [1657778308.810088][8192:8197] CHIP:DMG: + [1657778308.810192][8192:8197] CHIP:DMG: Additional Fields = + [1657778308.810249][8192:8197] CHIP:DMG: { + [1657778308.810329][8192:8197] CHIP:DMG: peer_address = BLE + [1657778308.810386][8192:8197] CHIP:DMG: } + [1657778308.810435][8192:8197] CHIP:DMG: + [1657778308.810521][8192:8197] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:27198693 on exchange 40146i + [1657778308.810585][8192:8197] CHIP:EM: Found matching exchange: 40146i, Delegate: 0xaaaaf7819670 + [1657778308.810691][8192:8197] CHIP:DMG: ICR moving to [ResponseRe] + [1657778308.810803][8192:8197] CHIP:DMG: InvokeResponseMessage = + [1657778308.810864][8192:8197] CHIP:DMG: { + [1657778308.810921][8192:8197] CHIP:DMG: suppressResponse = false, + [1657778308.811000][8192:8197] CHIP:DMG: InvokeResponseIBs = + [1657778308.811075][8192:8197] CHIP:DMG: [ + [1657778308.811155][8192:8197] CHIP:DMG: InvokeResponseIB = + [1657778308.811254][8192:8197] CHIP:DMG: { + [1657778308.811319][8192:8197] CHIP:DMG: CommandDataIB = + [1657778308.811419][8192:8197] CHIP:DMG: { + [1657778308.811492][8192:8197] CHIP:DMG: CommandPathIB = + [1657778308.811573][8192:8197] CHIP:DMG: { + [1657778308.811675][8192:8197] CHIP:DMG: EndpointId = 0x0, + [1657778308.811779][8192:8197] CHIP:DMG: ClusterId = 0x3e, + [1657778308.811872][8192:8197] CHIP:DMG: CommandId = 0x8, + [1657778308.811979][8192:8197] CHIP:DMG: }, + [1657778308.812083][8192:8197] CHIP:DMG: + [1657778308.812177][8192:8197] CHIP:DMG: CommandFields = + [1657778308.812286][8192:8197] CHIP:DMG: { + [1657778308.812368][8192:8197] CHIP:DMG: 0x0 = 0, + [1657778308.812478][8192:8197] CHIP:DMG: 0x1 = 1, + [1657778308.812586][8192:8197] CHIP:DMG: }, + [1657778308.812663][8192:8197] CHIP:DMG: }, + [1657778308.812769][8192:8197] CHIP:DMG: + [1657778308.812831][8192:8197] CHIP:DMG: }, + [1657778308.812928][8192:8197] CHIP:DMG: + [1657778308.812986][8192:8197] CHIP:DMG: ], + [1657778308.813080][8192:8197] CHIP:DMG: + [1657778308.813138][8192:8197] CHIP:DMG: InteractionModelRevision = 1 + [1657778308.813216][8192:8197] CHIP:DMG: }, + [1657778308.813376][8192:8197] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1657778308.813455][8192:8197] CHIP:CTL: Device returned status 0 on receiving the NOC + disabled: true + - label: "TH saves the following values as: NOCValue as nocvalue1 ICACValue as icacvalue1 IpkValue as ipkvalue1 CaseAdminSubject as caseadmin1 AdminVendorId as adminvendorid1" verification: | - See above + Save the following from above log + + 1. NOCvalue as nocvalue1 + Example: + + [1657778308.377969][8192:8197] CHIP:DMG: NOCValue (241) = + [1657778308.378014][8192:8197] CHIP:DMG: { + FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEEVjjcBVyXtGRv7qfaNuF7C8nc4jPDiaEhkefdELB4RlaeLwgSay5lF/kK2aCZ+1YJ9t0aYEfWubfaezQg6MALTcKNQEoARgkAgE2AwQCBAEYMAQUzseVXMJqXGjbk9fgg6lp4vy2c2YwBRTuecUEKXl3L7PdVqEuT7fJq/jqIxgwC0D7RgAtJ8hxBYRG+M80BSMk5Y9EFAZWX1S7MaaLPNkn1JHlbq4cbZyaMWu1U2udUzKUzouVpo725bMzmKsglCvdGA== + [1657778308.378120][8192:8197] CHIP:DMG: } + + 2. ICACValue as icacvalue1 + Example: + + [1657778308.378172][8192:8197] CHIP:DMG: ICACValue (231) = + [1657778308.378209][8192:8197] CHIP:DMG: { + FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEEx5QAnzqNn7I0Hhe6YADzoBGWnlI29Ey27Zo7tT94lGxprQhku7PjzDmRvwbKQyg1MU0tS54w4MZ4eQ5MtvHKUDcKNQEpARgkAmAwBBTuecUEKXl3L7PdVqEuT7fJq/jqIzAFFOkPdSXQfwHCBPUMR1E2mTTU8e4AGDALQM4ze/Xnl5HSDVgVw1qSlKuNLE92xOQ2ysYGLAFmFlPojqNQks84Mzf67V/ZBi31cl6mGtKTLqrapcRT+w9JKfgY + [1657778308.378259][8192:8197] CHIP:DMG: } + + 3. IpkValue as ipkvalue1 + Example: + + 0x2 = 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, + + 4. CaseAdminSubject as caseadmin1 + Example: + + 0x3 = 112233 + + 5. AdminVendorId as adminvendorid1 + Example: + + 0x4 = 65521 disabled: true - label: @@ -103,10 +858,15 @@ tests: verification: | "./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - Verify the below log in DUT as Client side: + Verify the following on TH (all-clusters-app) + 1. RootPublicKey + 2. VendorID + 3. FabricID + 4. NodeID + 5. Label [1651572032.170920][3815:3820] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2018783041 - [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 2 entries + [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 1 entries [1651572032.171179][3815:3820] CHIP:TOO: [1]: { [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 @@ -117,12 +877,48 @@ tests: [1651572032.171427][3815:3820] CHIP:TOO: } disabled: true + - label: + "Verify that the size of RootPublicKey is within 65 octstr ,Verify + that the NodeID is the same as the chip-node-id in the NOC sent with + AddNOC Command,Verify that the VendorID is the same as the + AdminVendorID sent with AddNOC Command,Verify that the FabricID is the + same as the matter-fabric-id field from the operational + certificate,Verify that the size of Label has a maximum value of 32 + bytes." + verification: | + Verify the following on TH (all-clusters-app) log + + 1. Verify RootPublicKey is within 65 octstr in below log + 2. Verify NodeID is same as chip-node-id + 3. Verify VendorID is same AdminVendorID + 4. Verify the FabricID is same as matter-fabric-id + 5. Verify the size of Label is maximum of 32 bytes + + + [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 1 entries + [1651572032.171179][3815:3820] CHIP:TOO: [1]: { + [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B + [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 + [1651572032.171296][3815:3820] CHIP:TOO: FabricId: 1 + [1651572032.171328][3815:3820] CHIP:TOO: NodeId: 1 + [1651572032.171360][3815:3820] CHIP:TOO: Label: NodeOpeCredits1 + [1651572032.171393][3815:3820] CHIP:TOO: FabricIndex: 1 + [1651572032.171427][3815:3820] CHIP:TOO: } + disabled: true + + - label: + "Verify that the public Key extracted NOCValue of the AddNOC matches + the Node Operational Public Key extracted from CSRResponse" + verification: | + Verify public key matches in step 7a of CSRResponse and 5b of ADDNOC command + disabled: true + - label: "DUT sends UpdateNOC to TH" PICS: OPCREDS.C.C07.Tx verification: | - Verify the below log in DUT as Client side: + Verify UpdateNOC Command is received in TH (all-clusters-app) - [1655968444.113753][21387:21392] CHIP:CTL: Performing next commissioning step 'SendNOC' + [1655968444.113753][21387:21392] CHIP:CTL: Performing next commissioning step "SendNOC" [1655968444.113880][21387:21392] CHIP:DMG: ICR moving to [AddingComm] [1655968444.113960][21387:21392] CHIP:DMG: ICR moving to [AddedComma] [1655968444.114671][21387:21392] CHIP:IN: Prepared secure message 0xffff9afdc988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 11677i with MessageCounter:162800417. @@ -250,7 +1046,7 @@ tests: [1655968444.503901][21387:21392] CHIP:CTL: Operational credentials provisioned on device 0xffff88000b60 [1655968444.503972][21387:21392] CHIP:TOO: Secure Pairing Success [1655968444.504021][21387:21392] CHIP:TOO: CASE establishment successful - [1655968444.504076][21387:21392] CHIP:CTL: Successfully finished commissioning step 'SendNOC' + [1655968444.504076][21387:21392] CHIP:CTL: Successfully finished commissioning step "SendNOC" disabled: true - label: "DUT sends UpdateFabricLabel to TH" @@ -258,7 +1054,7 @@ tests: verification: | ./chip-tool operationalcredentials update-fabric-label node1 1 0 - Verify the below log in DUT as Client side: + Verify NOCResponse in TH (all-clusters-app) [1655316452.670075][7173:7178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1655316452.670169][7173:7178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 @@ -274,7 +1070,7 @@ tests: verification: | ./chip-tool operationalcredentials read supported-fabrics 1 0 - Verify the below log in DUT as Client side: + Verify that the DUT reads the SupportedFabrics from TH successfully. [1655316487.845378][7181:7186] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0002 DataVersion: 3651051950 [1655316487.845462][7181:7186] CHIP:TOO: SupportedFabrics: 16 @@ -286,7 +1082,7 @@ tests: verification: | ./chip-tool operationalcredentials read commissioned-fabrics 1 0 - Verify the below log in DUT as Client side: + Verify that the DUT reads the CommissionedFabrics from TH successfully. [1655316495.313955][7187:7192] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0003 DataVersion: 3651051950 [1655316495.314037][7187:7192] CHIP:TOO: CommissionedFabrics: 1 @@ -298,7 +1094,7 @@ tests: verification: | ./chip-tool operationalcredentials read trusted-root-certificates 1 0 - Verify the below log in DUT as Client side: + Verify that the DUT reads the TrustedRootCertificates from TH successfully. [1655316503.653605][7193:7198] CHIP:TOO: TrustedRootCertificates: 1 entries [1655316503.653652][7193:7198] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410482DB6829DFFB76F87C61AE4B18A1DA046222539D9F633684D76E1351BABBB97A53ED21117ACCD40F83874596D293C1605E002523447C0586B8F17221813CB5F9370A3501290118240260300414E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC300514E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC18300B40D7FC04831BFBAD7E0F9BD062203B2AA8CA50938D53A0A76E386B74D3684471BCB5C771D97B2CDEE4BF74934F435B91C282E387D4CA07716A3BF725C3357D3D4318 @@ -308,7 +1104,8 @@ tests: PICS: OPCREDS.C.A0005 verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - Verify the below log in DUT as Client side: + + Verify that the DUT reads the CurrentFabricIndex from TH successfully. [1655316862.478703][7251:7256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3651051950 [1655316862.478763][7251:7256] CHIP:TOO: CurrentFabricIndex: 1 @@ -319,7 +1116,8 @@ tests: PICS: OPCREDS.C.C0a.Tx verification: | ./chip-tool operationalcredentials remove-fabric 1 1 0 - Verify the below log in DUT as Client side: + + Verify that the TH receives RemoveFabric Command [1655316917.074630][7259:7264] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1655316917.074679][7259:7264] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml index 1c6b4f22f6da98..e592d7a821b126 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml @@ -13,7 +13,10 @@ # 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: 11.3.4. [TC-OPCREDS-3.4] UpdateNOC-Error Condition [DUT-Server] +name: 12.3.4. [TC-OPCREDS-3.4] UpdateNOC-Error Condition [DUT-Server] + +PICS: + - OPCREDS.S config: nodeId: 0x12344321 @@ -21,301 +24,309 @@ config: endpoint: 0 tests: - - label: "Modify the contents of NOC_Tests Subject and save the certificate" + - label: "TH1 fully commissions the DUT" verification: | - Not Verifiable - disabled: true + "DUT side: + sudo ./chip-all-clusters-app --wifi - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp - verification: | - Verify TH log - - [1655290769.343207][5196:5201] CHIP:DMG: >> to BLE | 255378492 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 25008 / Exchange = 11376] - [1655290769.343256][5196:5201] CHIP:DMG: Header Flags = - [1655290769.343281][5196:5201] CHIP:DMG: { - [1655290769.343318][5196:5201] CHIP:DMG: Exchange (0x01) = - [1655290769.343343][5196:5201] CHIP:DMG: { - [1655290769.343363][5196:5201] CHIP:DMG: Initiator = true - [1655290769.343385][5196:5201] CHIP:DMG: } - [1655290769.343414][5196:5201] CHIP:DMG: } - [1655290769.343437][5196:5201] CHIP:DMG: - [1655290769.343468][5196:5201] CHIP:DMG: Encrypted Payload (94 bytes) = - [1655290769.343491][5196:5201] CHIP:DMG: { - [1655290769.343512][5196:5201] CHIP:DMG: data = 00b061003cc4380f4d9768bc173f4f4f9c6e5969606c83c80018abf7dd286e55fbf860a4e56ed75272350da28dac7364f1bb92a26b42a939719bce6bb880ed47f83a7fde421c7190aa4fb2449e114da8d68aa8dc5f9779aeb49b64b469f3 - [1655290769.343535][5196:5201] CHIP:DMG: buffer_ptr = 281472426668912 - [1655290769.343555][5196:5201] CHIP:DMG: } - [1655290769.343574][5196:5201] CHIP:DMG: - [1655290769.343652][5196:5201] CHIP:DMG: InvokeRequestMessage = - [1655290769.343679][5196:5201] CHIP:DMG: { - [1655290769.343702][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290769.343728][5196:5201] CHIP:DMG: timedRequest = false, - [1655290769.343753][5196:5201] CHIP:DMG: InvokeRequests = - [1655290769.343783][5196:5201] CHIP:DMG: [ - [1655290769.343807][5196:5201] CHIP:DMG: CommandDataIB = - [1655290769.343834][5196:5201] CHIP:DMG: { - [1655290769.343860][5196:5201] CHIP:DMG: CommandPathIB = - [1655290769.343891][5196:5201] CHIP:DMG: { - [1655290769.343924][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290769.343961][5196:5201] CHIP:DMG: ClusterId = 0x3e, - [1655290769.343996][5196:5201] CHIP:DMG: CommandId = 0x4, - [1655290769.344026][5196:5201] CHIP:DMG: }, - [1655290769.344058][5196:5201] CHIP:DMG: - [1655290769.344084][5196:5201] CHIP:DMG: CommandFields = - [1655290769.344114][5196:5201] CHIP:DMG: { - [1655290769.344172][5196:5201] CHIP:DMG: 0x0 = [ - [1655290769.344216][5196:5201] CHIP:DMG: 0x69, 0xd6, 0xfa, 0x31, 0x2e, 0x58, 0x48, 0x66, 0x0, 0x76, 0xf6, 0x73, 0xc3, 0x5a, 0xc5, 0x76, 0x2, 0x63, 0xa8, 0x50, 0x9e, 0x95, 0xeb, 0xc3, 0xb1, 0x8e, 0xc2, 0x94, 0x86, 0x8, 0x86, 0xb2, - [1655290769.344253][5196:5201] CHIP:DMG: ] - [1655290769.344283][5196:5201] CHIP:DMG: }, - [1655290769.344311][5196:5201] CHIP:DMG: }, - [1655290769.344341][5196:5201] CHIP:DMG: - [1655290769.344364][5196:5201] CHIP:DMG: ], - [1655290769.344393][5196:5201] CHIP:DMG: - [1655290769.344417][5196:5201] CHIP:DMG: InteractionModelRevision = 1 - [1655290769.344440][5196:5201] CHIP:DMG: }, - [1655290769.344462][5196:5201] CHIP:DMG: - [1655290769.344613][5196:5201] CHIP:DMG: ICR moving to [CommandSen] - [1655290769.344655][5196:5201] CHIP:CTL: Sent CSR request, waiting for the CSR + TH side: + ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 + + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success" disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" verification: | - Verify in TH Log + ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 + Verify in TH Log - [1655290768.024789][5196:5201] CHIP:CTL: Arming failsafe (60 seconds) - [1655290768.024854][5196:5201] CHIP:DMG: ICR moving to [AddingComm] - [1655290768.024889][5196:5201] CHIP:DMG: ICR moving to [AddedComma] - [1655290768.025167][5196:5201] CHIP:IN: Prepared secure message 0xffff7d789f68 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 11371i with MessageCounter:255378487. - [1655290768.025218][5196:5201] CHIP:IN: Sending encrypted msg 0xffff7d789f68 with MessageCounter:255378487 to 0xFFFFFFFB00000000 (0) at monotonic time: 000000000166E1CE msec - [1655290768.025440][5196:5201] CHIP:DMG: >> to BLE | 255378487 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 25008 / Exchange = 11371] - [1655290768.025482][5196:5201] CHIP:DMG: Header Flags = - [1655290768.025508][5196:5201] CHIP:DMG: { - [1655290768.025548][5196:5201] CHIP:DMG: Exchange (0x01) = - [1655290768.025573][5196:5201] CHIP:DMG: { - [1655290768.025596][5196:5201] CHIP:DMG: Initiator = true - [1655290768.025620][5196:5201] CHIP:DMG: } - [1655290768.025651][5196:5201] CHIP:DMG: } - [1655290768.025676][5196:5201] CHIP:DMG: - [1655290768.025707][5196:5201] CHIP:DMG: Encrypted Payload (65 bytes) = - [1655290768.025733][5196:5201] CHIP:DMG: { - [1655290768.025757][5196:5201] CHIP:DMG: data = 00b0610037c4380f32a71cf8c0d3c24ad9968f546fa1a79e41adf472a5a1cc15b53b3bd2f08eb249dcab1430fc217708442ac61d1d5c6d70b7631f6efc18c94cc7 - [1655290768.025783][5196:5201] CHIP:DMG: buffer_ptr = 281472426648640 - [1655290768.025806][5196:5201] CHIP:DMG: } - [1655290768.025830][5196:5201] CHIP:DMG: - [1655290768.025903][5196:5201] CHIP:DMG: InvokeRequestMessage = - [1655290768.025933][5196:5201] CHIP:DMG: { - [1655290768.025959][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290768.025988][5196:5201] CHIP:DMG: timedRequest = false, - [1655290768.026016][5196:5201] CHIP:DMG: InvokeRequests = - [1655290768.026051][5196:5201] CHIP:DMG: [ - [1655290768.026079][5196:5201] CHIP:DMG: CommandDataIB = - [1655290768.026113][5196:5201] CHIP:DMG: { - [1655290768.026144][5196:5201] CHIP:DMG: CommandPathIB = - [1655290768.026180][5196:5201] CHIP:DMG: { - [1655290768.026216][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290768.026257][5196:5201] CHIP:DMG: ClusterId = 0x30, - [1655290768.026296][5196:5201] CHIP:DMG: CommandId = 0x0, - [1655290768.026330][5196:5201] CHIP:DMG: }, - [1655290768.026367][5196:5201] CHIP:DMG: - [1655290768.026420][5196:5201] CHIP:DMG: CommandFields = - [1655290768.026483][5196:5201] CHIP:DMG: { - [1655290768.026520][5196:5201] CHIP:DMG: 0x0 = 60, - [1655290768.026558][5196:5201] CHIP:DMG: 0x1 = 3, - [1655290768.026597][5196:5201] CHIP:DMG: }, - [1655290768.026629][5196:5201] CHIP:DMG: }, - [1655290768.026664][5196:5201] CHIP:DMG: - [1655290768.026692][5196:5201] CHIP:DMG: ], - [1655290768.026725][5196:5201] CHIP:DMG: - [1655290768.026752][5196:5201] CHIP:DMG: InteractionModelRevision = 1 - [1655290768.026779][5196:5201] CHIP:DMG: }, - [1655290768.026804][5196:5201] CHIP:DMG: - [1655290768.026973][5196:5201] CHIP:DMG: ICR moving to [CommandSen] - [1655290768.108147][5196:5201] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1655290768.110051][5196:5199] CHIP:DL: Indication received, conn = 0xffff74039fb0 - [1655290768.110203][5196:5201] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1655290768.110746][5196:5201] CHIP:DMG: << from BLE | 192898618 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 61656 / Exchange = 11371] - [1655290768.110799][5196:5201] CHIP:DMG: Header Flags = - [1655290768.110822][5196:5201] CHIP:DMG: { - [1655290768.110861][5196:5201] CHIP:DMG: } - [1655290768.110883][5196:5201] CHIP:DMG: - [1655290768.110912][5196:5201] CHIP:DMG: Encrypted Payload (66 bytes) = - [1655290768.110935][5196:5201] CHIP:DMG: { - [1655290768.110955][5196:5201] CHIP:DMG: data = 00d8f0003a667f0bb192daf065d175922cac76d987f198e1bcb595497966921cfba210b015e785daeb1231017f0a27715234363b772f1f7816595e2fc99e9f85a274 - [1655290768.110978][5196:5201] CHIP:DMG: buffer_ptr = 281472426657904 - [1655290768.110999][5196:5201] CHIP:DMG: } - [1655290768.111019][5196:5201] CHIP:DMG: - [1655290768.111084][5196:5201] CHIP:DMG: - [1655290768.111121][5196:5201] CHIP:DMG: Additional Fields = - [1655290768.111143][5196:5201] CHIP:DMG: { - [1655290768.111168][5196:5201] CHIP:DMG: peer_address = BLE - [1655290768.111189][5196:5201] CHIP:DMG: } - [1655290768.111209][5196:5201] CHIP:DMG: - [1655290768.111239][5196:5201] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:192898618 on exchange 11371i - [1655290768.111267][5196:5201] CHIP:EM: Found matching exchange: 11371i, Delegate: 0xffff68003360 - [1655290768.111311][5196:5201] CHIP:DMG: ICR moving to [ResponseRe] - [1655290768.111353][5196:5201] CHIP:DMG: InvokeResponseMessage = - [1655290768.111378][5196:5201] CHIP:DMG: { - [1655290768.111403][5196:5201] CHIP:DMG: suppressResponse = false, - [1655290768.111427][5196:5201] CHIP:DMG: InvokeResponseIBs = - [1655290768.111458][5196:5201] CHIP:DMG: [ - [1655290768.111483][5196:5201] CHIP:DMG: InvokeResponseIB = - [1655290768.111515][5196:5201] CHIP:DMG: { - [1655290768.111540][5196:5201] CHIP:DMG: CommandDataIB = - [1655290768.111573][5196:5201] CHIP:DMG: { - [1655290768.111603][5196:5201] CHIP:DMG: CommandPathIB = - [1655290768.111640][5196:5201] CHIP:DMG: { - [1655290768.111678][5196:5201] CHIP:DMG: EndpointId = 0x0, - [1655290768.111717][5196:5201] CHIP:DMG: ClusterId = 0x30, - [1655290768.111755][5196:5201] CHIP:DMG: CommandId = 0x1, - [1655290768.111790][5196:5201] CHIP:DMG: }, - [1655290768.111825][5196:5201] CHIP:DMG: - [1655290768.111855][5196:5201] CHIP:DMG: CommandFields = - [1655290768.111891][5196:5201] CHIP:DMG: { - [1655290768.111929][5196:5201] CHIP:DMG: 0x0 = 0, - [1655290768.111966][5196:5201] CHIP:DMG: 0x1 = "", - [1655290768.112000][5196:5201] CHIP:DMG: }, - [1655290768.112034][5196:5201] CHIP:DMG: }, - [1655290768.112068][5196:5201] CHIP:DMG: - [1655290768.112095][5196:5201] CHIP:DMG: }, - [1655290768.112125][5196:5201] CHIP:DMG: - [1655290768.112149][5196:5201] CHIP:DMG: ], - [1655290768.112179][5196:5201] CHIP:DMG: - [1655290768.112203][5196:5201] CHIP:DMG: InteractionModelRevision = 1 - [1655290768.112226][5196:5201] CHIP:DMG: }, - [1655290768.112287][5196:5201] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1655290768.112354][5196:5201] CHIP:CTL: Received ArmFailSafe response errorCode=0 - [1655290768.112386][5196:5201] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' - [1655290768.112408][5196:5201] CHIP:CTL: Commissioning stage next step: 'ArmFailSafe' -> 'ConfigRegulatory' + [1658736497.592132][3787:3792] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 999376603 + [1658736497.595396][3787:3792] CHIP:TOO: NOCs: 1 entries + [1658736497.595477][3787:3792] CHIP:TOO: [1]: { + [1658736497.595519][3787:3792] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241101182407012408013009410410C15281FE7A04637C46E47E30948152C5F9481B6D62D08C9D476A3D44D26E20C704DCAE97FCA4612B17A2A9B16A2D78BF9220F63E9CD19C6589CFC4CE09FF90370A350128011824020136030402040118300414C8FF1A09BE17C6824D61DA88A603A7B180804009300514574F6879804602B57796FB2D6F7212969A171E7118300B40A969CA49361A3F69E3220B19583F05F6D6B2D156AFE1992FDAD8A67A22049A0A7F62E7F303BA0B8AFDC2826A77AC94A3D042F4C611FDE66B41E34B812CEB3CFB18 + [1658736497.595588][3787:3792] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104650A6D674CF5E46402644A71D2BD59888911C9B997F5797369BAA8545057A2379DDA08AF05269B0C009AF76F940EA120DCBAF0E7720921A44C22DC07BF1BD44C370A3501290118240260300414574F6879804602B57796FB2D6F7212969A171E713005142D48B9286C5E218E5AD7EFFC31E492E297FCA12818300B40604E48C301208B4CA077AD7EEAB2DAFA2A728556A86D610234AD8200E7AE0D85836279320D5F3EFF97D573D53FC9D88B44103602FC3CA8574C844A8379BCC52C18 + [1658736497.595621][3787:3792] CHIP:TOO: FabricIndex: 1 + [1658736497.595662][3787:3792] CHIP:TOO: } disabled: true - label: - "Modify the public key to a value different from Key 1 in the NOC_Test - and save the certificate TH sends UpdateNOC Command with NOC_Test to - DUT" + "TH1 reads the TrustedRootCertificates attribute from the Node + Operational Credentials cluster" verification: | - Not Verifiable + ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + + Verify the value returned has a single entry + + [1658736567.913921][3938:3943] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 999376603 + [1658736567.914057][3938:3943] CHIP:TOO: TrustedRootCertificates: 1 entries + [1658736567.914145][3938:3943] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410470D319542F3A50625EF977E66A1277F3E50FCFF4516A5162E25016CB4E170A4D62562797E12184EB9A88A0160697122C9E473B7AA7F776E239CCB4420A82D4FE370A35012901182402603004142D48B9286C5E218E5AD7EFFC31E492E297FCA1283005142D48B9286C5E218E5AD7EFFC31E492E297FCA12818300B40C7EB3A1BA993A52EBC1D2E16C763CD9C9E4BDD82B166084FA72B5DF73437E9EB257271E09C69A8DEB6A2C09D42F833A788FD0E4092F0DA7229992B31587EE9DF18 disabled: true - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to noc_original + ICACValue is to set icac_original" + PICS: OPCREDS.S.C07.Rsp verification: | - Not Verifiable + Verify that the DUT responds with FAILSAFE_REQUIRED + + ./chip-tool operationalcredentials update-noc hex:1530010101240201370324130118260480228127260580254D3A3706241501241101182407012408013009410410C15281FE7A04637C46E47E30948152C5F9481B6D62D08C9D476A3D44D26E20C704DCAE97FCA4612B17A2A9B16A2D78BF9220F63E9CD19C6589CFC4CE09FF90370A350128011824020136030402040118300414C8FF1A09BE17C6824D61DA88A603A7B180804009300514574F6879804602B57796FB2D6F7212969A171E7118300B40A969CA49361A3F69E3220B19583F05F6D6B2D156AFE1992FDAD8A67A22049A0A7F62E7F303BA0B8AFDC2826A77AC94A3D042F4C611FDE66B41E34B812CEB3CFB18 1 0 + + [1658736631.224352][4080:4085] CHIP:DMG: ICR moving to [ResponseRe] + [1658736631.224399][4080:4085] CHIP:DMG: InvokeResponseMessage = + [1658736631.224425][4080:4085] CHIP:DMG: { + [1658736631.224450][4080:4085] CHIP:DMG: suppressResponse = false, + [1658736631.224476][4080:4085] CHIP:DMG: InvokeResponseIBs = + [1658736631.224506][4080:4085] CHIP:DMG: [ + [1658736631.224531][4080:4085] CHIP:DMG: InvokeResponseIB = + [1658736631.224563][4080:4085] CHIP:DMG: { + [1658736631.224589][4080:4085] CHIP:DMG: CommandStatusIB = + [1658736631.224618][4080:4085] CHIP:DMG: { + [1658736631.224665][4080:4085] CHIP:DMG: CommandPathIB = + [1658736631.224706][4080:4085] CHIP:DMG: { + [1658736631.224739][4080:4085] CHIP:DMG: EndpointId = 0x0, + [1658736631.224776][4080:4085] CHIP:DMG: ClusterId = 0x3e, + [1658736631.224807][4080:4085] CHIP:DMG: CommandId = 0x7, + [1658736631.224843][4080:4085] CHIP:DMG: }, + [1658736631.224876][4080:4085] CHIP:DMG: + [1658736631.224906][4080:4085] CHIP:DMG: StatusIB = + [1658736631.224940][4080:4085] CHIP:DMG: { + [1658736631.224977][4080:4085] CHIP:DMG: status = 0xca (FAILSAFE_REQUIRED), + [1658736631.225012][4080:4085] CHIP:DMG: }, + [1658736631.225046][4080:4085] CHIP:DMG: + [1658736631.225075][4080:4085] CHIP:DMG: }, + [1658736631.225109][4080:4085] CHIP:DMG: + [1658736631.225134][4080:4085] CHIP:DMG: }, + [1658736631.225165][4080:4085] CHIP:DMG: + [1658736631.225189][4080:4085] CHIP:DMG: ], + [1658736631.225218][4080:4085] CHIP:DMG: + [1658736631.225243][4080:4085] CHIP:DMG: InteractionModelRevision = 1 + [1658736631.225271][4080:4085] CHIP:DMG: }, + [1658736631.225332][4080:4085] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0007 Status=0xca + [1658736631.225367][4080:4085] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED) disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 900" verification: | - Not Verifiable + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + Verify the ArmFailSafeResponse with the ErrorCode set to OK is returned + + + [1658736675.488274][4129:4134] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1658736675.488329][4129:4134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1658736675.488401][4129:4134] CHIP:TOO: ArmFailSafeResponse: { + [1658736675.488441][4129:4134] CHIP:TOO: errorCode: 0 + [1658736675.488471][4129:4134] CHIP:TOO: debugText: + [1658736675.488496][4129:4134] CHIP:TOO: } disabled: true - label: - "Modify the Node Operational ID in the NOC_Test and save the - certificate TH sends UpdateNOC Command with NOC_Test to DUT" + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to noc_original + ICACValue is to set icac_original" + PICS: OPCREDS.S.C07.Rsp verification: | - Not Verifiable + Verify that the DUT responds with a NOCResponse with the StatusCode field set to MissingCsr that is status code 4 + + ./chip-tool operationalcredentials update-noc hex:1530010101240201370324130118260480228127260580254D3A3706241501241101182407012408013009410410C15281FE7A04637C46E47E30948152C5F9481B6D62D08C9D476A3D44D26E20C704DCAE97FCA4612B17A2A9B16A2D78BF9220F63E9CD19C6589CFC4CE09FF90370A350128011824020136030402040118300414C8FF1A09BE17C6824D61DA88A603A7B180804009300514574F6879804602B57796FB2D6F7212969A171E7118300B40A969CA49361A3F69E3220B19583F05F6D6B2D156AFE1992FDAD8A67A22049A0A7F62E7F303BA0B8AFDC2826A77AC94A3D042F4C611FDE66B41E34B812CEB3CFB18 1 0 + + [1658736892.440441][4160:4170] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + [1658736892.440714][4160:4170] CHIP:TOO: NOCResponse: { + [1658736892.440945][4160:4170] CHIP:TOO: statusCode: 4 + [1658736892.441000][4160:4170] CHIP:TOO: } + [1658736892.441078][4160:4170] CHIP:DMG: ICR moving to [AwaitingDe] disabled: true - - label: "TH1 Sends CSRRequest command" + - label: + "TH1 Sends CSRRequest command with the IsForUpdateNOC field set to + false" PICS: OPCREDS.S.C04.Rsp verification: | - Not Verifiable + Verify that the DUT returns a CSRResponse and save as csr_not_update + + To get csr nonce give below command 2 times + echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) + + ./chip-tool operationalcredentials csrrequest hex:C11D6EAA00A54066220DA7F3FC5DC0F684C13D8B8FD3758B51163C2AEDD6F10F 1 0 --IsForUpdateNOC 0 + + [1658743641.233113][9670:9675] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1658743641.233162][9670:9675] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1658743641.233226][9670:9675] CHIP:TOO: CSRResponse: { + [1658743641.233269][9670:9675] CHIP:TOO: NOCSRElements: 153001CA3081C73070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004D3C12FD39A573184AC822E12F9D76C43EA3872B8D541BF0DCF68FF33AF7E62E71ADB4D4F35AA9E206D00CC290CCA1BAD557537A05BA8D3BAD1B7F3EE323B2CE9A000300A06082A8648CE3D04030203470030440220232B91662198D24E57F5967A06C0A554991CAA02D958D507AAAABB41450AD39002204575858E909DCE43563F33725928FF2AA01A176CECF611F9B248CD9D2CBC76CA300220C11D6EAA00A54066220DA7F3FC5DC0F684C13D8B8FD3758B51163C2AEDD6F10F18 + [1658743641.233306][9670:9675] CHIP:TOO: attestationSignature: 2D4052E30061B78A79B5C2D392C93BEFADE17BA5F3547776A545D4913EC935CF446C9105E9F203BF898BF17F87106E63AD8E93E894C5398CAC344F7D6ECE27F6 disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 generates a new NOC chain with ICAC with the following + properties: new NOC is generated from the NOCSR returned in + csr_not_for_update and is signed by ICA. Save as noc_not_for_update + ICAC must be signed by the original key for trusted_root_original. + Save as icac_not_for_update" verification: | - + verification step to be updated. disabled: true - label: - "Extract a NOC that is not in the TrustedRootCertificates of DUT and - save the certificate as NOC_Test TH sends UpdateNOC Command with - NOC_Test to DUT" + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to + noc_not_for_update ICACValue is to set icac_not_for_update" + PICS: OPCREDS.S.C07.Rsp verification: | - + verification step to be updated. disabled: true - - label: "TH1 Sends CSRRequest command" + - label: + "TH1 Sends CSRRequest command with the IsForUpdateNOC field set to + true" PICS: OPCREDS.S.C04.Rsp verification: | - + verification step to be updated. disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to noc_original + ICACValue is to set icac_original" + PICS: OPCREDS.S.C07.Rsp verification: | - + verification step to be updated. disabled: true - label: - "Start the Commissioning process of TH on DUT TH sends ADDNOC Command - with invalid CaseAdminSubject field to DUT" + "TH1 generates a new Trusted Root Certificate and Private Key and + saves as new_root_cert and new_root_key so that TH can generate an NOC + for UpdateNOC that doesnt chain to the original root" verification: | - + verification step to be updated. disabled: true - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp + - label: + "TH1 generates a new NOC and ICAC with the following properties: new + NOC is generated from the NOCSR returned in csr_update and is signed + by new ICA. Save as noc_update_new_root new ICAC is generated and + signed by new_root_key. Save as icac_update_new_root" verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to + noc_update_new_root ICACValue is to set icac_update_new_root" + PICS: OPCREDS.S.C07.Rsp + verification: | + verification step to be updated. disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 generates a new NOC and ICAC with the following properties: new + NOC is generated from the NOCSR returned in csr_update with the + matter-fabric-id set to a different value than noc_original. The NOC + is signed by new ICA. Save as noc_update_bad_fabric_on_noc new ICAC is + generated with the and matter-fabric-id omitted. ICAC is signed by the + original key for trusted_root_original. Save as + icac_update_bad_fabric_on_noc" verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to + noc_update_bad_fabric_on_noc ICACValue is to set + icac_update_bad_fabric_on_noc" + PICS: OPCREDS.S.C07.Rsp + verification: | + verification step to be updated. disabled: true - label: - "Start the Commissioning process of TH on DUT TH sends ADDNOC Command - with invalid IpkValue to DUT" + "TH1 generates a new NOC and ICAC with the following properties: new + NOC is generated from the NOCSR returned in csr_update with the + matter-fabric-id set to the same value as noc_original. The NOC is + signed by new ICA. Save as noc_update_bad_fabric_on_icac new ICAC is + generated with the and matter-fabric-id included as set to a different + value than noc_original. ICAC is signed by the original key for + trusted_root_original. Save as icac_update_bad_fabric_on_icac" verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to + noc_update_bad_fabric_on_icac ICACValue is to set + icac_update_bad_fabric_on_icac" + PICS: OPCREDS.S.C07.Rsp + verification: | + verification step to be updated. disabled: true - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp + - label: + "TH1 sends AddTrustedRootCertificate command to DUT again with the + RootCACertificate field set to new_root_cert" + PICS: OPCREDS.S.C0b.Rsp verification: | + verification step to be updated. + disabled: true + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to + noc_update_new_root ICACValue is to set icac_update_new_root" + PICS: OPCREDS.S.C07.Rsp + verification: | + verification step to be updated. disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 0" verification: | + verification step to be updated. + disabled: true + - label: "TH1 sends an OpenCommissioningWindow command to the DUT" + verification: | + verification step to be updated. disabled: true - label: - "Start the Commissioning process of TH on DUT TH sends ADDNOC Command - with valid fields to DUT" + "TH1 connects to the DUT over PASE and sends ArmFailSafe command to + the DUT with the ExpiryLengthSeconds field set to 900. Steps 24-26 are + all performed over the PASE connection." verification: | - + verification step to be updated. disabled: true - - label: "TH1 Sends CSRRequest command" + - label: + "TH1 Sends CSRRequest command over PASE with the IsForUpdateNOC field + set to true" PICS: OPCREDS.S.C04.Rsp verification: | - + verification step to be updated. disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" + "TH1 generates a new NOC chain with ICAC with the following + properties: new NOC is generated from the NOCSR returned in csr_pase + and is signed by ICA. Save as noc_pase ICAC must be signed by the + original key for trusted_root_original. Save as icac_pase" verification: | - + verification step to be updated. disabled: true - label: - "TH sends ADDNOC Command with valid fields same as previous step to - DUT" + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster over PASE with the following fields: NOCValue is set to + noc_pase ICACValue is to set icac_pase" + PICS: OPCREDS.S.C07.Rsp verification: | - + verification step to be updated. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml index 6190e94f5c7d70..b769dc2185a587 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml @@ -13,7 +13,10 @@ # 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: 11.3.5. [TC-OPCREDS-3.5] NOC Check for UpdateNOC [DUT-Server] +name: 12.3.5. [TC-OPCREDS-3.5] NOC Check for UpdateNOC [DUT-Server] + +PICS: + - OPCREDS.S config: nodeId: 0x12344321 @@ -21,628 +24,184 @@ config: endpoint: 0 tests: - - label: "TH sends AttestationRequest command to DUT" - PICS: OPCREDS.S.C00.Rsp + - label: "TH1 fully commissions the DUT" verification: | - Verify in TH Log + "DUT side: + sudo ./chip-all-clusters-app --wifi - [1657692834.294945][15001:15006] CHIP:CTL: Sending Attestation Request to the device. - [1657692834.294967][15001:15006] CHIP:CTL: Sending Attestation request to 0xffff8c000b60 device - [1657692834.295032][15001:15006] CHIP:DMG: ICR moving to [AddingComm] - [1657692834.295065][15001:15006] CHIP:DMG: ICR moving to [AddedComma] - [1657692834.295331][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f988 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3700i with MessageCounter:235938698. - [1657692834.295384][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f988 with MessageCounter:235938698 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2871 msec - [1657692834.295600][15001:15006] CHIP:DMG: >> to BLE | 235938698 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3700] - [1657692834.295641][15001:15006] CHIP:DMG: Header Flags = - [1657692834.295663][15001:15006] CHIP:DMG: { - [1657692834.295699][15001:15006] CHIP:DMG: Exchange (0x01) = - [1657692834.295721][15001:15006] CHIP:DMG: { - [1657692834.295740][15001:15006] CHIP:DMG: Initiator = true - [1657692834.295761][15001:15006] CHIP:DMG: } - [1657692834.295792][15001:15006] CHIP:DMG: } - [1657692834.295814][15001:15006] CHIP:DMG: - [1657692834.295842][15001:15006] CHIP:DMG: Encrypted Payload (94 bytes) = - [1657692834.295863][15001:15006] CHIP:DMG: { - [1657692834.295884][15001:15006] CHIP:DMG: data = 00d313008a23100e7391b8cd6ec52c1a2bd9f2c1bba2e8a89e8b47c3d6b20bfa893432d51eabbd9c5bb2b7770ab0af408fa84779ea66ea18d9a8e00fe54a3c66f98f02803e9e88d0ffa90bd743f8ddfffb457458d94f98d92a48403604b1 - [1657692834.295907][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 - [1657692834.295928][15001:15006] CHIP:DMG: } - [1657692834.295947][15001:15006] CHIP:DMG: - [1657692834.296018][15001:15006] CHIP:DMG: InvokeRequestMessage = - [1657692834.296045][15001:15006] CHIP:DMG: { - [1657692834.296068][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692834.296094][15001:15006] CHIP:DMG: timedRequest = false, - [1657692834.296118][15001:15006] CHIP:DMG: InvokeRequests = - [1657692834.296149][15001:15006] CHIP:DMG: [ - [1657692834.296173][15001:15006] CHIP:DMG: CommandDataIB = - [1657692834.296200][15001:15006] CHIP:DMG: { - [1657692834.296225][15001:15006] CHIP:DMG: CommandPathIB = - [1657692834.296258][15001:15006] CHIP:DMG: { - [1657692834.296290][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692834.296326][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692834.296361][15001:15006] CHIP:DMG: CommandId = 0x0, - [1657692834.296395][15001:15006] CHIP:DMG: }, - [1657692834.296428][15001:15006] CHIP:DMG: - [1657692834.296457][15001:15006] CHIP:DMG: CommandFields = - [1657692834.296487][15001:15006] CHIP:DMG: { - [1657692834.296518][15001:15006] CHIP:DMG: 0x0 = [ - [1657692834.296560][15001:15006] CHIP:DMG: 0x19, 0xa1, 0xd0, 0xac, 0xea, 0x29, 0x38, 0xb6, 0x8e, 0x70, 0xd5, 0x82, 0xc9, 0x42, 0x66, 0xec, 0x9, 0xd, 0x58, 0xe9, 0x43, 0x1c, 0x2d, 0x79, 0x1a, 0xeb, 0x1d, 0x43, 0xcb, 0x70, 0xe7, 0x49, - [1657692834.296598][15001:15006] CHIP:DMG: ] - [1657692834.296631][15001:15006] CHIP:DMG: }, - [1657692834.296659][15001:15006] CHIP:DMG: }, - [1657692834.296691][15001:15006] CHIP:DMG: - [1657692834.296714][15001:15006] CHIP:DMG: ], - [1657692834.296744][15001:15006] CHIP:DMG: - [1657692834.296767][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692834.296790][15001:15006] CHIP:DMG: }, - [1657692834.296812][15001:15006] CHIP:DMG: - [1657692834.296949][15001:15006] CHIP:DMG: ICR moving to [CommandSen] - [1657692834.296993][15001:15006] CHIP:CTL: Sent Attestation request, waiting for the Attestation Information + TH side: + ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 + + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success" disabled: true - - label: "TH sends CertificateChainRequest command to DUT" - PICS: OPCREDS.S.C02.Rsp + - label: + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" verification: | - Verify in TH log: + ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 1 - [1657692833.616096][15001:15006] CHIP:CTL: Sending Certificate Chain request to 0xffff8c000b60 device - [1657692833.616182][15001:15006] CHIP:DMG: ICR moving to [AddingComm] - [1657692833.616248][15001:15006] CHIP:DMG: ICR moving to [AddedComma] - [1657692833.616573][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f9b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3698i with MessageCounter:235938696. - [1657692833.616638][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f9b8 with MessageCounter:235938696 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE25CA msec - [1657692833.616954][15001:15006] CHIP:DMG: >> to BLE | 235938696 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3698] - [1657692833.617014][15001:15006] CHIP:DMG: Header Flags = - [1657692833.617050][15001:15006] CHIP:DMG: { - [1657692833.617104][15001:15006] CHIP:DMG: Exchange (0x01) = - [1657692833.617140][15001:15006] CHIP:DMG: { - [1657692833.617173][15001:15006] CHIP:DMG: Initiator = true - [1657692833.617207][15001:15006] CHIP:DMG: } - [1657692833.617251][15001:15006] CHIP:DMG: } - [1657692833.617285][15001:15006] CHIP:DMG: - [1657692833.617328][15001:15006] CHIP:DMG: Encrypted Payload (62 bytes) = - [1657692833.617362][15001:15006] CHIP:DMG: { - [1657692833.617397][15001:15006] CHIP:DMG: data = 00d313008823100e2d0885aaa9bde5bb3966dbe113c964fe6a122d68da934cc7bc7459d38f49b1cc63d4bf34ceacfea2682b8c283306d541ceab243bd20b - [1657692833.617434][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 - [1657692833.617467][15001:15006] CHIP:DMG: } - [1657692833.617500][15001:15006] CHIP:DMG: - [1657692833.617595][15001:15006] CHIP:DMG: InvokeRequestMessage = - [1657692833.617638][15001:15006] CHIP:DMG: { - [1657692833.617712][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692833.617759][15001:15006] CHIP:DMG: timedRequest = false, - [1657692833.617799][15001:15006] CHIP:DMG: InvokeRequests = - [1657692833.617848][15001:15006] CHIP:DMG: [ - [1657692833.617887][15001:15006] CHIP:DMG: CommandDataIB = - [1657692833.617931][15001:15006] CHIP:DMG: { - [1657692833.617972][15001:15006] CHIP:DMG: CommandPathIB = - [1657692833.618024][15001:15006] CHIP:DMG: { - [1657692833.618072][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692833.618115][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692833.618157][15001:15006] CHIP:DMG: CommandId = 0x2, - [1657692833.618196][15001:15006] CHIP:DMG: }, - [1657692833.618247][15001:15006] CHIP:DMG: - [1657692833.618289][15001:15006] CHIP:DMG: CommandFields = - [1657692833.618338][15001:15006] CHIP:DMG: { - [1657692833.618388][15001:15006] CHIP:DMG: 0x0 = 2, - [1657692833.618441][15001:15006] CHIP:DMG: }, - [1657692833.618486][15001:15006] CHIP:DMG: }, - [1657692833.618533][15001:15006] CHIP:DMG: - [1657692833.618572][15001:15006] CHIP:DMG: ], - [1657692833.618618][15001:15006] CHIP:DMG: - [1657692833.618657][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692833.618695][15001:15006] CHIP:DMG: }, - [1657692833.618731][15001:15006] CHIP:DMG: - [1657692833.618891][15001:15006] CHIP:DMG: ICR moving to [CommandSen] - [1657692833.618981][15001:15006] CHIP:DMG: ICR moving to [AwaitingDe] - [1657692833.706399][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1657692833.755363][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692833.755629][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692833.856025][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692833.856273][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692833.951459][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692833.951692][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692833.952945][15001:15006] CHIP:DMG: << from BLE | 53738028 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3698] - [1657692833.953046][15001:15006] CHIP:DMG: Header Flags = - [1657692833.953104][15001:15006] CHIP:DMG: { - [1657692833.953200][15001:15006] CHIP:DMG: } - [1657692833.953254][15001:15006] CHIP:DMG: - [1657692833.953349][15001:15006] CHIP:DMG: Encrypted Payload (527 bytes) = - [1657692833.953405][15001:15006] CHIP:DMG: { - [1657692833.953582][15001:15006] CHIP:DMG: data = 0021e9002cfa33033d2ece47b273d5016ec819dfcb52459d0983178bcb90e4c94416a0692d4a62589bcbd78e4bc2b80f5586a1513a0cc062d6b792a0f6768e8b932a2c6feec53314ee7d1012eb7c2b4b8ae1ae9bc874f9c7ff75afff9a0aeaa89f91d6eb4e5b899843245dfbd56f676709ee1aa408ccc4867c9f917ada4e59af26b24c007a7062d1204b733aeb7f56db1f997bd10be630832c2a9730ba1a04b6c448af932e7f48a592a410374e3c2b6e69e3ae6c84bfdb50df1819836f33480a1d6469cb35c302ff589ff4feb93584ab8590c370224e99b9409d0e131b7d92f8a9ae063a676fddda30e40274b2dc897f049b00c6c1b92a198a0960aa2ff4adfc3675520d3a9b99082465842e39a11e820b6faea9bc99734235c87525477b60ca299d13ae75b3623da74f12e0c1a57adf036faa78f5eb86e4eb5b702cc0a783973d6561ffda96295c6f84aa4f27f07f2a3e18992950e96c661bef9f8d39978850cd67c9095f8e2d4ecdc7f68836cb9da0b970c59e7c9ac5d0420bf5f7bebc588a1b53eb8be31877ae696f3ca7f30366c64162cc4c4e639488142870ec4efcb0cdc0565a304ad3440556a5384d7f1bb781d26fa1c0578b7c84d154dfb6d616873465b362a1a11880ee3b97de84b7dc0f62c7735aa6a2e434847ad830757fa7bb0d41d4f8edd58aefc501efcf3d341841df1216c91bf08d5d1148512e9f3f9d0fc605c59110ce9d26136b68e5229d2781 - [1657692833.953772][15001:15006] CHIP:DMG: buffer_ptr = 281473030638032 - [1657692833.953826][15001:15006] CHIP:DMG: } - [1657692833.953876][15001:15006] CHIP:DMG: - [1657692833.954157][15001:15006] CHIP:DMG: DAC/PAI (463) = - [1657692833.954291][15001:15006] CHIP:DMG: { - -----BEGIN CERTIFICATE----- - MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP - TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw - MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ - QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO - PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU - xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E - CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk - YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI - zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl - Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== - -----END CERTIFICATE----- - [1657692833.954511][15001:15006] CHIP:DMG: } - [1657692833.954582][15001:15006] CHIP:DMG: - [1657692833.954647][15001:15006] CHIP:DMG: - [1657692833.954750][15001:15006] CHIP:DMG: Additional Fields = - [1657692833.954809][15001:15006] CHIP:DMG: { - [1657692833.954888][15001:15006] CHIP:DMG: peer_address = BLE - [1657692833.954944][15001:15006] CHIP:DMG: } - [1657692833.954994][15001:15006] CHIP:DMG: - [1657692833.955083][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738028 on exchange 3698i - [1657692833.955149][15001:15006] CHIP:EM: Found matching exchange: 3698i, Delegate: 0xffff8c012680 - [1657692833.955263][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] - [1657692833.955374][15001:15006] CHIP:DMG: InvokeResponseMessage = - [1657692833.955435][15001:15006] CHIP:DMG: { - [1657692833.955515][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692833.955576][15001:15006] CHIP:DMG: InvokeResponseIBs = - [1657692833.955677][15001:15006] CHIP:DMG: [ - [1657692833.955737][15001:15006] CHIP:DMG: InvokeResponseIB = - [1657692833.955839][15001:15006] CHIP:DMG: { - [1657692833.955904][15001:15006] CHIP:DMG: CommandDataIB = - [1657692833.956000][15001:15006] CHIP:DMG: { - [1657692833.956073][15001:15006] CHIP:DMG: CommandPathIB = - [1657692833.956177][15001:15006] CHIP:DMG: { - [1657692833.956281][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692833.956375][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692833.956479][15001:15006] CHIP:DMG: CommandId = 0x3, - [1657692833.956579][15001:15006] CHIP:DMG: }, - [1657692833.956663][15001:15006] CHIP:DMG: - [1657692833.956886][15001:15006] CHIP:DMG: CommandFields = - [1657692833.956980][15001:15006] CHIP:DMG: { - [1657692833.957257][15001:15006] CHIP:DMG: 0x0 = [ - [1657692833.957640][15001:15006] CHIP:DMG: 0x30, 0x82, 0x1, 0xcb, 0x30, 0x82, 0x1, 0x71, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x56, 0xad, 0x82, 0x22, 0xad, 0x94, 0x5b, 0x64, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0xf, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0xd, 0x32, 0x32, 0x30, 0x32, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x18, 0xf, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x3d, 0x31, 0x25, 0x30, 0x23, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x1c, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x20, 0x50, 0x41, 0x49, 0x20, 0x30, 0x78, 0x46, 0x46, 0x46, 0x31, 0x20, 0x6e, 0x6f, 0x20, 0x50, 0x49, 0x44, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x41, 0x9a, 0x93, 0x15, 0xc2, 0x17, 0x3e, 0xc, 0x8c, 0x87, 0x6d, 0x3, 0xcc, 0xfc, 0x94, 0x48, 0x52, 0x64, 0x7f, 0x7f, 0xec, 0x5e, 0x50, 0x82, 0xf4, 0x5, 0x99, 0x28, 0xec, 0xa8, 0x94, 0xc5, 0x94, 0x15, 0x13, 0x9, 0xac, 0x63, 0x1e, 0x4c, 0xb0, 0x33, 0x92, 0xaf, 0x68, 0x4b, 0xb, 0xaf, 0xb7, 0xe6, 0x5b, 0x3b, 0x81, 0x62, 0xc2, 0xf5, 0x2b, 0xf9, 0x31, 0xb8, 0xe7, 0x7a, 0xaa, 0x82, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x8, 0x30, 0x6, 0x1, 0x1, 0xff, 0x2, 0x1, - [1657692833.957850][15001:15006] CHIP:DMG: ] - [1657692833.957936][15001:15006] CHIP:DMG: }, - [1657692833.958011][15001:15006] CHIP:DMG: }, - [1657692833.958094][15001:15006] CHIP:DMG: - [1657692833.958187][15001:15006] CHIP:DMG: }, - [1657692833.958264][15001:15006] CHIP:DMG: - [1657692833.958462][15001:15006] CHIP:DMG: ], - [1657692833.958543][15001:15006] CHIP:DMG: - [1657692833.958681][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692833.958765][15001:15006] CHIP:DMG: }, - [1657692833.958929][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 - [1657692833.959028][15001:15006] CHIP:CTL: Received certificate chain from the device + Verify in TH Log + [1658736497.592132][3787:3792] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 999376603 + [1658736497.595396][3787:3792] CHIP:TOO: NOCs: 1 entries + [1658736497.595477][3787:3792] CHIP:TOO: [1]: { + [1658736497.595519][3787:3792] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241101182407012408013009410410C15281FE7A04637C46E47E30948152C5F9481B6D62D08C9D476A3D44D26E20C704DCAE97FCA4612B17A2A9B16A2D78BF9220F63E9CD19C6589CFC4CE09FF90370A350128011824020136030402040118300414C8FF1A09BE17C6824D61DA88A603A7B180804009300514574F6879804602B57796FB2D6F7212969A171E7118300B40A969CA49361A3F69E3220B19583F05F6D6B2D156AFE1992FDAD8A67A22049A0A7F62E7F303BA0B8AFDC2826A77AC94A3D042F4C611FDE66B41E34B812CEB3CFB18 + [1658736497.595588][3787:3792] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104650A6D674CF5E46402644A71D2BD59888911C9B997F5797369BAA8545057A2379DDA08AF05269B0C009AF76F940EA120DCBAF0E7720921A44C22DC07BF1BD44C370A3501290118240260300414574F6879804602B57796FB2D6F7212969A171E713005142D48B9286C5E218E5AD7EFFC31E492E297FCA12818300B40604E48C301208B4CA077AD7EEAB2DAFA2A728556A86D610234AD8200E7AE0D85836279320D5F3EFF97D573D53FC9D88B44103602FC3CA8574C844A8379BCC52C18 + [1658736497.595621][3787:3792] CHIP:TOO: FabricIndex: 1 + [1658736497.595662][3787:3792] CHIP:TOO: } disabled: true - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp + - label: + "TH1 reads the TrustedRootCertificates attribute from the Node + Operational Credentials cluster" verification: | - Verify in TH Log + ./chip-tool operationalcredentials read trusted-root-certificates 1 0 + + Verify the value returned has a single entry - [1657692834.696638][15001:15006] CHIP:CTL: Sending CSR request to 0xffff8c000b60 device - [1657692834.696719][15001:15006] CHIP:DMG: ICR moving to [AddingComm] - [1657692834.696759][15001:15006] CHIP:DMG: ICR moving to [AddedComma] - [1657692834.697074][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f058 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3701i with MessageCounter:235938699. - [1657692834.697128][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f058 with MessageCounter:235938699 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2A03 msec - [1657692834.697375][15001:15006] CHIP:DMG: >> to BLE | 235938699 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3701] - [1657692834.697422][15001:15006] CHIP:DMG: Header Flags = - [1657692834.697450][15001:15006] CHIP:DMG: { - [1657692834.697493][15001:15006] CHIP:DMG: Exchange (0x01) = - [1657692834.697521][15001:15006] CHIP:DMG: { - [1657692834.697545][15001:15006] CHIP:DMG: Initiator = true - [1657692834.697572][15001:15006] CHIP:DMG: } - [1657692834.697605][15001:15006] CHIP:DMG: } - [1657692834.697631][15001:15006] CHIP:DMG: - [1657692834.697690][15001:15006] CHIP:DMG: Encrypted Payload (94 bytes) = - [1657692834.697719][15001:15006] CHIP:DMG: { - [1657692834.697746][15001:15006] CHIP:DMG: data = 00d313008b23100e87e0274c98271a2f4e3dcbf63dad5e4dd5423d6da985cb5067dafbfeba1b4ca6b577b62aa7069568ea1fd0e96b90031748ff0535b32df4ff6beba0116870874480dfe70f1c27479b11ac2c05a2b57532a1455f5faec7 - [1657692834.697775][15001:15006] CHIP:DMG: buffer_ptr = 281473030647456 - [1657692834.697800][15001:15006] CHIP:DMG: } - [1657692834.697824][15001:15006] CHIP:DMG: - [1657692834.697908][15001:15006] CHIP:DMG: InvokeRequestMessage = - [1657692834.697939][15001:15006] CHIP:DMG: { - [1657692834.697968][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692834.698001][15001:15006] CHIP:DMG: timedRequest = false, - [1657692834.698030][15001:15006] CHIP:DMG: InvokeRequests = - [1657692834.698067][15001:15006] CHIP:DMG: [ - [1657692834.698096][15001:15006] CHIP:DMG: CommandDataIB = - [1657692834.698134][15001:15006] CHIP:DMG: { - [1657692834.698165][15001:15006] CHIP:DMG: CommandPathIB = - [1657692834.698202][15001:15006] CHIP:DMG: { - [1657692834.698241][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692834.698284][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692834.698327][15001:15006] CHIP:DMG: CommandId = 0x4, - [1657692834.698368][15001:15006] CHIP:DMG: }, - [1657692834.698406][15001:15006] CHIP:DMG: - [1657692834.698440][15001:15006] CHIP:DMG: CommandFields = - [1657692834.698479][15001:15006] CHIP:DMG: { - [1657692834.698557][15001:15006] CHIP:DMG: 0x0 = [ - [1657692834.698611][15001:15006] CHIP:DMG: 0x9d, 0x85, 0xd4, 0x8a, 0xde, 0xc0, 0xe8, 0xb4, 0x1e, 0xe8, 0xcd, 0x69, 0xc9, 0xd, 0x33, 0xf8, 0x27, 0x34, 0xdb, 0xda, 0x21, 0x79, 0xf8, 0xa, 0xd9, 0x58, 0x3a, 0x3a, 0xf5, 0xd, 0x13, 0x8f, - [1657692834.698658][15001:15006] CHIP:DMG: ] - [1657692834.698697][15001:15006] CHIP:DMG: }, - [1657692834.698731][15001:15006] CHIP:DMG: }, - [1657692834.698769][15001:15006] CHIP:DMG: - [1657692834.698797][15001:15006] CHIP:DMG: ], - [1657692834.698834][15001:15006] CHIP:DMG: - [1657692834.698862][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692834.698891][15001:15006] CHIP:DMG: }, - [1657692834.698919][15001:15006] CHIP:DMG: - [1657692834.699059][15001:15006] CHIP:DMG: ICR moving to [CommandSen] - [1657692834.699101][15001:15006] CHIP:CTL: Sent CSR request, waiting for the CSR - [1657692834.699162][15001:15006] CHIP:DMG: ICR moving to [AwaitingDe] - [1657692834.779469][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1657692834.827730][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692834.827972][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692834.926634][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692834.926774][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692834.927302][15001:15006] CHIP:DMG: << from BLE | 53738031 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3701] - [1657692834.927345][15001:15006] CHIP:DMG: Header Flags = - [1657692834.927368][15001:15006] CHIP:DMG: { - [1657692834.927406][15001:15006] CHIP:DMG: } - [1657692834.927428][15001:15006] CHIP:DMG: - [1657692834.927455][15001:15006] CHIP:DMG: Encrypted Payload (373 bytes) = - [1657692834.927477][15001:15006] CHIP:DMG: { - [1657692834.927498][15001:15006] CHIP:DMG: data = 0021e9002ffa3303c4020b916e941fcaae43147a156b15b9e1b0d8918f32067d4462d77b45fb0eb420646ee134d769d4137d00063be9e2695081e24037a737ee07afe2e895206f2e0473326a9049b6ad0d0fb37c5034f9b382fa3ed9eed81e06594d2522271e260f0f0694e25bb6df63c9b91dd7659c32e5a35e9d8581aca39f7d77dca65a0306ce16e8e1da79d8604cf998a2864fc69a29fe88189bcf7db07243ddc18f651389aca85c9a09b5c8a9bf66628fbad1275bd833f1a7669d463ee9c61beff5be8bc3ec67cd919d4600d3a19a1ee7e5a79a649c8044774209098fc3b0bd6e0daf3baabf9b4f24c27b3d4a8a93ae1e473e749e5a3cfecca667aa15622a061447dbf92d464c07df57ce2557a58941bdbda7e16caa75dfc79cd90b154db68ff5170b1cdad5dc387bf587e93ecb575757d54e75d17c1aa0c5f7b5742cf9ff8051d1768cf5fe19e4aa17932906660c6b2a83e04cd17e26e9a9a2d62e5c094980fe57fed943c567afafd648f7eadfc1a025cc2f - [1657692834.927529][15001:15006] CHIP:DMG: buffer_ptr = 281473030654064 - [1657692834.927549][15001:15006] CHIP:DMG: } - [1657692834.927569][15001:15006] CHIP:DMG: - [1657692834.927668][15001:15006] CHIP:DMG: NOCSR Elements = - [1657692834.927691][15001:15006] CHIP:DMG: { - [1657692834.927722][15001:15006] CHIP:DMG: CSR (203) = 3081C83070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D030107034200041DEA2CF348149F1ABFC0E6F947059BB63B30C5A62E14D29482D1265D50E42B55B696D0E9FA32BA0960E6905BE93A89A2F4DE588E3C2C0B9A29FF8128D09BE439A000300A06082A8648CE3D040302034800304502205AD685009D4907C15A852416607F482343DAF1444A0D2E37239CF22F37CEBAFD022100BC6B0D761BFF897DB4E7AF1D16D446E67605B38C064CA7323E7CA405AAB92E77 - [1657692834.927749][15001:15006] CHIP:DMG: CSRNonce (32) = 9D85D48ADEC0E8B41EE8CD69C90D33F82734DBDA2179F80AD9583A3AF50D138F - [1657692834.927771][15001:15006] CHIP:DMG: } - [1657692834.927790][15001:15006] CHIP:DMG: - [1657692834.927811][15001:15006] CHIP:DMG: CSR (203) = - [1657692834.927845][15001:15006] CHIP:DMG: { - -----BEGIN CERTIFICATE REQUEST----- - MIHIMHACAQAwDjEMMAoGA1UECgwDQ1NSMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD - QgAEHeos80gUnxq/wOb5RwWbtjswxaYuFNKUgtEmXVDkK1W2ltDp+jK6CWDmkFvp - Oomi9N5YjjwsC5op/4Eo0JvkOaAAMAoGCCqGSM49BAMCA0gAMEUCIFrWhQCdSQfB - WoUkFmB/SCND2vFESg0uNyOc8i83zrr9AiEAvGsNdhv/iX20568dFtRG5nYFs4wG - TKcyPnykBaq5Lnc= - -----END CERTIFICATE REQUEST----- - [1657692834.927980][15001:15006] CHIP:DMG: } - [1657692834.928001][15001:15006] CHIP:DMG: - [1657692834.928029][15001:15006] CHIP:DMG: - [1657692834.928064][15001:15006] CHIP:DMG: Additional Fields = - [1657692834.928087][15001:15006] CHIP:DMG: { - [1657692834.928110][15001:15006] CHIP:DMG: peer_address = BLE - [1657692834.928132][15001:15006] CHIP:DMG: } - [1657692834.928153][15001:15006] CHIP:DMG: - [1657692834.928180][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738031 on exchange 3701i - [1657692834.928208][15001:15006] CHIP:EM: Found matching exchange: 3701i, Delegate: 0xffff9803b4b0 - [1657692834.928248][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] - [1657692834.928288][15001:15006] CHIP:DMG: InvokeResponseMessage = - [1657692834.928312][15001:15006] CHIP:DMG: { - [1657692834.928336][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692834.928361][15001:15006] CHIP:DMG: InvokeResponseIBs = - [1657692834.928392][15001:15006] CHIP:DMG: [ - [1657692834.928415][15001:15006] CHIP:DMG: InvokeResponseIB = - [1657692834.928448][15001:15006] CHIP:DMG: { - [1657692834.928474][15001:15006] CHIP:DMG: CommandDataIB = - [1657692834.928505][15001:15006] CHIP:DMG: { - [1657692834.928533][15001:15006] CHIP:DMG: CommandPathIB = - [1657692834.928565][15001:15006] CHIP:DMG: { - [1657692834.928598][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692834.928632][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692834.928665][15001:15006] CHIP:DMG: CommandId = 0x5, - [1657692834.928696][15001:15006] CHIP:DMG: }, - [1657692834.928730][15001:15006] CHIP:DMG: - [1657692834.928759][15001:15006] CHIP:DMG: CommandFields = - [1657692834.928791][15001:15006] CHIP:DMG: { - [1657692834.928823][15001:15006] CHIP:DMG: 0x0 = [ - [1657692834.928936][15001:15006] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 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, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0xa0, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x48, 0x0, 0x30, 0x45, 0x2, 0x20, 0x5a, 0xd6, 0x85, 0x0, 0x9d, 0x49, 0x7, 0xc1, 0x5a, 0x85, 0x24, 0x16, 0x60, 0x7f, 0x48, 0x23, 0x43, 0xda, 0xf1, 0x44, 0x4a, 0xd, 0x2e, 0x37, 0x23, 0x9c, 0xf2, 0x2f, 0x37, 0xce, 0xba, 0xfd, 0x2, 0x21, 0x0, 0xbc, 0x6b, 0xd, 0x76, 0x1b, 0xff, 0x89, 0x7d, 0xb4, 0xe7, 0xaf, 0x1d, 0x16, 0xd4, 0x46, 0xe6, 0x76, 0x5, 0xb3, 0x8c, 0x6, 0x4c, 0xa7, 0x32, 0x3e, 0x7c, 0xa4, 0x5, 0xaa, 0xb9, 0x2e, 0x77, 0x30, 0x2, 0x20, 0x9d, 0x85, 0xd4, 0x8a, 0xde, 0xc0, 0xe8, 0xb4, 0x1e, 0xe8, 0xcd, 0x69, 0xc9, 0xd, 0x33, 0xf8, 0x27, 0x34, 0xdb, 0xda, 0x21, 0x79, 0xf8, 0xa, 0xd9, 0x58, 0x3a, 0x3a, 0xf5, 0xd, 0x13, 0x8f, 0x18, - [1657692834.929002][15001:15006] CHIP:DMG: ] - [1657692834.929034][15001:15006] CHIP:DMG: 0x1 = [ - [1657692834.929087][15001:15006] CHIP:DMG: 0x1b, 0xf3, 0x5, 0x7d, 0x89, 0x4, 0x12, 0x38, 0x6, 0x97, 0xa3, 0x34, 0xa0, 0xd7, 0x2c, 0xba, 0x22, 0xa3, 0xc, 0xe4, 0xfe, 0xf9, 0x7b, 0x4d, 0x70, 0x46, 0xe7, 0xd9, 0x96, 0x82, 0xa3, 0x39, 0xfd, 0x67, 0x54, 0xe8, 0x0, 0xe7, 0xe5, 0xd4, 0x94, 0x8c, 0xd2, 0x7e, 0x14, 0xa9, 0xa2, 0x48, 0xa8, 0x61, 0xbb, 0xba, 0x5b, 0x21, 0xf7, 0xa8, 0x56, 0xe5, 0xcc, 0x8a, 0xae, 0xe6, 0xb5, 0x5c, - [1657692834.929128][15001:15006] CHIP:DMG: ] - [1657692834.929161][15001:15006] CHIP:DMG: }, - [1657692834.929191][15001:15006] CHIP:DMG: }, - [1657692834.929224][15001:15006] CHIP:DMG: - [1657692834.929251][15001:15006] CHIP:DMG: }, - [1657692834.929281][15001:15006] CHIP:DMG: - [1657692834.929304][15001:15006] CHIP:DMG: ], - [1657692834.929336][15001:15006] CHIP:DMG: - [1657692834.929365][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692834.929394][15001:15006] CHIP:DMG: }, - [1657692834.929525][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 - [1657692834.929571][15001:15006] CHIP:CTL: Received certificate signing request from the device + [1658736567.913921][3938:3943] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0004 DataVersion: 999376603 + [1658736567.914057][3938:3943] CHIP:TOO: TrustedRootCertificates: 1 entries + [1658736567.914145][3938:3943] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410470D319542F3A50625EF977E66A1277F3E50FCFF4516A5162E25016CB4E170A4D62562797E12184EB9A88A0160697122C9E473B7AA7F776E239CCB4420A82D4FE370A35012901182402603004142D48B9286C5E218E5AD7EFFC31E492E297FCA1283005142D48B9286C5E218E5AD7EFFC31E492E297FCA12818300B40C7EB3A1BA993A52EBC1D2E16C763CD9C9E4BDD82B166084FA72B5DF73437E9EB257271E09C69A8DEB6A2C09D42F833A788FD0E4092F0DA7229992B31587EE9DF18 disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 900" verification: | - Verify in TH Log + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + Verify the ArmFailSafeResponse with the ErrorCode set to OK is returned - 'ReadCommissioningInfo' -> 'ArmFailSafe' - [1657692833.420958][15001:15006] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' - [1657692833.420983][15001:15006] CHIP:CTL: Arming failsafe (60 seconds) - [1657692833.421063][15001:15006] CHIP:DMG: ICR moving to [AddingComm] - [1657692833.421099][15001:15006] CHIP:DMG: ICR moving to [AddedComma] - [1657692833.421353][15001:15006] CHIP:IN: Prepared secure message 0xffffa231ff98 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3696i with MessageCounter:235938694. - [1657692833.421401][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231ff98 with MessageCounter:235938694 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2507 msec - [1657692833.421618][15001:15006] CHIP:DMG: >> to BLE | 235938694 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3696] - [1657692833.421674][15001:15006] CHIP:DMG: Header Flags = - [1657692833.421701][15001:15006] CHIP:DMG: { - [1657692833.421740][15001:15006] CHIP:DMG: Exchange (0x01) = - [1657692833.421765][15001:15006] CHIP:DMG: { - [1657692833.421787][15001:15006] CHIP:DMG: Initiator = true - [1657692833.421811][15001:15006] CHIP:DMG: } - [1657692833.421841][15001:15006] CHIP:DMG: } - [1657692833.421866][15001:15006] CHIP:DMG: - [1657692833.421896][15001:15006] CHIP:DMG: Encrypted Payload (65 bytes) = - [1657692833.421921][15001:15006] CHIP:DMG: { - [1657692833.421945][15001:15006] CHIP:DMG: data = 00d313008623100ec0568e8a42213c3eb81624f5e048f16e2b03fd7d7c013b19f4dc0d161a54963004352477071c64f8ce95f0c72bfb946dd3c7380069e8bdb02e - [1657692833.421970][15001:15006] CHIP:DMG: buffer_ptr = 281473030611168 - [1657692833.421994][15001:15006] CHIP:DMG: } - [1657692833.422017][15001:15006] CHIP:DMG: - [1657692833.422089][15001:15006] CHIP:DMG: InvokeRequestMessage = - [1657692833.422119][15001:15006] CHIP:DMG: { - [1657692833.422145][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692833.422175][15001:15006] CHIP:DMG: timedRequest = false, - [1657692833.422202][15001:15006] CHIP:DMG: InvokeRequests = - [1657692833.422237][15001:15006] CHIP:DMG: [ - [1657692833.422265][15001:15006] CHIP:DMG: CommandDataIB = - [1657692833.422298][15001:15006] CHIP:DMG: { - [1657692833.422327][15001:15006] CHIP:DMG: CommandPathIB = - [1657692833.422360][15001:15006] CHIP:DMG: { - [1657692833.422395][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692833.422436][15001:15006] CHIP:DMG: ClusterId = 0x30, - [1657692833.422473][15001:15006] CHIP:DMG: CommandId = 0x0, - [1657692833.422508][15001:15006] CHIP:DMG: }, - [1657692833.422543][15001:15006] CHIP:DMG: - [1657692833.422574][15001:15006] CHIP:DMG: CommandFields = - [1657692833.422629][15001:15006] CHIP:DMG: { - [1657692833.422671][15001:15006] CHIP:DMG: 0x0 = 60, - [1657692833.422709][15001:15006] CHIP:DMG: 0x1 = 3, - [1657692833.422745][15001:15006] CHIP:DMG: }, - [1657692833.422777][15001:15006] CHIP:DMG: }, - [1657692833.422810][15001:15006] CHIP:DMG: - [1657692833.422836][15001:15006] CHIP:DMG: ], - [1657692833.422870][15001:15006] CHIP:DMG: - [1657692833.422896][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692833.422923][15001:15006] CHIP:DMG: }, - [1657692833.422948][15001:15006] CHIP:DMG: - [1657692833.423073][15001:15006] CHIP:DMG: ICR moving to [CommandSen] - [1657692833.512147][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1657692833.514134][15001:15004] CHIP:DL: Indication received, conn = 0xffff98039d40 - [1657692833.514356][15001:15006] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1657692833.515168][15001:15006] CHIP:DMG: << from BLE | 53738026 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 59681 / Exchange = 3696] - [1657692833.515256][15001:15006] CHIP:DMG: Header Flags = - [1657692833.515305][15001:15006] CHIP:DMG: { - [1657692833.515388][15001:15006] CHIP:DMG: } - [1657692833.515434][15001:15006] CHIP:DMG: - [1657692833.515493][15001:15006] CHIP:DMG: Encrypted Payload (66 bytes) = - [1657692833.515539][15001:15006] CHIP:DMG: { - [1657692833.515585][15001:15006] CHIP:DMG: data = 0021e9002afa3303b442b0191cb249e8fb06a8c86401c7b98648f97195ddaca2fa6d234fa4bc7f60edb2abb131576cc7437d77361aadcc6fc5c1f59d304f8571ed1c - [1657692833.515633][15001:15006] CHIP:DMG: buffer_ptr = 281473030638032 - [1657692833.515676][15001:15006] CHIP:DMG: } - [1657692833.515718][15001:15006] CHIP:DMG: - [1657692833.515838][15001:15006] CHIP:DMG: - [1657692833.515909][15001:15006] CHIP:DMG: Additional Fields = - [1657692833.515957][15001:15006] CHIP:DMG: { - [1657692833.516006][15001:15006] CHIP:DMG: peer_address = BLE - [1657692833.516052][15001:15006] CHIP:DMG: } - [1657692833.516094][15001:15006] CHIP:DMG: - [1657692833.516148][15001:15006] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:53738026 on exchange 3696i - [1657692833.516204][15001:15006] CHIP:EM: Found matching exchange: 3696i, Delegate: 0xffff8c012680 - [1657692833.516276][15001:15006] CHIP:DMG: ICR moving to [ResponseRe] - [1657692833.516353][15001:15006] CHIP:DMG: InvokeResponseMessage = - [1657692833.516405][15001:15006] CHIP:DMG: { - [1657692833.516454][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692833.516505][15001:15006] CHIP:DMG: InvokeResponseIBs = - [1657692833.516570][15001:15006] CHIP:DMG: [ - [1657692833.516621][15001:15006] CHIP:DMG: InvokeResponseIB = - [1657692833.516689][15001:15006] CHIP:DMG: { - [1657692833.516743][15001:15006] CHIP:DMG: CommandDataIB = - [1657692833.516812][15001:15006] CHIP:DMG: { - [1657692833.516874][15001:15006] CHIP:DMG: CommandPathIB = - [1657692833.516943][15001:15006] CHIP:DMG: { - [1657692833.517013][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692833.517086][15001:15006] CHIP:DMG: ClusterId = 0x30, - [1657692833.517157][15001:15006] CHIP:DMG: CommandId = 0x1, - [1657692833.517224][15001:15006] CHIP:DMG: }, - [1657692833.517294][15001:15006] CHIP:DMG: - [1657692833.517355][15001:15006] CHIP:DMG: CommandFields = - [1657692833.517423][15001:15006] CHIP:DMG: { - [1657692833.517494][15001:15006] CHIP:DMG: 0x0 = 0, - [1657692833.517569][15001:15006] CHIP:DMG: 0x1 = "", - [1657692833.517641][15001:15006] CHIP:DMG: }, - [1657692833.517752][15001:15006] CHIP:DMG: }, - [1657692833.517824][15001:15006] CHIP:DMG: - [1657692833.517876][15001:15006] CHIP:DMG: }, - [1657692833.517940][15001:15006] CHIP:DMG: - [1657692833.517989][15001:15006] CHIP:DMG: ], - [1657692833.518052][15001:15006] CHIP:DMG: - [1657692833.518102][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692833.518151][15001:15006] CHIP:DMG: }, - [1657692833.518271][15001:15006] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1657692833.518340][15001:15006] CHIP:CTL: Received ArmFailSafe response errorCode=0 - [1657692833.518397][15001:15006] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' + [1658736675.488274][4129:4134] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1658736675.488329][4129:4134] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1658736675.488401][4129:4134] CHIP:TOO: ArmFailSafeResponse: { + [1658736675.488441][4129:4134] CHIP:TOO: errorCode: 0 + [1658736675.488471][4129:4134] CHIP:TOO: debugText: + [1658736675.488496][4129:4134] CHIP:TOO: } disabled: true - - label: "TH sends AddNOC command to DUT" + - label: + "TH1 Sends CSRRequest command with the IsForUpdateNOC field set to + true" + PICS: OPCREDS.S.C04.Rsp verification: | - Verify in TH log: + To get csr nonce give below command 2 times + echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) + ./chip-tool operationalcredentials csrrequest hex:C11D6EAA00A54066220DA7F3FC5DC0F684C13D8B8FD3758B51163C2AEDD6F10F 1 0 --IsForUpdateNOC 0 - [1657692835.177349][15001:15006] CHIP:CTL: Performing next commissioning step 'SendNOC' - [1657692835.177510][15001:15006] CHIP:DMG: ICR moving to [AddingComm] - [1657692835.177619][15001:15006] CHIP:DMG: ICR moving to [AddedComma] - [1657692835.178491][15001:15006] CHIP:IN: Prepared secure message 0xffffa231f9b8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3703i with MessageCounter:235938701. - [1657692835.178603][15001:15006] CHIP:IN: Sending encrypted msg 0xffffa231f9b8 with MessageCounter:235938701 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000DE2BE4 msec - [1657692835.179245][15001:15006] CHIP:DMG: >> to BLE | 235938701 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 5075 / Exchange = 3703] - [1657692835.179298][15001:15006] CHIP:DMG: Header Flags = - [1657692835.179326][15001:15006] CHIP:DMG: { - [1657692835.179370][15001:15006] CHIP:DMG: Exchange (0x01) = - [1657692835.179398][15001:15006] CHIP:DMG: { - [1657692835.179423][15001:15006] CHIP:DMG: Initiator = true - [1657692835.179461][15001:15006] CHIP:DMG: } - [1657692835.179496][15001:15006] CHIP:DMG: } - [1657692835.179533][15001:15006] CHIP:DMG: - [1657692835.179572][15001:15006] CHIP:DMG: Encrypted Payload (566 bytes) = - [1657692835.179612][15001:15006] CHIP:DMG: { - [1657692835.179640][15001:15006] CHIP:DMG: data = 00d313008d23100ec0161d7f2a2d94e784835d5ee5a3c3e17bfea89e3393a3c84c6e3a840656e19aea73ca5b5b415432a612dbc3a6555598c26352abc091b46a955513e94574f230caf3408c06b60e70be4427d5809bca2ed9e96ff138665d49a02927abda056bdee0526fff60cd5cdcaf27a0e71e0f207bbd1ee8957f7b4bd9be9bb2e00fe51c368b89c89c88327d4aa9d3d25a22de8e42b227081a3d99725b9f2aad3c581e9187a640f8f072516a38f0c1090782966e3cde20cf96be76bc5cfb42735f189e484a16f2c2bd7ff13a0504bf6f814bc3988683a75862d6323eaeee263306be3cd9df2f6d11dd78ba60891fba2912b81121ac75fc81db54badd4c848a6cfb7cd2abe13404eed7c689ca1774e8c2364ae33d896fe2900a7abb08c3db945848cb5ae40d8f8b2bc7d8bc833d38ef45bcb82f5a50e22368c2828b3053a378680df697810ed959186ec0a78351b5eaba95beab30cd11df061d70a3241d8ce8cf23ca8e3673e172930355a00c1c8b05c2e208919598757d84233c0ec4c5b3923f253f266a7b5bd86ea1981a934919af3f9821d69247dee8783f54d90250f64d099937bb5963193c9f076fbc3ffe0341fbcdd33f6e314965d52628adf43fbfffe6dd603175bc5b5e4d08edcde6c007eb88b11348675937fb24a2cd1285d6688b73b5da97d22b7bba0bdebb9c3d1eab25d25ff99682739ce2c1e84ff34791f178eae38b2cfe45f315cf0f33759e3cf5ce460d900c4f48c74bd9255b9975d6824242186edd7f414db05ec66159e45dc6370586d645 - [1657692835.179705][15001:15006] CHIP:DMG: buffer_ptr = 281473030664192 - [1657692835.179732][15001:15006] CHIP:DMG: } - [1657692835.179757][15001:15006] CHIP:DMG: - [1657692835.179920][15001:15006] CHIP:DMG: NOCValue (241) = - [1657692835.179981][15001:15006] CHIP:DMG: { - FTABAQEkAgE3AyQTARgmBIAigScmBYAlTTo3BiQVASQRARgkBwEkCAEwCUEEHeos80gUnxq/wOb5RwWbtjswxaYuFNKUgtEmXVDkK1W2ltDp+jK6CWDmkFvpOomi9N5YjjwsC5op/4Eo0JvkOTcKNQEoARgkAgE2AwQCBAEYMAQUhDon//NshCQCqVkPCXWWGmpfcTswBRRhWBj69QlRIaS4sMVnsPKHpKsFexgwC0BqI+xu4SMAl28Oy7dYgvN1CPR9vrAVVnccIpNWxCrccNnmten24I1XywUmalU0hxbZ8VtTZ5H7ti5Zp/RlaHcIGA== - [1657692835.180032][15001:15006] CHIP:DMG: } - [1657692835.180057][15001:15006] CHIP:DMG: - [1657692835.180096][15001:15006] CHIP:DMG: ICACValue (231) = - [1657692835.180134][15001:15006] CHIP:DMG: { - FTABAQAkAgE3AyQUABgmBIAigScmBYAlTTo3BiQTARgkBwEkCAEwCUEEYMUTRY8VM/ZLT1TsZaFUqaZfRGmIBjmtUEVD38tVGsnjG78qXpBWwRdfCiMpfgjB7aiY8la/J81fUSL1TdutvjcKNQEpARgkAmAwBBRhWBj69QlRIaS4sMVnsPKHpKsFezAFFLhDSjEco6yaDJ1cEwah8PMVrfiVGDALQG7odibpeRIIC4SYind3wnK4zys/Q8NkjllAMcDkDNC67vVlhA75WvG0+IZO6TcKwH1xtCKbW4YQC8MYZaYGzh4Y - [1657692835.180198][15001:15006] CHIP:DMG: } - [1657692835.180224][15001:15006] CHIP:DMG: - [1657692835.180286][15001:15006] CHIP:DMG: InvokeRequestMessage = - [1657692835.180317][15001:15006] CHIP:DMG: { - [1657692835.180345][15001:15006] CHIP:DMG: suppressResponse = false, - [1657692835.180388][15001:15006] CHIP:DMG: timedRequest = false, - [1657692835.180417][15001:15006] CHIP:DMG: InvokeRequests = - [1657692835.180468][15001:15006] CHIP:DMG: [ - [1657692835.180499][15001:15006] CHIP:DMG: CommandDataIB = - [1657692835.180544][15001:15006] CHIP:DMG: { - [1657692835.180575][15001:15006] CHIP:DMG: CommandPathIB = - [1657692835.180627][15001:15006] CHIP:DMG: { - [1657692835.180676][15001:15006] CHIP:DMG: EndpointId = 0x0, - [1657692835.180719][15001:15006] CHIP:DMG: ClusterId = 0x3e, - [1657692835.180776][15001:15006] CHIP:DMG: CommandId = 0x6, - [1657692835.180827][15001:15006] CHIP:DMG: }, - [1657692835.180867][15001:15006] CHIP:DMG: - [1657692835.180909][15001:15006] CHIP:DMG: CommandFields = - [1657692835.180947][15001:15006] CHIP:DMG: { - [1657692835.180997][15001:15006] CHIP:DMG: 0x0 = [ - [1657692835.181155][15001:15006] 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, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x1d, 0xea, 0x2c, 0xf3, 0x48, 0x14, 0x9f, 0x1a, 0xbf, 0xc0, 0xe6, 0xf9, 0x47, 0x5, 0x9b, 0xb6, 0x3b, 0x30, 0xc5, 0xa6, 0x2e, 0x14, 0xd2, 0x94, 0x82, 0xd1, 0x26, 0x5d, 0x50, 0xe4, 0x2b, 0x55, 0xb6, 0x96, 0xd0, 0xe9, 0xfa, 0x32, 0xba, 0x9, 0x60, 0xe6, 0x90, 0x5b, 0xe9, 0x3a, 0x89, 0xa2, 0xf4, 0xde, 0x58, 0x8e, 0x3c, 0x2c, 0xb, 0x9a, 0x29, 0xff, 0x81, 0x28, 0xd0, 0x9b, 0xe4, 0x39, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0x84, 0x3a, 0x27, 0xff, 0xf3, 0x6c, 0x84, 0x24, 0x2, 0xa9, 0x59, 0xf, 0x9, 0x75, 0x96, 0x1a, 0x6a, 0x5f, 0x71, 0x3b, 0x30, 0x5, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x18, 0x30, 0xb, 0x40, 0x6a, 0x23, 0xec, 0x6e, 0xe1, 0x23, 0x0, 0x97, 0x6f, 0xe, 0xcb, 0xb7, 0x58, 0x82, 0xf3, 0x75, 0x8, 0xf4, 0x7d, 0xbe, 0xb0, 0x15, 0x56, 0x77, 0x1c, 0x22, 0x93, 0x56, 0xc4, 0x2a, 0xdc, 0x70, 0xd9, 0xe6, 0xb5, 0xe9, 0xf6, 0xe0, 0x8d, 0x57, 0xcb, 0x5, 0x26, 0x6a, 0x55, 0x34, 0x87, 0x16, 0xd9, 0xf1, 0x5b, 0x53, 0x67, 0x91, 0xfb, 0xb6, 0x2e, 0x59, 0xa7, 0xf4, 0x65, 0x68, 0x77, 0x8, 0x18, - [1657692835.181249][15001:15006] CHIP:DMG: ] - [1657692835.181293][15001:15006] CHIP:DMG: 0x1 = [ - [1657692835.181422][15001:15006] 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, 0x60, 0xc5, 0x13, 0x45, 0x8f, 0x15, 0x33, 0xf6, 0x4b, 0x4f, 0x54, 0xec, 0x65, 0xa1, 0x54, 0xa9, 0xa6, 0x5f, 0x44, 0x69, 0x88, 0x6, 0x39, 0xad, 0x50, 0x45, 0x43, 0xdf, 0xcb, 0x55, 0x1a, 0xc9, 0xe3, 0x1b, 0xbf, 0x2a, 0x5e, 0x90, 0x56, 0xc1, 0x17, 0x5f, 0xa, 0x23, 0x29, 0x7e, 0x8, 0xc1, 0xed, 0xa8, 0x98, 0xf2, 0x56, 0xbf, 0x27, 0xcd, 0x5f, 0x51, 0x22, 0xf5, 0x4d, 0xdb, 0xad, 0xbe, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0x61, 0x58, 0x18, 0xfa, 0xf5, 0x9, 0x51, 0x21, 0xa4, 0xb8, 0xb0, 0xc5, 0x67, 0xb0, 0xf2, 0x87, 0xa4, 0xab, 0x5, 0x7b, 0x30, 0x5, 0x14, 0xb8, 0x43, 0x4a, 0x31, 0x1c, 0xa3, 0xac, 0x9a, 0xc, 0x9d, 0x5c, 0x13, 0x6, 0xa1, 0xf0, 0xf3, 0x15, 0xad, 0xf8, 0x95, 0x18, 0x30, 0xb, 0x40, 0x6e, 0xe8, 0x76, 0x26, 0xe9, 0x79, 0x12, 0x8, 0xb, 0x84, 0x98, 0x8a, 0x77, 0x77, 0xc2, 0x72, 0xb8, 0xcf, 0x2b, 0x3f, 0x43, 0xc3, 0x64, 0x8e, 0x59, 0x40, 0x31, 0xc0, 0xe4, 0xc, 0xd0, 0xba, 0xee, 0xf5, 0x65, 0x84, 0xe, 0xf9, 0x5a, 0xf1, 0xb4, 0xf8, 0x86, 0x4e, 0xe9, 0x37, 0xa, 0xc0, 0x7d, 0x71, 0xb4, 0x22, 0x9b, 0x5b, 0x86, 0x10, 0xb, 0xc3, 0x18, 0x65, 0xa6, 0x6, 0xce, 0x1e, 0x18, - [1657692835.181501][15001:15006] CHIP:DMG: ] - [1657692835.181546][15001:15006] CHIP:DMG: 0x2 = [ - [1657692835.181596][15001:15006] CHIP:DMG: 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x72, 0x79, 0x20, 0x69, 0x70, 0x6b, 0x20, 0x30, 0x31, - [1657692835.181642][15001:15006] CHIP:DMG: ] - [1657692835.181709][15001:15006] CHIP:DMG: 0x3 = 112233, - [1657692835.181756][15001:15006] CHIP:DMG: 0x4 = 65521, - [1657692835.181801][15001:15006] CHIP:DMG: }, - [1657692835.182074][15001:15006] CHIP:DMG: }, - [1657692835.182123][15001:15006] CHIP:DMG: - [1657692835.182198][15001:15006] CHIP:DMG: ], - [1657692835.182243][15001:15006] CHIP:DMG: - [1657692835.182274][15001:15006] CHIP:DMG: InteractionModelRevision = 1 - [1657692835.182304][15001:15006] CHIP:DMG: }, - [1657692835.182334][15001:15006] CHIP:DMG: - [1657692835.182550][15001:15006] CHIP:DMG: ICR moving to [CommandSen] - [1657692835.182600][15001:15006] CHIP:CTL: Sent operational certificate to the device + [1658743641.233113][9670:9675] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1658743641.233162][9670:9675] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 + [1658743641.233226][9670:9675] CHIP:TOO: CSRResponse: { + [1658743641.233269][9670:9675] CHIP:TOO: NOCSRElements: 153001CA3081C73070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004D3C12FD39A573184AC822E12F9D76C43EA3872B8D541BF0DCF68FF33AF7E62E71ADB4D4F35AA9E206D00CC290CCA1BAD557537A05BA8D3BAD1B7F3EE323B2CE9A000300A06082A8648CE3D04030203470030440220232B91662198D24E57F5967A06C0A554991CAA02D958D507AAAABB41450AD39002204575858E909DCE43563F33725928FF2AA01A176CECF611F9B248CD9D2CBC76CA300220C11D6EAA00A54066220DA7F3FC5DC0F684C13D8B8FD3758B51163C2AEDD6F10F18 + [1658743641.233306][9670:9675] CHIP:TOO: attestationSignature: 2D4052E30061B78A79B5C2D392C93BEFADE17BA5F3547776A545D4913EC935CF446C9105E9F203BF898BF17F87106E63AD8E93E894C5398CAC344F7D6ECE27F6 disabled: true - label: - "NOC sent during ADDNOC Command is saved for future purpose in TH - NOCValue as NOC_Test1 ICACValue as ICACValue_Test1 IpkValue as - IpkValue_Test1 CaseAdminSubject as CaseAdminSubject_Test1 - AdminVendorId as adminvendorid1" + "TH1 generates a new NOC and ICAC with the following properties: new + NOC is generated from the NOCSR returned in csr_update1. The subject + is set to match noc_original. The NOC is signed by the new ICA. Save + as noc_update1 new ICAC must be distinguishable from icac_original. + This can be accomplished by changing any of the following: the + subject, subject public key or validity. The certificate must be + valid. ICAC is signed by the original key for trusted_root_original. + Save as icac_update1" verification: | - see above log + verification step to be updated. disabled: true - - label: "TH sends AttestationRequest command to DUT" - PICS: OPCREDS.S.C00.Rsp + - label: + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to noc_update1 + ICACValue is to set icac_update1" + PICS: OPCREDS.S.C07.Rsp verification: | - Verify in TH Log - - Create Attestation Nonce by sending below command in TH - echo hex:$(hexdump -vn32 -e'4/4 "%08X" ' /dev/urandom) - Created attestationNonce is hex:8D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA - - - - ./chip-tool operationalcredentials attestation-request hex:8D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA 1 0 - - Verify in TH Log - [1657694986.143789][15289:15294] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 - [1657694986.143843][15289:15294] CHIP:TOO: AttestationResponse: { - [1657694986.143886][15289:15294] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 - [1657694986.143937][15289:15294] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C3002208D8B87C6BEC4314A07B4393D49315ECD10CAE8E13E4868161201A13A6CF682CA24030018 - [1657694986.143970][15289:15294] CHIP:TOO: signature: A90848DF47E54730AC729E08B40944A1DE75901C433AF7C0AC10476C6BD45BB42F0EDDDD2E1AD32A5FBA8228DF510951DC5AD8BA12B19150F0807B8E43C8D430 + verification step to be updated. disabled: true - - label: "TH sends CertificateChainRequest command to DUT" - PICS: OPCREDS.S.C02.Rsp + - label: + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" verification: | - ./chip-tool operationalcredentials certificate-chain-request 1 1 0 - - Verify in TH Log - [1657695059.237579][15297:15302] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 - [1657695059.237631][15297:15302] CHIP:TOO: CertificateChainResponse: { - [1657695059.237699][15297:15302] CHIP:TOO: certificate: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 - [1657695059.237748][15297:15302] CHIP:TOO: ...........: 034700304402200127A27B4B44610EE2FCDC4D2B7885563660BC0F76F17219ED6A08DFB2B3C1CD02206B59E0AF45F3EB2A85B919D35731528C6028C415239545E108E4E54E70971353 - [1657695059.237772][15297:15302] CHIP:TOO: } + verification step to be updated. disabled: true - - label: "TH1 Sends CSRRequest command" - PICS: OPCREDS.S.C04.Rsp + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 0" verification: | - Send the below command 2 times to create CSR NONCE value in TH - echo hex:$(hexdump -vn32 -e'4/4 "%08X" ' /dev/urandom) - The generated CSRNONCE value is hex:F707BFC795117AAD94D5D95586B3B33984B475E00FFB5950BA21736FFB0FAFDE - - ./chip-tool generalcommissioning arm-fail-safe 500 900 1 0 - - Verify in TH Log - [1657546015.217932][18649:18654] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1657546015.217979][18649:18654] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1657546015.218043][18649:18654] CHIP:TOO: ArmFailSafeResponse: { - [1657546015.218111][18649:18654] CHIP:TOO: errorCode: 0 - [1657546015.218136][18649:18654] CHIP:TOO: debugText: - [1657546015.218158][18649:18654] CHIP:TOO: } - - - ./chip-tool operationalcredentials csrrequest hex:F707BFC795117AAD94D5D95586B3B33984B475E00FFB5950BA21736FFB0FAFDE 1 0 --IsForUpdateNOC true + verification step to be updated. + disabled: true - Verify in TH Log - [1657546020.124932][18656:18661] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 - [1657546020.124991][18656:18661] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0005 - [1657546020.125052][18656:18661] CHIP:TOO: CSRResponse: { - [1657546020.125106][18656:18661] CHIP:TOO: NOCSRElements: 153001CA3081C73070020100300E310C300A060355040A0C034353523059301306072A8648CE3D020106082A8648CE3D03010703420004E9431F76E8D3B083EE08460ED0D5892DEACF1E88A2C76A9F734D10BAD5369BD20B8A33674711FD1DD7F5FA097330EC7BE42700B7EF037F0507BA8DE769C760B9A000300A06082A8648CE3D040302034700304402204A7F88FB88EC7CFE9091DF0500AF53F58D15E4283B8C7851C7CFE6138F33688102201CE8800872A85B69E2E9F19674F68BB2C5FCED56922CB159B56A62445163BD6C30022017B9FC123976D542DD6114F0CBE993E2922864A85925E0B848AED4F9D0B3E60E18 - [1657546020.125151][18656:18661] CHIP:TOO: attestationSignature: 983F2686F7FEFD2DE6238980A1F2DB061C6648BE7BCD6BF410E01B759F33393705C066A1635EDAEFFC1D6D209E51CB506FD1E70DE94709845C0F3AD915D8BFAD - [1657546020.125184][18656:18661] CHIP:TOO: } + - label: + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" + verification: | + verification step to be updated. disabled: true - label: - "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 900" verification: | - ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 - - Verify in TH Log - [1655721237.001179][13266:13271] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1655721237.001224][13266:13271] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1655721237.001284][13266:13271] CHIP:TOO: ArmFailSafeResponse: { - [1655721237.001321][13266:13271] CHIP:TOO: errorCode: 0 - [1655721237.001342][13266:13271] CHIP:TOO: debugText: - [1655721237.001363][13266:13271] CHIP:TOO: } - [1655721237.001422][13266:13271] CHIP:DMG: ICR moving to [AwaitingDe] + verification step to be updated. disabled: true - - label: "TH sends UpdateNOC command to DUT" + - label: + "TH1 Sends CSRRequest command with the IsForUpdateNOC field set to + true" + PICS: OPCREDS.S.C04.Rsp verification: | + verification step to be updated. + disabled: true + - label: + "TH1 generates a new NOC and ICAC with the following properties: new + NOC is generated from the NOCSR returned in csr_update2. The subject + is set to match noc_original. The NOC is signed by new ICA. Save as + noc_update2 new ICAC must be distinguishable from icac_original and + icac_update1. This can be accomplished by changing any of the + following: the subject, subject public key or validity. The + certificate must be valid. ICAC is signed by the original key for + trusted_root_original. Save as icac_update2" + verification: | + verification step to be updated. disabled: true - label: - "NOC obtained during UpdateNOC Command is saved for future purpose in - TH NOC value as NOC_Test2 ICAC value as ICAC_Test2" + "TH1 sends the UpdateNOC command to the Node Operational Credentials + cluster with the following fields: NOCValue is set to noc_update2 + ICACValue is to set icac_update2" + PICS: OPCREDS.S.C07.Rsp verification: | + verification step to be updated. + disabled: true + - label: + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" + verification: | + verification step to be updated. disabled: true - - label: "TH reads NOC from DUT" + - label: + "TH1 sends the CommissioningComplete command to the General + Commissioning cluster" verification: | - ./chip-tool operationalcredentials read nocs 1 0 + verification step to be updated. + disabled: true - Verify in TH Log + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 0 to verify that the CommissioningComplete command + successfully persisted the failsafe context." + verification: | + verification step to be updated. + disabled: true - [1655721290.426839][13291:13296] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 811331154 - [1655721290.427733][13291:13296] CHIP:TOO: NOCs: 1 entries - [1655721290.427822][13291:13296] CHIP:TOO: [1]: { - [1655721290.427867][13291:13296] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104A024EEDCC13F2D7DE5E60937AA5EC3026111A0352E258C20334CBBF8E0F4BC6A935EBA4DF3B1CF98CF7E0F6D44F05C5F50B0BFD5523A57A93E2CD33D5EB8A23B370A350128011824020136030402040118300414D1B450843018299689BCD8A7953A7ADC4D04D7013005147C7E85AF7415134757BE0466666DB4C22373CF8418300B406F868E2FAC772B73FF293FBF8CFFC3F37DB0E6ADFDA2CD72A4DFD195078DFC9F5AFE67879D32134F2FFFFD8366B58603B5B468A1FD11BD9305B0302DB19F70FF18 - [1655721290.427924][13291:13296] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104FE7B1E0AC4BD41959379CFBFE66879E611399D3665992D3B7A1381267CDC1D06B2E6C433C737E06D19257A6AC8577D37F47575D72A1BD765D3A2F1C397B64F51370A35012901182402603004147C7E85AF7415134757BE0466666DB4C22373CF843005140E06A3A90EBC2A7A89EE2E5D34875B110B4203C518300B4064048EED19E370AFADF36E5CA08A52D3F5345357C8F34330F8491EFBD04D147343670F8D838E4B402E379CEB7970BE93DB31F7C9E3F0FC9D538D309E978F5EDB18 - [1655721290.427950][13291:13296] CHIP:TOO: FabricIndex: 1 - [1655721290.427967][13291:13296] CHIP:TOO: } + - label: + "TH1 reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read" + verification: | + verification step to be updated. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml index e9339db43775b9..0cc4501f85c657 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml @@ -29,23 +29,26 @@ tests: - label: "Set up subscription to SwitchLatched event" PICS: SWTCH.S.F00 verification: | + On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT + echo "{"Name":"SwitchLatched","NewPosition":3}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + ./chip-tool switch subscribe-event switch-latched 1 100 1 1 Verify inTH Log: - [1646209067.917157][2496:2501] CHIP:DMG: SubscribeResponseMessage = - [1646209067.917184][2496:2501] CHIP:DMG: { - [1646209067.917208][2496:2501] CHIP:DMG: SubscriptionId = 0xe1d5f4339dd88873, - [1646209067.917233][2496:2501] CHIP:DMG: MinIntervalFloorSeconds = 0x1, - [1646209067.917259][2496:2501] CHIP:DMG: MaxIntervalCeilingSeconds = 0x64, - [1646209067.917283][2496:2501] CHIP:DMG: InteractionModelRevision = 1 - [1646209067.917306][2496:2501] CHIP:DMG: } + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 4 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687894 + [1659527630.476887][4774:4779] CHIP:TOO: SwitchLatched: { + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 3 + [1659527630.476969][4774:4779] CHIP:TOO: } disabled: true - label: "Operator sets switch to first position" PICS: SWTCH.S.F00 verification: | - no Matter messages + Manual operation disabled: true - label: "Read CurrentPosition attribute" @@ -62,8 +65,7 @@ tests: - label: "Operator sets switch to second position" PICS: SWTCH.S.F00 verification: | - (no chip-tool message to DUT) - DUT sends event message + Manual operation disabled: true - label: "Read CurrentPosition attribute" @@ -101,7 +103,7 @@ tests: Read CurrentPosition attribute" PICS: SWTCH.S.F00 verification: | - + verification step to be updated. disabled: true - label: "Operator returns switch to first position" diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 1c11bb55bdd40c..0dd3b30233d8cf 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -919,6 +919,8 @@ ACT.S.A0001=1 ACT.S.A0002=1 ACT.S.M.FillActionList=1 ACT.S.M.FillEndpointLists=1 +ACT.S.M.SetupURLWithSuffix=1 +ACT.S.M.OverlappingEndpointLists=1 ACT.C.C00.Tx=0 ACT.C.C01.Tx=0 ACT.C.C02.Tx=0 @@ -1503,6 +1505,7 @@ MOD.S.A0003=1 MOD.S.A0004=1 MOD.S.A0005=1 OO.S.A4003=1 +MOD.C.A0002=1 MOD.C.C00.Tx=1 MOD.S.C00.Rsp=1 @@ -1643,4 +1646,4 @@ MCORE.IDM.C.SubscribeRequest.Attribute.DataType_UnsignedInteger=1 MCORE.IDM.C.SubscribeRequest.Attribute.DataType_Integer=1 MCORE.IDM.C.SubscribeRequest.Attribute.DataType_FloatingPoint=1 MCORE.IDM.C.SubscribeRequest.Attribute.DataType_List=1 -MCORE.IDM.S.LargeData=1 \ No newline at end of file +MCORE.IDM.S.LargeData=1 diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 5570ca78d95f8f..a972f6799ac12f 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -9452,7 +9452,7 @@ class Test_TC_CC_8_1Suite : public TestCommand class Test_TC_BINFO_1_1Suite : public TestCommand { public: - Test_TC_BINFO_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BINFO_1_1", 6, credsIssuerConfig) + Test_TC_BINFO_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BINFO_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -9485,77 +9485,6 @@ class Test_TC_BINFO_1_1Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint16_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("clusterRevision", value, 1U)); - VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u")); - } - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint32_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("featureMap", value, 0UL)); - VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32")); - } - break; - case 3: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::DataModel::DecodableList value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintType("value", "list", "list")); - VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 3UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 4UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 5UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 6UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 7UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 8UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 9UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 10UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 19UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); - } - break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::DataModel::DecodableList value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - { - auto iter_0 = value.begin(); - VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0)); - } - VerifyOrReturn(CheckConstraintType("value", "list", "list")); - } - break; - case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::DataModel::DecodableList value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - { - auto iter_0 = value.begin(); - VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0)); - } - VerifyOrReturn(CheckConstraintType("value", "list", "list")); - } - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -9571,38 +9500,6 @@ class Test_TC_BINFO_1_1Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Commission DUT to TH"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "TH reads the ClusterRevision from DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Basic::Id, Basic::Attributes::ClusterRevision::Id, true, - chip::NullOptional); - } - case 2: { - LogStep(2, "TH reads the FeatureMap from DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Basic::Id, Basic::Attributes::FeatureMap::Id, true, - chip::NullOptional); - } - case 3: { - LogStep(3, "TH reads AttributeList from DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Basic::Id, Basic::Attributes::AttributeList::Id, true, - chip::NullOptional); - } - case 4: { - LogStep(4, "TH reads AcceptedCommandList from DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Basic::Id, Basic::Attributes::AcceptedCommandList::Id, true, - chip::NullOptional); - } - case 5: { - LogStep(5, "TH reads GeneratedCommandList from DUT"); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), Basic::Id, Basic::Attributes::GeneratedCommandList::Id, true, - chip::NullOptional); - } } return CHIP_NO_ERROR; } diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 37e20d8cd745d7..82e194aebb413c 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -16577,30 +16577,6 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { // but before our function call returns, we won't end up with an // incorrect mTestIndex value observed when we get the response. switch (mTestIndex++) { - case 0: - ChipLogProgress(chipTool, " ***** Test Step 0 : Commission DUT to TH\n"); - err = TestCommissionDutToTh_0(); - break; - case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : TH reads the ClusterRevision from DUT\n"); - err = TestThReadsTheClusterRevisionFromDut_1(); - break; - case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : TH reads the FeatureMap from DUT\n"); - err = TestThReadsTheFeatureMapFromDut_2(); - break; - case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : TH reads AttributeList from DUT\n"); - err = TestThReadsAttributeListFromDut_3(); - break; - case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : TH reads AcceptedCommandList from DUT\n"); - err = TestThReadsAcceptedCommandListFromDut_4(); - break; - case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : TH reads GeneratedCommandList from DUT\n"); - err = TestThReadsGeneratedCommandListFromDut_5(); - break; } if (CHIP_NO_ERROR != err) { @@ -16612,24 +16588,6 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { void OnStatusUpdate(const chip::app::StatusIB & status) override { switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 3: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -16643,147 +16601,12 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 6; + const uint16_t mTestCount = 0; chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; chip::Optional mTimeout; - - CHIP_ERROR TestCommissionDutToTh_0() - { - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee("alpha", value); - } - - CHIP_ERROR TestThReadsTheClusterRevisionFromDut_1() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads the ClusterRevision from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("ClusterRevision", actualValue, 1U)); - } - - VerifyOrReturn(CheckConstraintType("clusterRevision", "int16u", "int16u")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestThReadsTheFeatureMapFromDut_2() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads the FeatureMap from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("FeatureMap", actualValue, 0UL)); - } - - VerifyOrReturn(CheckConstraintType("featureMap", "bitmap32", "bitmap32")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestThReadsAttributeListFromDut_3() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads AttributeList from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 3UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 4UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 5UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 6UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 7UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 8UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 9UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 10UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 19UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestThReadsAcceptedCommandListFromDut_4() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads AcceptedCommandList from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("AcceptedCommandList", [actualValue count], static_cast(0))); - } - - VerifyOrReturn(CheckConstraintType("acceptedCommandList", "list", "list")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestThReadsGeneratedCommandListFromDut_5() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads GeneratedCommandList from DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("GeneratedCommandList", [actualValue count], static_cast(0))); - } - - VerifyOrReturn(CheckConstraintType("generatedCommandList", "list", "list")); - NextTest(); - }]; - - return CHIP_NO_ERROR; - } }; class Test_TC_DESC_1_1 : public TestCommandBridge {