diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 4f0cc3c2991636..0ace5778596e81 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -866,3 +866,214 @@ PICS: - label: "Does the DUT(server) support the MinLevel attribute?" id: LVL.S.A0002 + + #Groups Cluster + - label: "Does the DUT(Server) support NameSupport attribute?" + id: G.S.A0000 + + - label: "Does the DUT(Server) support GroupTable attribute?" + id: GRPKEY.S.A0001 + + - label: "Does the DUT(server) implement receiving AddGroup Command?" + id: G.S.C00.Rsp + + - label: "Does the DUT(server) implement receiving ViewGroup Command?" + id: G.S.C01.Rsp + + - label: + "Does the DUT(server) implement receiving GetGroupMembership Command?" + id: G.S.C02.Rsp + + - label: "Does the DUT(server) implement receiving RemoveGroup Command?" + id: G.S.C03.Rsp + + - label: "Does the DUT(server) implement receiving RemoveAllGroups Command?" + id: G.S.C04.Rsp + + - label: + "Does the DUT(server) implement receiving AddGroupIfIdentifying + Command?" + id: G.S.C05.Rsp + + - label: + "Does the DUT(server) invoking/generating AddGroupResponse Command?" + id: G.S.C00.Tx + + - label: + "Does the DUT(server) invoking/generating ViewGroupResponse Command?" + id: G.S.C01.Tx + + - label: + "Does the DUT(server) invoking/generating GetGroupMembershipResponse + Command?" + id: G.S.C02.Tx + + - label: + "Does the DUT(server) invoking/generating RemoveGroupResponse Command?" + id: G.S.C03.Tx + + - label: "Does the DUT(client) support NameSupport attribute?" + id: G.C.A0000 + + - label: "Does the DUT(client) implement receiving AddGroup Command?" + id: G.C.C00.Rsp + + - label: "Does the DUT(client) implement receiving ViewGroup Command?" + id: G.C.C01.Rsp + + - label: + "Does the DUT(client) implement receiving GetGroupMembership Command?" + id: G.C.C02.Rsp + + - label: "Does the DUT(client) implement receiving RemoveGroup Command?" + id: G.C.C03.Rsp + + - label: "Does the DUT(client) implement receiving RemoveAllGroups Command?" + id: G.C.C04.Rsp + + - label: + "Does the DUT(client) implement receiving AddGroupIfIdentifying + Command?" + id: G.C.C05.Rsp + + #Identify Cluster + - label: "Does the device implement the IdentifyTime attribute?" + id: I.S.A0000 + + - label: "Does the device implement the IdentifyType attribute?" + id: I.S.A0001 + + - label: "Does the device implement receiving the Identify command?" + id: I.S.C00.Rsp + + - label: "Does the device implement receiving the IdentifyQuery command?" + id: I.S.C01.Rsp + + - label: "Does the device implement receiving the TriggerEffect command?" + id: I.S.C40.Rsp + + - label: + "Does the device implement sending the IdentifyQueryResponse command?" + id: I.S.C00.Tx + + - label: "Does the device implement sending the Identify command?" + id: I.C.C00.Tx + + - label: "Does the device implement sending the IdentifyQuery command?" + id: I.C.C01.Tx + + - label: "Does the device implement sending the TriggerEffect command?" + id: I.C.C40.Tx + + - label: + "Does the device implement receiving the IdentifyQueryResponse + command?" + id: I.C.C00.Rsp + + #Scenes Cluster + - label: "Does the device implement the SceneCount attribute?" + id: S.S.A0000 + + - label: "Does the device implement the CurrentScene attribute?" + id: S.S.A0001 + + - label: "Does the device implement the CurrentGroup attribute?" + id: S.S.A0002 + + - label: "Does the device implement the SceneValid attribute?" + id: S.S.A0003 + + - label: "Does the device implement the NameSupport attribute?" + id: S.S.A0004 + + - label: "Does the device implement the LastConfiguredBy attribute?" + id: S.S.A0005 + + - label: "Does the device implement receiving the AddScene command?" + id: S.S.C00.Rsp + + - label: "Does the device implement receiving the ViewScene command?" + id: S.S.C01.Rsp + + - label: "Does the device implement receiving the RemoveScene command?" + id: S.S.C02.Rsp + + - label: "Does the device implement receiving the RemoveAllScenes command?" + id: S.S.C03.Rsp + + - label: "Does the device implement receiving the StoreScene command?" + id: S.S.C04.Rsp + + - label: "Does the device implement receiving the RecallScene command?" + id: S.S.C05.Rsp + + - label: + "Does the device implement receiving the GetSceneMembership command?" + id: S.S.C06.Rsp + + - label: "Does the device implement receiving the EnhancedAddScene command?" + id: S.S.C40.Rsp + + - label: + "Does the device implement receiving the EnhancedViewScene command?" + id: S.S.C41.Rsp + + - label: "Does the device implement receiving the CopyScene command?" + id: S.S.C42.Rsp + + - label: + "Does the device process the TransitionTime parameter of the + RecallScene command?" + id: S.S.C05.Rsp + + - label: "Does the device receive the AddGroup Command?" + id: G.S.C00.Rsp + + - label: "Does the device receive the RemoveAllGroups Command?" + id: G.S.C04.Rsp + + - label: "Does the device implement sending the AddScene command?" + id: S.C.C00.Tx + + - label: "Does the device implement sending the ViewScene command?" + id: S.C.C01.Tx + + - label: "Does the device implement sending the RemoveScene command?" + id: S.C.C02.Tx + + - label: "Does the device implement sending the RemoveAllScenes command?" + id: S.C.C03.Tx + + - label: "Does the device implement sending the StoreScene command?" + id: S.C.C04.Tx + + - label: "Does the device implement sending the RecallScene command?" + id: S.C.C05.Tx + + - label: "Does the device implement sending the GetSceneMembership command?" + id: S.C.C06.Tx + + - label: "Does the device implement sending the EnhancedAddScene command?" + id: S.C.C40.Tx + + - label: "Does the device implement sending the EnhancedViewScene command?" + id: S.C.C41.Tx + + - label: "Does the device implement sending the CopyScene command?" + id: S.C.C42.Tx + + #Switch Cluster + - label: "Does the device represent a Latching Switch?" + id: SWTCH.S.F00 + + - label: "Does the device implement the CurrentScene attribute?" + id: SWTCH.S.F01 + + - label: "Does the MS device support Momentary Switch Release?" + id: SWTCH.S.F02 + + - label: "Does the MS device support Momentary Switch LongPress?" + id: SWTCH.S.F03 + + - label: "Does the MS device support Momentary Switch MultiPress?" + id: SWTCH.S.F04 diff --git a/src/app/tests/suites/certification/Test_TC_GR_2_2.yaml b/src/app/tests/suites/certification/Test_TC_GR_2_2.yaml deleted file mode 100644 index a7d3caa2278263..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_GR_2_2.yaml +++ /dev/null @@ -1,438 +0,0 @@ -# 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: 120.2.2. [TC-GR-2.2] Groups Cluster Commands [DUT-Server] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "TH sends AddGroup command to DUT as unicast with the following fields - : GroupID as 0x0001 GroupName as Gp1 TH reads GroupTable attribute - from the GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups add-group 0x0001 grp1 1 0 - - [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: } - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651218198.062850][2538:2543] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651218198.062980][2538:2543] CHIP:TOO: GroupTable: 1 entries - [1651218198.067019][2538:2543] CHIP:TOO: [1]: { - [1651218198.067076][2538:2543] CHIP:TOO: GroupId: 1 - [1651218198.067123][2538:2543] CHIP:TOO: Endpoints: 1 entries - [1651218198.067192][2538:2543] CHIP:TOO: [1]: 0 - [1651218198.067241][2538:2543] CHIP:TOO: GroupName: grp1 - [1651218198.067284][2538:2543] CHIP:TOO: FabricIndex: 1 - [1651218198.067327][2538:2543] CHIP:TOO: } - disabled: true - - - label: - "TH sends AddGroup command to DUT as unicast with the following fields - : GroupID as 0x0002 GroupName as Gp2 TH reads GroupTable attribute - from the GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups add-group 0x0002 gp2 1 0 - - [1651218295.126708][2549:2554] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 - [1651218295.126880][2549:2554] CHIP:TOO: AddGroupResponse: { - [1651218295.126955][2549:2554] CHIP:TOO: status: 0 - [1651218295.127009][2549:2554] CHIP:TOO: groupId: 2 - [1651218295.127065][2549:2554] CHIP:TOO: } - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651218330.067438][2555:2560] CHIP:TOO: GroupTable: 2 entries - [1651218330.067549][2555:2560] CHIP:TOO: [1]: { - [1651218330.067584][2555:2560] CHIP:TOO: GroupId: 1 - [1651218330.067618][2555:2560] CHIP:TOO: Endpoints: 1 entries - [1651218330.067671][2555:2560] CHIP:TOO: [1]: 0 - [1651218330.067708][2555:2560] CHIP:TOO: GroupName: grp1 - [1651218330.067739][2555:2560] CHIP:TOO: FabricIndex: 1 - [1651218330.067771][2555:2560] CHIP:TOO: } - [1651218330.067814][2555:2560] CHIP:TOO: [2]: { - [1651218330.067845][2555:2560] CHIP:TOO: GroupId: 2 - [1651218330.067877][2555:2560] CHIP:TOO: Endpoints: 1 entries - [1651218330.067912][2555:2560] CHIP:TOO: [1]: 0 - [1651218330.067945][2555:2560] CHIP:TOO: GroupName: gp2 - [1651218330.067975][2555:2560] CHIP:TOO: FabricIndex: 1 - [1651218330.068004][2555:2560] CHIP:TOO: } - disabled: true - - - label: - "TH sends AddGroup command to DUT as unicast with the following fields - : GroupID as 0xffff1 GroupName as Gp1" - verification: | - ./chip-tool any command-by-id 0x0004 0x00 '{ "0": 65536, "1": "my-group-name"}' 1 0 - - [1652694139.686651][3527:3532] CHIP:DMG: StatusIB = - [1652694139.686694][3527:3532] CHIP:DMG: { - [1652694139.686739][3527:3532] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1652694139.686805][3527:3532] CHIP:DMG: }, - disabled: true - - - label: - "TH sends AddGroup command to DUT as unicast with the following fields - : GroupID as 0x0001 GroupName as Gp1" - verification: | - ./chip-tool groups add-group 0x0001 grp1 1 0 - - [1651218468.562070][2571:2576] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 - [1651218468.562159][2571:2576] CHIP:TOO: AddGroupResponse: { - [1651218468.562200][2571:2576] CHIP:TOO: status: 0 - [1651218468.562228][2571:2576] CHIP:TOO: groupId: 1 - [1651218468.562256][2571:2576] CHIP:TOO: } - disabled: true - - - label: - "TH sends AddGroup command to DUT as groupcast with the following - fields : GroupID as 0x0001 GroupName as Gp1" - verification: | - Not Verifiable - Groupcast is not implemented - disabled: true - - - label: - "TH sends ViewGroup command to DUT as unicast with the following - fields: GroupID as 0x0001 TH reads GroupTable attribute from the - GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups view-group 0x0001 1 0 - - [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: - "TH sends ViewGroup command to DUT as unicast with the following - fields: GroupID as 0xffff1 TH reads GroupTable attribute from the - GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool any command-by-id 0x0004 0x01 '{ "0": 65536}' 1 0 - - [1652694208.352334][3535:3540] CHIP:DMG: StatusIB = - [1652694208.352389][3535:3540] CHIP:DMG: { - [1652694208.352444][3535:3540] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1652694208.352499][3535:3540] CHIP:DMG: }, - disabled: true - - - label: - "TH sends ViewGroup command to DUT as unicast with the following - fields: GroupID as 0x0021 TH reads GroupTable attribute from the - GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups view-group 0x0021 1 0 - - [1651218681.672376][2670:2675] CHIP:TOO: ViewGroupResponse: { - [1651218681.672425][2670:2675] CHIP:TOO: status: 139 - [1651218681.672459][2670:2675] CHIP:TOO: groupId: 33 - [1651218681.672491][2670:2675] CHIP:TOO: groupName: - [1651218681.672525][2670:2675] CHIP:TOO: } - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651218720.422085][2679:2684] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651218720.422183][2679:2684] CHIP:TOO: GroupTable: 2 entries - [1651218720.422287][2679:2684] CHIP:TOO: [1]: { - [1651218720.422319][2679:2684] CHIP:TOO: GroupId: 1 - [1651218720.422350][2679:2684] CHIP:TOO: Endpoints: 1 entries - [1651218720.422397][2679:2684] CHIP:TOO: [1]: 0 - [1651218720.422430][2679:2684] CHIP:TOO: GroupName: grp1 - [1651218720.422458][2679:2684] CHIP:TOO: FabricIndex: 1 - [1651218720.422487][2679:2684] CHIP:TOO: } - [1651218720.422525][2679:2684] CHIP:TOO: [2]: { - [1651218720.422554][2679:2684] CHIP:TOO: GroupId: 2 - [1651218720.422583][2679:2684] CHIP:TOO: Endpoints: 1 entries - [1651218720.422614][2679:2684] CHIP:TOO: [1]: 0 - [1651218720.422644][2679:2684] CHIP:TOO: GroupName: gp2 - [1651218720.422671][2679:2684] CHIP:TOO: FabricIndex: 1 - [1651218720.422697][2679:2684] CHIP:TOO: } - disabled: true - - - label: - "TH sends ViewGroup command to DUT as groupcast with the following - fields: GroupID as 0x0001" - verification: | - Not Verifiable - Groupcast is not implemented - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as NULL" - verification: | - ./chip-tool groups get-group-membership null 1 0 - [1651225366.576335][3070:3070] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as 0x0087" - verification: | - ./chip-tool groups get-group-membership 0x0087 1 0 - [1651223496.759731][2878:2878] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT as unicast with the - following fields : GroupList as 0x0087, 0x0059" - verification: | - ./chip-tool groups get-group-membership 0x0087 0x0059 1 0 - [1651223591.798819][2884:2884] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as 0x0087" - verification: | - ./chip-tool groups get-group-membership 0x0087 1 0 - [1651223496.759731][2878:2878] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as 0x0087" - verification: | - ./chip-tool groups get-group-membership 0x0087 1 0 - [1651223496.759731][2878:2878] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as 0x0087" - verification: | - ./chip-tool groups get-group-membership 0x0087 1 0 - [1651223496.759731][2878:2878] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as 0x0087" - verification: | - ./chip-tool groups get-group-membership 0x0087 1 0 - [1651223496.759731][2878:2878] CHIP:TOO: Error while encoding GroupList as an array. - disabled: true - - - label: - "TH sends RemoveGroup command to DUT as unicast with the following - field : GroupID as 0x0001" - verification: | - ./chip-tool groups remove-group 0x0001 1 0 - - [1651224005.648529][2908:2913] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 - [1651224005.648605][2908:2913] CHIP:TOO: RemoveGroupResponse: { - [1651224005.648641][2908:2913] CHIP:TOO: status: 0 - [1651224005.648664][2908:2913] CHIP:TOO: groupId: 1 - [1651224005.648688][2908:2913] CHIP:TOO: } - disabled: true - - - label: - "TH sends ViewGroup command to DUT as unicast with the following field - : GroupID as 0x0001 TH reads GroupTable attribute from the - GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups remove-group 0x0001 1 0 - - - [1651224045.228384][2914:2919] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 - [1651224045.228459][2914:2919] CHIP:TOO: RemoveGroupResponse: { - [1651224045.228494][2914:2919] CHIP:TOO: status: 139 - [1651224045.228517][2914:2919] CHIP:TOO: groupId: 1 - [1651224045.228540][2914:2919] CHIP:TOO: } - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651224212.774362][2968:2973] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651224212.774556][2968:2973] CHIP:TOO: GroupTable: 2 entries - [1651224212.774677][2968:2973] CHIP:TOO: [1]: { - [1651224212.774714][2968:2973] CHIP:TOO: GroupId: 1 - [1651224212.774749][2968:2973] CHIP:TOO: Endpoints: 0 entries - [1651224212.774805][2968:2973] CHIP:TOO: GroupName: grp1 - [1651224212.774840][2968:2973] CHIP:TOO: FabricIndex: 1 - [1651224212.774874][2968:2973] CHIP:TOO: } - [1651224212.774921][2968:2973] CHIP:TOO: [2]: { - [1651224212.774955][2968:2973] CHIP:TOO: GroupId: 2 - [1651224212.774990][2968:2973] CHIP:TOO: Endpoints: 1 entries - [1651224212.775027][2968:2973] CHIP:TOO: [1]: 0 - [1651224212.775063][2968:2973] CHIP:TOO: GroupName: gp2 - [1651224212.775096][2968:2973] CHIP:TOO: FabricIndex: 1 - [1651224212.775128][2968:2973] CHIP:TOO: } - disabled: true - - - label: - "TH sends RemoveGroup command to DUT as unicast with the following - field : GroupID as 0xfffd1" - verification: | - ./chip-tool any command-by-id 0x0004 0x03 '{ "0": 65536}' 1 0 - - [1652694249.934023][3542:3547] CHIP:DMG: StatusIB = - [1652694249.934061][3542:3547] CHIP:DMG: { - [1652694249.934099][3542:3547] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1652694249.934137][3542:3547] CHIP:DMG: }, - disabled: true - - - label: - "TH sends RemoveGroup command to DUT as unicast with the following - field : GroupID as 0x0034" - verification: | - ./chip-tool groups remove-group 0x0034 1 0 - - [1651224136.480197][2924:2929] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 - [1651224136.480339][2924:2929] CHIP:TOO: RemoveGroupResponse: { - [1651224136.480403][2924:2929] CHIP:TOO: status: 139 - [1651224136.480452][2924:2929] CHIP:TOO: groupId: 52 - [1651224136.480501][2924:2929] CHIP:TOO: } - disabled: true - - - label: "TH sends RemoveAllGroup command to DUT as unicast method" - verification: | - ./chip-tool groups remove-all-groups 1 0 - - [1651224377.831704][2989:2994] CHIP:DMG: StatusIB = - [1651224377.831757][2989:2994] CHIP:DMG: { - [1651224377.831812][2989:2994] CHIP:DMG: status = 0x00 (SUCCESS), - [1651224377.831866][2989:2994] CHIP:DMG: }, - [1651224377.832439][2989:2994] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0004 Status=0x0 - disabled: true - - - label: - "TH sends ViewGroup command to DUT as unicast with the following - fields: GroupID as 0x0021 TH reads GroupTable attribute from the - GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups view-group 0x0021 1 0 - - [1651224444.124557][2996:3001] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 - [1651224444.124663][2996:3001] CHIP:TOO: ViewGroupResponse: { - [1651224444.124712][2996:3001] CHIP:TOO: status: 139 - [1651224444.124745][2996:3001] CHIP:TOO: groupId: 33 - [1651224444.124778][2996:3001] CHIP:TOO: groupName: - [1651224444.124811][2996:3001] CHIP:TOO: } - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651224488.427512][3006:3011] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651224488.427617][3006:3011] CHIP:TOO: GroupTable: 2 entries - [1651224488.427728][3006:3011] CHIP:TOO: [1]: { - [1651224488.427763][3006:3011] CHIP:TOO: GroupId: 1 - [1651224488.427797][3006:3011] CHIP:TOO: Endpoints: 0 entries - [1651224488.427848][3006:3011] CHIP:TOO: GroupName: grp1 - [1651224488.427881][3006:3011] CHIP:TOO: FabricIndex: 1 - [1651224488.427912][3006:3011] CHIP:TOO: } - [1651224488.427954][3006:3011] CHIP:TOO: [2]: { - [1651224488.427987][3006:3011] CHIP:TOO: GroupId: 2 - [1651224488.428019][3006:3011] CHIP:TOO: Endpoints: 0 entries - [1651224488.428053][3006:3011] CHIP:TOO: GroupName: gp2 - [1651224488.428083][3006:3011] CHIP:TOO: FabricIndex: 1 - [1651224488.428113][3006:3011] CHIP:TOO: } - [1651224488.428226][3006:3011] CHIP:EM: Sending Sta - disabled: true - - - label: - "TH sends AddGroupIfIdentifying command to DUT as unicast method with - the following fields: GroupID as 0x0025 GroupName as Gp37 TH reads - GroupTable attribute from the GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups add-group-if-identifying 0x0025 gp37 1 0 - - [1651224553.023824][3016:3021] CHIP:DMG: StatusIB = - [1651224553.023865][3016:3021] CHIP:DMG: { - [1651224553.023910][3016:3021] CHIP:DMG: status = 0x00 (SUCCESS), - [1651224553.023954][3016:3021] CHIP:DMG: }, - - [1651224553.024349][3016:3021] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0005 Status=0x0 - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651224613.251309][3026:3031] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651224613.251399][3026:3031] CHIP:TOO: GroupTable: 2 entries - [1651224613.251489][3026:3031] CHIP:TOO: [1]: { - [1651224613.251515][3026:3031] CHIP:TOO: GroupId: 1 - [1651224613.251539][3026:3031] CHIP:TOO: Endpoints: 0 entries - [1651224613.251579][3026:3031] CHIP:TOO: GroupName: grp1 - [1651224613.251603][3026:3031] CHIP:TOO: FabricIndex: 1 - [1651224613.251627][3026:3031] CHIP:TOO: } - [1651224613.251658][3026:3031] CHIP:TOO: [2]: { - [1651224613.251682][3026:3031] CHIP:TOO: GroupId: 2 - [1651224613.251705][3026:3031] CHIP:TOO: Endpoints: 0 entries - [1651224613.251729][3026:3031] CHIP:TOO: GroupName: gp2 - [1651224613.251751][3026:3031] CHIP:TOO: FabricIndex: 1 - [1651224613.251772][3026:3031] CHIP:TOO: } - disabled: true - - - label: - "TH sends AddGroupIfIdentifying command to DUT as unicast method with - the following fields: GroupID as 0xffff5 GroupName as Gp45" - verification: | - ./chip-tool any command-by-id 0x0004 0x05 '{ "0": 65536, "1": "my-group-name"}' 1 0 - - - [1652694344.895200][3560:3565] CHIP:DMG: StatusIB = - [1652694344.895245][3560:3565] CHIP:DMG: { - [1652694344.895298][3560:3565] CHIP:DMG: status = 0x85 (INVALID_COMMAND), - [1652694344.895347][3560:3565] CHIP:DMG: }, - disabled: true - - - label: - "TH sends AddGroupIfIdentifying command to DUT as unicast method with - the following fields: GroupID as 0x0067 GroupName as Gp31" - verification: | - ./chip-tool groups add-group-if-identifying 0x0067 gp31 1 0 - - [1651224746.146005][3038:3043] CHIP:DMG: StatusIB = - [1651224746.146038][3038:3043] CHIP:DMG: { - [1651224746.146073][3038:3043] CHIP:DMG: status = 0x00 (SUCCESS), - [1651224746.146106][3038:3043] CHIP:DMG: }, - disabled: true - - - label: - "TH sends AddGroupIfIdentifying command to DUT as unicast method with - the following fields: GroupID as 0x0052 GroupName as Gp54 TH reads - GroupTable attribute from the GroupKeyManagement cluster from DUT" - verification: | - ./chip-tool groups add-group-if-identifying 0x0052 gp54 1 0 - - [1651225850.524282][3091:3096] CHIP:DMG: StatusIB = - [1651225850.524314][3091:3096] CHIP:DMG: { - [1651225850.524347][3091:3096] CHIP:DMG: status = 0x00 (SUCCESS), - [1651225850.524379][3091:3096] CHIP:DMG: }, - - ./chip-tool groupkeymanagement read group-table 1 0 - - [1651225880.217707][3099:3104] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 - [1651225880.217848][3099:3104] CHIP:TOO: GroupTable: 2 entries - [1651225880.217995][3099:3104] CHIP:TOO: [1]: { - [1651225880.218042][3099:3104] CHIP:TOO: GroupId: 1 - [1651225880.218087][3099:3104] CHIP:TOO: Endpoints: 0 entries - [1651225880.218156][3099:3104] CHIP:TOO: GroupName: grp1 - [1651225880.218200][3099:3104] CHIP:TOO: FabricIndex: 1 - [1651225880.218243][3099:3104] CHIP:TOO: } - [1651225880.218299][3099:3104] CHIP:TOO: [2]: { - [1651225880.218342][3099:3104] CHIP:TOO: GroupId: 2 - [1651225880.218384][3099:3104] CHIP:TOO: Endpoints: 0 entries - [1651225880.218429][3099:3104] CHIP:TOO: GroupName: gp2 - [1651225880.218470][3099:3104] CHIP:TOO: FabricIndex: 1 - [1651225880.218509][3099:3104] CHIP:TOO: } - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_GR_1_1.yaml b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml similarity index 98% rename from src/app/tests/suites/certification/Test_TC_GR_1_1.yaml rename to src/app/tests/suites/certification/Test_TC_G_1_1.yaml index a8c4468b85433f..8391a2e8a397b5 100644 --- a/src/app/tests/suites/certification/Test_TC_GR_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml @@ -13,7 +13,7 @@ # 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: 120.1.1. [TC-GR-1.1] Global Attributes [DUT-Server] +name: 119.1.1. [TC-G-1.1] Global Attributes [DUT-Server] config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_GR_2_1.yaml b/src/app/tests/suites/certification/Test_TC_G_2_1.yaml similarity index 96% rename from src/app/tests/suites/certification/Test_TC_GR_2_1.yaml rename to src/app/tests/suites/certification/Test_TC_G_2_1.yaml index d18fbe21449373..f94b52a4e81339 100644 --- a/src/app/tests/suites/certification/Test_TC_GR_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_1.yaml @@ -13,7 +13,7 @@ # 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: 120.2.1. [TC-GR-2.1] Groups Cluster Attributes [DUT-Server] +name: 119.2.1. [TC-G-2.1] Attributes [DUT-Server] config: nodeId: 0x12344321 @@ -22,6 +22,7 @@ config: tests: - label: "TH reads NameSupport attribute from DUT" + PICS: G.S.A0000 verification: | ./chip-tool groups read name-support 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_G_2_2.yaml b/src/app/tests/suites/certification/Test_TC_G_2_2.yaml new file mode 100644 index 00000000000000..cf1dbb283c218e --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_G_2_2.yaml @@ -0,0 +1,510 @@ +# 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: + 119.2.2. [TC-G-2.2] Commands - AddGroup, ViewGroup, RemoveGroup, + RemoveAllGroups [DUT-Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "TH sends AddGroup command to DUT as unicast with the following fields + : GroupID as 0x0001 GroupName as Gp1" + PICS: G.S.C00.Rsp && G.S.C00.Tx + verification: | + ./chip-tool groups add-group 0x0001 grp1 1 0 + + [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: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1651218198.062850][2538:2543] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 2261933069 + [1651218198.062980][2538:2543] CHIP:TOO: GroupTable: 1 entries + [1651218198.067019][2538:2543] CHIP:TOO: [1]: { + [1651218198.067076][2538:2543] CHIP:TOO: GroupId: 1 + [1651218198.067123][2538:2543] CHIP:TOO: Endpoints: 1 entries + [1651218198.067192][2538:2543] CHIP:TOO: [1]: 0 + [1651218198.067241][2538:2543] CHIP:TOO: GroupName: grp1 + [1651218198.067284][2538:2543] CHIP:TOO: FabricIndex: 1 + [1651218198.067327][2538:2543] CHIP:TOO: } + disabled: true + + - label: + "TH sends AddGroup command to DUT as unicast with the following fields + : GroupID as 0x0002 GroupName as Gp2" + PICS: G.S.C00.Rsp && G.S.C00.Tx + verification: | + ./chip-tool groups add-group 0x0002 grp2 1 0 + + [1653484028.897698][11275:11280] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 + [1653484028.897804][11275:11280] CHIP:TOO: AddGroupResponse: { + [1653484028.897851][11275:11280] CHIP:TOO: status: 0 + [1653484028.897884][11275:11280] CHIP:TOO: groupId: 2 + [1653484028.897917][11275:11280] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653484065.934504][11281:11286] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653484065.934631][11281:11286] CHIP:TOO: GroupTable: 2 entries + [1653484065.937522][11281:11286] CHIP:TOO: [1]: { + [1653484065.937573][11281:11286] CHIP:TOO: GroupId: 1 + [1653484065.937615][11281:11286] CHIP:TOO: Endpoints: 1 entries + [1653484065.937678][11281:11286] CHIP:TOO: [1]: 0 + [1653484065.937723][11281:11286] CHIP:TOO: GroupName: grp1 + [1653484065.937763][11281:11286] CHIP:TOO: FabricIndex: 1 + [1653484065.937802][11281:11286] CHIP:TOO: } + [1653484065.937854][11281:11286] CHIP:TOO: [2]: { + [1653484065.937893][11281:11286] CHIP:TOO: GroupId: 2 + [1653484065.937933][11281:11286] CHIP:TOO: Endpoints: 1 entries + [1653484065.937974][11281:11286] CHIP:TOO: [1]: 0 + [1653484065.938014][11281:11286] CHIP:TOO: GroupName: grp2 + [1653484065.938051][11281:11286] CHIP:TOO: FabricIndex: 1 + [1653484065.938089][11281:11286] CHIP:TOO: } + disabled: true + + - label: + "TH sends AddGroup command to DUT as unicast with the following fields + : GroupID as 0x0003 GroupName as Gp3" + PICS: G.S.C00.Rsp && G.S.C00.Tx + verification: | + ./chip-tool groups add-group 0x0003 grp3 1 0 + + [1653484116.857523][11289:11294] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 + [1653484116.857675][11289:11294] CHIP:TOO: AddGroupResponse: { + [1653484116.857739][11289:11294] CHIP:TOO: status: 0 + [1653484116.857787][11289:11294] CHIP:TOO: groupId: 3 + [1653484116.857834][11289:11294] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653484156.968253][11299:11304] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653484156.968414][11299:11304] CHIP:TOO: GroupTable: 3 entries + [1653484156.968565][11299:11304] CHIP:TOO: [1]: { + [1653484156.968612][11299:11304] CHIP:TOO: GroupId: 1 + [1653484156.968657][11299:11304] CHIP:TOO: Endpoints: 1 entries + [1653484156.968725][11299:11304] CHIP:TOO: [1]: 0 + [1653484156.968773][11299:11304] CHIP:TOO: GroupName: grp1 + [1653484156.968814][11299:11304] CHIP:TOO: FabricIndex: 1 + [1653484156.968855][11299:11304] CHIP:TOO: } + [1653484156.968912][11299:11304] CHIP:TOO: [2]: { + [1653484156.968955][11299:11304] CHIP:TOO: GroupId: 2 + [1653484156.968997][11299:11304] CHIP:TOO: Endpoints: 1 entries + [1653484156.969042][11299:11304] CHIP:TOO: [1]: 0 + [1653484156.969087][11299:11304] CHIP:TOO: GroupName: grp2 + [1653484156.969127][11299:11304] CHIP:TOO: FabricIndex: 1 + [1653484156.969165][11299:11304] CHIP:TOO: } + [1653484156.969221][11299:11304] CHIP:TOO: [3]: { + [1653484156.969262][11299:11304] CHIP:TOO: GroupId: 3 + [1653484156.969304][11299:11304] CHIP:TOO: Endpoints: 1 entries + [1653484156.969349][11299:11304] CHIP:TOO: [1]: 0 + [1653484156.969393][11299:11304] CHIP:TOO: GroupName: grp3 + [1653484156.969432][11299:11304] CHIP:TOO: FabricIndex: 1 + [1653484156.969471][11299:11304] CHIP:TOO: } + disabled: true + + - label: + "TH sends AddGroup command to DUT n+1 times as unicast with the + following fields : GroupID as 0x0004 GroupName as Gp4" + PICS: G.S.C00.Rsp && G.S.C00.Tx + verification: | + ./chip-tool groups add-group 0x0004 grp4 1 0 + + [1653484187.170553][11306:11311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 + [1653484187.170637][11306:11311] CHIP:TOO: AddGroupResponse: { + [1653484187.170677][11306:11311] CHIP:TOO: status: 137 + [1653484187.170702][11306:11311] CHIP:TOO: groupId: 4 + [1653484187.170727][11306:11311] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653484324.735216][11318:11323] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653484324.735368][11318:11323] CHIP:TOO: GroupTable: 3 entries + [1653484324.735515][11318:11323] CHIP:TOO: [1]: { + [1653484324.735561][11318:11323] CHIP:TOO: GroupId: 1 + [1653484324.735605][11318:11323] CHIP:TOO: Endpoints: 1 entries + [1653484324.735672][11318:11323] CHIP:TOO: [1]: 0 + [1653484324.735721][11318:11323] CHIP:TOO: GroupName: grp1 + [1653484324.735761][11318:11323] CHIP:TOO: FabricIndex: 1 + [1653484324.735823][11318:11323] CHIP:TOO: } + [1653484324.735881][11318:11323] CHIP:TOO: [2]: { + [1653484324.735924][11318:11323] CHIP:TOO: GroupId: 2 + [1653484324.735966][11318:11323] CHIP:TOO: Endpoints: 1 entries + [1653484324.736012][11318:11323] CHIP:TOO: [1]: 0 + [1653484324.736055][11318:11323] CHIP:TOO: GroupName: grp2 + [1653484324.736096][11318:11323] CHIP:TOO: FabricIndex: 1 + [1653484324.736134][11318:11323] CHIP:TOO: } + [1653484324.736188][11318:11323] CHIP:TOO: [3]: { + [1653484324.736232][11318:11323] CHIP:TOO: GroupId: 3 + [1653484324.736274][11318:11323] CHIP:TOO: Endpoints: 1 entries + [1653484324.736319][11318:11323] CHIP:TOO: [1]: 0 + [1653484324.736363][11318:11323] CHIP:TOO: GroupName: grp3 + [1653484324.736403][11318:11323] CHIP:TOO: FabricIndex: 1 + [1653484324.736441][11318:11323] CHIP:TOO: } + disabled: true + + - label: + "TH sends AddGroup command to DUT as unicast with the following fields + : GroupID as 0x0000 GroupName as Gp6" + PICS: G.S.C00.Rsp && G.S.C00.Tx + verification: | + ./chip-tool groups add-group 0x0000 grp6 1 0 + + [1653484439.884144][11341:11346] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 + [1653484439.884258][11341:11346] CHIP:TOO: AddGroupResponse: { + [1653484439.884310][11341:11346] CHIP:TOO: status: 135 + [1653484439.884346][11341:11346] CHIP:TOO: groupId: 0 + [1653484439.884383][11341:11346] CHIP:TOO: } + disabled: true + + - label: + "TH sends ViewGroup command to DUT as unicast with the following + fields: GroupID as 0x0001" + PICS: G.S.C01.Rsp && G.S.C01.Tx + verification: | + ./chip-tool groups view-group 0x0001 1 0 + + 1653484504.667714][11349:11354] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1653484504.667841][11349:11354] CHIP:TOO: ViewGroupResponse: { + [1653484504.667927][11349:11354] CHIP:TOO: status: 0 + [1653484504.667974][11349:11354] CHIP:TOO: groupId: 1 + [1653484504.668018][11349:11354] CHIP:TOO: groupName: grp1 + [1653484504.668064][11349:11354] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653484552.793059][11397:11402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653484552.793197][11397:11402] CHIP:TOO: GroupTable: 3 entries + [1653484552.793327][11397:11402] CHIP:TOO: [1]: { + [1653484552.793368][11397:11402] CHIP:TOO: GroupId: 1 + [1653484552.793407][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.793467][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.793510][11397:11402] CHIP:TOO: GroupName: grp1 + [1653484552.793546][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.793583][11397:11402] CHIP:TOO: } + [1653484552.793632][11397:11402] CHIP:TOO: [2]: { + [1653484552.793669][11397:11402] CHIP:TOO: GroupId: 2 + [1653484552.793706][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.793747][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.793786][11397:11402] CHIP:TOO: GroupName: grp2 + [1653484552.793822][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.793856][11397:11402] CHIP:TOO: } + [1653484552.793905][11397:11402] CHIP:TOO: [3]: { + [1653484552.793942][11397:11402] CHIP:TOO: GroupId: 3 + [1653484552.793979][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.794019][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.794057][11397:11402] CHIP:TOO: GroupName: grp3 + [1653484552.794092][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.794126][11397:11402] CHIP:TOO: } + disabled: true + + - label: + "TH sends ViewGroup command to DUT as unicast with the following + fields: GroupID as 0x0000" + PICS: G.S.C01.Rsp && G.S.C01.Tx + verification: | + ./chip-tool groups view-group 0x0000 1 0 + + [1653484611.595344][11412:11417] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1653484611.595454][11412:11417] CHIP:TOO: ViewGroupResponse: { + [1653484611.595501][11412:11417] CHIP:TOO: status: 135 + [1653484611.595534][11412:11417] CHIP:TOO: groupId: 0 + [1653484611.595565][11412:11417] CHIP:TOO: groupName: + [1653484611.595599][11412:11417] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command with the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653484552.793059][11397:11402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653484552.793197][11397:11402] CHIP:TOO: GroupTable: 3 entries + [1653484552.793327][11397:11402] CHIP:TOO: [1]: { + [1653484552.793368][11397:11402] CHIP:TOO: GroupId: 1 + [1653484552.793407][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.793467][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.793510][11397:11402] CHIP:TOO: GroupName: grp1 + [1653484552.793546][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.793583][11397:11402] CHIP:TOO: } + [1653484552.793632][11397:11402] CHIP:TOO: [2]: { + [1653484552.793669][11397:11402] CHIP:TOO: GroupId: 2 + [1653484552.793706][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.793747][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.793786][11397:11402] CHIP:TOO: GroupName: grp2 + [1653484552.793822][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.793856][11397:11402] CHIP:TOO: } + [1653484552.793905][11397:11402] CHIP:TOO: [3]: { + [1653484552.793942][11397:11402] CHIP:TOO: GroupId: 3 + [1653484552.793979][11397:11402] CHIP:TOO: Endpoints: 1 entries + [1653484552.794019][11397:11402] CHIP:TOO: [1]: 0 + [1653484552.794057][11397:11402] CHIP:TOO: GroupName: grp3 + [1653484552.794092][11397:11402] CHIP:TOO: FabricIndex: 1 + [1653484552.794126][11397:11402] CHIP:TOO: } + disabled: true + + - label: + "TH sends ViewGroup command to DUT as unicast with the following + fields: GroupID as 0x0021" + PICS: G.S.C01.Rsp && G.S.C01.Tx + verification: | + ./chip-tool groups view-group 0x0021 1 0 + + [1653484707.569962][11436:11441] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1653484707.570073][11436:11441] CHIP:TOO: ViewGroupResponse: { + [1653484707.570122][11436:11441] CHIP:TOO: status: 139 + [1653484707.570154][11436:11441] CHIP:TOO: groupId: 33 + [1653484707.570185][11436:11441] CHIP:TOO: groupName: + [1653484707.570218][11436:11441] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command with the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653559604.877250][3163:3168] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 3214629634 + [1653559604.877441][3163:3168] CHIP:TOO: GroupTable: 3 entries + [1653559604.877556][3163:3168] CHIP:TOO: [1]: { + [1653559604.877621][3163:3168] CHIP:TOO: GroupId: 1 + [1653559604.877671][3163:3168] CHIP:TOO: Endpoints: 1 entries + [1653559604.877722][3163:3168] CHIP:TOO: [1]: 0 + [1653559604.877769][3163:3168] CHIP:TOO: GroupName: grp1 + [1653559604.877812][3163:3168] CHIP:TOO: FabricIndex: 1 + [1653559604.877853][3163:3168] CHIP:TOO: } + [1653559604.877912][3163:3168] CHIP:TOO: [2]: { + [1653559604.877955][3163:3168] CHIP:TOO: GroupId: 2 + [1653559604.877999][3163:3168] CHIP:TOO: Endpoints: 1 entries + [1653559604.878045][3163:3168] CHIP:TOO: [1]: 0 + [1653559604.878090][3163:3168] CHIP:TOO: GroupName: grp2 + [1653559604.878132][3163:3168] CHIP:TOO: FabricIndex: 1 + [1653559604.878178][3163:3168] CHIP:TOO: } + [1653559604.878234][3163:3168] CHIP:TOO: [3]: { + [1653559604.878276][3163:3168] CHIP:TOO: GroupId: 3 + [1653559604.878319][3163:3168] CHIP:TOO: Endpoints: 1 entries + [1653559604.878366][3163:3168] CHIP:TOO: [1]: 0 + [1653559604.878411][3163:3168] CHIP:TOO: GroupName: grp3 + [1653559604.878454][3163:3168] CHIP:TOO: FabricIndex: 1 + [1653559604.878494][3163:3168] CHIP:TOO: } + disabled: true + + - label: + "TH sends RemoveGroup command to DUT as unicast with the following + field : GroupID as 0x0001" + PICS: G.S.C03.Rsp && G.S.C03.Tx + verification: | + ./chip-tool groups remove-group 0x0001 1 0 + + [1653484876.432744][11451:11456] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 + [1653484876.432915][11451:11456] CHIP:TOO: RemoveGroupResponse: { + [1653484876.432989][11451:11456] CHIP:TOO: status: 0 + [1653484876.433044][11451:11456] CHIP:TOO: groupId: 1 + [1653484876.433098][11451:11456] CHIP:TOO: } + disabled: true + + - label: + "TH sends ViewGroup command to DUT as unicast with the following field + : GroupID as 0x0001" + PICS: G.S.C01.Rsp && G.S.C01.Tx + verification: | + ./chip-tool groups view-group 0x0001 1 0 + + [1653484952.142387][11458:11463] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1653484952.142476][11458:11463] CHIP:TOO: ViewGroupResponse: { + [1653484952.142516][11458:11463] CHIP:TOO: status: 139 + [1653484952.142541][11458:11463] CHIP:TOO: groupId: 1 + [1653484952.142566][11458:11463] CHIP:TOO: groupName: + [1653484952.142592][11458:11463] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command with the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1655125356.123370][27657:27662] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1860794324 + [1655125356.123494][27657:27662] CHIP:TOO: GroupTable: 2 entries + [1655125356.123616][27657:27662] CHIP:TOO: [1]: { + [1655125356.123726][27657:27662] CHIP:TOO: GroupId: 2 + [1655125356.123779][27657:27662] CHIP:TOO: Endpoints: 1 entries + [1655125356.123830][27657:27662] CHIP:TOO: [1]: 0 + [1655125356.123878][27657:27662] CHIP:TOO: GroupName: grp2 + [1655125356.123923][27657:27662] CHIP:TOO: FabricIndex: 1 + [1655125356.123964][27657:27662] CHIP:TOO: } + [1655125356.124023][27657:27662] CHIP:TOO: [2]: { + [1655125356.124066][27657:27662] CHIP:TOO: GroupId: 3 + [1655125356.124110][27657:27662] CHIP:TOO: Endpoints: 1 entries + [1655125356.124158][27657:27662] CHIP:TOO: [1]: 0 + [1655125356.124202][27657:27662] CHIP:TOO: GroupName: grp3 + [1655125356.124245][27657:27662] CHIP:TOO: FabricIndex: 1 + [1655125356.124285][27657:27662] CHIP:TOO: } + disabled: true + + - label: + "TH sends RemoveGroup command to DUT as unicast with the following + field : GroupID as 0x0000" + PICS: G.S.C03.Rsp && G.S.C03.Tx + verification: | + ./chip-tool groups remove-group 0x0000 1 0 + + [1653485045.328766][11473:11478] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 + [1653485045.328896][11473:11478] CHIP:TOO: RemoveGroupResponse: { + [1653485045.328954][11473:11478] CHIP:TOO: status: 135 + [1653485045.328994][11473:11478] CHIP:TOO: groupId: 0 + [1653485045.329036][11473:11478] CHIP:TOO: } + disabled: true + + - label: + "TH sends RemoveGroup command to DUT as unicast with the following + field : GroupID as 0x0034" + PICS: G.S.C03.Rsp && G.S.C03.Tx + verification: | + ./chip-tool groups remove-group 0x0034 1 0 + + [1653485126.672869][11483:11488] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0003 + [1653485126.672969][11483:11488] CHIP:TOO: RemoveGroupResponse: { + [1653485126.673015][11483:11488] CHIP:TOO: status: 139 + [1653485126.673045][11483:11488] CHIP:TOO: groupId: 52 + [1653485126.673075][11483:11488] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command with the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1655125356.123370][27657:27662] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1860794324 + [1655125356.123494][27657:27662] CHIP:TOO: GroupTable: 2 entries + [1655125356.123616][27657:27662] CHIP:TOO: [1]: { + [1655125356.123726][27657:27662] CHIP:TOO: GroupId: 2 + [1655125356.123779][27657:27662] CHIP:TOO: Endpoints: 1 entries + [1655125356.123830][27657:27662] CHIP:TOO: [1]: 0 + [1655125356.123878][27657:27662] CHIP:TOO: GroupName: grp2 + [1655125356.123923][27657:27662] CHIP:TOO: FabricIndex: 1 + [1655125356.123964][27657:27662] CHIP:TOO: } + [1655125356.124023][27657:27662] CHIP:TOO: [2]: { + [1655125356.124066][27657:27662] CHIP:TOO: GroupId: 3 + [1655125356.124110][27657:27662] CHIP:TOO: Endpoints: 1 entries + [1655125356.124158][27657:27662] CHIP:TOO: [1]: 0 + [1655125356.124202][27657:27662] CHIP:TOO: GroupName: grp3 + [1655125356.124245][27657:27662] CHIP:TOO: FabricIndex: 1 + [1655125356.124285][27657:27662] CHIP:TOO: } + disabled: true + + - label: "TH sends RemoveAllGroups command to DUT as unicast method" + PICS: G.S.C04.Rsp + verification: | + ./chip-tool groups remove-all-groups 1 0 + + [1653485455.344097][11508:11513] CHIP:DMG: StatusIB = + [1653485455.344141][11508:11513] CHIP:DMG: { + [1653485455.344190][11508:11513] CHIP:DMG: status = 0x00 (SUCCESS), + [1653485455.344236][11508:11513] CHIP:DMG: }, + disabled: true + + - label: + "TH sends ViewGroup command to DUT as unicast with the following + fields: GroupID as 0x0001" + PICS: G.S.C01.Rsp && G.S.C01.Tx + verification: | + ./chip-tool groups view-group 0x0001 1 0 + + [1653559917.259920][3227:3232] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0001 + [1653559917.259993][3227:3232] CHIP:TOO: ViewGroupResponse: { + [1653559917.260040][3227:3232] CHIP:TOO: status: 139 + [1653559917.260075][3227:3232] CHIP:TOO: groupId: 1 + [1653559917.260107][3227:3232] CHIP:TOO: groupName: + [1653559917.260138][3227:3232] CHIP:TOO: } + disabled: true + + - label: + "TH reads GroupTable attribute from the GroupKeyManagement cluster + from DUT Iterate the GroupID in ViewGroup command with the GroupId in + GroupTable" + PICS: GRPKEY.S.A0001 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + [1653485761.350290][11533:11538] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1368205390 + [1653485761.350411][11533:11538] CHIP:TOO: GroupTable: 3 entries + [1653485761.350532][11533:11538] CHIP:TOO: [1]: { + [1653485761.350568][11533:11538] CHIP:TOO: GroupId: 1 + [1653485761.350603][11533:11538] CHIP:TOO: Endpoints: 0 entries + [1653485761.350657][11533:11538] CHIP:TOO: GroupName: grp1 + [1653485761.350692][11533:11538] CHIP:TOO: FabricIndex: 1 + [1653485761.350726][11533:11538] CHIP:TOO: } + [1653485761.350771][11533:11538] CHIP:TOO: [2]: { + [1653485761.350805][11533:11538] CHIP:TOO: GroupId: 2 + [1653485761.350839][11533:11538] CHIP:TOO: Endpoints: 0 entries + [1653485761.350874][11533:11538] CHIP:TOO: GroupName: grp2 + [1653485761.350906][11533:11538] CHIP:TOO: FabricIndex: 1 + [1653485761.350937][11533:11538] CHIP:TOO: } + [1653485761.350981][11533:11538] CHIP:TOO: [3]: { + [1653485761.351015][11533:11538] CHIP:TOO: GroupId: 3 + [1653485761.351048][11533:11538] CHIP:TOO: Endpoints: 0 entries + [1653485761.351082][11533:11538] CHIP:TOO: GroupName: grp3 + [1653485761.351115][11533:11538] CHIP:TOO: FabricIndex: 1 + [1653485761.351145][11533:11538] CHIP:TOO: } + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_GR_2_3.yaml b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml similarity index 96% rename from src/app/tests/suites/certification/Test_TC_GR_2_3.yaml rename to src/app/tests/suites/certification/Test_TC_G_2_3.yaml index 637999bf9eb4e7..59238afb9f22b6 100644 --- a/src/app/tests/suites/certification/Test_TC_GR_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 121.2.3. [TC-GR-2.3] Commands - GetGroupMembership, AddGroupIfIdentifying + 119.2.3. [TC-G-2.3] Commands - GetGroupMembership, AddGroupIfIdentifying [DUT-Server] config: @@ -26,6 +26,7 @@ tests: - label: "TH sends AddGroup command to DUT as unicast with the following fields : GroupID as 0x0002 GroupName as Gp2" + PICS: G.S.C00.Rsp && G.S.C00.Tx verification: | ./chip-tool groups add-group 0x0002 gp2 1 0 @@ -39,6 +40,7 @@ tests: - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster from DUT" + PICS: GRPKEY.S.A0001 verification: | ./chip-tool groupkeymanagement read group-table 1 0 @@ -56,6 +58,7 @@ tests: - label: "TH sends AddGroup command to DUT as unicast with the following fields : GroupID as 0x0003 GroupName as Gp3" + PICS: G.S.C00.Rsp && G.S.C00.Tx verification: | ./chip-tool groups add-group 0x0003 gp3 1 0 @@ -69,6 +72,7 @@ tests: - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster from DUT" + PICS: GRPKEY.S.A0001 verification: | ./chip-tool groupkeymanagement read group-table 1 0 @@ -93,6 +97,7 @@ tests: - label: "TH sends GetGroupMembership command to DUT with the following fields : GroupList as NULL" + PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [] 1 0 @@ -108,6 +113,7 @@ tests: - label: "TH sends GetGroupMembership command to DUT with the following fields : GroupList as [0x0002]" + PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [0002] 1 0 @@ -121,6 +127,7 @@ tests: - label: "TH sends GetGroupMembership command to DUT as unicast with the following fields : GroupList as [0x0002, 0x0003]" + PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [0002,0003] 1 0 @@ -133,6 +140,7 @@ tests: disabled: true - label: "TH sends RemoveAllGroups command to DUT as unicast method" + PICS: G.S.C04.Rsp verification: | ./chip-tool groups remove-all-groups 1 0 @@ -146,6 +154,7 @@ tests: - label: "TH sends AddGroupIfIdentifying command to DUT as unicast method with the following fields: GroupID as 0x0006 GroupName as Gp6" + PICS: G.S.C05.Rsp verification: | ./chip-tool groups add-group-if-identifying 0x0006 gp6 1 0 @@ -158,6 +167,7 @@ tests: - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster from DUT" + PICS: GRPKEY.S.A0001 verification: | ./chip-tool groupkeymanagement read group-table 1 0 @@ -180,6 +190,7 @@ tests: - label: "TH sends AddGroupIfIdentifying command to DUT as unicast method with the following fields: GroupID as 0x0000 GroupName as Gp45" + PICS: G.S.C05.Rsp verification: | ./chip-tool groups add-group-if-identifying 0x0000 gp45 1 0 @@ -193,6 +204,7 @@ tests: - label: "TH sends AddGroupIfIdentifying command to DUT n+1 times as unicast method with the following fields: GroupID as 0x0007 GroupName as Gp54" + PICS: G.S.C05.Rsp verification: | ./chip-tool groups add-group-if-identifying 0x0067 gp31 1 0 @@ -205,6 +217,7 @@ tests: - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster from DUT" + PICS: GRPKEY.S.A0001 verification: | ./chip-tool groupkeymanagement read group-table 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_GR_3_1.yaml b/src/app/tests/suites/certification/Test_TC_G_3_1.yaml similarity index 96% rename from src/app/tests/suites/certification/Test_TC_GR_3_1.yaml rename to src/app/tests/suites/certification/Test_TC_G_3_1.yaml index c05374dc1072e3..efb46693c13dad 100644 --- a/src/app/tests/suites/certification/Test_TC_GR_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_3_1.yaml @@ -13,15 +13,15 @@ # 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: 120.3.1. [TC-GR-3.1] Groups Cluster Attributes [DUT-Client] +name: 119.3.1. [TC-G-3.1] Attributes [DUT-Client] config: nodeId: 0x12344321 cluster: "Basic" endpoint: 0 - tests: - label: "DUT reads NameSupport attribute from TH" + PICS: G.C.A0000 verification: | [1651217683.754603][2825:2825] CHIP:IM: Received Read request [1651217683.754677][2825:2825] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_GR_3_2.yaml b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml similarity index 82% rename from src/app/tests/suites/certification/Test_TC_GR_3_2.yaml rename to src/app/tests/suites/certification/Test_TC_G_3_2.yaml index 16135033b43667..85a644017a3c3a 100644 --- a/src/app/tests/suites/certification/Test_TC_GR_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml @@ -13,7 +13,7 @@ # 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: 120.3.2. [TC-GR-3.2] Groups Cluster Commands [DUT-Client] +name: 119.3.2. [TC-G-3.2] Commands [DUT-Client] config: nodeId: 0x12344321 @@ -22,6 +22,7 @@ config: tests: - label: "DUT sends AddGroup command to TH" + PICS: G.C.C00.Rsp verification: | ./chip-tool groups add-group 0x0021 gp1 1 0 @@ -60,6 +61,7 @@ tests: disabled: true - label: "DUT sends ViewGroup command to TH" + PICS: G.C.C01.Rsp verification: | ./chip-tool groups view-group 0x0021 1 0 @@ -98,12 +100,46 @@ tests: disabled: true - label: "DUT sends GetGroupMembership command to TH" + PICS: G.C.C02.Rsp verification: | - ./chip-tool groups get-group-membership 0x23 1 0 - [1651226161.642052][3143:3143] CHIP:TOO: Error while encoding GroupList as an array. + ./chip-tool groups get-group-membership '[33]' 1 0 + + [1653077452169] [4058:5758073] CHIP: [DMG] ICR moving to [ResponseRe] + [1653077452169] [4058:5758073] CHIP: [DMG] InvokeResponseMessage = + [1653077452169] [4058:5758073] CHIP: [DMG] { + [1653077452169] [4058:5758073] CHIP: [DMG] suppressResponse = false, + [1653077452169] [4058:5758073] CHIP: [DMG] InvokeResponseIBs = + [1653077452169] [4058:5758073] CHIP: [DMG] [ + [1653077452169] [4058:5758073] CHIP: [DMG] InvokeResponseIB = + [1653077452169] [4058:5758073] CHIP: [DMG] { + [1653077452169] [4058:5758073] CHIP: [DMG] CommandDataIB = + [1653077452169] [4058:5758073] CHIP: [DMG] { + [1653077452169] [4058:5758073] CHIP: [DMG] CommandPathIB = + [1653077452169] [4058:5758073] CHIP: [DMG] { + [1653077452169] [4058:5758073] CHIP: [DMG] EndpointId = 0x0, + [1653077452169] [4058:5758073] CHIP: [DMG] ClusterId = 0x4, + [1653077452169] [4058:5758073] CHIP: [DMG] CommandId = 0x2, + [1653077452169] [4058:5758073] CHIP: [DMG] }, + [1653077452169] [4058:5758073] CHIP: [DMG] + [1653077452169] [4058:5758073] CHIP: [DMG] CommandData = + [1653077452169] [4058:5758073] CHIP: [DMG] { + [1653077452169] [4058:5758073] CHIP: [DMG] 0x0 = NULL + [1653077452169] [4058:5758073] CHIP: [DMG] 0x1 = [ + [1653077452169] [4058:5758073] CHIP: [DMG] 33, + [1653077452169] [4058:5758073] CHIP: [DMG] ], + [1653077452169] [4058:5758073] CHIP: [DMG] }, + [1653077452169] [4058:5758073] CHIP: [DMG] }, + [1653077452169] [4058:5758073] CHIP: [DMG] + [1653077452169] [4058:5758073] CHIP: [DMG] }, + [1653077452169] [4058:5758073] CHIP: [DMG] + [1653077452169] [4058:5758073] CHIP: [DMG] ], + [1653077452169] [4058:5758073] CHIP: [DMG] + [1653077452169] [4058:5758073] CHIP: [DMG] InteractionModelRevision = 1 + [1653077452169] [4058:5758073] CHIP: [DMG] }, disabled: true - label: "DUT sends RemoveGroup command to TH" + PICS: G.C.C03.Rsp verification: | ./chip-tool groups remove-group 0x0021 1 0 @@ -141,6 +177,7 @@ tests: disabled: true - label: "DUT sends RemoveAllGroup command to TH" + PICS: G.C.C04.Rsp verification: | ./chip-tool groups remove-all-groups 1 0 @@ -178,6 +215,7 @@ tests: disabled: true - label: "DUT sends AddGroupIfIdentifying command to TH" + PICS: G.C.C05.Rsp verification: | ./chip-tool groups add-group-if-identifying 0x0052 gp54 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_I_2_2.yaml b/src/app/tests/suites/certification/Test_TC_I_2_2.yaml index a2fffff9a09379..2326a6c0f11b62 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_2.yaml @@ -32,6 +32,7 @@ tests: - label: "TH sends Identify command to DUT, with the identify time field set to 0x003c (60s)." + PICS: I.S.C00.Rsp command: "Identify" arguments: values: @@ -39,6 +40,7 @@ tests: value: 60 - label: "TH reads immediately IdentifyTime attribute from DUT1" + PICS: I.S.A0000 command: "readAttribute" attribute: "identify time" response: @@ -55,6 +57,7 @@ tests: value: 10000 - label: "After 10 seconds, the TH reads IdentifyTime attribute from DUT" + PICS: I.S.A0000 command: "readAttribute" attribute: "identify time" response: @@ -81,6 +84,7 @@ tests: - label: "TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop identifying)." + PICS: I.S.C00.Rsp command: "Identify" arguments: values: @@ -88,6 +92,7 @@ tests: value: 0 - label: "TH reads immediately IdentifyTime attribute from DUT2" + PICS: I.S.A0000 command: "readAttribute" attribute: "identify time" response: @@ -109,6 +114,7 @@ tests: - label: "TH writes a value of 0x000f (15s) to IdentifyTime attribute of DUT" + PICS: I.S.A0000 command: "writeAttribute" attribute: "identify time" arguments: @@ -123,6 +129,7 @@ tests: value: 5000 - label: "After 5 seconds, the TH reads IdentifyTime attribute from DUT" + PICS: I.S.A0000 command: "readAttribute" attribute: "identify time" response: diff --git a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml index 9e864e4ae15584..ef95f90c19ddc9 100644 --- a/src/app/tests/suites/certification/Test_TC_I_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_2_3.yaml @@ -32,6 +32,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -52,6 +53,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -72,6 +74,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -92,6 +95,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -112,6 +116,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -132,6 +137,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -143,6 +149,7 @@ tests: - label: "Manually check DUT stops the breathe effect after the current effect sequence" + PICS: I.S.C40.Rsp cluster: "LogCommands" command: "UserPrompt" arguments: @@ -156,6 +163,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -176,6 +184,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -196,6 +205,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect variant field set to 0x42 unknown" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: @@ -216,6 +226,7 @@ tests: "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect variant field set to 0x00 default" + PICS: I.S.C40.Rsp command: "TriggerEffect" arguments: values: diff --git a/src/app/tests/suites/certification/Test_TC_I_3_1.yaml b/src/app/tests/suites/certification/Test_TC_I_3_1.yaml index ce5a6086c0c740..e1c91f79f51c9a 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_1.yaml @@ -13,7 +13,7 @@ # 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: 57.3.1. [TC-I-3.1] Attributes with client as DUT +name: 58.3.1. [TC-I-3.1] Attributes with Client as DUT config: nodeId: 0x12344321 @@ -22,8 +22,8 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | ./chip-tool identify read identify-time 1 1 @@ -66,15 +66,15 @@ tests: disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in + "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - see above + There is no optional attibute for this cluster disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | On TestHarnes (all-cluster-app) a received write request looks like this (f.e identify-time (id 0) value 60): ./chip-tool identify write identify-time 1 1 1 @@ -108,7 +108,80 @@ tests: - label: "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" + verification: | + There is no optional attibute for this cluster + disabled: true + + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again" + verification: | + ./chip-tool identify read attribute-list 1 1 + + [1654242827039] [91286:3990827] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 2002457420 + [1654242827039] [91286:3990827] CHIP: [TOO] AttributeList: 7 entries + [1654242827039] [91286:3990827] CHIP: [TOO] [1]: 0 + [1654242827039] [91286:3990827] CHIP: [TOO] [2]: 1 + [1654242827039] [91286:3990827] CHIP: [TOO] [3]: 65528 + [1654242827039] [91286:3990827] CHIP: [TOO] [4]: 65529 + [1654242827040] [91286:3990827] CHIP: [TOO] [5]: 65531 + [1654242827040] [91286:3990827] CHIP: [TOO] [6]: 65532 + [1654242827040] [91286:3990827] CHIP: [TOO] [7]: 65533 + + + "./chip-tool identify read identify-time 1 1 + + [1648015371.159715][2506:2506] CHIP:IM: Received Read request + [1648015371.159805][2506:2506] CHIP:DMG: ReadRequestMessage = + [1648015371.159840][2506:2506] CHIP:DMG: { + [1648015371.159866][2506:2506] CHIP:DMG: AttributePathIBs = + [1648015371.159903][2506:2506] CHIP:DMG: [ + [1648015371.159932][2506:2506] CHIP:DMG: AttributePathIB = + [1648015371.159968][2506:2506] CHIP:DMG: { + [1648015371.160006][2506:2506] CHIP:DMG: Endpoint = 0x1, + [1648015371.160047][2506:2506] CHIP:DMG: Cluster = 0x3, + [1648015371.160087][2506:2506] CHIP:DMG: Attribute = 0x0000_0000, + [1648015371.160127][2506:2506] CHIP:DMG: } + [1648015371.160164][2506:2506] CHIP:DMG: + [1648015371.160201][2506:2506] CHIP:DMG: ], + [1648015371.160238][2506:2506] CHIP:DMG: + [1648015371.160270][2506:2506] CHIP:DMG: isFabricFiltered = true, + [1648015371.160300][2506:2506] CHIP:DMG: InteractionModelRevision = 1 + [1648015371.160324][2506:2506] CHIP:DMG: }, + + ./chip-tool identify read identify-type 1 1 + [1648015519.017225][2506:2506] CHIP:IM: Received Read request + [1648015519.017293][2506:2506] CHIP:DMG: ReadRequestMessage = + [1648015519.017332][2506:2506] CHIP:DMG: { + [1648015519.017363][2506:2506] CHIP:DMG: AttributePathIBs = + [1648015519.017403][2506:2506] CHIP:DMG: [ + [1648015519.017437][2506:2506] CHIP:DMG: AttributePathIB = + [1648015519.017577][2506:2506] CHIP:DMG: { + [1648015519.017624][2506:2506] CHIP:DMG: Endpoint = 0x1, + [1648015519.017673][2506:2506] CHIP:DMG: Cluster = 0x3, + [1648015519.017721][2506:2506] CHIP:DMG: Attribute = 0x0000_0001, + [1648015519.017768][2506:2506] CHIP:DMG: } + [1648015519.017813][2506:2506] CHIP:DMG: + [1648015519.017853][2506:2506] CHIP:DMG: ], + [1648015519.017894][2506:2506] CHIP:DMG: + [1648015519.017932][2506:2506] CHIP:DMG: isFabricFiltered = true, + [1648015519.017969][2506:2506] CHIP:DMG: InteractionModelRevision = 1 + [1648015519.018003][2506:2506] CHIP:DMG: }," + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + There is no optional attibute for this cluster + disabled: true + + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" verification: | - see above + There is no optional attibute for this cluster disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_I_3_2.yaml b/src/app/tests/suites/certification/Test_TC_I_3_2.yaml index dbbaf49d21efd0..d1cd451bcf39b4 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_2.yaml @@ -13,7 +13,7 @@ # 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: 57.3.2. [TC-I-3.2] Functionality with client as DUT +name: 58.3.2. [TC-I-3.2] Functionality with Client as DUT config: nodeId: 0x12344321 @@ -25,9 +25,10 @@ tests: "DUT issues an Identify command to the Test Harness, with the IdentifyTime argument set to 0x003C (60 seconds) or a reasonable time that is supported by the DUT." + PICS: I.C.C00.Tx verification: | On TestHarnes (all-cluster-app) a received Identify command with f.e. 60 as IdentifyTime looks like this: - + ./chip-tool identify identify 60 1 1 [1646010972.583498][33190:33190] CHIP:EM: Handling via exchange: 60250r, Delegate: 0xaaaace1730c8 [1646010972.583578][33190:33190] CHIP:DMG: InvokeRequestMessage = [1646010972.583611][33190:33190] CHIP:DMG: { @@ -59,37 +60,46 @@ tests: [1646010972.584474][33190:33190] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to d4fdf424 disabled: true + - label: + "DUT issues an IdentifyQuery command to the Test Harness. Note: + IdentifyQuery is not supported by Matter" + PICS: I.C.C01.Tx + verification: | + IdentifyQuery is not supported by Matter + disabled: true + - label: "DUT issues an Identify command to the Test Harness, with the IdentifyTime argument set to 0x0000 (Stop)." + PICS: I.C.C00.Tx verification: | On TestHarnes (all-cluster-app) a received Identify command with an IdentifyTime of 0 looks like this: - + ./chip-tool identify identify 0 1 1 [1646011311.206353][33190:33190] CHIP:EM: Handling via exchange: 12024r, Delegate: 0xaaaace1730c8 [1646011311.206436][33190:33190] CHIP:DMG: InvokeRequestMessage = [1646011311.206462][33190:33190] CHIP:DMG: { - [1646011311.206483][33190:33190] CHIP:DMG: suppressResponse = false, - [1646011311.206514][33190:33190] CHIP:DMG: timedRequest = false, - [1646011311.206544][33190:33190] CHIP:DMG: InvokeRequests = - [1646011311.206575][33190:33190] CHIP:DMG: [ - [1646011311.206599][33190:33190] CHIP:DMG: CommandDataIB = - [1646011311.206628][33190:33190] CHIP:DMG: { - [1646011311.206656][33190:33190] CHIP:DMG: CommandPathIB = - [1646011311.206687][33190:33190] CHIP:DMG: { - [1646011311.206719][33190:33190] CHIP:DMG: EndpointId = 0x1, - [1646011311.206754][33190:33190] CHIP:DMG: ClusterId = 0x3, - [1646011311.206786][33190:33190] CHIP:DMG: CommandId = 0x0, - [1646011311.206815][33190:33190] CHIP:DMG: }, + [1646011311.206483][33190:33190] CHIP:DMG: suppressResponse = false, + [1646011311.206514][33190:33190] CHIP:DMG: timedRequest = false, + [1646011311.206544][33190:33190] CHIP:DMG: InvokeRequests = + [1646011311.206575][33190:33190] CHIP:DMG: [ + [1646011311.206599][33190:33190] CHIP:DMG: CommandDataIB = + [1646011311.206628][33190:33190] CHIP:DMG: { + [1646011311.206656][33190:33190] CHIP:DMG: CommandPathIB = + [1646011311.206687][33190:33190] CHIP:DMG: { + [1646011311.206719][33190:33190] CHIP:DMG: EndpointId = 0x1, + [1646011311.206754][33190:33190] CHIP:DMG: ClusterId = 0x3, + [1646011311.206786][33190:33190] CHIP:DMG: CommandId = 0x0, + [1646011311.206815][33190:33190] CHIP:DMG: }, [1646011311.206848][33190:33190] CHIP:DMG: - [1646011311.206875][33190:33190] CHIP:DMG: CommandData = - [1646011311.206906][33190:33190] CHIP:DMG: { - [1646011311.206937][33190:33190] CHIP:DMG: 0x0 = 0, - [1646011311.206970][33190:33190] CHIP:DMG: }, - [1646011311.207000][33190:33190] CHIP:DMG: }, + [1646011311.206875][33190:33190] CHIP:DMG: CommandData = + [1646011311.206906][33190:33190] CHIP:DMG: { + [1646011311.206937][33190:33190] CHIP:DMG: 0x0 = 0, + [1646011311.206970][33190:33190] CHIP:DMG: }, + [1646011311.207000][33190:33190] CHIP:DMG: }, [1646011311.207032][33190:33190] CHIP:DMG: - [1646011311.207055][33190:33190] CHIP:DMG: ], + [1646011311.207055][33190:33190] CHIP:DMG: ], [1646011311.207085][33190:33190] CHIP:DMG: - [1646011311.207108][33190:33190] CHIP:DMG: InteractionModelRevision = 1 + [1646011311.207108][33190:33190] CHIP:DMG: InteractionModelRevision = 1 [1646011311.207133][33190:33190] CHIP:DMG: }, [1646011311.207188][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o [1646011311.207295][33190:33190] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 @@ -100,9 +110,10 @@ tests: - label: "DUT sends a TriggerEffect command to the Test Harness, with any supported EffectIdentifier argument and EffectVariant set to 0 ." + PICS: I.C.C40.Tx verification: | On TestHarnes (all-cluster-app) a received Identify command with f.e. 1 as EffectIdentifier looks like this: - + ./chip-tool identify trigger-effect 0 0 1 1 [1646011549.034604][33190:33190] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:3605482 on exchange 36067r [1646011549.034646][33190:33190] CHIP:EM: Handling via exchange: 36067r, Delegate: 0xaaaace1730c8 [1646011549.034790][33190:33190] CHIP:DMG: InvokeRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml index 6ee4bc45edbff6..42f94bd96b2128 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml @@ -13,7 +13,7 @@ # 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: 74.1.1. [TC-SWTCH-1.1] Global attributes with server as DUT +name: 73.1.1. [TC-SWTCH-1.1] Global attributes with server as DUT config: nodeId: 0x12344321 @@ -30,31 +30,84 @@ tests: verification: | ./chip-tool switch read feature-map 1 1 - [1646208136.241983][2390:2395] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFCDataVersion: 1206711661 - [1646208136.242043][2390:2395] CHIP:TOO: FeatureMap: 0 + [1655271856.827371][2855:2860] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFC DataVersion: 4291766665 + [1655271856.827493][2855:2860] CHIP:TOO: FeatureMap: 1 disabled: true - label: "Check values of flags in this FeatureMap" + PICS: SWTCH.S.F00 verification: | no Matter messages, but TH internal checking disabled: true - label: "Check values of flags in this FeatureMap" + PICS: SWTCH.S.F01 verification: | no Matter messages, but TH internal checking disabled: true - label: "Check values of flags in this FeatureMap" + PICS: SWTCH.S.F02 verification: | no Matter messages, but TH internal checking disabled: true - label: "Check values of flags in this FeatureMap" + PICS: SWTCH.S.F03 verification: | no Matter messages, but TH internal checking disabled: true - label: "Check values of flags in this FeatureMap" + PICS: SWTCH.S.F04 verification: | no Matter messages, but TH internal checking disabled: true + + - label: "Read ClusterRevision (global attribute 65533)" + verification: | + ./chip-tool switch read cluster-revision 1 1 + + + [1651563714.073979][8331:8336] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFD DataVersion: 3331396879 + [1651563714.074140][8331:8336] CHIP:TOO: ClusterRevision: 1 + disabled: true + + - label: "Read AttributeList (global attribute 65531)" + verification: | + ./chip-tool switch read attribute-list 1 1 + + + [1651563753.140074][8338:8343] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFB DataVersion: 3331396879 + [1651563753.140200][8338:8343] CHIP:TOO: AttributeList: 8 entries + [1651563753.140246][8338:8343] CHIP:TOO: [1]: 0 + [1651563753.140283][8338:8343] CHIP:TOO: [2]: 1 + [1651563753.140319][8338:8343] CHIP:TOO: [3]: 2 + [1651563753.140355][8338:8343] CHIP:TOO: [4]: 65528 + [1651563753.140389][8338:8343] CHIP:TOO: [5]: 65529 + [1651563753.140425][8338:8343] CHIP:TOO: [6]: 65531 + [1651563753.140460][8338:8343] CHIP:TOO: [7]: 65532 + [1651563753.140495][8338:8343] CHIP:TOO: [8]: 65533 + disabled: true + + - label: "Read EventList (global attribute 65530)" + verification: | + OUT OF SCOPE FOR V1.0 + disabled: true + + - label: "Read AcceptedCommandList (global attribute 65529)" + verification: | + ./chip-tool switch read accepted-command-list 1 1 + + + [1651563822.164319][8348:8353] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFF9 DataVersion: 3331396879 + [1651563822.164424][8348:8353] CHIP:TOO: AcceptedCommandList: 0 entries + disabled: true + + - label: "Read GeneratedCommandList (global attribute 65528)" + verification: | + ./chip-tool switch read generated-command-list 1 1 + + [1651563849.608873][8355:8361] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFF8 DataVersion: 3331396879 + [1651563849.608977][8355:8361] CHIP:TOO: GeneratedCommandList: 0 entries + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml index c59c42321e21a6..ed0384b4bffa88 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml @@ -47,6 +47,7 @@ tests: minValue: 0 - label: "Read MultiPressMax attribute" + PICS: SWTCH.S.F04 command: "readAttribute" attribute: "multi press max" response: diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml index 90a0207cd07359..140030690d9dc3 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml @@ -13,11 +13,13 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: "[TC-SWTCH-2.2] Primary functionality with server as DUT" +name: 73.2.2. [TC-SWTCH-2.2] Primary functionality with server as DUT + config: - nodeId: "0x12344321" + nodeId: 0x12344321 cluster: "Basic" endpoint: 0 + tests: - label: "Commission DUT to TH (can be skipped if done in a preceding test)" verification: | @@ -25,6 +27,7 @@ tests: disabled: true - label: "Set up subscription to SwitchLatched event" + PICS: SWTCH.S.F00 verification: | ./chip-tool switch subscribe-event switch-latched 1 100 1 1 @@ -38,11 +41,13 @@ tests: disabled: true - label: "Operator sets switch to first position" + PICS: SWTCH.S.F00 verification: | no Matter messages disabled: true - label: "Read CurrentPosition attribute" + PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 @@ -50,11 +55,14 @@ tests: disabled: true - label: "Operator sets switch to second position" + PICS: SWTCH.S.F00 verification: | - no Matter messages + (no chip-tool message to DUT) + DUT sends event message disabled: true - label: "Read CurrentPosition attribute" + PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 @@ -64,6 +72,7 @@ tests: - label: "If NumberOfPositions>2 (see 2c of TC-SWTCH-2.1) : - Operator sets switch to next position - Read CurrentPosition attribute" + PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 @@ -80,25 +89,27 @@ tests: "If NumberOfPositions>3 : - Repeat step 2f for NumberOfPositions-3 times - After each time Operator has set switch to next position, - Read CurrentPosition attribute" + PICS: SWTCH.S.F00 verification: | - ./chip-tool switch read current-position 1 1 - [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 - [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 + 2 disabled: true - label: "Operator returns switch to first position" + PICS: SWTCH.S.F00 verification: | Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 disabled: true - label: "Read CurrentPosition attribute" - verification: |+ + PICS: SWTCH.S.F00 + verification: | ./chip-tool switch read current-position 1 1 [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 disabled: true - label: "Set up subscription to InitialPress event" + PICS: SWTCH.S.F01 verification: | ./chip-tool switch subscribe-event initial-press 1 100 1 1 [1646209546.313236][2641:2646] CHIP:DMG: SubscribeResponseMessage = @@ -112,38 +123,45 @@ tests: disabled: true - label: "Operator does not operate switch" + PICS: SWTCH.S.F01 verification: | no Matter messages disabled: true - label: "Read CurrentPosition attribute" - verification: |+ + PICS: SWTCH.S.F01 + verification: | ./chip-tool switch read current-position 1 1 [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 disabled: true - label: "Operator operates switch (keep it pressed)" + PICS: SWTCH.S.F01 verification: | receive event disabled: true - label: "Read CurrentPosition attribute" + PICS: SWTCH.S.F01 verification: | - Read attrbute + ./chip-tool switch read current-position 1 1 disabled: true - label: "Operator does not operate switch (release switch)" + PICS: SWTCH.S.F01 verification: | no Matter messages disabled: true - label: "Read CurrentPosition attribute" + PICS: SWTCH.S.F01 verification: | Read attrbute disabled: true - label: "Set up subscription to InitialPress and ShortRelease events" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | ./chip-tool switch subscribe-event initial-press 1 100 1 1 1 @@ -151,27 +169,32 @@ tests: disabled: true - label: "Operator does not operate switch" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | no Matter messages disabled: true - label: "Operator operates switch (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 disabled: true - label: "Operator operates switch (keep pressed for long time, e.g. 5 seconds)" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 disabled: true @@ -179,38 +202,158 @@ tests: - label: "Set up subscription to InitialPress, LongPress, ShortRelease, LongRelease events" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - ./chip-tool switch subscribe-event initial-press 1 100 1 1 1 - - ./chip-tool switch subscribe-event short-release 1 100 1 1 1 - - ./chip-tool switch subscribe-event long-press 1 100 1 1 1 + ./chip-tool switch subscribe-event initial-press 1 100 1 1 - ./chip-tool switch subscribe-event long-release 1 100 1 1 1 + ./chip-tool switch subscribe-event short-release 1 100 1 1 + + [1655272080.983330][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.983357][2922:2927] CHIP:TOO: Event number: 2 + [1655272080.983380][2922:2927] CHIP:TOO: Priority: Info + [1655272080.983402][2922:2927] CHIP:TOO: Timestamp: 1137653 + [1655272080.983506][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.984432][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.984461][2922:2927] CHIP:TOO: } + [1655272080.984555][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.984580][2922:2927] CHIP:TOO: Event number: 3 + [1655272080.984602][2922:2927] CHIP:TOO: Priority: Info + [1655272080.984624][2922:2927] CHIP:TOO: Timestamp: 1137671 + [1655272080.984651][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.984676][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.984699][2922:2927] CHIP:TOO: } + [1655272080.984785][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.984808][2922:2927] CHIP:TOO: Event number: 4 + [1655272080.984831][2922:2927] CHIP:TOO: Priority: Info + [1655272080.984852][2922:2927] CHIP:TOO: Timestamp: 1137689 + [1655272080.984879][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.984903][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.984926][2922:2927] CHIP:TOO: } + [1655272080.985009][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.985033][2922:2927] CHIP:TOO: Event number: 5 + [1655272080.985055][2922:2927] CHIP:TOO: Priority: Info + [1655272080.985076][2922:2927] CHIP:TOO: Timestamp: 1137711 + [1655272080.985103][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.985127][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.985150][2922:2927] CHIP:TOO: } + [1655272080.985233][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.985257][2922:2927] CHIP:TOO: Event number: 6 + [1655272080.985279][2922:2927] CHIP:TOO: Priority: Info + [1655272080.985300][2922:2927] CHIP:TOO: Timestamp: 1137723 + [1655272080.985327][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.985352][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.985374][2922:2927] CHIP:TOO: } + [1655272080.985459][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.985482][2922:2927] CHIP:TOO: Event number: 7 + [1655272080.985504][2922:2927] CHIP:TOO: Priority: Info + [1655272080.985526][2922:2927] CHIP:TOO: Timestamp: 1137739 + [1655272080.985552][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.985576][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.985599][2922:2927] CHIP:TOO: } + [1655272080.985681][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.985704][2922:2927] CHIP:TOO: Event number: 8 + [1655272080.985726][2922:2927] CHIP:TOO: Priority: Info + [1655272080.985748][2922:2927] CHIP:TOO: Timestamp: 1137753 + [1655272080.985774][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.985798][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.985821][2922:2927] CHIP:TOO: } + [1655272080.985907][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.985931][2922:2927] CHIP:TOO: Event number: 9 + [1655272080.985953][2922:2927] CHIP:TOO: Priority: Info + [1655272080.985974][2922:2927] CHIP:TOO: Timestamp: 1137773 + [1655272080.986001][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.986025][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.986047][2922:2927] CHIP:TOO: } + [1655272080.986134][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.986158][2922:2927] CHIP:TOO: Event number: 10 + [1655272080.986180][2922:2927] CHIP:TOO: Priority: Info + [1655272080.986202][2922:2927] CHIP:TOO: Timestamp: 1137785 + [1655272080.986228][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.986252][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.986274][2922:2927] CHIP:TOO: } + [1655272080.986361][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.986385][2922:2927] CHIP:TOO: Event number: 11 + [1655272080.986407][2922:2927] CHIP:TOO: Priority: Info + [1655272080.986429][2922:2927] CHIP:TOO: Timestamp: 1137801 + [1655272080.986455][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.986479][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.986502][2922:2927] CHIP:TOO: } + [1655272080.986588][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.986612][2922:2927] CHIP:TOO: Event number: 12 + [1655272080.986634][2922:2927] CHIP:TOO: Priority: Info + [1655272080.986655][2922:2927] CHIP:TOO: Timestamp: 1137816 + [1655272080.986682][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.986705][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.986728][2922:2927] CHIP:TOO: } + [1655272080.986813][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.986836][2922:2927] CHIP:TOO: Event number: 13 + [1655272080.986858][2922:2927] CHIP:TOO: Priority: Info + [1655272080.986895][2922:2927] CHIP:TOO: Timestamp: 1137858 + [1655272080.986923][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.986948][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.986970][2922:2927] CHIP:TOO: } + [1655272080.987056][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.987080][2922:2927] CHIP:TOO: Event number: 14 + [1655272080.987102][2922:2927] CHIP:TOO: Priority: Info + [1655272080.987123][2922:2927] CHIP:TOO: Timestamp: 1137896 + [1655272080.987150][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.987174][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.987196][2922:2927] CHIP:TOO: } + [1655272080.987280][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.987304][2922:2927] CHIP:TOO: Event number: 15 + [1655272080.987326][2922:2927] CHIP:TOO: Priority: Info + [1655272080.987347][2922:2927] CHIP:TOO: Timestamp: 1137899 + [1655272080.987374][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.987398][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.987421][2922:2927] CHIP:TOO: } + [1655272080.987503][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.987526][2922:2927] CHIP:TOO: Event number: 16 + [1655272080.987548][2922:2927] CHIP:TOO: Priority: Info + [1655272080.987570][2922:2927] CHIP:TOO: Timestamp: 1137916 + [1655272080.987597][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.987621][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.987644][2922:2927] CHIP:TOO: } + [1655272080.987729][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1655272080.987752][2922:2927] CHIP:TOO: Event number: 17 + [1655272080.987774][2922:2927] CHIP:TOO: Priority: Info + [1655272080.987796][2922:2927] CHIP:TOO: Timestamp: 1137949 + [1655272080.987822][2922:2927] CHIP:TOO: ShortRelease: { + [1655272080.987846][2922:2927] CHIP:TOO: PreviousPosition: 10 + [1655272080.987869][2922:2927] CHIP:TOO: } + + + ./chip-tool switch subscribe-event long-press 1 100 1 1 + + ./chip-tool switch subscribe-event long-release 1 100 1 1 disabled: true - label: "Operator does not operate switch" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | no Matter messages disabled: true - label: "Operator operates switch (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | receive event disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | receive event disabled: true - label: "Operator operates switch (keep pressed for long time, e.g. 5 seconds)" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | receive 2 events disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | receive event disabled: true @@ -218,6 +361,7 @@ tests: - label: "Set up subscription to InitialPress, ShortRelease, MultiPressOngoing, MultiPressComplete events" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | ./chip-tool switch subscribe-event initial-press 1 100 1 1 1 @@ -225,75 +369,89 @@ tests: ./chip-tool switch subscribe-event multi-press-ongoing 1 100 1 1 1 - ./chip-tool switch subscribe-event multi-presscomplete 1 100 1 1 1 + ./chip-tool switch subscribe-event multi-press-complete 1 100 1 1 1 disabled: true - label: "Operator does not operate switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | no Matter messages for this step disabled: true - label: "Operator operates switch (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true - label: "Operator operates switch (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Briefly after 6f, operator operates switch again (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true - label: "If MultiPressMax == 2, skip steps 6j .. 6o" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | no Matter messages for this step disabled: true - label: "Operator operates switch (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Briefly after 6k, operator operates switch again (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive event disabled: true - label: "Briefly after 6m, operator operates switch again (press briefly)" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true - label: "Operator releases switch" + PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | receive 2 events disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml index 5e614086f71d78..a917082d14f509 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml @@ -13,7 +13,7 @@ # 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: 74.3.1. [TC-SWTCH-3.1] Attributes with client as DUT +name: 73.3.2. [TC-SWTCH-3.1] Global attributes with client as DUT config: nodeId: 0x12344321 @@ -22,49 +22,51 @@ config: tests: - label: - "DUT reads all supported mandatory attributes from TH once at a time - in a manufacturer specific order" + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" verification: | ./chip-tool switch read number-of-positions 1 1 - [1646209806.545525][2190:2190] CHIP:DMG: ReadRequestMessage = - [1646209806.545648][2190:2190] CHIP:DMG: { - [1646209806.545672][2190:2190] CHIP:DMG: AttributePathIBs = - [1646209806.545702][2190:2190] CHIP:DMG: [ - [1646209806.545746][2190:2190] CHIP:DMG: AttributePathIB = - [1646209806.545783][2190:2190] CHIP:DMG: { - [1646209806.545815][2190:2190] CHIP:DMG: Endpoint = 0x1, - [1646209806.545852][2190:2190] CHIP:DMG: Cluster = 0x3b, - [1646209806.545886][2190:2190] CHIP:DMG: Attribute = 0x0000_0000, - [1646209806.545946][2190:2190] CHIP:DMG: } - [1646209806.545980][2190:2190] CHIP:DMG: - [1646209806.546025][2190:2190] CHIP:DMG: ], - [1646209806.546070][2190:2190] CHIP:DMG: - [1646209806.546117][2190:2190] CHIP:DMG: isFabricFiltered = false, - [1646209806.546156][2190:2190] CHIP:DMG: InteractionModelRevision = 1 - [1646209806.546180][2190:2190] CHIP:DMG: }, + + [1650539419.579618][3678:3678] CHIP:IM: Received Read request + [1650539419.579683][3678:3678] CHIP:DMG: ReadRequestMessage = + [1650539419.579718][3678:3678] CHIP:DMG: { + [1650539419.579748][3678:3678] CHIP:DMG: AttributePathIBs = + [1650539419.579783][3678:3678] CHIP:DMG: [ + [1650539419.579816][3678:3678] CHIP:DMG: AttributePathIB = + [1650539419.579857][3678:3678] CHIP:DMG: { + [1650539419.579895][3678:3678] CHIP:DMG: Endpoint = 0x1, + [1650539419.579943][3678:3678] CHIP:DMG: Cluster = 0x3b, + [1650539419.579990][3678:3678] CHIP:DMG: Attribute = 0x0000_0000, + [1650539419.580034][3678:3678] CHIP:DMG: } + [1650539419.580075][3678:3678] CHIP:DMG: + [1650539419.580111][3678:3678] CHIP:DMG: ], + [1650539419.580150][3678:3678] CHIP:DMG: + [1650539419.580184][3678:3678] CHIP:DMG: isFabricFiltered = true, + [1650539419.580218][3678:3678] CHIP:DMG: InteractionModelRevision = 1 + [1650539419.580250][3678:3678] CHIP:DMG: }, ./chip-tool switch read current-position 1 1 - [1646209852.886417][2190:2190] CHIP:DMG: ReadRequestMessage = - [1646209852.886459][2190:2190] CHIP:DMG: { - [1646209852.886489][2190:2190] CHIP:DMG: AttributePathIBs = - [1646209852.886521][2190:2190] CHIP:DMG: [ - [1646209852.886551][2190:2190] CHIP:DMG: AttributePathIB = - [1646209852.886589][2190:2190] CHIP:DMG: { - [1646209852.886624][2190:2190] CHIP:DMG: Endpoint = 0x1, - [1646209852.886660][2190:2190] CHIP:DMG: Cluster = 0x3b, - [1646209852.886703][2190:2190] CHIP:DMG: Attribute = 0x0000_0001, - [1646209852.886741][2190:2190] CHIP:DMG: } - [1646209852.886776][2190:2190] CHIP:DMG: - [1646209852.886807][2190:2190] CHIP:DMG: ], - [1646209852.886841][2190:2190] CHIP:DMG: - [1646209852.886870][2190:2190] CHIP:DMG: isFabricFiltered = false, - [1646209852.886900][2190:2190] CHIP:DMG: InteractionModelRevision = 1 - [1646209852.886927][2190:2190] CHIP:DMG: }, - [1646209852.887004][2190:2190] CHIP:DMG: IM RH moving to [GeneratingReports] + + [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = + [1650539484.199188][3678:3678] CHIP:DMG: { + [1650539484.199243][3678:3678] CHIP:DMG: AttributePathIBs = + [1650539484.199308][3678:3678] CHIP:DMG: [ + [1650539484.199368][3678:3678] CHIP:DMG: AttributePathIB = + [1650539484.199442][3678:3678] CHIP:DMG: { + [1650539484.199515][3678:3678] CHIP:DMG: Endpoint = 0x1, + [1650539484.199600][3678:3678] CHIP:DMG: Cluster = 0x3b, + [1650539484.199685][3678:3678] CHIP:DMG: Attribute = 0x0000_0001, + [1650539484.199760][3678:3678] CHIP:DMG: } + [1650539484.199835][3678:3678] CHIP:DMG: + [1650539484.199901][3678:3678] CHIP:DMG: ], + [1650539484.199971][3678:3678] CHIP:DMG: + [1650539484.200035][3678:3678] CHIP:DMG: isFabricFiltered = true, + [1650539484.200098][3678:3678] CHIP:DMG: InteractionModelRevision = 1 + [1650539484.200156][3678:3678] CHIP:DMG: }, disabled: true - label: - "DUT reads all supported optional attributes from TH once at a time in + "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | ./chip-tool switch read multi-press-max 1 1 @@ -90,14 +92,74 @@ tests: - label: "DUT writes a suitable value to all supported mandatory attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" + verification: | + no writable attributes + disabled: true + + - label: + "DUT writes a suitable value to all supported optional attributes on + the TH one at a time in a manufacturer specific order" verification: | no writable attributes disabled: true + - label: + "Configure TH such that it implements mandatory and none of the + optional attributes of the server-side of the cluster, and that it + also reflects this in global attributes such as FeatureMap and + AttributeList. Commission DUT to TH again" + verification: | + ./chip-tool switch read number-of-positions 1 1 + + [1650539419.579618][3678:3678] CHIP:IM: Received Read request + [1650539419.579683][3678:3678] CHIP:DMG: ReadRequestMessage = + [1650539419.579718][3678:3678] CHIP:DMG: { + [1650539419.579748][3678:3678] CHIP:DMG: AttributePathIBs = + [1650539419.579783][3678:3678] CHIP:DMG: [ + [1650539419.579816][3678:3678] CHIP:DMG: AttributePathIB = + [1650539419.579857][3678:3678] CHIP:DMG: { + [1650539419.579895][3678:3678] CHIP:DMG: Endpoint = 0x1, + [1650539419.579943][3678:3678] CHIP:DMG: Cluster = 0x3b, + [1650539419.579990][3678:3678] CHIP:DMG: Attribute = 0x0000_0000, + [1650539419.580034][3678:3678] CHIP:DMG: } + [1650539419.580075][3678:3678] CHIP:DMG: + [1650539419.580111][3678:3678] CHIP:DMG: ], + [1650539419.580150][3678:3678] CHIP:DMG: + [1650539419.580184][3678:3678] CHIP:DMG: isFabricFiltered = true, + [1650539419.580218][3678:3678] CHIP:DMG: InteractionModelRevision = 1 + [1650539419.580250][3678:3678] CHIP:DMG: }, + + ./chip-tool switch read current-position 1 1 + + [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = + [1650539484.199188][3678:3678] CHIP:DMG: { + [1650539484.199243][3678:3678] CHIP:DMG: AttributePathIBs = + [1650539484.199308][3678:3678] CHIP:DMG: [ + [1650539484.199368][3678:3678] CHIP:DMG: AttributePathIB = + [1650539484.199442][3678:3678] CHIP:DMG: { + [1650539484.199515][3678:3678] CHIP:DMG: Endpoint = 0x1, + [1650539484.199600][3678:3678] CHIP:DMG: Cluster = 0x3b, + [1650539484.199685][3678:3678] CHIP:DMG: Attribute = 0x0000_0001, + [1650539484.199760][3678:3678] CHIP:DMG: } + [1650539484.199835][3678:3678] CHIP:DMG: + [1650539484.199901][3678:3678] CHIP:DMG: ], + [1650539484.199971][3678:3678] CHIP:DMG: + [1650539484.200035][3678:3678] CHIP:DMG: isFabricFiltered = true, + [1650539484.200098][3678:3678] CHIP:DMG: InteractionModelRevision = 1 + [1650539484.200156][3678:3678] CHIP:DMG: }, + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + ./chip-tool switch read multi-press-max 1 1 + disabled: true + - label: "DUT writes a suitable value to all supported optional attributes on - the TH once at a time in a manufacturer specific order" + the TH one at a time in a manufacturer specific order" verification: | no writable attributes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml index 8eb44544e29936..6aad611db29191 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_2.yaml @@ -22,6 +22,7 @@ config: tests: - label: "TH sends a RemoveAllGroups command to DUT." + PICS: G.S.C04.Rsp verification: | If a status response is expected, DUT sends a response to TH with the Status field equal to 0x00 (SUCCESS). disabled: true @@ -38,6 +39,7 @@ tests: - label: "TH sends a AddGroup command to DUT with the GroupID field set to 0x0001." + PICS: G.S.C00.Rsp verification: | DUT sends a AddGroupResponse command to TH with the Status field set to 0x00 (SUCCESS) and the GroupID field set to 0x0001. disabled: true @@ -45,6 +47,7 @@ tests: - label: "TH sends a RemoveAllScenes command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C03.Rsp verification: | DUT sends a RemoveAllScenesResponse command to TH with the Status field set to 0x00 (SUCCESS) and GroupID field set to 0x0001. disabled: true @@ -52,6 +55,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to the value SC0, the GroupID field set to 0x0001 and the SceneCount field set to 0x00. disabled: true @@ -66,6 +70,7 @@ tests: - label: "TH sends a StoreScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C04.Rsp verification: | DUT sends a StoreSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 0x0001 and the SceneID field set to 0x01. disabled: true @@ -80,6 +85,7 @@ tests: - label: "TH sends a RecallScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C05.Rsp verification: | If a status response is expected, DUT sends a response to TH with the Status field equal to 0x00 (SUCCESS). DUT returns to AC1. disabled: true @@ -87,6 +93,7 @@ tests: - label: "TH reads attributes SceneCount, CurrentScene, CurrentGroup and SceneValid from DUT." + PICS: S.S.A0000 && S.S.A0001 && S.S.A0002 && S.S.A0003 verification: | DUT provides these attribute values: SceneCount attribute has the value (PIXIT.S.SceneTableEntriesOnFactoryNew + 1) CurrentScene attribute has the value 0x01 CurrentGroup attribute has the value G1 SceneValid attribute has the value TRUE. disabled: true @@ -111,6 +118,7 @@ tests: - label: "TH sends a RecallScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C05.Rsp verification: | If a status response is expected, DUT sends a response to TH with the Status field equal to 0x00 (SUCCESS). DUT returns to AC1. disabled: true @@ -118,6 +126,7 @@ tests: - label: "TH sends a ViewScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C01.Rsp verification: | DUT sends a ViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 0x0001, the SceneID field set to 0x01, the TransitionTime field set to 0x0000 and a set of extension fields appropriate to AC1. disabled: true @@ -125,6 +134,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC0 - 1), 0xfe or null, the GroupID field set to 0x0001, the SceneCount field set to 0x01 and the SceneList field containing only the scene ID 0x01. disabled: true @@ -132,6 +142,7 @@ tests: - label: "TH sends a RemoveAllScenes command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C03.Rsp verification: | DUT sends a RemoveAllScenesResponse command to TH with the Status field set to 0x00 (SUCCESS) and GroupID field set to 0x0001. disabled: true @@ -139,6 +150,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values SC0, 0xfe or null, the GroupID field set to 0x0001 and the SceneCount field set to 0x00. disabled: true @@ -147,6 +159,7 @@ tests: "TH sends a AddScene command to DUT with the GroupID field set to 0x0001, the SceneID field set to 0x01, the TransitionTime field set to 0x0001 and a set of extension fields appropriate to AC1." + PICS: S.S.C00.Rsp verification: | DUT sends a AddSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 0x0001 and the SceneID field set to 0x01. disabled: true @@ -154,6 +167,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC0 - 1), 0xfe or null, the GroupID field set to 0x0001, the SceneCount field set to 0x01 and the SceneList field containing only the scene ID 0x01. disabled: true @@ -161,6 +175,7 @@ tests: - label: "TH sends a RemoveScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C02.Rsp verification: | DUT sends a RemoveSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 0x0001 and the SceneID field set to 0x01. disabled: true @@ -168,6 +183,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values SC0, 0xfe or null, the GroupID field set to 0x0001 and the SceneCount field set to 0x00. disabled: true @@ -182,6 +198,7 @@ tests: - label: "TH sends a RecallScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C05.Rsp verification: | If a status response is expected, DUT sends a response to TH with the Status field equal to 0x8b (NOT_FOUND). disabled: true @@ -196,6 +213,7 @@ tests: - label: "TH sends a StoreScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x01." + PICS: S.S.C04.Rsp verification: | DUT sends a StoreSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to 0x0001 and the SceneID field set to 0x01. disabled: true @@ -210,6 +228,7 @@ tests: - label: "TH sends a StoreScene command to DUT with the GroupID field set to 0x0001 and the SceneID field set to 0x02." + PICS: S.S.C04.Rsp verification: | DUT sends a StoreSceneResponse command to TH with the Status field set to 0x00 (SUCCESS) or 0x89 (INSUFFICIENT_SPACE). If SUCCESS, with the GroupID field set to 0x0001 and the SceneID field set to 0x02. If INSUFFICIENT_SPACE, the following steps SHALL NOT be executed. disabled: true @@ -217,6 +236,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0001." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC0 - 2), 0xfe or null, the GroupID field set to 0x0001, the SceneCount field set to 0x02 and the SceneList field containing the scene IDs 0x01 and 0x02. disabled: true @@ -224,6 +244,7 @@ tests: - label: "If capacity allows, TH sends a AddGroup command to DUT with the GroupID field set to 0x0002." + PICS: G.S.C00.Rsp verification: | DUT sends a AddGroupResponse command to TH with the Status field set to 0x00 (SUCCESS) and the GroupID field set to 0x0002. disabled: true @@ -231,6 +252,7 @@ tests: - label: "TH sends a RemoveAllScenes command to DUT with the GroupID field set to 0x0002." + PICS: S.S.C03.Rsp verification: | DUT sends a RemoveAllScenesResponse command to TH with the Status field set to 0x00 (SUCCESS) and GroupID field set to 0x0002. disabled: true @@ -238,6 +260,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0002." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to the value SC1, the GroupID field set to 0x0002 and the SceneCount field set to 0x00. disabled: true @@ -252,6 +275,7 @@ tests: - label: "TH sends a StoreScene command to DUT with the GroupID field set to 0x0002 and the SceneID field set to 0x03." + PICS: S.S.C04.Rsp verification: | DUT sends a StoreSceneResponse command to TH with the Status field set to 0x00 (SUCCESS) or 0x89 (INSUFFICIENT_SPACE). If SUCCESS, with the GroupID field set to 0x0002 and the SceneID field set to 0x03. IF INSUFFICIENT_SPACE, the following steps SHALL NOT be executed. disabled: true @@ -259,6 +283,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to 0x0002." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC1 - 3), 0xfe or null, the GroupID field set to 0x0002, the SceneCount field set to 0x01 and the SceneList field containing only the scene ID 0x03. disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_S_2_3.yaml b/src/app/tests/suites/certification/Test_TC_S_2_3.yaml index 3ea2eb3e8f0fa9..77833e7a1a0954 100644 --- a/src/app/tests/suites/certification/Test_TC_S_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_S_2_3.yaml @@ -32,6 +32,7 @@ tests: - label: "TH sends a AddGroup command to DUT with the GroupID field set to G1." + PICS: G.S.C00.Rsp verification: | DUT sends a AddGroupResponse command to TH with the Status field set to 0x00 (SUCCESS) or 0x8a (DUPLICATE_EXISTS) and the GroupID field set to G1. disabled: true @@ -39,6 +40,7 @@ tests: - label: "TH sends a RemoveAllScenes command to DUT with the GroupID field set to G1." + PICS: S.S.C03.Rsp verification: | DUT sends a RemoveAllScenesResponse command to TH with the Status field set to 0x00 (SUCCESS) and GroupID field set to G1. disabled: true @@ -46,6 +48,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to G1." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to the value SC0, the GroupID field set to G1 and the SceneCount field set to 0x00. disabled: true @@ -54,6 +57,7 @@ tests: "TH sends a EnhancedAddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x000a (1s) and a set of extension fields appropriate to AC1." + PICS: S.S.C40.Rsp verification: | DUT sends a EnhancedAddSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1 and the SceneID field set to 0x01. disabled: true @@ -62,6 +66,7 @@ tests: "TH sends a AddScene command to DUT with the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x0001 (1s) and a set of extension fields appropriate to AC1." + PICS: S.S.C40.Rsp verification: | DUT sends a AddSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1 and the SceneID field set to 0x01. disabled: true @@ -69,6 +74,7 @@ tests: - label: "TH sends a EnhancedViewScene command to DUT with the GroupID field set to G1 and the SceneID field set to 0x01." + PICS: S.S.C41.Rsp verification: | DUT sends a EnhancedViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1, the SceneID field set to 0x01, the TransitionTime field set to 0x000a (1s) and a set of extension fields appropriate to AC1. disabled: true @@ -76,6 +82,7 @@ tests: - label: "TH sends a ViewScene command to DUT with the GroupID field set to G1 and the SceneID field set to 0x01." + PICS: "!S.S.C41.Rsp" verification: | DUT sends a ViewSceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the GroupID field set to G1 and the SceneID field set to 0x01, the TransitionTime field set to 0x0001 (1s) and a set of extension fields appropriate to AC1. disabled: true @@ -83,6 +90,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to G1." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC0 - 1), 0xfe or null, the GroupID field set to G1, the SceneCount field set to 0x01 and the SceneList field containing only the scene ID 0x01. disabled: true @@ -90,6 +98,7 @@ tests: - label: "TH configures AC2 on DUT for all implemented application clusters supporting scenes." + PICS: S.S.C04.Rsp verification: | DUT is configured with AC2 which is different from AC1. disabled: true @@ -97,6 +106,7 @@ tests: - label: "TH sends a RecallScene command to group G1 with the GroupID field set to G1 and the scene ID field set to 0x01." + PICS: S.S.C05.Rsp verification: | (There is no Status response since this was a groupcast) DUT returns to AC1. disabled: true @@ -106,6 +116,7 @@ tests: the group identifier from field set to G1, the scene identifier from field set to 0x01, the group identifier to field set to G1 and the scene identifier to field set to 0x02." + PICS: S.S.C42.Rsp verification: | DUT sends a CopySceneResponse command to TH with the Status field set to 0x00 (SUCCESS), the group identifier from field set to G1 and the scene identifier from field set to 0x01. disabled: true @@ -113,6 +124,7 @@ tests: - label: "TH sends a GetSceneMembership command to DUT with the GroupID field set to G1." + PICS: S.S.C06.Rsp verification: | DUT sends a GetSceneMembershipResponse command to TH with the Status field set to 0x00 (SUCCESS), the Capacity field set to one of the values (SC0 - 2), 0xfe or null, the GroupID field set to G1, the SceneCount field set to 0x02 and the SceneList field containing the scene IDs 0x01 and 0x02. disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 56661793643a69..e480cf0c63ae5b 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -232,6 +232,7 @@ MC_KEYPADINPUT.S.LK=0 MC_KEYPADINPUT.S.NK=0 MC_KEYPADINPUT.S.NV=0 MC_MEDIAINPUT.S.NU=0 + #PRS PRS.S.A0000=1 PRS.S.A0001=1 @@ -242,3 +243,74 @@ PRS.S.A0011=0 PRS.S.A0012=0 PRS.S.A0013=0 PRS.S.A0014=0 + +#Groups Cluster +G.S.A0000=0 +GRPKEY.S.A0001=0 +G.S.C00.Rsp=0 +G.S.C01.Rsp=0 +G.S.C02.Rsp=0 +G.S.C03.Rsp=0 +G.S.C04.Rsp=0 +G.S.C05.Rsp=0 +G.S.C00.Tx=0 +G.S.C01.Tx=0 +G.S.C02.Tx=0 +G.S.C03.Tx=0 +G.C.A0000=0 +G.C.C00.Rsp=0 +G.C.C01.Rsp=0 +G.C.C02.Rsp=0 +G.C.C03.Rsp=0 +G.C.C04.Rsp=0 +G.C.C05.Rsp=0 + +#Identify Cluster +I.S.A0000=1 +I.S.A0001=1 +I.S.C00.Rsp=1 +I.S.C01.Rsp=1 +I.S.C40.Rsp=1 +I.S.C00.Tx=1 +I.C.C00.Tx=1 +I.C.C01.Tx=1 +I.C.C40.Tx=1 +I.C.C00.Rsp=1 + +#Scenes Cluster +S.S.A0000=0 +S.S.A0001=0 +S.S.A0002=0 +S.S.A0003=0 +S.S.A0004=0 +S.S.A0005=0 +S.S.C00.Rsp=0 +S.S.C01.Rsp=0 +S.S.C02.Rsp=0 +S.S.C03.Rsp=0 +S.S.C04.Rsp=0 +S.S.C05.Rsp=0 +S.S.C06.Rsp=0 +S.S.C40.Rsp=0 +S.S.C41.Rsp=0 +S.S.C42.Rsp=0 +S.S.C05.Rsp=0 +G.S.C00.Rsp=0 +G.S.C04.Rsp=0 +S.C.C00.Tx=0 +S.C.C01.Tx=0 +S.C.C02.Tx=0 +S.C.C03.Tx=0 +S.C.C04.Tx=0 +S.C.C05.Tx=0 +S.C.C06.Tx=0 +S.C.C40.Tx=0 +S.C.C41.Tx=0 +S.C.C42.Tx=0 + +#Switch Cluster +SWTCH.S.F00=1 +SWTCH.S.F01=1 +SWTCH.S.F02=1 +SWTCH.S.F03=1 +SWTCH.S.F04=1 \ No newline at end of file diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index e3d978546acf8d..354657083104cf 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -68,12 +68,12 @@ function getManualTests() { const Groups = [ 'TestGroupDemoCommand', 'TestGroupDemoConfig', - 'Test_TC_GR_1_1', - 'Test_TC_GR_2_1', - 'Test_TC_GR_2_2', - 'Test_TC_GR_2_3', - 'Test_TC_GR_3_1', - 'Test_TC_GR_3_2', + 'Test_TC_G_1_1', + 'Test_TC_G_2_1', + 'Test_TC_G_2_2', + 'Test_TC_G_2_3', + 'Test_TC_G_3_1', + 'Test_TC_G_3_2', ]; const BulkDataExchangeProtocol = [ diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 5d61e62eb219d6..541d261353da3e 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -276,12 +276,12 @@ class ManualTestList : public Command printf("Test_TC_DD_3_20\n"); printf("TestGroupDemoCommand\n"); printf("TestGroupDemoConfig\n"); - printf("Test_TC_GR_1_1\n"); - printf("Test_TC_GR_2_1\n"); - printf("Test_TC_GR_2_2\n"); - printf("Test_TC_GR_2_3\n"); - printf("Test_TC_GR_3_1\n"); - printf("Test_TC_GR_3_2\n"); + printf("Test_TC_G_1_1\n"); + printf("Test_TC_G_2_1\n"); + printf("Test_TC_G_2_2\n"); + printf("Test_TC_G_2_3\n"); + printf("Test_TC_G_3_1\n"); + printf("Test_TC_G_3_2\n"); printf("Test_TC_BDX_1_1\n"); printf("Test_TC_BDX_1_2\n"); printf("Test_TC_BDX_1_3\n"); @@ -12874,6 +12874,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 1: { LogStep(1, "TH sends Identify command to DUT, with the identify time field set to 0x003c (60s)."); + VerifyOrDo(!ShouldSkip("I.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::Identify::Type value; value.identifyTime = 60U; @@ -12884,6 +12885,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 2: { LogStep(2, "TH reads immediately IdentifyTime attribute from DUT1"); + VerifyOrDo(!ShouldSkip("I.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id, true, chip::NullOptional); } @@ -12896,6 +12898,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 4: { LogStep(4, "After 10 seconds, the TH reads IdentifyTime attribute from DUT"); + VerifyOrDo(!ShouldSkip("I.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id, true, chip::NullOptional); } @@ -12913,6 +12916,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 6: { LogStep(6, "TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop identifying)."); + VerifyOrDo(!ShouldSkip("I.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::Identify::Type value; value.identifyTime = 0U; @@ -12923,6 +12927,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 7: { LogStep(7, "TH reads immediately IdentifyTime attribute from DUT2"); + VerifyOrDo(!ShouldSkip("I.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id, true, chip::NullOptional); } @@ -12938,6 +12943,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 9: { LogStep(9, "TH writes a value of 0x000f (15s) to IdentifyTime attribute of DUT"); + VerifyOrDo(!ShouldSkip("I.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; uint16_t value; value = 15U; @@ -12953,6 +12959,7 @@ class Test_TC_I_2_2Suite : public TestCommand } case 11: { LogStep(11, "After 5 seconds, the TH reads IdentifyTime attribute from DUT"); + VerifyOrDo(!ShouldSkip("I.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), Identify::Id, Identify::Attributes::IdentifyTime::Id, true, chip::NullOptional); } @@ -13097,6 +13104,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(1, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(0); @@ -13117,6 +13125,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(3, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(1); @@ -13137,6 +13146,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(5, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(2); @@ -13157,6 +13167,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(7, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel change and the " "effect variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(11); @@ -13177,6 +13188,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(9, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(1); @@ -13197,6 +13209,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(11, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish effect and the " "effect variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(254); @@ -13208,6 +13221,7 @@ class Test_TC_I_2_3Suite : public TestCommand } case 12: { LogStep(12, "Manually check DUT stops the breathe effect after the current effect sequence"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span( @@ -13218,6 +13232,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(13, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(1); @@ -13238,6 +13253,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(15, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(255); @@ -13259,6 +13275,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(17, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and the effect " "variant field set to 0x42 unknown"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(0); @@ -13279,6 +13296,7 @@ class Test_TC_I_2_3Suite : public TestCommand LogStep(19, "TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop effect and the effect " "variant field set to 0x00 default"); + VerifyOrDo(!ShouldSkip("I.S.C40.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::Identify::Commands::TriggerEffect::Type value; value.effectIdentifier = static_cast(255); @@ -27096,6 +27114,7 @@ class Test_TC_SWTCH_2_1Suite : public TestCommand } case 3: { LogStep(3, "Read MultiPressMax attribute"); + VerifyOrDo(!ShouldSkip("SWTCH.S.F04"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), Switch::Id, Switch::Attributes::MultiPressMax::Id, true, chip::NullOptional); } @@ -66081,10 +66100,10 @@ class TestGroupDemoConfigSuite : public TestCommand } }; -class Test_TC_GR_1_1Suite : public TestCommand +class Test_TC_G_1_1Suite : public TestCommand { public: - Test_TC_GR_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_1_1", 0, credsIssuerConfig) + Test_TC_G_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66092,7 +66111,7 @@ class Test_TC_GR_1_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_1_1Suite() {} + ~Test_TC_G_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66137,10 +66156,10 @@ class Test_TC_GR_1_1Suite : public TestCommand } }; -class Test_TC_GR_2_1Suite : public TestCommand +class Test_TC_G_2_1Suite : public TestCommand { public: - Test_TC_GR_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_2_1", 0, credsIssuerConfig) + Test_TC_G_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66148,7 +66167,7 @@ class Test_TC_GR_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_2_1Suite() {} + ~Test_TC_G_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66193,10 +66212,10 @@ class Test_TC_GR_2_1Suite : public TestCommand } }; -class Test_TC_GR_2_2Suite : public TestCommand +class Test_TC_G_2_2Suite : public TestCommand { public: - Test_TC_GR_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_2_2", 0, credsIssuerConfig) + Test_TC_G_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66204,7 +66223,7 @@ class Test_TC_GR_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_2_2Suite() {} + ~Test_TC_G_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66249,10 +66268,10 @@ class Test_TC_GR_2_2Suite : public TestCommand } }; -class Test_TC_GR_2_3Suite : public TestCommand +class Test_TC_G_2_3Suite : public TestCommand { public: - Test_TC_GR_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_2_3", 0, credsIssuerConfig) + Test_TC_G_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66260,7 +66279,7 @@ class Test_TC_GR_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_2_3Suite() {} + ~Test_TC_G_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66305,10 +66324,10 @@ class Test_TC_GR_2_3Suite : public TestCommand } }; -class Test_TC_GR_3_1Suite : public TestCommand +class Test_TC_G_3_1Suite : public TestCommand { public: - Test_TC_GR_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_3_1", 0, credsIssuerConfig) + Test_TC_G_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66316,7 +66335,7 @@ class Test_TC_GR_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_3_1Suite() {} + ~Test_TC_G_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66361,10 +66380,10 @@ class Test_TC_GR_3_1Suite : public TestCommand } }; -class Test_TC_GR_3_2Suite : public TestCommand +class Test_TC_G_3_2Suite : public TestCommand { public: - Test_TC_GR_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_3_2", 0, credsIssuerConfig) + Test_TC_G_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_G_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66372,7 +66391,7 @@ class Test_TC_GR_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_GR_3_2Suite() {} + ~Test_TC_G_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -87215,12 +87234,12 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), + make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index bdeef943c07882..befe82bd4f08a8 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -21289,10 +21289,18 @@ class Test_TC_I_2_2 : public TestCommandBridge { case 1: ChipLogProgress(chipTool, " ***** Test Step 1 : TH sends Identify command to DUT, with the identify time field set to 0x003c (60s).\n"); + if (ShouldSkip("I.S.C00.Rsp")) { + NextTest(); + return; + } err = TestThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x003c60s_1(); break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : TH reads immediately IdentifyTime attribute from DUT1\n"); + if (ShouldSkip("I.S.A0000")) { + NextTest(); + return; + } err = TestThReadsImmediatelyIdentifyTimeAttributeFromDut1_2(); break; case 3: @@ -21301,6 +21309,10 @@ class Test_TC_I_2_2 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : After 10 seconds, the TH reads IdentifyTime attribute from DUT\n"); + if (ShouldSkip("I.S.A0000")) { + NextTest(); + return; + } err = TestAfter10SecondsTheThReadsIdentifyTimeAttributeFromDut_4(); break; case 5: @@ -21317,10 +21329,18 @@ class Test_TC_I_2_2 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 6 : TH sends Identify command to DUT, with the identify time field set to 0x0000 (stop " "identifying).\n"); + if (ShouldSkip("I.S.C00.Rsp")) { + NextTest(); + return; + } err = TestThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_6(); break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : TH reads immediately IdentifyTime attribute from DUT2\n"); + if (ShouldSkip("I.S.A0000")) { + NextTest(); + return; + } err = TestThReadsImmediatelyIdentifyTimeAttributeFromDut2_7(); break; case 8: @@ -21333,6 +21353,10 @@ class Test_TC_I_2_2 : public TestCommandBridge { break; case 9: ChipLogProgress(chipTool, " ***** Test Step 9 : TH writes a value of 0x000f (15s) to IdentifyTime attribute of DUT\n"); + if (ShouldSkip("I.S.A0000")) { + NextTest(); + return; + } err = TestThWritesAValueOf0x000f15sToIdentifyTimeAttributeOfDut_9(); break; case 10: @@ -21341,6 +21365,10 @@ class Test_TC_I_2_2 : public TestCommandBridge { break; case 11: ChipLogProgress(chipTool, " ***** Test Step 11 : After 5 seconds, the TH reads IdentifyTime attribute from DUT\n"); + if (ShouldSkip("I.S.A0000")) { + NextTest(); + return; + } err = TestAfter5SecondsTheThReadsIdentifyTimeAttributeFromDut_11(); break; } @@ -21642,6 +21670,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 1 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink and " "the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x00BlinkAndTheEffectVariantFieldSetTo0x00Default_1(); break; case 2: @@ -21652,6 +21684,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 3 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe " "and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_3(); break; case 4: @@ -21662,6 +21698,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 5 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x02 okay and " "the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x02OkayAndTheEffectVariantFieldSetTo0x00Default_5(); break; case 6: @@ -21672,6 +21712,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 7 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x0b channel " "change and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7(); break; case 8: @@ -21682,6 +21726,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 9 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe " "and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_9(); break; case 10: @@ -21692,17 +21740,29 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 11 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0xfe finish " "effect and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xfeFinishEffectAndTheEffectVariantFieldSetTo0x00Default_11(); break; case 12: ChipLogProgress( chipTool, " ***** Test Step 12 : Manually check DUT stops the breathe effect after the current effect sequence\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestManuallyCheckDutStopsTheBreatheEffectAfterTheCurrentEffectSequence_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x01 breathe " "and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_13(); break; case 14: @@ -21713,6 +21773,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 15 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop " "effect and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xffStopEffectAndTheEffectVariantFieldSetTo0x00Default_15(); break; case 16: @@ -21723,6 +21787,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 17 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0x00 blink " "and the effect variant field set to 0x42 unknown\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x00BlinkAndTheEffectVariantFieldSetTo0x42Unknown_17(); break; case 18: @@ -21733,6 +21801,10 @@ class Test_TC_I_2_3 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 19 : TH sends TriggerEffect command to DUT with the effect identifier field set to 0xff stop " "effect and the effect variant field set to 0x00 default\n"); + if (ShouldSkip("I.S.C40.Rsp")) { + NextTest(); + return; + } err = TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xffStopEffectAndTheEffectVariantFieldSetTo0x00Default_19(); break; case 20: @@ -43154,6 +43226,10 @@ class Test_TC_SWTCH_2_1 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : Read MultiPressMax attribute\n"); + if (ShouldSkip("SWTCH.S.F04")) { + NextTest(); + return; + } err = TestReadMultiPressMaxAttribute_3(); break; }