From d2fe945c3b349034acc4de864217bf1b9ec6a277 Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 Date: Wed, 24 Aug 2022 18:44:42 +0530 Subject: [PATCH] Added updated Manual and Automated scripts --- src/app/tests/suites/certification/PICS.yaml | 9 + .../suites/certification/Test_TC_ACE_1_1.yaml | 1473 ++++++++++ .../suites/certification/Test_TC_ACE_1_2.yaml | 2363 +++++++++++++++++ .../certification/Test_TC_CADMIN_1_17.yaml | 12 +- .../certification/Test_TC_CADMIN_1_18.yaml | 21 +- .../certification/Test_TC_CADMIN_1_4.yaml | 4 +- .../certification/Test_TC_CADMIN_1_6.yaml | 4 +- .../suites/certification/Test_TC_CC_9_4.yaml | 228 +- .../certification/Test_TC_CNET_4_14.yaml | 40 +- .../certification/Test_TC_DGETH_3_1.yaml | 12 +- .../certification/Test_TC_DGETH_3_2.yaml | 4 +- .../certification/Test_TC_DGSW_3_2.yaml | 4 +- .../suites/certification/Test_TC_IDM_4_1.yaml | 4 +- .../suites/certification/Test_TC_IDM_4_3.yaml | 2 +- .../suites/certification/Test_TC_IDM_5_1.yaml | 3 +- .../suites/certification/Test_TC_IDM_6_2.yaml | 3 +- .../suites/certification/Test_TC_IDM_6_4.yaml | 12 +- .../suites/certification/Test_TC_IDM_7_1.yaml | 43 +- .../suites/certification/Test_TC_LVL_4_1.yaml | 2 +- .../suites/certification/Test_TC_LVL_5_1.yaml | 8 +- .../suites/certification/Test_TC_LVL_6_1.yaml | 15 +- .../suites/certification/Test_TC_SC_4_2.yaml | 520 +--- .../suites/certification/Test_TC_SC_5_1.yaml | 239 ++ .../suites/certification/Test_TC_SC_5_2.yaml | 62 + .../suites/certification/Test_TC_SC_5_3.yaml | 102 + .../suites/certification/Test_TC_SC_6_1.yaml | 388 +++ src/app/tests/suites/ciTests.json | 4 +- src/app/tests/suites/manualTests.json | 13 +- 28 files changed, 4830 insertions(+), 764 deletions(-) create mode 100644 src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_SC_5_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_SC_5_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_SC_5_3.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_SC_6_1.yaml diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index a953e5b9568b2a..30c05e81759d8d 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -3046,6 +3046,9 @@ PICS: - label: "Does the DUT(Client) implement sending Keysetwrite command?" id: GRPKEY.C.C00.Tx + - label: "Does the DUT(Client) implement sending Keysetread Command?" + id: GRPKEY.C.C01.Tx + - label: "Does the DUT(Client) implement sending AddGroup command?" id: G.C.C00.Tx @@ -5154,6 +5157,12 @@ PICS: - label: "Does the Controller DUT support Service Advertising?" id: MCORE.SC.ADV + - label: "Does the DUT(Client) implement sending Keysetwrite Command?" + id: GRPKEY.C.C00.Tx + + - label: "Does the DUT(Client) support the GroupKeyMap attribute?" + id: GRPKEY.C.A0000 + #133.1. Bridged Device Basic Information Cluster - label: "Does the DUT(server) support the DataModelRevision attribute?" id: BRBINFO.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml new file mode 100644 index 00000000000000..5b7211b67cd717 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml @@ -0,0 +1,1473 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 42.1.1. [TC-ACE-1.1] Privileges - REMOVED + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Precondition" + verification: | + N1 is the node ID of TH1 + disabled: true + + - label: "TH1 commissions DUT using admin node ID N1" + verification: | + DUT side: + sudo ./chip-all-clusters-app + + TH side: + ./chip-tool pairing ethernet 1 20202021 chiip5 matter123 3840 5540 + + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success + disabled: true + + - label: + "TH writes the ACL attribute with a list of AccessControlEntryStruct + entries containing 1 elements, granting itself administer privileges + on all of Endpoint 1: 1. struct Privilege field: Administer (5) + AuthMode field: CASE (2) Subjects field: [N1] Targets field: + [{Endpoint: 0}]" + verification: | + ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659419235.790198][3332:3337] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659419235.790263][3332:3337] CHIP:DMG: WriteResponseMessage = + [1659419235.790295][3332:3337] CHIP:DMG: { + [1659419235.790337][3332:3337] CHIP:DMG: AttributeStatusIBs = + [1659419235.790392][3332:3337] CHIP:DMG: [ + [1659419235.790423][3332:3337] CHIP:DMG: AttributeStatusIB = + [1659419235.790459][3332:3337] CHIP:DMG: { + [1659419235.790494][3332:3337] CHIP:DMG: AttributePathIB = + [1659419235.790534][3332:3337] CHIP:DMG: { + [1659419235.790574][3332:3337] CHIP:DMG: Endpoint = 0x0, + [1659419235.790616][3332:3337] CHIP:DMG: Cluster = 0x1f, + [1659419235.790662][3332:3337] CHIP:DMG: Attribute = 0x0000_0000, + [1659419235.790704][3332:3337] CHIP:DMG: } + [1659419235.790747][3332:3337] CHIP:DMG: + [1659419235.790784][3332:3337] CHIP:DMG: StatusIB = + [1659419235.790824][3332:3337] CHIP:DMG: { + [1659419235.790857][3332:3337] CHIP:DMG: status = 0x00 (SUCCESS), + [1659419235.790895][3332:3337] CHIP:DMG: }, + [1659419235.790934][3332:3337] CHIP:DMG: + [1659419235.790967][3332:3337] CHIP:DMG: }, + [1659419235.791013][3332:3337] CHIP:DMG: + [1659419235.791045][3332:3337] CHIP:DMG: AttributeStatusIB = + [1659419235.791079][3332:3337] CHIP:DMG: { + [1659419235.791113][3332:3337] CHIP:DMG: AttributePathIB = + [1659419235.791149][3332:3337] CHIP:DMG: { + [1659419235.791188][3332:3337] CHIP:DMG: Endpoint = 0x0, + [1659419235.791231][3332:3337] CHIP:DMG: Cluster = 0x1f, + [1659419235.791276][3332:3337] CHIP:DMG: Attribute = 0x0000_0000, + [1659419235.791320][3332:3337] CHIP:DMG: ListIndex = Null, + [1659419235.791358][3332:3337] CHIP:DMG: } + [1659419235.791400][3332:3337] CHIP:DMG: + [1659419235.791436][3332:3337] CHIP:DMG: StatusIB = + [1659419235.791473][3332:3337] CHIP:DMG: { + [1659419235.791511][3332:3337] CHIP:DMG: status = 0x00 (SUCCESS), + [1659419235.791549][3332:3337] CHIP:DMG: }, + [1659419235.791587][3332:3337] CHIP:DMG: + [1659419235.791620][3332:3337] CHIP:DMG: }, + [1659419235.791657][3332:3337] CHIP:DMG: + [1659419235.791688][3332:3337] CHIP:DMG: ], + [1659419235.791728][3332:3337] CHIP:DMG: + [1659419235.791783][3332:3337] CHIP:DMG: InteractionModelRevision = 1 + [1659419235.791817][3332:3337] CHIP:DMG: } + [1659419235.791934][3332:3337] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659419235.792010][3332:3337] CHIP:EM: Sending Standalone Ack for MessageCounter:134189934 on exchange 40582i + [1659419235.792099][3332:3337] CHIP:IN: Prepared secure message 0xffff93ffd9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 40582i with MessageCounter:170445973. + [1659419235.792166][3332:3337] CHIP:IN: Sending encrypted msg 0xffff93ffd9e8 with MessageCounter:170445973 to 0x0000000000000001 (1) at monotonic time: 00000000004A9C28 msec + [1659419235.792348][3332:3337] CHIP:EM: Flushed pending ack for MessageCounter:134189934 on exchange 40582i + [1659419235.792569][3332:3332] CHIP:CTL: Shutting down the commissioner + disabled: true + + - label: + "TH reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-scoped read (requires administer privilege)" + verification: | + ./chip-tool operationalcredentials read nocs 1 0 + On TH(Chiptool),Verify NOCs attribute from the Node Operational Credentials returns a list of NOCs containing 1 entry + cluster using a fabric-scoped read (requires administer privilege) returns a list of NOCs containing 1 entry + 1660287827.812436][3425:3430] CHIP:DMG: + [1660287827.812465][3425:3430] CHIP:DMG: ], + [1660287827.812507][3425:3430] CHIP:DMG: + [1660287827.812538][3425:3430] CHIP:DMG: SuppressResponse = true, + [1660287827.812568][3425:3430] CHIP:DMG: InteractionModelRevision = 1 + [1660287827.812595][3425:3430] CHIP:DMG: } + [1660287827.812909][3425:3430] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 150139357 + [1660287827.813029][3425:3430] CHIP:TOO: NOCs: 1 entries + [1660287827.813097][3425:3430] CHIP:TOO: [1]: { + [1660287827.813143][3425:3430] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110118240701240801300941045F7EC97259380A95B263D320C9AAB344A003CA502C4A0D3E9264BE9CB302ADD4261005A5EF5F64F59C4429A253115DFBA3BC2606E4F93A0F982E14F85208F20E370A3501280118240201360304020401183004143EC057A20A90D9BDD0E80B684B8251F9308FD708300514FD0C51FF3675568C2C84AA3BD8D94AECE4F3B4F418300B407233D4F3BD77C644527CFC41B20F3D651B8B2FF8C61971B7BE635DC60A730E725118BEDCEEC3AE40D5E1DB980841237E17FC959802C71FDEBE1BFA424E1421FC18 + [1660287827.813189][3425:3430] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A3706241301182407012408013009410462DE64AB7CAE375E896604D436B960BF9A1395D8021A26FE083EF45170D3691CA7C3834BC477E51D47F7A7C083D96C072A8E1E136F17A3F3D085AE586F3DF160370A3501290118240260300414FD0C51FF3675568C2C84AA3BD8D94AECE4F3B4F430051474A4D2A7459FB7DB8EE91648D8E51C5C9F5773BE18300B40A6EEE9EC50B2BF7D89EBEA128B2750567BCBAF80493CA15A33A99E1441EF65AA12634DE0D4AA59BEE9DCEAB1D3F3A76EE09D06DF603956E9501F068393B01C7118 + [1660287827.813239][3425:3430] CHIP:TOO: FabricIndex: 1 + [1660287827.813266][3425:3430] CHIP:TOO: } + [1660287827.813366][3425:3430] CHIP:EM: Sending Standalone Ack for MessageCounter:230101128 on exchange 36399i + [1660287827.813464][3425:3430] CHIP:IN: Prepared secure message 0xffffa5474a58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 36399i with MessageCounter:161658783. + [1660287827.813515][3425:3430] CHIP:IN: Sending encrypted msg 0xffffa5474a58 with MessageCounter:161658783 to 0x0000000000000001 (1) at monotonic time: 00000000006ADA1E msec + disabled: true + + - label: + "TH writes the Location attribute in the Basic Information cluster + with XX (requires administer privilege)" + verification: | + ./chip-tool basic write location xx 1 0 + On TH(Chiptool),Verify Successfully Location attribute in the Basic Information cluster + with "XX" (requires administer privilege) + 1660287985.294180][3436:3441] CHIP:DMG: WriteClient moving to [ResponseRe] + [1660287985.294247][3436:3441] CHIP:DMG: WriteResponseMessage = + [1660287985.294283][3436:3441] CHIP:DMG: { + [1660287985.294316][3436:3441] CHIP:DMG: AttributeStatusIBs = + [1660287985.294361][3436:3441] CHIP:DMG: [ + [1660287985.294393][3436:3441] CHIP:DMG: AttributeStatusIB = + [1660287985.294961][3436:3441] CHIP:DMG: { + [1660287985.295003][3436:3441] CHIP:DMG: AttributePathIB = + [1660287985.295049][3436:3441] CHIP:DMG: { + [1660287985.295096][3436:3441] CHIP:DMG: Endpoint = 0x0, + [1660287985.295146][3436:3441] CHIP:DMG: Cluster = 0x28, + [1660287985.295197][3436:3441] CHIP:DMG: Attribute = 0x0000_0006, + [1660287985.295233][3436:3441] CHIP:DMG: } + [1660287985.295274][3436:3441] CHIP:DMG: + [1660287985.295316][3436:3441] CHIP:DMG: StatusIB = + [1660287985.295358][3436:3441] CHIP:DMG: { + [1660287985.295397][3436:3441] CHIP:DMG: status = 0x00 (SUCCESS), + [1660287985.295433][3436:3441] CHIP:DMG: }, + [1660287985.295637][3436:3441] CHIP:DMG: + [1660287985.295675][3436:3441] CHIP:DMG: }, + [1660287985.295902][3436:3441] CHIP:DMG: + [1660287985.295936][3436:3441] CHIP:DMG: ], + [1660287985.295972][3436:3441] CHIP:DMG: + [1660287985.295999][3436:3441] CHIP:DMG: InteractionModelRevision = 1 + [1660287985.296026][3436:3441] CHIP:DMG: } + [1660287985.296109][3436:3441] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660287985.296183][3436:3441] CHIP:EM: Sending Standalone Ack for MessageCounter:197244062 on exchange 22576i + [1660287985.296266][3436:3441] CHIP:IN: Prepared secure message 0xffff7dd1aa58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 22576i with MessageCounter:245656370. + disabled: true + + - label: + "TH sends the UpdateFabricLabel command to the Node Operational + Credentials cluster with the Label field set to TestFabric (requires + administer privilege)" + verification: | + ./chip-tool operationalcredentials update-fabric-label Testfabric 1 0 + On TH(Chiptool),Verify UpdateFabricLabel command to the Node Operational + Credentials cluster with the Label field set to "TestFabric" + (requires administer privilege) + + 60288088.153252][3449:3454] CHIP:DMG: }, + [1660288088.153291][3449:3454] CHIP:DMG: + [1660288088.153319][3449:3454] CHIP:DMG: }, + [1660288088.153349][3449:3454] CHIP:DMG: + [1660288088.153373][3449:3454] CHIP:DMG: ], + [1660288088.153405][3449:3454] CHIP:DMG: + [1660288088.153430][3449:3454] CHIP:DMG: InteractionModelRevision = 1 + [1660288088.153455][3449:3454] CHIP:DMG: }, + [1660288088.153518][3449:3454] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1660288088.153574][3449:3454] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + [1660288088.153641][3449:3454] CHIP:TOO: NOCResponse: { + [1660288088.153690][3449:3454] CHIP:TOO: statusCode: 0 + [1660288088.153718][3449:3454] CHIP:TOO: fabricIndex: 1 + [1660288088.153742][3449:3454] CHIP:TOO: } + [1660288088.153784][3449:3454] CHIP:DMG: ICR moving to [AwaitingDe] + [1660288088.153845][3449:3454] CHIP:EM: Sending Standalone Ack for MessageCounter:105416284 on exchange 14053i + [1660288088.153936][3449:3454] CHIP:IN: Prepared secure message 0xffffb6fdda58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 14053i with MessageCounter:54032897. + [1660288088.153983][3449:3454] CHIP:IN: Sending encrypted msg 0xffffb6fdda58 with MessageCounter:54032897 to 0x0000000000000001 (1) at monotonic time: 00000000006ED312 msec + disabled: true + + - label: + "TH writes the NodeLabel attribute in the Basic Information cluster + with the string TestNode (requires manage privilege)" + verification: | + ./chip-tool basic write node-label TestNode 1 0 + On TH(Chiptool),Verify Successfully NodeLabel attribute in the Basic Information cluster with the + string "TestNode" (requires manage privilege) + [1660288214.881228][3458:3463] CHIP:DMG: WriteResponseMessage = + [1660288214.881269][3458:3463] CHIP:DMG: { + [1660288214.881305][3458:3463] CHIP:DMG: AttributeStatusIBs = + [1660288214.881356][3458:3463] CHIP:DMG: [ + [1660288214.881397][3458:3463] CHIP:DMG: AttributeStatusIB = + [1660288214.881447][3458:3463] CHIP:DMG: { + [1660288214.881495][3458:3463] CHIP:DMG: AttributePathIB = + [1660288214.881555][3458:3463] CHIP:DMG: { + [1660288214.881614][3458:3463] CHIP:DMG: Endpoint = 0x0, + [1660288214.881665][3458:3463] CHIP:DMG: Cluster = 0x28, + [1660288214.881720][3458:3463] CHIP:DMG: Attribute = 0x0000_0005, + [1660288214.881767][3458:3463] CHIP:DMG: } + [1660288214.881825][3458:3463] CHIP:DMG: + [1660288214.881875][3458:3463] CHIP:DMG: StatusIB = + [1660288214.881933][3458:3463] CHIP:DMG: { + [1660288214.881991][3458:3463] CHIP:DMG: status = 0x00 (SUCCESS), + [1660288214.882045][3458:3463] CHIP:DMG: }, + [1660288214.882105][3458:3463] CHIP:DMG: + [1660288214.882138][3458:3463] CHIP:DMG: }, + [1660288214.882175][3458:3463] CHIP:DMG: + [1660288214.882202][3458:3463] CHIP:DMG: ], + [1660288214.882234][3458:3463] CHIP:DMG: + [1660288214.882262][3458:3463] CHIP:DMG: InteractionModelRevision = 1 + [1660288214.882289][3458:3463] CHIP:DMG: } + [1660288214.882368][3458:3463] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660288214.882434][3458:3463] CHIP:EM: Sending Standalone Ack for MessageCounter:254310385 on exchange 54553i + [1660288214.882511][3458:3463] CHIP:IN: Prepared secure message 0xffffa5d08a58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 54553i with MessageCounter:154252624. + [1660288214.882555][3458:3463] CHIP:IN: Sending encrypted msg 0xffffa5d08a58 with MessageCounter:154252624 to 0x0000000000000001 (1) at monotonic time: 000000000070C21B msec + disabled: true + + - label: + "TH sends the TestEventTrigger command to the General Diagnostics + cluster with the EnableKey set to 0 and the EventTrigger set to 0 + (requires manage privilege). Note that this will cause an error to be + returned because the EnableKey is invalid, but still indicates that + the TH passed the ACL check." + verification: | + ./chip-tool generaldiagnostics test-event-trigger 0 0 1 0 + On TH(Chiptool),Verify TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0 (requires manage privilege) Returns CONSTRAINT_ERROR + [1659090456.655741][4334:4339] CHIP:DMG: ICR moving to [ResponseRe] + [1659090456.655829][4334:4339] CHIP:DMG: InvokeResponseMessage = + [1659090456.655887][4334:4339] CHIP:DMG: { + [1659090456.655928][4334:4339] CHIP:DMG: suppressResponse = false, + [1659090456.655985][4334:4339] CHIP:DMG: InvokeResponseIBs = + [1659090456.656037][4334:4339] CHIP:DMG: [ + [1659090456.656094][4334:4339] CHIP:DMG: InvokeResponseIB = + [1659090456.656153][4334:4339] CHIP:DMG: { + [1659090456.656213][4334:4339] CHIP:DMG: CommandStatusIB = + [1659090456.656270][4334:4339] CHIP:DMG: { + [1659090456.656319][4334:4339] CHIP:DMG: CommandPathIB = + [1659090456.656374][4334:4339] CHIP:DMG: { + [1659090456.656430][4334:4339] CHIP:DMG: EndpointId = 0x0, + [1659090456.656493][4334:4339] CHIP:DMG: ClusterId = 0x33, + [1659090456.656555][4334:4339] CHIP:DMG: CommandId = 0x0, + [1659090456.656613][4334:4339] CHIP:DMG: }, + [1659090456.656672][4334:4339] CHIP:DMG: + [1659090456.656724][4334:4339] CHIP:DMG: StatusIB = + [1659090456.656783][4334:4339] CHIP:DMG: { + [1659090456.656839][4334:4339] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), + [1659090456.656895][4334:4339] CHIP:DMG: }, + [1659090456.656946][4334:4339] CHIP:DMG: + [1659090456.656983][4334:4339] CHIP:DMG: }, + [1659090456.657021][4334:4339] CHIP:DMG: + [1659090456.657103][4334:4339] CHIP:DMG: }, + [1659090456.657143][4334:4339] CHIP:DMG: + [1659090456.657171][4334:4339] CHIP:DMG: ], + [1659090456.657204][4334:4339] CHIP:DMG: + [1659090456.657232][4334:4339] CHIP:DMG: InteractionModelRevision = 1 + [1659090456.657259][4334:4339] CHIP:DMG: }, + [1659090456.657346][4334:4339] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0033 Command=0x0000_0000 Status=0x87 + [1659090456.657384][4334:4339] CHIP:TOO: Error: IM Error 0x00000587: General error: 0x87 (CONSTRAINT_ERROR) + [1659090456.657425][4334:4339] CHIP:DMG: ICR moving to [AwaitingDe] + [1659090456.657488][4334:4339] CHIP:EM: Sending Standalone Ack for MessageCounter:22897794 on exchange 21249i + [1659090456.657555][4334:4339] CHIP:IN: Prepared secure message 0xffff8a3839e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 21249i with MessageCounter:124109243. + disabled: true + + - label: + "TH reads the VendorID attribute from the Basic Information cluster + (requires view privilege)" + verification: | + ./chip-tool basic read vendor-id 1 0 + On TH(Chiptool),Verify VendorID attribute from the Basic Information cluster + 288412.817686][3478:3483] CHIP:DMG: { + [1660288412.817723][3478:3483] CHIP:DMG: AttributeReportIBs = + [1660288412.817774][3478:3483] CHIP:DMG: [ + [1660288412.817818][3478:3483] CHIP:DMG: AttributeReportIB = + [1660288412.817872][3478:3483] CHIP:DMG: { + [1660288412.817909][3478:3483] CHIP:DMG: AttributeDataIB = + [1660288412.817949][3478:3483] CHIP:DMG: { + [1660288412.818001][3478:3483] CHIP:DMG: DataVersion = 0xe706a702, + [1660288412.818042][3478:3483] CHIP:DMG: AttributePathIB = + [1660288412.818104][3478:3483] CHIP:DMG: { + [1660288412.818152][3478:3483] CHIP:DMG: Endpoint = 0x0, + [1660288412.818205][3478:3483] CHIP:DMG: Cluster = 0x28, + [1660288412.818266][3478:3483] CHIP:DMG: Attribute = 0x0000_0002, + [1660288412.818310][3478:3483] CHIP:DMG: } + [1660288412.818356][3478:3483] CHIP:DMG: + [1660288412.818412][3478:3483] CHIP:DMG: Data = 65521, + [1660288412.818459][3478:3483] CHIP:DMG: }, + [1660288412.818529][3478:3483] CHIP:DMG: + [1660288412.818572][3478:3483] CHIP:DMG: }, + [1660288412.818638][3478:3483] CHIP:DMG: + [1660288412.818677][3478:3483] CHIP:DMG: ], + [1660288412.818725][3478:3483] CHIP:DMG: + [1660288412.818775][3478:3483] CHIP:DMG: SuppressResponse = true, + [1660288412.818818][3478:3483] CHIP:DMG: InteractionModelRevision = 1 + [1660288412.818856][3478:3483] CHIP:DMG: } + [1660288412.819053][3478:3483] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 3875972866 + [1660288412.819168][3478:3483] CHIP:TOO: VendorID: 65521 + [1660288412.819281][3478:3483] CHIP:EM: Sending Standalone Ack for MessageCounter:162210353 on exchange 21063i + [1660288412.819381][3478:3483] CHIP:IN: Prepared secure message 0xffff83ffda58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 21063i with MessageCounter:118354980. + disabled: true + + - label: + "TH writes the ACL attribute with a list of AccessControlEntryStruct + entries containing 2 elements, giving itself administer privilege only + on the Access Control cluster and manage privilege on everything else + on EP0. 1.struct Privilege field: Administer (5) AuthMode field: CASE + (2) Subjects field: [N1] Targets field: [{Cluster: 0x001F, Endpoint: + 0}] 2.struct Privilege field: Manage (4) AuthMode field: CASE (2) + Subjects field: [N1] Targets field: [{Endpoint: 0}]" + verification: | + ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 4, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements + + 1660288528.919407][3487:3493] CHIP:DMG: WriteClient moving to [ResponseRe] + [1660288528.919483][3487:3493] CHIP:DMG: WriteResponseMessage = + [1660288528.919538][3487:3493] CHIP:DMG: { + [1660288528.919573][3487:3493] CHIP:DMG: AttributeStatusIBs = + [1660288528.919617][3487:3493] CHIP:DMG: [ + [1660288528.919650][3487:3493] CHIP:DMG: AttributeStatusIB = + [1660288528.919684][3487:3493] CHIP:DMG: { + [1660288528.919718][3487:3493] CHIP:DMG: AttributePathIB = + [1660288528.919761][3487:3493] CHIP:DMG: { + [1660288528.919801][3487:3493] CHIP:DMG: Endpoint = 0x0, + [1660288528.919854][3487:3493] CHIP:DMG: Cluster = 0x1f, + [1660288528.919898][3487:3493] CHIP:DMG: Attribute = 0x0000_0000, + [1660288528.919938][3487:3493] CHIP:DMG: } + [1660288528.919984][3487:3493] CHIP:DMG: + [1660288528.920023][3487:3493] CHIP:DMG: StatusIB = + [1660288528.920064][3487:3493] CHIP:DMG: { + [1660288528.920104][3487:3493] CHIP:DMG: status = 0x00 (SUCCESS), + [1660288528.920142][3487:3493] CHIP:DMG: }, + [1660288528.920189][3487:3493] CHIP:DMG: + [1660288528.920225][3487:3493] CHIP:DMG: }, + [1660288528.920272][3487:3493] CHIP:DMG: + [1660288528.920305][3487:3493] CHIP:DMG: AttributeStatusIB = + [1660288528.920340][3487:3493] CHIP:DMG: { + [1660288528.920374][3487:3493] CHIP:DMG: AttributePathIB = + [1660288528.920417][3487:3493] CHIP:DMG: { + [1660288528.920458][3487:3493] CHIP:DMG: Endpoint = 0x0, + [1660288528.920505][3487:3493] CHIP:DMG: Cluster = 0x1f, + [1660288528.920554][3487:3493] CHIP:DMG: Attribute = 0x0000_0000, + [1660288528.920599][3487:3493] CHIP:DMG: ListIndex = Null, + [1660288528.920640][3487:3493] CHIP:DMG: } + [1660288528.920687][3487:3493] CHIP:DMG: + [1660288528.920727][3487:3493] CHIP:DMG: StatusIB = + [1660288528.920761][3487:3493] CHIP:DMG: { + [1660288528.920795][3487:3493] CHIP:DMG: status = 0x00 (SUCCESS), + [1660288528.920842][3487:3493] CHIP:DMG: }, + [1660288528.920883][3487:3493] CHIP:DMG: + [1660288528.920920][3487:3493] CHIP:DMG: }, + [1660288528.920966][3487:3493] CHIP:DMG: + [1660288528.920999][3487:3493] CHIP:DMG: AttributeStatusIB = + [1660288528.921034][3487:3493] CHIP:DMG: { + [1660288528.921068][3487:3493] CHIP:DMG: AttributePathIB = + [1660288528.921115][3487:3493] CHIP:DMG: { + [1660288528.921156][3487:3493] CHIP:DMG: Endpoint = 0x0, + [1660288528.921206][3487:3493] CHIP:DMG: Cluster = 0x1f, + [1660288528.921256][3487:3493] CHIP:DMG: Attribute = 0x0000_0000, + [1660288528.921307][3487:3493] CHIP:DMG: ListIndex = Null, + [1660288528.921355][3487:3493] CHIP:DMG: } + [1660288528.921396][3487:3493] CHIP:DMG: + [1660288528.921436][3487:3493] CHIP:DMG: StatusIB = + [1660288528.921480][3487:3493] CHIP:DMG: { + [1660288528.921524][3487:3493] CHIP:DMG: status = 0x00 (SUCCESS), + [1660288528.921570][3487:3493] CHIP:DMG: }, + [1660288528.921614][3487:3493] CHIP:DMG: + [1660288528.921648][3487:3493] CHIP:DMG: }, + [1660288528.921687][3487:3493] CHIP:DMG: + [1660288528.921720][3487:3493] CHIP:DMG: ], + [1660288528.921768][3487:3493] CHIP:DMG: + [1660288528.921799][3487:3493] CHIP:DMG: InteractionModelRevision = 1 + [1660288528.921830][3487:3493] CHIP:DMG: } + [1660288528.922005][3487:3493] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660288528.922090][3487:3493] CHIP:EM: Sending Standalone Ack for MessageCounter:51040482 on exchange 47509i + [1660288528.922185][3487:3493] CHIP:IN: Prepared secure message 0xffff854e1a58 to 0x000000000 + disabled: true + + - label: + "TH reads the NOCs attribute from the Node Operational Credentials + cluster using a fabric-filtered read (requires administer privilege)" + verification: | + ./chip-tool operationalcredentials read nocs 1 0 + On TH(Chiptool),Verify NOCs attribute from the Node Operational Credentials cluster + using a fabric-filtered read (requires administer privilege) Returns UNSUPPORTED_ACCESS (0x7e) + [1660288669.384866][3506:3511] CHIP:DMG: ReportDataMessage = + [1660288669.384903][3506:3511] CHIP:DMG: { + [1660288669.384933][3506:3511] CHIP:DMG: AttributeReportIBs = + [1660288669.384976][3506:3511] CHIP:DMG: [ + [1660288669.385008][3506:3511] CHIP:DMG: AttributeReportIB = + [1660288669.385057][3506:3511] CHIP:DMG: { + [1660288669.385094][3506:3511] CHIP:DMG: AttributeStatusIB = + [1660288669.385132][3506:3511] CHIP:DMG: { + [1660288669.385172][3506:3511] CHIP:DMG: AttributePathIB = + [1660288669.385224][3506:3511] CHIP:DMG: { + [1660288669.385268][3506:3511] CHIP:DMG: Endpoint = 0x0, + [1660288669.385322][3506:3511] CHIP:DMG: Cluster = 0x3e, + [1660288669.385373][3506:3511] CHIP:DMG: Attribute = 0x0000_0000, + [1660288669.385409][3506:3511] CHIP:DMG: } + [1660288669.385466][3506:3511] CHIP:DMG: + [1660288669.385511][3506:3511] CHIP:DMG: StatusIB = + [1660288669.385549][3506:3511] CHIP:DMG: { + [1660288669.385599][3506:3511] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660288669.385640][3506:3511] CHIP:DMG: }, + [1660288669.385686][3506:3511] CHIP:DMG: + [1660288669.385726][3506:3511] CHIP:DMG: }, + [1660288669.385781][3506:3511] CHIP:DMG: + [1660288669.385812][3506:3511] CHIP:DMG: }, + [1660288669.385853][3506:3511] CHIP:DMG: + [1660288669.385886][3506:3511] CHIP:DMG: ], + [1660288669.385928][3506:3511] CHIP:DMG: + [1660288669.385962][3506:3511] CHIP:DMG: SuppressResponse = true, + [1660288669.385993][3506:3511] CHIP:DMG: InteractionModelRevision = 1 + [1660288669.386025][3506:3511] CHIP:DMG: } + [1660288669.386159][3506:3511] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660288669.386306][3506:3511] CHIP:EM: Sending Standalone Ack for MessageCounter:43458100 on exchang + disabled: true + + - label: + "TH writes the Location attribute in the Basic Information cluster + with XX (requires administer privilege)" + verification: | + ./chip-tool basic write location xx 1 0 + On TH(Chiptool),Verify Successfully Location attribute in the Basic Information cluster + with "XX" (requires administer privilege) + [1660288749.400037][3516:3521] CHIP:DMG: WriteResponseMessage = + [1660288749.400074][3516:3521] CHIP:DMG: { + [1660288749.400105][3516:3521] CHIP:DMG: AttributeStatusIBs = + [1660288749.400152][3516:3521] CHIP:DMG: [ + [1660288749.400187][3516:3521] CHIP:DMG: AttributeStatusIB = + [1660288749.400226][3516:3521] CHIP:DMG: { + [1660288749.400270][3516:3521] CHIP:DMG: AttributePathIB = + [1660288749.400316][3516:3521] CHIP:DMG: { + [1660288749.400364][3516:3521] CHIP:DMG: Endpoint = 0x0, + [1660288749.400415][3516:3521] CHIP:DMG: Cluster = 0x28, + [1660288749.400468][3516:3521] CHIP:DMG: Attribute = 0x0000_0006, + [1660288749.400515][3516:3521] CHIP:DMG: } + [1660288749.400568][3516:3521] CHIP:DMG: + [1660288749.400613][3516:3521] CHIP:DMG: StatusIB = + [1660288749.400661][3516:3521] CHIP:DMG: { + [1660288749.400762][3516:3521] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660288749.400837][3516:3521] CHIP:DMG: }, + [1660288749.400877][3516:3521] CHIP:DMG: + [1660288749.400919][3516:3521] CHIP:DMG: }, + [1660288749.400968][3516:3521] CHIP:DMG: + [1660288749.401006][3516:3521] CHIP:DMG: ], + [1660288749.401094][3516:3521] CHIP:DMG: + [1660288749.401135][3516:3521] CHIP:DMG: InteractionModelRevision = 1 + [1660288749.401214][3516:3521] CHIP:DMG: } + [1660288749.401317][3516:3521] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660288749.401365][3516:3521] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660288749.401448][3516:3521] CHIP:EM: Sending Standalone Ack for MessageCounter:7906604 on exchange 16408i + [1660288749.401587][3516:3521] CHIP:IN: Prepared secure message 0xffff7de66a58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 16408i with MessageCounter:231165951. + [1660288749.401683][3516:3521] CHIP:IN: Sending encrypted msg 0xffff7de66a58 with MessageCounter:231165951 to 0x000000 + disabled: true + + - label: + "TH sends the UpdateFabricLabel command to the operational credentials + cluster with the Label field set to TestFabric (requires administer + privilege)" + verification: | + ./chip-tool operationalcredentials update-fabric-label Testfabric 1 0 + + On TH(Chiptool),Verify UpdateFabricLabel command to the operational credentials + cluster with the Label field set to "TestFabric" (requires administer privilege) Returns UNSUPPORTED_ACCESS (0x7e) + 1660288926.084024][3528:3533] CHIP:DMG: InvokeResponseMessage = + [1660288926.084053][3528:3533] CHIP:DMG: { + [1660288926.084081][3528:3533] CHIP:DMG: suppressResponse = false, + [1660288926.084110][3528:3533] CHIP:DMG: InvokeResponseIBs = + [1660288926.084145][3528:3533] CHIP:DMG: [ + [1660288926.084173][3528:3533] CHIP:DMG: InvokeResponseIB = + [1660288926.084211][3528:3533] CHIP:DMG: { + [1660288926.084244][3528:3533] CHIP:DMG: CommandStatusIB = + [1660288926.084282][3528:3533] CHIP:DMG: { + [1660288926.084316][3528:3533] CHIP:DMG: CommandPathIB = + [1660288926.084352][3528:3533] CHIP:DMG: { + [1660288926.084392][3528:3533] CHIP:DMG: EndpointId = 0x0, + [1660288926.084433][3528:3533] CHIP:DMG: ClusterId = 0x3e, + [1660288926.084472][3528:3533] CHIP:DMG: CommandId = 0x9, + [1660288926.084507][3528:3533] CHIP:DMG: }, + [1660288926.084555][3528:3533] CHIP:DMG: + [1660288926.084589][3528:3533] CHIP:DMG: StatusIB = + [1660288926.084632][3528:3533] CHIP:DMG: { + [1660288926.084675][3528:3533] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660288926.084718][3528:3533] CHIP:DMG: }, + [1660288926.084758][3528:3533] CHIP:DMG: + [1660288926.084791][3528:3533] CHIP:DMG: }, + [1660288926.084828][3528:3533] CHIP:DMG: + [1660288926.084857][3528:3533] CHIP:DMG: }, + [1660288926.084891][3528:3533] CHIP:DMG: + [1660288926.084919][3528:3533] CHIP:DMG: ], + [1660288926.084954][3528:3533] CHIP:DMG: + [1660288926.084982][3528:3533] CHIP:DMG: InteractionModelRevision = 1 + [1660288926.085009][3528:3533] CHIP:DMG: }, + [1660288926.085072][3528:3533] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0009 Status=0x7e + [1660288926.085110][3528:3533] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (U + disabled: true + + - label: + "Repeat steps 6 to 8 to confirm that TH still has access associated + with manage and view privileges" + verification: | + Step 6: ./chip-tool basic write node-label TestNode 1 0 + + On TH(Chiptool),Verify TH still has manage and view permissions by repeating Steps 6 to 8 + + 1660289086.355074][3539:3544] CHIP:DMG: WriteResponseMessage = + [1660289086.355120][3539:3544] CHIP:DMG: { + [1660289086.355161][3539:3544] CHIP:DMG: AttributeStatusIBs = + [1660289086.355218][3539:3544] CHIP:DMG: [ + [1660289086.355272][3539:3544] CHIP:DMG: AttributeStatusIB = + [1660289086.355326][3539:3544] CHIP:DMG: { + [1660289086.355367][3539:3544] CHIP:DMG: AttributePathIB = + [1660289086.355416][3539:3544] CHIP:DMG: { + [1660289086.355486][3539:3544] CHIP:DMG: Endpoint = 0x0, + [1660289086.355577][3539:3544] CHIP:DMG: Cluster = 0x28, + [1660289086.355639][3539:3544] CHIP:DMG: Attribute = 0x0000_0005, + [1660289086.355696][3539:3544] CHIP:DMG: } + [1660289086.355760][3539:3544] CHIP:DMG: + [1660289086.355813][3539:3544] CHIP:DMG: StatusIB = + [1660289086.355871][3539:3544] CHIP:DMG: { + [1660289086.355927][3539:3544] CHIP:DMG: status = 0x00 (SUCCESS), + [1660289086.355963][3539:3544] CHIP:DMG: }, + [1660289086.355995][3539:3544] CHIP:DMG: + [1660289086.356033][3539:3544] CHIP:DMG: }, + [1660289086.356072][3539:3544] CHIP:DMG: + [1660289086.356101][3539:3544] CHIP:DMG: ], + [1660289086.356132][3539:3544] CHIP:DMG: + [1660289086.356155][3539:3544] CHIP:DMG: InteractionModelRevision = 1 + [1660289086.356177][3539:3544] CHIP:DMG: } + [1660289086.356261][3539:3544] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660289086.356330][3539:3544] CHIP:EM: Sending Standalone Ack for MessageCounter:82540510 on exchange 39094i + [1660289086.356412][3539:3544] CHIP:IN: Prepared secure message 0xffffb10b5a58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 39094i with MessageCounter:152271650. + STEP 7: + ./chip-tool generaldiagnostics test-event-trigger 0 0 1 0 + + + 1660289262.561468][3553:3560] CHIP:DMG: InvokeResponseMessage = + [1660289262.561493][3553:3560] CHIP:DMG: { + [1660289262.561518][3553:3560] CHIP:DMG: suppressResponse = false, + [1660289262.561561][3553:3560] CHIP:DMG: InvokeResponseIBs = + [1660289262.561596][3553:3560] CHIP:DMG: [ + [1660289262.561621][3553:3560] CHIP:DMG: InvokeResponseIB = + [1660289262.561667][3553:3560] CHIP:DMG: { + [1660289262.561707][3553:3560] CHIP:DMG: CommandStatusIB = + [1660289262.561751][3553:3560] CHIP:DMG: { + [1660289262.561793][3553:3560] CHIP:DMG: CommandPathIB = + [1660289262.561839][3553:3560] CHIP:DMG: { + [1660289262.561885][3553:3560] CHIP:DMG: EndpointId = 0x0, + [1660289262.561932][3553:3560] CHIP:DMG: ClusterId = 0x33, + [1660289262.561977][3553:3560] CHIP:DMG: CommandId = 0x0, + [1660289262.562021][3553:3560] CHIP:DMG: }, + [1660289262.562069][3553:3560] CHIP:DMG: + [1660289262.562112][3553:3560] CHIP:DMG: StatusIB = + [1660289262.562158][3553:3560] CHIP:DMG: { + [1660289262.562202][3553:3560] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), + [1660289262.562246][3553:3560] CHIP:DMG: }, + [1660289262.562291][3553:3560] CHIP:DMG: + [1660289262.562332][3553:3560] CHIP:DMG: }, + [1660289262.562378][3553:3560] CHIP:DMG: + [1660289262.562414][3553:3560] CHIP:DMG: }, + [1660289262.562456][3553:3560] CHIP:DMG: + [1660289262.562481][3553:3560] CHIP:DMG: ], + [1660289262.562511][3553:3560] CHIP:DMG: + [1660289262.562535][3553:3560] CHIP:DMG: InteractionModelRevision = 1 + [1660289262.562569][3553:3560] CHIP:DMG: }, + STEP 8:./chip-tool basic read vendor-id 1 0 + 1660289390.248196][3566:3571] CHIP:DMG: ReportDataMessage = + [1660289390.248239][3566:3571] CHIP:DMG: { + [1660289390.248273][3566:3571] CHIP:DMG: AttributeReportIBs = + [1660289390.248320][3566:3571] CHIP:DMG: [ + [1660289390.248356][3566:3571] CHIP:DMG: AttributeReportIB = + [1660289390.248413][3566:3571] CHIP:DMG: { + [1660289390.248458][3566:3571] CHIP:DMG: AttributeDataIB = + [1660289390.248512][3566:3571] CHIP:DMG: { + [1660289390.248567][3566:3571] CHIP:DMG: DataVersion = 0xe706a703, + [1660289390.248616][3566:3571] CHIP:DMG: AttributePathIB = + [1660289390.248672][3566:3571] CHIP:DMG: { + [1660289390.248729][3566:3571] CHIP:DMG: Endpoint = 0x0, + [1660289390.248788][3566:3571] CHIP:DMG: Cluster = 0x28, + [1660289390.248847][3566:3571] CHIP:DMG: Attribute = 0x0000_0002, + [1660289390.248903][3566:3571] CHIP:DMG: } + [1660289390.248961][3566:3571] CHIP:DMG: + [1660289390.249018][3566:3571] CHIP:DMG: Data = 65521, + [1660289390.249070][3566:3571] CHIP:DMG: }, + [1660289390.249127][3566:3571] CHIP:DMG: + [1660289390.249169][3566:3571] CHIP:DMG: }, + [1660289390.249218][3566:3571] CHIP:DMG: + [1660289390.249253][3566:3571] CHIP:DMG: ], + [1660289390.249298][3566:3571] CHIP:DMG: + [1660289390.249336][3566:3571] CHIP:DMG: SuppressResponse = true, + [1660289390.249374][3566:3571] CHIP:DMG: InteractionModelRevision = 1 + [1660289390.249408][3566:3571] CHIP:DMG: } + [1660289390.249693][3566:3571] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 3875972867 + [1660289390.249809][3566:3571] CHIP:TOO: VendorID: 65521 + [1660289390.249922][3566:3571] CHIP:EM: Sending Standalone Ack for MessageCounter:168230887 on exchange 24883i + [1660289390.250033][3566:3571] CHIP:IN: Prepared secure message 0xffff9f7eda58 to 0x0000000000000001 (1) of type 0 + disabled: true + + - label: + "TH writes the ACL attribute with a list of AccessControlEntryStruct + entries containing 2 elements, giving itself administer privilege only + on the Access Control cluster and operate privilege on everything else + on EP0. 1. struct Privilege field: Administer (5) AuthMode field: CASE + (2) Subjects field: [N1] Targets field: [{Cluster: 0x001F, Endpoint: + 0}] 2. struct Privilege field: Operate (3) AuthMode field: CASE (2) + Subjects field: [N1] Targets field: [{Endpoint: 0}]" + verification: | + ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 3, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements + 1660289539.245027][3576:3581] CHIP:DMG: WriteResponseMessage = + [1660289539.245080][3576:3581] CHIP:DMG: { + [1660289539.245212][3576:3581] CHIP:DMG: AttributeStatusIBs = + [1660289539.245289][3576:3581] CHIP:DMG: [ + [1660289539.245343][3576:3581] CHIP:DMG: AttributeStatusIB = + [1660289539.245402][3576:3581] CHIP:DMG: { + [1660289539.245463][3576:3581] CHIP:DMG: AttributePathIB = + [1660289539.245540][3576:3581] CHIP:DMG: { + [1660289539.245610][3576:3581] CHIP:DMG: Endpoint = 0x0, + [1660289539.245690][3576:3581] CHIP:DMG: Cluster = 0x1f, + [1660289539.245763][3576:3581] CHIP:DMG: Attribute = 0x0000_0000, + [1660289539.245837][3576:3581] CHIP:DMG: } + [1660289539.245909][3576:3581] CHIP:DMG: + [1660289539.245975][3576:3581] CHIP:DMG: StatusIB = + [1660289539.246036][3576:3581] CHIP:DMG: { + [1660289539.246112][3576:3581] CHIP:DMG: status = 0x00 (SUCCESS), + [1660289539.246165][3576:3581] CHIP:DMG: }, + [1660289539.246218][3576:3581] CHIP:DMG: + [1660289539.246273][3576:3581] CHIP:DMG: }, + [1660289539.246351][3576:3581] CHIP:DMG: + [1660289539.246403][3576:3581] CHIP:DMG: AttributeStatusIB = + [1660289539.246465][3576:3581] CHIP:DMG: { + [1660289539.246514][3576:3581] CHIP:DMG: AttributePathIB = + [1660289539.246587][3576:3581] CHIP:DMG: { + [1660289539.246649][3576:3581] CHIP:DMG: Endpoint = 0x0, + [1660289539.246706][3576:3581] CHIP:DMG: Cluster = 0x1f, + [1660289539.246786][3576:3581] CHIP:DMG: Attribute = 0x0000_0000, + [1660289539.246843][3576:3581] CHIP:DMG: ListIndex = Null, + [1660289539.246909][3576:3581] CHIP:DMG: } + [1660289539.246984][3576:3581] CHIP:DMG: + [1660289539.247049][3576:3581] CHIP:DMG: StatusIB = + [1660289539.247116][3576:3581] CHIP:DMG: { + [1660289539.247170][3576:3581] CHIP:DMG: status = 0x00 (SUCCESS), + [1660289539.247244][3576:3581] CHIP:DMG: }, + [1660289539.247304][3576:3581] CHIP:DMG: + [1660289539.247363][3576:3581] CHIP:DMG: }, + [1660289539.247439][3576:3581] CHIP:DMG: + [1660289539.247493][3576:3581] CHIP:DMG: AttributeStatusIB = + [1660289539.247600][3576:3581] CHIP:DMG: { + [1660289539.247658][3576:3581] CHIP:DMG: AttributePathIB = + [1660289539.247716][3576:3581] CHIP:DMG: { + [1660289539.247792][3576:3581] CHIP:DMG: Endpoint = 0x0, + [1660289539.247854][3576:3581] CHIP:DMG: Cluster = 0x1f, + [1660289539.247933][3576:3581] CHIP:DMG: Attribute = 0x0000_0000, + [1660289539.247997][3576:3581] CHIP:DMG: ListIndex = Null, + [1660289539.248072][3576:3581] CHIP:DMG: } + [1660289539.248141][3576:3581] CHIP:DMG: + [1660289539.248206][3576:3581] CHIP:DMG: StatusIB = + [1660289539.248266][3576:3581] CHIP:DMG: { + [1660289539.248322][3576:3581] CHIP:DMG: status = 0x00 (SUCCESS), + [1660289539.248388][3576:3581] CHIP:DMG: }, + [1660289539.248449][3576:3581] CHIP:DMG: + [1660289539.248509][3576:3581] CHIP:DMG: }, + [1660289539.248572][3576:3581] CHIP:DMG: + [1660289539.248624][3576:3581] CHIP:DMG: ], + [1660289539.248701][3576:3581] CHIP:DMG: + [1660289539.248753][3576:3581] CHIP:DMG: InteractionModelRevision = 1 + [1660289539.248805][3576:3581] CHIP:DMG: } + [1660289539.249079][3576:3581] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660289539.249191][3576:3581] CHIP:EM: Sending Standalone Ack for MessageCounter:263846205 on ex + disabled: true + + - label: + "Repeat steps 10 to 12 to confirm that TH still does not have + administer privileges" + verification: | + STEP 10: ./chip-tool operationalcredentials read nocs 1 0 + + On TH(Chiptool)2,Verify it still does not have administer privileges by repeating Steps 10, 11,12 + 1660289669.014743][3588:3593] CHIP:DMG: ReportDataMessage = + [1660289669.014793][3588:3593] CHIP:DMG: { + [1660289669.014836][3588:3593] CHIP:DMG: AttributeReportIBs = + [1660289669.014890][3588:3593] CHIP:DMG: [ + [1660289669.014939][3588:3593] CHIP:DMG: AttributeReportIB = + [1660289669.014994][3588:3593] CHIP:DMG: { + [1660289669.015043][3588:3593] CHIP:DMG: AttributeStatusIB = + [1660289669.015100][3588:3593] CHIP:DMG: { + [1660289669.015151][3588:3593] CHIP:DMG: AttributePathIB = + [1660289669.015209][3588:3593] CHIP:DMG: { + [1660289669.015269][3588:3593] CHIP:DMG: Endpoint = 0x0, + [1660289669.015332][3588:3593] CHIP:DMG: Cluster = 0x3e, + [1660289669.015394][3588:3593] CHIP:DMG: Attribute = 0x0000_0000, + [1660289669.015453][3588:3593] CHIP:DMG: } + [1660289669.015556][3588:3593] CHIP:DMG: + [1660289669.015619][3588:3593] CHIP:DMG: StatusIB = + [1660289669.015676][3588:3593] CHIP:DMG: { + [1660289669.015733][3588:3593] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660289669.015794][3588:3593] CHIP:DMG: }, + [1660289669.015851][3588:3593] CHIP:DMG: + [1660289669.015892][3588:3593] CHIP:DMG: }, + [1660289669.015926][3588:3593] CHIP:DMG: + [1660289669.015954][3588:3593] CHIP:DMG: }, + [1660289669.016040][3588:3593] CHIP:DMG: + [1660289669.016068][3588:3593] CHIP:DMG: ], + [1660289669.016102][3588:3593] CHIP:DMG: + [1660289669.016130][3588:3593] CHIP:DMG: SuppressResponse = true, + [1660289669.016155][3588:3593] CHIP:DMG: InteractionModelRevision = 1 + [1660289669.016181][3588:3593] CHIP:DMG: } + [1660289669.016292][3588:3593] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660289669.016383][3588:3593] CHIP:EM: Sending Standalone Ack for MessageCounter:12033603 on exchange 31844i + [1660289669.016463][3588:3593] CHIP:IN: Prepared secure message 0xffffa9fcfa58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 31844i with MessageCounter:73820390. + [1660289669.016508][3588:3593] CHIP:IN: Sending encrypted msg 0xffffa9fcfa58 with MessageCounter:73820390 to 0x0000000000000001 (1) at monotonic time: 000000000086F250 msec + [1660289669.016636][3588:3593] CHIP:EM: Flushed pending ack for MessageCounter:12033603 on exchange 31844i + [1660289669.016863][3588:3588] CHIP:CTL: Shutting down the commissioner + [1660289669.017002][3588:3588] CHIP:CTL: Shutting down the controller + [1660289669.017037][3588:3588] CHIP:CTL: Shutting down the commissioner + Step 11:./chip-tool basic write location xx 1 0 + + 1660289760.000896][3597:3602] CHIP:DMG: WriteResponseMessage = + [1660289760.000939][3597:3602] CHIP:DMG: { + [1660289760.000976][3597:3602] CHIP:DMG: AttributeStatusIBs = + [1660289760.001025][3597:3602] CHIP:DMG: [ + [1660289760.001051][3597:3602] CHIP:DMG: AttributeStatusIB = + [1660289760.001081][3597:3602] CHIP:DMG: { + [1660289760.001110][3597:3602] CHIP:DMG: AttributePathIB = + [1660289760.001209][3597:3602] CHIP:DMG: { + [1660289760.001254][3597:3602] CHIP:DMG: Endpoint = 0x0, + [1660289760.001296][3597:3602] CHIP:DMG: Cluster = 0x28, + [1660289760.001337][3597:3602] CHIP:DMG: Attribute = 0x0000_0006, + [1660289760.001418][3597:3602] CHIP:DMG: } + [1660289760.001458][3597:3602] CHIP:DMG: + [1660289760.001490][3597:3602] CHIP:DMG: StatusIB = + [1660289760.001523][3597:3602] CHIP:DMG: { + [1660289760.001557][3597:3602] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660289760.001596][3597:3602] CHIP:DMG: }, + [1660289760.001635][3597:3602] CHIP:DMG: + [1660289760.001687][3597:3602] CHIP:DMG: }, + [1660289760.001725][3597:3602] CHIP:DMG: + [1660289760.001751][3597:3602] CHIP:DMG: ], + [1660289760.001784][3597:3602] CHIP:DMG: + [1660289760.001836][3597:3602] CHIP:DMG: InteractionModelRevision = 1 + [1660289760.001864][3597:3602] CHIP:DMG: } + [1660289760.001941][3597:3602] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660289760.001977][3597:3602] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ + STEP12:./chip-tool operationalcredentials update-fabric-label Testfabric 1 0 + 660289912.930397][3610:3615] CHIP:DMG: { + [1660289912.930448][3610:3615] CHIP:DMG: suppressResponse = false, + [1660289912.930500][3610:3615] CHIP:DMG: InvokeResponseIBs = + [1660289912.930563][3610:3615] CHIP:DMG: [ + [1660289912.930618][3610:3615] CHIP:DMG: InvokeResponseIB = + [1660289912.930694][3610:3615] CHIP:DMG: { + [1660289912.930727][3610:3615] CHIP:DMG: CommandStatusIB = + [1660289912.930767][3610:3615] CHIP:DMG: { + [1660289912.930800][3610:3615] CHIP:DMG: CommandPathIB = + [1660289912.930835][3610:3615] CHIP:DMG: { + [1660289912.930873][3610:3615] CHIP:DMG: EndpointId = 0x0, + [1660289912.930910][3610:3615] CHIP:DMG: ClusterId = 0x3e, + [1660289912.930945][3610:3615] CHIP:DMG: CommandId = 0x9, + [1660289912.930980][3610:3615] CHIP:DMG: }, + [1660289912.931021][3610:3615] CHIP:DMG: + [1660289912.931055][3610:3615] CHIP:DMG: StatusIB = + [1660289912.931096][3610:3615] CHIP:DMG: { + [1660289912.931136][3610:3615] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660289912.931176][3610:3615] CHIP:DMG: }, + [1660289912.931215][3610:3615] CHIP:DMG: + [1660289912.931251][3610:3615] CHIP:DMG: }, + [1660289912.931286][3610:3615] CHIP:DMG: + [1660289912.931314][3610:3615] CHIP:DMG: }, + [1660289912.931347][3610:3615] CHIP:DMG: + [1660289912.931374][3610:3615] CHIP:DMG: ], + [1660289912.931404][3610:3615] CHIP:DMG: + [1660289912.931430][3610:3615] CHIP:DMG: InteractionModelRevision = 1 + [1660289912.931454][3610:3615] CHIP:DMG: }, + [1660289912.931544][3610:3615] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0009 Status=0x7e + [1660289912.931586][3610:3615] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660289912.931628][3610:3615] CHIP:DMG: ICR moving to [AwaitingDe] + [1660289912.931692][3610:3615] CHIP:EM: Sending Standalone Ack for MessageCounter:5306164 on exchange 6678i + disabled: true + + - label: + "TH writes the NodeLabel attribute in the Basic Information cluster + with the string TestNode (requires manage privilege)" + verification: | + ./chip-tool basic write node-label TestNode 1 0 + + On TH(Chiptool),Verify NodeLabel attribute in the Basic Information cluster with the string "TestNode" (requires manage privilege) Returns UNSUPPORTED_ACCESS (0x7e) + [1660290058.857328][3622:3627] CHIP:DMG: { + [1660290058.857360][3622:3627] CHIP:DMG: AttributeStatusIBs = + [1660290058.857406][3622:3627] CHIP:DMG: [ + [1660290058.857443][3622:3627] CHIP:DMG: AttributeStatusIB = + [1660290058.857490][3622:3627] CHIP:DMG: { + [1660290058.857530][3622:3627] CHIP:DMG: AttributePathIB = + [1660290058.857579][3622:3627] CHIP:DMG: { + [1660290058.857619][3622:3627] CHIP:DMG: Endpoint = 0x0, + [1660290058.857664][3622:3627] CHIP:DMG: Cluster = 0x28, + [1660290058.857703][3622:3627] CHIP:DMG: Attribute = 0x0000_0005, + [1660290058.857740][3622:3627] CHIP:DMG: } + [1660290058.857782][3622:3627] CHIP:DMG: + [1660290058.857816][3622:3627] CHIP:DMG: StatusIB = + [1660290058.857899][3622:3627] CHIP:DMG: { + [1660290058.857955][3622:3627] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660290058.858010][3622:3627] CHIP:DMG: }, + [1660290058.858057][3622:3627] CHIP:DMG: + [1660290058.858095][3622:3627] CHIP:DMG: }, + [1660290058.858138][3622:3627] CHIP:DMG: + [1660290058.858211][3622:3627] CHIP:DMG: ], + [1660290058.858259][3622:3627] CHIP:DMG: + [1660290058.858328][3622:3627] CHIP:DMG: InteractionModelRevision = 1 + [1660290058.858369][3622:3627] CHIP:DMG: } + disabled: true + + - label: + "TH sends the TestEventTrigger command to the General Diagnostics + cluster with the EnableKey set to 0 and the EventTrigger set to 0. + (requires manage privilege)" + verification: | + ./chip-tool basic write node-label TestNode 1 0 + + On TH(Chiptool),Verify TestEventTrigger command to the General Diagnostics cluster with the EnableKey set to 0 and the EventTrigger set to 0. (requires manage privilege) Returns UNSUPPORTED_ACCESS (0x7e) + [1660290186.783158][3633:3638] CHIP:DMG: InvokeResponseMessage = + [1660290186.783198][3633:3638] CHIP:DMG: { + [1660290186.783237][3633:3638] CHIP:DMG: suppressResponse = false, + [1660290186.783278][3633:3638] CHIP:DMG: InvokeResponseIBs = + [1660290186.783328][3633:3638] CHIP:DMG: [ + [1660290186.783368][3633:3638] CHIP:DMG: InvokeResponseIB = + [1660290186.783420][3633:3638] CHIP:DMG: { + [1660290186.783462][3633:3638] CHIP:DMG: CommandStatusIB = + [1660290186.783506][3633:3638] CHIP:DMG: { + [1660290186.783599][3633:3638] CHIP:DMG: CommandPathIB = + [1660290186.783656][3633:3638] CHIP:DMG: { + [1660290186.783713][3633:3638] CHIP:DMG: EndpointId = 0x0, + [1660290186.783779][3633:3638] CHIP:DMG: ClusterId = 0x33, + [1660290186.783834][3633:3638] CHIP:DMG: CommandId = 0x0, + [1660290186.783890][3633:3638] CHIP:DMG: }, + [1660290186.783946][3633:3638] CHIP:DMG: + [1660290186.783993][3633:3638] CHIP:DMG: StatusIB = + [1660290186.784052][3633:3638] CHIP:DMG: { + [1660290186.784105][3633:3638] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660290186.784159][3633:3638] CHIP:DMG: }, + [1660290186.784218][3633:3638] CHIP:DMG: + [1660290186.784265][3633:3638] CHIP:DMG: }, + [1660290186.784320][3633:3638] CHIP:DMG: + [1660290186.784360][3633:3638] CHIP:DMG: }, + [1660290186.784408][3633:3638] CHIP:DMG: + [1660290186.784447][3633:3638] CHIP:DMG: ], + [1660290186.784495][3633:3638] CHIP:DMG: + [1660290186.784534][3633:3638] CHIP:DMG: InteractionModelRevision = 1 + [1660290186.784572][3633:3638] CHIP:DMG: }, + [1660290186.784661][3633:3638] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0033 Command=0x0000_0000 Status=0x7e + [1660290186.784713][3633:3638] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660290186.784771][3633:3638] CHIP:DMG: ICR moving to [AwaitingDe] + [1660290186.784855][3633:3638] CHIP:EM: Sending Standalone Ack for MessageCounter:17830704 on exchange 46324i + [1660290186.784955][3633:3638] CHIP:IN: Prepared secure message 0xffff93ffda58 to 0x0000000000000001 (1) of type 0x10 a + disabled: true + + - label: "Repeat step 8 to confirm that the TH still has view privileges" + verification: | + ./chip-tool basic read vendor-id 1 0 + + On TH(Chiptool),Verify TH still has view privilege by repeating step 8 + [1660290302.767326][3645:3650] CHIP:DMG: AttributeReportIBs = + [1660290302.767384][3645:3650] CHIP:DMG: [ + [1660290302.767430][3645:3650] CHIP:DMG: AttributeReportIB = + [1660290302.767490][3645:3650] CHIP:DMG: { + [1660290302.767594][3645:3650] CHIP:DMG: AttributeDataIB = + [1660290302.767660][3645:3650] CHIP:DMG: { + [1660290302.767722][3645:3650] CHIP:DMG: DataVersion = 0xe706a703, + [1660290302.767770][3645:3650] CHIP:DMG: AttributePathIB = + [1660290302.767841][3645:3650] CHIP:DMG: { + [1660290302.767904][3645:3650] CHIP:DMG: Endpoint = 0x0, + [1660290302.767980][3645:3650] CHIP:DMG: Cluster = 0x28, + [1660290302.768041][3645:3650] CHIP:DMG: Attribute = 0x0000_0002, + [1660290302.768098][3645:3650] CHIP:DMG: } + [1660290302.768146][3645:3650] CHIP:DMG: + [1660290302.768181][3645:3650] CHIP:DMG: Data = 65521, + [1660290302.768215][3645:3650] CHIP:DMG: }, + [1660290302.768258][3645:3650] CHIP:DMG: + [1660290302.768289][3645:3650] CHIP:DMG: }, + [1660290302.768321][3645:3650] CHIP:DMG: + [1660290302.768349][3645:3650] CHIP:DMG: ], + [1660290302.768383][3645:3650] CHIP:DMG: + [1660290302.768411][3645:3650] CHIP:DMG: SuppressResponse = true, + [1660290302.768440][3645:3650] CHIP:DMG: InteractionModelRevision = 1 + [1660290302.768461][3645:3650] CHIP:DMG: } + [1660290302.768606][3645:3650] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 3875972867 + [1660290302.768694][3645:3650] CHIP:TOO: VendorID: 65521 + [1660290302.768784][3645:3650] CHIP:EM: Sending Standalone Ack for MessageCounter:79752272 on exchange 6528i + disabled: true + + - label: + "TH1 writes the ACL attribute with a list of AccessControlEntryStruct + entries containing 2 elements, giving itself administer privilege only + on the Access Control cluster and view privilege on everything else on + EP0. 1.struct Privilege field: Administer (5) AuthMode field: CASE (2) + Subjects field: [N1] Targets field: [{Cluster: 0x001F, Endpoint: 0}] + 2.struct Privilege field: View (1) AuthMode field: CASE (2) Subjects + field: [N1] Targets field: [{Endpoint: 0}]" + verification: | + ./chip-tool accesscontrol write acl '[{ "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]},{ "privilege": 1, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool),Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements + + 660290492.871763][3659:3664] CHIP:DMG: { + [1660290492.871788][3659:3664] CHIP:DMG: AttributeStatusIBs = + [1660290492.871824][3659:3664] CHIP:DMG: [ + [1660290492.871852][3659:3664] CHIP:DMG: AttributeStatusIB = + [1660290492.871894][3659:3664] CHIP:DMG: { + [1660290492.871930][3659:3664] CHIP:DMG: AttributePathIB = + [1660290492.871973][3659:3664] CHIP:DMG: { + [1660290492.872016][3659:3664] CHIP:DMG: Endpoint = 0x0, + [1660290492.872055][3659:3664] CHIP:DMG: Cluster = 0x1f, + [1660290492.872096][3659:3664] CHIP:DMG: Attribute = 0x0000_0000, + [1660290492.872138][3659:3664] CHIP:DMG: } + [1660290492.872179][3659:3664] CHIP:DMG: + [1660290492.872221][3659:3664] CHIP:DMG: StatusIB = + [1660290492.872259][3659:3664] CHIP:DMG: { + [1660290492.872296][3659:3664] CHIP:DMG: status = 0x00 (SUCCESS), + [1660290492.872333][3659:3664] CHIP:DMG: }, + [1660290492.872368][3659:3664] CHIP:DMG: + [1660290492.872398][3659:3664] CHIP:DMG: }, + [1660290492.872440][3659:3664] CHIP:DMG: + [1660290492.872469][3659:3664] CHIP:DMG: AttributeStatusIB = + [1660290492.872503][3659:3664] CHIP:DMG: { + [1660290492.872535][3659:3664] CHIP:DMG: AttributePathIB = + [1660290492.872576][3659:3664] CHIP:DMG: { + [1660290492.872615][3659:3664] CHIP:DMG: Endpoint = 0x0, + [1660290492.872652][3659:3664] CHIP:DMG: Cluster = 0x1f, + [1660290492.872689][3659:3664] CHIP:DMG: Attribute = 0x0000_0000, + [1660290492.872725][3659:3664] CHIP:DMG: ListIndex = Null, + [1660290492.872760][3659:3664] CHIP:DMG: } + [1660290492.872800][3659:3664] CHIP:DMG: + [1660290492.872834][3659:3664] CHIP:DMG: StatusIB = + [1660290492.872869][3659:3664] CHIP:DMG: { + [1660290492.872900][3659:3664] CHIP:DMG: status = 0x00 (SUCCESS), + [1660290492.872928][3659:3664] CHIP:DMG: }, + [1660290492.872959][3659:3664] CHIP:DMG: + [1660290492.872987][3659:3664] CHIP:DMG: }, + [1660290492.873025][3659:3664] CHIP:DMG: + [1660290492.873050][3659:3664] CHIP:DMG: AttributeStatusIB = + [1660290492.873080][3659:3664] CHIP:DMG: { + [1660290492.873107][3659:3664] CHIP:DMG: AttributePathIB = + [1660290492.873137][3659:3664] CHIP:DMG: { + [1660290492.873189][3659:3664] CHIP:DMG: Endpoint = 0x0, + [1660290492.873239][3659:3664] CHIP:DMG: Cluster = 0x1f, + [1660290492.873278][3659:3664] CHIP:DMG: Attribute = 0x0000_0000, + [1660290492.873313][3659:3664] CHIP:DMG: ListIndex = Null, + [1660290492.873348][3659:3664] CHIP:DMG: } + [1660290492.873387][3659:3664] CHIP:DMG: + [1660290492.873421][3659:3664] CHIP:DMG: StatusIB = + [1660290492.873456][3659:3664] CHIP:DMG: { + [1660290492.873492][3659:3664] CHIP:DMG: status = 0x00 (SUCCESS), + [1660290492.873526][3659:3664] CHIP:DMG: }, + [1660290492.873562][3659:3664] CHIP:DMG: + disabled: true + + - label: + "Repeat steps 10 to 12 to confirm that TH still does not have + administer privileges" + verification: | + On TH(Chiptool)2,Verify TH still does not have administer privileges by repeating steps 10,11,12 + STEP 10 : ./chip-tool operationalcredentials read nocs 1 0 + 2663][3679:3684] CHIP:DMG: { + [1660290793.812693][3679:3684] CHIP:DMG: AttributeReportIBs = + [1660290793.812735][3679:3684] CHIP:DMG: [ + [1660290793.812768][3679:3684] CHIP:DMG: AttributeReportIB = + [1660290793.812807][3679:3684] CHIP:DMG: { + [1660290793.812844][3679:3684] CHIP:DMG: AttributeStatusIB = + [1660290793.812891][3679:3684] CHIP:DMG: { + [1660290793.812928][3679:3684] CHIP:DMG: AttributePathIB = + [1660290793.812965][3679:3684] CHIP:DMG: { + [1660290793.813002][3679:3684] CHIP:DMG: Endpoint = 0x0, + [1660290793.813040][3679:3684] CHIP:DMG: Cluster = 0x3e, + [1660290793.813078][3679:3684] CHIP:DMG: Attribute = 0x0000_0000, + [1660290793.813122][3679:3684] CHIP:DMG: } + [1660290793.813170][3679:3684] CHIP:DMG: + [1660290793.813211][3679:3684] CHIP:DMG: StatusIB = + [1660290793.813254][3679:3684] CHIP:DMG: { + [1660290793.813298][3679:3684] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660290793.813350][3679:3684] CHIP:DMG: }, + [1660290793.813400][3679:3684] CHIP:DMG: + [1660290793.813433][3679:3684] CHIP:DMG: }, + [1660290793.813475][3679:3684] CHIP:DMG: + [1660290793.813504][3679:3684] CHIP:DMG: }, + [1660290793.813539][3679:3684] CHIP:DMG: + [1660290793.813565][3679:3684] CHIP:DMG: ], + [1660290793.813600][3679:3684] CHIP:DMG: + [1660290793.813635][3679:3684] CHIP:DMG: SuppressResponse = true, + [1660290793.813672][3679:3684] CHIP:DMG: InteractionModelRevision = 1 + [1660290793.813704][3679:3684] CHIP:DMG: } + [1660290793.813837][3679:3684] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660290793.813940][3679:3684] CHIP:EM: Sending Standalone Ack for MessageCounter:138199554 on exchange 53264i + [1660290793.814027][3679:3684] CHIP:IN: Prepared secure message 0xffff95ed5a58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 53264i with MessageCounter:163518118. + [1660290793.814076][3679:3684] CHIP:IN: Sending encrypted msg 0xffff95ed5a58 with MessageCounter:163518118 to 0x000000 + STEP 11 : + ./chip-tool basic write location xx 1 0 + 1660290881.760017][3688:3693] CHIP:DMG: WriteClient moving to [ResponseRe] + [1660290881.760081][3688:3693] CHIP:DMG: WriteResponseMessage = + [1660290881.760115][3688:3693] CHIP:DMG: { + [1660290881.760146][3688:3693] CHIP:DMG: AttributeStatusIBs = + [1660290881.760191][3688:3693] CHIP:DMG: [ + [1660290881.760226][3688:3693] CHIP:DMG: AttributeStatusIB = + [1660290881.760265][3688:3693] CHIP:DMG: { + [1660290881.760300][3688:3693] CHIP:DMG: AttributePathIB = + [1660290881.760353][3688:3693] CHIP:DMG: { + [1660290881.760398][3688:3693] CHIP:DMG: Endpoint = 0x0, + [1660290881.760443][3688:3693] CHIP:DMG: Cluster = 0x28, + [1660290881.760496][3688:3693] CHIP:DMG: Attribute = 0x0000_0006, + [1660290881.760545][3688:3693] CHIP:DMG: } + [1660290881.760593][3688:3693] CHIP:DMG: + [1660290881.760640][3688:3693] CHIP:DMG: StatusIB = + [1660290881.760691][3688:3693] CHIP:DMG: { + [1660290881.760760][3688:3693] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660290881.760810][3688:3693] CHIP:DMG: }, + [1660290881.760860][3688:3693] CHIP:DMG: + [1660290881.760894][3688:3693] CHIP:DMG: }, + [1660290881.760942][3688:3693] CHIP:DMG: + [1660290881.760975][3688:3693] CHIP:DMG: ], + [1660290881.761011][3688:3693] CHIP:DMG: + [1660290881.761032][3688:3693] CHIP:DMG: InteractionModelRevision = 1 + [1660290881.761052][3688:3693] CHIP:DMG: } + [1660290881.761128][3688:3693] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660290881.761164][3688:3693] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ + STEP 12: + ./chip-tool operationalcredentials update-fabric-label Testfabric 1 0 + + 60290936.485543][3698:3703] CHIP:DMG: InvokeResponseMessage = + [1660290936.485583][3698:3703] CHIP:DMG: { + [1660290936.485622][3698:3703] CHIP:DMG: suppressResponse = false, + [1660290936.485663][3698:3703] CHIP:DMG: InvokeResponseIBs = + [1660290936.485713][3698:3703] CHIP:DMG: [ + [1660290936.485753][3698:3703] CHIP:DMG: InvokeResponseIB = + [1660290936.485812][3698:3703] CHIP:DMG: { + [1660290936.485858][3698:3703] CHIP:DMG: CommandStatusIB = + [1660290936.485921][3698:3703] CHIP:DMG: { + [1660290936.485970][3698:3703] CHIP:DMG: CommandPathIB = + [1660290936.486022][3698:3703] CHIP:DMG: { + [1660290936.486087][3698:3703] CHIP:DMG: EndpointId = 0x0, + [1660290936.486148][3698:3703] CHIP:DMG: ClusterId = 0x3e, + [1660290936.486211][3698:3703] CHIP:DMG: CommandId = 0x9, + [1660290936.486273][3698:3703] CHIP:DMG: }, + [1660290936.486334][3698:3703] CHIP:DMG: + [1660290936.486391][3698:3703] CHIP:DMG: StatusIB = + [1660290936.486448][3698:3703] CHIP:DMG: { + [1660290936.486529][3698:3703] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660290936.486594][3698:3703] CHIP:DMG: }, + [1660290936.486655][3698:3703] CHIP:DMG: + [1660290936.486704][3698:3703] CHIP:DMG: }, + [1660290936.486760][3698:3703] CHIP:DMG: + [1660290936.486801][3698:3703] CHIP:DMG: }, + [1660290936.486850][3698:3703] CHIP:DMG: + [1660290936.486889][3698:3703] CHIP:DMG: ], + [1660290936.486936][3698:3703] CHIP:DMG: + [1660290936.486975][3698:3703] CHIP:DMG: InteractionModelRevision = 1 + [1660290936.487013][3698:3703] CHIP:DMG: }, + [1660290936.487108][3698:3703] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000 + disabled: true + + - label: + "Repeat steps 16 to 17 to confirm that TH still does not have manage + privileges" + verification: | + On TH(Chiptool),Verify it still does not have manage privileges by repeating steps 16 ,17 + STEP 16: + ./chip-tool basic write node-label TestNode 1 0 + + [1660291097.342481][3711:3716] CHIP:DMG: WriteClient moving to [ResponseRe] + [1660291097.342536][3711:3716] CHIP:DMG: WriteResponseMessage = + [1660291097.342563][3711:3716] CHIP:DMG: { + [1660291097.342585][3711:3716] CHIP:DMG: AttributeStatusIBs = + [1660291097.342617][3711:3716] CHIP:DMG: [ + [1660291097.342641][3711:3716] CHIP:DMG: AttributeStatusIB = + [1660291097.342669][3711:3716] CHIP:DMG: { + [1660291097.342695][3711:3716] CHIP:DMG: AttributePathIB = + [1660291097.342727][3711:3716] CHIP:DMG: { + [1660291097.342760][3711:3716] CHIP:DMG: Endpoint = 0x0, + [1660291097.342798][3711:3716] CHIP:DMG: Cluster = 0x28, + [1660291097.342836][3711:3716] CHIP:DMG: Attribute = 0x0000_0005, + [1660291097.342871][3711:3716] CHIP:DMG: } + [1660291097.342907][3711:3716] CHIP:DMG: + [1660291097.342937][3711:3716] CHIP:DMG: StatusIB = + [1660291097.342969][3711:3716] CHIP:DMG: { + [1660291097.343000][3711:3716] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660291097.343034][3711:3716] CHIP:DMG: }, + [1660291097.343065][3711:3716] CHIP:DMG: + [1660291097.343090][3711:3716] CHIP:DMG: }, + [1660291097.343119][3711:3716] CHIP:DMG: + [1660291097.343143][3711:3716] CHIP:DMG: ], + [1660291097.343173][3711:3716] CHIP:DMG: + [1660291097.343197][3711:3716] CHIP:DMG: InteractionModelRevision = 1 + [1660291097.343220][3711:3716] CHIP:DMG: } + [1660291097.343295][3711:3716] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660291097.343331][3711:3716] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660291097.343393][3711:3716] CHIP:EM: Sending Standalone Ack for MessageCounter:120684625 on exchange 59940i + [1660291097.343488][3711:3716] CHIP:IN: Prepared secure message 0xffff7efdda58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 59940i with MessageCounter:235517444. + STEP17:./chip-tool generaldiagnostics test-event-trigger 0 0 1 0 + + [1660291187.760103][3720:3726] CHIP:DMG: { + [1660291187.760138][3720:3726] CHIP:DMG: suppressResponse = false, + [1660291187.760175][3720:3726] CHIP:DMG: InvokeResponseIBs = + [1660291187.760221][3720:3726] CHIP:DMG: [ + [1660291187.760256][3720:3726] CHIP:DMG: InvokeResponseIB = + [1660291187.760303][3720:3726] CHIP:DMG: { + [1660291187.760336][3720:3726] CHIP:DMG: CommandStatusIB = + [1660291187.760401][3720:3726] CHIP:DMG: { + [1660291187.760449][3720:3726] CHIP:DMG: CommandPathIB = + [1660291187.760497][3720:3726] CHIP:DMG: { + [1660291187.760557][3720:3726] CHIP:DMG: EndpointId = 0x0, + [1660291187.760613][3720:3726] CHIP:DMG: ClusterId = 0x33, + [1660291187.760675][3720:3726] CHIP:DMG: CommandId = 0x0, + [1660291187.760730][3720:3726] CHIP:DMG: }, + [1660291187.760876][3720:3726] CHIP:DMG: + [1660291187.760919][3720:3726] CHIP:DMG: StatusIB = + [1660291187.760987][3720:3726] CHIP:DMG: { + [1660291187.761041][3720:3726] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660291187.761091][3720:3726] CHIP:DMG: }, + [1660291187.761154][3720:3726] CHIP:DMG: + [1660291187.761197][3720:3726] CHIP:DMG: }, + [1660291187.761248][3720:3726] CHIP:DMG: + [1660291187.761286][3720:3726] CHIP:DMG: }, + [1660291187.761331][3720:3726] CHIP:DMG: + [1660291187.761365][3720:3726] CHIP:DMG: ], + [1660291187.761409][3720:3726] CHIP:DMG: + [1660291187.761447][3720:3726] CHIP:DMG: InteractionModelRevision = 1 + [1660291187.761481][3720:3726] CHIP:DMG: }, + [1660291187.761580][3720:3726] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0033 Command=0x00 + disabled: true + + - label: "Repeat step 8 to confirm that the TH still has view privileges" + verification: | + ./chip-tool basic read vendor-id 1 0 + On TH(Chiptool),Verify VendorID attribute from the Basic Information cluster + [1660306412.895825][2832:2837] CHIP:DMG: ReportDataMessage = + [1660306412.895851][2832:2837] CHIP:DMG: { + [1660306412.895871][2832:2837] CHIP:DMG: AttributeReportIBs = + [1660306412.895900][2832:2837] CHIP:DMG: [ + [1660306412.895923][2832:2837] CHIP:DMG: AttributeReportIB = + [1660306412.895955][2832:2837] CHIP:DMG: { + [1660306412.895983][2832:2837] CHIP:DMG: AttributeDataIB = + [1660306412.896010][2832:2837] CHIP:DMG: { + [1660306412.896037][2832:2837] CHIP:DMG: DataVersion = 0xf64e0e9a, + [1660306412.896066][2832:2837] CHIP:DMG: AttributePathIB = + [1660306412.896094][2832:2837] CHIP:DMG: { + [1660306412.896121][2832:2837] CHIP:DMG: Endpoint = 0x0, + [1660306412.896145][2832:2837] CHIP:DMG: Cluster = 0x28, + [1660306412.896176][2832:2837] CHIP:DMG: Attribute = 0x0000_0002, + [1660306412.896202][2832:2837] CHIP:DMG: } + [1660306412.896227][2832:2837] CHIP:DMG: + [1660306412.896257][2832:2837] CHIP:DMG: Data = 65521, + [1660306412.896281][2832:2837] CHIP:DMG: }, + [1660306412.896305][2832:2837] CHIP:DMG: + [1660306412.896326][2832:2837] CHIP:DMG: }, + [1660306412.896348][2832:2837] CHIP:DMG: + [1660306412.896368][2832:2837] CHIP:DMG: ], + [1660306412.896395][2832:2837] CHIP:DMG: + [1660306412.896417][2832:2837] CHIP:DMG: SuppressResponse = true, + [1660306412.896438][2832:2837] CHIP:DMG: InteractionModelRevision = 1 + [1660306412.896458][2832:2837] CHIP:DMG: } + [1660306412.896576][2832:2837] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0002 DataVersion: 4132310682 + [1660306412.896621][2832:2837] CHIP:TOO: VendorID: 65521 + [1660306412.896698][2832:2837] CHIP:EM: Sending Standalone Ack for MessageCounter:81985401 on exchange 9302i + [1660306412.896783][2832:2837] CHIP:IN: Prepared secure message 0xffff77ffd978 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 9302i with MessageCounter:231153708. + [1660306412.896820][2832:2837] CHIP:IN: Sending encrypted msg 0xffff77ffd978 with MessageCounter:231153708 to 0x0000000000000001 (1) at monotonic time: 00000000001C35FA msec + [1660306412.896942][2832:2837] CHIP:EM: Flushed pending ack for MessageCounter:81985401 on exchange 9302i + [1660306412.897167][2832:2832] CHIP:CTL: Shutting down the commissioner + [1660306412.897226][2832:2832] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1660306412.897320][2832:2832] CHIP:CTL: Shutting down the controller + [1660306412.897346][2832:2832] CHIP:IN: Expiring all sessions for fabric 0x1!! + [1660306412.897380][2832:2832] CHIP:IN: SecureSession[0xffff70001d70]: MarkForEviction Type:2 LSI + disabled: true + + - label: + "TH writes the ACL attribute with a list of AccessControlEntryStruct + entries containing a single element, granting Administer privilege on + only the Access Control cluster and no other access. 1.struct + Privilege field: Administer (5) AuthMode field: CASE (2) Subjects + field: [N1] Targets field: [{Cluster: 0x001F, Endpoint: 0}]" + verification: | + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": 31, "endpoint": 0, "deviceType": null }]}]' 1 0 + + 60291527.086023][3753:3758] CHIP:DMG: Cluster = 0x1f, + [1660291527.086060][3753:3758] CHIP:DMG: Attribute = 0x0000_0000, + [1660291527.086095][3753:3758] CHIP:DMG: } + [1660291527.086130][3753:3758] CHIP:DMG: + [1660291527.086160][3753:3758] CHIP:DMG: StatusIB = + [1660291527.086192][3753:3758] CHIP:DMG: { + [1660291527.086223][3753:3758] CHIP:DMG: status = 0x00 (SUCCESS), + [1660291527.086259][3753:3758] CHIP:DMG: }, + [1660291527.086290][3753:3758] CHIP:DMG: + [1660291527.086316][3753:3758] CHIP:DMG: }, + [1660291527.086352][3753:3758] CHIP:DMG: + [1660291527.086376][3753:3758] CHIP:DMG: AttributeStatusIB = + [1660291527.086402][3753:3758] CHIP:DMG: { + [1660291527.086427][3753:3758] CHIP:DMG: AttributePathIB = + [1660291527.086457][3753:3758] CHIP:DMG: { + [1660291527.086489][3753:3758] CHIP:DMG: Endpoint = 0x0, + [1660291527.086526][3753:3758] CHIP:DMG: Cluster = 0x1f, + [1660291527.086563][3753:3758] CHIP:DMG: Attribute = 0x0000_0000, + [1660291527.086599][3753:3758] CHIP:DMG: ListIndex = Null, + [1660291527.086634][3753:3758] CHIP:DMG: } + [1660291527.086668][3753:3758] CHIP:DMG: + [1660291527.086698][3753:3758] CHIP:DMG: StatusIB = + [1660291527.086729][3753:3758] CHIP:DMG: { + [1660291527.086760][3753:3758] CHIP:DMG: status = 0x00 (SUCCESS), + [1660291527.086794][3753:3758] CHIP:DMG: }, + [1660291527.086825][3753:3758] CHIP:DMG: + [1660291527.086850][3753:3758] CHIP:DMG: }, + [1660291527.086879][3753:3758] CHIP:DMG: + [1660291527.086903][3753:3758] CHIP:DMG: ], + [1660291527.086937][3753:3758] CHIP:DMG: + [1660291527.086961][3753:3758] CHIP:DMG: InteractionModelRevision = 1 + [1660291527.086984][3753:3758] CHIP:DMG: } + [1660291527.087087][3753:3758] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660291527.087158][3753:3758] CHIP:EM: Sending Standalone Ack for MessageCounter:90352268 on ex + disabled: true + + - label: + "Repeat steps 10 to 12 to confirm that TH still does not have + administer privileges" + verification: | + On TH(Chiptool),Verify it still does not have administer privileges by repeating steps 10,11,12 + + Step 10 : ./chip-tool operationalcredentials read nocs 1 0 + + + 73:3779] CHIP:DMG: { + [1660291809.030783][3773:3779] CHIP:DMG: AttributeReportIBs = + [1660291809.030815][3773:3779] CHIP:DMG: [ + [1660291809.030839][3773:3779] CHIP:DMG: AttributeReportIB = + [1660291809.030875][3773:3779] CHIP:DMG: { + [1660291809.030903][3773:3779] CHIP:DMG: AttributeStatusIB = + [1660291809.030942][3773:3779] CHIP:DMG: { + [1660291809.030973][3773:3779] CHIP:DMG: AttributePathIB = + [1660291809.031007][3773:3779] CHIP:DMG: { + [1660291809.031043][3773:3779] CHIP:DMG: Endpoint = 0x0, + [1660291809.031072][3773:3779] CHIP:DMG: Cluster = 0x3e, + [1660291809.031111][3773:3779] CHIP:DMG: Attribute = 0x0000_0000, + [1660291809.031142][3773:3779] CHIP:DMG: } + [1660291809.031178][3773:3779] CHIP:DMG: + [1660291809.031213][3773:3779] CHIP:DMG: StatusIB = + [1660291809.031252][3773:3779] CHIP:DMG: { + [1660291809.031287][3773:3779] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660291809.031326][3773:3779] CHIP:DMG: }, + [1660291809.031360][3773:3779] CHIP:DMG: + [1660291809.031390][3773:3779] CHIP:DMG: }, + [1660291809.031422][3773:3779] CHIP:DMG: + [1660291809.031451][3773:3779] CHIP:DMG: }, + [1660291809.031484][3773:3779] CHIP:DMG: + [1660291809.031509][3773:3779] CHIP:DMG: ], + [1660291809.031573][3773:3779] CHIP:DMG: + [1660291809.031600][3773:3779] CHIP:DMG: SuppressResponse = true, + [1660291809.031622][3773:3779] CHIP:DMG: InteractionModelRevision = 1 + [1660291809.031642][3773:3779] CHIP:DMG: } + [1660291809.031749][3773:3779] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + + + Step 11. ./chip-tool basic write location xx 1 0 + + 660291846.616184][3780:3785] CHIP:DMG: WriteResponseMessage = + [1660291846.616222][3780:3785] CHIP:DMG: { + [1660291846.616255][3780:3785] CHIP:DMG: AttributeStatusIBs = + [1660291846.616301][3780:3785] CHIP:DMG: [ + [1660291846.616337][3780:3785] CHIP:DMG: AttributeStatusIB = + [1660291846.616376][3780:3785] CHIP:DMG: { + [1660291846.616414][3780:3785] CHIP:DMG: AttributePathIB = + [1660291846.616463][3780:3785] CHIP:DMG: { + [1660291846.616506][3780:3785] CHIP:DMG: Endpoint = 0x0, + [1660291846.616566][3780:3785] CHIP:DMG: Cluster = 0x28, + [1660291846.616625][3780:3785] CHIP:DMG: Attribute = 0x0000_0006, + [1660291846.616663][3780:3785] CHIP:DMG: } + [1660291846.616712][3780:3785] CHIP:DMG: + [1660291846.616804][3780:3785] CHIP:DMG: StatusIB = + [1660291846.616858][3780:3785] CHIP:DMG: { + [1660291846.616905][3780:3785] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660291846.616951][3780:3785] CHIP:DMG: }, + [1660291846.616998][3780:3785] CHIP:DMG: + [1660291846.617077][3780:3785] CHIP:DMG: }, + [1660291846.617124][3780:3785] CHIP:DMG: + [1660291846.617160][3780:3785] CHIP:DMG: ], + [1660291846.617204][3780:3785] CHIP:DMG: + [1660291846.617239][3780:3785] CHIP:DMG: InteractionModelRevision = 1 + [1660291846.617274][3780:3785] CHIP:DMG: } + [1660291846.617373][3780:3785] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660291846.617418][3780:3785] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660291846.617488][3780:3785] CHIP:EM: Sending Standalone Ack for MessageCounter:202732516 on exchange 43960i + + + STEP12: ./chip-tool operationalcredentials update-fabric-label Testfabric 1 0 + 1660291887.232022][3789:3794] CHIP:DMG: InvokeResponseMessage = + [1660291887.232075][3789:3794] CHIP:DMG: { + [1660291887.232111][3789:3794] CHIP:DMG: suppressResponse = false, + [1660291887.232136][3789:3794] CHIP:DMG: InvokeResponseIBs = + [1660291887.232167][3789:3794] CHIP:DMG: [ + [1660291887.232209][3789:3794] CHIP:DMG: InvokeResponseIB = + [1660291887.232244][3789:3794] CHIP:DMG: { + [1660291887.232271][3789:3794] CHIP:DMG: CommandStatusIB = + [1660291887.232303][3789:3794] CHIP:DMG: { + [1660291887.232332][3789:3794] CHIP:DMG: CommandPathIB = + [1660291887.232363][3789:3794] CHIP:DMG: { + [1660291887.232395][3789:3794] CHIP:DMG: EndpointId = 0x0, + [1660291887.232434][3789:3794] CHIP:DMG: ClusterId = 0x3e, + [1660291887.232466][3789:3794] CHIP:DMG: CommandId = 0x9, + [1660291887.232502][3789:3794] CHIP:DMG: }, + [1660291887.232538][3789:3794] CHIP:DMG: + [1660291887.232568][3789:3794] CHIP:DMG: StatusIB = + [1660291887.232600][3789:3794] CHIP:DMG: { + [1660291887.232636][3789:3794] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660291887.232664][3789:3794] CHIP:DMG: }, + [1660291887.232700][3789:3794] CHIP:DMG: + [1660291887.232729][3789:3794] CHIP:DMG: }, + [1660291887.232762][3789:3794] CHIP:DMG: + [1660291887.232787][3789:3794] CHIP:DMG: }, + [1660291887.232817][3789:3794] CHIP:DMG: + [1660291887.232841][3789:3794] CHIP:DMG: ], + [1660291887.232871][3789:3794] CHIP:DMG: + [1660291887.232895][3789:3794] CHIP:DMG: InteractionModelRevision = 1 + [1660291887.232918][3789:3794] CHIP:DMG: }, + disabled: true + + - label: + "Repeat steps 16 to 17 to confirm that TH still does not have manage + privileges" + verification: | + On TH(Chiptool),Verify it still does not have manage privileges by repeating steps 16,17 + Step 16)./chip-tool basic write node-label TestNode 1 0 + + 1660292038.309440][3801:3806] CHIP:DMG: WriteClient moving to [ResponseRe] + [1660292038.309498][3801:3806] CHIP:DMG: WriteResponseMessage = + [1660292038.309533][3801:3806] CHIP:DMG: { + [1660292038.309561][3801:3806] CHIP:DMG: AttributeStatusIBs = + [1660292038.309600][3801:3806] CHIP:DMG: [ + [1660292038.309630][3801:3806] CHIP:DMG: AttributeStatusIB = + [1660292038.309670][3801:3806] CHIP:DMG: { + [1660292038.309698][3801:3806] CHIP:DMG: AttributePathIB = + [1660292038.309728][3801:3806] CHIP:DMG: { + [1660292038.309765][3801:3806] CHIP:DMG: Endpoint = 0x0, + [1660292038.309804][3801:3806] CHIP:DMG: Cluster = 0x28, + [1660292038.309837][3801:3806] CHIP:DMG: Attribute = 0x0000_0005, + [1660292038.309867][3801:3806] CHIP:DMG: } + [1660292038.309907][3801:3806] CHIP:DMG: + [1660292038.309944][3801:3806] CHIP:DMG: StatusIB = + [1660292038.309977][3801:3806] CHIP:DMG: { + [1660292038.310014][3801:3806] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660292038.310089][3801:3806] CHIP:DMG: }, + [1660292038.310129][3801:3806] CHIP:DMG: + [1660292038.310187][3801:3806] CHIP:DMG: }, + [1660292038.310226][3801:3806] CHIP:DMG: + [1660292038.310287][3801:3806] CHIP:DMG: ], + [1660292038.310319][3801:3806] CHIP:DMG: + [1660292038.310344][3801:3806] CHIP:DMG: InteractionModelRevision = 1 + [1660292038.310376][3801:3806] CHIP:DMG: } + [1660292038.310462][3801:3806] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1660292038.310543][3801:3806] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660292038.310612][3801:3806] CHIP:EM: Sending Standalone Ack for MessageCounter:226669508 on exchange 58794i + [1660292038.310697][3801:3806] CHIP:IN: Prepared secure message 0xffff7bffda58 to 0x0000000000000001 + Step 17)./chip-tool generaldiagnostics test-event-trigger 0 0 2 0 + 389.307724][5207:5212] CHIP:DMG: ICR moving to [ResponseRe] + [1659101389.307813][5207:5212] CHIP:DMG: InvokeResponseMessage = + [1659101389.307855][5207:5212] CHIP:DMG: { + [1659101389.307909][5207:5212] CHIP:DMG: suppressResponse = false, + [1659101389.307950][5207:5212] CHIP:DMG: InvokeResponseIBs = + [1659101389.308014][5207:5212] CHIP:DMG: [ + [1659101389.308055][5207:5212] CHIP:DMG: InvokeResponseIB = + [1659101389.308127][5207:5212] CHIP:DMG: { + [1659101389.308170][5207:5212] CHIP:DMG: CommandStatusIB = + [1659101389.308235][5207:5212] CHIP:DMG: { + [1659101389.308299][5207:5212] CHIP:DMG: CommandPathIB = + [1659101389.308353][5207:5212] CHIP:DMG: { + [1659101389.308423][5207:5212] CHIP:DMG: EndpointId = 0x0, + [1659101389.308481][5207:5212] CHIP:DMG: ClusterId = 0x33, + [1659101389.308537][5207:5212] CHIP:DMG: CommandId = 0x0, + [1659101389.308687][5207:5212] CHIP:DMG: }, + [1659101389.308752][5207:5212] CHIP:DMG: + [1659101389.308802][5207:5212] CHIP:DMG: StatusIB = + [1659101389.308856][5207:5212] CHIP:DMG: { + [1659101389.308909][5207:5212] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1659101389.308964][5207:5212] CHIP:DMG: }, + [1659101389.309019][5207:5212] CHIP:DMG: + [1659101389.309071][5207:5212] CHIP:DMG: }, + [1659101389.309131][5207:5212] CHIP:DMG: + [1659101389.309175][5207:5212] CHIP:DMG: }, + [1659101389.309225][5207:5212] CHIP:DMG: + [1659101389.309264][5207:5212] CHIP:DMG: ], + [1659101389.309348][5207:5212] CHIP:DMG: + [1659101389.309391][5207:5212] CHIP:DMG: InteractionModelRevision = 1 + [1659101389.309430][5207:5212] CHIP:DMG: }, + [1659101389.309523][5207:5212] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0033 Command=0x0000_0000 Status=0x7e + [1659101389.309575][5207:5212] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1659101389.309633][5207:5212] CHIP:DMG: ICR moving to [AwaitingDe] + [1659101389.309714][5207:5212] CHIP:EM: Sending Standalone Ack for MessageCounter:195445348 on exchange 13430i + [1659101389.309813][5207:5212] CHIP:IN: Prepared secure message 0xffffb27cd9e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 13430i with MessageCounter:127089642. + + STEP17: + ./chip-tool generaldiagnostics test-event-trigger 0 0 1 0 + 60292089.204136][3809:3814] CHIP:DMG: InvokeResponseMessage = + [1660292089.204173][3809:3814] CHIP:DMG: { + [1660292089.204209][3809:3814] CHIP:DMG: suppressResponse = false, + [1660292089.204246][3809:3814] CHIP:DMG: InvokeResponseIBs = + [1660292089.204291][3809:3814] CHIP:DMG: [ + [1660292089.204329][3809:3814] CHIP:DMG: InvokeResponseIB = + [1660292089.204383][3809:3814] CHIP:DMG: { + [1660292089.204426][3809:3814] CHIP:DMG: CommandStatusIB = + [1660292089.204480][3809:3814] CHIP:DMG: { + [1660292089.204516][3809:3814] CHIP:DMG: CommandPathIB = + [1660292089.204572][3809:3814] CHIP:DMG: { + [1660292089.204621][3809:3814] CHIP:DMG: EndpointId = 0x0, + [1660292089.204680][3809:3814] CHIP:DMG: ClusterId = 0x33, + [1660292089.204728][3809:3814] CHIP:DMG: CommandId = 0x0, + [1660292089.204782][3809:3814] CHIP:DMG: }, + [1660292089.204842][3809:3814] CHIP:DMG: + [1660292089.204887][3809:3814] CHIP:DMG: StatusIB = + [1660292089.204944][3809:3814] CHIP:DMG: { + [1660292089.205038][3809:3814] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660292089.205081][3809:3814] CHIP:DMG: }, + [1660292089.205136][3809:3814] CHIP:DMG: + [1660292089.205175][3809:3814] CHIP:DMG: }, + [1660292089.205233][3809:3814] CHIP:DMG: + [1660292089.205406][3809:3814] CHIP:DMG: }, + [1660292089.205466][3809:3814] CHIP:DMG: + [1660292089.205501][3809:3814] CHIP:DMG: ], + [1660292089.205548][3809:3814] CHIP:DMG: + [1660292089.205624][3809:3814] CHIP:DMG: InteractionModelRevision = 1 + [1660292089.205660][3809:3814] CHIP:DMG: }, + disabled: true + + - label: + "TH reads the VendorID attribute from the Basic Information cluster + (requires view privilege)" + verification: | + On TH(Chiptool),Verify VendorID attribute from the Basic Information cluster (requires view privilege) Returns UNSUPPORTED_ACCESS (0x7e) + + ./chip-tool basic read vendor-id 1 0 + + :3827] CHIP:DMG: [ + [1660292225.412956][3822:3827] CHIP:DMG: AttributeReportIB = + [1660292225.413008][3822:3827] CHIP:DMG: { + [1660292225.413053][3822:3827] CHIP:DMG: AttributeStatusIB = + [1660292225.413102][3822:3827] CHIP:DMG: { + [1660292225.413155][3822:3827] CHIP:DMG: AttributePathIB = + [1660292225.413215][3822:3827] CHIP:DMG: { + [1660292225.413269][3822:3827] CHIP:DMG: Endpoint = 0x0, + [1660292225.413324][3822:3827] CHIP:DMG: Cluster = 0x28, + [1660292225.413370][3822:3827] CHIP:DMG: Attribute = 0x0000_0002, + [1660292225.413412][3822:3827] CHIP:DMG: } + [1660292225.413461][3822:3827] CHIP:DMG: + [1660292225.413504][3822:3827] CHIP:DMG: StatusIB = + [1660292225.413554][3822:3827] CHIP:DMG: { + [1660292225.413597][3822:3827] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1660292225.413641][3822:3827] CHIP:DMG: }, + [1660292225.413687][3822:3827] CHIP:DMG: + [1660292225.413743][3822:3827] CHIP:DMG: }, + [1660292225.413798][3822:3827] CHIP:DMG: + [1660292225.413842][3822:3827] CHIP:DMG: }, + [1660292225.413893][3822:3827] CHIP:DMG: + [1660292225.413934][3822:3827] CHIP:DMG: ], + [1660292225.413983][3822:3827] CHIP:DMG: + [1660292225.414025][3822:3827] CHIP:DMG: SuppressResponse = true, + [1660292225.414062][3822:3827] CHIP:DMG: InteractionModelRevision = 1 + [1660292225.414095][3822:3827] CHIP:DMG: } + [1660292225.414248][3822:3827] CHIP:TOO: Response Failure: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS) + [1660292225.414362][3822:3827] CHIP:EM: Sending Standalone Ack for MessageCounter:17517037 on exchange 61692i + [1660292225.414465][3822:3827] CHIP:IN: Prepared secure message 0xffff92fdda58 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 61692i with MessageCounter:88180816. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml b/src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml new file mode 100644 index 00000000000000..2617632cfbb62c --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml @@ -0,0 +1,2363 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 42.1.2. [TC-ACE-1.2] Subscriptions - REMOVED + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Note" + verification: | + Please use Interactive mode to Verify subscription test cases + Here the command to enter interactive mode:-- ./chip-tool interactive start + disabled: true + + - label: "Pre-conditions" + verification: | + N1 is the node ID of TH1 + disabled: true + + - label: "TH1 commissions DUT" + verification: | + DUT side: + sudo ./chip-all-clusters-app + + TH side: + ./chip-tool pairing ethernet 1 20202021 chiip5 matter123 3840 5540 + + [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success + disabled: true + + - label: + "TH1 writes AccessControl cluster ACL attribute, value is a list of + AccessControlEntryStruct containing 1 element: struct Privilege field: + Administer (5) AuthMode field: CASE (2) Subjects field: [N1, N2] + Targets field: [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + On TH(Chiptool)1,Verify successfully ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659508250.468539][10228:10233] CHIP:EM: Removed CHIP MessageCounter:188603873 from RetransTable on exchange 14900i + [1659508250.468582][10228:10233] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659508250.468646][10228:10233] CHIP:DMG: WriteResponseMessage = + [1659508250.468679][10228:10233] CHIP:DMG: { + [1659508250.468706][10228:10233] CHIP:DMG: AttributeStatusIBs = + [1659508250.468745][10228:10233] CHIP:DMG: [ + [1659508250.468775][10228:10233] CHIP:DMG: AttributeStatusIB = + [1659508250.468809][10228:10233] CHIP:DMG: { + [1659508250.468841][10228:10233] CHIP:DMG: AttributePathIB = + [1659508250.468881][10228:10233] CHIP:DMG: { + [1659508250.468922][10228:10233] CHIP:DMG: Endpoint = 0x0, + [1659508250.468964][10228:10233] CHIP:DMG: Cluster = 0x1f, + [1659508250.469005][10228:10233] CHIP:DMG: Attribute = 0x0000_0000, + [1659508250.469044][10228:10233] CHIP:DMG: } + [1659508250.469087][10228:10233] CHIP:DMG: + [1659508250.469124][10228:10233] CHIP:DMG: StatusIB = + [1659508250.469163][10228:10233] CHIP:DMG: { + [1659508250.469202][10228:10233] CHIP:DMG: status = 0x00 (SUCCESS), + [1659508250.469240][10228:10233] CHIP:DMG: }, + [1659508250.469279][10228:10233] CHIP:DMG: + [1659508250.469310][10228:10233] CHIP:DMG: }, + [1659508250.469354][10228:10233] CHIP:DMG: + [1659508250.469384][10228:10233] CHIP:DMG: AttributeStatusIB = + [1659508250.469417][10228:10233] CHIP:DMG: { + [1659508250.469448][10228:10233] CHIP:DMG: AttributePathIB = + [1659508250.469485][10228:10233] CHIP:DMG: { + [1659508250.469523][10228:10233] CHIP:DMG: Endpoint = 0x0, + [1659508250.469564][10228:10233] CHIP:DMG: Cluster = 0x1f, + [1659508250.469604][10228:10233] CHIP:DMG: Attribute = 0x0000_0000, + [1659508250.469644][10228:10233] CHIP:DMG: ListIndex = Null, + [1659508250.469682][10228:10233] CHIP:DMG: } + [1659508250.469723][10228:10233] CHIP:DMG: + [1659508250.469759][10228:10233] CHIP:DMG: StatusIB = + [1659508250.469796][10228:10233] CHIP:DMG: { + [1659508250.469834][10228:10233] CHIP:DMG: status = 0x00 (SUCCESS), + [1659508250.469873][10228:10233] CHIP:DMG: }, + [1659508250.469912][10228:10233] CHIP:DMG: + [1659508250.469943][10228:10233] CHIP:DMG: }, + [1659508250.469979][10228:10233] CHIP:DMG: + [1659508250.470007][10228:10233] CHIP:DMG: ], + [1659508250.470048][10228:10233] CHIP:DMG: + [1659508250.470077][10228:10233] CHIP:DMG: InteractionModelRevision = 1 + [1659508250.470105][10228:10233] CHIP:DMG: } + [1659508250.470228][10228:10233] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659508250.470299][10228:10233] CHIP:EM: Sending Standalone Ack for MessageCounter:48929405 on exchange 14900i + [1659508250.470380][10228:10233] CHIP:IN: Prepared secure message 0xffff994999e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 14900i with MessageCounter:188603874. + [1659508250.470426][10228:10233] CHIP:IN: Sending encrypted msg 0xffff994999e8 with MessageCounter:188603874 to 0x0000000000000001 (1) at monotonic time: 000000000598DDBE msec + [1659508250.470575][10228:10233] CHIP:EM: Flushed pending ack for MessageCounter:48929405 on exchange 14900i + [1659508250.470779][10228:10228] CHIP:CTL: Shutting down the commissioner + [1659508250.470818][10228:10228] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1659508250.470842][10228:10228] CHIP:CTL: Shutting down the controller + [1659508250.470874][10228:10228] CHIP:IN: Expiring all sessions for fabric 0x1!! + [1659508250.470904][10228:10228] CHIP:IN: SecureSession[0xffff84001930]: MarkForEviction Type:2 LSID:16459 + [1659508250.470931][10228:10228] CHIP:SC: SecureSession[0xffff84001930]: Moving from state "kActive" --> "kPendingEviction" + [1659508250.470959][10228:10228] CHIP:IN: SecureSession[0xffff84001930]: Released - Type:2 LSID:16459 + [1659508250.470990][10228:10228] CHIP:FP: Forgetting fabric 0x1 + [1659508250.471029][10228:10228] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35 + [1659508250.471248][10228:10228] CHIP:TS: Previous Last Known Good Time: 2022-08-01T09:44:35 + [1659508250.471279][10228:10228] CHIP:TS: Reverted Last Known Good Time to previous value + [1659508250.471327][10228:10228] CHIP:CTL: Shutting down the commissioner + disabled: true + + - label: + "TH2 subscribes to the Node Operational Credentials cluster NOCs + attribute, min interval 1, max interval 30, keep subscriptions false, + fabric-filtered false." + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + On TH(Chiptool)2,Verify TH subscribes to the Node Operational Credentials cluster NOCs attribute, min interval 1, max interval 30, keep subscriptions false, fabric-filtered false and save SubscriptionId as subscription_noc + [1659598415.554714][3022:3027] CHIP:DMG: ReportDataMessage = + [1659598415.554746][3022:3027] CHIP:DMG: { + [1659598415.554771][3022:3027] CHIP:DMG: SubscriptionId = 0x692ae42d, + [1659598415.554821][3022:3027] CHIP:DMG: AttributeReportIBs = + [1659598415.554857][3022:3027] CHIP:DMG: [ + [1659598415.554883][3022:3027] CHIP:DMG: AttributeReportIB = + [1659598415.554920][3022:3027] CHIP:DMG: { + [1659598415.554948][3022:3027] CHIP:DMG: AttributeDataIB = + [1659598415.554981][3022:3027] CHIP:DMG: { + [1659598415.555012][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57, + [1659598415.555045][3022:3027] CHIP:DMG: AttributePathIB = + [1659598415.555076][3022:3027] CHIP:DMG: { + [1659598415.555111][3022:3027] CHIP:DMG: Endpoint = 0x0, + [1659598415.555146][3022:3027] CHIP:DMG: Cluster = 0x3e, + [1659598415.555182][3022:3027] CHIP:DMG: Attribute = 0x0000_0000, + [1659598415.555215][3022:3027] CHIP:DMG: } + [1659598415.555251][3022:3027] CHIP:DMG: + [1659598415.555284][3022:3027] CHIP:DMG: Data = [ + [1659598415.555317][3022:3027] CHIP:DMG: + [1659598415.555352][3022:3027] CHIP:DMG: ], + [1659598415.555380][3022:3027] CHIP:DMG: }, + [1659598415.555415][3022:3027] CHIP:DMG: + [1659598415.555441][3022:3027] CHIP:DMG: }, + [1659598415.555481][3022:3027] CHIP:DMG: + [1659598415.555507][3022:3027] CHIP:DMG: AttributeReportIB = + [1659598415.555542][3022:3027] CHIP:DMG: { + [1659598415.555570][3022:3027] CHIP:DMG: AttributeDataIB = + [1659598415.555630][3022:3027] CHIP:DMG: { + [1659598415.555667][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57, + [1659598415.555696][3022:3027] CHIP:DMG: AttributePathIB = + [1659598415.555729][3022:3027] CHIP:DMG: { + [1659598415.555763][3022:3027] CHIP:DMG: Endpoint = 0x0, + [1659598415.555799][3022:3027] CHIP:DMG: Cluster = 0x3e, + [1659598415.555834][3022:3027] CHIP:DMG: Attribute = 0x0000_0000, + [1659598415.555868][3022:3027] CHIP:DMG: ListIndex = Null, + [1659598415.555901][3022:3027] CHIP:DMG: } + [1659598415.555936][3022:3027] CHIP:DMG: + [1659598415.555968][3022:3027] CHIP:DMG: Data = + [1659598415.556026][3022:3027] CHIP:DMG: { + [1659598415.556065][3022:3027] CHIP:DMG: 0xfe = 1, + [1659598415.556100][3022:3027] CHIP:DMG: }, + [1659598415.556128][3022:3027] CHIP:DMG: }, + [1659598415.556163][3022:3027] CHIP:DMG: + [1659598415.556189][3022:3027] CHIP:DMG: }, + [1659598415.556228][3022:3027] CHIP:DMG: + [1659598415.556253][3022:3027] CHIP:DMG: AttributeReportIB = + [1659598415.556286][3022:3027] CHIP:DMG: { + [1659598415.556312][3022:3027] CHIP:DMG: AttributeDataIB = + [1659598415.556343][3022:3027] CHIP:DMG: { + [1659598415.556376][3022:3027] CHIP:DMG: DataVersion = 0xc0e77b57, + [1659598415.556407][3022:3027] CHIP:DMG: AttributePathIB = + [1659598415.556439][3022:3027] CHIP:DMG: { + [1659598415.556472][3022:3027] CHIP:DMG: Endpoint = 0x0, + [1659598415.556507][3022:3027] CHIP:DMG: Cluster = 0x3e, + [1659598415.556542][3022:3027] CHIP:DMG: Attribute = 0x0000_0000, + [1659598415.556576][3022:3027] CHIP:DMG: ListIndex = Null, + [1659598415.556640][3022:3027] CHIP:DMG: } + [1659598415.556678][3022:3027] CHIP:DMG: + [1659598415.556713][3022:3027] CHIP:DMG: Data = + [1659598415.556746][3022:3027] CHIP:DMG: { + [1659598415.556781][3022:3027] CHIP:DMG: 0x1 = [ + [1659598415.556889][3022:3027] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x1, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x13, 0x1, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x15, 0x1, 0x24, 0x11, 0x2, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0x8f, 0x5c, 0x62, 0xe1, 0x1e, 0xbe, 0x31, 0xab, 0xc3, 0xaa, 0x8, 0x98, 0x87, 0xc9, 0x26, 0x99, 0x98, 0x9a, 0xa2, 0x7c, 0xa, 0xfa, 0xa, 0xb1, 0x44, 0x6f, 0x5e, 0x78, 0x26, 0x74, 0xb1, 0x2a, 0xfe, 0x16, 0xc5, 0x7c, 0x24, 0x14, 0xce, 0x0, 0xb6, 0xe0, 0xdc, 0x96, 0x91, 0x60, 0x8c, 0xd2, 0xdb, 0xca, 0x9f, 0x8f, 0x2d, 0x7, 0xcd, 0x89, 0x9, 0xbb, 0xe3, 0x9a, 0x22, 0x57, 0xb6, 0x3e, 0x37, 0xa, 0x35, 0x1, 0x28, 0x1, 0x18, 0x24, 0x2, 0x1, 0x36, 0x3, 0x4, 0x2, 0x4, 0x1, 0x18, 0x30, 0x4, 0x14, 0xe1, 0x31, 0xf4, 0x95, 0xda, 0x55, 0x40, 0x59, 0xd4, 0xb4, 0x6d, 0x62, 0xbf, 0x7e, 0xab, 0xef, 0x88, 0x3c, 0x84, 0x3, 0x30, 0x5, 0x14, 0xc7, 0xe9, 0x58, 0xd6, 0x86, 0xe, 0x58, 0xeb, 0xff, 0xc5, 0x3, 0x75, 0x69, 0x5f, 0xa1, 0xd, 0x8d, 0x1f, 0x7b, 0xa5, 0x18, 0x30, 0xb, 0x40, 0x89, 0x44, 0xb0, 0x49, 0x79, 0x3f, 0x7, 0x29, 0xe5, 0xd9, 0xee, 0xeb, 0x6f, 0x18, 0xcf, 0x20, 0xb5, 0x63, 0x97, 0xef, 0xb4, 0x2, 0xc2, 0x73, 0xba, 0x17, 0xbe, 0x9, 0xcc, 0xcd, 0x4d, 0xd0, 0x6d, 0x6d, 0xd, 0x33, 0xf, 0xd7, 0xe9, 0x15, 0x16, 0x82, 0x79, 0x3d, 0x69, 0x38, 0x3d, 0x82, 0xbd, 0x7f, 0x17, 0x22, 0x1b, 0xc3, 0xf6, 0xc7, 0xe6, 0x8, 0x4c, 0x7b, 0xab, 0x39, 0x5c, 0xa0, 0x18, + [1659598415.556962][3022:3027] CHIP:DMG: ] (241 bytes) + [1659598415.557011][3022:3027] CHIP:DMG: 0x2 = [ + [1659598415.557121][3022:3027] CHIP:DMG: 0x15, 0x30, 0x1, 0x1, 0x0, 0x24, 0x2, 0x1, 0x37, 0x3, 0x24, 0x14, 0x0, 0x18, 0x26, 0x4, 0x80, 0x22, 0x81, 0x27, 0x26, 0x5, 0x80, 0x25, 0x4d, 0x3a, 0x37, 0x6, 0x24, 0x13, 0x1, 0x18, 0x24, 0x7, 0x1, 0x24, 0x8, 0x1, 0x30, 0x9, 0x41, 0x4, 0xb2, 0x61, 0xc9, 0x38, 0xb9, 0x32, 0x73, 0xcc, 0x48, 0x95, 0x79, 0x1, 0x93, 0xd5, 0xa1, 0x54, 0x52, 0x9a, 0x3, 0x9d, 0x23, 0xe5, 0x52, 0x26, 0x3b, 0x7a, 0xa9, 0x4a, 0x8f, 0x34, 0x44, 0x81, 0x30, 0xe7, 0xa4, 0xc8, 0x8e, 0xe7, 0x1a, 0xe2, 0x91, 0xbb, 0xc6, 0x89, 0xe9, 0xb7, 0xd1, 0xf8, 0xc8, 0x1f, 0xe3, 0xfe, 0x8c, 0x5d, 0xad, 0xff, 0x98, 0x66, 0x5d, 0xbf, 0x57, 0xd0, 0x73, 0x9e, 0x37, 0xa, 0x35, 0x1, 0x29, 0x1, 0x18, 0x24, 0x2, 0x60, 0x30, 0x4, 0x14, 0xc7, 0xe9, 0x58, 0xd6, 0x86, 0xe, 0x58, 0xeb, 0xff, 0xc5, 0x3, 0x75, 0x69, 0x5f, 0xa1, 0xd, 0x8d, 0x1f, 0x7b, 0xa5, 0x30, 0x5, 0x14, 0xf6, 0xef, 0x1d, 0x69, 0xa5, 0xf7, 0x79, 0x7d, 0x53, 0x4a, 0xb6, 0x55, 0xe8, 0xe8, 0xbf, 0xa3, 0x90, 0xcb, 0x56, 0x20, 0x18, 0x30, 0xb, 0x40, 0xf2, 0xb2, 0xe6, 0xa0, 0xc2, 0xf, 0x81, 0x9d, 0xaa, 0x4d, 0xa6, 0xc5, 0xc9, 0x4b, 0x1f, 0x63, 0x68, 0x6c, 0x3e, 0x11, 0xbe, 0xd7, 0xfe, 0xf4, 0xe3, 0x56, 0x43, 0xe7, 0x95, 0xff, 0xa3, 0xae, 0xe4, 0x33, 0x3a, 0xd7, 0x26, 0xee, 0x1e, 0xc4, 0x92, 0xa2, 0x9a, 0x45, 0x62, 0x8e, 0xe9, 0x5d, 0x88, 0xcc, 0xba, 0xb0, 0x78, 0x6, 0xb, 0xfd, 0x56, 0x5c, 0xa5, 0x22, 0x98, 0xa9, 0xb0, 0xaf, 0x18, + [1659598415.557195][3022:3027] CHIP:DMG: ] (231 bytes) + [1659598415.557234][3022:3027] CHIP:DMG: 0xfe = 2, + [1659598415.557268][3022:3027] CHIP:DMG: }, + [1659598415.557299][3022:3027] CHIP:DMG: }, + [1659598415.557335][3022:3027] CHIP:DMG: + [1659598415.557361][3022:3027] CHIP:DMG: }, + [1659598415.557393][3022:3027] CHIP:DMG: + [1659598415.557417][3022:3027] CHIP:DMG: ], + [1659598415.557458][3022:3027] CHIP:DMG: + [1659598415.557482][3022:3027] CHIP:DMG: InteractionModelRevision = 1 + [1659598415.557505][3022:3027] CHIP:DMG: } + [1659598415.557850][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 3236395863 + [1659598415.560482][3022:3027] CHIP:TOO: NOCs: 2 entries + [1659598415.560556][3022:3027] CHIP:TOO: [1]: { + [1659598415.560586][3022:3027] CHIP:TOO: Noc: + [1659598415.562570][3022:3027] CHIP:TOO: Icac: null + [1659598415.562663][3022:3027] CHIP:TOO: FabricIndex: 1 + [1659598415.562690][3022:3027] CHIP:TOO: } + [1659598415.562741][3022:3027] CHIP:TOO: [2]: { + [1659598415.562781][3022:3027] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A370624150124110218240701240801300941048F5C62E11EBE31ABC3AA089887C92699989AA27C0AFA0AB1446F5E782674B12AFE16C57C2414CE00B6E0DC9691608CD2DBCA9F8F2D07CD8909BBE39A2257B63E370A350128011824020136030402040118300414E131F495DA554059D4B46D62BF7EABEF883C8403300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B408944B049793F0729E5D9EEEB6F18CF20B56397EFB402C273BA17BE09CCCD4DD06D6D0D330FD7E9151682793D69383D82BD7F17221BC3F6C7E6084C7BAB395CA018 + [1659598415.562823][3022:3027] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659598415.562851][3022:3027] CHIP:TOO: FabricIndex: 2 + [1659598415.562875][3022:3027] CHIP:TOO: } + [1659598415.562929][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008e40]: Moving to [AwaitingSu] + [1659598415.563006][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708623 on exchange: 29451i + [1659598415.563092][3022:3027] CHIP:IN: Prepared secure message 0xffff8c005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29451i with MessageCounter:125509363. + [1659598415.563139][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c005878 with MessageCounter:125509363 to 0x0000000000000002 (1) at monotonic time: 0000000000820B0B msec + [1659598415.565134][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708624 on exchange 29451i + [1659598415.565183][3022:3027] CHIP:EM: Found matching exchange: 29451i, Delegate: 0xffff8c008e40 + [1659598415.565222][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509363 from Retrans Table on exchange 29451i + [1659598415.565249][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509363 from RetransTable on exchange 29451i + [1659598415.565301][3022:3027] CHIP:DMG: SubscribeResponseMessage = + [1659598415.565330][3022:3027] CHIP:DMG: { + [1659598415.565355][3022:3027] CHIP:DMG: SubscriptionId = 0x692ae42d, + [1659598415.565388][3022:3027] CHIP:DMG: MaxInterval = 0x1e, + [1659598415.565414][3022:3027] CHIP:DMG: InteractionModelRevision = 1 + [1659598415.565438][3022:3027] CHIP:DMG: } + [1659598415.565467][3022:3027] CHIP:DMG: Subscription established with SubscriptionID = 0x692ae42d MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002 + [1659598415.565496][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008e40]: Moving to [Subscripti] + [1659598415.565552][3022:3027] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0x692ae42d Peer = 01:0000000000000002 + [1659598415.565587][3022:3027] CHIP:EM: Sending Standalone Ack for MessageCounter:207708624 on exchange 29451i + [1659598415.565652][3022:3027] CHIP:IN: Prepared secure message 0xffffa0dbb9e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 29451i with MessageCounter:125509364. + [1659598415.565690][3022:3027] CHIP:IN: Sending encrypted msg 0xffffa0dbb9e8 with MessageCounter:125509364 to 0x0000000000000002 (1) at monotonic time: 0000000000820B0E msec + [1659598415.565811][3022:3027] CHIP:EM: Flushed pending ack for MessageCounter:207708624 on exchange 29451i + disabled: true + + - label: + "TH2 subscribes to the Access Control cluster + AccessControlEntryChanged event, min interval 1, max interval 30, keep + subscriptions true" + verification: | + Pls run this test in chip tool interactive mode ./chip-tool interactive start + + accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify TH subscribes to the Access Control cluster AccessControlEntryChanged event, min interval 1, max interval 30, keep subscriptions true and save SubscriptionId as subscription_ace + + + [1659598469.304212][3022:3027] CHIP:EM: Found matching exchange: 29452i, Delegate: 0xffff8c008f30 + [1659598469.304246][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509366 from Retrans Table on exchange 29452i + [1659598469.304271][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509366 from RetransTable on exchange 29452i + [1659598469.304334][3022:3027] CHIP:DMG: ReportDataMessage = + [1659598469.304362][3022:3027] CHIP:DMG: { + [1659598469.304386][3022:3027] CHIP:DMG: SubscriptionId = 0xe15e6f41, + [1659598469.304411][3022:3027] CHIP:DMG: EventReportIBs = + [1659598469.304447][3022:3027] CHIP:DMG: [ + [1659598469.304471][3022:3027] CHIP:DMG: EventReportIB = + [1659598469.304509][3022:3027] CHIP:DMG: { + [1659598469.304534][3022:3027] CHIP:DMG: EventDataIB = + [1659598469.304566][3022:3027] CHIP:DMG: { + [1659598469.304595][3022:3027] CHIP:DMG: EventPath = + [1659598469.304626][3022:3027] CHIP:DMG: { + [1659598469.304657][3022:3027] CHIP:DMG: Endpoint = 0x0, + [1659598469.304692][3022:3027] CHIP:DMG: Cluster = 0x1f, + [1659598469.304726][3022:3027] CHIP:DMG: Event = 0x0, + [1659598469.304758][3022:3027] CHIP:DMG: }, + [1659598469.304792][3022:3027] CHIP:DMG: + [1659598469.304824][3022:3027] CHIP:DMG: EventNumber = 0x4, + [1659598469.304857][3022:3027] CHIP:DMG: PriorityLevel = 0x1, + [1659598469.304891][3022:3027] CHIP:DMG: SystemTimestamp = 0x814318, + [1659598469.304920][3022:3027] CHIP:DMG: EventData = + [1659598469.304952][3022:3027] CHIP:DMG: { + [1659598469.304983][3022:3027] CHIP:DMG: 0x1 = NULL + [1659598469.305018][3022:3027] CHIP:DMG: 0x2 = 0, + [1659598469.305049][3022:3027] CHIP:DMG: 0x3 = 1, + [1659598469.305082][3022:3027] CHIP:DMG: 0x4 = + [1659598469.305117][3022:3027] CHIP:DMG: { + [1659598469.305152][3022:3027] CHIP:DMG: 0x1 = 5, + [1659598469.305190][3022:3027] CHIP:DMG: 0x2 = 2, + [1659598469.305225][3022:3027] CHIP:DMG: 0x3 = [ + [1659598469.305287][3022:3027] CHIP:DMG: 112233, + [1659598469.305329][3022:3027] CHIP:DMG: ], + [1659598469.305366][3022:3027] CHIP:DMG: 0x4 = NULL + [1659598469.305405][3022:3027] CHIP:DMG: 0xfe = 2, + [1659598469.305442][3022:3027] CHIP:DMG: }, + [1659598469.305477][3022:3027] CHIP:DMG: 0xfe = 2, + [1659598469.305510][3022:3027] CHIP:DMG: }, + [1659598469.305541][3022:3027] CHIP:DMG: }, + [1659598469.305579][3022:3027] CHIP:DMG: + [1659598469.305605][3022:3027] CHIP:DMG: }, + [1659598469.305640][3022:3027] CHIP:DMG: + [1659598469.305663][3022:3027] CHIP:DMG: ], + [1659598469.305698][3022:3027] CHIP:DMG: + [1659598469.305722][3022:3027] CHIP:DMG: InteractionModelRevision = 1 + [1659598469.305745][3022:3027] CHIP:DMG: } + [1659598469.305889][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1659598469.305914][3022:3027] CHIP:TOO: Event number: 4 + [1659598469.305937][3022:3027] CHIP:TOO: Priority: Info + [1659598469.305958][3022:3027] CHIP:TOO: Timestamp: 8471320 + [1659598469.306037][3022:3027] CHIP:TOO: AccessControlEntryChanged: { + [1659598469.306065][3022:3027] CHIP:TOO: AdminNodeID: null + [1659598469.306092][3022:3027] CHIP:TOO: AdminPasscodeID: 0 + [1659598469.306115][3022:3027] CHIP:TOO: ChangeType: 1 + [1659598469.306138][3022:3027] CHIP:TOO: LatestValue: { + [1659598469.306161][3022:3027] CHIP:TOO: Privilege: 5 + [1659598469.306183][3022:3027] CHIP:TOO: AuthMode: 2 + [1659598469.306211][3022:3027] CHIP:TOO: Subjects: 1 entries + [1659598469.306241][3022:3027] CHIP:TOO: [1]: 112233 + [1659598469.306267][3022:3027] CHIP:TOO: Targets: null + [1659598469.306290][3022:3027] CHIP:TOO: FabricIndex: 2 + [1659598469.306312][3022:3027] CHIP:TOO: } + [1659598469.306334][3022:3027] CHIP:TOO: AdminFabricIndex: 2 + [1659598469.306356][3022:3027] CHIP:TOO: } + [1659598469.306416][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008f30]: Moving to [AwaitingSu] + [1659598469.306469][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708627 on exchange: 29452i + [1659598469.306528][3022:3027] CHIP:IN: Prepared secure message 0xffff8c002428 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29452i with MessageCounter:125509367. + [1659598469.306564][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c002428 with MessageCounter:125509367 to 0x0000000000000002 (1) at monotonic time: 000000000082DCFA msec + [1659598469.307715][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708628 on exchange 29452i + [1659598469.307746][3022:3027] CHIP:EM: Found matching exchange: 29452i, Delegate: 0xffff8c008f30 + [1659598469.307776][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509367 from Retrans Table on exchange 29452i + [1659598469.307800][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509367 from RetransTable on exchange 29452i + [1659598469.307841][3022:3027] CHIP:DMG: SubscribeResponseMessage = + disabled: true + + - label: + "TH2 subscribes to the General Commissioning cluster Breadcrumb + attribute, min interval 1, max interval 30, keep subscriptions true" + verification: | + Pls run this test in chip tool interactive mode ./chip-tool interactive start + generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify TH subscribes to the General Commissioning cluster Breadcrumb attribute, min interval 1, max interval 30, keep subscriptions true and save SubscriptionId as subscription_breadcrumb + + 1659598523.725570][3022:3027] CHIP:EM: Found matching exchange: 29453i, Delegate: 0xffff8c008c80 + [1659598523.725650][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509372 from Retrans Table on exchange 29453i + [1659598523.725713][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509372 from RetransTable on exchange 29453i + [1659598523.725833][3022:3027] CHIP:DMG: ReportDataMessage = + [1659598523.725902][3022:3027] CHIP:DMG: { + [1659598523.725962][3022:3027] CHIP:DMG: SubscriptionId = 0x81fefffb, + [1659598523.726025][3022:3027] CHIP:DMG: AttributeReportIBs = + [1659598523.726115][3022:3027] CHIP:DMG: [ + [1659598523.726177][3022:3027] CHIP:DMG: AttributeReportIB = + [1659598523.726258][3022:3027] CHIP:DMG: { + [1659598523.726327][3022:3027] CHIP:DMG: AttributeDataIB = + [1659598523.726411][3022:3027] CHIP:DMG: { + [1659598523.726494][3022:3027] CHIP:DMG: DataVersion = 0x15d70b72, + [1659598523.726572][3022:3027] CHIP:DMG: AttributePathIB = + [1659598523.726662][3022:3027] CHIP:DMG: { + [1659598523.726754][3022:3027] CHIP:DMG: Endpoint = 0x0, + [1659598523.726849][3022:3027] CHIP:DMG: Cluster = 0x30, + [1659598523.726943][3022:3027] CHIP:DMG: Attribute = 0x0000_0000, + [1659598523.727027][3022:3027] CHIP:DMG: } + [1659598523.727120][3022:3027] CHIP:DMG: + [1659598523.727213][3022:3027] CHIP:DMG: Data = 0, + [1659598523.727298][3022:3027] CHIP:DMG: }, + [1659598523.727381][3022:3027] CHIP:DMG: + [1659598523.727448][3022:3027] CHIP:DMG: }, + [1659598523.727525][3022:3027] CHIP:DMG: + [1659598523.727585][3022:3027] CHIP:DMG: ], + [1659598523.727703][3022:3027] CHIP:DMG: + [1659598523.727766][3022:3027] CHIP:DMG: InteractionModelRevision = 1 + [1659598523.727826][3022:3027] CHIP:DMG: } + [1659598523.728037][3022:3027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 366414706 + [1659598523.728118][3022:3027] CHIP:TOO: Breadcrumb: 0 + [1659598523.728204][3022:3027] CHIP:DMG: MoveToState ReadClient[0xffff8c008c80]: Moving to [AwaitingSu] + [1659598523.728312][3022:3027] CHIP:EM: Piggybacking Ack for MessageCounter:207708635 on exchange: 29453i + [1659598523.728438][3022:3027] CHIP:IN: Prepared secure message 0xffff8c002428 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 29453i with MessageCounter:125509373. + [1659598523.728524][3022:3027] CHIP:IN: Sending encrypted msg 0xffff8c002428 with MessageCounter:125509373 to 0x0000000000000002 (1) at monotonic time: 000000000083B190 msec + [1659598523.730457][3022:3027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:207708636 on exchange 29453i + [1659598523.730536][3022:3027] CHIP:EM: Found matching exchange: 29453i, Delegate: 0xffff8c008c80 + [1659598523.730608][3022:3027] CHIP:EM: Rxd Ack; Removing MessageCounter:125509373 from Retrans Table on exchange 29453i + [1659598523.730669][3022:3027] CHIP:EM: Removed CHIP MessageCounter:125509373 from RetransTable on exchange + disabled: true + + - label: + "TH1 sends the OpenCommissioningWindow command to the Administrator + Commissioning Cluster" + verification: | + Pls run this test in chip tool interactive mode ./chip-tool interactive start + + pairing open-commissioning-window 1 1 400 1000 3840 + + + [1659597971.528576][2984:2991] CHIP:EM: Found matching exchange: 62289i, Delegate: 0xffff840041a8 + [1659597971.528620][2984:2991] CHIP:EM: Rxd Ack; Removing MessageCounter:205264756 from Retrans Table on exchange 62289i + [1659597971.528646][2984:2991] CHIP:EM: Removed CHIP MessageCounter:205264756 from RetransTable on exchange 62289i + [1659597971.528683][2984:2991] CHIP:DMG: ICR moving to [ResponseRe] + [1659597971.528737][2984:2991] CHIP:DMG: InvokeResponseMessage = + [1659597971.528763][2984:2991] CHIP:DMG: { + [1659597971.528787][2984:2991] CHIP:DMG: suppressResponse = false, + [1659597971.528813][2984:2991] CHIP:DMG: InvokeResponseIBs = + [1659597971.528844][2984:2991] CHIP:DMG: [ + [1659597971.528868][2984:2991] CHIP:DMG: InvokeResponseIB = + [1659597971.528901][2984:2991] CHIP:DMG: { + [1659597971.528927][2984:2991] CHIP:DMG: CommandStatusIB = + [1659597971.528962][2984:2991] CHIP:DMG: { + [1659597971.528992][2984:2991] CHIP:DMG: CommandPathIB = + [1659597971.529030][2984:2991] CHIP:DMG: { + [1659597971.529067][2984:2991] CHIP:DMG: EndpointId = 0x0, + [1659597971.529106][2984:2991] CHIP:DMG: ClusterId = 0x3c, + [1659597971.529143][2984:2991] CHIP:DMG: CommandId = 0x0, + [1659597971.529179][2984:2991] CHIP:DMG: }, + [1659597971.529217][2984:2991] CHIP:DMG: + [1659597971.529247][2984:2991] CHIP:DMG: StatusIB = + [1659597971.529284][2984:2991] CHIP:DMG: { + [1659597971.529321][2984:2991] CHIP:DMG: status = 0x00 (SUCCESS), + [1659597971.529357][2984:2991] CHIP:DMG: }, + [1659597971.529393][2984:2991] CHIP:DMG: + [1659597971.529422][2984:2991] CHIP:DMG: }, + [1659597971.529455][2984:2991] CHIP:DMG: + [1659597971.529479][2984:2991] CHIP:DMG: }, + [1659597971.529510][2984:2991] CHIP:DMG: + [1659597971.529533][2984:2991] CHIP:DMG: ], + [1659597971.529563][2984:2991] CHIP:DMG: + [1659597971.529587][2984:2991] CHIP:DMG: InteractionModelRevision = 1 + [1659597971.529610][2984:2991] CHIP:DMG: }, + [1659597971.529670][2984:2991] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 + [1659597971.529700][2984:2991] CHIP:CTL: Successfully opened pairing window on the device + [1659597971.529845][2984:2991] CHIP:CTL: Manual pairing code: [35059712138] + [1659597971.529885][2984:2991] CHIP:CTL: SetupQRCode: [MT:-24J0AFN00--DE4-F00] + disabled: true + + - label: + "TH3 fully commissions the DUT onto its fabric. Adding this new fabric + will cause a change in the NOCs attribute that will trigger the + subscription." + verification: | + ON TH2, + ./chip-tool pairing open-commissioning-window 2 1 400 1000 3840 + ON TH3 + ./chip-tool pairing code 3 36448921425( Manual pairing code received from TH2) --commissioner-name beta + + [1659598782.742279][3144:3149] CHIP:DMG: InvokeResponseMessage = + [1659598782.742309][3144:3149] CHIP:DMG: { + [1659598782.742336][3144:3149] CHIP:DMG: suppressResponse = false, + [1659598782.742364][3144:3149] CHIP:DMG: InvokeResponseIBs = + [1659598782.742400][3144:3149] CHIP:DMG: [ + [1659598782.742427][3144:3149] CHIP:DMG: InvokeResponseIB = + [1659598782.742467][3144:3149] CHIP:DMG: { + [1659598782.742497][3144:3149] CHIP:DMG: CommandDataIB = + [1659598782.742532][3144:3149] CHIP:DMG: { + [1659598782.742566][3144:3149] CHIP:DMG: CommandPathIB = + [1659598782.742604][3144:3149] CHIP:DMG: { + [1659598782.742643][3144:3149] CHIP:DMG: EndpointId = 0x0, + [1659598782.742682][3144:3149] CHIP:DMG: ClusterId = 0x30, + [1659598782.742721][3144:3149] CHIP:DMG: CommandId = 0x5, + [1659598782.742757][3144:3149] CHIP:DMG: }, + [1659598782.742792][3144:3149] CHIP:DMG: + [1659598782.742825][3144:3149] CHIP:DMG: CommandFields = + [1659598782.742862][3144:3149] CHIP:DMG: { + [1659598782.742901][3144:3149] CHIP:DMG: 0x0 = 0, + [1659598782.742939][3144:3149] CHIP:DMG: 0x1 = "" (0 chars), + [1659598782.742981][3144:3149] CHIP:DMG: }, + [1659598782.743016][3144:3149] CHIP:DMG: }, + [1659598782.743059][3144:3149] CHIP:DMG: + [1659598782.743088][3144:3149] CHIP:DMG: }, + [1659598782.743123][3144:3149] CHIP:DMG: + [1659598782.743151][3144:3149] CHIP:DMG: ], + [1659598782.743185][3144:3149] CHIP:DMG: + [1659598782.743212][3144:3149] CHIP:DMG: InteractionModelRevision = 1 + [1659598782.743239][3144:3149] CHIP:DMG: }, + [1659598782.743306][3144:3149] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1659598782.743350][3144:3149] CHIP:CTL: Received CommissioningComplete response, errorCode=0 + [1659598782.743408][3144:3149] CHIP:CTL: Successfully finished commissioning step "SendComplete" + [1659598782.743454][3144:3149] CHIP:CTL: Commissioning stage next step: "SendComplete" -> "Cleanup" + [1659598782.743501][3144:3149] CHIP:CTL: Performing next commissioning step "Cleanup" + [1659598782.743649][3144:3149] CHIP:CTL: Successfully finished commissioning step "Cleanup" + [1659598782.743708][3144:3149] CHIP:TOO: Device commissioning completed with success + [1659598782.743826][3144:3149] CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: "TH2 waits for a subscription report from the DUT" + verification: | + TH2 receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. + That should contain a Path to the Node Operational Credentials cluster NOCs attribute. + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + On TH(Chiptool)2 ,Verify TH receives a report from the DUT on subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the Node Operational Credentials cluster NOCs attribute. + [1659608932.122100][4449:4454] CHIP:DMG: ] (231 bytes) + [1659608932.122155][4449:4454] CHIP:DMG: 0xfe = 2, + [1659608932.122209][4449:4454] CHIP:DMG: }, + [1659608932.122253][4449:4454] CHIP:DMG: }, + [1659608932.122304][4449:4454] CHIP:DMG: + [1659608932.122344][4449:4454] CHIP:DMG: }, + [1659608932.122403][4449:4454] CHIP:DMG: + [1659608932.122442][4449:4454] CHIP:DMG: AttributeReportIB = + [1659608932.122493][4449:4454] CHIP:DMG: { + [1659608932.122533][4449:4454] CHIP:DMG: AttributeDataIB = + [1659608932.122577][4449:4454] CHIP:DMG: { + [1659608932.122622][4449:4454] CHIP:DMG: DataVersion = 0xffb30683, + [1659608932.122668][4449:4454] CHIP:DMG: AttributePathIB = + [1659608932.122715][4449:4454] CHIP:DMG: { + [1659608932.122763][4449:4454] CHIP:DMG: Endpoint = 0x0, + [1659608932.122817][4449:4454] CHIP:DMG: Cluster = 0x3e, + [1659608932.122868][4449:4454] CHIP:DMG: Attribute = 0x0000_0000, + [1659608932.122921][4449:4454] CHIP:DMG: ListIndex = Null, + [1659608932.122969][4449:4454] CHIP:DMG: } + [1659608932.123019][4449:4454] CHIP:DMG: + [1659608932.123067][4449:4454] CHIP:DMG: Data = + [1659608932.123113][4449:4454] CHIP:DMG: { + [1659608932.123161][4449:4454] CHIP:DMG: 0xfe = 3, + [1659608932.123210][4449:4454] CHIP:DMG: }, + [1659608932.123255][4449:4454] CHIP:DMG: }, + [1659608932.123303][4449:4454] CHIP:DMG: + [1659608932.123342][4449:4454] CHIP:DMG: }, + [1659608932.123387][4449:4454] CHIP:DMG: + [1659608932.123422][4449:4454] CHIP:DMG: ], + [1659608932.123487][4449:4454] CHIP:DMG: + [1659608932.123522][4449:4454] CHIP:DMG: InteractionModelRevision = 1 + [1659608932.123557][4449:4454] CHIP:DMG: } + [1659608932.124097][4449:4454] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4289922691 + [1659608932.124211][4449:4454] CHIP:TOO: NOCs: 3 entries + [1659608932.124278][4449:4454] CHIP:TOO: [1]: { + [1659608932.124317][4449:4454] CHIP:TOO: Noc: + [1659608932.124351][4449:4454] CHIP:TOO: Icac: null + [1659608932.124403][4449:4454] CHIP:TOO: FabricIndex: 1 + [1659608932.124437][4449:4454] CHIP:TOO: } + [1659608932.124483][4449:4454] CHIP:TOO: [2]: { + [1659608932.124535][4449:4454] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104ADC43E671874BF001C1CC210AD71F455F75BE24560CB5A565E92C6BB854CE84B1A128AF3A61F28F88C35E913D527BF189055B9DF67541003F183E4093414A7ED370A3501280118240201360304020401183004140AED7FF3068DFC9984688DD15CFE6361ECD1E935300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40311EC7DC99457821261CA350EB2F2C380D988FCDDC6798B695486759EA1F7D706E0204103DA42BA250AD9D6F6EA014E6BC65D74D42E3E72D109EB32B0DD547B218 + [1659608932.124594][4449:4454] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659608932.124636][4449:4454] CHIP:TOO: FabricIndex: 2 + [1659608932.124670][4449:4454] CHIP:TOO: } + [1659608932.124709][4449:4454] CHIP:TOO: [3]: { + [1659608932.124744][4449:4454] CHIP:TOO: Noc: + [1659608932.124777][4449:4454] CHIP:TOO: Icac: null + [1659608932.124809][4449:4454] CHIP:TOO: FabricIndex: 3 + [1659608932.124842][4449:4454] CHIP:TOO: } + [1659608932.124912][4449:4454] CHIP:DMG: MoveToState ReadClient[0xffffa0008f20]: Moving to [AwaitingSu] + [1659608932.124981][4449:4454] CHIP:EM: Piggybacking Ack for MessageCounter:111243919 on exchange: 13953i + [1659608932.125065][4449:4454] CHIP:IN: Prepared secure message 0xffffa0007788 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 13953i with MessageCounter:128744628. + [1659608932.125118][4449:4454] CHIP:IN: Sending encrypted msg 0xffffa0007788 with MessageCounter:128744628 to 0x0000000000000002 (1) at monotonic time: 000000000122835D msec + [1659608932.126595][4449:4454] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:111243920 on exchange 13953i + [1659608932.126631][4449:4454] CHIP:EM: Found matching exchange: 13953i, Delegate: 0xffffa0008f20 + [1659608932.126673][4449:4454] CHIP:EM: Rxd Ack; Removing MessageCounter:128744628 from Retrans Table on exchange 13953i + [1659608932.126701][4449:4454] CHIP:EM: Removed CHIP MessageCounter:128744628 from RetransTable on exchange 13953i + [1659608932.126747][4449:4454] CHIP:DMG: SubscribeResponseMessage = + [1659608932.126776][4449:4454] CHIP:DMG: { + disabled: true + + - label: + "TH3 reads the Fabrics attribute from the Node Operational Credentials + cluster using a fabric-filtered read" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + operationalcredentials read fabrics 3 0 --commissioner-name beta + On TH(Chiptool)3,Verify Fabrics attribute from the Node Operational Credentials cluster using a fabric-filtered read and Save the FabricIndex as th3_fabric_index + + [1659517037.742397][4223:4228] CHIP:EM: Flushed pending ack for MessageCounter:121918567 on exchange 15974i + [1659517037.744022][4223:4228] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:249614128 on exchange 15975i + [1659517037.744074][4223:4228] CHIP:EM: Found matching exchange: 15975i, Delegate: 0xffff94008f10 + [1659517037.744125][4223:4228] CHIP:EM: Rxd Ack; Removing MessageCounter:76730247 from Retrans Table on exchange 15975i + [1659517037.744165][4223:4228] CHIP:EM: Removed CHIP MessageCounter:76730247 from RetransTable on exchange 15975i + [1659517037.744260][4223:4228] CHIP:DMG: ReportDataMessage = + [1659517037.744304][4223:4228] CHIP:DMG: { + [1659517037.744340][4223:4228] CHIP:DMG: AttributeReportIBs = + [1659517037.744391][4223:4228] CHIP:DMG: [ + [1659517037.744430][4223:4228] CHIP:DMG: AttributeReportIB = + [1659517037.744486][4223:4228] CHIP:DMG: { + [1659517037.744528][4223:4228] CHIP:DMG: AttributeDataIB = + [1659517037.744579][4223:4228] CHIP:DMG: { + [1659517037.744632][4223:4228] CHIP:DMG: DataVersion = 0xffad5042, + [1659517037.744688][4223:4228] CHIP:DMG: AttributePathIB = + [1659517037.744742][4223:4228] CHIP:DMG: { + [1659517037.744936][4223:4228] CHIP:DMG: Endpoint = 0x0, + [1659517037.744997][4223:4228] CHIP:DMG: Cluster = 0x3e, + [1659517037.745054][4223:4228] CHIP:DMG: Attribute = 0x0000_0001, + [1659517037.745107][4223:4228] CHIP:DMG: } + [1659517037.745168][4223:4228] CHIP:DMG: + [1659517037.745226][4223:4228] CHIP:DMG: Data = [ + [1659517037.745279][4223:4228] CHIP:DMG: + [1659517037.745339][4223:4228] CHIP:DMG: ], + [1659517037.745389][4223:4228] CHIP:DMG: }, + [1659517037.745443][4223:4228] CHIP:DMG: + [1659517037.745487][4223:4228] CHIP:DMG: }, + [1659517037.745550][4223:4228] CHIP:DMG: + [1659517037.745589][4223:4228] CHIP:DMG: AttributeReportIB = + [1659517037.745645][4223:4228] CHIP:DMG: { + [1659517037.745686][4223:4228] CHIP:DMG: AttributeDataIB = + [1659517037.745726][4223:4228] CHIP:DMG: { + [1659517037.745766][4223:4228] CHIP:DMG: DataVersion = 0xffad5042, + [1659517037.745823][4223:4228] CHIP:DMG: AttributePathIB = + [1659517037.745881][4223:4228] CHIP:DMG: { + [1659517037.745935][4223:4228] CHIP:DMG: Endpoint = 0x0, + [1659517037.745992][4223:4228] CHIP:DMG: Cluster = 0x3e, + [1659517037.746054][4223:4228] CHIP:DMG: Attribute = 0x0000_0001, + [1659517037.746110][4223:4228] CHIP:DMG: ListIndex = Null, + [1659517037.746167][4223:4228] CHIP:DMG: } + [1659517037.746227][4223:4228] CHIP:DMG: + [1659517037.746278][4223:4228] CHIP:DMG: Data = + [1659517037.746318][4223:4228] CHIP:DMG: { + [1659517037.746375][4223:4228] CHIP:DMG: 0x1 = [ + [1659517037.746483][4223:4228] CHIP:DMG: 0x4, 0x40, 0x33, 0x1d, 0x31, 0xfe, 0x56, 0x34, 0xf8, 0x94, 0x71, 0x89, 0x8a, 0x98, 0x41, 0xbe, 0x8d, 0x76, 0x63, 0x16, 0x91, 0x79, 0x69, 0x6d, 0x7a, 0x79, 0xb5, 0x8, 0x92, 0x1e, 0x5c, 0x69, 0xc7, 0x45, 0x9d, 0xcf, 0x7c, 0x9a, 0xdc, 0xf7, 0x6, 0x2f, 0x44, 0x9e, 0xed, 0x70, 0x2d, 0x9a, 0x7e, 0x3a, 0xdb, 0xc, 0xdf, 0xd, 0xb9, 0x42, 0x7f, 0xbb, 0x93, 0x61, 0x7f, 0xb0, 0xfa, 0x50, 0xe1, + [1659517037.746531][4223:4228] CHIP:DMG: ] (65 bytes) + [1659517037.746572][4223:4228] CHIP:DMG: 0x2 = 65521, + [1659517037.746609][4223:4228] CHIP:DMG: 0x3 = 2, + [1659517037.746646][4223:4228] CHIP:DMG: 0x4 = 3, + [1659517037.746684][4223:4228] CHIP:DMG: 0x5 = "" (0 chars), + [1659517037.746720][4223:4228] CHIP:DMG: 0xfe = 3, + [1659517037.746758][4223:4228] CHIP:DMG: }, + [1659517037.746790][4223:4228] CHIP:DMG: }, + [1659517037.746828][4223:4228] CHIP:DMG: + [1659517037.746854][4223:4228] CHIP:DMG: }, + [1659517037.746888][4223:4228] CHIP:DMG: + [1659517037.746913][4223:4228] CHIP:DMG: ], + [1659517037.746952][4223:4228] CHIP:DMG: + [1659517037.746977][4223:4228] CHIP:DMG: SuppressResponse = true, + [1659517037.747003][4223:4228] CHIP:DMG: InteractionModelRevision = 1 + [1659517037.747027][4223:4228] CHIP:DMG: } + [1659517037.747303][4223:4228] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 4289548354 + [1659517037.747392][4223:4228] CHIP:TOO: Fabrics: 1 entries + [1659517037.747450][4223:4228] CHIP:TOO: [1]: { + [1659517037.747485][4223:4228] CHIP:TOO: RootPublicKey: 0440331D31FE5634F89471898A9841BE8D7663169179696D7A79B508921E5C69C7459DCF7C9ADCF7062F449EED702D9A7E3ADB0CDF0DB9427FBB93617FB0FA50E1 + [1659517037.747525][4223:4228] CHIP:TOO: VendorId: 65521 + [1659517037.747551][4223:4228] CHIP:TOO: FabricId: 2 + [1659517037.747575][4223:4228] CHIP:TOO: NodeId: 3 + [1659517037.747598][4223:4228] CHIP:TOO: Label: + [1659517037.747622][4223:4228] CHIP:TOO: FabricIndex: 3 + [1659517037.747646][4223:4228] CHIP:TOO: } + [1659517037.747731][4223:4228] CHIP:EM: Sending Standalone Ack for MessageCounter:249614128 on exchange 15975i + [1659517037.747805][4223:4228] CHIP:IN: Prepared secure message 0xffffa9b9d9e8 to 0x0000000000000003 (2) of type 0x10 and protocolId (0, 0) on exchange 15975i with MessageCounter:76730248. + [1659517037.747846][4223:4228] CHIP:IN: Sending encrypted msg 0xffffa9b9d9e8 with MessageCounter:76730248 to 0x0000000000000003 (2) at monotonic time: 0000000000CF41CF msec + [1659517037.747964][4223:4228] CHIP:EM: Flushed pending ack for MessageCounter:249614128 on exchange 15975i + [1659517037.748180][4223:4223] CHIP:CTL: Shutting down the commissioner + [1659517037.748214][4223:4223] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1659517037.748238][4223:4223] CHIP:CTL: Shutting down the controller + [1659517037.748262][4223:4223] CHIP:IN: Expiring all sessions for fabric 0x1!! + [1659517037.748286][4223:4223] CHIP:FP: Forgetting fabric 0x1 + [1659517037.748320][4223:4223] CHIP:TS: Pending Last Known Good Time: 2022-07-21T06:51:50 + disabled: true + + - label: + "TH1 sends a RemoveFabric command to the Node Operational Credentials + cluster with FabricIndex set to th3_fabric_index" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + operationalcredentials remove-fabric 3 1 0 + On TH(Chiptool)1,Verify RemoveFabric command to the Node Operational Credentials cluster with FabricIndex set to th3_fabric_index + + [1659517261.457106][10892:10897] CHIP:DMG: InvokeResponseMessage = + [1659517261.457150][10892:10897] CHIP:DMG: { + [1659517261.457175][10892:10897] CHIP:DMG: suppressResponse = false, + [1659517261.457212][10892:10897] CHIP:DMG: InvokeResponseIBs = + [1659517261.457245][10892:10897] CHIP:DMG: [ + [1659517261.457281][10892:10897] CHIP:DMG: InvokeResponseIB = + [1659517261.457318][10892:10897] CHIP:DMG: { + [1659517261.457354][10892:10897] CHIP:DMG: CommandDataIB = + [1659517261.457396][10892:10897] CHIP:DMG: { + [1659517261.457426][10892:10897] CHIP:DMG: CommandPathIB = + [1659517261.457472][10892:10897] CHIP:DMG: { + [1659517261.457511][10892:10897] CHIP:DMG: EndpointId = 0x0, + [1659517261.457560][10892:10897] CHIP:DMG: ClusterId = 0x3e, + [1659517261.457609][10892:10897] CHIP:DMG: CommandId = 0x8, + [1659517261.457655][10892:10897] CHIP:DMG: }, + [1659517261.457694][10892:10897] CHIP:DMG: + [1659517261.457733][10892:10897] CHIP:DMG: CommandFields = + [1659517261.457774][10892:10897] CHIP:DMG: { + [1659517261.457848][10892:10897] CHIP:DMG: 0x0 = 0, + [1659517261.457894][10892:10897] CHIP:DMG: 0x1 = 3, + [1659517261.457932][10892:10897] CHIP:DMG: }, + [1659517261.457963][10892:10897] CHIP:DMG: }, + [1659517261.458002][10892:10897] CHIP:DMG: + [1659517261.458027][10892:10897] CHIP:DMG: }, + [1659517261.458058][10892:10897] CHIP:DMG: + [1659517261.458081][10892:10897] CHIP:DMG: ], + [1659517261.458112][10892:10897] CHIP:DMG: + [1659517261.458136][10892:10897] CHIP:DMG: InteractionModelRevision = 1 + [1659517261.458159][10892:10897] CHIP:DMG: }, + [1659517261.458220][10892:10897] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + [1659517261.458272][10892:10897] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + [1659517261.458326][10892:10897] CHIP:TOO: NOCResponse: { + [1659517261.458375][10892:10897] CHIP:TOO: statusCode: 0 + [1659517261.458400][10892:10897] CHIP:TOO: fabricIndex: 3 + [1659517261.458424][10892:10897] CHIP:TOO: } + [1659517261.458461][10892:10897] CHIP:DMG: ICR moving to [AwaitingDe] + [1659517261.458519][10892:10897] CHIP:EM: Sending Standalone Ack for MessageCounter:175598463 on exchange 6398i + [1659517261.458597][10892:10897] CHIP:IN: Prepared secure message 0xffffac8ac9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 6398i with MessageCounter:118554533. + [1659517261.458639][10892:10897] CHIP:IN: Sending encrypted msg 0xffffac8ac9e8 with MessageCounter:118554533 to 0x0000000000000001 (1) at monotonic time: 0000000006225CEA msec + [1659517261.458777][10892:10897] CHIP:EM: Flushed pending ack for MessageCounter:175598463 on exchange 6398i + [1659517261.459001][10892:10892] CHIP:CTL: Shutting down the commissioner + [1659517261.459062][10892:10892] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1659517261.459106][10892:10892] CHIP:CTL: Shutting down the controller + [1659517261.459158][10892:10892] CHIP:IN: Expiring all sessions for fabric 0x1!! + [1659517261.459201][10892:10892] CHIP:IN: SecureSession[0xffff98001930]: MarkForEviction Type:2 LSID:35532 + [1659517261.459244][10892:10892] CHIP:SC: SecureSession[0xffff98001930]: Moving from state "kActive" --> "kPendingEviction" + [1659517261.459287][10892:10892] CHIP:IN: SecureSession[0xffff98001930]: Released - Type:2 LSID:35532 + [1659517261.459333][10892:10892] CHIP:FP: Forgetting fabric 0x1 + [1659517261.459388][10892:10892] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35 + [1659517261.459597][10892:10892] CHIP:TS: Previous Last Known Good Time: 2022-08-01T09:44:35 + [1659517261.459623][10892:10892] CHIP:TS: Reverted Last Known Good Time to previous value + [1659517261.459669][10892:10892] CHIP:CTL: Shutting down the commissioner + [1659517261.459693][10892:10892] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1659517261.459716][10892:10892] CHIP:CTL: Shutting down the controller + [1659517261.459736][10892:10892] CHIP:IN: Expiring all sessions for fabric 0x2!! + [1659517261.459787][10892:10892] CHIP:FP: Forgetting fabric 0x2 + [1659517261.459816][10892:10892] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35 + disabled: true + + - label: "TH2 waits for a subscription report from the DUT" + verification: | + TH2 receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. + That should contain a Path to the Node Operational Credentials cluster NOCs attribute. for privious subscvription + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + + On TH(Chiptool)1,Verify TH receives a report from the DUT for subscription_noc. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the Node Operational Credentials cluster NOCs attribute. + 1659603570.948282][3879:3884] CHIP:DMG: ] (231 bytes) + [1659603570.948321][3879:3884] CHIP:DMG: 0xfe = 2, + [1659603570.948358][3879:3884] CHIP:DMG: }, + [1659603570.948393][3879:3884] CHIP:DMG: }, + [1659603570.948429][3879:3884] CHIP:DMG: + [1659603570.948454][3879:3884] CHIP:DMG: }, + [1659603570.948486][3879:3884] CHIP:DMG: + [1659603570.948509][3879:3884] CHIP:DMG: ], + [1659603570.948550][3879:3884] CHIP:DMG: + [1659603570.948574][3879:3884] CHIP:DMG: InteractionModelRevision = 1 + [1659603570.948597][3879:3884] CHIP:DMG: } + [1659603570.948872][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660506005 + [1659603570.948932][3879:3884] CHIP:TOO: NOCs: 2 entries + [1659603570.948968][3879:3884] CHIP:TOO: [1]: { + [1659603570.948995][3879:3884] CHIP:TOO: Noc: + [1659603570.949018][3879:3884] CHIP:TOO: Icac: null + [1659603570.949044][3879:3884] CHIP:TOO: FabricIndex: 1 + [1659603570.949068][3879:3884] CHIP:TOO: } + [1659603570.949102][3879:3884] CHIP:TOO: [2]: { + [1659603570.949137][3879:3884] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A3706241501241102182407012408013009410493458F560CDD3995FB822B0B71EADE5D757C8454CA5170A4F6AECC068A3060B4A3F979439078F660B1F1E1EE1CC0FD8BDC81DECEE301962A83B3ACDE6CC6752F370A3501280118240201360304020401183004143E977751BDEED7C677522FA3D5F9F85E37D0F5A4300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B400AC33F78A020EA1D6D975E82A7F77B9B87C37AA3D633CC903F2EF93B09FF9F11E71A54A1F2822B012B5FA9BC9D40C98F06B0A53C3BEE123A5290C2473C243BB118 + [1659603570.949176][3879:3884] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659603570.949204][3879:3884] CHIP:TOO: FabricIndex: 2 + [1659603570.949226][3879:3884] CHIP:TOO: } + [1659603570.949271][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c003110]: Moving to [AwaitingSu] + [1659603570.949330][3879:3884] CHIP:EM: Piggybacking Ack for MessageCounter:89095500 on exchange: 18769i + [1659603570.949404][3879:3884] CHIP:IN: Prepared secure message 0xffff7c000f08 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 18769i with MessageCounter:216513810. + [1659603570.949445][3879:3884] CHIP:IN: Sending encrypted msg 0xffff7c000f08 with MessageCounter:216513810 to 0x0000000000000002 (1) at monotonic time: 0000000000D0B545 msec + [1659603570.950949][3879:3884] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:89095501 on exchange 18769i + [1659603570.951000][3879:3884] CHIP:EM: Found matching exchange: 18769i, Delegate: 0xffff7c003110 + [1659603570.951037][3879:3884] CHIP:EM: Rxd Ack; Removing MessageCounter:216513810 from Retrans Table on exchange 18769i + [1659603570.951061][3879:3884] CHIP:EM: Removed CHIP MessageCounter:216513810 from RetransTable on exchange 18769i + [1659603570.951114][3879:3884] CHIP:DMG: SubscribeResponseMessage = + [1659603570.951142][3879:3884] CHIP:DMG: { + [1659603570.951167][3879:3884] CHIP:DMG: SubscriptionId = 0xf9e7f5b6, + [1659603570.951193][3879:3884] CHIP:DMG: MaxInterval = 0x1e, + [1659603570.951217][3879:3884] CHIP:DMG: InteractionModelRevision = 1 + [1659603570.951240][3879:3884] CHIP:DMG: } + [1659603570.951269][3879:3884] CHIP:DMG: Subscription established with SubscriptionID = 0xf9e7f5b6 MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002 + [1659603570.951297][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c003110]: Moving to [Subscripti] + [1659603570.951343][3879:3884] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0xf9e7f5b6 Peer = 01:0000000000000002 + [1659603570.951375][3879:3884] CHIP:EM: Sending Standalone Ack for MessageCounter:89095501 on exchange 18769i + [1659603570.951431][3879:3884] CHIP:IN: Prepared secure message 0xffff90c469e8 to 0x0000000000000002 (1) of type 0x10 and protocolId (0, 0) on exchange 18769i with MessageCounter:216513811. + [1659603570.951473][3879:3884] CHIP:IN: Sending encrypted msg 0xffff90c469e8 with MessageCounter:216513811 to 0x0000000000000002 (1) at monotonic time: 0000000000D0B547 msec + [1659603570.951595][3879:3884] CHIP:EM: Flushed pending ack for MessageCounter:89095501 on exchange 18769i + disabled: true + + - label: + "TH1 selects a node id N_unused that is different than N1 and N2. This + node ID does not need to correspond to an actual node, it is used as a + placeholder to allow changing the ACL attribute without affecting the + access of N1 and N2. TH1 writes Access Control cluster ACL attribute, + value is a list of AccessControlEntryStruct Containing 1 element: + struct Privilege field: Administer (5) AuthMode field: CASE (2) + Subjects field: [N1, N2, N_unused] Targets field: [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,4], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool)1,Verify ACL attribute list of AccessControlEntryStruct entries containing 1 element and selects a node id N_unused that is different than N1 and N2 + [1659517872.814034][10929:10934] CHIP:EM: Flushed pending ack for MessageCounter:121918573 on exchange 48872i + [1659517872.821723][10929:10934] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:206343064 on exchange 48873i + [1659517872.821777][10929:10934] CHIP:EM: Found matching exchange: 48873i, Delegate: 0xffffa4003c10 + [1659517872.821837][10929:10934] CHIP:EM: Rxd Ack; Removing MessageCounter:107750962 from Retrans Table on exchange 48873i + [1659517872.821873][10929:10934] CHIP:EM: Removed CHIP MessageCounter:107750962 from RetransTable on exchange 48873i + [1659517872.821924][10929:10934] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659517872.821996][10929:10934] CHIP:DMG: WriteResponseMessage = + [1659517872.822034][10929:10934] CHIP:DMG: { + [1659517872.822067][10929:10934] CHIP:DMG: AttributeStatusIBs = + [1659517872.822111][10929:10934] CHIP:DMG: [ + [1659517872.822147][10929:10934] CHIP:DMG: AttributeStatusIB = + [1659517872.822190][10929:10934] CHIP:DMG: { + [1659517872.822233][10929:10934] CHIP:DMG: AttributePathIB = + [1659517872.822273][10929:10934] CHIP:DMG: { + [1659517872.822317][10929:10934] CHIP:DMG: Endpoint = 0x0, + [1659517872.822362][10929:10934] CHIP:DMG: Cluster = 0x1f, + [1659517872.822407][10929:10934] CHIP:DMG: Attribute = 0x0000_0000, + [1659517872.822446][10929:10934] CHIP:DMG: } + [1659517872.822489][10929:10934] CHIP:DMG: + [1659517872.822527][10929:10934] CHIP:DMG: StatusIB = + [1659517872.822753][10929:10934] CHIP:DMG: { + [1659517872.822805][10929:10934] CHIP:DMG: status = 0x00 (SUCCESS), + [1659517872.822848][10929:10934] CHIP:DMG: }, + [1659517872.822891][10929:10934] CHIP:DMG: + [1659517872.822927][10929:10934] CHIP:DMG: }, + [1659517872.822975][10929:10934] CHIP:DMG: + [1659517872.823009][10929:10934] CHIP:DMG: AttributeStatusIB = + [1659517872.823048][10929:10934] CHIP:DMG: { + [1659517872.823086][10929:10934] CHIP:DMG: AttributePathIB = + [1659517872.823127][10929:10934] CHIP:DMG: { + [1659517872.823169][10929:10934] CHIP:DMG: Endpoint = 0x0, + [1659517872.823213][10929:10934] CHIP:DMG: Cluster = 0x1f, + [1659517872.823259][10929:10934] CHIP:DMG: Attribute = 0x0000_0000, + [1659517872.823306][10929:10934] CHIP:DMG: ListIndex = Null, + [1659517872.823348][10929:10934] CHIP:DMG: } + [1659517872.823394][10929:10934] CHIP:DMG: + [1659517872.823438][10929:10934] CHIP:DMG: StatusIB = + [1659517872.823479][10929:10934] CHIP:DMG: { + [1659517872.823522][10929:10934] CHIP:DMG: status = 0x00 (SUCCESS), + [1659517872.823567][10929:10934] CHIP:DMG: }, + [1659517872.823608][10929:10934] CHIP:DMG: + [1659517872.823644][10929:10934] CHIP:DMG: }, + [1659517872.823684][10929:10934] CHIP:DMG: + [1659517872.823716][10929:10934] CHIP:DMG: ], + [1659517872.823785][10929:10934] CHIP:DMG: + [1659517872.823820][10929:10934] CHIP:DMG: InteractionModelRevision = 1 + [1659517872.823851][10929:10934] CHIP:DMG: } + [1659517872.823984][10929:10934] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659517872.824058][10929:10934] CHIP:EM: Sending Standalone Ack for MessageCounter:206343064 on exchange 48873i + [1659517872.824154][10929:10934] CHIP:IN: Prepared secure message 0xffffae7cd9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 48873i with MessageCounter:107750963. + [1659517872.824197][10929:10934] CHIP:IN: Sending encrypted msg 0xffffae7cd9e8 with MessageCounter:107750963 to 0x0000000000000001 (1) at monotonic time: 00000000062BB110 msec + [1659517872.824406][10929:10934] CHIP:EM: Flushed pending ack for MessageCounter:206343064 on exchange 48873i + [1659517872.824642][10929:10929] CHIP:CTL: Shutting down the commissioner + [1659517872.824674][10929:10929] CHIP:CTL: Stopping commissioning discovery over DNS-SD + [1659517872.824755][10929:10929] CHIP:CTL: Shutting down the controller + [1659517872.824812][10929:10929] CHIP:IN: Expiring all sessions for fabric 0x1!! + [1659517872.824840][10929:10929] CHIP:IN: SecureSession[0xffffa4001930]: MarkForEviction Type:2 LSID:13780 + [1659517872.824865][10929:10929] CHIP:SC: SecureSession[0xffffa4001930]: Moving from state "kActive" --> "kPendingEviction" + [1659517872.824889][10929:10929] CHIP:IN: SecureSession[0xffffa4001930]: Released - Type:2 LSID:13780 + [1659517872.824915][10929:10929] CHIP:FP: Forgetting fabric 0x1 + [1659517872.824949][10929:10929] CHIP:TS: Pending Last Known Good Time: 2022-08-01T09:44:35 + [1659517872.825142][10929:10929] CHIP:TS: Previous Last Known Good Time: 2022-08-01T09:44:35 + [1659517872.825169][10929:10929] CHIP:TS: Reverted Last Known Good Time to previous value + [1659517872.825214][10929:10929] CHIP:CTL: Shutting down the commissioner + disabled: true + + - label: "TH2 waits for a subscription report from the DUT" + verification: | + accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + + On TH(Chiptool)2,Verify it receives a report from the DUT for subscription_ace. The EventReports list contains an entry with EventData field present. That should contain a Path to the Access Control cluster AccessControlEntryStruct event. + + [1659603721.185884][3879:3884] CHIP:EM: Found matching exchange: 18770i, Delegate: 0xffff7c008ff0 + [1659603721.185938][3879:3884] CHIP:EM: Rxd Ack; Removing MessageCounter:216513817 from Retrans Table on exchange 18770i + [1659603721.185979][3879:3884] CHIP:EM: Removed CHIP MessageCounter:216513817 from RetransTable on exchange 18770i + [1659603721.186072][3879:3884] CHIP:DMG: ReportDataMessage = + [1659603721.186117][3879:3884] CHIP:DMG: { + [1659603721.186157][3879:3884] CHIP:DMG: SubscriptionId = 0xe570e9a7, + [1659603721.186199][3879:3884] CHIP:DMG: EventReportIBs = + [1659603721.186258][3879:3884] CHIP:DMG: [ + [1659603721.186298][3879:3884] CHIP:DMG: EventReportIB = + [1659603721.186361][3879:3884] CHIP:DMG: { + [1659603721.186404][3879:3884] CHIP:DMG: EventDataIB = + [1659603721.186456][3879:3884] CHIP:DMG: { + [1659603721.186504][3879:3884] CHIP:DMG: EventPath = + [1659603721.186565][3879:3884] CHIP:DMG: { + [1659603721.186625][3879:3884] CHIP:DMG: Endpoint = 0x0, + [1659603721.186684][3879:3884] CHIP:DMG: Cluster = 0x1f, + [1659603721.186745][3879:3884] CHIP:DMG: Event = 0x0, + [1659603721.186797][3879:3884] CHIP:DMG: }, + [1659603721.186852][3879:3884] CHIP:DMG: + [1659603721.186903][3879:3884] CHIP:DMG: EventNumber = 0x6, + [1659603721.186963][3879:3884] CHIP:DMG: PriorityLevel = 0x1, + [1659603721.187018][3879:3884] CHIP:DMG: SystemTimestamp = 0xca5cb2, + [1659603721.187071][3879:3884] CHIP:DMG: EventData = + [1659603721.187124][3879:3884] CHIP:DMG: { + [1659603721.187180][3879:3884] CHIP:DMG: 0x1 = NULL + [1659603721.187238][3879:3884] CHIP:DMG: 0x2 = 0, + [1659603721.187295][3879:3884] CHIP:DMG: 0x3 = 1, + [1659603721.187353][3879:3884] CHIP:DMG: 0x4 = + [1659603721.187408][3879:3884] CHIP:DMG: { + [1659603721.187465][3879:3884] CHIP:DMG: 0x1 = 5, + [1659603721.187526][3879:3884] CHIP:DMG: 0x2 = 2, + [1659603721.187585][3879:3884] CHIP:DMG: 0x3 = [ + [1659603721.187706][3879:3884] CHIP:DMG: 112233, + [1659603721.187781][3879:3884] CHIP:DMG: ], + [1659603721.187844][3879:3884] CHIP:DMG: 0x4 = NULL + [1659603721.187906][3879:3884] CHIP:DMG: 0xfe = 2, + [1659603721.187960][3879:3884] CHIP:DMG: }, + [1659603721.188022][3879:3884] CHIP:DMG: 0xfe = 2, + [1659603721.188080][3879:3884] CHIP:DMG: }, + [1659603721.188130][3879:3884] CHIP:DMG: }, + [1659603721.188193][3879:3884] CHIP:DMG: + [1659603721.188237][3879:3884] CHIP:DMG: }, + [1659603721.188298][3879:3884] CHIP:DMG: + [1659603721.188336][3879:3884] CHIP:DMG: ], + [1659603721.188394][3879:3884] CHIP:DMG: + [1659603721.188434][3879:3884] CHIP:DMG: InteractionModelRevision = 1 + [1659603721.188472][3879:3884] CHIP:DMG: } + [1659603721.188705][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1659603721.188746][3879:3884] CHIP:TOO: Event number: 6 + [1659603721.188782][3879:3884] CHIP:TOO: Priority: Info + [1659603721.188818][3879:3884] CHIP:TOO: Timestamp: 13262002 + [1659603721.188934][3879:3884] CHIP:TOO: AccessControlEntryChanged: { + [1659603721.188978][3879:3884] CHIP:TOO: AdminNodeID: null + [1659603721.189019][3879:3884] CHIP:TOO: AdminPasscodeID: 0 + [1659603721.189059][3879:3884] CHIP:TOO: ChangeType: 1 + [1659603721.189098][3879:3884] CHIP:TOO: LatestValue: { + [1659603721.189134][3879:3884] CHIP:TOO: Privilege: 5 + [1659603721.189172][3879:3884] CHIP:TOO: AuthMode: 2 + [1659603721.189217][3879:3884] CHIP:TOO: Subjects: 1 entries + [1659603721.189263][3879:3884] CHIP:TOO: [1]: 112233 + [1659603721.189305][3879:3884] CHIP:TOO: Targets: null + [1659603721.189342][3879:3884] CHIP:TOO: FabricIndex: 2 + [1659603721.189379][3879:3884] CHIP:TOO: } + [1659603721.189417][3879:3884] CHIP:TOO: AdminFabricIndex: 2 + [1659603721.189454][3879:3884] CHIP:TOO: } + [1659603721.189552][3879:3884] CHIP:DMG: MoveToState ReadClient[0xffff7c008ff0]: Moving to [AwaitingSu] + [1659603721.189635][3879:3884] CHIP:EM: Piggybacking Ack for MessageCounter:89095512 on exchange: 18770i + [1659603721.189726][3879:3884] CHIP:IN: Prepared secure message 0xffff7c000f08 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 18770i with MessageCounter:216513818. + [1659603721.189786][3879:3884] CHIP:IN: Sending encrypted msg 0xffff7c000f08 with MessageCounter:216513818 to 0x00 + disabled: true + + - label: + "TH1 writes the Breadcrumb attribute on the General Commissioning + cluster, setting the value to 1" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + generalcommissioning write breadcrumb 1 1 0 + + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 1 + [1659518258.514701][10974:10979] CHIP:EM: Flushed pending ack for MessageCounter:121918579 on exchange 48566i + [1659518258.516435][10974:10979] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:75008005 on exchange 48567i + [1659518258.516482][10974:10979] CHIP:EM: Found matching exchange: 48567i, Delegate: 0xffff80003c10 + [1659518258.516552][10974:10979] CHIP:EM: Rxd Ack; Removing MessageCounter:179846126 from Retrans Table on exchange 48567i + [1659518258.516588][10974:10979] CHIP:EM: Removed CHIP MessageCounter:179846126 from RetransTable on exchange 48567i + [1659518258.516637][10974:10979] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659518258.516699][10974:10979] CHIP:DMG: WriteResponseMessage = + [1659518258.516735][10974:10979] CHIP:DMG: { + [1659518258.516782][10974:10979] CHIP:DMG: AttributeStatusIBs = + [1659518258.516829][10974:10979] CHIP:DMG: [ + [1659518258.516874][10974:10979] CHIP:DMG: AttributeStatusIB = + [1659518258.516915][10974:10979] CHIP:DMG: { + [1659518258.516966][10974:10979] CHIP:DMG: AttributePathIB = + [1659518258.517017][10974:10979] CHIP:DMG: { + [1659518258.517073][10974:10979] CHIP:DMG: Endpoint = 0x0, + [1659518258.517131][10974:10979] CHIP:DMG: Cluster = 0x30, + [1659518258.517177][10974:10979] CHIP:DMG: Attribute = 0x0000_0000, + [1659518258.517229][10974:10979] CHIP:DMG: } + [1659518258.517288][10974:10979] CHIP:DMG: + [1659518258.517333][10974:10979] CHIP:DMG: StatusIB = + [1659518258.517390][10974:10979] CHIP:DMG: { + [1659518258.517444][10974:10979] CHIP:DMG: status = 0x00 (SUCCESS), + [1659518258.517491][10974:10979] CHIP:DMG: }, + [1659518258.517532][10974:10979] CHIP:DMG: + [1659518258.517569][10974:10979] CHIP:DMG: }, + [1659518258.517608][10974:10979] CHIP:DMG: + [1659518258.517640][10974:10979] CHIP:DMG: ], + [1659518258.517681][10974:10979] CHIP:DMG: + [1659518258.517713][10974:10979] CHIP:DMG: InteractionModelRevision = 1 + [1659518258.517745][10974:10979] CHIP:DMG: } + [1659518258.517834][10974:10979] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659518258.517912][10974:10979] CHIP:EM: Sending Standalone Ack for MessageCounter:75008005 on exchange 48567i + [1659518258.517998][10974:10979] CHIP:IN: Prepared secure message 0xffff948d39e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 48567i with MessageCounter:179846127. + [1659518258.518048][10974:10979] CHIP:IN: Sending encrypted msg 0xffff948d39e8 with MessageCounter:179846127 to 0x0000 + disabled: true + + - label: "TH2 waits for a subscription report from the DUT" + verification: | + TH2 receives a report from the DUT for subscription_breadcrumb. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the General Commissioning cluster Breadcrumb attribute. + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + + On TH(Chiptool)2,Verify TH receives a report from the DUT for subscription_breadcrumb. The AttributeReports list contains an entry with the AttributeData field present. That should contain a Path to the General Commissioning cluster Breadcrumb attribute. + [1659603967.088241][3914:3920] CHIP:EM: Found matching exchange: 19092i, Delegate: 0xffff6c008f00 + [1659603967.088289][3914:3920] CHIP:EM: Rxd Ack; Removing MessageCounter:228277923 from Retrans Table on exchange 19092i + [1659603967.088326][3914:3920] CHIP:EM: Removed CHIP MessageCounter:228277923 from RetransTable on exchange 19092i + [1659603967.088402][3914:3920] CHIP:DMG: ReportDataMessage = + [1659603967.088461][3914:3920] CHIP:DMG: { + [1659603967.088498][3914:3920] CHIP:DMG: SubscriptionId = 0xc02f7203, + [1659603967.088536][3914:3920] CHIP:DMG: AttributeReportIBs = + [1659603967.088598][3914:3920] CHIP:DMG: [ + [1659603967.088647][3914:3920] CHIP:DMG: AttributeReportIB = + [1659603967.088702][3914:3920] CHIP:DMG: { + [1659603967.088744][3914:3920] CHIP:DMG: AttributeDataIB = + [1659603967.088791][3914:3920] CHIP:DMG: { + [1659603967.088840][3914:3920] CHIP:DMG: DataVersion = 0x2442fc21, + [1659603967.088887][3914:3920] CHIP:DMG: AttributePathIB = + [1659603967.088937][3914:3920] CHIP:DMG: { + [1659603967.088988][3914:3920] CHIP:DMG: Endpoint = 0x0, + [1659603967.089041][3914:3920] CHIP:DMG: Cluster = 0x30, + [1659603967.089093][3914:3920] CHIP:DMG: Attribute = 0x0000_0000, + [1659603967.089143][3914:3920] CHIP:DMG: } + [1659603967.089195][3914:3920] CHIP:DMG: + [1659603967.089248][3914:3920] CHIP:DMG: Data = 1, + [1659603967.089294][3914:3920] CHIP:DMG: }, + [1659603967.089344][3914:3920] CHIP:DMG: + [1659603967.089386][3914:3920] CHIP:DMG: }, + [1659603967.089520][3914:3920] CHIP:DMG: + [1659603967.089560][3914:3920] CHIP:DMG: ], + [1659603967.089605][3914:3920] CHIP:DMG: + [1659603967.089642][3914:3920] CHIP:DMG: InteractionModelRevision = 1 + [1659603967.089678][3914:3920] CHIP:DMG: } + [1659603967.089848][3914:3920] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369697 + [1659603967.089921][3914:3920] CHIP:TOO: Breadcrumb: 1 + [1659603967.089989][3914:3920] CHIP:DMG: MoveToState ReadClient[0xffff6c008f00]: Moving to [AwaitingSu] + [1659603967.090058][3914:3920] CHIP:EM: Piggybacking Ack for MessageCounter:442958 on exchange: 19092i + [1659603967.090138][3914:3920] CHIP:IN: Prepared secure message 0xaaaae33b6218 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 19092i with MessageCounter:228277924. + [1659603967.090192][3914:3920] CHIP:IN: Sending encrypted msg 0xaaaae33b6218 with MessageCounter:228277924 to 0x0000000000000002 (1) at monotonic time: 0000000000D6C0B2 msec + disabled: true + + - label: + "TH1 writes AccessControl cluster ACL attribute, value is a list of + AccessControlEntryStruct containing 2 elements: struct Privilege + field: Administer (5) AuthMode field: CASE (2) Subjects field: [N1] + Targets field: [{Endpoint: 0}] struct Privilege field: Manage (4) + AuthMode field: CASE (2) Subjects field: [N2] Targets field: + [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]},{"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements + [1659520939.556159][11095:11100] CHIP:EM: Rxd Ack; Removing MessageCounter:266984011 from Retrans Table on exchange 36622i + [1659520939.556186][11095:11100] CHIP:EM: Removed CHIP MessageCounter:266984011 from RetransTable on exchange 36622i + [1659520939.556226][11095:11100] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659520939.556285][11095:11100] CHIP:DMG: WriteResponseMessage = + [1659520939.556312][11095:11100] CHIP:DMG: { + [1659520939.556335][11095:11100] CHIP:DMG: AttributeStatusIBs = + [1659520939.556385][11095:11100] CHIP:DMG: [ + [1659520939.556413][11095:11100] CHIP:DMG: AttributeStatusIB = + [1659520939.556454][11095:11100] CHIP:DMG: { + [1659520939.556491][11095:11100] CHIP:DMG: AttributePathIB = + [1659520939.556536][11095:11100] CHIP:DMG: { + [1659520939.556582][11095:11100] CHIP:DMG: Endpoint = 0x0, + [1659520939.556627][11095:11100] CHIP:DMG: Cluster = 0x1f, + [1659520939.556672][11095:11100] CHIP:DMG: Attribute = 0x0000_0000, + [1659520939.556714][11095:11100] CHIP:DMG: } + [1659520939.556761][11095:11100] CHIP:DMG: + [1659520939.556802][11095:11100] CHIP:DMG: StatusIB = + [1659520939.556847][11095:11100] CHIP:DMG: { + [1659520939.556890][11095:11100] CHIP:DMG: status = 0x00 (SUCCESS), + [1659520939.556933][11095:11100] CHIP:DMG: }, + [1659520939.556975][11095:11100] CHIP:DMG: + [1659520939.557012][11095:11100] CHIP:DMG: }, + [1659520939.557059][11095:11100] CHIP:DMG: + [1659520939.557086][11095:11100] CHIP:DMG: AttributeStatusIB = + [1659520939.557124][11095:11100] CHIP:DMG: { + [1659520939.557162][11095:11100] CHIP:DMG: AttributePathIB = + [1659520939.557204][11095:11100] CHIP:DMG: { + [1659520939.557247][11095:11100] CHIP:DMG: Endpoint = 0x0, + [1659520939.557291][11095:11100] CHIP:DMG: Cluster = 0x1f, + [1659520939.557336][11095:11100] CHIP:DMG: Attribute = 0x0000_0000, + [1659520939.557380][11095:11100] CHIP:DMG: ListIndex = Null, + [1659520939.557421][11095:11100] CHIP:DMG: } + [1659520939.557467][11095:11100] CHIP:DMG: + [1659520939.557508][11095:11100] CHIP:DMG: StatusIB = + [1659520939.557550][11095:11100] CHIP:DMG: { + [1659520939.557592][11095:11100] CHIP:DMG: status = 0x00 (SUCCESS), + [1659520939.557633][11095:11100] CHIP:DMG: }, + [1659520939.557675][11095:11100] CHIP:DMG: + [1659520939.557711][11095:11100] CHIP:DMG: }, + [1659520939.557757][11095:11100] CHIP:DMG: + [1659520939.557783][11095:11100] CHIP:DMG: AttributeStatusIB = + [1659520939.557820][11095:11100] CHIP:DMG: { + [1659520939.557857][11095:11100] CHIP:DMG: AttributePathIB = + [1659520939.557900][11095:11100] CHIP:DMG: { + [1659520939.557942][11095:11100] CHIP:DMG: Endpoint = 0x0, + [1659520939.557986][11095:11100] CHIP:DMG: Cluster = 0x1f, + [1659520939.558030][11095:11100] CHIP:DMG: Attribute = 0x0000_0000, + [1659520939.558074][11095:11100] CHIP:DMG: ListIndex = Null, + [1659520939.558115][11095:11100] CHIP:DMG: } + [1659520939.558161][11095:11100] CHIP:DMG: + [1659520939.558201][11095:11100] CHIP:DMG: StatusIB = + [1659520939.558242][11095:11100] CHIP:DMG: { + [1659520939.558284][11095:11100] CHIP:DMG: status = 0x00 (SUCCESS), + [1659520939.558325][11095:11100] CHIP:DMG: }, + [1659520939.558367][11095:11100] CHIP:DMG: + [1659520939.558403][11095:11100] CHIP:DMG: }, + [1659520939.558437][11095:11100] CHIP:DMG: + [1659520939.558460][11095:11100] CHIP:DMG: ], + [1659520939.558496][11095:11100] CHIP:DMG: + [1659520939.558520][11095:11100] CHIP:DMG: InteractionModelRevision = 1 + [1659520939.558543][11095:11100] CHIP:DMG: } + [1659520939.558675][11095:11100] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659520939.558744][11095:11100] CHIP:EM: Sending Standalone Ack for MessageCounter:55569848 on exchange 36622i + [1659520939.558835][11095:11100] CHIP:IN: Prepared secure message 0xffff8cac09e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 36622i with MessageCounter:266984012.0 + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + Step 14 Repeated with breadcrumb value as 2: + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + generalcommissioning write breadcrumb 2 1 0 + + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 2 + + 1659605418.602931][4094:4099] CHIP:EM: Rxd Ack; Removing MessageCounter:163910084 from Retrans Table on exchange 59207i + [1659605418.602988][4094:4099] CHIP:EM: Removed CHIP MessageCounter:163910084 from RetransTable on exchange 59207i + [1659605418.603031][4094:4099] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659605418.603082][4094:4099] CHIP:DMG: WriteResponseMessage = + [1659605418.603108][4094:4099] CHIP:DMG: { + [1659605418.603130][4094:4099] CHIP:DMG: AttributeStatusIBs = + [1659605418.603161][4094:4099] CHIP:DMG: [ + [1659605418.603187][4094:4099] CHIP:DMG: AttributeStatusIB = + [1659605418.603216][4094:4099] CHIP:DMG: { + [1659605418.603313][4094:4099] CHIP:DMG: AttributePathIB = + [1659605418.603348][4094:4099] CHIP:DMG: { + [1659605418.603380][4094:4099] CHIP:DMG: Endpoint = 0x0, + [1659605418.603411][4094:4099] CHIP:DMG: Cluster = 0x30, + [1659605418.603443][4094:4099] CHIP:DMG: Attribute = 0x0000_0000, + [1659605418.603471][4094:4099] CHIP:DMG: } + [1659605418.603505][4094:4099] CHIP:DMG: + [1659605418.603533][4094:4099] CHIP:DMG: StatusIB = + [1659605418.603563][4094:4099] CHIP:DMG: { + [1659605418.603592][4094:4099] CHIP:DMG: status = 0x00 (SUCCESS), + [1659605418.603621][4094:4099] CHIP:DMG: }, + [1659605418.603650][4094:4099] CHIP:DMG: + [1659605418.603676][4094:4099] CHIP:DMG: }, + [1659605418.603706][4094:4099] CHIP:DMG: + [1659605418.603729][4094:4099] CHIP:DMG: ], + [1659605418.603759][4094:4099] CHIP:DMG: + [1659605418.603784][4094:4099] CHIP:DMG: InteractionModelRevision = 1 + [1659605418.603808][4094:4099] CHIP:DMG: } + [1659605418.603879][4094:4099] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659605418.603936][4094:4099] CHIP:EM: Sending Standalone Ack for MessageCounter:94267829 on exchange 59207i + STEP15: generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 2 + + 05561.688913][4001:4006] CHIP:TOO: cluster 0x0000_0030, attribute: 0x0000_0000, endpoint 0 + [1659605561.688949][4001:4006] CHIP:TOO: Sending SubscribeAttribute to: + [1659605561.689102][4001:4006] CHIP:IN: Prepared secure message 0xaaaafae164b8 to 0x0000000000000002 (1) of type 0x3 and protocolId (0, 1) on exchange 4664i with MessageCounter:118004440. + [1659605561.689151][4001:4006] CHIP:IN: Sending encrypted msg 0xaaaafae164b8 with MessageCounter:118004440 to 0x0000000000000002 (1) at monotonic time: 0000000000EF1599 msec + [1659605561.689374][4001:4006] CHIP:DMG: MoveToState ReadClient[0xffff68008dc0]: Moving to [AwaitingIn] + [1659605561.689434][4001:4006] CHIP:EM: Sending Standalone Ack for MessageCounter:200773513 on exchange 4663i + [1659605561.689479][4001:4006] CHIP:IN: Prepared unauthenticated message 0xffff7afdd9d8 to 0x0000000000000000 (0) of type 0x10 and protocolId (0, 0) on exchange 4663i with MessageCounter:79779584. + [1659605561.689514][4001:4006] CHIP:IN: Sending unauthenticated msg 0xffff7afdd9d8 with MessageCounter:79779584 to 0x0000000000000000 at monotonic time: 0000000000EF1599 msec + [1659605561.689659][4001:4006] CHIP:EM: Flushed pending ack for MessageCounter:200773513 on exchange 4663i + [1659605561.691253][4001:4006] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:183066663 on exchange 4664i + [1659605561.691292][4001:4006] CHIP:EM: Found matching exchange: 4664i, Delegate: 0xffff68008dc0 + [1659605561.691332][4001:4006] CHIP:EM: Rxd Ack; Removing MessageCounter:118004440 from Retrans Table on exchange 4664i + [1659605561.691357][4001:4006] CHIP:EM: Removed CHIP MessageCounter:118004440 from RetransTable on exchange 4664i + [1659605561.691416][4001:4006] CHIP:DMG: ReportDataMessage = + [1659605561.691445][4001:4006] CHIP:DMG: { + [1659605561.691470][4001:4006] CHIP:DMG: SubscriptionId = 0xa9f98d48, + [1659605561.691496][4001:4006] CHIP:DMG: AttributeReportIBs = + [1659605561.691527][4001:4006] CHIP:DMG: [ + [1659605561.691553][4001:4006] CHIP:DMG: AttributeReportIB = + [1659605561.691586][4001:4006] CHIP:DMG: { + [1659605561.691644][4001:4006] CHIP:DMG: AttributeDataIB = + [1659605561.691686][4001:4006] CHIP:DMG: { + [1659605561.691720][4001:4006] CHIP:DMG: DataVersion = 0x2442fc24, + [1659605561.691756][4001:4006] CHIP:DMG: AttributePathIB = + [1659605561.691795][4001:4006] CHIP:DMG: { + [1659605561.691832][4001:4006] CHIP:DMG: Endpoint = 0x0, + [1659605561.691871][4001:4006] CHIP:DMG: Cluster = 0x30, + [1659605561.691911][4001:4006] CHIP:DMG: Attribute = 0x0000_0000, + [1659605561.691943][4001:4006] CHIP:DMG: } + [1659605561.691979][4001:4006] CHIP:DMG: + [1659605561.692014][4001:4006] CHIP:DMG: Data = 2, + [1659605561.692049][4001:4006] CHIP:DMG: }, + [1659605561.692086][4001:4006] CHIP:DMG: + [1659605561.692115][4001:4006] CHIP:DMG: }, + [1659605561.692147][4001:4006] CHIP:DMG: + [1659605561.692172][4001:4006] CHIP:DMG: ], + [1659605561.692202][4001:4006] CHIP:DMG: + [1659605561.692227][4001:4006] CHIP:DMG: InteractionModelRevision = 1 + [1659605561.692254][4001:4006] CHIP:DMG: } + [1659605561.692377][4001:4006] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369700 + [1659605561.692433][4001:4006] CHIP:TOO: Breadcrumb: 2 + [1659605561.692482][4001:4006] CHIP:DMG: MoveToState ReadClient[0xffff68008dc0]: Moving to [AwaitingSu] + [1659605561.692544][4001:4006] CHIP:EM: Piggybacking Ack for MessageCounter:183066663 on exchange: 4664i + [1659605561.692617][4001:4006] CHIP:IN: Prepared secure message 0xaaaafae164b8 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 4664i with MessageCounter:118004441. + [1659605561.692657][4001:4006] CHIP:IN: Sending encrypted msg 0xaaaafae164b8 with MessageCounter:118004441 to 0x0000000000000002 (1) at monotonic time: 0000000000EF159D msec + disabled: true + + - label: + "TH2 subscribes to the Node Operational Credentials cluster NOCs + attribute, min interval 1, max interval 30, keep subscriptions false, + fabric-filtered false." + verification: | + Pls run this test in chip tool interactive mode ./chip-tool interactive start + + + operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659609401.305167][4449:4454] CHIP:DMG: ] (231 bytes) + [1659609401.305201][4449:4454] CHIP:DMG: 0xfe = 2, + [1659609401.305234][4449:4454] CHIP:DMG: }, + [1659609401.305262][4449:4454] CHIP:DMG: }, + [1659609401.305295][4449:4454] CHIP:DMG: + [1659609401.305321][4449:4454] CHIP:DMG: }, + [1659609401.305354][4449:4454] CHIP:DMG: + [1659609401.305378][4449:4454] CHIP:DMG: ], + [1659609401.305419][4449:4454] CHIP:DMG: + [1659609401.305443][4449:4454] CHIP:DMG: InteractionModelRevision = 1 + [1659609401.305466][4449:4454] CHIP:DMG: } + [1659609401.305752][4449:4454] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4289922693 + [1659609401.305819][4449:4454] CHIP:TOO: NOCs: 2 entries + [1659609401.305855][4449:4454] CHIP:TOO: [1]: { + [1659609401.305882][4449:4454] CHIP:TOO: Noc: + [1659609401.305905][4449:4454] CHIP:TOO: Icac: null + [1659609401.305932][4449:4454] CHIP:TOO: FabricIndex: 1 + [1659609401.305956][4449:4454] CHIP:TOO: } + [1659609401.305990][4449:4454] CHIP:TOO: [2]: { + [1659609401.306026][4449:4454] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104ADC43E671874BF001C1CC210AD71F455F75BE24560CB5A565E92C6BB854CE84B1A128AF3A61F28F88C35E913D527BF189055B9DF67541003F183E4093414A7ED370A3501280118240201360304020401183004140AED7FF3068DFC9984688DD15CFE6361ECD1E935300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40311EC7DC99457821261CA350EB2F2C380D988FCDDC6798B695486759EA1F7D706E0204103DA42BA250AD9D6F6EA014E6BC65D74D42E3E72D109EB32B0DD547B218 + [1659609401.306066][4449:4454] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659609401.306094][4449:4454] CHIP:TOO: FabricIndex: 2 + [1659609401.306117][4449:4454] CHIP:TOO: } + [1659609401.306164][4449:4454] CHIP:DMG: MoveToState ReadClient[0xffffa0008130]: Moving to [AwaitingSu] + [1659609401.306227][4449:4454] CHIP:EM: Piggybacking Ack for MessageCounter:111243995 on exchange: 13959i + [1659609401.306310][4449:4454] CHIP:IN: Prepared secure message 0xffffa0006e58 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 13959i with MessageCounter:128744678. + [1659609401.306354][4449:4454] CHIP:IN: Sending encrypted msg 0xffffa0006e58 with MessageCounter:128744678 to 0x0000000000000002 (1) at monotonic time: 000000000129AC1A msec + [1659609401.307867][4449:4454] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:111243996 on exchange 13959i + [1659609401.307952][4449:4454] CHIP:EM: Found matching exchange: 13959i, Delegate: 0xffffa0008130 + [1659609401.307993][4449:4454] CHIP:EM: Rxd Ack; Removing MessageCounter:128744678 from Retrans Table on exchange 13959i + [1659609401.308018][4449:4454] CHIP:EM: Removed CHIP MessageCounter:128744678 from RetransTable on exc + disabled: true + + - label: + "TH2 subscribes to the Access Control cluster + AccessControlEntryChanged event, min interval 1, max interval 30, keep + subscriptions true" + verification: | + STEP 5:Pls run this test in chip tool interactive mode ./chip-tool interactive start + accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659609456.028409][4449:4454] CHIP:EM: Found matching exchange: 13960i, Delegate: 0xffffa0007320 + [1659609456.028492][4449:4454] CHIP:EM: Rxd Ack; Removing MessageCounter:128744681 from Retrans Table on exchange 13960i + [1659609456.028552][4449:4454] CHIP:EM: Removed CHIP MessageCounter:128744681 from RetransTable on exchange 13960i + [1659609456.028688][4449:4454] CHIP:DMG: ReportDataMessage = + [1659609456.028758][4449:4454] CHIP:DMG: { + [1659609456.028818][4449:4454] CHIP:DMG: SubscriptionId = 0x107c5876, + [1659609456.028882][4449:4454] CHIP:DMG: EventReportIBs = + [1659609456.028978][4449:4454] CHIP:DMG: [ + [1659609456.029040][4449:4454] CHIP:DMG: EventReportIB = + [1659609456.029138][4449:4454] CHIP:DMG: { + [1659609456.029202][4449:4454] CHIP:DMG: EventDataIB = + [1659609456.029283][4449:4454] CHIP:DMG: { + [1659609456.029355][4449:4454] CHIP:DMG: EventPath = + [1659609456.029437][4449:4454] CHIP:DMG: { + [1659609456.029518][4449:4454] CHIP:DMG: Endpoint = 0x0, + [1659609456.029605][4449:4454] CHIP:DMG: Cluster = 0x1f, + [1659609456.029689][4449:4454] CHIP:DMG: Event = 0x0, + [1659609456.029770][4449:4454] CHIP:DMG: }, + [1659609456.029848][4449:4454] CHIP:DMG: + [1659609456.029959][4449:4454] CHIP:DMG: EventNumber = 0x6, + [1659609456.030058][4449:4454] CHIP:DMG: PriorityLevel = 0x1, + [1659609456.030148][4449:4454] CHIP:DMG: SystemTimestamp = 0x11c26fa, + [1659609456.030229][4449:4454] CHIP:DMG: EventData = + [1659609456.030310][4449:4454] CHIP:DMG: { + [1659609456.030395][4449:4454] CHIP:DMG: 0x1 = NULL + [1659609456.030483][4449:4454] CHIP:DMG: 0x2 = 0, + [1659609456.030569][4449:4454] CHIP:DMG: 0x3 = 1, + [1659609456.030650][4449:4454] CHIP:DMG: 0x4 = + [1659609456.030727][4449:4454] CHIP:DMG: { + [1659609456.030825][4449:4454] CHIP:DMG: 0x1 = 5, + [1659609456.030911][4449:4454] CHIP:DMG: 0x2 = 2, + [1659609456.030992][4449:4454] CHIP:DMG: 0x3 = [ + [1659609456.031077][4449:4454] CHIP:DMG: 112233, + [1659609456.031170][4449:4454] CHIP:DMG: ], + [1659609456.031253][4449:4454] CHIP:DMG: 0x4 = NULL + [1659609456.031338][4449:4454] CHIP:DMG: 0xfe = 2, + [1659609456.031420][4449:4454] CHIP:DMG: }, + [1659609456.031499][4449:4454] CHIP:DMG: 0xfe = 2, + [1659609456.031576][4449:4454] CHIP:DMG: }, + [1659609456.031699][4449:4454] CHIP:DMG: }, + [1659609456.031812][4449:4454] CHIP:DMG: + [1659609456.031876][4449:4454] CHIP:DMG: }, + [1659609456.031963][4449:4454] CHIP:DMG: + [1659609456.032023][4449:4454] CHIP:DMG: ], + [1659609456.032111][4449:4454] CHIP:DMG: + [1659609456.032169][4449:4454] CHIP:DMG: InteractionModelRevision = 1 + [1659609456.032227][4449:4454] CHIP:DMG: } + [1659609456.032565][4449:4454] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 + [1659609456.032627][4449:4454] CHIP:TOO: Event number: 6 + [1659609456.032676][4449:4454] CHIP:TOO: Priority: Info + [1659609456.032721][4449:4454] CHIP:TOO: Timestamp: 18622202 + [1659609456.032845][4449:4454] CHIP:TOO: AccessControlEntryChanged: { + [1659609456.032910][4449:4454] CHIP:TOO: AdminNodeID: null + [1659609456.032972][4449:4454] CHIP:TOO: AdminPasscodeID: 0 + [1659609456.033033][4449:4454] CHIP:TOO: ChangeType: 1 + [1659609456.033091][4449:4454] CHIP:TOO: LatestValue: { + [1659609456.033146][4449:4454] CHIP:TOO: Privilege: 5 + [1659609456.033203][4449:4454] CHIP:TOO: AuthMode: 2 + [1659609456.033270][4449:4454] CHIP:TOO: Subjects: 1 entries + [1659609456.033339][4449:4454] CHIP:TOO: [1]: 112233 + [1659609456.033403][4449:4454] CHIP:TOO: Targets: null + [1659609456.033461][4449:4454] CHIP:TOO: FabricIndex: 2 + [1659609456.033517][4449:4454] CHIP:TOO: } + [1659609456.033573][4449:4454] CHIP:TOO: AdminFabricIndex: 2 + [1659609456.033628][4449:4454] CHIP:TOO: } + [1659609456.033772][4449:4454] CHIP:DMG: MoveToState ReadClient[0xffffa0007320]: Moving to [AwaitingSu] + [1659609456.034018][4449:4454] CHIP:EM: Piggybacking Ack for MessageCounter:111243999 on exchange: 13960i + disabled: true + + - label: "Repeat step 5 to ensure TH2 can still subscribe to view events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659605954.366114][4022:4027] CHIP:EM: Found matching exchange: 46506i, Delegate: 0xffff94008e40 + [1659605954.366193][4022:4027] CHIP:EM: Rxd Ack; Removing MessageCounter:106194597 from Retrans Table on exchange 46506i + [1659605954.366256][4022:4027] CHIP:EM: Removed CHIP MessageCounter:106194597 from RetransTable on exchange 46506i + [1659605954.366373][4022:4027] CHIP:DMG: ReportDataMessage = + [1659605954.366442][4022:4027] CHIP:DMG: { + [1659605954.366504][4022:4027] CHIP:DMG: SubscriptionId = 0x3ab5320, + [1659605954.366567][4022:4027] CHIP:DMG: AttributeReportIBs = + [1659605954.366642][4022:4027] CHIP:DMG: [ + [1659605954.366703][4022:4027] CHIP:DMG: AttributeReportIB = + [1659605954.366790][4022:4027] CHIP:DMG: { + [1659605954.366855][4022:4027] CHIP:DMG: AttributeDataIB = + [1659605954.366929][4022:4027] CHIP:DMG: { + [1659605954.367011][4022:4027] CHIP:DMG: DataVersion = 0x2442fc24, + [1659605954.367090][4022:4027] CHIP:DMG: AttributePathIB = + [1659605954.367171][4022:4027] CHIP:DMG: { + [1659605954.367260][4022:4027] CHIP:DMG: Endpoint = 0x0, + [1659605954.367346][4022:4027] CHIP:DMG: Cluster = 0x30, + [1659605954.367429][4022:4027] CHIP:DMG: Attribute = 0x0000_0000, + [1659605954.367507][4022:4027] CHIP:DMG: } + [1659605954.367593][4022:4027] CHIP:DMG: + [1659605954.367724][4022:4027] CHIP:DMG: Data = 2, + [1659605954.367803][4022:4027] CHIP:DMG: }, + [1659605954.367879][4022:4027] CHIP:DMG: + [1659605954.367947][4022:4027] CHIP:DMG: }, + [1659605954.368020][4022:4027] CHIP:DMG: + [1659605954.368079][4022:4027] CHIP:DMG: ], + [1659605954.368151][4022:4027] CHIP:DMG: + [1659605954.368210][4022:4027] CHIP:DMG: InteractionModelRevision = 1 + [1659605954.368267][4022:4027] CHIP:DMG: } + [1659605954.368474][4022:4027] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369700 + [1659605954.368553][4022:4027] CHIP:TOO: Breadcrumb: 2 + [1659605954.368638][4022:4027] CHIP:DMG: MoveToState ReadClient[0xffff94008e40]: Moving to [AwaitingSu] + [1659605954.368743][4022:4027] CHIP:EM: Piggybacking Ack for MessageCounter:48011447 on exchange: 46506i + [1659605954.368867][4022:4027] CHIP:IN: Prepared secure message 0xffff94005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 46506i with MessageCounter:106194598. + [1659605954.368952][4022:4027] CHIP:IN: Sending encrypted msg 0xffff94005878 with MessageCounter:106194598 to 0x0000000000000002 (1) at monotonic time: 0000000000F51381 msec + [1659605954.370597][4022:4027] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:48011448 on exchange 46506i + [1659605954.370674][4022:4027] CHIP:EM: Found matching exchange: 46506i, Delegate: 0xffff94008e40 + [1659605954.370746][4022:4027] CHIP:EM: Rxd Ack; Removing MessageCounter:106194598 from Retrans Table on exchange 46506i + [1659605954.370808][4022:4027] CHIP:EM: Removed CHIP MessageCounter:106194598 from RetransT + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + STEP 14 + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + generalcommissioning write breadcrumb 3 1 0 + + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 3 + [1659606118.724408][4143:4148] CHIP:EM: Flushed pending ack for MessageCounter:200773521 on exchange 53589i + [1659606118.726074][4143:4148] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:133368587 on exchange 53590i + [1659606118.726120][4143:4148] CHIP:EM: Found matching exchange: 53590i, Delegate: 0xffff90003c50 + [1659606118.726171][4143:4148] CHIP:EM: Rxd Ack; Removing MessageCounter:14384618 from Retrans Table on exchange 53590i + [1659606118.726207][4143:4148] CHIP:EM: Removed CHIP MessageCounter:14384618 from RetransTable on exchange 53590i + [1659606118.726249][4143:4148] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659606118.726311][4143:4148] CHIP:DMG: WriteResponseMessage = + [1659606118.726347][4143:4148] CHIP:DMG: { + [1659606118.726379][4143:4148] CHIP:DMG: AttributeStatusIBs = + [1659606118.726423][4143:4148] CHIP:DMG: [ + [1659606118.726459][4143:4148] CHIP:DMG: AttributeStatusIB = + [1659606118.726502][4143:4148] CHIP:DMG: { + [1659606118.726537][4143:4148] CHIP:DMG: AttributePathIB = + [1659606118.726580][4143:4148] CHIP:DMG: { + [1659606118.726624][4143:4148] CHIP:DMG: Endpoint = 0x0, + [1659606118.726673][4143:4148] CHIP:DMG: Cluster = 0x30, + [1659606118.726718][4143:4148] CHIP:DMG: Attribute = 0x0000_0000, + [1659606118.726761][4143:4148] CHIP:DMG: } + [1659606118.726808][4143:4148] CHIP:DMG: + [1659606118.726853][4143:4148] CHIP:DMG: StatusIB = + [1659606118.726894][4143:4148] CHIP:DMG: { + [1659606118.726934][4143:4148] CHIP:DMG: status = 0x00 (SUCCESS), + [1659606118.726997][4143:4148] CHIP:DMG: }, + [1659606118.727039][4143:4148] CHIP:DMG: + [1659606118.727126][4143:4148] CHIP:DMG: }, + [1659606118.727170][4143:4148] CHIP:DMG: + [1659606118.727205][4143:4148] CHIP:DMG: ], + [1659606118.727273][4143:4148] CHIP:DMG: + [1659606118.727309][4143:4148] CHIP:DMG: InteractionModelRevision = 1 + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 15:generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 3 + [1659606357.654547][4051:4056] CHIP:EM: Rxd Ack; Removing MessageCounter:35929555 from Retrans Table on exchange 22098i + [1659606357.654600][4051:4056] CHIP:EM: Removed CHIP MessageCounter:35929555 from RetransTable on exchange 22098i + [1659606357.654702][4051:4056] CHIP:DMG: ReportDataMessage = + [1659606357.654762][4051:4056] CHIP:DMG: { + [1659606357.654814][4051:4056] CHIP:DMG: SubscriptionId = 0xc7cb41ba, + [1659606357.654865][4051:4056] CHIP:DMG: AttributeReportIBs = + [1659606357.654930][4051:4056] CHIP:DMG: [ + [1659606357.654982][4051:4056] CHIP:DMG: AttributeReportIB = + [1659606357.655051][4051:4056] CHIP:DMG: { + [1659606357.655105][4051:4056] CHIP:DMG: AttributeDataIB = + [1659606357.655186][4051:4056] CHIP:DMG: { + [1659606357.655256][4051:4056] CHIP:DMG: DataVersion = 0x2442fc25, + [1659606357.655320][4051:4056] CHIP:DMG: AttributePathIB = + [1659606357.655390][4051:4056] CHIP:DMG: { + [1659606357.655461][4051:4056] CHIP:DMG: Endpoint = 0x0, + [1659606357.655539][4051:4056] CHIP:DMG: Cluster = 0x30, + [1659606357.655649][4051:4056] CHIP:DMG: Attribute = 0x0000_0000, + [1659606357.655702][4051:4056] CHIP:DMG: } + [1659606357.655742][4051:4056] CHIP:DMG: + [1659606357.655778][4051:4056] CHIP:DMG: Data = 3, + [1659606357.655826][4051:4056] CHIP:DMG: }, + [1659606357.655863][4051:4056] CHIP:DMG: + [1659606357.655891][4051:4056] CHIP:DMG: }, + [1659606357.655923][4051:4056] CHIP:DMG: + [1659606357.655948][4051:4056] CHIP:DMG: ], + [1659606357.655980][4051:4056] CHIP:DMG: + [1659606357.656006][4051:4056] CHIP:DMG: InteractionModelRevision = 1 + [1659606357.656031][4051:4056] CHIP:DMG: } + [1659606357.656158][4051:4056] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369701 + [1659606357.656213][4051:4056] CHIP:TOO: Breadcrumb: 3 + [1659606357.656264][4051:4056] CHIP:DMG: MoveToState ReadClient[0xffff78008ef0]: Moving to [AwaitingSu] + [1659606357.656316][4051:4056] CHIP:EM: Piggybacking Ack for MessageCounter:42249855 on exchange: 22098i + [1659606357.656374][4051:4056] CHIP:IN: Prepared secure message 0xffff78005928 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 22098i with MessageCounter:35929556. + [1659606357.656413][4051:4056] CHIP:IN: Sending encrypted msg 0xffff78005928 with MessageCounter:35929556 to 0x0000000000000002 (1) at monotonic time: 0000000000FB3AD8 msec + [1659606357.657758][4051:4056] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:42249856 on exchange 22098i + [1659606357.657791][4051:4056] CHIP:EM: Found matching exchange: 22098i, Delegate: 0xffff78008ef0 + [1659606357.657822][4051:4056] CHIP:EM: Rxd Ack; Removing MessageCounter:35929556 from Retrans Table on exchange 2209 + disabled: true + + - label: + "TH1 writes AccessControl cluster ACL attribute, value is a list of + AccessControlEntryStruct containing 2 elements: struct Privilege + field: Administer (5) AuthMode field: CASE (2) Subjects field: [N1] + Targets field: [{Endpoint: 0}] struct Privilege field: Operate (3) + AuthMode field: CASE (2) Subjects field: [N2] Targets field: + [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]},{"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659523745.098149][11363:11368] CHIP:EM: Flushed pending ack for MessageCounter:126320339 on exchange 61753i + [1659523745.112492][11363:11368] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:214127286 on exchange 61754i + [1659523745.112533][11363:11368] CHIP:EM: Found matching exchange: 61754i, Delegate: 0xffff78003f40 + [1659523745.112575][11363:11368] CHIP:EM: Rxd Ack; Removing MessageCounter:89140528 from Retrans Table on exchange 61754i + [1659523745.112597][11363:11368] CHIP:EM: Removed CHIP MessageCounter:89140528 from RetransTable on exchange 61754i + [1659523745.112631][11363:11368] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659523745.112690][11363:11368] CHIP:DMG: WriteResponseMessage = + [1659523745.112713][11363:11368] CHIP:DMG: { + [1659523745.112734][11363:11368] CHIP:DMG: AttributeStatusIBs = + [1659523745.112794][11363:11368] CHIP:DMG: [ + [1659523745.112822][11363:11368] CHIP:DMG: AttributeStatusIB = + [1659523745.112855][11363:11368] CHIP:DMG: { + [1659523745.112898][11363:11368] CHIP:DMG: AttributePathIB = + [1659523745.112939][11363:11368] CHIP:DMG: { + [1659523745.112974][11363:11368] CHIP:DMG: Endpoint = 0x0, + [1659523745.113011][11363:11368] CHIP:DMG: Cluster = 0x1f, + [1659523745.113050][11363:11368] CHIP:DMG: Attribute = 0x0000_0000, + [1659523745.113086][11363:11368] CHIP:DMG: } + [1659523745.113123][11363:11368] CHIP:DMG: + [1659523745.113197][11363:11368] CHIP:DMG: StatusIB = + [1659523745.113235][11363:11368] CHIP:DMG: { + [1659523745.113280][11363:11368] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523745.113315][11363:11368] CHIP:DMG: }, + [1659523745.113357][11363:11368] CHIP:DMG: + [1659523745.113386][11363:11368] CHIP:DMG: }, + [1659523745.113434][11363:11368] CHIP:DMG: + [1659523745.113462][11363:11368] CHIP:DMG: AttributeStatusIB = + [1659523745.113507][11363:11368] CHIP:DMG: { + [1659523745.113537][11363:11368] CHIP:DMG: AttributePathIB = + [1659523745.113578][11363:11368] CHIP:DMG: { + [1659523745.113615][11363:11368] CHIP:DMG: Endpoint = 0x0, + [1659523745.113651][11363:11368] CHIP:DMG: Cluster = 0x1f, + [1659523745.113697][11363:11368] CHIP:DMG: Attribute = 0x0000_0000, + [1659523745.113742][11363:11368] CHIP:DMG: ListIndex = Null, + [1659523745.113777][11363:11368] CHIP:DMG: } + [1659523745.113824][11363:11368] CHIP:DMG: + [1659523745.113856][11363:11368] CHIP:DMG: StatusIB = + [1659523745.113898][11363:11368] CHIP:DMG: { + [1659523745.113932][11363:11368] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523745.113975][11363:11368] CHIP:DMG: }, + [1659523745.114009][11363:11368] CHIP:DMG: + [1659523745.114037][11363:11368] CHIP:DMG: }, + [1659523745.114086][11363:11368] CHIP:DMG: + [1659523745.114121][11363:11368] CHIP:DMG: AttributeStatusIB = + [1659523745.114152][11363:11368] CHIP:DMG: { + [1659523745.114190][11363:11368] CHIP:DMG: AttributePathIB = + [1659523745.114223][11363:11368] CHIP:DMG: { + [1659523745.114267][11363:11368] CHIP:DMG: Endpoint = 0x0, + [1659523745.114302][11363:11368] CHIP:DMG: Cluster = 0x1f, + [1659523745.114346][11363:11368] CHIP:DMG: Attribute = 0x0000_0000, + [1659523745.114389][11363:11368] CHIP:DMG: ListIndex = Null, + [1659523745.114425][11363:11368] CHIP:DMG: } + [1659523745.114463][11363:11368] CHIP:DMG: + [1659523745.114494][11363:11368] CHIP:DMG: StatusIB = + [1659523745.114529][11363:11368] CHIP:DMG: { + [1659523745.114562][11363:11368] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523745.114594][11363:11368] CHIP:DMG: }, + [1659523745.114627][11363:11368] CHIP:DMG: + [1659523745.114655][11363:11368] CHIP:DMG: }, + [1659523745.114687][11363:11368] CHIP:DMG: + [1659523745.114712][11363:11368] CHIP:DMG: ], + [1659523745.114750][11363:11368] CHIP:DMG: + [1659523745.114774][11363:11368] CHIP:DMG: InteractionModelRevision = 1 + [1659523745.114799][11363:11368] CHIP:DMG: } + [1659523745.114942][11363:11368] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659523745.115009][11363:11368] CHIP:EM: Sending Standalone Ack for MessageCounter:214127286 on exchange 61754i + [1659523745.115090][11363:11368] CHIP:IN: Prepared secure message 0xffff7fffd9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 61754i with MessageCounter:89140529. + [1659523745.115131][11363:11368] CHIP:IN: Sending encrypted msg 0xffff7fffd9e8 with MessageCounter:89140529 to 0x0000000000000001 (1) at monotonic time: 0000000006854BB3 msec + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + STEP 14 + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + generalcommissioning write breadcrumb 4 1 0 + + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 4 + + [1659606523.334582][4167:4172] CHIP:EM: Found matching exchange: 31451i, Delegate: 0xffff88003f40 + [1659606523.334668][4167:4172] CHIP:EM: Rxd Ack; Removing MessageCounter:78936906 from Retrans Table on exchange 31451i + [1659606523.334733][4167:4172] CHIP:EM: Removed CHIP MessageCounter:78936906 from RetransTable on exchange 31451i + [1659606523.334806][4167:4172] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659606523.334908][4167:4172] CHIP:DMG: WriteResponseMessage = + [1659606523.334973][4167:4172] CHIP:DMG: { + [1659606523.335029][4167:4172] CHIP:DMG: AttributeStatusIBs = + [1659606523.335100][4167:4172] CHIP:DMG: [ + [1659606523.335154][4167:4172] CHIP:DMG: AttributeStatusIB = + [1659606523.335275][4167:4172] CHIP:DMG: { + [1659606523.335352][4167:4172] CHIP:DMG: AttributePathIB = + [1659606523.335441][4167:4172] CHIP:DMG: { + [1659606523.335533][4167:4172] CHIP:DMG: Endpoint = 0x0, + [1659606523.335627][4167:4172] CHIP:DMG: Cluster = 0x30, + [1659606523.335719][4167:4172] CHIP:DMG: Attribute = 0x0000_0000, + [1659606523.335806][4167:4172] CHIP:DMG: } + [1659606523.335903][4167:4172] CHIP:DMG: + [1659606523.335966][4167:4172] CHIP:DMG: StatusIB = + [1659606523.336054][4167:4172] CHIP:DMG: { + [1659606523.336137][4167:4172] CHIP:DMG: status = 0x00 (SUCCESS), + [1659606523.336216][4167:4172] CHIP:DMG: }, + [1659606523.336289][4167:4172] CHIP:DMG: + [1659606523.336349][4167:4172] CHIP:DMG: }, + [1659606523.336428][4167:4172] CHIP:DMG: + [1659606523.336487][4167:4172] CHIP:DMG: ], + [1659606523.336561][4167:4172] CHIP:DMG: + [1659606523.336620][4167:4172] CHIP:DMG: InteractionModelRevision = 1 + [1659606523.336679][4167:4172] CHIP:DMG: } + [1659606523.336839][4167:4172] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659606523.336945][4167:4172] CHIP:EM: Sending Standalone Ack for MessageCounter:233663941 on exchange 31451i + [1659606523.337083][4167:4172] CHIP:IN: Prepared secure message 0xffff9e3fc9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 31451i with MessageCounter:78936907. + [1659606523.337184][4167:4172] CHIP:IN: Sending encrypted msg 0xffff9e3fc9e8 with MessageCounter:78936907 to 0x000000 + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + Step 15: generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 4 [1659606586.957973][4051:4056] CHIP:IN: Sending encrypted msg 0xffff78005928 with MessageCounter:35929566 to 0x0000000000000002 (1) at monotonic time: 0000000000FEBA8E msec + [1659606586.958178][4051:4056] CHIP:DMG: MoveToState ReadClient[0xffff78008fe0]: Moving to [AwaitingIn] + [1659606586.962174][4051:4056] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:42249873 on exchange 22099i + [1659606586.962225][4051:4056] CHIP:EM: Found matching exchange: 22099i, Delegate: 0xffff78008fe0 + [1659606586.962266][4051:4056] CHIP:EM: Rxd Ack; Removing MessageCounter:35929566 from Retrans Table on exchange 22099i + [1659606586.962291][4051:4056] CHIP:EM: Removed CHIP MessageCounter:35929566 from RetransTable on exchange 22099i + [1659606586.962352][4051:4056] CHIP:DMG: ReportDataMessage = + [1659606586.962382][4051:4056] CHIP:DMG: { + [1659606586.962407][4051:4056] CHIP:DMG: SubscriptionId = 0x9013dbc, + [1659606586.962433][4051:4056] CHIP:DMG: AttributeReportIBs = + [1659606586.962464][4051:4056] CHIP:DMG: [ + [1659606586.962489][4051:4056] CHIP:DMG: AttributeReportIB = + [1659606586.962522][4051:4056] CHIP:DMG: { + [1659606586.962548][4051:4056] CHIP:DMG: AttributeDataIB = + [1659606586.962584][4051:4056] CHIP:DMG: { + [1659606586.962617][4051:4056] CHIP:DMG: DataVersion = 0x2442fc26, + [1659606586.962653][4051:4056] CHIP:DMG: AttributePathIB = + [1659606586.962691][4051:4056] CHIP:DMG: { + [1659606586.962730][4051:4056] CHIP:DMG: Endpoint = 0x0, + [1659606586.962769][4051:4056] CHIP:DMG: Cluster = 0x30, + [1659606586.962809][4051:4056] CHIP:DMG: Attribute = 0x0000_0000, + [1659606586.962846][4051:4056] CHIP:DMG: } + [1659606586.962881][4051:4056] CHIP:DMG: + [1659606586.962916][4051:4056] CHIP:DMG: Data = 4, + [1659606586.962951][4051:4056] CHIP:DMG: }, + [1659606586.962985][4051:4056] CHIP:DMG: + [1659606586.963010][4051:4056] CHIP:DMG: }, + [1659606586.963041][4051:4056] CHIP:DMG: + [1659606586.963065][4051:4056] CHIP:DMG: ], + [1659606586.963097][4051:4056] CHIP:DMG: + [1659606586.963121][4051:4056] CHIP:DMG: InteractionModelRevision = 1 + [1659606586.963144][4051:4056] CHIP:DMG: } + [1659606586.963238][4051:4056] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369702 + [1659606586.963276][4051:4056] CHIP:TOO: Breadcrumb: 4 + [1659606586.963313][4051:4056] CHIP:DMG: MoveToState ReadClient[0xffff78008fe0]: Moving to [AwaitingSu] + [1659606586.963374][4051:4056] CHIP:EM: Piggybacking Ack for MessageCounter:42249873 on exchange: 22099i + [1659606586.963444][4051:4056] CHIP:IN: Prepared secure message 0xffff78005928 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 22099i with MessageCounter:35929567. + [1659606586.963484][4051:4056] CHIP:IN: Sending encrypted msg 0xffff78005928 with MessageCounter:35929567 to 0x0000000000000002 (1) at monotonic time: 0000000000FEBA93 msec + [1659606586.965291][4051:4056] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:42249874 on exchange 22099i + [1659606586.965336][4051:4056] CHIP:EM: Found matching exchange: 22099i, Delegate: 0xffff78008fe0 + [1659606586.965371][4051:4056] CHIP:EM: Rxd Ack; Removing MessageCounter:35929567 from Retrans Table on exchange 22099i + disabled: true + + - label: + "Repeat steps 18 to 19 to ensure TH2 still does not have permissions + to subscribe to administer-privilege attributes and events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + STEP 18: operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + [1659612832.868704][4965:4970] CHIP:DMG: ] (231 bytes) + [1659612832.868755][4965:4970] CHIP:DMG: 0xfe = 2, + [1659612832.868801][4965:4970] CHIP:DMG: }, + [1659612832.868846][4965:4970] CHIP:DMG: }, + [1659612832.868895][4965:4970] CHIP:DMG: + [1659612832.868931][4965:4970] CHIP:DMG: }, + [1659612832.868977][4965:4970] CHIP:DMG: + [1659612832.869009][4965:4970] CHIP:DMG: ], + [1659612832.869063][4965:4970] CHIP:DMG: + [1659612832.869096][4965:4970] CHIP:DMG: InteractionModelRevision = 1 + [1659612832.869128][4965:4970] CHIP:DMG: } + [1659612832.869489][4965:4970] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 296706937 + [1659612832.869578][4965:4970] CHIP:TOO: NOCs: 2 entries + [1659612832.869639][4965:4970] CHIP:TOO: [1]: { + [1659612832.869676][4965:4970] CHIP:TOO: Noc: + [1659612832.869707][4965:4970] CHIP:TOO: Icac: null + [1659612832.869741][4965:4970] CHIP:TOO: FabricIndex: 1 + [1659612832.869772][4965:4970] CHIP:TOO: } + [1659612832.869816][4965:4970] CHIP:TOO: [2]: { + [1659612832.869865][4965:4970] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104DD7D445EB8321A5B25DC788835CF2FA5332AA2CA25659D68A15168A75A20D4C72846A44FEE2AFB6E2E7EA39BB2A65D0FC2548A51E42A7D7FEAA005EBD481121F370A350128011824020136030402040118300414A02C8D19F9BF72351909681A02E5BD88122780F5300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40BC7C77F5CF49D8DB52F41529C48CD8122C3AAFE1224B0035738AA447527D192699964EDA250DC340D6AFC4ED14524DF8F53EF483B292326E97E12899A8B90FD418 + [1659612832.869918][4965:4970] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659612832.869956][4965:4970] CHIP:TOO: FabricIndex: 2 + [1659612832.869986][4965:4970] CHIP:TOO: } + [1659612832.870046][4965:4970] CHIP:DMG: MoveToState ReadClient[0xffff68009050]: Moving to [AwaitingSu] + [1659612832.870110][4965:4970] CHIP:EM: Piggybacking Ack for MessageCounter:260335018 on exchange: 46941i + [1659612832.870188][4965:4970] CHIP:IN: Prepared secure message 0xaaab20de5348 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 46941i with MessageCounter:62837154. + [1659612832.870239][4965:4970] CHIP:IN: Sending encrypted msg 0xaaab20de5348 with MessageCounter:62837154 to 0x0000000000000002 (1) at monotonic time: 00000000015E08A6 msec + [1659612832.872062][4965:4970] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:260335019 on exchange 46941i + [1659612832.872107][4965:4970] CHIP:EM: Found matching exchange: 46941i, Delegate: 0xffff68009050 + [1659612832.872149][4965:4970] CHIP:EM: Rxd Ack; Removing MessageCounter:62837154 from Retrans Table on exchange 46941i + [1659612832.872182][4965:4970] CHIP:EM: Removed CHIP MessageCounter:62837154 from RetransTable on exchange 46941i + [1659612832.872236][4965:4970] CHIP:DMG: SubscribeResponseMessage = + [1659612832.872273][4965:4970] CHIP:DMG: { + [1659612832.872305][4965:4970] CHIP:DMG: SubscriptionId = 0x3277cd67, + [1659612832.872340][4965:4970] CHIP:DMG: MaxInterval = 0x1e, + [1659612832.872373][4965:4970] CHIP:DMG: InteractionModelRevision = 1 + [1659612832.872405][4965:4970] CHIP:DMG: } + [1659612832.872440][4965:4970] CHIP:DMG: Subscription established with SubscriptionID = 0x3277cd67 MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002 + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + STEP 19 : accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + + [1659610892.416754][4592:4597] CHIP:EM: Found matching exchange: 39361r, Delegate: (nil) + [1659610892.416830][4592:4597] CHIP:EM: Rxd Ack; Removing MessageCounter:22301879 from Retrans Table on exchange 39361r + [1659610892.416890][4592:4597] CHIP:EM: Removed CHIP MessageCounter:22301879 from RetransTable on exchange 39361r + [1659610922.443438][4592:4597] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:229300487 on exchange 39362r + [1659610922.443571][4592:4597] CHIP:EM: Handling via exchange: 39362r, Delegate: 0xaaaabd30d5a8 + [1659610922.443783][4592:4597] CHIP:DMG: ReportDataMessage = + [1659610922.443853][4592:4597] CHIP:DMG: { + [1659610922.443915][4592:4597] CHIP:DMG: SubscriptionId = 0x731365d6, + [1659610922.443979][4592:4597] CHIP:DMG: InteractionModelRevision = 1 + [1659610922.444038][4592:4597] CHIP:DMG: } + [1659610922.444136][4592:4597] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0x731365d6 Peer = 01:0000000000000002 + [1659610922.444243][4592:4597] CHIP:EM: Piggybacking Ack for MessageCounter:229300487 on exchange: 39362r + [1659610922.444369][4592:4597] CHIP:IN: Prepared secure message 0xaaaabfb9a348 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 39362r with MessageCounter:22301880. + [1659610922.444458][4592:4597] CHIP:IN: Sending encrypted msg 0xaaaabfb9a348 with MessageCounter:22301880 to 0x0000000000000002 (1) at monotonic time: 000000000140E20C msec + [1659610922.446582][4592:4597] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:229300488 on exchange 39362r + [1659610922.446661][4592:4597] CHIP:EM: Found matching exchange: 39362r, Delegate: (nil) + [1659610922.446736][4592:4597] CHIP:EM: Rxd Ack; Removing MessageCounter:22301880 from Retrans Table on exchange 39362r + [1659610922.446795][4592:4597] CHIP:EM: Removed CHIP MessageCounter:22301880 from RetransTable on exchange 39362r + disabled: true + + - label: "Repeat step 5 to ensure TH2 can still subscribe to view events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 5: generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + [1659606749.724339][4073:4078] CHIP:EM: Removed CHIP MessageCounter:226909963 from RetransTable on exchange 4224i + [1659606749.724415][4073:4078] CHIP:DMG: ReportDataMessage = + [1659606749.724456][4073:4078] CHIP:DMG: { + [1659606749.724492][4073:4078] CHIP:DMG: SubscriptionId = 0x23a4288b, + [1659606749.724529][4073:4078] CHIP:DMG: AttributeReportIBs = + [1659606749.724574][4073:4078] CHIP:DMG: [ + [1659606749.724610][4073:4078] CHIP:DMG: AttributeReportIB = + [1659606749.724657][4073:4078] CHIP:DMG: { + [1659606749.724695][4073:4078] CHIP:DMG: AttributeDataIB = + [1659606749.724740][4073:4078] CHIP:DMG: { + [1659606749.724787][4073:4078] CHIP:DMG: DataVersion = 0x2442fc26, + [1659606749.724835][4073:4078] CHIP:DMG: AttributePathIB = + [1659606749.724884][4073:4078] CHIP:DMG: { + [1659606749.724933][4073:4078] CHIP:DMG: Endpoint = 0x0, + [1659606749.724984][4073:4078] CHIP:DMG: Cluster = 0x30, + [1659606749.725034][4073:4078] CHIP:DMG: Attribute = 0x0000_0000, + [1659606749.725082][4073:4078] CHIP:DMG: } + [1659606749.725133][4073:4078] CHIP:DMG: + [1659606749.725183][4073:4078] CHIP:DMG: Data = 4, + [1659606749.725229][4073:4078] CHIP:DMG: }, + [1659606749.725277][4073:4078] CHIP:DMG: + [1659606749.725314][4073:4078] CHIP:DMG: }, + [1659606749.725358][4073:4078] CHIP:DMG: + [1659606749.725394][4073:4078] CHIP:DMG: ], + [1659606749.725438][4073:4078] CHIP:DMG: + [1659606749.725473][4073:4078] CHIP:DMG: InteractionModelRevision = 1 + [1659606749.725507][4073:4078] CHIP:DMG: } + [1659606749.725673][4073:4078] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369702 + [1659606749.725744][4073:4078] CHIP:TOO: Breadcrumb: 4 + [1659606749.725813][4073:4078] CHIP:DMG: MoveToState ReadClient[0xffff68008e40]: Moving to [AwaitingSu] + [1659606749.725881][4073:4078] CHIP:EM: Piggybacking Ack for MessageCounter:54749189 on exchange: 4224i + [1659606749.725979][4073:4078] CHIP:IN: Prepared secure message 0xffff68005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 4224i with MessageCounter:226909964. + [1659606749.726034][4073:4078] CHIP:IN: Sending encrypted msg 0xffff68005878 with MessageCounter:226909964 to 0x0000000000000002 (1) at monotonic time: 000000000101365E msec + [1659606749.727312][4073:4078] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:54749190 on exchange 4224i + [1659606749.727361][4073:4078] CHIP:EM: Found matching exchange: 4224i, Delegate: 0xffff68008e40 + [1659606749.727405][4073:4078] CHIP:EM: Rxd Ack; Removing MessageCounter:226909964 from Retrans Table on exchange 4224i + [1659606749.727440][4073:4078] CHIP:EM: Removed CHIP MessageCounter:226909964 from RetransTable on exchange 4224i + [1659606749.727501][4073:4078] CHIP:DMG: SubscribeResponseMessage = + [1659606749.727540][4073:4078] CHIP:DMG: { + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 14: generalcommissioning write breadcrumb 5 1 0 + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 5 + [1659606888.234292][4313:4318] CHIP:EM: Rxd Ack; Removing MessageCounter:108149285 from Retrans Table on exchange 50383i + [1659606888.234318][4313:4318] CHIP:EM: Removed CHIP MessageCounter:108149285 from RetransTable on exchange 50383i + [1659606888.234355][4313:4318] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659606888.234408][4313:4318] CHIP:DMG: WriteResponseMessage = + [1659606888.234435][4313:4318] CHIP:DMG: { + [1659606888.234458][4313:4318] CHIP:DMG: AttributeStatusIBs = + [1659606888.234495][4313:4318] CHIP:DMG: [ + [1659606888.234527][4313:4318] CHIP:DMG: AttributeStatusIB = + [1659606888.234563][4313:4318] CHIP:DMG: { + [1659606888.234594][4313:4318] CHIP:DMG: AttributePathIB = + [1659606888.234631][4313:4318] CHIP:DMG: { + [1659606888.234669][4313:4318] CHIP:DMG: Endpoint = 0x0, + [1659606888.234707][4313:4318] CHIP:DMG: Cluster = 0x30, + [1659606888.234746][4313:4318] CHIP:DMG: Attribute = 0x0000_0000, + [1659606888.234781][4313:4318] CHIP:DMG: } + [1659606888.234822][4313:4318] CHIP:DMG: + [1659606888.234856][4313:4318] CHIP:DMG: StatusIB = + [1659606888.234893][4313:4318] CHIP:DMG: { + [1659606888.234929][4313:4318] CHIP:DMG: status = 0x00 (SUCCESS), + [1659606888.234965][4313:4318] CHIP:DMG: }, + [1659606888.235001][4313:4318] CHIP:DMG: + [1659606888.235033][4313:4318] CHIP:DMG: }, + [1659606888.235070][4313:4318] CHIP:DMG: + [1659606888.235099][4313:4318] CHIP:DMG: ], + [1659606888.235135][4313:4318] CHIP:DMG: + [1659606888.235165][4313:4318] CHIP:DMG: InteractionModelRevision = 1 + [1659606888.235194][4313:4318] CHIP:DMG: } + [1659606888.235306][4313:4318] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659606888.235378][4313:4318] CHIP:EM: Sending Standalone Ack for MessageCounter:173642077 on exchange 50383i + [1659606888.235464][4313:4318] CHIP:IN: Prepared secure message 0xffffb9e1c9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 50383i with MessageCounter:108149286. + [1659606888.235526][4313:4318] CHIP:IN: Sending encrypted msg 0xffffb9e1c9e8 with MessageCounter:108149286 to 0x0000000000000001 (1) at monotonic time: 00000000010366D0 msec + [1659606888.235680][4313:4318] CHIP:EM: Flushed pending ack for MessageCounter:173642077 on exchange 50383i + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP15: generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 5 + [1659606962.525141][4073:4078] CHIP:DMG: MoveToState ReadClient[0xffff68008e40]: Moving to [AwaitingIn] + [1659606962.527188][4073:4078] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:54749194 on exchange 4225i + [1659606962.527241][4073:4078] CHIP:EM: Found matching exchange: 4225i, Delegate: 0xffff68008e40 + [1659606962.527295][4073:4078] CHIP:EM: Rxd Ack; Removing MessageCounter:226909968 from Retrans Table on exchange 4225i + [1659606962.527336][4073:4078] CHIP:EM: Removed CHIP MessageCounter:226909968 from RetransTable on exchange 4225i + [1659606962.527419][4073:4078] CHIP:DMG: ReportDataMessage = + [1659606962.527465][4073:4078] CHIP:DMG: { + [1659606962.527505][4073:4078] CHIP:DMG: SubscriptionId = 0xf17ee8e5, + [1659606962.527546][4073:4078] CHIP:DMG: AttributeReportIBs = + [1659606962.527596][4073:4078] CHIP:DMG: [ + [1659606962.527670][4073:4078] CHIP:DMG: AttributeReportIB = + [1659606962.527724][4073:4078] CHIP:DMG: { + [1659606962.527766][4073:4078] CHIP:DMG: AttributeDataIB = + [1659606962.527823][4073:4078] CHIP:DMG: { + [1659606962.527876][4073:4078] CHIP:DMG: DataVersion = 0x2442fc27, + [1659606962.527934][4073:4078] CHIP:DMG: AttributePathIB = + [1659606962.527991][4073:4078] CHIP:DMG: { + [1659606962.528046][4073:4078] CHIP:DMG: Endpoint = 0x0, + [1659606962.528105][4073:4078] CHIP:DMG: Cluster = 0x30, + [1659606962.528162][4073:4078] CHIP:DMG: Attribute = 0x0000_0000, + [1659606962.528218][4073:4078] CHIP:DMG: } + [1659606962.528274][4073:4078] CHIP:DMG: + [1659606962.528330][4073:4078] CHIP:DMG: Data = 5, + [1659606962.528380][4073:4078] CHIP:DMG: }, + [1659606962.528433][4073:4078] CHIP:DMG: + [1659606962.528478][4073:4078] CHIP:DMG: }, + [1659606962.528526][4073:4078] CHIP:DMG: + [1659606962.528565][4073:4078] CHIP:DMG: ], + [1659606962.528613][4073:4078] CHIP:DMG: + [1659606962.528651][4073:4078] CHIP:DMG: InteractionModelRevision = 1 + [1659606962.528690][4073:4078] CHIP:DMG: } + [1659606962.528835][4073:4078] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369703 + [1659606962.528889][4073:4078] CHIP:TOO: Breadcrumb: 5 + [1659606962.528948][4073:4078] CHIP:DMG: MoveToState ReadClient[0xffff68008e40]: Moving to [AwaitingSu] + [1659606962.529021][4073:4078] CHIP:EM: Piggybacking Ack for MessageCounter:54749194 on exchange: 4225i + [1659606962.529107][4073:4078] CHIP:IN: Prepared secure message 0xffff68005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 4225i with MessageCounter:226909969. + [1659606962.529166][4073:4078] CHIP:IN: Sending encrypted msg 0xffff68005878 with MessageCounter:226909969 to 0x0000000000000002 (1) at monotonic time: 00000000010475A1 msec + disabled: true + + - label: + "TH1 writes AccessControl cluster ACL attribute, value is a list of + AccessControlEntryStruct containing 2 elements: struct Privilege + field: Administer (5) AuthMode field: CASE (2) Subjects field: [N1] + Targets field: [{Endpoint: 0}] struct Privilege field: View (1) + AuthMode field: CASE (2) Subjects field: [N2] Targets field: + [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]},{"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 2 elements + [1659523922.046434][11376:11381] CHIP:EM: Flushed pending ack for MessageCounter:126320341 on exchange 32807i + [1659523922.061134][11376:11381] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:86245732 on exchange 32808i + [1659523922.061176][11376:11381] CHIP:EM: Found matching exchange: 32808i, Delegate: 0xffff88003c20 + [1659523922.061246][11376:11381] CHIP:EM: Rxd Ack; Removing MessageCounter:91478321 from Retrans Table on exchange 32808i + [1659523922.061275][11376:11381] CHIP:EM: Removed CHIP MessageCounter:91478321 from RetransTable on exchange 32808i + [1659523922.061317][11376:11381] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659523922.061379][11376:11381] CHIP:DMG: WriteResponseMessage = + [1659523922.061409][11376:11381] CHIP:DMG: { + [1659523922.061435][11376:11381] CHIP:DMG: AttributeStatusIBs = + [1659523922.061475][11376:11381] CHIP:DMG: [ + [1659523922.061503][11376:11381] CHIP:DMG: AttributeStatusIB = + [1659523922.061535][11376:11381] CHIP:DMG: { + [1659523922.061563][11376:11381] CHIP:DMG: AttributePathIB = + [1659523922.061597][11376:11381] CHIP:DMG: { + [1659523922.061632][11376:11381] CHIP:DMG: Endpoint = 0x0, + [1659523922.061669][11376:11381] CHIP:DMG: Cluster = 0x1f, + [1659523922.061707][11376:11381] CHIP:DMG: Attribute = 0x0000_0000, + [1659523922.061740][11376:11381] CHIP:DMG: } + [1659523922.061777][11376:11381] CHIP:DMG: + [1659523922.061810][11376:11381] CHIP:DMG: StatusIB = + [1659523922.061844][11376:11381] CHIP:DMG: { + [1659523922.061877][11376:11381] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523922.061914][11376:11381] CHIP:DMG: }, + [1659523922.061949][11376:11381] CHIP:DMG: + [1659523922.061977][11376:11381] CHIP:DMG: }, + [1659523922.062013][11376:11381] CHIP:DMG: + [1659523922.062039][11376:11381] CHIP:DMG: AttributeStatusIB = + [1659523922.062070][11376:11381] CHIP:DMG: { + [1659523922.062102][11376:11381] CHIP:DMG: AttributePathIB = + [1659523922.062132][11376:11381] CHIP:DMG: { + [1659523922.062165][11376:11381] CHIP:DMG: Endpoint = 0x0, + [1659523922.062203][11376:11381] CHIP:DMG: Cluster = 0x1f, + [1659523922.062240][11376:11381] CHIP:DMG: Attribute = 0x0000_0000, + [1659523922.062274][11376:11381] CHIP:DMG: ListIndex = Null, + [1659523922.062304][11376:11381] CHIP:DMG: } + [1659523922.062340][11376:11381] CHIP:DMG: + [1659523922.062372][11376:11381] CHIP:DMG: StatusIB = + [1659523922.062404][11376:11381] CHIP:DMG: { + [1659523922.062438][11376:11381] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523922.062470][11376:11381] CHIP:DMG: }, + [1659523922.062503][11376:11381] CHIP:DMG: + [1659523922.062530][11376:11381] CHIP:DMG: }, + [1659523922.062568][11376:11381] CHIP:DMG: + [1659523922.062594][11376:11381] CHIP:DMG: AttributeStatusIB = + [1659523922.062622][11376:11381] CHIP:DMG: { + [1659523922.062649][11376:11381] CHIP:DMG: AttributePathIB = + [1659523922.062681][11376:11381] CHIP:DMG: { + [1659523922.062715][11376:11381] CHIP:DMG: Endpoint = 0x0, + [1659523922.062750][11376:11381] CHIP:DMG: Cluster = 0x1f, + [1659523922.062786][11376:11381] CHIP:DMG: Attribute = 0x0000_0000, + [1659523922.062820][11376:11381] CHIP:DMG: ListIndex = Null, + [1659523922.062852][11376:11381] CHIP:DMG: } + [1659523922.062892][11376:11381] CHIP:DMG: + [1659523922.062927][11376:11381] CHIP:DMG: StatusIB = + [1659523922.062959][11376:11381] CHIP:DMG: { + [1659523922.062992][11376:11381] CHIP:DMG: status = 0x00 (SUCCESS), + [1659523922.063025][11376:11381] CHIP:DMG: }, + [1659523922.063059][11376:11381] CHIP:DMG: + [1659523922.063086][11376:11381] CHIP:DMG: }, + [1659523922.063118][11376:11381] CHIP:DMG: + [1659523922.063143][11376:11381] CHIP:DMG: ], + [1659523922.063182][11376:11381] CHIP:DMG: + [1659523922.063208][11376:11381] CHIP:DMG: InteractionModelRevision = 1 + [1659523922.063233][11376:11381] CHIP:DMG: } + [1659523922.063366][11376:11381] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659523922.063432][11376:11381] CHIP:EM: Sending Standalone Ack for MessageCounter:86245732 on exchange 32808i + [1659523922.063512][11376:11381] CHIP:IN: Prepared secure message 0xffff9df749e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 32808i with MessageCounter:91478322. + [1659523922.063554][11376:11381] CHIP:IN: Sending encrypted msg 0xffff9df749e8 with MessageCounter:91478322 to 0x0000000000000001 (1) at mono + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 14:generalcommissioning write breadcrumb 6 1 0 + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 6 + + [1659607281.691044][4331:4336] CHIP:DMG: WriteClient moving to [AwaitingRe] + [1659607281.692885][4331:4336] CHIP:EM: Received message of type 0x7 with protocolId (0, 1) and MessageCounter:3467785 on exchange 18037i + [1659607281.692924][4331:4336] CHIP:EM: Found matching exchange: 18037i, Delegate: 0xffff74003c20 + [1659607281.692964][4331:4336] CHIP:EM: Rxd Ack; Removing MessageCounter:223044118 from Retrans Table on exchange 18037i + [1659607281.692985][4331:4336] CHIP:EM: Removed CHIP MessageCounter:223044118 from RetransTable on exchange 18037i + [1659607281.693018][4331:4336] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659607281.693065][4331:4336] CHIP:DMG: WriteResponseMessage = + [1659607281.693087][4331:4336] CHIP:DMG: { + [1659607281.693106][4331:4336] CHIP:DMG: AttributeStatusIBs = + [1659607281.693134][4331:4336] CHIP:DMG: [ + [1659607281.693154][4331:4336] CHIP:DMG: AttributeStatusIB = + [1659607281.693179][4331:4336] CHIP:DMG: { + [1659607281.693201][4331:4336] CHIP:DMG: AttributePathIB = + [1659607281.693226][4331:4336] CHIP:DMG: { + [1659607281.693252][4331:4336] CHIP:DMG: Endpoint = 0x0, + [1659607281.693279][4331:4336] CHIP:DMG: Cluster = 0x30, + [1659607281.693305][4331:4336] CHIP:DMG: Attribute = 0x0000_0000, + [1659607281.693355][4331:4336] CHIP:DMG: } + [1659607281.693387][4331:4336] CHIP:DMG: + [1659607281.693411][4331:4336] CHIP:DMG: StatusIB = + [1659607281.693438][4331:4336] CHIP:DMG: { + [1659607281.693463][4331:4336] CHIP:DMG: status = 0x00 (SUCCESS), + [1659607281.693500][4331:4336] CHIP:DMG: }, + [1659607281.693526][4331:4336] CHIP:DMG: + [1659607281.693548][4331:4336] CHIP:DMG: }, + [1659607281.693589][4331:4336] CHIP:DMG: + [1659607281.693619][4331:4336] CHIP:DMG: ], + [1659607281.693651][4331:4336] CHIP:DMG: + [1659607281.693677][4331:4336] CHIP:DMG: InteractionModelRevision = 1 + [1659607281.693702][4331:4336] CHIP:DMG: } + [1659607281.693777][4331:4336] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659607281.694035][4331:4336] CHIP:EM: Sending Standalone Ack for MessageCounter:3467785 on exchange 18037i + [1659607281.694128][4331:4336] CHIP:IN: Prepared secure message 0xffff877ed9e8 to 0x0000000000000001 (1) of type 0x10 and + STEP 15:generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 6 + [1659607398.718297][4114:4119] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:46194079 on exchange 27950i + [1659607398.718406][4114:4119] CHIP:EM: Found matching exchange: 27950i, Delegate: 0xffff68008dd0 + [1659607398.718473][4114:4119] CHIP:EM: CHIP MessageCounter:134576333 not in RetransTable on exchange 27950i + [1659607398.718609][4114:4119] CHIP:DMG: ReportDataMessage = + [1659607398.718678][4114:4119] CHIP:DMG: { + [1659607398.718740][4114:4119] CHIP:DMG: SubscriptionId = 0x932316af, + [1659607398.718803][4114:4119] CHIP:DMG: AttributeReportIBs = + [1659607398.718879][4114:4119] CHIP:DMG: [ + [1659607398.718941][4114:4119] CHIP:DMG: AttributeReportIB = + [1659607398.719021][4114:4119] CHIP:DMG: { + [1659607398.719085][4114:4119] CHIP:DMG: AttributeDataIB = + [1659607398.719163][4114:4119] CHIP:DMG: { + [1659607398.719243][4114:4119] CHIP:DMG: DataVersion = 0x2442fc28, + [1659607398.719322][4114:4119] CHIP:DMG: AttributePathIB = + [1659607398.719409][4114:4119] CHIP:DMG: { + [1659607398.719493][4114:4119] CHIP:DMG: Endpoint = 0x0, + [1659607398.719580][4114:4119] CHIP:DMG: Cluster = 0x30, + [1659607398.719721][4114:4119] CHIP:DMG: Attribute = 0x0000_0000, + [1659607398.719805][4114:4119] CHIP:DMG: } + [1659607398.719891][4114:4119] CHIP:DMG: + [1659607398.719975][4114:4119] CHIP:DMG: Data = 6, + [1659607398.720053][4114:4119] CHIP:DMG: }, + [1659607398.720133][4114:4119] CHIP:DMG: + [1659607398.720197][4114:4119] CHIP:DMG: }, + [1659607398.720270][4114:4119] CHIP:DMG: + [1659607398.720329][4114:4119] CHIP:DMG: ], + [1659607398.720402][4114:4119] CHIP:DMG: + [1659607398.720461][4114:4119] CHIP:DMG: InteractionModelRevision = 1 + [1659607398.720519][4114:4119] CHIP:DMG: } + [1659607398.720790][4114:4119] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369704 + [1659607398.720911][4114:4119] CHIP:TOO: Breadcrumb: 6 + [1659607398.721021][4114:4119] CHIP:DMG: MoveToState ReadClient[0xffff68008dd0]: Moving to [AwaitingSu] + [1659607398.721137][4114:4119] CHIP:EM: Piggybacking Ack for MessageCounter:46194079 on exchange: 27950i + [1659607398.721267][4114:4119] CHIP:IN: Prepared secure message 0xaaaae096a348 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 27950i with MessageCounter:134576334. + [1659607398.721354][4114:4119] CHIP:IN: Sending encrypted msg 0xaaaae096a348 with MessageCounter:134576334 to 0x0000000000000002 (1) at monotonic time: 00000000010B1D81 msec + [1659607398.723449][4114:4119] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:46194080 on exchange 27950i + [1659607398.723526][4114:4119] CHIP:EM: Found matching exchange: 27950i, Delegate: 0xffff68008dd0 + [1659607398.723599][4114:4119] CHIP:EM: Rxd Ack; Removing MessageCounter:134576334 from Retrans T + disabled: true + + - label: + "Repeat steps 18 to 19 to ensure TH2 still does not have permissions + to subscribe to administer-privilege attributes and events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 18:operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + [1659612879.114874][4965:4970] CHIP:DMG: ] (231 bytes) + [1659612879.114940][4965:4970] CHIP:DMG: 0xfe = 2, + [1659612879.115007][4965:4970] CHIP:DMG: }, + [1659612879.115063][4965:4970] CHIP:DMG: }, + [1659612879.115126][4965:4970] CHIP:DMG: + [1659612879.115176][4965:4970] CHIP:DMG: }, + [1659612879.115234][4965:4970] CHIP:DMG: + [1659612879.115278][4965:4970] CHIP:DMG: ], + [1659612879.115351][4965:4970] CHIP:DMG: + [1659612879.115394][4965:4970] CHIP:DMG: InteractionModelRevision = 1 + [1659612879.115437][4965:4970] CHIP:DMG: } + [1659612879.115935][4965:4970] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 296706937 + [1659612879.116027][4965:4970] CHIP:TOO: NOCs: 2 entries + [1659612879.116087][4965:4970] CHIP:TOO: [1]: { + [1659612879.116135][4965:4970] CHIP:TOO: Noc: + [1659612879.116177][4965:4970] CHIP:TOO: Icac: null + [1659612879.116222][4965:4970] CHIP:TOO: FabricIndex: 1 + [1659612879.116264][4965:4970] CHIP:TOO: } + [1659612879.116323][4965:4970] CHIP:TOO: [2]: { + [1659612879.116387][4965:4970] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104DD7D445EB8321A5B25DC788835CF2FA5332AA2CA25659D68A15168A75A20D4C72846A44FEE2AFB6E2E7EA39BB2A65D0FC2548A51E42A7D7FEAA005EBD481121F370A350128011824020136030402040118300414A02C8D19F9BF72351909681A02E5BD88122780F5300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40BC7C77F5CF49D8DB52F41529C48CD8122C3AAFE1224B0035738AA447527D192699964EDA250DC340D6AFC4ED14524DF8F53EF483B292326E97E12899A8B90FD418 + [1659612879.116461][4965:4970] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659612879.116513][4965:4970] CHIP:TOO: FabricIndex: 2 + [1659612879.116554][4965:4970] CHIP:TOO: } + [1659612879.116635][4965:4970] CHIP:DMG: MoveToState ReadClient[0xffff68008f60]: Moving to [AwaitingSu] + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 19: accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + 1659613023.586969][4977:4983] CHIP:EM: Found matching exchange: 10139i, Delegate: 0xffff78008e40 + [1659613023.587008][4977:4983] CHIP:EM: Rxd Ack; Removing MessageCounter:44723459 from Retrans Table on exchange 10139i + [1659613023.587033][4977:4983] CHIP:EM: Removed CHIP MessageCounter:44723459 from RetransTable on exchange 10139i + [1659613023.587086][4977:4983] CHIP:DMG: ReportDataMessage = + [1659613023.587115][4977:4983] CHIP:DMG: { + [1659613023.587140][4977:4983] CHIP:DMG: SubscriptionId = 0x389e3b8e, + [1659613023.587171][4977:4983] CHIP:DMG: InteractionModelRevision = 1 + [1659613023.587195][4977:4983] CHIP:DMG: } + [1659613023.587233][4977:4983] CHIP:DMG: MoveToState ReadClient[0xffff78008e40]: Moving to [AwaitingSu] + [1659613023.587286][4977:4983] CHIP:EM: Piggybacking Ack for MessageCounter:139554636 on exchange: 10139i + [1659613023.587346][4977:4983] CHIP:IN: Prepared secure message 0xffff78005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 10139i with MessageCounter:44723460. + [1659613023.587384][4977:4983] CHIP:IN: Sending encrypted msg 0xffff78005878 with MessageCounter:44723460 to 0x0000000000000002 (1) at monotonic time: 000000000160F1A3 msec + [1659613023.588676][4977:4983] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:139554637 on exchange 10139i + [1659613023.588725][4977:4983] CHIP:EM: Found matching exchange: 10139i, Delegate: 0xffff78008e40 + [1659613023.588761][4977:4983] CHIP:EM: Rxd Ack; Removing MessageCounter:44723460 from Retrans Table on exchange 10139i + [1659613023.588786][4977:4983] CHIP:EM: Removed CHIP MessageCounter:44723460 from RetransTable on exchange 10139i + [1659613023.588836][4977:4983] CHIP:DMG: SubscribeResponseMessage = + [1659613023.588864][4977:4983] CHIP:DMG: { + [1659613023.588903][4977:4983] CHIP:DMG: SubscriptionId = 0x389e3b8e, + [1659613023.588930][4977:4983] CHIP:DMG: MaxInterval = 0x1e, + [1659613023.588955][4977:4983] CHIP:DMG: InteractionModelRevision = 1 + [1659613023.588979][4977:4983] CHIP:DMG: } + [1659613023.589007][4977:4983] CHIP:DMG: Subscription established with SubscriptionID = 0x389e3b8e MinInterval = 1s MaxInterval = 30s Peer = 01:0000000000000002 + disabled: true + + - label: "Repeat step 5 to ensure TH2 can still subscribe to view events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + STEP 5: + generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + [1659607605.814318][4122:4127] CHIP:EM: Flushed pending ack for MessageCounter:200773535 on exchange 32772i + [1659607605.815815][4122:4127] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:48719299 on exchange 32773i + [1659607605.815867][4122:4127] CHIP:EM: Found matching exchange: 32773i, Delegate: 0xffff94008e40 + [1659607605.815918][4122:4127] CHIP:EM: Rxd Ack; Removing MessageCounter:33435416 from Retrans Table on exchange 32773i + [1659607605.815958][4122:4127] CHIP:EM: Removed CHIP MessageCounter:33435416 from RetransTable on exchange 32773i + [1659607605.816042][4122:4127] CHIP:DMG: ReportDataMessage = + [1659607605.816086][4122:4127] CHIP:DMG: { + [1659607605.816126][4122:4127] CHIP:DMG: SubscriptionId = 0xd8f56277, + [1659607605.816167][4122:4127] CHIP:DMG: AttributeReportIBs = + [1659607605.816218][4122:4127] CHIP:DMG: [ + [1659607605.816258][4122:4127] CHIP:DMG: AttributeReportIB = + [1659607605.816311][4122:4127] CHIP:DMG: { + [1659607605.816353][4122:4127] CHIP:DMG: AttributeDataIB = + [1659607605.816410][4122:4127] CHIP:DMG: { + [1659607605.816464][4122:4127] CHIP:DMG: DataVersion = 0x2442fc28, + [1659607605.816516][4122:4127] CHIP:DMG: AttributePathIB = + [1659607605.816575][4122:4127] CHIP:DMG: { + [1659607605.816630][4122:4127] CHIP:DMG: Endpoint = 0x0, + [1659607605.816689][4122:4127] CHIP:DMG: Cluster = 0x30, + [1659607605.816751][4122:4127] CHIP:DMG: Attribute = 0x0000_0000, + [1659607605.816808][4122:4127] CHIP:DMG: } + [1659607605.816869][4122:4127] CHIP:DMG: + [1659607605.816929][4122:4127] CHIP:DMG: Data = 6, + [1659607605.816980][4122:4127] CHIP:DMG: }, + [1659607605.817035][4122:4127] CHIP:DMG: + [1659607605.817081][4122:4127] CHIP:DMG: }, + [1659607605.817136][4122:4127] CHIP:DMG: + [1659607605.817176][4122:4127] CHIP:DMG: ], + [1659607605.817225][4122:4127] CHIP:DMG: + [1659607605.817265][4122:4127] CHIP:DMG: InteractionModelRevision = 1 + [1659607605.817303][4122:4127] CHIP:DMG: } + [1659607605.817488][4122:4127] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369704 + [1659607605.817566][4122:4127] CHIP:TOO: Breadcrumb: 6 + [1659607605.817641][4122:4127] CHIP:DMG: MoveToState ReadClient[0xffff94008e40]: Moving to [AwaitingSu] + [1659607605.817714][4122:4127] CHIP:EM: Piggybacking Ack for MessageCounter:48719299 on exchange: 32773i + [1659607605.817797][4122:4127] CHIP:IN: Prepared secure message 0xffff94005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 32773i with MessageCounter:33435417. + [1659607605.817855][4122:4127] CHIP:IN: Sending encrypted msg 0xffff94005878 with MessageCounter:33435417 to 0x0000000000000002 (1) at monotonic time: 00000000010E467A msec + [1659607605.819160][4122:4127] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:48719300 on exchange 32773i + [1659607605.819195][4122:4127] CHIP:EM: Found matching exchange: 32773i, Delegate: 0xffff94008e40 + [1659607605.819227][4122:4127] CHIP:EM: Rxd Ack; Removing MessageCounter:33435417 from Retrans Table on exchange 32773i + [1659607605.819253][4122:4127] CHIP:EM: Removed CHIP MessageCounter:33435417 from RetransTable on exchange 32773i + [1659607605.819296][4122:4127] CHIP:DMG: SubscribeResponseMessage = + [1659607605.819325][4122:4127] CHIP:DMG: { + disabled: true + + - label: + "Repeat steps 14 to 15, incrementing the Breadcrumb value from the + last write, to verify that TH2 can still receive view-privilege + attribute reports." + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + STEP 14: generalcommissioning write breadcrumb 7 1 0 + On TH(Chiptool)1,Verify Breadcrumb attribute on the General Commissioning cluster, setting the value to 7 + + [1659607708.484957][4361:4366] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659607708.485014][4361:4366] CHIP:DMG: WriteResponseMessage = + [1659607708.485048][4361:4366] CHIP:DMG: { + [1659607708.485076][4361:4366] CHIP:DMG: AttributeStatusIBs = + [1659607708.485115][4361:4366] CHIP:DMG: [ + [1659607708.485146][4361:4366] CHIP:DMG: AttributeStatusIB = + [1659607708.485185][4361:4366] CHIP:DMG: { + [1659607708.485215][4361:4366] CHIP:DMG: AttributePathIB = + [1659607708.485252][4361:4366] CHIP:DMG: { + [1659607708.485316][4361:4366] CHIP:DMG: Endpoint = 0x0, + [1659607708.485356][4361:4366] CHIP:DMG: Cluster = 0x30, + [1659607708.485394][4361:4366] CHIP:DMG: Attribute = 0x0000_0000, + [1659607708.485427][4361:4366] CHIP:DMG: } + [1659607708.485469][4361:4366] CHIP:DMG: + [1659607708.485503][4361:4366] CHIP:DMG: StatusIB = + [1659607708.485539][4361:4366] CHIP:DMG: { + [1659607708.485572][4361:4366] CHIP:DMG: status = 0x00 (SUCCESS), + [1659607708.485608][4361:4366] CHIP:DMG: }, + [1659607708.485645][4361:4366] CHIP:DMG: + [1659607708.485677][4361:4366] CHIP:DMG: }, + [1659607708.485714][4361:4366] CHIP:DMG: + [1659607708.485744][4361:4366] CHIP:DMG: ], + [1659607708.485781][4361:4366] CHIP:DMG: + [1659607708.485811][4361:4366] CHIP:DMG: InteractionModelRevision = 1 + [1659607708.485840][4361:4366] CHIP:DMG: } + [1659607708.485927][4361:4366] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1659607708.485996][4361:4366] CHIP:EM: Sending Standalone Ack for MessageCounter:27924490 on exchange 43720i + [1659607708.486076][4361:4366] CHIP:IN: Prepared secure message 0xffffa222a9e8 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 43720i with MessageCounter:128818467. + [1659607708.486125][4361:4366] CHIP:IN: Sending encrypted msg 0xffffa222a9e8 with MessageCounter:128818467 to 0x0000000000000001 (1) at monotonic time: 00000000010FEAEA msec + [1659607708.486264][4361:4366] CHIP:EM: Flushed pending ack for MessageCounter:27924490 on exch [1659607772.385611][4122:4127] CHIP:EM: Rxd Ack; Removing MessageCounter:33435425 from Retrans Table on exchange 32774i + [1659607772.385673][4122:4127] CHIP:EM: Removed CHIP MessageCounter:33435425 from RetransTable on exchange 32774i + [1659607772.385792][4122:4127] CHIP:DMG: ReportDataMessage = + [1659607772.385858][4122:4127] CHIP:DMG: { + [1659607772.385917][4122:4127] CHIP:DMG: SubscriptionId = 0x7819b5fe, + [1659607772.385979][4122:4127] CHIP:DMG: AttributeReportIBs = + [1659607772.386055][4122:4127] CHIP:DMG: [ + [1659607772.386116][4122:4127] CHIP:DMG: AttributeReportIB = + [1659607772.386204][4122:4127] CHIP:DMG: { + [1659607772.386273][4122:4127] CHIP:DMG: AttributeDataIB = + [1659607772.386351][4122:4127] CHIP:DMG: { + [1659607772.386430][4122:4127] CHIP:DMG: DataVersion = 0x2442fc29, + [1659607772.386516][4122:4127] CHIP:DMG: AttributePathIB = + [1659607772.386606][4122:4127] CHIP:DMG: { + [1659607772.386689][4122:4127] CHIP:DMG: Endpoint = 0x0, + [1659607772.386777][4122:4127] CHIP:DMG: Cluster = 0x30, + [1659607772.386863][4122:4127] CHIP:DMG: Attribute = 0x0000_0000, + [1659607772.386946][4122:4127] CHIP:DMG: } + [1659607772.387031][4122:4127] CHIP:DMG: + [1659607772.387117][4122:4127] CHIP:DMG: Data = 7, + [1659607772.387202][4122:4127] CHIP:DMG: }, + [1659607772.387284][4122:4127] CHIP:DMG: + [1659607772.387352][4122:4127] CHIP:DMG: }, + [1659607772.387430][4122:4127] CHIP:DMG: + [1659607772.387490][4122:4127] CHIP:DMG: ], + [1659607772.387563][4122:4127] CHIP:DMG: + [1659607772.387675][4122:4127] CHIP:DMG: InteractionModelRevision = 1 + [1659607772.387735][4122:4127] CHIP:DMG: } + [1659607772.387945][4122:4127] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 608369705 + [1659607772.388023][4122:4127] CHIP:TOO: Breadcrumb: 7 + [1659607772.388109][4122:4127] CHIP:DMG: MoveToState ReadClient[0xffff94008f30]: Moving to [AwaitingSu] + [1659607772.388211][4122:4127] CHIP:EM: Piggybacking Ack for MessageCounter:48719313 on exchange: 32774i + [1659607772.388331][4122:4127] CHIP:IN: Prepared secure message 0xffff94005878 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 32774i with MessageCounter:33435426. + [1659607772.388481][4122:4127] CHIP:IN: Sending encrypted msg 0xffff94005878 with MessageCounter:33435426 to 0x0000 STEP 15:generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)2,Verify Breadcrumb attribute on the General Commissioning cluster as 7 + 659614281.384988][5032:5037] CHIP:EM: Rxd Ack; Removing MessageCounter:18257811 from Retrans Table on exchange 48330i + [1659614281.385048][5032:5037] CHIP:EM: Removed CHIP MessageCounter:18257811 from RetransTable on exchange 48330i + [1659614281.385169][5032:5037] CHIP:DMG: ReportDataMessage = + [1659614281.385260][5032:5037] CHIP:DMG: { + [1659614281.385322][5032:5037] CHIP:DMG: SubscriptionId = 0x4e2c0871, + [1659614281.385383][5032:5037] CHIP:DMG: AttributeReportIBs = + [1659614281.385480][5032:5037] CHIP:DMG: [ + [1659614281.385540][5032:5037] CHIP:DMG: AttributeReportIB = + [1659614281.385642][5032:5037] CHIP:DMG: { + [1659614281.385725][5032:5037] CHIP:DMG: AttributeDataIB = + [1659614281.385803][5032:5037] CHIP:DMG: { + [1659614281.385904][5032:5037] CHIP:DMG: DataVersion = 0xdfa9a381, + [1659614281.385992][5032:5037] CHIP:DMG: AttributePathIB = + [1659614281.386100][5032:5037] CHIP:DMG: { + [1659614281.386203][5032:5037] CHIP:DMG: Endpoint = 0x0, + [1659614281.386293][5032:5037] CHIP:DMG: Cluster = 0x30, + [1659614281.386404][5032:5037] CHIP:DMG: Attribute = 0x0000_0000, + [1659614281.386485][5032:5037] CHIP:DMG: } + [1659614281.386589][5032:5037] CHIP:DMG: + [1659614281.386674][5032:5037] CHIP:DMG: Data = 7, + [1659614281.386771][5032:5037] CHIP:DMG: }, + [1659614281.386872][5032:5037] CHIP:DMG: + [1659614281.386944][5032:5037] CHIP:DMG: }, + [1659614281.387018][5032:5037] CHIP:DMG: + [1659614281.387076][5032:5037] CHIP:DMG: ], + [1659614281.387149][5032:5037] CHIP:DMG: + [1659614281.387208][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + [1659614281.387265][5032:5037] CHIP:DMG: } + [1659614281.387480][5032:5037] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 3752436609 + [1659614281.387559][5032:5037] CHIP:TOO: Breadcrumb: 7 + [1659614281.387707][5032:5037] CHIP:DMG: MoveToState ReadClient[0xffff84008fe0]: Moving to [AwaitingSu] + [1659614281.387817][5032:5037] CHIP:EM: Piggybacking Ack for MessageCounter:52083233 on exchange: 48330i + [1659614281.387940][5032:5037] CHIP:IN: Prepared secure message 0xffff84005928 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 48330i with MessageCounter:18257812. + [1659614281.388026][5032:5037] CHIP:IN: Sending encrypted msg 0xffff84005928 with MessageCounter:18257812 to 0x0000000000000002 (1) at monotonic time: 00000000017422EC msec + [1659614281.389602][5032:5037] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:52083234 + disabled: true + + - label: + "TH1 writes AccessControl cluster ACL attribute, value is a list of + AccessControlEntryStruct containing 1 element struct Privilege field: + Administer (5) AuthMode field: CASE (2) Subjects field: [N1] Targets + field: [{Endpoint: 0}]" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": [{ "cluster": null, "endpoint": 0, "deviceType": null }]}]' 1 0 + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + [1659607856.168257][4361:4366] CHIP:DMG: WriteClient moving to [ResponseRe] + [1659607856.168336][4361:4366] CHIP:DMG: WriteResponseMessage = + [1659607856.168366][4361:4366] CHIP:DMG: { + [1659607856.168392][4361:4366] CHIP:DMG: AttributeStatusIBs = + [1659607856.168440][4361:4366] CHIP:DMG: [ + [1659607856.168468][4361:4366] CHIP:DMG: AttributeStatusIB = + [1659607856.168511][4361:4366] CHIP:DMG: { + [1659607856.168540][4361:4366] CHIP:DMG: AttributePathIB = + [1659607856.168590][4361:4366] CHIP:DMG: { + [1659607856.168638][4361:4366] CHIP:DMG: Endpoint = 0x0, + [1659607856.168677][4361:4366] CHIP:DMG: Cluster = 0x1f, + [1659607856.168727][4361:4366] CHIP:DMG: Attribute = 0x0000_0000, + [1659607856.168772][4361:4366] CHIP:DMG: } + [1659607856.168813][4361:4366] CHIP:DMG: + [1659607856.168846][4361:4366] CHIP:DMG: StatusIB = + [1659607856.168884][4361:4366] CHIP:DMG: { + [1659607856.168921][4361:4366] CHIP:DMG: status = 0x00 (SUCCESS), + [1659607856.168957][4361:4366] CHIP:DMG: }, + [1659607856.168991][4361:4366] CHIP:DMG: + [1659607856.169021][4361:4366] CHIP:DMG: }, + [1659607856.169061][4361:4366] CHIP:DMG: + [1659607856.169089][4361:4366] CHIP:DMG: AttributeStatusIB = + [1659607856.169119][4361:4366] CHIP:DMG: { + [1659607856.169148][4361:4366] CHIP:DMG: AttributePathIB = + [1659607856.169181][4361:4366] CHIP:DMG: { + [1659607856.169217][4361:4366] CHIP:DMG: Endpoint = 0x0, + [1659607856.169256][4361:4366] CHIP:DMG: Cluster = 0x1f, + [1659607856.169293][4361:4366] CHIP:DMG: Attribute = 0x0000_0000, + [1659607856.169329][4361:4366] CHIP:DMG: ListIndex = Null, + [1659607856.169364][4361:4366] CHIP:DMG: } + [1659607856.169401][4361:4366] CHIP:DMG: + [1659607856.169435][4361:4366] CHIP:DMG: StatusIB = + [1659607856.169469][4361:4366] CHIP:DMG: { + [1659607856.169505][4361:4366] CHIP:DMG: status = 0x00 (SUCCESS), + [1659607856.169543][4361:4366] CHIP:DMG: }, + [1659607856.169578][4361:4366] CHIP:DMG: + [1659607856.169608][4361:4366] CHIP:DMG: }, + [1659607856.169641][4361:4366] CHIP:DMG: + [1659607856.169668][4361:4366] CHIP:DMG: ], + [1659607856.169705][4361:4366] CHIP:DMG: + [1659607856.169734][4361:4366] CHIP:DMG: InteractionModelRevision = 1 + [1659607856.169761][4361:4366] CHIP:DMG: } + [1659607856.169873][4361:4366] CHIP:DMG: WriteClient moving to [AwaitingDe] + disabled: true + + - label: + "Repeat steps 18 to 19 to ensure TH2 still does not have permissions + to subscribe to administer-privilege attributes and events" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 18: operationalcredentials subscribe nocs 1 30 2 0 --fabric-filtered false --keepSubscriptions 0 + + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + + + [1659614413.742617][5032:5037] CHIP:DMG: ] (231 bytes) + [1659614413.742706][5032:5037] CHIP:DMG: 0xfe = 2, + [1659614413.742790][5032:5037] CHIP:DMG: }, + [1659614413.742873][5032:5037] CHIP:DMG: }, + [1659614413.742959][5032:5037] CHIP:DMG: + [1659614413.743027][5032:5037] CHIP:DMG: }, + [1659614413.743110][5032:5037] CHIP:DMG: + [1659614413.743169][5032:5037] CHIP:DMG: ], + [1659614413.743268][5032:5037] CHIP:DMG: + [1659614413.743327][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + [1659614413.743384][5032:5037] CHIP:DMG: } + [1659614413.744052][5032:5037] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 296706937 + [1659614413.744187][5032:5037] CHIP:TOO: NOCs: 2 entries + [1659614413.744238][5032:5037] CHIP:TOO: [1]: { + [1659614413.744323][5032:5037] CHIP:TOO: Noc: + [1659614413.744353][5032:5037] CHIP:TOO: Icac: null + [1659614413.744382][5032:5037] CHIP:TOO: FabricIndex: 1 + [1659614413.744408][5032:5037] CHIP:TOO: } + [1659614413.744445][5032:5037] CHIP:TOO: [2]: { + [1659614413.744485][5032:5037] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104DD7D445EB8321A5B25DC788835CF2FA5332AA2CA25659D68A15168A75A20D4C72846A44FEE2AFB6E2E7EA39BB2A65D0FC2548A51E42A7D7FEAA005EBD481121F370A350128011824020136030402040118300414A02C8D19F9BF72351909681A02E5BD88122780F5300514C7E958D6860E58EBFFC50375695FA10D8D1F7BA518300B40BC7C77F5CF49D8DB52F41529C48CD8122C3AAFE1224B0035738AA447527D192699964EDA250DC340D6AFC4ED14524DF8F53EF483B292326E97E12899A8B90FD418 + [1659614413.744531][5032:5037] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B261C938B93273CC4895790193D5A154529A039D23E552263B7AA94A8F34448130E7A4C88EE71AE291BBC689E9B7D1F8C81FE3FE8C5DADFF98665DBF57D0739E370A3501290118240260300414C7E958D6860E58EBFFC50375695FA10D8D1F7BA5300514F6EF1D69A5F7797D534AB655E8E8BFA390CB562018300B40F2B2E6A0C20F819DAA4DA6C5C94B1F63686C3E11BED7FEF4E35643E795FFA3AEE4333AD726EE1EC492A29A45628EE95D88CCBAB078060BFD565CA52298A9B0AF18 + [1659614413.744563][5032:5037] CHIP:TOO: FabricIndex: 2 + [1659614413.744589][5032:5037] CHIP:TOO: } + [1659614413.744640][5032:5037] CHIP:DMG: MoveToState ReadClient[0xffff84008d30]: Moving to [AwaitingSu] + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + STEP 19 : accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + + 9614473.812436][5032:5037] CHIP:DMG: ReportDataMessage = + [1659614473.812505][5032:5037] CHIP:DMG: { + [1659614473.812565][5032:5037] CHIP:DMG: SubscriptionId = 0xd3866e6c, + [1659614473.812629][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + [1659614473.812687][5032:5037] CHIP:DMG: } + [1659614473.812787][5032:5037] CHIP:DMG: Refresh LivenessCheckTime for 55000 milliseconds with SubscriptionId = 0xd3866e6c Peer = 01:0000000000000002 + [1659614473.812895][5032:5037] CHIP:EM: Piggybacking Ack for MessageCounter:52083255 on exchange: 13991r + [1659614473.813023][5032:5037] CHIP:IN: Prepared secure message 0xffff84005928 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 13991r with MessageCounter:18257826. + [1659614473.813111][5032:5037] CHIP:IN: Sending encrypted msg 0xffff84005928 with MessageCounter:18257826 to 0x0000000000000002 (1) at monotonic time: 0000000001771295 msec + [1659614473.815247][5032:5037] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:52083256 on exchange 13991r + [1659614473.815327][5032:5037] CHIP:EM: Found matching exchange: 13991r, Delegate: (nil) + [1659614473.815401][5032:5037] CHIP:EM: Rxd Ack; Removing MessageCounter:18257826 from Retrans Table on exchange 13991r + [1659614473.815461][5032:5037] CHIP:EM: Removed CHIP MessageCounter:18257826 from RetransTable on exchange 13991r + accesscontrol subscribe-event access-control-entry-changed 1 30 2 0 --keepSubscriptions 1 + [1659614490.650654][5032:5037] CHIP:TOO: Sending command to node 0x2 + [1659614490.650707][5032:5037] CHIP:CSM: FindOrEstablishSession: PeerId = 690F38784FDA9270:0000000000000002 + [1659614490.650753][5032:5037] CHIP:TOO: Sending SubscribeEvent to: + [1659614490.650778][5032:5037] CHIP:TOO: cluster 0x0000_001F, event: 0x0000_0000, endpoint 0 + [1659614490.650951][5032:5037] CHIP:IN: Prepared secure message 0xffff84005928 to 0x0000000000000002 (1) of type 0x3 and protocolId (0, 1) on exchange 48332i with MessageCounter:18257827. + [1659614490.650996][5032:5037] CHIP:IN: Sending encrypted msg 0xffff84005928 with MessageCounter:18257827 to 0x0000000000000002 (1) at monotonic time: 000000000177545B msec + [1659614490.651281][5032:5037] CHIP:DMG: MoveToState ReadClient[0xffff84008fe0]: Moving to [AwaitingIn] + [1659614490.656378][5032:5037] CHIP:EM: Received message of type 0x5 with protocolId (0, 1) and MessageCounter:52083257 on exchange 48332i + [1659614490.656464][5032:5037] CHIP:EM: Found matching exchange: 48332i, Delegate: 0xffff84008fe0 + [1659614490.656543][5032:5037] CHIP:EM: Rxd Ack; Removing MessageCounter:18257827 from Retrans Table on exchange 48332i + [1659614490.656604][5032:5037] CHIP:EM: Removed CHIP MessageCounter:18257827 from RetransTable on exchange 48332i + [1659614490.656710][5032:5037] CHIP:DMG: ReportDataMessage = + [1659614490.656778][5032:5037] CHIP:DMG: { + [1659614490.656837][5032:5037] CHIP:DMG: SubscriptionId = 0xd2d4866d, + [1659614490.656912][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + [1659614490.656972][5032:5037] CHIP:DMG: } + [1659614490.657061][5032:5037] CHIP:DMG: MoveToState ReadClient[0xffff84008fe0]: Moving to [AwaitingSu] + [1659614490.657163][5032:5037] CHIP:EM: Piggybacking Ack for MessageCounter:52083257 on exchange: 48332i + [1659614490.657280][5032:5037] CHIP:IN: Prepared secure message 0xaaaacab8a548 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 48332i with MessageCounter:18257828. + [1659614490.657368][5032:5037] CHIP:IN: Sending encrypted msg 0xaaaacab8a548 with MessageCounter:18257828 to 0x0000000000000002 (1) at monotonic time: 0000000001775461 msec + [1659614490.659206][5032:5037] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:52083258 on exchange 48332i + [1659614490.659284][5032:5037] CHIP:EM: Found matching exchange: 48332i, Delegate: 0xffff84008fe0 + [1659614490.659357][5032:5037] CHIP:EM: Rxd Ack; Removing MessageCounter:18257828 from Retrans Table on exchange 48332i + [1659614490.659417][5032:5037] CHIP:EM: Removed CHIP MessageCounter:18257828 from RetransTable on exchange 48332i + [1659614490.659512][5032:5037] CHIP:DMG: SubscribeResponseMessage = + [1659614490.659576][5032:5037] CHIP:DMG: { + [1659614490.659678][5032:5037] CHIP:DMG: SubscriptionId = 0xd2d4866d, + [1659614490.659750][5032:5037] CHIP:DMG: MaxInterval = 0x1e, + [1659614490.659813][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + disabled: true + + - label: + "TH2 subscribes to the General Commissioning cluster Breadcrumb + attribute, min interval 1, max interval 30, keep subscriptions true" + verification: | + Pls run this test in chip tool interactive mode using the command ./chip-tool interactive start + + + + generalcommissioning subscribe breadcrumb 1 30 2 0 --keepSubscriptions 1 + On TH(Chiptool)1,Verify ACL attribute with a list of AccessControlEntryStruct entries containing 1 element. + + 9614536.314670][5032:5037] CHIP:EM: Found matching exchange: 48333i, Delegate: 0xffff84008ef0 + [1659614536.314749][5032:5037] CHIP:EM: Rxd Ack; Removing MessageCounter:18257833 from Retrans Table on exchange 48333i + [1659614536.314810][5032:5037] CHIP:EM: Removed CHIP MessageCounter:18257833 from RetransTable on exchange 48333i + [1659614536.314933][5032:5037] CHIP:DMG: ReportDataMessage = + [1659614536.315028][5032:5037] CHIP:DMG: { + [1659614536.315090][5032:5037] CHIP:DMG: SubscriptionId = 0x8ec61c89, + [1659614536.315151][5032:5037] CHIP:DMG: AttributeReportIBs = + [1659614536.315249][5032:5037] CHIP:DMG: [ + [1659614536.315309][5032:5037] CHIP:DMG: AttributeReportIB = + [1659614536.315410][5032:5037] CHIP:DMG: { + [1659614536.315474][5032:5037] CHIP:DMG: AttributeDataIB = + [1659614536.315579][5032:5037] CHIP:DMG: { + [1659614536.315714][5032:5037] CHIP:DMG: DataVersion = 0xdfa9a381, + [1659614536.315801][5032:5037] CHIP:DMG: AttributePathIB = + [1659614536.315884][5032:5037] CHIP:DMG: { + [1659614536.315961][5032:5037] CHIP:DMG: Endpoint = 0x0, + [1659614536.316052][5032:5037] CHIP:DMG: Cluster = 0x30, + [1659614536.316134][5032:5037] CHIP:DMG: Attribute = 0x0000_0000, + [1659614536.316215][5032:5037] CHIP:DMG: } + [1659614536.316322][5032:5037] CHIP:DMG: + [1659614536.316410][5032:5037] CHIP:DMG: Data = 7, + [1659614536.316515][5032:5037] CHIP:DMG: }, + [1659614536.316623][5032:5037] CHIP:DMG: + [1659614536.316687][5032:5037] CHIP:DMG: }, + [1659614536.316782][5032:5037] CHIP:DMG: + [1659614536.316841][5032:5037] CHIP:DMG: ], + [1659614536.316914][5032:5037] CHIP:DMG: + [1659614536.316973][5032:5037] CHIP:DMG: InteractionModelRevision = 1 + [1659614536.317030][5032:5037] CHIP:DMG: } + [1659614536.317245][5032:5037] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 3752436609 + [1659614536.317325][5032:5037] CHIP:TOO: Breadcrumb: 7 + [1659614536.317414][5032:5037] CHIP:DMG: MoveToState ReadClient[0xffff84008ef0]: Moving to [AwaitingSu] + [1659614536.317518][5032:5037] CHIP:EM: Piggybacking Ack for MessageCounter:52083265 on exchange: 48333i + [1659614536.317643][5032:5037] CHIP:IN: Prepared secure message 0xffff84005928 to 0x0000000000000002 (1) of type 0x1 and protocolId (0, 1) on exchange 48333i with MessageCounter:18257834. + [1659614536.317731][5032:5037] CHIP:IN: Sending encrypted msg 0xffff84005928 with MessageCounter:18257834 to 0x0000000000000002 (1) at monotonic time: 00000000017806BE msec + [1659614536.319058][5032:5037] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:520832 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml index fecdf6fc80af4d..1af00f85f5c868 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml @@ -300,13 +300,13 @@ tests: commissioning timeout of PIXIT.CADMIN.CwDuration seconds using ECM" PICS: CADMIN.C.C00.Tx verification: | - On first controller chip tool, open commissioning window using ECM + On DUT_CR1 (chip tool) , open commissioning window using ECM - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on TH1(all-clusters-app) Log + Verify Manual pairing code on DUT_CR1(chip-tool) Log [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established @@ -327,7 +327,7 @@ tests: verification: | On TH_CR2 using chip tool connect to the accessory - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool pairing code 1 36217551633 --commissioner-name beta @@ -342,9 +342,9 @@ tests: verification: | On TH_CR2 , read fabrics list - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 --commissioner-name beta + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml index a3acd649a11040..c627a7a0806fe0 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml @@ -51,7 +51,7 @@ tests: verification: | On DUT_CR1 (chip tool), open commissioning window using BCM - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 @@ -95,11 +95,12 @@ tests: verification: | On TH_CR2 using chip tool connect to the accessory - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta + Verify you got below message on TH_CE (all-clusters-app) log Device commissioning completed with success disabled: true @@ -114,7 +115,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 Verify success response On TH_CE (all-clusters-app) Log @@ -172,7 +173,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log @@ -215,7 +216,7 @@ tests: Verify TH_CE responses with NOCResponse with a StatusCode OK on TH_CE (all-clusters-app) log - ./chip-tool operationalcredentials remove-fabric 2 1 0 --commissioner-name beta + ./chip-tool operationalcredentials remove-fabric 2 1 0 CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 @@ -259,7 +260,7 @@ tests: Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) - ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries @@ -282,7 +283,9 @@ tests: [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i disabled: true - - label: "" + - label: + "Verify TH_CE is now discoverable over DNS-SD with 2 Operational + service records (_matter._tcp SRV records)." verification: | Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers @@ -314,7 +317,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers For BCM, - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 Verify success response On TH_CE (all-clusters-app) Log @@ -372,7 +375,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 --commissioner-name beta + ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml index 2d5f38f4b1eca4..0a06f5345c60dc 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml @@ -161,7 +161,7 @@ tests: maxLength: 32 - label: - "TH_CR1 writes the Basic Information Clusters NodeLabel mandatory + "TH_CR2 writes the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE" identity: "beta" command: "writeAttribute" @@ -172,7 +172,7 @@ tests: value: "chiptest" - label: - "TH_CR1 reads the Basic Information Clusters NodeLabel mandatory + "TH_CR2 reads the Basic Information Clusters NodeLabel mandatory attribute of DUT_CE" identity: "beta" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml index fc2ef27ac21f25..dad518be8125d1 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml @@ -180,7 +180,7 @@ tests: response: error: FAILURE - - label: "Commission from beta" + - label: "TH_CR2 starts a commissioning process on DUT_CE" identity: "beta" cluster: "CommissionerCommands" command: "PairWithCode" @@ -191,7 +191,7 @@ tests: - name: "payload" value: payload - - label: "TH_CR2 starts a commissioning process on DUT_CE" + - label: "DUT_CE is commissioned by TH_CR2" identity: "beta" cluster: "DelayCommands" command: "WaitForCommissionee" diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml index 4a83af9b79a42d..21314bcbb1450f 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_9_4.yaml @@ -29,6 +29,13 @@ tests: For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true + - label: "Precondition" + verification: | + 1. Commission DUT to TH + + 2. Set DUT OnOff to On + disabled: true + - label: "DUT sends ColorLoopSet command to TH." PICS: CC.C.C44.Rsp verification: | @@ -224,224 +231,3 @@ tests: [1659960576.918724][2718:2718] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 [1659960576.918767][2718:2718] CHIP:DMG: Cluster 300, Attribute 4000 is dirty disabled: true - - - label: "DUT read ColorLoopActive attribute from TH." - PICS: CC.C.A4002 - verification: | - ./chip-tool colorcontrol read color-loop-active 1 1 - - Verify response contains a Color Loop activated in TH(all-clusters-app) Logs: - - [1657912750.645121][3126:3126] CHIP:IM: Received Read request - [1657912750.645210][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912750.645332][3126:3126] CHIP:DMG: { - [1657912750.645356][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912750.645382][3126:3126] CHIP:DMG: [ - [1657912750.645406][3126:3126] CHIP:DMG: AttributePathIB = - [1657912750.645436][3126:3126] CHIP:DMG: { - [1657912750.645465][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912750.645503][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912750.645531][3126:3126] CHIP:DMG: Attribute = 0x0000_4002, - [1657912750.645555][3126:3126] CHIP:DMG: } - [1657912750.645584][3126:3126] CHIP:DMG: - [1657912750.645615][3126:3126] CHIP:DMG: ], - [1657912750.645643][3126:3126] CHIP:DMG: - [1657912750.645667][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912750.645692][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912750.645715][3126:3126] CHIP:DMG: }, - [1657912750.645801][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912750.645917][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912750.646000][3126:3126] CHIP:DMG: Cluster 300, Attribute 4002 is dirty - disabled: true - - - label: "DUT read ColorLoopStoredEnhancedHue attribute from TH." - PICS: CC.C.A4006 - verification: | - ./chip-tool colorcontrol read color-loop-stored-enhanced-hue 1 1 - - Verify response contains a value same as EnhencedCurrentHue in TH(all-clusters-app) Logs: - [1657912783.463733][3126:3126] CHIP:IM: Received Read request - [1657912783.463816][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912783.463844][3126:3126] CHIP:DMG: { - [1657912783.463865][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912783.463891][3126:3126] CHIP:DMG: [ - [1657912783.463915][3126:3126] CHIP:DMG: AttributePathIB = - [1657912783.463943][3126:3126] CHIP:DMG: { - [1657912783.463970][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912783.464005][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912783.464042][3126:3126] CHIP:DMG: Attribute = 0x0000_4006, - [1657912783.464140][3126:3126] CHIP:DMG: } - [1657912783.464177][3126:3126] CHIP:DMG: - [1657912783.464208][3126:3126] CHIP:DMG: ], - [1657912783.464237][3126:3126] CHIP:DMG: - [1657912783.464264][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912783.464289][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912783.464312][3126:3126] CHIP:DMG: }, - [1657912783.464399][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912783.464546][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912783.464582][3126:3126] CHIP:DMG: Cluster 300, Attribute 4006 is dirty - disabled: true - - - label: - "Over next 30 seconds, DUT read EnhancedCurrentHue attribute from TH." - PICS: CC.C.A4000 - verification: | - ./chip-tool colorcontrol read enhanced-current-hue 1 1 - Verify response contains EnhencedCurrentHue value in TH(all-clusters-app) Logs: - [1657912801.027600][3126:3126] CHIP:IM: Received Read request - [1657912801.027717][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912801.027761][3126:3126] CHIP:DMG: { - [1657912801.027803][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912801.027909][3126:3126] CHIP:DMG: [ - [1657912801.027952][3126:3126] CHIP:DMG: AttributePathIB = - [1657912801.027999][3126:3126] CHIP:DMG: { - [1657912801.028046][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912801.028135][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912801.028262][3126:3126] CHIP:DMG: Attribute = 0x0000_4000, - [1657912801.028320][3126:3126] CHIP:DMG: } - [1657912801.028372][3126:3126] CHIP:DMG: - [1657912801.028425][3126:3126] CHIP:DMG: ], - [1657912801.028472][3126:3126] CHIP:DMG: - [1657912801.028516][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912801.028607][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912801.028653][3126:3126] CHIP:DMG: }, - [1657912801.028777][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912801.028982][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912801.029035][3126:3126] CHIP:DMG: Cluster 300, Attribute 4000 is dirty - disabled: true - - - label: - "Continue another 30 seconds, DUT read EnhancedCurrentHue attribute - from TH." - PICS: CC.C.A4000 - verification: | - ./chip-tool colorcontrol read enhanced-current-hue 1 1 - - Verify response contains EnhencedCurrentHue value in TH(all-clusters-app) Logs: - [1657912801.027600][3126:3126] CHIP:IM: Received Read request - [1657912801.027717][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912801.027761][3126:3126] CHIP:DMG: { - [1657912801.027803][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912801.027909][3126:3126] CHIP:DMG: [ - [1657912801.027952][3126:3126] CHIP:DMG: AttributePathIB = - [1657912801.027999][3126:3126] CHIP:DMG: { - [1657912801.028046][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912801.028135][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912801.028262][3126:3126] CHIP:DMG: Attribute = 0x0000_4000, - [1657912801.028320][3126:3126] CHIP:DMG: } - [1657912801.028372][3126:3126] CHIP:DMG: - [1657912801.028425][3126:3126] CHIP:DMG: ], - [1657912801.028472][3126:3126] CHIP:DMG: - [1657912801.028516][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912801.028607][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912801.028653][3126:3126] CHIP:DMG: }, - [1657912801.028777][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912801.028982][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912801.029035][3126:3126] CHIP:DMG: Cluster 300, Attribute 4000 is dirty - disabled: true - - - label: - "DUT sends ColorLoopSet command to with UpdateFlag attribute to 0x1 - and Action attribute to 0x0 to TH." - PICS: CC.C.C44.Rsp - verification: | - ./chip-tool colorcontrol color-loop-set 1 0 0 0 0 0 0 1 1 - - Verify success response in TH(all-clusters-app) Log: - - [1657912615.862118][3126:3126] CHIP:DMG: InvokeRequestMessage = - [1657912615.862168][3126:3126] CHIP:DMG: { - [1657912615.862209][3126:3126] CHIP:DMG: suppressResponse = false, - [1657912615.862258][3126:3126] CHIP:DMG: timedRequest = false, - [1657912615.862305][3126:3126] CHIP:DMG: InvokeRequests = - [1657912615.862365][3126:3126] CHIP:DMG: [ - [1657912615.862409][3126:3126] CHIP:DMG: CommandDataIB = - [1657912615.862463][3126:3126] CHIP:DMG: { - [1657912615.862510][3126:3126] CHIP:DMG: CommandPathIB = - [1657912615.862565][3126:3126] CHIP:DMG: { - [1657912615.862626][3126:3126] CHIP:DMG: EndpointId = 0x1, - [1657912615.862687][3126:3126] CHIP:DMG: ClusterId = 0x300, - [1657912615.862745][3126:3126] CHIP:DMG: CommandId = 0x44, - [1657912615.862806][3126:3126] CHIP:DMG: }, - [1657912615.862865][3126:3126] CHIP:DMG: - [1657912615.862913][3126:3126] CHIP:DMG: CommandFields = - [1657912615.862968][3126:3126] CHIP:DMG: { - [1657912615.863027][3126:3126] CHIP:DMG: 0x0 = 1, - [1657912615.863084][3126:3126] CHIP:DMG: 0x1 = 0, - [1657912615.863142][3126:3126] CHIP:DMG: 0x2 = 0, - [1657912615.863202][3126:3126] CHIP:DMG: 0x3 = 0, - [1657912615.863263][3126:3126] CHIP:DMG: 0x4 = 0, - [1657912615.863323][3126:3126] CHIP:DMG: 0x5 = 0, - [1657912615.863383][3126:3126] CHIP:DMG: 0x6 = 0, - [1657912615.863436][3126:3126] CHIP:DMG: }, - [1657912615.863481][3126:3126] CHIP:DMG: }, - [1657912615.863538][3126:3126] CHIP:DMG: - [1657912615.863582][3126:3126] CHIP:DMG: ], - [1657912615.863638][3126:3126] CHIP:DMG: - [1657912615.863682][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912615.863725][3126:3126] CHIP:DMG: }, - [1657912615.863845][3126:3126] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o - [1657912615.863906][3126:3126] CHIP:DMG: AccessControl: allowed - [1657912615.863955][3126:3126] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0044 - disabled: true - - - label: "DUT read ColorLoopActive attribute from TH." - PICS: CC.C.A4002 - verification: | - ./chip-tool colorcontrol read color-loop-active 1 1 - - Verify response contains a ColorLoop value in TH(all-clusters-app) Logs: - [1657912416.547714][3126:3126] CHIP:IM: Received Read request - [1657912416.547842][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912416.547890][3126:3126] CHIP:DMG: { - [1657912416.547930][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912416.547986][3126:3126] CHIP:DMG: [ - [1657912416.548031][3126:3126] CHIP:DMG: AttributePathIB = - [1657912416.548116][3126:3126] CHIP:DMG: { - [1657912416.548167][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912416.548231][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912416.548292][3126:3126] CHIP:DMG: Attribute = 0x0000_4002, - [1657912416.548356][3126:3126] CHIP:DMG: } - [1657912416.548410][3126:3126] CHIP:DMG: - [1657912416.548464][3126:3126] CHIP:DMG: ], - [1657912416.548516][3126:3126] CHIP:DMG: - [1657912416.548564][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912416.548610][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912416.548653][3126:3126] CHIP:DMG: }, - [1657912416.548787][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912416.548947][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912416.549000][3126:3126] CHIP:DMG: Cluster 300, Attribute 4002 is dirty - [1657912416.549040][3126:3126] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_4002 (expanded=0) - [1657912416.549091][3126:3126] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v - [1657912416.549147][3126:3126] CHIP:DMG: AccessControl: allowed - [1657912416.549237][3126:3126] CHIP:DMG: Sending report (payload has 38 bytes)... - disabled: true - - - label: "DUT read EnhancedCurrentHue attribute from TH." - PICS: CC.C.A4000 - verification: | - ./chip-tool colorcontrol read enhanced-current-hue 1 1 - - - Verify response contains a ColorLoop value in TH(all-clusters-app) Logs: - [1657912801.027600][3126:3126] CHIP:IM: Received Read request - [1657912801.027717][3126:3126] CHIP:DMG: ReadRequestMessage = - [1657912801.027761][3126:3126] CHIP:DMG: { - [1657912801.027803][3126:3126] CHIP:DMG: AttributePathIBs = - [1657912801.027909][3126:3126] CHIP:DMG: [ - [1657912801.027952][3126:3126] CHIP:DMG: AttributePathIB = - [1657912801.027999][3126:3126] CHIP:DMG: { - [1657912801.028046][3126:3126] CHIP:DMG: Endpoint = 0x1, - [1657912801.028135][3126:3126] CHIP:DMG: Cluster = 0x300, - [1657912801.028262][3126:3126] CHIP:DMG: Attribute = 0x0000_4000, - [1657912801.028320][3126:3126] CHIP:DMG: } - [1657912801.028372][3126:3126] CHIP:DMG: - [1657912801.028425][3126:3126] CHIP:DMG: ], - [1657912801.028472][3126:3126] CHIP:DMG: - [1657912801.028516][3126:3126] CHIP:DMG: isFabricFiltered = true, - [1657912801.028607][3126:3126] CHIP:DMG: InteractionModelRevision = 1 - [1657912801.028653][3126:3126] CHIP:DMG: }, - [1657912801.028777][3126:3126] CHIP:DMG: IM RH moving to [GeneratingReports] - [1657912801.028982][3126:3126] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1657912801.029035][3126:3126] CHIP:DMG: Cluster 300, Attribute 4000 is dirty - disabled: true 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 db445de96a72be..4ef2f85f6b4df0 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 @@ -82,7 +82,7 @@ tests: - label: "MaxNetworks attribute value is at least 4 which is saved as - MaxNetworksValue for future use" + 'MaxNetworksValue' for future use" verification: | The test case is not verifiable. As MaxNetworks value is 1 but expected is 4 @@ -97,6 +97,8 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -106,6 +108,8 @@ tests: entries as NumNetworks" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -123,6 +127,8 @@ tests: "TH calculates the midpoint of the network list as floor((MaxNetwor ksValue + 1)/2) and saves as Midpoint" verification: | + ./chip-tool networkcommissioning add-or-update-thread-network hex:1011101122222229 1 0 --Breadcrumb 1 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -131,6 +137,9 @@ tests: "TH sends ArmFailSafe command to the DUT with the ExpiryLengthSeco nds field set to 900" verification: | + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -142,6 +151,8 @@ tests: credentials are NOT required to be connectable." PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning add-or-update-thread-network hex:1011101122222229 1 0 --Breadcrumb 1 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -151,6 +162,8 @@ tests: as OriginalNetworkL ist" PICS: CNET.S.A0001 verification: | + ./chip-tool networkcommissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -162,6 +175,8 @@ tests: 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 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -169,6 +184,8 @@ tests: - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -187,6 +204,8 @@ tests: - label: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -198,6 +217,8 @@ tests: is Midpoint 3. Breadcrum b is 2" PICS: CNET.S.C08.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning reorder-network hex:1011101122222229 1 0 --Breadcrumb 1 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -206,6 +227,8 @@ tests: "TH reads Breadcumb attribute from the General Commissioning Cluster" verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -213,6 +236,8 @@ tests: - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -221,6 +246,8 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 0" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -228,6 +255,8 @@ tests: - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -236,6 +265,9 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 900" verification: | + ./chip-tool generalcommissioning arm-fail-safe 900 0 1 0 + + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -265,6 +297,8 @@ tests: - label: "TH sends the CommissioningCo mplete command to the DUT" verification: | + ./chip-tool generalcommissioning CommissioningComplete 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -273,6 +307,8 @@ tests: "TH sends ArmFailSafe command to the DUT with ExpiryLengthSeco nds set to 0" verification: | + ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 + The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4 ( Pre-Condition) disabled: true @@ -280,6 +316,8 @@ tests: - label: "TH reads Networks attribute list from the DUT" PICS: CNET.S.A0001 verification: | + ./chip-tool network-commissioning read networks 1 0 + 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_DGETH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml index 8e623c1941d617..736ff0899969c0 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT reads PHYRate attribute from TH." @@ -166,7 +166,7 @@ tests: - label: "DUT reads a attribute value from TH." PICS: DGETH.S.A0004 verification: | - ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 1 + ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 0 Verify the value of TxErrCount is in range uint64 on TH(all-clusters-app) Log @@ -198,7 +198,7 @@ tests: - label: "DUT reads a attribute value from TH." PICS: DGETH.S.A0005 verification: | - ./chip-tool ethernetnetworkdiagnostics read collision-count 1 1 + ./chip-tool ethernetnetworkdiagnostics read collision-count 1 0 Verify the value of CollisionCount is in range uint64 on TH(all-clusters-app) Log @@ -230,7 +230,7 @@ tests: - label: "DUT reads a attribute value from TH." PICS: DGETH.S.A0006 verification: | - ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 1 + ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 0 Verify on TH(all-clusters-app) Log @@ -262,7 +262,7 @@ tests: - label: "DUT reads a attribute value from TH." PICS: DGETH.S.A0007 verification: | - ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 1 + ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 0 Verify the value of CarrierDetect is either bool or null on TH(all-clusters-app) Log @@ -294,7 +294,7 @@ tests: - label: "DUT reads a attribute value from TH." PICS: DGETH.S.A0008 verification: | - ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 1 + ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 0 Verify the value of TimeSinceReset is in range uint64 on TH(all-clusters-app) Log diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml index 6afcb6bfc576f7..d3e780fe83dfb7 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_3_2.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT sends ResetCounts to TH." @@ -39,7 +39,7 @@ tests: verification: | Verify Command data recieved from running the below command is a success - ./chip-tool ethernetnetworkdiagnostics reset-counts 1 1 + ./chip-tool ethernetnetworkdiagnostics reset-counts 1 0 Verify Command data recieved from running the below command is a success on TH(all-clusters-app) Log diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml index 9569b1c1370dc5..49715b155c022b 100644 --- a/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGSW_3_2.yaml @@ -31,13 +31,13 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT sends ResetWatermarks to TH." PICS: DGSW.C.C00.Tx verification: | - ./chip-tool softwarediagnostics read reset-watermarks 1 0 + ./chip-tool softwarediagnostics reset-watermarks 1 0 Verify the success response on TH(all-clusters-app) Log: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml index a27bf4593c59d0..2668ec4649a277 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml @@ -339,7 +339,7 @@ tests: [1657884902.176007][2938:2943] CHIP:DMG: Attribute = 0x0000_0005, [1657884902.176067][2938:2943] CHIP:DMG: } [1657884902.176147][2938:2943] CHIP:DMG: - [1657884902.176215][2938:2943] CHIP:DMG: Data = "label", + [1657884902.176215][2938:2943] CHIP:DMG: Data = label, [1657884902.176265][2938:2943] CHIP:DMG: }, [1657884902.176322][2938:2943] CHIP:DMG: [1657884902.176369][2938:2943] CHIP:DMG: }, @@ -512,7 +512,7 @@ tests: activation." PICS: MCORE.IDM.C.SubscribeRequest verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. + Out of scope for V1.0 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml index e98f2523998ebf..83b835c74291dc 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_3.yaml @@ -183,7 +183,7 @@ tests: status response with an inactive subscription. Change the value of the attribute which has been subscribed on the DUT." verification: | - This tester needs to be tested by changing the controls available in the DUT and then read the value. And can"t be tested with RPI& has dependency of Vendor specific DUT support. + Out of scope for V1.0 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml index eb18f9a35ab675..a4cde5ef8f5e0f 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_5_1.yaml @@ -217,6 +217,5 @@ tests: the received timed request." PICS: MCORE.IDM.C.WriteRequest || MCORE.IDM.C.InvokeRequest verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml index 1fd77cd9e875d5..44d3fdc830fa0e 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml @@ -862,8 +862,7 @@ tests: message to DUT + TH sends Status Response Message with an error Status." verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml index b902f4b3ede5c0..d61cab18bab216 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_4.yaml @@ -173,8 +173,7 @@ tests: "DUT sends Subscribe Request Message to the TH and TH does not respond with Report Data message to DUT." verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true - label: @@ -182,16 +181,14 @@ tests: message to DUT. DUT sends Status Response Message to the TH. TH does not respond with Subscribe Response message to DUT." verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true - label: "With an active Event subscription from DUT to TH, TH sends Report Data message to DUT with an inactive SubscriptionId." verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true - label: @@ -199,6 +196,5 @@ tests: Data message to DUT after the maximum interval from the last Report Data." verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. - https://github.com/CHIP-Specifications/chip-test-plans/issues/1885 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml index b38f5ee35f2ef1..187cbc0963b239 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_7_1.yaml @@ -30,6 +30,46 @@ tests: Here the command to enter interactive mode:-- ./chip-tool interactive start disabled: true + - label: "Precondition" + verification: | + Use the below commands to provision the DUT with 5 reference devices (Reference device is unique instance of a Chip-tool) + RD1, RD2, RD3, RD4, RD5 should be on separate, distinct fabrics. in RPI platform + + * For ethernet provisioning in DUT + ./chip-all-clusters-app + + *Provision the device using chip tool on first controller(RD1) + *./chip-tool pairing ethernet node-id setup-pin-code discriminator device-remote-ip device-remote-port(5540) + on first controller open a commissioning window using below command (In RD1) + ./chip-tool pairing open-commissioning-window 1 1 400 2000 3840 (Save the manualcode for 2nd Provision) + + *Provision the device using chip tool on 2nd controller(RD2) + * ./chip-tool pairing code 2 mannualcode –commissioner name beta + on 2nd controller open a commissioning window using below command (In RD2) + ./chip-tool pairing open-commissioning-window 2 1 400 2000 3840 ( Save the manualcode for 3rd Provision) + + + *Provision the device using chip tool on 3rd controller(RD3) + * ./chip-tool pairing code 3 mannualcode –commissioner name gamma + on 3rd controller open a commissioning window using below command (In RD3) + ./chip-tool pairing open-commissioning-window 2 1 400 2000 3840 ( Save the manualcode for 4th Provision) + + *Provision the device using chip tool on 4th controller(RD4) + * ./chip-tool pairing code 4 mannualcode –commissioner name 234 + on 3rd controller open a commissioning window using below command (In RD4) + ./chip-tool pairing open-commissioning-window 2 1 400 2000 3840 ( Save the manualcode for 5th Provision) + + *Provision the device using chip tool on 5th controller(RD5) + * ./chip-tool pairing code 5 mannualcode –commissioner name 2345 + on 3rd controller open a commissioning window using below command (In RD5) + ./chip-tool pairing open-commissioning-window 2 1 400 2000 3840 + + + Please open 5 terminal windows to observe the subscription report messages coming from different subscriptions(to different fabrics) + + Please use Interactive mode to Verify subscription test cases. Here the command to enter interactive mode:-- ./chip-tool interactive start + disabled: true + - label: "RD1, RD2, RD3, RD4, RD5 send 3 Subscribe Request Messages to DUT.(Total - 15 active subscriptions) Each subscribe request should @@ -1346,6 +1386,5 @@ tests: Subscription Requests are activated, send a Subscribe request messages having 3 different paths from RD1A to the DUT." verification: | - Verification step identification is in progress - https://github.com/project-chip/connectedhomeip/issues/21009 + Mark this as not testable /NA. Out of Scope for V1.0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml index 386a7447f264d6..79c1aad128d872 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml @@ -47,7 +47,7 @@ tests: #Adding below step resolve the issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/499 - label: "Precondition: write default value of OnOffTransitionTime attribute" - PICS: LVL.S.A0013 + PICS: LVL.S.A0010 command: "writeAttribute" attribute: "OnOffTransitionTime" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml index 4febf9ad1e5248..239a16fbadcae7 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml @@ -47,7 +47,7 @@ tests: #Adding below step resolve the issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/499 - label: "Precondition: write default value of OnOffTransitionTime attribute" - PICS: LVL.S.A0013 + PICS: LVL.S.A0010 command: "writeAttribute" attribute: "OnOffTransitionTime" arguments: @@ -122,7 +122,7 @@ tests: - label: "TH sends a Step command to the DUT with StepMode =0x00 (up), StepSize =150 and TransitionTime =300" - PICS: LVL.S.C02.Rsp && LVL.S.M.VarRate + PICS: LVL.S.C02.Rsp command: "Step" arguments: values: @@ -138,6 +138,7 @@ tests: value: 0 - label: "Wait 10s" + PICS: LVL.S.M.VarRate cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -155,6 +156,7 @@ tests: maxValue: 115 - label: "Wait 10s" + PICS: LVL.S.M.VarRate cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -172,6 +174,7 @@ tests: maxValue: 173 - label: "Wait 10s" + PICS: LVL.S.M.VarRate cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -189,6 +192,7 @@ tests: maxValue: 200 - label: "Wait 5000ms" + PICS: LVL.S.M.VarRate cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml index e9793c96a37ea0..907eae64ca7980 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml @@ -31,23 +31,10 @@ tests: - name: "nodeId" value: nodeId - - label: "Precondition Send On Command" - cluster: "On/Off" - PICS: OO.S.C01.Rsp - command: "On" - - - label: "Check on/off attribute value is true after on command" - cluster: "On/Off" - PICS: OO.S.A0000 - command: "readAttribute" - attribute: "OnOff" - response: - value: 1 - #Adding below step resolve the issue https://github.com/CHIP-Specifications/chip-certification-tool/issues/499 - label: "Precondition: write default value of OnOffTransitionTime attribute" - PICS: LVL.S.A0013 + PICS: LVL.S.A0010 command: "writeAttribute" attribute: "OnOffTransitionTime" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml index be5dc980cc2a93..e05fd234acce8c 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml @@ -11,493 +11,65 @@ # 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: - 13.4.2. [TC-SC-4.2] Commissionable Node Discovery - Commissioner Case [DUT - - Commissioner] +name: 15.4.2. [TC-SC-4.2] Discovery [DUT as Commissioner] PICS: - MCORE.ROLE.COMMISSIONER config: nodeId: 0x12344321 - cluster: "Secure Channel" + cluster: "Basic" endpoint: 0 - discriminator: - type: int16u - defaultValue: 3840 - vendorId: - type: int16u - defaultValue: 65521 - productId: - type: int16u - defaultValue: 32769 - deviceType: - type: int16u - defaultValue: 5 tests: - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId - - - label: - "TH is put in Commissioning Mode using Open Basic Commissioning Window - command and starts advertising Commissionable Node Discovery service - using DNS-SD" - cluster: "AdministratorCommissioning" - command: "OpenBasicCommissioningWindow" - timedInteractionTimeoutMs: 10000 - arguments: - values: - - name: "CommissioningTimeout" - value: 180 - - - label: "Check Instance Name" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "instanceName" - saveAs: deviceInstanceNameBeforeReboot1 - constraints: - minLength: 16 - maxLength: 16 - isUpperCase: true - isHexString: true - - #validate the service type and the service domain not implemented in CI - - - label: "Check Hostname" - PICS: "( MCORE.SC.WIFI || MCORE.SC.ETH ) && !MCORE.SC.THR" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "hostName" - constraints: - minLength: 12 - maxLength: 12 - isUpperCase: true - isHexString: true - - - label: "Check Hostname" - PICS: "( !MCORE.SC.WIFI && !MCORE.SC.ETH ) && MCORE.SC.THR " - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "hostName" - constraints: - minLength: 16 - maxLength: 16 - isUpperCase: true - isHexString: true - - #subtype - - label: "Check Long Discriminator _L" - cluster: "DiscoveryCommands" - command: "FindCommissionableByLongDiscriminator" - arguments: - values: - - name: "value" - value: discriminator - - - label: "Check Short Discriminator (_S)" - cluster: "DiscoveryCommands" - command: "FindCommissionableByShortDiscriminator" - arguments: - values: - - name: "value" - value: discriminator - - - label: "Check Vendor ID (_V)" - PICS: MCORE.SC.VENDOR_SUBTYPE - cluster: "DiscoveryCommands" - command: "FindCommissionableByVendorId" - arguments: - values: - - name: "value" - value: vendorId - - - label: "Check Device Type ID (_T)" - PICS: PICS_SKIP_SAMPLE_APP && MCORE.SC.DEVTYPE_SUBTYPE - cluster: "DiscoveryCommands" - command: "FindCommissionableByDeviceType" - arguments: - values: - - name: "value" - value: deviceType - - - label: "Check Commissioning Mode (_CM)" - cluster: "DiscoveryCommands" - command: "FindCommissionableByCommissioningMode" - - - label: "TXT key for Vendor ID and Product ID (VP)" - PICS: MCORE.SC.VP_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "vendorId" - value: vendorId - - - label: "TXT key for Vendor ID and Product ID (VP)" - PICS: MCORE.SC.VP_KEY - optional: true - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "productId" - value: productId - - - label: "Optional TXT key for MRP Retry Interval Idle (CRI)" - PICS: MCORE.SC.SII_OP_DISCOVERY_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "mrpRetryIntervalIdle" - constraints: - maxValue: 3600000 - - - label: "Optional TXT key for MRP Retry Interval Active (CRA)" - PICS: MCORE.SC.SAI_OP_DISCOVERY_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "mrpRetryIntervalActive" - constraints: - maxValue: 3600000 - - - label: "TXT key for commissioning mode (CM)" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "commissioningMode" - value: 1 - - - label: "Optional TXT key for device type (DT)" - PICS: PICS_SKIP_SAMPLE_APP && MCORE.SC.DT_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "deviceType" - value: deviceType - constraints: - maxValue: 999 - - - label: "Optional TXT key for device name (DN)" - PICS: MCORE.SC.DN_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "deviceName" - constraints: - maxLength: 32 - - - label: "Optional TXT key for rotating device identifier (RI)" - PICS: MCORE.SC.RI_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "rotatingIdLen" - constraints: - maxValue: 100 - - - label: "Optional TXT key for pairing hint (PH)" - PICS: MCORE.SC.PH_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "pairingHint" - constraints: - notValue: 0 - - - label: "Optional TXT key for pairing instructions (PI)" - PICS: MCORE.SC.PI_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "pairingInstruction" - constraints: - maxLength: 128 - - - label: "Check IPs" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "numIPs" - constraints: - minValue: 1 - - - label: "Stop target device" - PICS: PICS_SDK_CI_ONLY - cluster: "SystemCommands" - command: "Stop" + - label: "Note" + verification: | + Chip-tool command used below are an example to verify the DUT as commissioner test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command + disabled: true - label: - "Start target device with the provided discriminator for basic - commissioning advertisement" - cluster: "SystemCommands" - PICS: PICS_SDK_CI_ONLY - command: "Start" - arguments: - values: - - name: "discriminator" - value: discriminator - - - label: "TH is rebooted" + "By any means, TH adds an unknown key/value pair in the advertised + data(e.g. AB=12345) and is in Commissioning Mode" verification: | - Not implemented in YAML - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP - arguments: - values: - - name: "message" - value: "Please reboot the TH and enter 'y' after TH starts" - - name: "expectedValue" - value: "y" - - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId - - - label: "Open Commissioning Window" - cluster: "AdministratorCommissioning" - command: "OpenBasicCommissioningWindow" - timedInteractionTimeoutMs: 10000 - arguments: - values: - - name: "CommissioningTimeout" - value: 180 - - - label: "Check Instance Name" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "instanceName" - constraints: - minLength: 16 - maxLength: 16 - isUpperCase: true - isHexString: true - notValue: deviceInstanceNameBeforeReboot1 - - #validate the service type and the service domain not implemented in CI - - - label: "Check Hostname" - PICS: "( MCORE.SC.WIFI || MCORE.SC.ETH ) && !MCORE.SC.THR " - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "hostName" - constraints: - minLength: 12 - maxLength: 12 - isUpperCase: true - isHexString: true - - - label: "Check Hostname" - PICS: "( !MCORE.SC.WIFI && !MCORE.SC.ETH ) && MCORE.SC.THR" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "hostName" - constraints: - minLength: 16 - maxLength: 16 - isUpperCase: true - isHexString: true - - - label: "Check Long Discriminator _L" - cluster: "DiscoveryCommands" - command: "FindCommissionableByLongDiscriminator" - arguments: - values: - - name: "value" - value: discriminator - - - label: "Check Short Discriminator (_S)" - cluster: "DiscoveryCommands" - command: "FindCommissionableByShortDiscriminator" - arguments: - values: - - name: "value" - value: discriminator - - - label: "Check Vendor ID (_V)" - PICS: MCORE.SC.VENDOR_SUBTYPE - cluster: "DiscoveryCommands" - command: "FindCommissionableByVendorId" - arguments: - values: - - name: "value" - value: vendorId - - - label: "Check Device Type ID (_T)" - PICS: PICS_SKIP_SAMPLE_APP && MCORE.SC.DEVTYPE_SUBTYPE - cluster: "DiscoveryCommands" - command: "FindCommissionableByDeviceType" - arguments: - values: - - name: "value" - value: deviceType - - - label: "Check Commissioning Mode (_CM)" - cluster: "DiscoveryCommands" - command: "FindCommissionableByCommissioningMode" + Run all cluster app in one TH Terminal - - label: "TXT key for Vendor ID and Product ID (VP)" - PICS: MCORE.SC.VP_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "vendorId" - value: vendorId + Run the unknown key/value pair on second TH Terminal with the same discriminator as the one in the first teminal: - - label: "TXT key for Vendor ID and Product ID (VP)" - PICS: MCORE.SC.VP_KEY - optional: true - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "productId" - value: productId + avahi-publish-service --subtype=_S3._sub._matterc._udp --subtype=_L840._sub._matterc._udp DD200C20D25AE5F7 --subtype=_CM._sub._matterc._udp _matterc._udp 11111 D=3840 CM=1 INVALID_TEST=40 SII=5000 SAI=300 PH=36 PI= VP=65521+3276 T=1 + disabled: true - - label: "Optional TXT key for MRP Retry Interval Idle (CRI)" - PICS: MCORE.SC.SII_OP_DISCOVERY_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "mrpRetryIntervalIdle" - constraints: - maxValue: 3600000 - - - label: "Optional TXT key for MRP Retry Interval Active (CRA)" - PICS: MCORE.SC.SAI_OP_DISCOVERY_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "mrpRetryIntervalActive" - constraints: - maxValue: 3600000 - - - label: "TXT key for commissioning mode (CM)" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "commissioningMode" - value: 1 - - - label: "Optional TXT key for device type (DT)" - PICS: PICS_SKIP_SAMPLE_APP && MCORE.SC.DT_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "deviceType" - value: deviceType - constraints: - maxValue: 999 - - - label: "Optional TXT key for device name (DN)" - PICS: MCORE.SC.DN_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "deviceName" - constraints: - maxLength: 32 - - - label: "Optional TXT key for rotating device identifier (RI)" - PICS: MCORE.SC.RI_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "rotatingIdLen" - constraints: - maxValue: 100 - - - label: "Optional TXT key for pairing hint (PH)" - PICS: MCORE.SC.PH_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "pairingHint" - constraints: - notValue: 0 - - - label: "Optional TXT key for pairing instructions (PI)" - PICS: MCORE.SC.PI_KEY - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "pairingInstruction" - constraints: - maxLength: 128 - - - label: "Check IPs" - cluster: "DiscoveryCommands" - command: "FindCommissionable" - response: - values: - - name: "numIPs" - constraints: - minValue: 1 - - #Negative scenarios not implemented in CI - - label: "TH adds an unknown key/value pair in the advertised data" - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: - "Please enter 'y' if TH adds an unknown key/value pair in - the advertised data" - - name: "expectedValue" - value: "y" - - #Negative scenarios not implemented in CI - - label: "Scan for DNS-SD commissioner advertisements from TH" - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + - label: "DUT attempts to commission TH" + verification: | + Verify the DUT is able to commission the TH, in spite of the avahi publish with unknown key/value pair. + As an example, In the case of chip-tool as commissioner, you can verify commissioning DUT with the below command, (Use the equivalent command on the DUT) + + % sudo ./out/debug/chip-tool pairing code 1 MT:-24J0YXE00KA0648G00 + + [1661234861.142378][2599:2602] CHIP:BLE: New device scanned: E4:5F:01:0B:F6:6F + [1661234861.142474][2599:2602] CHIP:BLE: Device discriminator match. Attempting to connect. + [1661234861.146984][2599:2602] CHIP:BLE: Scan complete notification without an active scan. + [1661234861.805967][2599:2604] CHIP:DL: Avahi browse: all for now + [1661234861.810750][2599:2604] CHIP:DL: Avahi resolve found + [1661234861.810840][2599:2604] CHIP:DIS: Discovered node: + [1661234861.810861][2599:2604] CHIP:DIS: Hostname: E45F010BF66D0000 [1661234861.810887][2599:2604] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0b:f66e + [1661234861.810908][2599:2604] CHIP:DIS: Port: 5540 + [1661234861.810928][2599:2604] CHIP:DIS: Mrp Interval idle: 5000 ms + [1661234861.810947][2599:2604] CHIP:DIS: Mrp Interval active: 300 ms + [1661234861.810966][2599:2604] CHIP:DIS: TCP Supported: 1 + [1661234861.810985][2599:2604] CHIP:DIS: Vendor ID: 65521 + [1661234861.811004][2599:2604] CHIP:DIS: Product ID: 32769 + [1661234861.811023][2599:2604] CHIP:DIS: Long Discriminator: 3840 + [1661234861.811042][2599:2604] CHIP:DIS: Pairing Hint: 33 + [1661234861.811062][2599:2604] CHIP:DIS: Instance Name: BE02F0C82E75A3BF + [1661234861.811081][2599:2604] CHIP:DIS: Commissioning Mode: 1 + + [1661234862.488290][2599:2604] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 + [1661234862.488362][2599:2604] CHIP:CTL: Received CommissioningComplete response, errorCode=0 + [1661234862.488421][2599:2604] CHIP:CTL: Successfully finished commissioning step "SendComplete" + [1661234862.488467][2599:2604] CHIP:CTL: Commissioning stage next step: "SendComplete" -> "Cleanup" + [1661234862.488521][2599:2604] CHIP:CTL: Performing next commissioning step "Cleanup" + [1661234862.488624][2599:2604] CHIP:CTL: Successfully finished commissioning step "Cleanup" + [1661234862.488684][2599:2604] CHIP:TOO: Device commissioning completed with success + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml new file mode 100644 index 00000000000000..f5822dcf2ced11 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_SC_5_1.yaml @@ -0,0 +1,239 @@ +# 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: + 19.1.1. [TC-SC-5.1] Adding member to a group - TH as Admin and DUT as Group + Member + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Precondition" + verification: | + Group Member is commissioned with Admin + + DUT will set TestGroupEndpoint + disabled: true + + - label: "TH writes ACL entry by setting AuthMode as Group to DUT" + verification: | + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 1 0 + + Verify success response on the TH Log: + + [1652330385.328196][3240:3245] CHIP:DMG: StatusIB = + [1652330385.328229][3240:3245] CHIP:DMG: { + [1652330385.328264][3240:3245] CHIP:DMG: status = 0x00 (SUCCESS), + [1652330385.328298][3240:3245] CHIP:DMG: }, + disabled: true + + - label: + "Admin generates fabric-unique GroupID, GroupName, random key, + EpochKey0 and GroupKeySetID. Admin sets GroupKeySecurityPolicy = + TrustFirst (1) GroupKeyMulticastPolicy = PerGroupID (0) + EpochStartTime0 = 0" + verification: | + As Admin generates it is not required to verify + disabled: true + + - label: + "Admin sends KeySetWrite command to GroupKeyManagement cluster to DUT + on PIXIT.G.ENDPOINT" + verification: | + ./chip-tool groupkeymanagement key-set-write "{"groupKeySetID": 42, + "groupKeySecurityPolicy": 0, "epochKey0": + "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": + "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": + "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }" 1 0 + + Verify success response on the TH Log: + + [1650610345.847233][2626:2631] CHIP:DMG: + [1650610345.847274][2626:2631] CHIP:DMG: StatusIB = + [1650610345.847317][2626:2631] CHIP:DMG: { + [1650610345.847383][2626:2631] CHIP:DMG: status = 0x00 (SUCCESS), + [1650610345.847429][2626:2631] CHIP:DMG: }, + [1650610345.847477][2626:2631] CHIP:DMG: + disabled: true + + - label: + "Admin binds GroupId with GroupKeySetID in the GroupKeyMap attribute + list on GroupKeyManagement cluster" + verification: | + ./chip-tool groupkeymanagement write group-key-map "[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]" 1 0 + + Verify success response on the TH Log: + + [1652352019.875893][2552:2557] CHIP:DMG: WriteResponseMessage = + [1652352019.875922][2552:2557] CHIP:DMG: { + [1652352019.875946][2552:2557] CHIP:DMG: AttributeStatusIBs = + [1652352019.875981][2552:2557] CHIP:DMG: [ + [1652352019.876008][2552:2557] CHIP:DMG: AttributeStatusIB = + [1652352019.876041][2552:2557] CHIP:DMG: { + [1652352019.876070][2552:2557] CHIP:DMG: AttributePathIB = + [1652352019.876104][2552:2557] CHIP:DMG: { + [1652352019.876143][2552:2557] CHIP:DMG: Endpoint = 0x0, + [1652352019.876183][2552:2557] CHIP:DMG: Cluster = 0x3f, + [1652352019.876225][2552:2557] CHIP:DMG: Attribute = 0x0000_0000, + [1652352019.876263][2552:2557] CHIP:DMG: } + [1652352019.876303][2552:2557] CHIP:DMG: + [1652352019.876337][2552:2557] CHIP:DMG: StatusIB = + [1652352019.876375][2552:2557] CHIP:DMG: { + [1652352019.876414][2552:2557] CHIP:DMG: status = 0x00 (SUCCESS), + [1652352019.876450][2552:2557] CHIP:DMG: }, + [1652352019.876489][2552:2557] CHIP:DMG: + [1652352019.876519][2552:2557] CHIP:DMG: }, + [1652352019.876562][2552:2557] CHIP:DMG: + [1652352019.876590][2552:2557] CHIP:DMG: AttributeStatusIB = + [1652352019.876622][2552:2557] CHIP:DMG: { + [1652352019.876652][2552:2557] CHIP:DMG: AttributePathIB = + [1652352019.876690][2552:2557] CHIP:DMG: { + [1652352019.876728][2552:2557] CHIP:DMG: Endpoint = 0x0, + [1652352019.876768][2552:2557] CHIP:DMG: Cluster = 0x3f, + [1652352019.876809][2552:2557] CHIP:DMG: Attribute = 0x0000_0000, + [1652352019.876849][2552:2557] CHIP:DMG: ListIndex = Null, + [1652352019.876885][2552:2557] CHIP:DMG: } + [1652352019.876923][2552:2557] CHIP:DMG: + [1652352019.876961][2552:2557] CHIP:DMG: StatusIB = + [1652352019.876995][2552:2557] CHIP:DMG: { + [1652352019.877029][2552:2557] CHIP:DMG: status = 0x00 (SUCCESS), + [1652352019.877077][2552:2557] CHIP:DMG: }, + [1652352019.877132][2552:2557] CHIP:DMG: + [1652352019.877179][2552:2557] CHIP:DMG: }, + [1652352019.877224][2552:2557] CHIP:DMG: + [1652352019.877262][2552:2557] CHIP:DMG: ], + [1652352019.877339][2552:2557] CHIP:DMG: + [1652352019.877381][2552:2557] CHIP:DMG: InteractionModelRevision = 1 + [1652352019.877419][2552:2557] CHIP:DMG: } + disabled: true + + - label: + "Admin sends AddGroup Command to DUT with the GroupID set by Admin on + PIXIT.SC.ENDPOINT" + verification: | + ./chip-tool groups add-group 0x0001 grp1 1 1 + + Verify AddGroupResponse on the TH Log: + + [1651218084.427102][2526:2531] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 + [1651218084.427203][2526:2531] CHIP:TOO: AddGroupResponse: { + [1651218084.427241][2526:2531] CHIP:TOO: status: 0 + [1651218084.427264][2526:2531] CHIP:TOO: groupId: 1 + [1651218084.427314][2526:2531] CHIP:TOO: } + disabled: true + + - label: + "Admin sends ViewGroup command with the GroupID to the Group cluster + on the DUT on PIXIT.SC.ENDPOINT" + verification: | + ./chip-tool groups view-group 0x0001 1 1 + + Verify ViewGroupResponse on the TH Log: + + [1651218576.149152][2635:2640] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1651218576.149231][2635:2640] CHIP:TOO: ViewGroupResponse: { + [1651218576.149265][2635:2640] CHIP:TOO: status: 0 + [1651218576.149289][2635:2640] CHIP:TOO: groupId: 1 + [1651218576.149311][2635:2640] CHIP:TOO: groupName: grp1 + [1651218576.149335][2635:2640] CHIP:TOO: } + disabled: true + + - label: "Admin sends KeySetRead Command to DUT" + verification: | + ./chip-tool groupkeymanagement key-set-read 42 1 0 + + Verify KeySetReadResponse on the TH Log: + + [1650610759.578043][2739:2744] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003F Command=0x0000_0002 + [1650610759.578099][2739:2744] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Command 0x0000_0002 + [1650610759.578220][2739:2744] CHIP:TOO: KeySetReadResponse: { + [1650610759.578251][2739:2744] CHIP:TOO: groupKeySet: { + [1650610759.578291][2739:2744] CHIP:TOO: GroupKeySetID: 42 + [1650610759.578334][2739:2744] CHIP:TOO: GroupKeySecurityPolicy: 0 + [1650610759.578363][2739:2744] CHIP:TOO: EpochKey0: null + [1650610759.578391][2739:2744] CHIP:TOO: EpochStartTime0: 2220000 + [1650610759.578418][2739:2744] CHIP:TOO: EpochKey1: null + [1650610759.578445][2739:2744] CHIP:TOO: EpochStartTime1: 2220001 + [1650610759.578472][2739:2744] CHIP:TOO: EpochKey2: null + [1650610759.578498][2739:2744] CHIP:TOO: EpochStartTime2: 2220002 + [1650610759.578527][2739:2744] CHIP:TOO: } + [1650610759.578553][2739:2744] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupKeyMap Attribute from the GroupKeyManagement cluster + from DUT" + verification: | + ./chip-tool groupkeymanagement read group-key-map 1 0 + + Verify GroupKeyMapStruct on the TH Log: + + 1652429573.936605][2883:2888] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0000 DataVersion: 75110822 + [1652429573.936744][2883:2888] CHIP:TOO: GroupKeyMap: 1 entries + [1652429573.936819][2883:2888] CHIP:TOO: [1]: { + [1652429573.936860][2883:2888] CHIP:TOO: GroupId: 1 + [1652429573.936896][2883:2888] CHIP:TOO: GroupKeySetID: 42 + [1652429573.936932][2883:2888] CHIP:TOO: FabricIndex: 1 + [1652429573.936969][2883:2888] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from GroupKeyManagement cluster on DUT." + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + Verify GroupTable on the TH Log: + + [1655965817.917300][3012:3017] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1208492408 + [1655965817.917408][3012:3017] CHIP:TOO: GroupTable: 1 entries + [1655965817.917506][3012:3017] CHIP:TOO: [1]: { + [1655965817.917559][3012:3017] CHIP:TOO: GroupId: 1 + [1655965817.917600][3012:3017] CHIP:TOO: Endpoints: 2 entries + [1655965817.917642][3012:3017] CHIP:TOO: [1]: 0 + [1655965817.917680][3012:3017] CHIP:TOO: [2]: 1 + [1655965817.917718][3012:3017] CHIP:TOO: GroupName: grp1 + [1655965817.917752][3012:3017] CHIP:TOO: FabricIndex: 1 + [1655965817.917784][3012:3017] CHIP:TOO: } + disabled: true + + - label: + "Configure the TH for sending Group message Add the group that was + created in step 3 to the client side Add the keysets with the + GroupKeySetID from the step 2 for the client side Bind the + GroupKeySetID with the GroupID created View the GroupID, GroupName and + GroupKeySetID which is binded for sending the Group message" + verification: | + ./chip-tool groupsettings add-group grp1 0x0001 + + ./chip-tool groupsettings add-keysets 0x0042 0 0x000000000021dfe0 hex:d0d1d2d3d4d5d6d7d8d9dadbdcdddedf + + ./chip-tool groupsettings bind-keyset 0x0001 0x0042 + + ./chip-tool groupsettings show-groups + + Verify groups on the TH Log: + + +-------------------------------------------------------------------------------------+ + | Available Groups : | + +-------------------------------------------------------------------------------------+ + | Group Id | KeySet Id | Group Name | + | 0x101 0x1a1 Group #1 | + | 0x102 0x1a2 Group #2 | + | 0x1 0x42 grp1 | + +-------------------------------------------------------------------------------------+ + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_5_2.yaml b/src/app/tests/suites/certification/Test_TC_SC_5_2.yaml new file mode 100644 index 00000000000000..a8297b8947d345 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_SC_5_2.yaml @@ -0,0 +1,62 @@ +# 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: 19.1.2. [TC-SC-5.2] Receiving a group message - TH to DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Precondition" + verification: | + DUT and TH are commissioned. + + DUT and TH are part of a common group.- Run TC-SC-5.1 to establish this precondition + + DUT supports the Identify cluster + disabled: true + + - label: "TH writes ACL entry by setting AuthMode as Group to DUT" + verification: | + As this step is executed in the TC-SC-5.1, we can skip this step during execution. + disabled: true + + - label: + "TH sends a multicast Identify command with the IdentifyTime set to + 0x0078 (120s) to DUT with GroupID and PIXIT.SC.ENDPOINT" + PICS: I.S.C00.Rsp + verification: | + ./chip-tool identify identify 0x0078 0xffffffffffff0001 1 + + Verify command send to group on the TH Log: + + [1657785273.973231][1618:1623] CHIP:DL: HandlePlatformSpecificBLEEvent 32784[1657785273.973291][1618:1623] CHIP:TOO: Sending command to group 0x1 + [1657785273.973316][1618:1623] CHIP:TOO: Sending cluster (0x00000003) command (0x00000000) on Group 1 + disabled: true + + - label: + "TH reads immediately IdentifyTime attribute from DUT on the + PIXIT.SC.ENDPOINT set by DUT" + PICS: I.S.A0000 + verification: | + ./chip-tool identify read identify-time 1 1 + + Verify identify time ,on the TH Log: + + [1657785288.647504][1624:1629] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 1130139861 + [1657785288.647621][1624:1629] CHIP:TOO: identify time: 106 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_5_3.yaml b/src/app/tests/suites/certification/Test_TC_SC_5_3.yaml new file mode 100644 index 00000000000000..ce108cc06ddc99 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_SC_5_3.yaml @@ -0,0 +1,102 @@ +# 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: 19.1.3. [TC-SC-5.3] Sending a group message - DUT to TH + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Precondition" + verification: | + DUT and TH are commissioned. + + DUT and TH are part of a common group. - Run TC-SC-6.1 to establish this precondition. + disabled: true + + - label: "TH should have the ACL entry with the AuthMode as Group by DUT" + verification: | + ./chip-tool accesscontrol read acl 1 0 + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1653571830.010685][3949:3949] CHIP:IM: Received Read request + [1653571830.010772][3949:3949] CHIP:DMG: ReadRequestMessage = + [1653571830.010822][3949:3949] CHIP:DMG: { + [1653571830.010863][3949:3949] CHIP:DMG: AttributePathIBs = + [1653571830.010911][3949:3949] CHIP:DMG: [ + [1653571830.010957][3949:3949] CHIP:DMG: AttributePathIB = + [1653571830.011020][3949:3949] CHIP:DMG: { + [1653571830.011072][3949:3949] CHIP:DMG: Endpoint = 0x0, + [1653571830.011132][3949:3949] CHIP:DMG: Cluster = 0x1f, + [1653571830.011191][3949:3949] CHIP:DMG: Attribute = 0x0000_0000, + [1653571830.011246][3949:3949] CHIP:DMG: } + [1653571830.011299][3949:3949] CHIP:DMG: + [1653571830.011350][3949:3949] CHIP:DMG: ], + [1653571830.011401][3949:3949] CHIP:DMG: + [1653571830.011451][3949:3949] CHIP:DMG: isFabricFiltered = true, + [1653571830.011499][3949:3949] CHIP:DMG: InteractionModelRevision = 1 + [1653571830.011543][3949:3949] CHIP:DMG: }, + [1653571830.011711][3949:3949] CHIP:DMG: IM RH moving to [GeneratingReports] + [1653571830.011855][3949:3949] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1653571830.011907][3949:3949] CHIP:DMG: Cluster 1f, Attribute 0 is dirty + [1653571830.011947][3949:3949] CHIP:DMG: Reading attribute: Cluster=0x0000_001F Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + [1653571830.011995][3949:3949] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_001F e=0 p=a + [1653571830.012053][3949:3949] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT operator initiates transmission of multicast message to TH (by + interacting with DUT)." + verification: | + ./chip-tool identify identify 0x0078 0xffffffffffff0001 1 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1657785422.721911][2083:2083] CHIP:EM: Received Groupcast Message with GroupId of 1 + [1657785422.721988][2083:2083] CHIP:EM: Handling via exchange: 53995r, Delegate: 0xaaaac81b1430 + [1657785422.722098][2083:2083] CHIP:DMG: InvokeRequestMessage = + [1657785422.722161][2083:2083] CHIP:DMG: { + [1657785422.722220][2083:2083] CHIP:DMG: suppressResponse = false, + [1657785422.722317][2083:2083] CHIP:DMG: timedRequest = false, + [1657785422.722379][2083:2083] CHIP:DMG: InvokeRequests = + [1657785422.722475][2083:2083] CHIP:DMG: [ + [1657785422.722536][2083:2083] CHIP:DMG: CommandDataIB = + [1657785422.722636][2083:2083] CHIP:DMG: { + [1657785422.722726][2083:2083] CHIP:DMG: CommandPathIB = + [1657785422.722834][2083:2083] CHIP:DMG: { + [1657785422.722913][2083:2083] CHIP:DMG: ClusterId = 0x3, + [1657785422.723011][2083:2083] CHIP:DMG: CommandId = 0x0, + [1657785422.723095][2083:2083] CHIP:DMG: }, + [1657785422.723173][2083:2083] CHIP:DMG: + [1657785422.723242][2083:2083] CHIP:DMG: CommandFields = + [1657785422.723318][2083:2083] CHIP:DMG: { + [1657785422.723395][2083:2083] CHIP:DMG: 0x0 = 120, + [1657785422.723483][2083:2083] CHIP:DMG: }, + [1657785422.723555][2083:2083] CHIP:DMG: }, + [1657785422.723627][2083:2083] CHIP:DMG: + [1657785422.723685][2083:2083] CHIP:DMG: ], + [1657785422.723756][2083:2083] CHIP:DMG: + [1657785422.723814][2083:2083] CHIP:DMG: InteractionModelRevision = 1 + [1657785422.723872][2083:2083] CHIP:DMG: }, + [1657785422.723988][2083:2083] CHIP:DMG: Received group command for Group=1 Cluster=0x0000_0003 Command=0x0000_0000 + [1657785422.724688][2083:2083] CHIP:DMG: Processing group command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 + [1657785422.724770][2083:2083] CHIP:DMG: AccessControl: checking f=1 a=g s=0xFFFFFFFFFFFF0001 t= c=0x0000_0003 e=1 p=m + [1657785422.724846][2083:2083] CHIP:DMG: AccessControl: allowed + [1657785422.724929][2083:2083] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to 435c9140 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_6_1.yaml b/src/app/tests/suites/certification/Test_TC_SC_6_1.yaml new file mode 100644 index 00000000000000..58537af164efd0 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_SC_6_1.yaml @@ -0,0 +1,388 @@ +# 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: + 19.2.1. [TC-SC-6.1] Adding member to a group - DUT as Admin and TH as Group + Member [DUT-Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Note" + verification: | + Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + + - label: "Precondition" + verification: | + Group Member is commissioned with Admin + + TH will set TestGroupEndpoint + disabled: true + + - label: "TH should have the ACL entry with the AuthMode as Group by DUT" + verification: | + ./chip-tool accesscontrol read acl 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1653571830.010685][3949:3949] CHIP:IM: Received Read request + [1653571830.010772][3949:3949] CHIP:DMG: ReadRequestMessage = + [1653571830.010822][3949:3949] CHIP:DMG: { + [1653571830.010863][3949:3949] CHIP:DMG: AttributePathIBs = + [1653571830.010911][3949:3949] CHIP:DMG: [ + [1653571830.010957][3949:3949] CHIP:DMG: AttributePathIB = + [1653571830.011020][3949:3949] CHIP:DMG: { + [1653571830.011072][3949:3949] CHIP:DMG: Endpoint = 0x0, + [1653571830.011132][3949:3949] CHIP:DMG: Cluster = 0x1f, + [1653571830.011191][3949:3949] CHIP:DMG: Attribute = 0x0000_0000, + [1653571830.011246][3949:3949] CHIP:DMG: } + [1653571830.011299][3949:3949] CHIP:DMG: + [1653571830.011350][3949:3949] CHIP:DMG: ], + [1653571830.011401][3949:3949] CHIP:DMG: + [1653571830.011451][3949:3949] CHIP:DMG: isFabricFiltered = true, + [1653571830.011499][3949:3949] CHIP:DMG: InteractionModelRevision = 1 + [1653571830.011543][3949:3949] CHIP:DMG: }, + [1653571830.011711][3949:3949] CHIP:DMG: IM RH moving to [GeneratingReports] + [1653571830.011855][3949:3949] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1653571830.011907][3949:3949] CHIP:DMG: Cluster 1f, Attribute 0 is dirty + [1653571830.011947][3949:3949] CHIP:DMG: Reading attribute: Cluster=0x0000_001F Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + [1653571830.011995][3949:3949] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_001F e=0 p=a + [1653571830.012053][3949:3949] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT generates fabric-unique GroupID, GroupName, random key, EpochKey0 + and GroupKeySetID. Admin sets GroupKeySecurityPolicy = TrustFirst (1) + GroupKeyMulticastPolicy = PerGroupID (0) EpochStartTime0 = 0" + verification: | + ./chip-tool groupkeymanagement key-set-write "{"groupKeySetID": 42, + "groupKeySecurityPolicy": 0, "epochKey0": + "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": + "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": + "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }" 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1651471040.120912][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:2398599 on exchange 35559r + [1651471040.120980][4012:4012] CHIP:EM: Handling via exchange: 35559r, Delegate: 0xaaaaca97a088 + [1651471040.121098][4012:4012] CHIP:DMG: InvokeRequestMessage = + [1651471040.121146][4012:4012] CHIP:DMG: { + [1651471040.121188][4012:4012] CHIP:DMG: suppressResponse = false, + [1651471040.121238][4012:4012] CHIP:DMG: timedRequest = false, + [1651471040.121282][4012:4012] CHIP:DMG: InvokeRequests = + [1651471040.121346][4012:4012] CHIP:DMG: [ + [1651471040.121390][4012:4012] CHIP:DMG: CommandDataIB = + [1651471040.121453][4012:4012] CHIP:DMG: { + [1651471040.121501][4012:4012] CHIP:DMG: CommandPathIB = + [1651471040.121587][4012:4012] CHIP:DMG: { + [1651471040.121648][4012:4012] CHIP:DMG: EndpointId = 0x0, + [1651471040.121710][4012:4012] CHIP:DMG: ClusterId = 0x3f, + [1651471040.121775][4012:4012] CHIP:DMG: CommandId = 0x0, + [1651471040.121831][4012:4012] CHIP:DMG: }, + [1651471040.121891][4012:4012] CHIP:DMG: + [1651471040.121941][4012:4012] CHIP:DMG: CommandData = + [1651471040.122003][4012:4012] CHIP:DMG: { + [1651471040.122058][4012:4012] CHIP:DMG: 0x0 = + [1651471040.122116][4012:4012] CHIP:DMG: { + [1651471040.122171][4012:4012] CHIP:DMG: 0x0 = 42, + [1651471040.122222][4012:4012] CHIP:DMG: 0x1 = 0, + [1651471040.122276][4012:4012] CHIP:DMG: 0x2 = [ + [1651471040.122339][4012:4012] CHIP:DMG: 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, + [1651471040.122390][4012:4012] CHIP:DMG: ] + [1651471040.122439][4012:4012] CHIP:DMG: 0x3 = 2220000, + [1651471040.122488][4012:4012] CHIP:DMG: 0x4 = [ + [1651471040.122543][4012:4012] CHIP:DMG: 0xd1, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, + [1651471040.122591][4012:4012] CHIP:DMG: ] + [1651471040.122639][4012:4012] CHIP:DMG: 0x5 = 2220001, + [1651471040.122684][4012:4012] CHIP:DMG: 0x6 = [ + [1651471040.122739][4012:4012] CHIP:DMG: 0xd2, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, + [1651471040.122791][4012:4012] CHIP:DMG: ] + [1651471040.122840][4012:4012] CHIP:DMG: 0x7 = 2220002, + [1651471040.122890][4012:4012] CHIP:DMG: }, + [1651471040.122937][4012:4012] CHIP:DMG: }, + [1651471040.122979][4012:4012] CHIP:DMG: }, + [1651471040.123032][4012:4012] CHIP:DMG: + [1651471040.123066][4012:4012] CHIP:DMG: ], + [1651471040.123115][4012:4012] CHIP:DMG: + [1651471040.123151][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471040.123185][4012:4012] CHIP:DMG: }, + [1651471040.123286][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=a + [1651471040.123337][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT sends KeySetWrite command to GroupKeyManagement cluster to TH on + PIXIT.SC.ENDPOINT" + PICS: GRPKEY.C.C00.Tx + verification: | + + disabled: true + + - label: + "DUT binds GroupId with GroupKeySetID in the GroupKeyMap attribute + list on GroupKeyManagement cluster" + PICS: GRPKEY.C.A0000 + verification: | + ./chip-tool groupkeymanagement write group-key-map "[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]" 1 0 + + verify On TH(Reference app) receives the right write Request Message for the data sent in the above command + + [1659350562.020669][5824:5824] CHIP:EM: Received message of type 0x6 with protocolId (0, 1) and MessageCounter:167021683 on exchange 31153r + [1659350562.020897][5824:5824] CHIP:EM: Handling via exchange: 31153r, Delegate: 0xaaaacb304f08 + [1659350562.021093][5824:5824] CHIP:IM: Received Write request + [1659350562.021123][5824:5824] CHIP:DMG: IM WH moving to [Initialized] + [1659350562.021193][5824:5824] CHIP:DMG: WriteRequestMessage = + [1659350562.021220][5824:5824] CHIP:DMG: { + [1659350562.021244][5824:5824] CHIP:DMG: suppressResponse = false, + [1659350562.021286][5824:5824] CHIP:DMG: timedRequest = false, + [1659350562.021353][5824:5824] CHIP:DMG: AttributeDataIBs = + [1659350562.021391][5824:5824] CHIP:DMG: [ + [1659350562.021417][5824:5824] CHIP:DMG: AttributeDataIB = + [1659350562.021446][5824:5824] CHIP:DMG: { + [1659350562.021474][5824:5824] CHIP:DMG: AttributePathIB = + [1659350562.021508][5824:5824] CHIP:DMG: { + [1659350562.021541][5824:5824] CHIP:DMG: Endpoint = 0x0, + [1659350562.021575][5824:5824] CHIP:DMG: Cluster = 0x3f, + [1659350562.021609][5824:5824] CHIP:DMG: Attribute = 0x0000_0000, + [1659350562.021639][5824:5824] CHIP:DMG: } + [1659350562.021671][5824:5824] CHIP:DMG: + [1659350562.021702][5824:5824] CHIP:DMG: Data = [ + [1659350562.021733][5824:5824] CHIP:DMG: + [1659350562.021765][5824:5824] CHIP:DMG: ], + [1659350562.021795][5824:5824] CHIP:DMG: }, + [1659350562.021832][5824:5824] CHIP:DMG: + [1659350562.021856][5824:5824] CHIP:DMG: AttributeDataIB = + [1659350562.021884][5824:5824] CHIP:DMG: { + [1659350562.021912][5824:5824] CHIP:DMG: AttributePathIB = + [1659350562.021944][5824:5824] CHIP:DMG: { + [1659350562.021976][5824:5824] CHIP:DMG: Endpoint = 0x0, + [1659350562.022006][5824:5824] CHIP:DMG: Cluster = 0x3f, + [1659350562.022040][5824:5824] CHIP:DMG: Attribute = 0x0000_0000, + [1659350562.022068][5824:5824] CHIP:DMG: ListIndex = Null, + [1659350562.022098][5824:5824] CHIP:DMG: } + [1659350562.022169][5824:5824] CHIP:DMG: + [1659350562.022199][5824:5824] CHIP:DMG: Data = + [1659350562.022230][5824:5824] CHIP:DMG: { + [1659350562.022259][5824:5824] CHIP:DMG: 0x1 = 1, + [1659350562.022293][5824:5824] CHIP:DMG: 0x2 = 42, + [1659350562.022322][5824:5824] CHIP:DMG: }, + [1659350562.022350][5824:5824] CHIP:DMG: }, + [1659350562.022383][5824:5824] CHIP:DMG: + [1659350562.022407][5824:5824] CHIP:DMG: ], + [1659350562.022440][5824:5824] CHIP:DMG: + [1659350562.022466][5824:5824] CHIP:DMG: moreChunkedMessages = false, + [1659350562.022494][5824:5824] CHIP:DMG: InteractionModelRevision = 1 + [1659350562.022520][5824:5824] CHIP:DMG: }, + [1659350562.022622][5824:5824] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=m + [1659350562.022661][5824:5824] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: "DUT sends AddGroup Command to TH on PIXIT.SC.ENDPOINT" + PICS: G.C.C00.Tx + verification: | + ./chip-tool groups add-group 0x0001 grp1 1 0 + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + + [1651471107.658967][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1630629 on exchange 50068r + [1651471107.659020][4012:4012] CHIP:EM: Handling via exchange: 50068r, Delegate: 0xaaaaca97a088 + [1651471107.659108][4012:4012] CHIP:DMG: InvokeRequestMessage = + [1651471107.659146][4012:4012] CHIP:DMG: { + [1651471107.659180][4012:4012] CHIP:DMG: suppressResponse = false, + [1651471107.659220][4012:4012] CHIP:DMG: timedRequest = false, + [1651471107.659255][4012:4012] CHIP:DMG: InvokeRequests = + [1651471107.659301][4012:4012] CHIP:DMG: [ + [1651471107.659336][4012:4012] CHIP:DMG: CommandDataIB = + [1651471107.659381][4012:4012] CHIP:DMG: { + [1651471107.659419][4012:4012] CHIP:DMG: CommandPathIB = + [1651471107.659465][4012:4012] CHIP:DMG: { + [1651471107.659511][4012:4012] CHIP:DMG: EndpointId = 0x0, + [1651471107.659560][4012:4012] CHIP:DMG: ClusterId = 0x4, + [1651471107.659612][4012:4012] CHIP:DMG: CommandId = 0x0, + [1651471107.659661][4012:4012] CHIP:DMG: }, + [1651471107.659709][4012:4012] CHIP:DMG: + [1651471107.659750][4012:4012] CHIP:DMG: CommandData = + [1651471107.659793][4012:4012] CHIP:DMG: { + [1651471107.659844][4012:4012] CHIP:DMG: 0x0 = 1, + [1651471107.659900][4012:4012] CHIP:DMG: 0x1 = "grp1", + [1651471107.659952][4012:4012] CHIP:DMG: }, + [1651471107.659994][4012:4012] CHIP:DMG: }, + [1651471107.660041][4012:4012] CHIP:DMG: + [1651471107.660076][4012:4012] CHIP:DMG: ], + [1651471107.660121][4012:4012] CHIP:DMG: + [1651471107.660156][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471107.660190][4012:4012] CHIP:DMG: }, + [1651471107.660278][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m + [1651471107.660328][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT sends ViewGroup command with the GroupID and GroupName to the + Group cluster on the TH on PIXIT.G.ENDPOINT" + PICS: G.C.C01.Tx + verification: | + ./chip-tool groups view-group 0x0001 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1651471144.500809][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:14671135 on exchange 13105r + [1651471144.500886][4012:4012] CHIP:EM: Handling via exchange: 13105r, Delegate: 0xaaaaca97a088 + [1651471144.501009][4012:4012] CHIP:DMG: InvokeRequestMessage = + [1651471144.501064][4012:4012] CHIP:DMG: { + [1651471144.501138][4012:4012] CHIP:DMG: suppressResponse = false, + [1651471144.501195][4012:4012] CHIP:DMG: timedRequest = false, + [1651471144.501246][4012:4012] CHIP:DMG: InvokeRequests = + [1651471144.501328][4012:4012] CHIP:DMG: [ + [1651471144.501380][4012:4012] CHIP:DMG: CommandDataIB = + [1651471144.501464][4012:4012] CHIP:DMG: { + [1651471144.501524][4012:4012] CHIP:DMG: CommandPathIB = + [1651471144.501641][4012:4012] CHIP:DMG: { + [1651471144.501710][4012:4012] CHIP:DMG: EndpointId = 0x0, + [1651471144.501798][4012:4012] CHIP:DMG: ClusterId = 0x4, + [1651471144.501868][4012:4012] CHIP:DMG: CommandId = 0x1, + [1651471144.501957][4012:4012] CHIP:DMG: }, + [1651471144.502041][4012:4012] CHIP:DMG: + [1651471144.502080][4012:4012] CHIP:DMG: CommandData = + [1651471144.502131][4012:4012] CHIP:DMG: { + [1651471144.502186][4012:4012] CHIP:DMG: 0x0 = 1, + [1651471144.502230][4012:4012] CHIP:DMG: }, + [1651471144.502279][4012:4012] CHIP:DMG: }, + [1651471144.502321][4012:4012] CHIP:DMG: + [1651471144.502364][4012:4012] CHIP:DMG: ], + [1651471144.502404][4012:4012] CHIP:DMG: + [1651471144.502449][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471144.502481][4012:4012] CHIP:DMG: }, + [1651471144.502570][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=o + [1651471144.502628][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: "DUT sends KeySetRead Command to TH" + PICS: GRPKEY.C.C01.Tx + verification: | + ./chip-tool groupkeymanagement key-set-read 42 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + + [1651471175.521361][4012:4012] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1040181 on exchange 26813r + [1651471175.521414][4012:4012] CHIP:EM: Handling via exchange: 26813r, Delegate: 0xaaaaca97a088 + [1651471175.521500][4012:4012] CHIP:DMG: InvokeRequestMessage = + [1651471175.521527][4012:4012] CHIP:DMG: { + [1651471175.521614][4012:4012] CHIP:DMG: suppressResponse = false, + [1651471175.521643][4012:4012] CHIP:DMG: timedRequest = false, + [1651471175.521667][4012:4012] CHIP:DMG: InvokeRequests = + [1651471175.521709][4012:4012] CHIP:DMG: [ + [1651471175.521734][4012:4012] CHIP:DMG: CommandDataIB = + [1651471175.521771][4012:4012] CHIP:DMG: { + [1651471175.521794][4012:4012] CHIP:DMG: CommandPathIB = + [1651471175.521838][4012:4012] CHIP:DMG: { + [1651471175.521878][4012:4012] CHIP:DMG: EndpointId = 0x0, + [1651471175.521909][4012:4012] CHIP:DMG: ClusterId = 0x3f, + [1651471175.521949][4012:4012] CHIP:DMG: CommandId = 0x1, + [1651471175.521978][4012:4012] CHIP:DMG: }, + [1651471175.522020][4012:4012] CHIP:DMG: + [1651471175.522047][4012:4012] CHIP:DMG: CommandData = + [1651471175.522084][4012:4012] CHIP:DMG: { + [1651471175.522122][4012:4012] CHIP:DMG: 0x0 = 42, + [1651471175.522153][4012:4012] CHIP:DMG: }, + [1651471175.522189][4012:4012] CHIP:DMG: }, + [1651471175.522220][4012:4012] CHIP:DMG: + [1651471175.522254][4012:4012] CHIP:DMG: ], + [1651471175.522285][4012:4012] CHIP:DMG: + [1651471175.522319][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471175.522342][4012:4012] CHIP:DMG: }, + [1651471175.522418][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=a + [1651471175.522467][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT reads GroupKeyMap Attribute from the GroupKeyManagement cluster + from TH" + verification: | + ./chip-tool groupkeymanagement read group-key-map 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1651471203.692194][4012:4012] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:11804966 on exchange 25369r + [1651471203.692262][4012:4012] CHIP:EM: Handling via exchange: 25369r, Delegate: 0xaaaaca97a088 + [1651471203.692333][4012:4012] CHIP:IM: Received Read request + [1651471203.692411][4012:4012] CHIP:DMG: ReadRequestMessage = + [1651471203.692457][4012:4012] CHIP:DMG: { + [1651471203.692519][4012:4012] CHIP:DMG: AttributePathIBs = + [1651471203.692568][4012:4012] CHIP:DMG: [ + [1651471203.692629][4012:4012] CHIP:DMG: AttributePathIB = + [1651471203.692675][4012:4012] CHIP:DMG: { + [1651471203.692750][4012:4012] CHIP:DMG: Endpoint = 0x0, + [1651471203.692809][4012:4012] CHIP:DMG: Cluster = 0x3f, + [1651471203.692884][4012:4012] CHIP:DMG: Attribute = 0x0000_0000, + [1651471203.692952][4012:4012] CHIP:DMG: } + [1651471203.693008][4012:4012] CHIP:DMG: + [1651471203.693073][4012:4012] CHIP:DMG: ], + [1651471203.693124][4012:4012] CHIP:DMG: + [1651471203.693190][4012:4012] CHIP:DMG: isFabricFiltered = true, + [1651471203.693236][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471203.693296][4012:4012] CHIP:DMG: }, + [1651471203.693428][4012:4012] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651471203.693628][4012:4012] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651471203.693679][4012:4012] CHIP:DMG: Cluster 3f, Attribute 0 is dirty + [1651471203.693736][4012:4012] CHIP:DMG: Reading attribute: Cluster=0x0000_003F Endpoint=0 AttributeId=0x0000_0000 (expanded=0) + [1651471203.693786][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=v + [1651471203.693841][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "DUT reads GroupTable attribute from GroupKeyManagement cluster on TH" + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + + [1651471240.121662][4012:4012] CHIP:EM: Received message of type 0x2 with protocolId (0, 1) and MessageCounter:3204235 on exchange 21658r + [1651471240.121724][4012:4012] CHIP:EM: Handling via exchange: 21658r, Delegate: 0xaaaaca97a088 + [1651471240.121790][4012:4012] CHIP:IM: Received Read request + [1651471240.121861][4012:4012] CHIP:DMG: ReadRequestMessage = + [1651471240.121903][4012:4012] CHIP:DMG: { + [1651471240.121938][4012:4012] CHIP:DMG: AttributePathIBs = + [1651471240.121981][4012:4012] CHIP:DMG: [ + [1651471240.122021][4012:4012] CHIP:DMG: AttributePathIB = + [1651471240.122071][4012:4012] CHIP:DMG: { + [1651471240.122119][4012:4012] CHIP:DMG: Endpoint = 0x0, + [1651471240.122170][4012:4012] CHIP:DMG: Cluster = 0x3f, + [1651471240.122226][4012:4012] CHIP:DMG: Attribute = 0x0000_0001, + [1651471240.122273][4012:4012] CHIP:DMG: } + [1651471240.122322][4012:4012] CHIP:DMG: + [1651471240.122365][4012:4012] CHIP:DMG: ], + [1651471240.122411][4012:4012] CHIP:DMG: + [1651471240.122453][4012:4012] CHIP:DMG: isFabricFiltered = true, + [1651471240.122493][4012:4012] CHIP:DMG: InteractionModelRevision = 1 + [1651471240.122531][4012:4012] CHIP:DMG: }, + [1651471240.122633][4012:4012] CHIP:DMG: IM RH moving to [GeneratingReports] + [1651471240.122764][4012:4012] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1651471240.122809][4012:4012] CHIP:DMG: Cluster 3f, Attribute 1 is dirty + [1651471240.122842][4012:4012] CHIP:DMG: Reading attribute: Cluster=0x0000_003F Endpoint=0 AttributeId=0x0000_0001 (expanded=0) + [1651471240.122888][4012:4012] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003F e=0 p=v + [1651471240.122930][4012:4012] CHIP:DMG: AccessControl: allowed + disabled: true diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index b8864448e0902b..248d2a2dcf1b37 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -67,7 +67,7 @@ "Test_TC_LVL_6_1" ], "LocalizationConfiguration": ["Test_TC_LCFG_1_1"], - "TimeFormatLocalization": ["Test_TC_LTIME_1_1"], + "TimeFormatLocalization": ["Test_TC_LTIME_1_2"], "UnitLocalization": ["Test_TC_LUNIT_1_1"], "UserLabel": [ "Test_TC_ULABEL_1_1", @@ -139,7 +139,7 @@ ], "PowerSourceConfiguration": ["Test_TC_PSCFG_1_1", "Test_TC_PSCFG_2_1"], "RelativeHumidityMeasurement": ["Test_TC_RH_1_1", "Test_TC_RH_2_1"], - "SecureChannel": ["Test_TC_SC_4_2"], + "SecureChannel": [], "Switch": ["Test_TC_SWTCH_1_1", "Test_TC_SWTCH_2_1"], "TemperatureMeasurement": ["Test_TC_TMP_1_1", "Test_TC_TMP_2_1"], "Thermostat": [ diff --git a/src/app/tests/suites/manualTests.json b/src/app/tests/suites/manualTests.json index 0dbf826cca2bee..a1b2c6fe698ca3 100644 --- a/src/app/tests/suites/manualTests.json +++ b/src/app/tests/suites/manualTests.json @@ -224,6 +224,7 @@ "Test_TC_SC_3_4", "Test_TC_SC_3_6", "Test_TC_SC_4_1", + "Test_TC_SC_4_2", "Test_TC_SC_4_3", "Test_TC_SC_4_4", "Test_TC_SC_4_5", @@ -231,7 +232,11 @@ "Test_TC_SC_4_7", "Test_TC_SC_4_8", "Test_TC_SC_4_9", - "Test_TC_SC_4_10" + "Test_TC_SC_4_10", + "Test_TC_SC_5_1", + "Test_TC_SC_5_2", + "Test_TC_SC_5_3", + "Test_TC_SC_6_1" ], "SoftwareDiagnostics": ["Test_TC_DGSW_3_1", "Test_TC_DGSW_3_2"], "WiFiNetworkDiagnostics": [ @@ -296,7 +301,7 @@ "Test_TC_ACT_3_2" ], "TimeFormatLocalization": [ - "Test_TC_LTIME_1_2", + "Test_TC_LTIME_1_1", "Test_TC_LTIME_2_1", "Test_TC_LTIME_3_1" ], @@ -332,6 +337,7 @@ "Test_TC_BRBINFO_2_2", "Test_TC_BRBINFO_2_3" ], + "AccessControlEnforcement":["Test_TC_ACE_1_1","Test_TC_ACE_1_2"], "collection": [ "DeviceDiscovery", "Groups", @@ -381,6 +387,7 @@ "PumpConfigurationControl", "AccessControl", "UserLabel", - "BridgedDeviceBasicInformation" + "BridgedDeviceBasicInformation", + "AccessControlEnforcement" ] }