From 26359863c03eb6157d2328e2bebb20fcaf1e0c3f Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Date: Fri, 27 May 2022 06:32:18 +0530 Subject: [PATCH] Test added manualscripts (#18639) * Added manual scripts * Added auto generated file * Restyled by whitespace * Restyled by clang-format Co-authored-by: Restyled.io --- .../suites/certification/Test_TC_ACT_1_1.yaml | 84 + .../suites/certification/Test_TC_ACT_2_1.yaml | 177 ++ .../suites/certification/Test_TC_ACT_2_2.yaml | 196 ++ .../suites/certification/Test_TC_ACT_3_1.yaml | 74 + .../suites/certification/Test_TC_DD_1_10.yaml | 7 +- .../suites/certification/Test_TC_DD_1_13.yaml | 80 + .../suites/certification/Test_TC_DD_1_14.yaml | 80 + .../suites/certification/Test_TC_DD_1_15.yaml | 87 + .../suites/certification/Test_TC_DD_1_5.yaml | 87 +- .../suites/certification/Test_TC_DD_1_6.yaml | 36 +- .../suites/certification/Test_TC_DD_1_7.yaml | 26 +- .../suites/certification/Test_TC_DD_1_8.yaml | 60 +- .../suites/certification/Test_TC_DD_1_9.yaml | 79 +- .../suites/certification/Test_TC_DD_3_1.yaml | 185 +- .../suites/certification/Test_TC_DD_3_11.yaml | 267 +- .../suites/certification/Test_TC_DD_3_12.yaml | 375 +-- .../suites/certification/Test_TC_DD_3_13.yaml | 283 +- .../suites/certification/Test_TC_DD_3_14.yaml | 262 +- .../suites/certification/Test_TC_DD_3_15.yaml | 120 + .../suites/certification/Test_TC_DD_3_16.yaml | 265 ++ .../suites/certification/Test_TC_DD_3_17.yaml | 278 ++ .../suites/certification/Test_TC_DD_3_18.yaml | 132 + .../suites/certification/Test_TC_DD_3_19.yaml | 141 + .../suites/certification/Test_TC_DD_3_2.yaml | 527 ++-- .../suites/certification/Test_TC_DD_3_20.yaml | 129 + .../suites/certification/Test_TC_DD_3_5.yaml | 324 ++- .../suites/certification/Test_TC_DD_3_6.yaml | 539 ++-- .../suites/certification/Test_TC_DD_4_1.yaml | 63 - .../suites/certification/Test_TC_GR_1_1.yaml | 88 + .../suites/certification/Test_TC_GR_2_1.yaml | 51 + .../suites/certification/Test_TC_GR_2_2.yaml | 438 +++ .../suites/certification/Test_TC_GR_3_1.yaml | 37 + .../suites/certification/Test_TC_GR_3_2.yaml | 216 ++ .../suites/certification/Test_TC_NC_1_1.yaml | 205 -- .../suites/certification/Test_TC_NC_1_10.yaml | 55 - .../suites/certification/Test_TC_NC_1_11.yaml | 56 - .../suites/certification/Test_TC_NC_1_12.yaml | 66 - .../suites/certification/Test_TC_NC_1_13.yaml | 56 - .../suites/certification/Test_TC_NC_1_14.yaml | 42 - .../suites/certification/Test_TC_NC_1_15.yaml | 42 - .../suites/certification/Test_TC_NC_1_16.yaml | 62 - .../suites/certification/Test_TC_NC_1_17.yaml | 61 - .../suites/certification/Test_TC_NC_1_18.yaml | 45 - .../suites/certification/Test_TC_NC_1_2.yaml | 203 -- .../suites/certification/Test_TC_NC_1_3.yaml | 184 -- .../suites/certification/Test_TC_NC_1_4.yaml | 59 - .../suites/certification/Test_TC_NC_1_5.yaml | 49 - .../suites/certification/Test_TC_NC_1_6.yaml | 49 - .../suites/certification/Test_TC_NC_1_7.yaml | 89 - .../suites/certification/Test_TC_NC_1_8.yaml | 62 - .../suites/certification/Test_TC_NC_1_9.yaml | 46 - .../suites/certification/Test_TC_TFL_1_1.yaml | 103 + .../suites/certification/Test_TC_TFL_1_2.yaml | 104 + .../suites/certification/Test_TC_TFL_2_1.yaml | 788 +++++ .../suites/certification/Test_TC_TFL_2_2.yaml | 852 ++++++ .../suites/certification/Test_TC_UL_1_1.yaml | 74 + .../suites/certification/Test_TC_UL_1_2.yaml | 74 + .../suites/certification/Test_TC_UL_2_1.yaml | 195 ++ .../suites/certification/Test_TC_UL_2_2.yaml | 139 + src/app/tests/suites/tests.js | 60 +- .../chip-tool/zap-generated/test/Commands.h | 2544 +++++++++-------- 61 files changed, 8099 insertions(+), 4058 deletions(-) create mode 100644 src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_1_13.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_1_14.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_1_15.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_15.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_16.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_17.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_18.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_19.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_DD_3_20.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_DD_4_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_GR_1_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_GR_2_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_GR_2_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_GR_3_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_GR_3_2.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_1.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_10.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_11.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_12.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_13.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_14.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_15.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_16.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_17.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_18.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_2.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_3.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_4.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_5.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_6.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_7.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_8.yaml delete mode 100644 src/app/tests/suites/certification/Test_TC_NC_1_9.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_UL_1_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_UL_1_2.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_UL_2_1.yaml create mode 100644 src/app/tests/suites/certification/Test_TC_UL_2_2.yaml diff --git a/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml new file mode 100644 index 00000000000000..f2c753bd5e021c --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml @@ -0,0 +1,84 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.1.1. [TC-ACT-1.1] Global attributes with server as DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" + verification: | + + disabled: true + + - label: "Read ClusterRevision (global attribute 65533)" + verification: | + ./chip-tool bridgedactions read cluster-revision 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFD DataVersion: 3573360937 + [1649664569.312693][8655:8660] CHIP:TOO: ClusterRevision: 1 + disabled: true + + - label: "Read FeatureMap (global attribute 65532)" + verification: | + ./chip-tool bridgedactions read feature-map 1 1 + + Need to implement in SDK + disabled: true + + - label: "Read AttributeList (global attribute 65531)" + verification: | + ./chip-tool bridgedactions read attribute-list 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFB DataVersion: 3573360937 + [1649664685.946524][8671:8676] CHIP:TOO: AttributeList: 7 entries + [1649664685.946600][8671:8676] CHIP:TOO: [1]: 0 + [1649664685.946649][8671:8676] CHIP:TOO: [2]: 1 + [1649664685.946696][8671:8676] CHIP:TOO: [3]: 2 + [1649664685.946744][8671:8676] CHIP:TOO: [4]: 65528 + [1649664685.946790][8671:8676] CHIP:TOO: [5]: 65529 + [1649664685.946836][8671:8676] CHIP:TOO: [6]: 65531 + [1649664685.946901][8671:8676] CHIP:TOO: [7]: 65533 + disabled: true + + - label: "Read EventList (global attribute 65530)" + verification: | + ./chip-tool bridgedactions read event-list 1 1 + + Need to implement in chip-tool + disabled: true + + - label: + "Read AcceptedCommandList (global attribute 65529) ; retain this list + for reference in test [TC-ACT-2.2] step 4d" + verification: | + ./chip-tool bridgedactions read accepted-command-list 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF9 DataVersion: 2809940331 + CHIP:TOO: AcceptedCommandList: 0 entries + CHIP:EM: Sending Standalone Ack for MessageCounter:3357407 on exchange 13031i + disabled: true + + - label: "Read GeneratedCommandList (global attribute 65528)" + verification: | + ./chip-tool bridgedactions read generated-command-list 1 1 + + CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF8 DataVersion: 2809940331 + CHIP:TOO: GeneratedCommandList: 0 entries + CHIP:EM: Sending Standalone Ack for MessageCounter:14920557 on exchange 16149i + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml new file mode 100644 index 00000000000000..08520ebf2bbe95 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml @@ -0,0 +1,177 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2.1. [TC-ACT-2.1] Attributes with server as DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" + verification: | + + disabled: true + + - label: + "Use manufacturer provided means (e.g. app) to define groups of + endpoints that can be exposed using the Actions server cluster (NOTE + if this is not provided, it is assumed the DUT automagically creates + these)" + verification: | + no Matter messages, result will be used in steps 4a and beyond + disabled: true + + - label: + "Use manufacturer provided means (e.g. app) to define available + actions that can be exposed using the Actions server cluster (NOTE if + this is not provided, it is assumed the DUT automagically creates + these)" + verification: | + no Matter messages, result will be used in steps 5a and beyond + disabled: true + + - label: + "Read PartsList attribute of Descriptor cluster on all endpoints of + the DUT" + verification: | + Read PartsList attribute of Descriptor cluster on all endpoints of the DUT (start with EP 0 and recursively handle all the EP found in the PartsList) + disabled: true + + - label: "Compile a list of all endpoints on the server" + verification: | + internal TH: create list of all EP on this server + disabled: true + + - label: + "Read EndpointLists attribute of Actions server and validate the + EndpointListStructs using the following steps" + verification: | + Read EndpointLists attribute + disabled: true + + - label: + "For each EndpointListStruct, verify that the endpoints in the + Endpoints field are in the list of endpoints of the DUT" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: "For each EndpointListStruct, verify that the Name is present" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each EndpointListStruct, verify that the Type is present and + valid" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "Verify that the EndPointListIDs of all EndpointListStruct are unique + (no duplicates)" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each EndpointListStruct, verify Name and Type against the + name/type of each group of endpoints provided by the manufacturers + means" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "Read ActionList attribute of Actions server and validate the + ActionStructs using the following steps" + verification: | + Read ActionList attribute + disabled: true + + - label: "For each ActionStruct, verify the Name is present" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: "For each ActionStruct, verify the Type is present and valid" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each ActionStruct, verify the EndpointListID is present in one of + the EndpointListStructs (see step 4a)" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each ActionStruct, verify the SupportedCommands field is present + and valid (at least one bit is set)" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each ActionStruct, verify the State field is present and valid" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "Verify that the ActionIDs of all ActionStructs are unique (no + duplicates)" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "For each ActionStruct, verify Name, Type and State against the + name/type/state info for the action provided by the manufacturers + means" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: "Read SetupURL attribute" + verification: | + Read SetupURL attribute + disabled: true + + - label: + "Verify that its syntax follows the syntax as specified in RFC 3986, + max. 512 ASCII characters" + verification: | + no Matter messages, but TH internal checking + disabled: true + + - label: + "Verify SetupURL points to a site providing information about the + actions" + verification: | + no Matter messages, but TH internal checking + accessing the URL on the internet + disabled: true + + - label: + 'Verify SetupURL appended by "?/a=" and the decimal numeric value of + one of the exposed ActionIDs (see step 5a) points to a site providing + information about the action' + verification: | + no Matter messages, but TH internal checking + accessing the URL on the internet + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml new file mode 100644 index 00000000000000..125bbd7e564c5f --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml @@ -0,0 +1,196 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2.2. [TC-ACT-2.2] Primary functionality with server as DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" + verification: | + + disabled: true + + - label: + "Using the manufacturer provided means, create multiple groups with + each multiple bridged devices (endpoints)" + verification: | + no Matter messages + disabled: true + + - label: "Read EndpointLists attribute" + verification: | + Read EndpointLists attribute + disabled: true + + - label: + "Using the manufacturer provided means, update the name of one of the + groups" + verification: | + no Matter messages + disabled: true + + - label: "Read EndpointLists attribute again" + verification: | + Read EndpointLists attribute + disabled: true + + - label: "compare result of step 2d to what was read in step 2b" + verification: | + TH internal checking of changes to EndpointLists attribute matching what was changed in 2c + disabled: true + + - label: + "Using the manufacturer provided means, move one of the bridged + devices (one endpoint) from one group to another group" + verification: | + no Matter messages + disabled: true + + - label: "Read EndpointLists attribute again" + verification: | + Read EndpointLists attribute + disabled: true + + - label: "compare result of step 2g to what was read in step 2e" + verification: | + TH internal checking of changes to EndpointLists attribute matching what was changed in 2f + disabled: true + + - label: "Using the manufacturer provided means, remove one of the groups" + verification: | + no Matter messages + disabled: true + + - label: "Read EndpointLists attribute again" + verification: | + Read EndpointLists attribute + disabled: true + + - label: "compare result of step 2j to what was read in step 2h" + verification: | + TH internal checking of changes to EndpointLists attribute matching what was changed in 2i + disabled: true + + - label: + "Using the manufacturer provided means, create a new group, which + includes one of the bridged devices also present in another group" + verification: | + no Matter messages + disabled: true + + - label: "Read EndpointLists attribute again" + verification: | + Read EndpointLists attribute + disabled: true + + - label: "compare result of step 2m to what was read in step 2k" + verification: | + TH internal checking of changes to EndpointLists attribute matching what was changed in 2l + disabled: true + + - label: "Using the manufacturer provided means, create multiple actions" + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute" + verification: | + Read ActionList attribute + disabled: true + + - label: + "Using the manufacturer provided means, update the name of one of the + actions" + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute again" + verification: | + Read ActionList attribute + disabled: true + + - label: "compare result of step 3d to what was read in step 3b" + verification: | + TH internal checking of changes to ActionList attribute matching what was changed in 3c + disabled: true + + - label: + "Using the manufacturer provided means, remove one of the exposed + actions" + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute again" + verification: | + Read ActionList attribute + disabled: true + + - label: "compare result of step 3g to what was read in step 3e" + verification: | + TH internal checking of changes to ActionList attribute matching what was changed in 3f + disabled: true + + - label: "Using the manufacturer provided means, add a new exposed action" + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute again" + verification: | + Read ActionList attribute + disabled: true + + - label: "compare result of step 3j to what was read in step 3h" + verification: | + TH internal checking of changes to ActionList attribute matching what was changed in 3i + disabled: true + + - label: + "Using the manufacturer provided means, create multiple actions (NOTE + if this is not provided, it is assumed the DUT automagically creates + these)" + verification: | + no Matter messages + disabled: true + + - label: "Read ActionList attribute" + verification: | + Read ActionList attribute + disabled: true + + - label: "subscribe to StateChanged and ActionFailed events" + verification: | + subscribe to events + disabled: true + + - label: + "For each of the ActionStructs provided by DUT (see list read in step + 4b), perform one of the actions supported (see SupportedCommands in + this ActionStruct) by sending the command with this particular + ActionID and a random value for InvokeID" + verification: | + sequence of Matter messages as described + disabled: true + + - label: "repeat 4d for the other SupportedCommands of each ActionStruct" + verification: | + sequence of Matter messages as described + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml new file mode 100644 index 00000000000000..5d389fef09934c --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml @@ -0,0 +1,74 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2.3. [TC-ACT-3.1] GLobal attributes with client as DUT + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "DUT reads all supported mandatory attributes from TH one at a time in + a manufacturer specific order" + verification: | + ./chip-tool bridgedactions read action-list 1 1 + ./chip-tool bridgedactions read endpoint-list 1 1 + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + ./chip-tool bridgedactions read setup-url 1 1 + disabled: true + + - label: + "DUT writes a suitable value to all supported mandatory attributes on + the TH one at a time in a manufacturer specific order" + verification: | + No writeable attribute + 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 writeable attribute + 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: | + https://github.com/project-chip/connectedhomeip/issues/16851 + disabled: true + + - label: + "DUT reads all supported optional attributes from TH one at a time in + a manufacturer specific order" + verification: | + https://github.com/project-chip/connectedhomeip/issues/16851 + 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: | + https://github.com/project-chip/connectedhomeip/issues/16851 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_10.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_10.yaml index cd87b917babb76..9014add6256612 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_10.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: - 7.1.10. [TC-DD-1.10] NFC Onboarding Payload Verification [DUT - + 3.1.10. [TC-DD-1.10] NFC Onboarding Payload Verification [DUT - Commissioner] config: @@ -23,11 +23,10 @@ config: endpoint: 0 tests: - - label: "Power up the Device and put the Device in pairing mode" + - label: "Power up the TH Device and put the TH Device in pairing mode" verification: | sudo ./chip-all-clusters-app - [1646286638.375844][11651:11651] CHIP:DL: Device Configuration: [1646286638.375960][11651:11651] CHIP:DL: Serial Number: TEST_SN [1646286638.376016][11651:11651] CHIP:DL: Vendor Id: 65521 (0xFFF1) @@ -44,7 +43,7 @@ tests: [1646286638.378089][11651:11651] CHIP:SVR: Long manual pairing code: [749701123365521327694] disabled: true - - label: "Bring the DUT close to the NFC code on the Device" + - label: "Bring the DUT close to the NFC tag for the TH Device" verification: | Vendor specific field testcase disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml new file mode 100644 index 00000000000000..7e3257491440e0 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml @@ -0,0 +1,80 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.1.13. [TC-DD-1.13] Onboarding Payload Verification - Custom Flow = 1 [DUT + - Commissionee] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Power on the DUT device." + verification: | + 1. Verify DUT is NOT advertising in commissioning mode. On DUT, the DUT should not show up + + $ ./out/chip-tool/chip-tool discover commissionables + disabled: true + + - label: "Scan the DUTs QR code from the previous step using the TH." + verification: | + 1. Run DUT. Example for DUT=all-clusters app + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 0 --capabilities 4 --discriminator 3840 --passcode 20202021 + + 2. Parse onboarding payload using TH=chip-tool + $ ./out/chip-tool/chip-tool payload parse-setup-payload MT:-24J0AFN00KA0648G00 + [1651193251086] [15494:447566] CHIP: [SPL] Parsing base38Representation: MT:-24J0AFN00KA0648G00 + [1651193251087] [15494:447566] CHIP: [SPL] CommissioningFlow: 1 + [1651193251087] [15494:447566] CHIP: [SPL] VendorID: 65521 + [1651193251087] [15494:447566] CHIP: [SPL] Version: 0 + [1651193251087] [15494:447566] CHIP: [SPL] ProductID: 32769 + [1651193251087] [15494:447566] CHIP: [SPL] Discriminator: 3840 + [1651193251087] [15494:447566] CHIP: [SPL] SetUpPINCode: 20202021 + [1651193251087] [15494:447566] CHIP: [SPL] RendezvousInformation: 4 + disabled: true + + - label: + "Verify that the TH presents the user with a pairing hint in the + CommissioningModeInitialStepsHint field of the DCL. Verify that the + CommissioningCustomFlow field is set to a value = 1" + verification: | + 1. Verify CommissioningCustomFlow=1 + 2. Verify CommissioningModeInitialStepsHint contains a valid, non-zero integer + disabled: true + + - label: + "Follow any steps from the resources provided by the pairing hint for + putting the DUT Commissionee into commissioning mode" + verification: | + 1. Follow vendor-specific steps from the pairing hint to put DUT into commissioning mode + + 2. Verify DUT is advertising in commissioning mode. On DUT, + + $ ./out/chip-tool/chip-tool discover commissionables + [1651192893436] [15304:442604] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Vendor ID: 65521 + [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 + [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 + [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 + [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_14.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_14.yaml new file mode 100644 index 00000000000000..ac7ae83602bec6 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_1_14.yaml @@ -0,0 +1,80 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.1.14. [TC-DD-1.14] Onboarding Payload Verification - Custom Flow = 2 [DUT + - Commissionee] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Power on the DUT device." + verification: | + 1. Verify DUT is NOT advertising in commissioning mode. On DUT, the DUT should not show up + + $ ./out/chip-tool/chip-tool discover commissionables + disabled: true + + - label: "Scan the DUTs QR code from the previous step using the TH." + verification: | + 1. Run DUT. Example for DUT=all-clusters app + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 0 --capabilities 4 --discriminator 3840 --passcode 20202021 + + 2. Parse onboarding payload using TH=chip-tool + $ ./out/chip-tool/chip-tool payload parse-setup-payload MT:-24J0AFN00KA0648G00 + [1651193251086] [15494:447566] CHIP: [SPL] Parsing base38Representation: MT:-24J0AFN00KA0648G00 + [1651193251087] [15494:447566] CHIP: [SPL] CommissioningFlow: 2 + [1651193251087] [15494:447566] CHIP: [SPL] VendorID: 65521 + [1651193251087] [15494:447566] CHIP: [SPL] Version: 0 + [1651193251087] [15494:447566] CHIP: [SPL] ProductID: 32769 + [1651193251087] [15494:447566] CHIP: [SPL] Discriminator: 3840 + [1651193251087] [15494:447566] CHIP: [SPL] SetUpPINCode: 20202021 + [1651193251087] [15494:447566] CHIP: [SPL] RendezvousInformation: 4 + disabled: true + + - label: + "Verify that the TH presents User with a URL in the + CommissioningCustomFlowUrl field of the DCL. Verify that the + CommissioningCustomFlow field is set to a value = 2" + verification: | + 1. Verify CommissioningCustomFlow=1 + 2. Verify CommissioningModeInitialStepsHint contains a valid, non-zero integer + disabled: true + + - label: + "Follow any steps from the URL provided by the pairing hint in the DCL + for putting the DUT Commissionee into commissioning mode" + verification: | + 1. Follow vendor-specific steps from the pairing hint to put DUT into commissioning mode + + 2. Verify DUT is advertising in commissioning mode. On DUT, + + $ ./out/chip-tool/chip-tool discover commissionables + [1651192893436] [15304:442604] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Vendor ID: 65521 + [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 + [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 + [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 + [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_15.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_15.yaml new file mode 100644 index 00000000000000..7b141c0887ce64 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_1_15.yaml @@ -0,0 +1,87 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.1.15. [TC-DD-1.15] Onboarding Payload Verification - Unique Discriminator + and Passcode Values [DUT - Commissionee] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "Using the TH Onboarding payload reader, scan or read the Onboarding + payload from DUT1" + verification: | + 1. Parse payload for DUT1 + + $ ./out/chip-tool/chip-tool payload parse-setup-payload MT:-24J0AFN00KA0648G00 + [1651194471211] [16050:465158] CHIP: [SPL] Parsing base38Representation: MT:-24J0AFN00KA0648G00 + [1651194471211] [16050:465158] CHIP: [SPL] CommissioningFlow: 0 + [1651194471211] [16050:465158] CHIP: [SPL] VendorID: 65521 + [1651194471211] [16050:465158] CHIP: [SPL] Version: 0 + [1651194471211] [16050:465158] CHIP: [SPL] ProductID: 32769 + [1651194471211] [16050:465158] CHIP: [SPL] Discriminator: 3840 + [1651194471211] [16050:465158] CHIP: [SPL] SetUpPINCode: 20202021 + [1651194471211] [16050:465158] CHIP: [SPL] RendezvousInformation: 4 + disabled: true + + - label: + "Using the TH, parse the Onboarding payload from previous step and + verify that the Descriminator and Passcode for DUT1 are present." + verification: | + DUT1 Descriminator: 3840 + DUT1 Passcode: 20202021 + disabled: true + + - label: + "Using the TH Onboarding payload reader, scan or read the Onboarding + payload from DUT2" + verification: | + 1. Parse payload for DUT2 + + $ ./out/chip-tool/chip-tool payload parse-setup-payload MT:-24J0IRV01WCCN68G00 + [1651194577916] [16053:466154] CHIP: [SPL] Parsing base38Representation: MT:-24J0IRV01WCCN68G00 + [1651194577916] [16053:466154] CHIP: [SPL] CommissioningFlow: 0 + [1651194577916] [16053:466154] CHIP: [SPL] VendorID: 65521 + [1651194577916] [16053:466154] CHIP: [SPL] Version: 0 + [1651194577916] [16053:466154] CHIP: [SPL] ProductID: 32769 + [1651194577916] [16053:466154] CHIP: [SPL] Discriminator: 3841 + [1651194577916] [16053:466154] CHIP: [SPL] SetUpPINCode: 20212022 + [1651194577916] [16053:466154] CHIP: [SPL] RendezvousInformation: 4 + disabled: true + + - label: + "Using the TH, parse the Onboarding payload from previous step and + verify that the Descriminator and Passcode for DUT2 are present." + verification: | + DUT2 Descriminator: 3841 + DUT2 Passcode: 20212022 + disabled: true + + - label: + "Compare the Descriminator values for DUT1 (Step 1.b) and DUT2 (Step + 2.b)" + verification: | + 1. Verify DUT1 Descriminator does not equal DUT2 Descriminator + disabled: true + + - label: + "Compare the Passcode values for DUT1 (Step 1.b) and DUT2 (Step 2.b)" + verification: | + 1. Verify DUT1 Passcode does not equal DUT2 Passcode + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml index b3fa56f316c5b6..c4560af4571d61 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml @@ -13,7 +13,9 @@ # 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: 7.1.5. [TC-DD-1.5] NFC Rules of advertisement and Onboarding +name: + 3.1.5. [TC-DD-1.5] NFC Rules of Advertisement and Onboarding [DUT - + Commissionee] config: nodeId: 0x12344321 @@ -21,13 +23,76 @@ config: endpoint: 0 tests: - - label: "Step 1" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify that the onboarding payload for NFC tags SHALL use - NDEF URI Record Type Definition as defined by NFC Forum in - URI Record Type Definition RTD URI" + - label: + "If (PICS_SCAN_NFC), Keep the DUT in packaging and bring in TH NFC + scanner close to the DUT packaging." + verification: | + Vendor specific field verification + disabled: true + + - label: + "If (PICS_SCAN_NFC), Unpack DUT from its packaging, make sure DUT is + not powered on and do not put the DUT in pairing mode. Bring in TH NFC + scanner close to the DUTs NFC tag" + verification: | + Vendor specific field verification + disabled: true + + - label: + "If (PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT and do not + put the DUT in pairing mode. Bring in TH NFC scanner close to the DUTs + NFC tag" + verification: | + Vendor specific field verification + disabled: true + + - label: + "If (PICS_PHYSICAL_TEMPERING) DUT must have an explicit trigger of the + the NFC pairing mode" + verification: | + Vendor specific field verification + disabled: true + + - label: + "If (PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT and put the + DUT in pairing mode. Bring in TH NFC scanner close to NFC tag" + verification: | + Vendor specific field verification + disabled: true + + - label: + "If !(PICS_PHYSICAL_TEMPERING, PICS_SCAN_NFC) Power on DUT. Bring in + NFC scanner close to NFC tag" + verification: | + Vendor specific field verification + disabled: true + + - label: "Wait for the pairing mode to expire on device" + verification: | + Vendor specific field verification + disabled: true + + - label: "For Read only Tags, try to write using NFC tool a payload to DUT" + verification: | + Vendor specific field verification + disabled: true + + - label: + "For Programmable Tag, NFC tag must be read only OTA. Try to write a + payload to DUT using NFC tool" + verification: | + Vendor specific field verification + disabled: true + + - label: + "Optional For Programmable Tag, NFC tag may be reconfigured using + wired means" + verification: | + Vendor specific field verification + disabled: true + + - label: + "If (PICS_SCAN_NFC), Using TH NFC scanner - read NFC tag Reader type" + verification: | + Vendor specific field verification + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_6.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_6.yaml index 5d808f119ee260..940aa0b30061ec 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_6.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: 7.1.6. [TC-DD-1.6] QR Code Format and Label +name: 3.1.6. [TC-DD-1.6] QR Code Format and Label [DUT - Commissionee] config: nodeId: 0x12344321 @@ -21,30 +21,12 @@ config: endpoint: 0 tests: - - label: "Step 1" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: "Scan the DUTs QR code using a QR code reader" + - label: "Scan the DUTs QR code using the TH QR code reader" + verification: | + Vendor specific field testcase + disabled: true - - label: "Step 1 verification" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify the QR code gets scanned successfully and the QR - code must be of sufficient size and contrast respective to - surface material as to be readable with standard readers - such as smartphones in normal lighting conditions" - - - label: "Step 2 verificaiton" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: "Verify QR code version is 1 or higher" + - label: "Verify QR code version" + verification: | + Vendor specific field verification + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_7.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_7.yaml index e542d336186649..5b628f19550f9d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_7.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: 7.1.7. [TC-DD-1.7] Setup Code Format and Label +name: 3.1.7. [TC-DD-1.7] Setup Code Format and Label [DUT - Commissionee] config: nodeId: 0x12344321 @@ -21,23 +21,7 @@ config: endpoint: 0 tests: - - label: "Precondition" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify manual pairing code is printed on the device or in - additional provided materials" - - - label: "Step 1" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify that the Manual Pairing Code should be printed using - a minimum font size of 6 points typically producing a - typeface height of 2.1 mm" + - label: "Verify using instruments" + verification: | + Vendor specific field testcase + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml index 7ac218f2d3e103..dabfdb05ea765d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_8.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: - 7.1.8. [TC-DD-1.8] QR Code Onboarding Payload Verification [DUT - + 3.1.8. [TC-DD-1.8] QR Code Onboarding Payload Verification [DUT - Commissioner] config: @@ -23,20 +23,46 @@ config: endpoint: 0 tests: - - label: "Step 1" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: "Scan the device QR code using DUT" + - label: "If (PICS_SCAN_QR_CODE), Scan the TH Devices QR code using DUT" + verification: | + 1. Get the QR code from the TH + ubuntu@matter-7:~/Apr18_dut/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app$ sudo ./chip-all-clusters-app --wifi --discriminator 3841 - - label: "Step 1 verification" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify the DUT is able to scan and parse the QR code - successfully to onboard the device onto the CHIP network" + CHIP:SPT: PASE PBKDF iterations set to 1000 + CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one. + CHIP:DL: Device Configuration: + CHIP:DL: Serial Number: TEST_SN + CHIP:DL: Vendor Id: 65521 (0xFFF1) + CHIP:DL: Product Id: 32769 (0x8001) + CHIP:DL: Hardware Version: 0 + CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3841 (0xF01) + CHIP:DL: Manufacturing Date: (not set) + CHIP:DL: Device Type: 65535 (0xFFFF) + CHIP:SVR: SetupQRCode: [MT:-24J0CEK01KA0648G00] + CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 + CHIP:SVR: Manual pairing code: [34970112332] + CHIP:SVR: SetupQRCode: [MT:-24J048N01KA0648G00] + CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 + + 2. Parse the DUT's QR Code using the TH commissioner: chip-tool + ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload MT:-24J048N01KA0648G00 + + [1650266365.939678][10146:10146] CHIP:SPL: CommissioningFlow: 2 + [1650266365.939704][10146:10146] CHIP:SPL: VendorID: 65521 + [1650266365.939724][10146:10146] CHIP:SPL: Version: 0 + [1650266365.939744][10146:10146] CHIP:SPL: ProductID: 32769 + [1650266365.939763][10146:10146] CHIP:SPL: Discriminator: 3841 + [1650266365.939782][10146:10146] CHIP:SPL: SetUpPINCode: 20202021 + [1650266365.939801][10146:10146] CHIP:SPL: RendezvousInformation: 2 + disabled: true + + - label: + "Using the DUT, parse the THs QR code to onboard the TH Device onto + the Matter network." + verification: | + 1. With chip-tool as DUT, observe this in the logs to signal the end of parsing when commissioning the TH + [1651190089249] [14497:411165] CHIP: [CTL] Successfully finished commissioning step 'ReadCommissioningInfo' + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml index 2faafb4c9659d6..f83e5caaca9f2a 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_9.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: - 7.1.9. [TC-DD-1.9] Manual Pairing Code Payload Verification [DUT - + 3.1.9. [TC-DD-1.9] Manual Pairing Code Payload Verification [DUT - Commissioner] config: @@ -23,32 +23,51 @@ config: endpoint: 0 tests: - - label: "Precondition" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify that the manual pairing code is printed on the - device or in additional provided materials" - - - label: "Step 1" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Provide the 11 digit or 21 digit pairing code from the - Device in text speech or any format supported by DUT" - - - label: "Step 1 verification" - cluster: "LogCommands" - command: "Log" - arguments: - values: - - name: "message" - value: - "Verify that the manual pairing code can be provided to DUT - and parsed to onboard the device onto the CHIP network" + - label: + "Provide the 11-digit/21-digit Manual Pairing Code from the TH Device + in text, speech or any format supported by DUT" + verification: | + 1. Launch all-clusters-app on the raspi , get the Manual Pairing code from the log, Controller should be able to parse the Manual Pairing code + + ubuntu@matter-7:~/Apr18_dut/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app$ sudo ./chip-all-clusters-app --wifi --discriminator 3841 + + CHIP:SPT: PASE PBKDF iterations set to 1000 + CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one. + CHIP:DL: Device Configuration: + CHIP:DL: Serial Number: TEST_SN + CHIP:DL: Vendor Id: 65521 (0xFFF1) + CHIP:DL: Product Id: 32769 (0x8001) + CHIP:DL: Hardware Version: 0 + CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3841 (0xF01) + CHIP:DL: Manufacturing Date: (not set) + CHIP:DL: Device Type: 65535 (0xFFFF) + CHIP:SVR: SetupQRCode: [MT:-24J0CEK01KA0648G00] + CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 + CHIP:SVR: Manual pairing code: [34970112332] + CHIP:SVR: SetupQRCode: [MT:-24J048N01KA0648G00] + CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 + + + ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload 34970112332 + CHIP:SPL: Parsing decimalRepresentation: 34970112332 + CHIP:SPL: CommissioningFlow: 0 + CHIP:SPL: VendorID: 0 + CHIP:SPL: Version: 0 + CHIP:SPL: ProductID: 0 + CHIP:SPL: Discriminator: 3840 + CHIP:SPL: SetUpPINCode: 20202021 + CHIP:SPL: RendezvousInformation: 0 + + ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload 749701123365521327694 + CHIP:SPL: Parsing decimalRepresentation: 749701123365521327694 + CHIP:SPL: CommissioningFlow: 2 + CHIP:SPL: VendorID: 65521 + CHIP:SPL: Version: 0 + CHIP:SPL: ProductID: 32769 + CHIP:SPL: Discriminator: 3840 + CHIP:SPL: SetUpPINCode: 20202021 + CHIP:SPL: RendezvousInformation: 0 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml index da97a89439f93d..3edd1c31b9539d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_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: 7.3.1. [TC-DD-3.1] Commissioning Flow - Concurrent +name: 3.3.1. [TC-DD-3.1] Commissioning Flow - Concurrent [DUT - Commissionee] config: nodeId: 0x12344321 @@ -186,8 +186,6 @@ tests: Output of this command in cell number I6 and J6 due to cell constraint of maximum size. - - controller> sudo ./chip-tool basic read product-name 0x000000000001B669 0 ,, @@ -198,99 +196,188 @@ tests: Establishment on the commissioning channel" verification: | Verify that the responder receives the PBKDFParamRequest message + Check on DUT: + CHIP:SC: Received PBKDF param request + CHIP:SC: Peer assigned session ID 18450 + CHIP:SC: Found MRP parameters in the message + CHIP:SC: Including MRP parameters in PBKDF param response + CHIP:EM: Piggybacking Ack for MessageCounter:850320430 on exchange: 63762r + CHIP:IN: Prepared unauthenticated message 0xaaaaad340560 to 0x0000000000000000 (0) of type 0x21 and protocolId (0, 0) on exchange 63762r with MessageCounter:1341084110. + CHIP:IN: Sending unauthenticated msg 0xaaaaad340560 with MessageCounter:1341084110 to 0x0000000000000000 at monotonic time: 0000000000FBA380 msec + CHIP:SC: Sent PBKDF param response disabled: true - label: - "Commissioner arms Fail-safe timer on the Commissionee using - ArmFailSafe command" - verification: | - Verify you get Received ArmFailSafe response on TH - disabled: true - - - label: - "Commissioner SHALL configure at the Commissionee UTC time, timezone, - DST offset, and regulatory information at the Commissionee." + "Commissioner SHALL re-arm Fail-safe timer on Commissionee within 60s + (the autonomously Fail-safe timer length set by Commissionee)" verification: | + Verify on DUT: + CHIP:DL: NVS set: chip-config/fail-safe-armed = true disabled: true - label: - "Commissioner establishes the authenticity of the Commissionee as a - certified CHIP device." + "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure + regulatory information in the Commissionee." verification: | - - disabled: true - - - label: - "Commissioner configures Fabric information using SetFabric command." - verification: | - + Need chip-tool implementation disabled: true - label: "Commissioner requests operational CSR from Commissionee with OperationalCSRRequest command" verification: | + Verify the following on TH after commissioning - disabled: true - - - label: - "Commissioner generates or otherwise obtains an Operational - Certificate containing Operational ID in response - OperationalCSRRequest command using ecosystem-specific means" - verification: | - - disabled: true - - - label: "Commissioner configures operational credentials" - verification: | + [1646909537.102263][3145:3150] CHIP:CTL: Received Attestation Information from the device + [1646909537.102418][3145:3150] CHIP:CTL: Verifying attestation + [1646909537.115081][3145:3150] CHIP:CTL: Successfully validated 'Attestation Information' command received from the device. + Verify on DUT: + CHIP:ZCL: OpCreds: commissioner has requested a CSR + CHIP:ZCL: OpCreds: NewCertificateSigningRequest returned ../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1114: Success disabled: true - - label: "Commissioner configures ACL." + - label: + "Commissioner configures operational credentials on DUT if not + previously installed" verification: | - + Verify on DUT: + + CHIP:CTL: Performing next commissioning step 'SendTrustedRootCert' + CHIP:CTL: Sending root certificate to the device + CHIP:DMG: ICR moving to [AddingComm] + CHIP:DMG: ICR moving to [AddedComma] + CHIP:IN: Prepared secure message 0xaaaafc0d5be8 to 0x000000000001B669 (1) of type 0x8 and protocolId (0, 1) on exchange 63770i with MessageCounter:695615. + CHIP:IN: Sending encrypted msg 0xaaaafc0d5be8 with MessageCounter:695615 to 0x000000000001B669 (1) at monotonic time: 0000000000FBA3DE msec + CHIP:DMG: ICR moving to [CommandSen] + CHIP:CTL: Sent root certificate to the device disabled: true - label: - "Commissioner configures the operational network at the Commissionee." + "Commissioner configures itself as administrator in ACL on DUT if + needed" verification: | - + Verify the following on TH after commissioning + + [1646909537.115328][3145:3150] CHIP:CTL: Sending CSR request to 0xffffac001730 device + [1646909537.115512][3145:3150] CHIP:DMG: ICR moving to [AddingComm] + [1646909537.115589][3145:3150] CHIP:DMG: ICR moving to [AddedComma] + [1646909537.115861][3145:3150] CHIP:IN: Prepared secure message 0xffffb67cbd98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 7731i with MessageCounter:8191681. + [1646909537.115959][3145:3150] CHIP:IN: Sending encrypted msg 0xffffb67cbd98 with MessageCounter:8191681 to 0x0000000000000001 (1) at monotonic time: 10877964 msec + [1646909537.116173][3145:3150] CHIP:DMG: ICR moving to [CommandSen] + [1646909537.116242][3145:3150] CHIP:CTL: Sent CSR request, waiting for the CSR + [1646909537.116356][3145:3150] CHIP:DMG: ICR moving to [AwaitingDe] + [1646909537.193355][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1646909537.241579][3145:3148] CHIP:DL: Indication received, conn = 0xffffa803b310 + [1646909537.241838][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1646909537.341266][3145:3148] CHIP:DL: Indication received, conn = 0xffffa803b310 + [1646909537.341523][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1646909537.341903][3145:3150] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:2304337 on exchange 7731i + [1646909537.341988][3145:3150] CHIP:EM: Found matching exchange: 7731i, Delegate: 0xffffa8026ab0 + [1646909537.342086][3145:3150] CHIP:DMG: ICR moving to [ResponseRe] + [1646909537.342191][3145:3150] CHIP:DMG: InvokeResponseMessage = + [1646909537.342251][3145:3150] CHIP:DMG: { + [1646909537.342310][3145:3150] CHIP:DMG: suppressResponse = false, + [1646909537.342370][3145:3150] CHIP:DMG: InvokeResponseIBs = + [1646909537.342450][3145:3150] CHIP:DMG: [ + [1646909537.342511][3145:3150] CHIP:DMG: InvokeResponseIB = + [1646909537.342598][3145:3150] CHIP:DMG: { + [1646909537.342662][3145:3150] CHIP:DMG: CommandDataIB = + [1646909537.342749][3145:3150] CHIP:DMG: { + [1646909537.342832][3145:3150] CHIP:DMG: CommandPathIB = + [1646909537.342915][3145:3150] CHIP:DMG: { + [1646909537.342998][3145:3150] CHIP:DMG: EndpointId = 0x0, + [1646909537.343091][3145:3150] CHIP:DMG: ClusterId = 0x3e, + [1646909537.343177][3145:3150] CHIP:DMG: CommandId = 0x5, + [1646909537.343262][3145:3150] CHIP:DMG: }, + [1646909537.343346][3145:3150] CHIP:DMG: + [1646909537.343420][3145:3150] CHIP:DMG: CommandData = + [1646909537.343548][3145:3150] CHIP:DMG: { + [1646909537.343632][3145:3150] CHIP:DMG: 0x0 = [ + [1646909537.343772][3145:3150] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86 + [1646909537.343880][3145:3150] CHIP:DMG: ] + [1646909537.343968][3145:3150] CHIP:DMG: 0x1 = [ + [1646909537.344094][3145:3150] CHIP:DMG: 0xbd, 0xef, 0xb7, 0x8c, 0x5, 0x95, 0x9b, 0x60, 0xf4, 0xb1, 0xf7, 0x9c, 0x24, 0x50, 0x51, 0x9c, 0x59, 0x46, 0x97, 0x5e, 0x89, 0xe8, 0x7d, 0x29, 0x88, 0xac, 0x45, 0xed, 0xa6, 0xca, 0xac, 0x55, 0x2a, 0x7e, 0x11, 0x71, 0xe9, 0x68, 0x0, 0x91, 0xe, 0x23, + [1646909537.344193][3145:3150] CHIP:DMG: ] + [1646909537.344274][3145:3150] CHIP:DMG: }, + [1646909537.344349][3145:3150] CHIP:DMG: }, + [1646909537.344442][3145:3150] CHIP:DMG: + [1646909537.344508][3145:3150] CHIP:DMG: }, + [1646909537.344588][3145:3150] CHIP:DMG: + [1646909537.344646][3145:3150] CHIP:DMG: ], + [1646909537.344721][3145:3150] CHIP:DMG: + [1646909537.344779][3145:3150] CHIP:DMG: InteractionModelRevision = 1 + [1646909537.344837][3145:3150] CHIP:DMG: }, + [1646909537.344985][3145:3150] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1646909537.345068][3145:3150] CHIP:CTL: Received certificate signing request from the device + [1646909537.345139][3145:3150] CHIP:CTL: Getting certificate chain for the device from the issuer + [1646909537.347800][3145:3150] CHIP:CTL: Verifying Certificate Signing Request + [1646909537.349300][3145:3150] CHIP:CTL: Generating NOC + [1646909537.350268][3145:3150] CHIP:CTL: Providing certificate chain to the commissioner + [1646909537.350347][3145:3150] CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../third_party/connectedhomeip/src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success disabled: true - label: - "Commissioner triggers the Commissionee to connect to the operational - network" + "Commissioner configures operational network on DUT if DUT both + supports and requires" verification: | - + see above disabled: true - label: - "Commissioner and Commissionee discover each other on the operational - network using operational discovery" + "Commissioner instructs Commissionee to connect to operational network + if not already connected" verification: | + Verify the following on TH after commissioning + [1646909537.976592][3145:3150] CHIP:CTL: Operational credentials provisioned on device 0xffffac001730 + [1646909537.976664][3145:3150] CHIP:TOO: Secure Pairing Success disabled: true - - label: "Commissioner and Commissionee establish encryption keys with CASE" + - label: "Commissioner starts discovery of DUT using Operational Discovery" verification: | - + Verify the following on TH: + + CHIP:DIS: Resolving BFCBED670D527591:000000000001B669 ... + CHIP:DIS: Operational node lookup already in progress. Will NOT start a new one. + CHIP:DMG: ICR moving to [AwaitingDe] + CHIP:EM: Sending Standalone Ack for MessageCounter:9439913 on exchange 63771i + CHIP:IN: Prepared secure message 0xffffa1c07938 to 0x000000000001B669 (1) of type 0x10 and protocolId (0, 0) on exchange 63771i with MessageCounter:695619. + CHIP:IN: Sending encrypted msg 0xffffa1c07938 with MessageCounter:695619 to 0x000000000001B669 (1) at monotonic time: 0000000000FBA446 msec + CHIP:EM: Flushed pending ack for MessageCounter:9439913 on exchange 63771i + CHIP:DL: Avahi resolve found + CHIP:DIS: Node ID resolved for BFCBED670D527591:000000000001B669 + CHIP:DIS: Addr 0: [fe80::dea6:32ff:feba:b3f7]:5540 disabled: true - label: - "Commissioner and Commissionee perform commissioning complete message - exchange using CommissioningComplete command and - CommissioningCompleteResponse command" + "Commissioner opens a CASE session with DUT over operational network" verification: | + Verify the following on DUT: + CHIP:IN: CASE Session established. Setting up the secure channel. + CHIP:IN: New secure session created for device 0x000000000001B669, LSID:25250 PSID:18451! + CHIP:IN: CASE secure channel is available now. + CHIP:IN: CASE Server enabling CASE session setups disabled: true - - label: "Same steps as 1.a-1.o. Force Fail any step between 1.a and 1.j." + - label: "Commissioner sends CommissioningComplete command" verification: | + Verify the following on TH: + CHIP:CTL: Received CommissioningComplete response disabled: true - - label: "Same steps as 1.a. Force Fail any step between 1.k and 1.o" + - label: + "Commissioning channel between the Commissioner and Commissionee is + terminated." verification: | + Verify the following on TH: + CHIP:CTL: Successfully finished commissioning step 'SendComplete' + CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' + CHIP:CTL: Performing next commissioning step 'Cleanup' + CHIP:CTL: Successfully finished commissioning step 'Cleanup' + CHIP:TOO: Device commissioning completed with success disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml index 25afdc206a11b1..d48c8709a9d935 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_11.yaml @@ -13,7 +13,9 @@ # 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: 7.3.11. [TC-DD-3.11] Commissioning Flow - QR Code [DUT - Commissioner] +name: + 3.3.11. [TC-DD-3.11] Commissioning Flow = 0 (Standard Flow) - QR Code [DUT - + Commissioner] config: nodeId: 0x12344321 @@ -22,223 +24,126 @@ config: tests: - label: - "Version: Use a QR code from a commissionee that has their QR code - Version bit string set to 000" + "If (PICS_DT_BLE), Standard Commissioning Flow: Use a Commissionee + with a QR code that has the Custom Flow field set to 0 and supports + BLE for its Discovery Capability. Ensure the Version bit string + follows the current Matter spec. documentation." verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-25 23:28:06 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-25 23:28:06 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] - disabled: true - - - label: - "Scan the QR code from the previous step using the DUT. Follow any - manufacturer-specific steps needed for the Commissioner/Commissionee - to complete the commissioning process." - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - + $ ./out/ble/all-clusters-app/chip-all-clusters-app --capabilities 2 ... - - [1645836234938] [9239:26087760] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1645836234938] [9239:26087760] CHIP: [CTL] Received CommissioningComplete response - [1645836234938] [9239:26087760] CHIP: [CTL] Rendezvous cleanup - [1645836234938] [9239:26087760] CHIP: [TOO] Device commissioning completed with success - - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - - [1645836235.102593][8174:8174] CHIP:EM: Piggybacking Ack for MessageCounter:9602810 on exchange: 9753r - [1645836235.102654][8174:8174] CHIP:IN: Prepared secure message 0xaaaae5bbed98 to 0x000000000001B669 (1) of type 0x9 and protocolId (0, 1) on exchange 9753r with MessageCounter:12855769. - [1645836235.102698][8174:8174] CHIP:IN: Sending encrypted msg 0xaaaae5bbed98 with MessageCounter:12855769 to 0x000000000001B669 (1) at monotonic time: 25637371 msec - [1645836235.102836][8174:8174] CHIP:DMG: ICR moving to [CommandSen] - [1645836235.102863][8174:8174] CHIP:DMG: ICR moving to [AwaitingDe] - [1645836235.102906][8174:8174] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1645836235.102932][8174:8174] CHIP:SVR: Commissioning completed successfully + [1651101335.714230][22353:22353] CHIP:DL: Device Configuration: + [1651101335.722064][22353:22353] CHIP:DL: Serial Number: TEST_SN + [1651101335.722638][22353:22353] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651101335.723167][22353:22353] CHIP:DL: Product Id: 32769 (0x8001) + [1651101335.723712][22353:22353] CHIP:DL: Hardware Version: 0 + [1651101335.724228][22353:22353] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651101335.724756][22353:22353] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651101335.725226][22353:22353] CHIP:DL: Manufacturing Date: (not set) + [1651101335.725721][22353:22353] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651101335.733693][22353:22353] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651101335.734598][22353:22353] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] + [1651101335.735182][22353:22353] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1651101335.735618][22353:22353] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 disabled: true - label: - "If (PICS_DT_THREAD), Standard Commissioning Flow: Use a QR code from - a commissionee that has their Custom Flow bit set to 0 and supports - BLE for its Discovery Capability." + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-25 23:28:06 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-25 23:28:06 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_THREAD), Scan the QR code from the previous step using - the DUT. Follow any steps needed for the Commissioner/Commissionee to - complete the commissioning process using BLE" - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - - ... - - [1645836234938] [9239:26087760] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1645836234938] [9239:26087760] CHIP: [CTL] Received CommissioningComplete response - [1645836234938] [9239:26087760] CHIP: [CTL] Rendezvous cleanup - [1645836234938] [9239:26087760] CHIP: [TOO] Device commissioning completed with success - - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - - [1645836235.102593][8174:8174] CHIP:EM: Piggybacking Ack for MessageCounter:9602810 on exchange: 9753r - [1645836235.102654][8174:8174] CHIP:IN: Prepared secure message 0xaaaae5bbed98 to 0x000000000001B669 (1) of type 0x9 and protocolId (0, 1) on exchange 9753r with MessageCounter:12855769. - [1645836235.102698][8174:8174] CHIP:IN: Sending encrypted msg 0xaaaae5bbed98 with MessageCounter:12855769 to 0x000000000001B669 (1) at monotonic time: 25637371 msec - [1645836235.102836][8174:8174] CHIP:DMG: ICR moving to [CommandSen] - [1645836235.102863][8174:8174] CHIP:DMG: ICR moving to [AwaitingDe] - [1645836235.102906][8174:8174] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1645836235.102932][8174:8174] CHIP:SVR: Commissioning completed successfully - disabled: true - - - label: - "Standard Commissioning Flow: Use a QR code from a commissionee that - has their Custom Flow bit set to 0 and supports IP Network for its - Discovery Capability." - verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:07:29 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:07:29 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J0AFN00KA0648G00] - disabled: true - - - label: - "Scan the QR code from the previous step using the DUT. Follow any - steps needed for the Commissioner/Commissionee to complete the - commissioning process using IP Network" - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - - ... - - [1646261423084] [53218:29382487] CHIP: [CTL] Received CommissioningComplete response - [1646261423084] [53218:29382487] CHIP: [CTL] Rendezvous cleanup - [1646261423084] [53218:29382487] CHIP: [TOO] Device commissioning completed with success - - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - - [1646261423.249620][28366:28366] CHIP:DMG: ICR moving to [AwaitingDe] - [1646261423.249687][28366:28366] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646261423.249738][28366:28366] CHIP:SVR: Commissioning completed successfully - disabled: true - - - label: - "User-Intent Commissioning Flow: Use a QR code from a commissionee - that has their Custom Flow bit set to 1 and supports BLE for its - Discovery Capability. Place the commissionee into commissioning mode - according to the devices specified instructions in its pairing hint." - verification: | - BLOCKED - - chip-all-clusters-app does not currently support User-Intent commissioning flow - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 1 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:17:50 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:17:50 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J00ID00KA0648G00] - disabled: true - - - label: - "Scan the QR code from the previous step using the DUT. Follow any + "If (PICS_DT_BLE), Using the DUT, parse the THs QR code and follow any steps needed for the Commissioner/Commissionee to complete the commissioning process using BLE" verification: | - BLOCKED + TH Commissionee: + + [1651101510.975272][22353:22353] CHIP:SVR: Commissioning completed successfully + [1651101510.975318][22353:22353] CHIP:DIS: Updating services using commissioning mode 0 - chip-all-clusters-app does not currently support User-Intent commissioning flow + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J042C00KA0648G00 + + [1651101510810] [94338:65557180] CHIP: [CTL] Received CommissioningComplete response + [1651101510810] [94338:65557180] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651101510810] [94338:65557180] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651101510810] [94338:65557180] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651101510810] [94338:65557180] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651101510810] [94338:65557180] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "User-Intent Commissioning Flow: Use a QR code from a commissionee - that has their Custom Flow bit set to 1 and supports IP Network for - its Discovery Capability. Place the commissionee into Commissioning - Mode according to the devices specified instructions in its pairing - hint." + "If (PICS_DT_IP), Standard Commissioning Flow: Use a Commissionee with + a QR code that has the Custom Flow field set to 0, supports IP Network + for its Discovery Capability and is already on the same IP network as + the DUT commissioner. Ensure the Version bit string follows the + current Matter spec. documentation." verification: | - BLOCKED - - chip-all-clusters-app does not currently support User-Intent commissioning flow + $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 0 --capabilities 4 + + [1651105420.610637][27312:27312] CHIP:DL: Device Configuration: + [1651105420.610695][27312:27312] CHIP:DL: Serial Number: TEST_SN + [1651105420.610727][27312:27312] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651105420.610761][27312:27312] CHIP:DL: Product Id: 32769 (0x8001) + [1651105420.610792][27312:27312] CHIP:DL: Hardware Version: 0 + [1651105420.610815][27312:27312] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651105420.610836][27312:27312] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651105420.610864][27312:27312] CHIP:DL: Manufacturing Date: (not set) + [1651105420.610886][27312:27312] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651105420.610907][27312:27312] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651105420.610962][27312:27312] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] disabled: true - label: - "Scan the QR code from the previous step using the DUT. Follow any - manufacturer-specific steps needed for the Commissioner/Commissionee - to complete the commissioning process using IP Network" + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - BLOCKED - - chip-all-clusters-app does not currently support User-Intent commissioning flow - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 1 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:19:10 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:19:10 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J06VO00KA0648G00] + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_THREAD), Custom Commissioning Flow: Use a QR code from a - commissionee that has their Custom Flow bit set to 2 and supports BLE - for its Discovery Capability. Place the commissionee into - commissioning mode according to the devices specified instructions in - the given URL." + "If (PICS_DT_IP), Using the DUT, parse the THs QR code and follow any + steps needed for the Commissioner/Commissionee to complete the + commissioning process using IP Network" verification: | - BLOCKED + TH Commissionee: - chip-all-clusters-app does not currently support Custom Commissioning Flow + [1651105530.973166][27371:27371] CHIP:SVR: Commissioning completed successfully + [1651105530.973215][27371:27371] CHIP:DIS: Updating services using commissioning mode 0 - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 2 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:20:27 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [749701123365521327694] - 2022-02-26 03:20:27 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J0YXE00KA0648G00] + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0AFN00KA0648G00 + + [1651105530854] [95067:65607294] CHIP: [CTL] Received CommissioningComplete response + [1651105530854] [95067:65607294] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651105530854] [95067:65607294] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651105530854] [95067:65607294] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651105530854] [95067:65607294] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651105530854] [95067:65607294] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "If (PICS_DT_THREAD), Scan the QR code from the previous step using - the DUT. Follow any manufacturer-specific steps needed for the - Commissioner/Commissionee to complete the commissioning process using - BLE" + "If (PICS_DT_SOFTAP), Standard Commissioning Flow: Use a Commissionee + with a QR code that has the Custom Flow field set to 0 and supports + SoftAP for its Discovery Capability. Ensure the Version bit string + follows the current Matter spec. documentation." verification: | - BLOCKED - - chip-all-clusters-app does not currently support Custom Commissioning Flow + BLOCKED: SoftAP commissioning not currently supported disabled: true - label: - "If (PICS_DT_THREAD), Custom Commissioning Flow: Use a QR code from a - commissionee that has their Custom Flow bit set to 2 and supports IP - Network for its Discovery Capability. Place the commissionee into - commissioning mode according to the devices specified instructions in - the given URL." + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - BLOCKED - - chip-all-clusters-app does not currently support Custom Commissioning Flow - - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 2 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:22:27 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [749701123365521327694] - 2022-02-26 03:22:27 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J029Q00KA0648G00] + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_THREAD), Scan the QR code from the previous step using - the DUT. Follow any manufacturer-specific steps needed for the - Commissioner/Commissionee to complete the commissioning process using - IP Network" + "If (PICS_DT_SOFTAP), Using the DUT, parse the THs QR code and follow + any steps needed for the Commissioner/Commissionee to complete the + commissioning process using SoftAP" verification: | - BLOCKED - - chip-all-clusters-app does not currently support Custom Commissioning Flow + BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml index 6be2ba4feeb538..cca0fe070a3ef5 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_12.yaml @@ -14,8 +14,8 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 7.3.12. [TC-DD-3.12] Commissioning Flow - QR Code - Negative scenario [DUT - - Commissioner] + 3.3.12. [TC-DD-3.12] Commissioning Flow = 1 (User-Intent Flow) - QR Code + [DUT - Commissioner] config: nodeId: 0x12344321 @@ -23,338 +23,145 @@ config: endpoint: 0 tests: - - label: "Locate and scan the Commissionees QR code using DUT" - verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ...[1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] - disabled: true - - label: - "Version String: Using the QR code from Step 1, generate a new QR code - but substituting out the current Version String with an invalid - Version String (i.e. ''001'' or any non-zero 3-bit value)" - verification: | - chip-device-ctrl > setup-payload generate -vr 001 -vi 65521 -pi 32769 -cf 0 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:40:59 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:40:59 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:.24J0AFN00KA0648G00] - disabled: true - - - label: "Scan the QR code, generated in the previous step, using the DUT" + "If (PICS_DT_BLE), User-Intent Commissioning Flow: Use a Commissionee + with a QR code that has the Custom Flow field set to 1 and supports + BLE for its Discovery Capability. Commissionee is NOT in commissioning + mode. Ensure the Version bit string follows the current Matter spec. + documentation." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:.24J0AFN00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app + $ ./out/ble/all-clusters-app/chip-all-clusters-app --capabilities 2 --custom-flow 1 ... - DUT has not commissioned the TH to the Matter network + [1651101726.415743][23212:23212] CHIP:DL: Device Configuration: + [1651101726.415810][23212:23212] CHIP:DL: Serial Number: TEST_SN + [1651101726.415845][23212:23212] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651101726.415880][23212:23212] CHIP:DL: Product Id: 32769 (0x8001) + [1651101726.415911][23212:23212] CHIP:DL: Hardware Version: 0 + [1651101726.415933][23212:23212] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651101726.415954][23212:23212] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651101726.415983][23212:23212] CHIP:DL: Manufacturing Date: (not set) + [1651101726.416004][23212:23212] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651101726.416046][23212:23212] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651101726.416115][23212:23212] CHIP:SVR: SetupQRCode: [MT:-24J00ID00KA0648G00] disabled: true - label: - "VID/PID: Using the QR code from Step 1, generate a new QR code but - substituting out the current VID/PID with an invalid VID/PID (i.e. add - 1 to each of the VID and PID values so that they are different from - the valid 16-bit values)" - verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65522 -pi 32770 -cf 1 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:86PS06VO00KA0648G00] - disabled: true - - - label: "Scan the QR code, generated in the previous step, using the DUT" + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - chip-tool does not prevent commissioning because of invalid VID/PID values. This is handled after the commissioning process. - This test step is not valid and is addressed in PR#893 - - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:86PS06VO00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_STANDARD_COMM_FLOW), Using the QR code from Step 1, - generate a new QR code using all the same Onboarding Payload - components except for the Custom Flow bit, set it to 0: Standard - Commissioning Flow" + "If (PICS_DT_BLE), DUT parses QR code and DUT presents User with a + pairing hint." verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] + 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_DT_STANDARD_COMM_FLOW), Scan the QR code, generated in the - previous step, using the DUT" + "If (PICS_DT_BLE), Follow any steps from the resources provided by the + pairing hint for putting the TH Commissionee into commissioning mode + and to complete the commissioning process using BLE." verification: | - BLOCKED + TH Commissionee: + [1651101988.943015][23212:23212] CHIP:SVR: Commissioning completed successfully + [1651101988.943058][23212:23212] CHIP:DIS: Updating services using commissioning mode 0 - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network - disabled: true - - - label: - "If (PICS_DT_USER_INTENT_COMM_FLOW), Using the QR code from Step 1, - generate a new QR code using all the same Onboarding Payload - components except for the Custom Flow bit, set it to 1: User-Intent - Commissioning Flow" - verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 1 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J06VO00KA0648G00] - disabled: true - - - label: - "If (PICS_DT_USER_INTENT_COMM_FLOW), Scan the QR code, generated in - the previous step, using the DUT" - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J06VO00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network - disabled: true - - - label: - "If (PICS_DT_CUSTOM_COMM_FLOW), Using the QR code from Step 1, - generate a new QR code using all the same Onboarding Payload - components except for the Custom Flow bit, set it to 2: Custom - Commissioning Flow" - verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 2 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:46:32 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [749701123365521327694] - 2022-02-26 03:46:32 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J029Q00KA0648G00] - disabled: true - - - label: - "If (PICS_DT_CUSTOM_COMM_FLOW), Scan the QR code, generated in the - previous step, using the DUT" - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J029Q00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network - disabled: true - - - label: - "Custom Flow - Reserved: Using the QR code from Step 1, generate a new - QR code using all the same Onboarding Payload components except for - the Custom Flow bit, set it to 3: Reserved" - verification: | - NEED SUPPORT: Unable to generate invalid QR code - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 3 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:48:59 matter-te-6 chip.SPL[22108] ERROR Invalid Custom Flow - Chip Stack Error 47 - disabled: true + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J00ID00KA0648G00 - - label: "Scan the QR code, generated in the previous step, using the DUT" - verification: | - NEED SUPPORT: Unable to generate invalid QR code in previous step + [1651101988809] [94439:65564515] CHIP: [CTL] Received CommissioningComplete response + [1651101988809] [94439:65564515] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651101988809] [94439:65564515] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651101988809] [94439:65564515] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651101988809] [94439:65564515] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651101988809] [94439:65564515] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "If (PICS_DT_BLE), Using the QR code from Step 1, generate a new QR - code using all the same Onboarding Payload components except for the - Discovery Capability bit string, set it to BLE for discovery" + "If (PICS_DT_IP), User-Intent Commissioning Flow: Use a Commissionee + with a QR code that has the Custom Flow field set to 1 and supports IP + Network for its Discovery Capability. Commissionee is NOT in + commissioning mode. Ensure the Version bit string follows the current + Matter spec. documentation." verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] + $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 1 --capabilities 4 + [1651105004.718882][27096:27096] CHIP:DL: Device Configuration: + [1651105004.718943][27096:27096] CHIP:DL: Serial Number: TEST_SN + [1651105004.718975][27096:27096] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651105004.719010][27096:27096] CHIP:DL: Product Id: 32769 (0x8001) + [1651105004.719040][27096:27096] CHIP:DL: Hardware Version: 0 + [1651105004.719062][27096:27096] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651105004.719083][27096:27096] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651105004.719111][27096:27096] CHIP:DL: Manufacturing Date: (not set) + [1651105004.719133][27096:27096] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651105004.719153][27096:27096] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651105004.719209][27096:27096] CHIP:SVR: SetupQRCode: [MT:-24J06VO00KA0648G00] disabled: true - label: - "If (PICS_DT_BLE), Scan the QR code, generated in the previous step, - using the DUT" + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' - - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_DT_IP), Using the QR code from Step 1, generate a new QR - code using all the same Onboarding Payload components except for the - Discovery Capability bit string, set it to IP Network for discovery" + "If (PICS_DT_IP), DUT parses QR code and DUT presents User with a + pairing hint." verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over IP when the discovery capability should not be advertising with capabilites set to '0' - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:58:28 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:58:28 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J0AFN00KA0648G00] - disabled: true - - - label: "If (PICS_DT_IP), Repeat Step 5.b" - verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over IP when the discovery capability should not be advertising with capabilites set to '0' - - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J0AFN00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "Discovery Capability - Reserved: Using the QR code from Step 1, - generate a new QR code using all the same Onboarding Payload - components except for the Discovery Capability bit string, set it to - non-zeros" - verification: | - NEED SUPPORT - - Unable to generate fals QR codes with discovery capability set to an invalid number (i.e. 8 or above for chip-device-ctrl) - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 8 -dv 3840 -ps 20202021 - 2022-03-05 00:31:33 matter-te-6 chip.SPL[394173] INFO Manual pairing code: [34970112332] - Chip Stack Error 47 - disabled: true - - - label: "Scan the QR code, generated in the previous step, using the DUT" + "If (PICS_DT_IP), Follow any steps from the resources provided by the + pairing hint for putting the TH Commissionee into commissioning mode + and to complete the commissioning process using IP Network." verification: | - NEED SUPPORT - - Unable to generate false QR codes with discovery capability set to an invalid number (i.e. 8 or above for chip-device-ctrl) + TH all-clusters-app: + [1651105158.168056][27096:27096] CHIP:SVR: Commissioning completed successfully + [1651105158.168100][27096:27096] CHIP:DIS: Updating services using commissioning mode 0 - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + DUT chip-tool: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J06VO00KA0648G00 + [1651105158065] [95045:65602272] CHIP: [CTL] Received CommissioningComplete response + [1651105158065] [95045:65602272] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651105158065] [95045:65602272] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651105158065] [95045:65602272] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651105158065] [95045:65602272] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651105158065] [95045:65602272] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "Passcode: Using the QR code from Step 1, generate a new QR code using - all the same Onboarding Payload components except for the Passcode. - For each passcode in the following list, set the Passcode component to - one of the invalid Passcodes and generate a new QR code using all the - same Onboarding Payload components and one Passcode from the list: - 00000000, 11111111, 22222222, 33333333, 44444444, 55555555, 66666666, - 77777777, 88888888, 99999999, 12345678, 87654321" + "If (PICS_DT_SOFTAP), User-Intent Commissioning Flow: Use a + Commissionee with a QR code that has the Custom Flow field set to 1 + and supports SoftAP for its Discovery Capability. Commissionee is NOT + in commissioning mode. Ensure the Version bit string follows the + current Matter spec. documentation." verification: | - NEED SUPPORT: Unable to generate false QR codes with chip-device-ctrl - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 1 -dc 4 -dv 3840 -ps 00000000 - 2022-03-03 00:11:58 matter-te-6 chip.SPL[22108] ERROR Failed encoding invalid payload - Chip Stack Error 47 - - 00000000: - 11111111: - 22222222: - 33333333: - 44444444: - 55555555: - 66666666: - 77777777: - 88888888: - 99999999: - 12345678: - 87654321 + BLOCKED: SoftAP commissioning not currently supported disabled: true - label: - "Scan each of the generated QR codes from the previous step using DUT" + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - NEED SUPPORT: Unable to generate false QR codes with chip-device-ctrl in previous step + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "Prefix: Using the QR code from Step 1, generate a new QR code but - substituting out the current Prefix with an invalid Prefix that is not - ''MT:'' (i.e. Prefix=''AB:'')" + "If (PICS_DT_SOFTAP), DUT parses QR code and DUT presents User with a + pairing hint." verification: | - AB:-24J0W2T00KA0648G00 - disabled: true - - - label: "Scan the QR code, generated in the previous step, using the DUT" - verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 AB:-24J0W2T00KA0648G00 - ... - [1646266501236] [53666:29430483] CHIP: [IN] TransportMgr initialized - [1646266501236] [53666:29430485] CHIP: [DL] _OnPlatformEvent - [1646266501236] [53666:29430483] CHIP: [-] ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:49: CHIP Error 0x00000013: Integrity check failed at ../../commands/common/CHIPCommand.cpp:62 - [1646266501236] [53666:29430483] CHIP: [TOO] Run command failure: ../../third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:49: CHIP Error 0x00000013: Integrity check failed - [1646266501243] [53666:29430483] CHIP: [SPT] VerifyOrDie failure at ../../third_party/connectedhomeip/src/lib/support/Pool.h:311: Allocated() == 0 - Abort trap: 6 - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + 1. Follow the steps given in the TH's pairing hint to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "Variable length TLV: Using the QR code from Step 1, generate a new QR - code but substituting out the correct length TLV with an invalid - length TLV according to the manufacturers specifications. (i.e. if the - manufacturer specifies a TLV length=8, substitute in a TVL length=4, - or any other TLV length not equal to 8)" - verification: | - NEED SUPPORT: Unable to generate false QR codes with chip-device-ctrl - disabled: true - - - label: "Scan the QR code, generated in the previous step, using the DUT" + "If (PICS_DT_SOFTAP), Follow any steps from the resources provided by + the pairing hint for putting the TH Commissionee into commissioning + mode and to complete the commissioning process using SoftAP." verification: | - NEED SUPPORT: Unable to generate false QR codes with chip-device-ctrl in previous step + BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml index d6afc816999be6..b5d359aeb20384 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_13.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: - 7.3.13.[TC-DD-3.13] Commissioning Flow - Manual Pairing Code [DUT - + 3.3.13. [TC-DD-3.13] Commissioning Flow = 2 (Custom Flow) - QR Code [DUT - Commissioner] config: @@ -24,217 +24,146 @@ config: tests: - label: - "If (PICS_11_MANUAL_PC), VERSION: Use an 11 digit Manual pairing code - from a commissionee that has their Manual pairing code VERSION bit - string set to 0" + "If (PICS_DT_BLE), Custom Commissioning Flow: Use a Commissionee with + a QR code that has the Custom Flow field set to 2 and supports BLE for + its Discovery Capability. Commissionee is NOT in commissioning mode. + Ensure the Version bit string follows the current Matter spec. + documentation." verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - [1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + $ ./out/ble/all-clusters-app/chip-all-clusters-app --custom-flow 2 --capabilities 2 + + [1651103874.314141][26507:26507] CHIP:DL: Device Configuration: + [1651103874.314196][26507:26507] CHIP:DL: Serial Number: TEST_SN + [1651103874.314264][26507:26507] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651103874.314305][26507:26507] CHIP:DL: Product Id: 32769 (0x8001) + [1651103874.314337][26507:26507] CHIP:DL: Hardware Version: 0 + [1651103874.314362][26507:26507] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651103874.314383][26507:26507] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651103874.314412][26507:26507] CHIP:DL: Manufacturing Date: (not set) + [1651103874.314434][26507:26507] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651103874.314502][26507:26507] CHIP:SVR: SetupQRCode: [MT:-24J0YXE00KA0648G00] disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the manual pairing code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 34970112332 - ... - [1646267353060] [53689:29437234] CHIP: [TOO] Device commissioning completed with success - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - [1646267353.273560][28656:28656] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646267353.273586][28656:28656] CHIP:SVR: Commissioning completed successfully + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_21_MANUAL_PC), VERSION: Use a 21 digit Manual pairing code - from a commissionee that has their Manual pairing code VERSION bit - string set to 0" + "If (PICS_DT_BLE), DUT parses QR code and DUT presents User with a URL + in the pairing hint." verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - [1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the manual pairing code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "If (PICS_DT_BLE), Follow any steps from the URL provided by the + pairing hint for putting the TH Commissionee into commissioning mode, + for triggering the DUT Commissioner for commissioning, and for + completing the commissioning process using BLE." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 34970112332 - ... - [1646267665776] [53714:29441244] CHIP: [TOO] Device commissioning completed with success - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - [1646267665.929519][28709:28709] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646267665.929545][28709:28709] CHIP:SVR: Commissioning completed successfully + TH all-clusters-app: + [1651104141.533461][26507:26507] CHIP:SVR: Commissioning completed successfully + [1651104141.533498][26507:26507] CHIP:DIS: Updating services using commissioning mode 0 + + DUT chip-tool: $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0YXE00KA0648G00 + + [1651104141454] [94607:65586111] CHIP: [CTL] Received CommissioningComplete response + [1651104141454] [94607:65586111] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651104141454] [94607:65586111] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651104141454] [94607:65586111] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651104141454] [94607:65586111] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651104141454] [94607:65586111] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "If (PICS_11_MANUAL_PC), VID_PID_PRESENT: Use an 11 digit Manual - pairing code from a commissionee that has their VID_PID_PRESENT bit - string set to 0" + "If (PICS_DT_IP), Custom Commissioning Flow: Use a Commissionee with a + QR code that has the Custom Flow field set to 2 and supports IP + Network for its Discovery Capability. Commissionee is NOT in + commissioning mode. Ensure the Version bit string follows the current + Matter spec. documentation." verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - [1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + $ ./out/all-clusters-app/chip-all-clusters-app --custom-flow 2 --capabilities 4 + + [1651103447.175705][8940:8940] CHIP:DL: Device Configuration: + [1651103447.175762][8940:8940] CHIP:DL: Serial Number: TEST_SN + [1651103447.175804][8940:8940] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651103447.175846][8940:8940] CHIP:DL: Product Id: 32769 (0x8001) + [1651103447.175883][8940:8940] CHIP:DL: Hardware Version: 0 + [1651103447.175911][8940:8940] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651103447.175937][8940:8940] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651103447.175971][8940:8940] CHIP:DL: Manufacturing Date: (not set) + [1651103447.175998][8940:8940] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651103447.176023][8940:8940] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651103447.176084][8940:8940] CHIP:SVR: SetupQRCode: [MT:-24J029Q00KA0648G00] disabled: true - label: - "If (PICS_11_MANUAL_PC), Provide the manual pairing code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 34970112332 - ... - [1646267353060] [53689:29437234] CHIP: [TOO] Device commissioning completed with success - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - [1646267353.273560][28656:28656] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646267353.273586][28656:28656] CHIP:SVR: Commissioning completed successfully + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes disabled: true - label: - "If (PICS_21_MANUAL_PC), VID_PID_PRESENT: Use a 21 digit Manual - pairing code from a commissionee that has their VID_PID_PRESENT bit - string set to 1" + "If (PICS_DT_IP), DUT parses QR code and DUT presents User with a URL + in the pairing hint." verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - [1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network disabled: true - label: - "If (PICS_21_MANUAL_PC), Provide the manual pairing code, generated in - the previous step, to the DUT in any format supported by the DUT. - Follow any steps needed for the Commissioner/Commissionee to complete - the commissioning process." + "If (PICS_DT_IP), Follow any steps from the URL provided by the + pairing hint for putting the TH Commissionee into commissioning mode, + for triggering the DUT Commissioner for commissioning, and for + completing the commissioning process using IP Network." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 34970112332 - ... - [1646267665776] [53714:29441244] CHIP: [TOO] Device commissioning completed with success - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - [1646267665.929519][28709:28709] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646267665.929545][28709:28709] CHIP:SVR: Commissioning completed successfully + TH all-clusters-app: + [1651103591.176135][8940:8940] CHIP:SVR: Commissioning completed successfully + [1651103591.176179][8940:8940] CHIP:DIS: Updating services using commissioning mode 0 + + DUT chip-tool: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00KA0648G00 + + [1651103591085] [94586:65580481] CHIP: [CTL] Received CommissioningComplete response + [1651103591085] [94586:65580481] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651103591085] [94586:65580481] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651103591085] [94586:65580481] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651103591085] [94586:65580481] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651103591085] [94586:65580481] CHIP: [TOO] Device commissioning completed with success disabled: true - label: - "If (PICS_21_MANUAL_PC), VENDOR_ID and PRODUCT_ID: Use a 21 digit - Manual pairing code from a commissionee that has a valid VENDOR_ID (as - defined in section 2.5.2. 'Vendor Identifier') and PRODUCT_ID (as - defined in section 2.5.3. 'Product Identifier')" + "If (PICS_DT_SOFTAP), Custom Commissioning Flow: Use a Commissionee + with a QR code that has the Custom Flow field set to 2 and supports + SoftAP for its Discovery Capability. Commissionee is NOT in + commissioning mode. Ensure the Version bit string follows the current + Matter spec. documentation." verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ... - [1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + BLOCKED: SoftAP commissioning not currently supported disabled: true - label: - "Provide the manual pairing code, generated in the previous step, to - the DUT in any format supported by the DUT. Follow any steps needed - for the Commissioner/Commissionee to complete the commissioning - process." + "If (PICS_SCAN_QR_CODE), Scan the QR code from the previous step using + the DUT." verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 34970112332 - ... - [1646267665776] [53714:29441244] CHIP: [TOO] Device commissioning completed with success - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - [1646267665.929519][28709:28709] CHIP:DL: HandlePlatformSpecificBLEEvent 32784 - [1646267665.929545][28709:28709] CHIP:SVR: Commissioning completed successfully + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes + disabled: true + + - label: + "If (PICS_DT_SOFTAP), DUT parses QR code and DUT presents User with a + URL in the pairing hint." + verification: | + 1. Follow the steps given in the TH's URL to allow for commissioning to happen. TH should not be commissioned until these steps were followed and indicate DUT can proceed with commissioning the TH to the Matter network + disabled: true + + - label: + "If (PICS_DT_SOFTAP), Follow any steps from the URL provided by the + pairing hint for putting the TH Commissionee into commissioning mode, + for triggering the DUT Commissioner for commissioning, and for + completing the commissioning process using SoftAP." + verification: | + BLOCKED: SoftAP commissioning not currently supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml index 437385e6756906..1b95bfc75a982d 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_14.yaml @@ -25,23 +25,18 @@ config: tests: - label: "Locate and scan/read the Commissionees QR code using DUT" verification: | - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - - ...[1645845935.798806][8925:8925] CHIP:DL: Device Configuration: - [1645845935.798853][8925:8925] CHIP:DL: Serial Number: TEST_SN - [1645845935.798875][8925:8925] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1645845935.798904][8925:8925] CHIP:DL: Product Id: 32769 (0x8001) - [1645845935.798929][8925:8925] CHIP:DL: Hardware Version: 0 - [1645845935.798960][8925:8925] CHIP:DL: Setup Pin Code: 20202021 - [1645845935.798984][8925:8925] CHIP:DL: Setup Discriminator: 3840 (0xF00) - [1645845935.799008][8925:8925] CHIP:DL: Manufacturing Date: (not set) - [1645845935.799038][8925:8925] CHIP:DL: Device Type: 65535 (0xFFFF) - [1645845935.799106][8925:8925] CHIP:SVR: SetupQRCode: [MT:-24J042C00KA0648G00] - [1645845935.799135][8925:8925] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1645845935.799164][8925:8925] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J042C00KA0648G00 - [1645845935.799195][8925:8925] CHIP:SVR: Manual pairing code: [34970112332] - [1645845935.799236][8925:8925] CHIP:SVR: Long manual pairing code: [749701123365521327694] + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 2 --capabilities 4 --discriminator 3840 --passcode 20202021 + + [1651165486.365306][4112:4112] CHIP:DL: Device Configuration: + [1651165486.365374][4112:4112] CHIP:DL: Serial Number: TEST_SN + [1651165486.365415][4112:4112] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651165486.365449][4112:4112] CHIP:DL: Product Id: 32769 (0x8001) + [1651165486.365479][4112:4112] CHIP:DL: Hardware Version: 0 + [1651165486.365502][4112:4112] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651165486.365522][4112:4112] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651165486.365549][4112:4112] CHIP:DL: Manufacturing Date: (not set) + [1651165486.365570][4112:4112] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651165486.365646][4112:4112] CHIP:SVR: SetupQRCode: [MT:-24J029Q00KA0648G00] disabled: true - label: @@ -49,21 +44,15 @@ tests: but substituting out the current Version String with an invalid Version String (i.e. '010' or any non-zero 3-bit value)" verification: | - ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --version 001 --vendor-id 65521 --product-id 0x8001 --commissioning-mode 2 --rendezvous 2 - [1649826848.599869][3121:3121] CHIP:TOO: QR Code: MT:.24J048N01KA0648G00 + MT:034J029Q00KA0648G00 disabled: true - label: "Scan/read the QR code, generated in the previous step, using the DUT" verification: | - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:.24J0AFN00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains invalid version string=2 (spec says it should be 000) + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:034J029Q00KA0648G00 disabled: true - label: @@ -72,26 +61,16 @@ tests: components except for the Custom Flow field, set it to 1: User-Intent Commissioning Flow" verification: | - chip-device-ctrl > setup-payload generate -vr 0 -vi 65522 -pi 32770 -cf 1 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:42:39 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:86PS06VO00KA0648G00] + MT:-24J06VO00KA0648G00 disabled: true - label: "If (PICS_USER_INTENT_COMM_FLOW), Scan/read the QR code, generated in the previous step, using the DUT" verification: | - chip-tool does not prevent commissioning because of invalid VID/PID values. This is handled after the commissioning process. - This test step is not valid and is addressed in PR#893 - - DUT Commissioner: - '' ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:86PS06VO00KA0648G00 - ... + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains user-intent flow but device uses custom commissioning flow - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J06VO00KA0648G00 disabled: true - label: @@ -99,32 +78,16 @@ tests: new QR code using all the same Onboarding Payload components except for the Custom Flow field, set it to 2: Custom Commissioning Flow" verification: | - INVALID TEST STEP - - This test step is not valid because the scenario here should always be supported for standard commissioning flow. This is addressed in PR#893 - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] + MT:-24J029Q00KA0648G00 disabled: true - label: "If (PICS_CUSTOM_COMM_FLOW), Scan/read the QR code, generated in the previous step, using the DUT" verification: | - INVALID TEST STEP - - This test step is not valid because the scenario here should always be supported for standard commissioning flow. This is addressed in PR#893 + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains custom commissioning flow but device uses standard commissioning flow - DUT Commissioner: - '' ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00KA0648G00 disabled: true - label: @@ -132,21 +95,15 @@ tests: generate a new QR code using all the same Onboarding Payload components except for the Custom Flow field, set it to 3: Reserved" verification: | - ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --version 000 --vendor-id 65521 --product-id 0x8001 --commissioning-mode 1 --rendezvous 2 - [1649827720.845213][3171:3171] CHIP:TOO: QR Code: MT:-24J08UL01KA0648G00 + MT:-24J0-OR00KA0648G00 disabled: true - label: "Scan/read the QR code, generated in the previous step, using the DUT" verification: | - DUT Commissioner: - '' ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J08UL01KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains Reserved commissioning flow but device uses custom commissioning flow + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0-OR00KA0648G00 disabled: true - label: @@ -154,22 +111,16 @@ tests: code using all the same Onboarding Payload components except for the Discovery Capability bit string, set it to BLE for discovery" verification: | - ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --version 000 --vendor-id 65521 --product-id 0x8001 --commissioning-mode 2 --rendezvous 2 - [1649827755.759091][3173:3173] CHIP:TOO: QR Code: MT:-24J048N01KA0648G00 + MT:-24J0YXE00KA0648G00 disabled: true - label: "If (PICS_DT_BLE), Scan/read the QR code, generated in the previous step, using the DUT" verification: | - DUT Commissioner: - '' ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J048N01KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains BLE device discovery but device uses IP device discovery + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0YXE00KA0648G00 disabled: true - label: @@ -177,22 +128,14 @@ tests: code using all the same Onboarding Payload components except for the Discovery Capability bit string, set it to IP Network for discovery" verification: | - ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --version 000 --vendor-id 65521 --product-id 0x8001 --commissioning-mode 3 --rendezvous 2 - [1649827827.266780][3178:3178] CHIP:TOO: QR Code: MT:-24J00OO01KA0648G00 + MT:-24J029Q00KA0648G00 disabled: true - label: "If (PICS_DT_IP), Scan/read the QR code, generated in the previous step, using the DUT" verification: | - DUT Commissioner: - '' ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J00OO01KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00KA0648G00 disabled: true - label: @@ -201,31 +144,15 @@ tests: components except for the Discovery Capability bit string, set it to non-zeros" verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 2 -dv 3840 -ps 20202021 - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:50:13 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J042C00KA0648G00] + MT:-24J0EZA10KA0648G00 disabled: true - label: "Scan/read the QR code, generated in the previous step, using the DUT" verification: | - BLOCKED + ERROR: chip-tool allows pairing to all-clusters-app when QR code contains the Reserved discovery capability but device supports IP discovery - chip-all-clusters-app BUG: chip-all-clusters-app advertises over BLE when the discovery capability should not be advertising with capabilites set to '0' - - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J042C00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0EZA10KA0648G00 disabled: true - label: @@ -237,31 +164,92 @@ tests: 00000000, 11111111, 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, 99999999, 12345678, 87654321" verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over IP when the discovery capability should not be advertising with capabilites set to '0' - - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 4 -dv 3840 -ps 20202021 - 2022-02-26 03:58:28 matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332] - 2022-02-26 03:58:28 matter-te-6 chip.SPL[22108] INFO SetupQRCode: [MT:-24J0AFN00KA0648G00] + "MT:-24J029Q00OC0000000" (00000000), + "MT:-24J029Q00KMSP0Z800" (11111111), + "MT:-24J029Q00GWID1WH00" (22222222), + "MT:-24J029Q00C4912TQ00" (33333333), + "MT:-24J029Q008E.Q2QZ00" (44444444), + "MT:-24J029Q004ORE3N610" (55555555), + "MT:-24J029Q000YH24KF10" (66666666), + "MT:-24J029Q00Y58S4HO10" (77777777), + "MT:-24J029Q00UF-F5EX10" (88888888), + "MT:-24J029Q00QPQ36B420" (99999999), + "MT:-24J029Q004QG46Y900" (12345678), + "MT:-24J029Q00YX018EW10" (87654321) disabled: true - label: "Scan each of the generated QR codes from the previous step using DUT" verification: | - BLOCKED - - chip-all-clusters-app BUG: chip-all-clusters-app advertises over IP when the discovery capability should not be advertising with capabilites set to '0' - - DUT Commissioner: - sudo ./examples/chip-tool/out/debug/chip-tool pairing code 1234 MT:-24J0AFN00KA0648G00 - ... - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + TH chip-all-clusters-app Commissionee: + [1651179082.761318][12346:12346] CHIP:SC: Received error (protocol code 2) during PASE process. ../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:784: CHIP Error 0x00000038: Invalid PASE parameter + [1651179082.761425][12346:12346] CHIP:SC: Failed during PASE session setup. ../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:784: CHIP Error 0x00000038: Invalid PASE parameter + [1651179082.761479][12346:12346] CHIP:SVR: Commissioning failed (attempt 1): ../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:784: CHIP Error 0x00000038: Invalid PASE parameter + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00OC0000000 + [1651179082655] [10999:245999] CHIP: [SC] Failed to verify peer's MAC. This can happen when setup code is incorrect. + [1651179082655] [10999:245999] CHIP: [SC] Sending status report. Protocol code 2, exchange 65469 + [1651179082655] [10999:245999] CHIP: [EM] Piggybacking Ack for MessageCounter:380681523 on exchange: 65469i + [1651179082655] [10999:245999] CHIP: [IN] Prepared unauthenticated message 0x7fcc93820a68 to 0x0000000000000000 (0) of type 0x40 and protocolId (0, 0) on exchange 65469i with MessageCounter:515375235. + [1651179082655] [10999:245999] CHIP: [IN] Sending unauthenticated msg 0x7fcc93820a68 with MessageCounter:515375235 to 0x0000000000000000 at monotonic time: 0000000001094FBF msec + [1651179082655] [10999:245999] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179082655] [10999:245999] CHIP: [TOO] Secure Pairing Failed + [1651179082655] [10999:245999] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00KMSP0Z800 + [1651179338231] [11042:248762] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179338231] [11042:248762] CHIP: [TOO] Secure Pairing Failed + [1651179338231] [11042:248762] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00GWID1WH00 + [1651179360470] [11053:249083] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179360470] [11053:249083] CHIP: [TOO] Secure Pairing Failed + [1651179360470] [11053:249083] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00C4912TQ00 + [1651179360470] [11053:249083] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179360470] [11053:249083] CHIP: [TOO] Secure Pairing Failed + [1651179360470] [11053:249083] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q008E.Q2QZ00 + [1651179528926] [11097:251129] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179528926] [11097:251129] CHIP: [TOO] Secure Pairing Failed + [1651179528926] [11097:251129] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q004ORE3N610 + [1651179553222] [11099:251475] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179553222] [11099:251475] CHIP: [TOO] Secure Pairing Failed + [1651179553222] [11099:251475] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q000YH24KF10 + [1651179566539] [11100:251638] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179566539] [11100:251638] CHIP: [TOO] Secure Pairing Failed + [1651179566539] [11100:251638] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00Y58S4HO10 + [1651179578818] [11110:251820] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179578818] [11110:251820] CHIP: [TOO] Secure Pairing Failed + [1651179578818] [11110:251820] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00UF-F5EX10 + [1651179592485] [11111:251958] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179592485] [11111:251958] CHIP: [TOO] Secure Pairing Failed + [1651179592485] [11111:251958] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00QPQ36B420 + [1651179606579] [11112:252148] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179606579] [11112:252148] CHIP: [TOO] Secure Pairing Failed + [1651179606579] [11112:252148] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q004QG46Y900 + [1651179619185] [11114:252273] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179619185] [11114:252273] CHIP: [TOO] Secure Pairing Failed + [1651179619185] [11114:252273] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J029Q00YX018EW10 + [1651179633201] [11129:252492] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651179633201] [11129:252492] CHIP: [TOO] Secure Pairing Failed + [1651179633201] [11129:252492] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error disabled: true - label: @@ -269,24 +257,12 @@ tests: substituting out the current Prefix with an invalid Prefix that is not 'MT:' (i.e. Prefix='AB:')" verification: | - NEED SUPPORT - - Unable to generate fals QR codes with discovery capability set to an invalid number (i.e. 8 or above for chip-device-ctrl) - - chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769 -cf 0 -dc 8 -dv 3840 -ps 20202021 - 2022-03-05 00:31:33 matter-te-6 chip.SPL[394173] INFO Manual pairing code: [34970112332] - Chip Stack Error 47 + AB:-24J029Q00KA0648G00 disabled: true - label: "Scan/read the QR code, generated in the previous step, using the DUT" verification: | - NEED SUPPORT - - Unable to generate false QR codes with discovery capability set to an invalid number (i.e. 8 or above for chip-device-ctrl) - - Device TH: - ./out/all-clusters-app/chip-all-clusters-app - ... - DUT has not commissioned the TH to the Matter network + $ ./out/chip-tool/chip-tool pairing qrcode 1 AB:-24J029Q00KA0648G00 + [1651179728083] [11173:253719] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml new file mode 100644 index 00000000000000..aa4f13e1626f4d --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_15.yaml @@ -0,0 +1,120 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.15. [TC-DD-3.15] Commissioning Flow - Manual Pairing Code [DUT - + Commissioner] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "If (PICS_11_MANUAL_PC), Verify the THs 11-digit Manual Pairing Code + meets the following criteria: - VERSION bit string string up to date + with the current Matter spec. documentation - VID_PID_PRESENT bit + string set to 0" + verification: | + $ ./out/ble/all-clusters-app/chip-all-clusters-app + [1651108891.390266][30833:30833] CHIP:DL: Device Configuration: + [1651108891.390455][30833:30833] CHIP:DL: Serial Number: TEST_SN + [1651108891.390505][30833:30833] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651108891.390551][30833:30833] CHIP:DL: Product Id: 32769 (0x8001) + [1651108891.390592][30833:30833] CHIP:DL: Hardware Version: 0 + [1651108891.390623][30833:30833] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651108891.390650][30833:30833] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651108891.390687][30833:30833] CHIP:DL: Manufacturing Date: (not set) + [1651108891.390717][30833:30833] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651108891.390744][30833:30833] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651108891.390809][30833:30833] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + [1651108891.390848][30833:30833] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1651108891.390876][30833:30833] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651108891.390917][30833:30833] CHIP:SVR: Manual pairing code: [34970112332] + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT. + Follow any steps needed for the Commissioner/Commissionee to complete + the commissioning process." + verification: | + TH Commissionee: + [1651109112.909458][30833:30833] CHIP:SVR: Commissioning completed successfully + [1651109112.909503][30833:30833] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing manualcode 1 34970112332 + + [1651109112823] [95528:65650355] CHIP: [CTL] Received CommissioningComplete response + [1651109112823] [95528:65650355] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651109112823] [95528:65650355] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651109112823] [95528:65650355] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651109112823] [95528:65650355] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651109112823] [95528:65650355] CHIP: [TOO] Device commissioning completed with success + disabled: true + + - label: + 'If (PICS_21_MANUAL_PC), Verify the THs 21-digit Manual Pairing Code + meets the following criteria: - A VERSION bit string string up-to-date + with the current Matter spec. documentation - A VID_PID_PRESENT bit + string set to 1 - A VENDOR_ID present (as defined in section 2.5.2. + "Vendor Identifier") - A PRODUCT_ID present (as defined in section + 2.5.3. "Product Identifier")' + verification: | + $ ./out/ble/all-clusters-app/chip-all-clusters-app + + [1651109167.022364][30980:30980] CHIP:DL: Device Configuration: + [1651109167.022443][30980:30980] CHIP:DL: Serial Number: TEST_SN + [1651109167.022492][30980:30980] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651109167.022542][30980:30980] CHIP:DL: Product Id: 32769 (0x8001) + [1651109167.022586][30980:30980] CHIP:DL: Hardware Version: 0 + [1651109167.022619][30980:30980] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651109167.022650][30980:30980] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651109167.022691][30980:30980] CHIP:DL: Manufacturing Date: (not set) + [1651109167.022723][30980:30980] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651109167.022753][30980:30980] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651109167.022825][30980:30980] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + [1651109167.022868][30980:30980] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1651109167.022898][30980:30980] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651109167.022942][30980:30980] CHIP:SVR: Manual pairing code: [34970112332] + [1651109167.022974][30980:30980] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ==== + [1651109167.023050][30980:30980] CHIP:SVR: SetupQRCode: [MT:-24J029Q00KA0648G00] + [1651109167.023090][30980:30980] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1651109167.023120][30980:30980] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J029Q00KA0648G00 + [1651109167.023167][30980:30980] CHIP:SVR: Manual pairing code: [749701123365521327694] + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT. + Follow any steps needed for the Commissioner/Commissionee to complete + the commissioning process." + verification: | + TH Commissionee: + [1651109219.100167][30980:30980] CHIP:SVR: Commissioning completed successfully + [1651109219.100213][30980:30980] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521327694 + + [1651109219028] [95536:65652322] CHIP: [CTL] Received CommissioningComplete response + [1651109219028] [95536:65652322] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651109219028] [95536:65652322] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651109219028] [95536:65652322] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651109219028] [95536:65652322] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651109219028] [95536:65652322] CHIP: [TOO] Device commissioning completed with success + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml new file mode 100644 index 00000000000000..8d8854841bfeb0 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_16.yaml @@ -0,0 +1,265 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.16. [TC-DD-3.16] Commissioning Flow - 11-digit Manual Pairing Code - + Negative Scenario [DUT - Commissioner] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "If (PICS_11_MANUAL_PC), Provide the 11-digit Manual Pairing Code from + the Commissionee to the DUT in any format supported by DUT" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 0 --capabilities 4 --discriminator 3840 --passcode 20202021 + + [1651180718.960383][13218:13218] CHIP:DL: Device Configuration: + [1651180718.960441][13218:13218] CHIP:DL: Serial Number: TEST_SN + [1651180718.960477][13218:13218] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651180718.960512][13218:13218] CHIP:DL: Product Id: 32769 (0x8001) + [1651180718.960546][13218:13218] CHIP:DL: Hardware Version: 0 + [1651180718.960569][13218:13218] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651180718.960597][13218:13218] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651180718.960627][13218:13218] CHIP:DL: Manufacturing Date: (not set) + [1651180718.960650][13218:13218] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651180718.960671][13218:13218] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651180718.960729][13218:13218] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + [1651180718.960760][13218:13218] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: + [1651180718.960781][13218:13218] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0AFN00KA0648G00 + [1651180718.960814][13218:13218] CHIP:SVR: Manual pairing code: [34970112332] + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), VERSION: Using the manual code from Step 1, + generate a new manual code but substituting out the current VERSION + with an invalid VERSION: 2" + verification: | + $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 + [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 84970112331 + [1651186243492] [13415:349553] CHIP: [SPL] Generated Char: 1 + Manual Code: 84970112331 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 84970112331 + + [1651186653578] [13468:355000] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651186653600] [13468:354997] CHIP: [BLE] CBManagerState: ON + [1651186653601] [13468:354997] CHIP: [BLE] CBManagerState: RESETTING + [1651186655771] [13468:354997] CHIP: [BLE] CBManagerState: ON + Illegal instruction: 4 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), VID_PID_PRESENT: Using the manual code from + Step 1, generate a new manual code but substituting out the current + VID_PID_PRESENT with an invalid VID_PID_PRESENT set to 1" + verification: | + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 0xF00 --setup-pin-code 20202021 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 2 --force-short-code 1 + [1651181048462] [11611:269469] CHIP: [TOO] Manual Code: 74970112334 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 74970112334 + + [1651184274318] [12512:321250] CHIP: [SPL] Failed decoding base10. Input length 10 was not expected length 20 + ... + [1651184274321] [12512:321244] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:63: CHIP Error 0x0000001E: Invalid string length + disabled: true + + - label: + 'If (PICS_11_MANUAL_PC), SHORT DISCRIMINATOR: Using the manual code + from Step 1, generate a new manual code but substituting out the + current SHORT DISCRIMINATOR string with a discriminator value that + makes the generated manual code differ from Step 1s manual code (i.e. + Choose a discriminator value that changes any of the 4 + most-significant bits of Step 1s 12-bit discriminator value and + adheres to rules of section 5.1.1.5. "Discriminator value")' + verification: | + $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 + [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 8497011233 + [1651186243492] [13415:349553] CHIP: [SPL] Generated Char: 1 + Manual Code: 84970112331 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 33331712336 + + [1651184172578] [12458:318862] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651184172578] [12458:318862] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651184172603] [12458:318861] CHIP: [BLE] CBManagerState: ON + [1651184172605] [12458:318862] CHIP: [BLE] CBManagerState: RESETTING + [1651184174769] [12458:318861] CHIP: [BLE] CBManagerState: ON + Illegal instruction: 4 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Passcode: Using the manual code from Step 1, + generate a new manual code using all the same Onboarding Payload + components except for the Passcode. For each Passcode in the following + list, set the Passcode component to one of the invalid Passcode and + generate a new manual code using all the same Onboarding Payload + components and one Passcode from the list: 00000000, 11111111, + 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, + 99999999, 12345678, 87654321" + verification: | + 1. Use these as examples of how to generate manual codes with invalid passcodes + + "34915200008" (00000000), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 00000000 + [1651182185732] [11790:282099] CHIP: [TOO] Manual Code: 34915200008 + + "35191106788" (11111111), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 11111111 + [1651182284292] [11799:283222] CHIP: [TOO] Manual Code: 35191106788 + + "35467013565" (22222222), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 22222222 + [1651182331458] [11817:283904] CHIP: [TOO] Manual Code: 35467013565 + + "35742920344" (33333333), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 33333333 + [1651182345419] [11876:284294] CHIP: [TOO] Manual Code: 35742920344 + + "36018827124" (44444444), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 44444444 + [1651182362963] [11944:284816] CHIP: [TOO] Manual Code: 36018827124 + + "36294733900" (55555555), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 55555555 + [1651182375363] [11945:284938] CHIP: [TOO] Manual Code: 36294733900 + + "34932240691" (66666666), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 66666666 + [1651182395140] [11958:285261] CHIP: [TOO] Manual Code: 34932240691 + + "35208147474" (77777777), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 77777777 + [1651182411341] [11966:285478] CHIP: [TOO] Manual Code: 35208147474 + + "35484054250" (88888888), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 88888888 + [1651182422264] [11967:285581] CHIP: [TOO] Manual Code: 35484054250 + + "35759961037" (99999999), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 99999999 + [1651182431755] [11968:285672] CHIP: [TOO] Manual Code: 35759961037 + + "35767807533" (12345678), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 12345678 + [1651182443511] [11969:285786] CHIP: [TOO] Manual Code: 35767807533 + + "36545753496" (87654321), + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 0 --allow-invalid-payload 1 --setup-pin-code 87654321 + [1651182459737] [11970:285960] CHIP: [TOO] Manual Code: 36545753496 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide each of the Manual Pairing Codes, + generated in the previous step, to the DUT in any format supported by + the DUT" + verification: | + (00000000) + $ ./out/chip-tool/chip-tool pairing manualcode 1 34915200008 + [1651182596491] [12006:288954] CHIP: [SPL] Failed decoding base10. SetUpPINCode was 0. + + (11111111) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35191106788 + [1651182622501] [12009:289307] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182622501] [12009:289307] CHIP: [TOO] Secure Pairing Failed + + (22222222) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35467013565 + [1651182688251] [12026:292039] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182688251] [12026:292039] CHIP: [TOO] Secure Pairing Failed + + (33333333) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35742920344 + [1651182749249] [12037:293713] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182749249] [12037:293713] CHIP: [TOO] Secure Pairing Failed + + (44444444) + $ ./out/chip-tool/chip-tool pairing manualcode 1 36018827124 + [1651182769619] [12045:294912] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182769619] [12045:294912] CHIP: [TOO] Secure Pairing Failed + + (55555555) + $ ./out/chip-tool/chip-tool pairing manualcode 1 36294733900 + [1651182788383] [12053:296042] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182788383] [12053:296042] CHIP: [TOO] Secure Pairing Failed + + (66666666) + $ ./out/chip-tool/chip-tool pairing manualcode 1 34932240691 + [1651182816133] [12067:297210] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182816133] [12067:297210] CHIP: [TOO] Secure Pairing Failed + + (77777777) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35208147474 + [1651182833101] [12080:298444] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182833101] [12080:298444] CHIP: [TOO] Secure Pairing Failed + + (88888888) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35484054250 + [1651182850431] [12086:299484] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182850431] [12086:299484] CHIP: [TOO] Secure Pairing Failed + + (99999999) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35759961037 + [1651182873582] [12092:300725] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182873582] [12092:300725] CHIP: [TOO] Secure Pairing Failed + + (12345678) + $ ./out/chip-tool/chip-tool pairing manualcode 1 35767807533 + [1651182902418] [12113:302157] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182902418] [12113:302157] CHIP: [TOO] Secure Pairing Failed + + (87654321) + $ ./out/chip-tool/chip-tool pairing manualcode 1 36545753496 + [1651182919123] [12125:303345] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651182919123] [12125:303345] CHIP: [TOO] Secure Pairing Failed + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), CHECK_DIGIT: Using the manual code from Step + 1, generate a new manual code but substituting out the current + CHECK_DIGIT with an invalid CHECK_DIGIT (i.e. Any different + CHECK_DIGIT than the commissionees CHECK_DIGIT while following Table + 38. Encoding Method without Vendor and Product IDs (VID_PID_Present == + 0))" + verification: | + Manual Code: 34970112331 + disabled: true + + - label: + "If (PICS_11_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 34970112331 + + [1651184084907] [12271:316118] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml new file mode 100644 index 00000000000000..9c5c868f58413d --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml @@ -0,0 +1,278 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.17. [TC-DD-3.17] Commissioning Flow - 21-digit Manual Pairing Code - + Negative Scenario [DUT - Commissioner] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "If (PICS_21_MANUAL_PC), Provide the 21-digit Manual Pairing Code from + the Commissionee to the DUT in any format supported by DUT" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --custom-flow 2 --capabilities 4 --discriminator 3840 --passcode 20202021 + + [1651165486.365306][4112:4112] CHIP:DL: Device Configuration: + [1651165486.365374][4112:4112] CHIP:DL: Serial Number: TEST_SN + [1651165486.365415][4112:4112] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651165486.365449][4112:4112] CHIP:DL: Product Id: 32769 (0x8001) + [1651165486.365479][4112:4112] CHIP:DL: Hardware Version: 0 + [1651165486.365502][4112:4112] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651165486.365522][4112:4112] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651165486.365549][4112:4112] CHIP:DL: Manufacturing Date: (not set) + [1651165486.365570][4112:4112] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651165486.365646][4112:4112] CHIP:SVR: SetupQRCode: [MT:-24J029Q00KA0648G00] + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), VERSION: Using the manual code from Step 1, + generate a new manual code but substituting out the current VERSION + with an invalid VERSION: 2" + verification: | + $ chip-tool/out/debug$ ./chip-tool payload verhoeff-generate 849701123365521327693 + [1652423715.746979][23816:23816] CHIP:SPL: Generating Character for: 849701123365521327693 + [1652423715.747112][23816:23816] CHIP:SPL: Generated Char: 0 + $ chip-tool/out/debug$ + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 849701123365521327693 + + [1651186987544] [13533:359998] CHIP: [SPL] Failed decoding base10. Input length 20 was not expected length 10 + ... + + [1651186987544] [13533:359996] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:63: CHIP Error 0x0000001E: Invalid string length + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), VID_PID_PRESENT: Using the manual code from + Step 1, generate a new manual code but substituting out the current + VID_PID_PRESENT with an invalid VID_PID_PRESENT set to 0" + verification: | + $ ./out/chip-tool/chip-tool payload verhoeff-generate 34970112336552132769 + [1651186492744] [13434:353094] CHIP: [SPL] Generating Character for: 34970112336552132769 + [1651186492744] [13434:353094] CHIP: [SPL] Generated Char: 6 + + Manual code: 349701123365521327696 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 349701123365521327696 + + [1651187185899] [13557:362337] CHIP: [SPL] Failed decoding base10. Input length 20 was not expected length 10 + ... + [1651187185900] [13557:362333] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:63: CHIP Error 0x0000001E: Invalid string length + disabled: true + + - label: + 'If (PICS_21_MANUAL_PC), SHORT DISCRIMINATOR: Using the manual code + from Step 1, generate a new manual code but substituting out the + current SHORT DISCRIMINATOR string with a discriminator value that + makes the generated manual code differ from Step 1s manual code (i.e. + Choose a discriminator value that changes any of the 4 + most-significant bits of Step 1s 12-bit discriminator value and + adheres to rules of section 5.1.1.5. "Discriminator value")' + verification: | + $ ./out/chip-tool/chip-tool payload verhoeff-generate 8497011233 + [1651186243492] [13415:349553] CHIP: [SPL] Generating Character for: 8497011233 + [1651186243492] [13415:349553] CHIP: [SPL] Generated Char: 1 + Manual Code: 84970112331 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 733317123365521327692 + + [1651187326154] [13574:364188] CHIP: [DL] Mdns: OnBrowseAdd name: 5303D3B066C915A8, type: _matterc._udp., domain: local., interface: 24 + [1651187326155] [13574:364188] CHIP: [DL] Resolve type=_matterc._udp name=5303D3B066C915A8 interface=24 + [1651187326155] [13574:364188] CHIP: [DL] Mdns : OnNewInterface hostname:DCA6328D6E320000.local. fullname:5303D3B066C915A8._matterc._udp.local. interface: 24 + [1651187326157] [13574:364188] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651187328222] [13574:364187] CHIP: [BLE] CBManagerState: ON + Illegal instruction: 4 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Passcode: Using the manual code from Step 1, + generate a new manual code using all the same Onboarding Payload + components except for the Passcode. For each Passcode in the following + list, set the Passcode component to one of the invalid Passcode and + generate a new manual code using all the same Onboarding Payload + components and one Passcode from the list: 00000000, 11111111, + 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, + 99999999, 12345678, 87654321" + verification: | + 1. Use this as an example of how to generate a manual code with an invalid passcode + + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 1 --allow-invalid-payload 1 --setup-pin-code 00000000 + [1651188323732] [14068:388953] CHIP: [TOO] Manual Code: 749152000065521327698 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide each of the Manual Pairing Codes, + generated in the previous step, to the DUT in any format supported by + the DUT" + verification: | + (00000000) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749152000065521327698 + [1651187937232] [13896:372977] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:161: CHIP Error 0x0000002F: Invalid argument + + (11111111) + $ ./out/chip-tool/chip-tool pairing manualcode 1 751911067865521327698 + [1651187951631] [13904:373170] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651187951631] [13904:373170] CHIP: [TOO] Secure Pairing Failed + + (22222222) + $ ./out/chip-tool/chip-tool pairing manualcode 1 754670135665521327694 + [1651187975776] [13921:374525] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651187975776] [13921:374525] CHIP: [TOO] Secure Pairing Failed + + (33333333) + $ ./out/chip-tool/chip-tool pairing manualcode 1 757429203465521327699 + [1651187993465] [13945:375674] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651187993465] [13945:375674] CHIP: [TOO] Secure Pairing Failed + + (44444444) + $ ./out/chip-tool/chip-tool pairing manualcode 1 760188271265521327697 + [1651188008800] [13951:376725] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188008800] [13951:376725] CHIP: [TOO] Secure Pairing Failed + + (55555555) + $ ./out/chip-tool/chip-tool pairing manualcode 1 762947339065521327695 + [1651188029330] [13957:377885] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188029330] [13957:377885] CHIP: [TOO] Secure Pairing Failed + + (66666666) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749322406965521327695 + [1651188054160] [13994:379681] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188054160] [13994:379681] CHIP: [TOO] Secure Pairing Failed + + (77777777) + $ ./out/chip-tool/chip-tool pairing manualcode 1 752081474765521327697 + [1651188073770] [14000:380949] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188073770] [14000:380949] CHIP: [TOO] Secure Pairing Failed + + (88888888) + $ ./out/chip-tool/chip-tool pairing manualcode 1 754840542565521327693 + [1651188090958] [14006:382023] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188090958] [14006:382023] CHIP: [TOO] Secure Pairing Failed + + (99999999) + $ ./out/chip-tool/chip-tool pairing manualcode 1 757599610365521327695 + [1651188107232] [14013:383046] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188107232] [14013:383046] CHIP: [TOO] Secure Pairing Failed + + (12345678) + $ ./out/chip-tool/chip-tool pairing manualcode 1 757678075365521327695 + [1651188124928] [14019:384164] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188124928] [14019:384164] CHIP: [TOO] Secure Pairing Failed + + (87654321) + $ ./out/chip-tool/chip-tool pairing manualcode 1 765457534965521327696 + [1651188157157] [14043:386017] CHIP: [SC] Failed during PASE session setup. ../../examples/chip-tool/third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1352: CHIP Error 0x000000AC: Internal error + [1651188157157] [14043:386017] CHIP: [TOO] Secure Pairing Failed + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), VENDOR_ID: Using the manual code from Step 1, + generate a new manual code using all the same Onboarding Payload + components except for the VENDOR_ID. For each VENDOR_ID in the + following list, set the VENDOR_ID component to one of the invalid Test + VENDOR_IDs and generate a new manual code using all the same + Onboarding Payload components and one Test VENDOR_ID from the list: + 0xFFF1, 0xFFF2, 0xFFF3, 0xFFF4" + verification: | + 1. Use this as an example of how to generate a manual code with an invalid vendor IDs + + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --setup-pin-code 20202021 --version 0 --vendor-id 0xFFF1 --product-id 0x8001 --commissioning-mode 1 + [1651189120686] [14218:398626] CHIP: [TOO] Manual Code: 749701123365521327694 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide each of the Manual Pairing Codes, + generated in the previous step, to the DUT in any format supported by + the DUT" + verification: | + (0xFFF1) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521327694 + Error: chip-tool pairs to chip-all-clusters-app with this invalid vendor ID but that is expected of chip-tool + + (0xFFF2) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365522327692 + Error: chip-tool pairs to chip-all-clusters-app with this invalid vendor ID but that is expected of chip-tool + + + (0xFFF3) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365523327697 + Error: chip-tool pairs to chip-all-clusters-app with this invalid vendor ID but that is expected of chip-tool + + + (0xFFF4) + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365524327693 + Error: chip-tool pairs to chip-all-clusters-app with this invalid vendor ID but that is expected of chip-tool + disabled: true + + - label: + 'If (PICS_21_MANUAL_PC), PRODUCT_ID: Using the manual code from Step + 1, generate a new manual code but substituting out the current + PRODUCT_ID with an invalid PRODUCT_ID of 0x0000(i.e. While following + section 2.5.3. "Product Identifier")' + verification: | + $ ./out/chip-tool/chip-tool payload generate-manualcode --discriminator 3840 --setup-pin-code 20202021 --version 0 --vendor-id 0xFFF1 --product-id 0x0000 --commissioning-mode 1 --allow-invalid-payload 1 + [1651187401077] [13610:366251] CHIP: [TOO] Manual Code: 749701123365521000006 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + Error: chip-tool pairs to chip-all-clusters-app with this invalid Product ID of 0x0000 + + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521000006 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Check Digit: Using the manual code from Step + 1, generate a new manual code but substituting out the current + CHECK_DIGIT with an invalid CHECK_DIGIT (i.e. Any different + CHECK_DIGIT than the commissionees CHECK_DIGIT while following Table + 39. Encoding Method with Vendor and Product IDs included + (VID_PID_Present == 1))" + verification: | + $ ./out/chip-tool/chip-tool payload verhoeff-verify 749701123365521327693 20 + [1651187504088] [13629:367627] CHIP: [SPL] Verifying Manual Code: 74970112336552132769 + [1651187504088] [13629:367627] CHIP: [SPL] 749701123365521327693 is INVALID at position 20 + disabled: true + + - label: + "If (PICS_21_MANUAL_PC), Provide the Manual Pairing Code, generated in + the previous step, to the DUT in any format supported by the DUT" + verification: | + $ ./out/chip-tool/chip-tool pairing manualcode 1 749701123365521327693 + + [1651187528666] [13631:367920] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml new file mode 100644 index 00000000000000..39d9c4759d7da3 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_18.yaml @@ -0,0 +1,132 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.18. [TC-DD-3.18] Commissioning Flow - Commissioning Multiple Devices + [DUT - Commissioner] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "Place TH1 into commissioning mode using the TH manufacturers means to + be discovered by a commissioner" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3840 + + [1651109580.413197][31207:31207] CHIP:DL: Device Configuration: + [1651109580.413259][31207:31207] CHIP:DL: Serial Number: TEST_SN + [1651109580.413294][31207:31207] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651109580.413327][31207:31207] CHIP:DL: Product Id: 32769 (0x8001) + [1651109580.413358][31207:31207] CHIP:DL: Hardware Version: 0 + [1651109580.413380][31207:31207] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651109580.413401][31207:31207] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651109580.413428][31207:31207] CHIP:DL: Manufacturing Date: (not set) + [1651109580.413450][31207:31207] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651109580.413470][31207:31207] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651109580.413525][31207:31207] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + disabled: true + + - label: + "Place TH2 into commissioning mode using the TH manufacturers means to + be discovered by a commissioner" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3844 + + [1651109859.015727][11588:11588] CHIP:DL: Device Configuration: + [1651109859.015789][11588:11588] CHIP:DL: Serial Number: TEST_SN + [1651109859.015834][11588:11588] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651109859.015879][11588:11588] CHIP:DL: Product Id: 32769 (0x8001) + [1651109859.015920][11588:11588] CHIP:DL: Hardware Version: 0 + [1651109859.015957][11588:11588] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651109859.015986][11588:11588] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3844 (0xF04) + [1651109859.016024][11588:11588] CHIP:DL: Manufacturing Date: (not set) + [1651109859.016054][11588:11588] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651109859.016082][11588:11588] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651109859.016147][11588:11588] CHIP:SVR: SetupQRCode: [MT:-24J04QI14KA0648G00] + disabled: true + + - label: + "If (PICS_SCAN_QR_CODE), Scan TH1s QR code using the DUT Commissioner." + verification: | + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes + disabled: true + + - label: + "DUT parses TH1s QR code. Follow any steps needed for the + Commissioner/Commissionee to complete the commissioning process over + the TH Commissionees method of device discovery" + verification: | + TH1 Commissionee: + [1651109784.452770][31207:31207] CHIP:SVR: Commissioning completed successfully + [1651109784.452813][31207:31207] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0AFN00KA0648G00 + + [1651109784376] [95553:65657838] CHIP: [CTL] Received CommissioningComplete response + [1651109784376] [95553:65657838] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651109784376] [95553:65657838] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [TOO] Device commissioning completed with success + disabled: true + + - label: + "If (PICS_SCAN_QR_CODE), Scan TH2s QR code using the DUT Commissioner." + verification: | + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes + disabled: true + + - label: + "DUT parses TH2s QR code. Follow any steps needed for the + Commissioner/Commissionee to complete the commissioning process over + the TH Commissionees method of device discovery" + verification: | + TH2 Commissionee: + [1651109919.159014][11588:11588] CHIP:SVR: Commissioning completed successfully + [1651109919.159067][11588:11588] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 2 MT:-24J04QI14KA0648G00 + + [1651109919079] [95563:65659558] CHIP: [CTL] Received CommissioningComplete response + [1651109919079] [95563:65659558] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651109919079] [95563:65659558] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651109919079] [95563:65659558] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651109919079] [95563:65659558] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651109919079] [95563:65659558] CHIP: [TOO] Device commissioning completed with success + disabled: true + + - label: + "Verify the Commissioner can still interact with TH1 (ex: Read any + clusters attribute from TH1)" + verification: | + $ ./out/chip-tool/chip-tool basic read reachable 1 0 + [1651110057235] [95634:65662038] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0011 DataVersion: 3647361086 + [1651110057235] [95634:65662038] CHIP: [TOO] Reachable: TRUE + disabled: true + + - label: + "Verify the Commissioner can still interact with TH2 (ex: Read any + clusters attribute from TH2)" + verification: | + $ ./out/chip-tool/chip-tool basic read reachable 2 0 + [1651110080978] [95636:65662333] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0011 DataVersion: 3234420698 + [1651110080978] [95636:65662333] CHIP: [TOO] Reachable: TRUE + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml new file mode 100644 index 00000000000000..e6f6446a536696 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml @@ -0,0 +1,141 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.19. [TC-DD-3.19] Commissioning Flow - Commission, Unpair and + Re-commission Device [DUT - Commissionee] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "Place DUT into commissioning mode using the DUTs manufacturers means + to be discovered by the TH Commissioner" + verification: | + DUT Commissionee: + $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3841 + + [1651111142.369356][32024:32024] CHIP:DL: Device Configuration: + [1651111142.369395][32024:32024] CHIP:DL: Serial Number: TEST_SN + [1651111142.369438][32024:32024] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651111142.369470][32024:32024] CHIP:DL: Product Id: 32769 (0x8001) + [1651111142.369496][32024:32024] CHIP:DL: Hardware Version: 0 + [1651111142.369514][32024:32024] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651111142.369531][32024:32024] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3841 (0xF01) + [1651111142.369555][32024:32024] CHIP:DL: Manufacturing Date: (not set) + [1651111142.369573][32024:32024] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651111142.370760][32024:32024] CHIP:SVR: SetupQRCode: [MT:-24J0ALY01KA0648G00] + + TH Commissioner: + $ ./out/chip-tool/chip-tool discover commissionables + + [1651111150395] [95835:65674062] CHIP: [DL] Mdns: OnNewAddress interface: 7 ip:192.168.1.2 + [1651111150395] [95835:65674062] CHIP: [DIS] Vendor ID: 65521 + [1651111150395] [95835:65674062] CHIP: [DIS] Product ID: 32769 + [1651111150395] [95835:65674062] CHIP: [DIS] Long Discriminator: 3841 + [1651111150395] [95835:65674062] CHIP: [DIS] Pairing Hint: 33 + [1651111150395] [95835:65674062] CHIP: [DIS] Hostname: DCA6328D2B9F0000 + [1651111150395] [95835:65674062] CHIP: [DIS] Instance Name: B4B6B83476500D4A + [1651111150395] [95835:65674062] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:2b9f + [1651111150395] [95835:65674062] CHIP: [DIS] IP Address #2: fe80::dea6:32ff:fe8d:2ba0 + [1651111150395] [95835:65674062] CHIP: [DIS] IP Address #3: 192.168.1.2 + [1651111150395] [95835:65674062] CHIP: [DIS] Port: 5540 + [1651111150395] [95835:65674062] CHIP: [DIS] Commissioning Mode: 1 + [1651111150395] [95835:65674062] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651111150395] [95835:65674062] CHIP: [DIS] Mrp Interval active: 300 ms + disabled: true + + - label: + "Scan DUTs QR code using the TH Commissioner. Follow any steps needed + for the Commissioner/Commissionee to complete the commissioning + process over the DUT Commissionees method of device discovery" + verification: | + DUT Commissionee: + [1651111335.475159][32130:32130] CHIP:SVR: Commissioning completed successfully + [1651111335.475204][32130:32130] CHIP:DIS: Updating services using commissioning mode 0 + + TH Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0ALY01KA0648G00 + + [1651111335378] [95843:65675989] CHIP: [CTL] Received CommissioningComplete response + [1651111335378] [95843:65675989] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651111335378] [95843:65675989] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651111335378] [95843:65675989] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651111335378] [95843:65675989] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651111335378] [95843:65675989] CHIP: [TOO] Device commissioning completed with success + disabled: true + + - label: + "Using TH Commissioner, unpair the DUT Commissionee from the Matter + network." + verification: | + ./chip-tool operationalcredentials remove-fabric 1 1 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: + "Place DUT Commissionee back into commissioning mode using the DUT + manufacturers means to be discovered by the TH Commissioner" + verification: | + 1. On RasPi DUT $ rm -rf /tmp/chip* + 2. On RasPi DUT $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3841 + + On TH chip-tool: + $ ./out/chip-tool/chip-tool discover commissionables + [1651111576350] [95850:65678872] CHIP: [DL] Mdns: OnNewAddress interface: 7 ip:192.168.1.2 + [1651111576350] [95850:65678872] CHIP: [DIS] Vendor ID: 65521 + [1651111576350] [95850:65678872] CHIP: [DIS] Product ID: 32769 + [1651111576350] [95850:65678872] CHIP: [DIS] Long Discriminator: 3841 + [1651111576350] [95850:65678872] CHIP: [DIS] Pairing Hint: 33 + [1651111576350] [95850:65678872] CHIP: [DIS] Hostname: DCA6328D2B9F0000 + [1651111576350] [95850:65678872] CHIP: [DIS] Instance Name: F17CF4C2DECCDA4B + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:2ba0 + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #2: fe80::dea6:32ff:fe8d:2b9f + [1651111576350] [95850:65678872] CHIP: [DIS] IP Address #3: 192.168.1.2 + [1651111576350] [95850:65678872] CHIP: [DIS] Port: 5540 + [1651111576350] [95850:65678872] CHIP: [DIS] Commissioning Mode: 1 + [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651111576350] [95850:65678872] CHIP: [DIS] Mrp Interval active: 300 ms + disabled: true + + - label: + "Scan DUTs QR code using the TH Commissioner. Follow any steps needed + for the Commissioner/Commissionee to complete the commissioning + process over the DUT Commissionees method of device discovery" + verification: | + DUT Commissionee: + [1651111614.006849][32259:32259] CHIP:SVR: Commissioning completed successfully + [1651111614.006893][32259:32259] CHIP:DIS: Updating services using commissioning mode 0 + + TH Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0ALY01KA0648G00 + + [1651111613912] [95856:65679504] CHIP: [CTL] Received CommissioningComplete response + [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651111613912] [95856:65679504] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651111613912] [95856:65679504] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651111613912] [95856:65679504] CHIP: [TOO] Device commissioning completed with success + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml index bda5b17f99900c..0e1d4b9d1c6628 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_2.yaml @@ -13,7 +13,8 @@ # 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: 7.3.2. [TC-DD-3.2] Commissioning Flow - Non-concurrent +name: + 3.3.2. [TC-DD-3.2] Commissioning Flow - Non-concurrent [DUT - Commissionee] config: nodeId: 0x12344321 @@ -25,171 +26,11 @@ tests: "Commissioner and Commissionee discover each other and connect via the discovery mode applicable for the DUT." verification: | - On DUT: sudo ./chip-all-clusters-app + On DUT: start BLE Advertising by specific DUT implementation + On TH: start commissioning process(need to obtain the Thread dataset first) - On Controller: ./chip-tool discover commissionables - - 1. Connect the device to Ethernet - 2. Disover the device using CHIP Tool . ./chip-tool discover commissionables - 3. connect -ip , - 4. Once device is provisioned, read 'Product Name' attribute from the Basic cluster. Example:./chip-tool basic read product-name 1 0 - - Reference : below Full log for the above commands (click on this cell if you like to see complete log) - - - controller > ./chip-tool discover commissionables - Waiting for device responses... - CHIP:CTL: Generating ICAC - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== - CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> - CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> - CHIP:DL: AUDIT: * buf1: 3BE3E264C0A0A053248E93609D22044A - CHIP:DL: AUDIT: * buf2: E69C8767AD6B60907AD3633E774F38EB - CHIP:DL: AUDIT: * r1: 0x2A0E6454 r2: 0x16315893 - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9yXPat) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/reboot-count = 23 (0x17) - CHIP:DL: Got Ethernet interface: eth0 - CHIP:DL: Found the primary Ethernet interface:eth0 - CHIP:DL: Got WiFi interface: wlan0 - CHIP:DL: Failed to reset WiFi statistic counts - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: TransportMgr initialized - CHIP:DIS: Init fabric pairing table with server storage - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-zgCtZd) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 25000 (0x61A8) - CHIP:CTL: System State Initialized... - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../th - CHIP:ZCL: Using ZAP configuration... - CHIP:DIS: Verifying the received credentials - CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000000 - CHIP:IN: 0x04, 0x66, 0xd6, 0xcf, 0x4c, 0x1e, 0x11, 0xc3, - CHIP:IN: 0x52, 0x4f, 0xa6, 0x8c, 0x6e, 0x65, 0x46, 0xdc, - CHIP:IN: 0x90, 0x1b, 0x5f, 0x42, 0x9f, 0x69, 0xd1, 0xb7, - CHIP:IN: 0x7d, 0xf3, 0x6b, 0x54, 0x12, 0x6c, 0x12, 0x59, - CHIP:IN: 0x5b, 0xc3, 0x07, 0x1c, 0x5c, 0xf4, 0x4e, 0x5f, - CHIP:IN: 0x71, 0x06, 0x9a, 0xbb, 0x2f, 0xef, 0x20, 0x0d, - CHIP:IN: 0x0e, 0x9b, 0x26, 0x3e, 0x8d, 0x46, 0x09, 0xd8, - CHIP:IN: 0xfd, 0xa1, 0xc0, 0x10, 0x4f, 0x05, 0x14, 0x99, - CHIP:IN: 0x22, - CHIP:IN: Generated compressed fabric ID - CHIP:IN: 0x4a, 0x53, 0x1e, 0x52, 0x06, 0xed, 0x06, 0xda, - CHIP:DIS: Added new fabric at index: 1, Initialized: 1 - CHIP:DIS: Assigned compressed fabric ID: 0x4A531E5206ED06DA, node ID: 0x000000000001B669 - CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x4A531E5206ED06DA - CHIP:DL: CHIP task running - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - - - controller> sudo ./chip-tool pairing ethernet 112233 20202021 3840 192.168.1.12 5540 - - Output of this command in cell number I6 and J6 due to cell constraint of maximum size. - - - - controller> sudo ./chip-tool basic read product-name 0x000000000001B669 0 - + ./chip-tool pairing ble-thread 1 hex:0e080000000000010000000300000f35060004001fffe0020811111111222222220708fd27e57b1b1e22d9051000112233445566778899aabbccddeeff030e4f70656e54687265616444656d6f01021234041061e1206d2c2b46e079eb775f41fc72190c0402a0fff8 20202021 3840 ,, disabled: true @@ -197,95 +38,359 @@ tests: "Establish encryption keys with Password Authenticated Session Establishment on the commissioning channel" verification: | - - disabled: true - - - label: - "Commissioner arms Fail-safe timer on the Commissionee using - ArmFailSafe command" - verification: | - + On TH: + CHIP:SC: Received PBKDF param response disabled: true - label: - "Commissioner configures the Commissionee UTC time, timezone, DST - offset, and regulatory information at the Commissionee." + "Commissioner SHALL re-arm Fail-safe timer on Commissionee within 60s + (the autonomously Fail-safe timer length set by Commissionee)" verification: | - + On TH: + CHIP:CTL: Arming failsafe (60 seconds) disabled: true - label: - "Commissioner establishes the authenticity of the Commissionee as a - certified CHIP device." + "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure + regulatory information in the Commissionee." verification: | - - disabled: true - - - label: - "Commissioner configures Fabric information using SetFabric command." - verification: | - + On TH: + CHIP:CTL: Setting Regulatory Config disabled: true - label: "Commissioner requests operational CSR from Commissionee with OperationalCSRRequest command" verification: | - + On TH: + CHIP:CTL: Sending CSR request to 0xffffa4001730 device + CHIP:DMG: ICR moving to [AddingComm] + CHIP:DMG: ICR moving to [AddedComma] + CHIP:IN: Prepared secure message 0xffffb9ba6db8 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45042i with MessageCounter:12011388. + CHIP:IN: Sending encrypted msg 0xffffb9ba6db8 with MessageCounter:12011388 to 0x0000000000000001 (1) at monotonic time: 304120 msec + CHIP:DMG: ICR moving to [CommandSen] + CHIP:CTL: Sent CSR request, waiting for the CSR + CHIP:DMG: ICR moving to [AwaitingDe] + CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + CHIP:DL: Indication received, conn = 0xffffb0044210 + CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:DL: Indication received, conn = 0xffffb0044210 + CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508040 on exchange 45042i + CHIP:EM: Found matching exchange: 45042i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0x5, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = [ + CHIP:DMG: 0x15, 0x30, 0x1, 0xcd, 0x30, 0x81, 0xca, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86 + CHIP:DMG: ] + CHIP:DMG: 0x1 = [ + CHIP:DMG: 0xea, 0xd6, 0x96, 0x53, 0x4d, 0x46, 0x1d, 0xd6, 0xcc, 0x7f, 0x25, 0x50, 0x80, 0x4c, 0x2a, 0xe9, 0xc8, 0xb8, 0x1b, 0x34, 0xca, 0x98, 0x38, 0x42, 0x74, 0xc2, 0x13, 0xf4, 0x10, 0x4d, 0xa2, 0x44, 0x38, 0x98, 0x28, 0xb6, 0xb1, 0x94, 0x6b, 0xd, 0x29, 0x1b + CHIP:DMG: ] + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + CHIP:CTL: Received certificate signing request from the device + CHIP:CTL: Getting certificate chain for the device from the issuer + CHIP:CTL: Verifying Certificate Signing Request + CHIP:CTL: Generating NOC + CHIP:CTL: Providing certificate chain to the commissioner + CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success disabled: true - label: - "Commissioner generates or otherwise obtains an Operational - Certificate containing Operational ID in response - OperationalCSRRequest command using ecosystem-specific means" + "Commissioner configures operational credentials on DUT if not + previously installed" verification: | - + On TH: + [1651218829.220063][3273:3278] CHIP:CTL: Sending root certificate to the device + [1651218829.220201][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218829.222415][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218829.222549][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba6b98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45043i with MessageCounter:12011389. + [1651218829.222616][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba6b98 with MessageCounter:12011389 to 0x0000000000000001 (1) at monotonic time: 305872 msec + [1651218829.222746][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218829.222789][3273:3278] CHIP:CTL: Sent root certificate to the device + [1651218829.223121][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218829.306861][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.404144][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.454121][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218829.454352][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508041 on exchange 45043i + CHIP:EM: Found matching exchange: 45043i, Delegate: 0xffffa400def0 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandStatusIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0xb, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: StatusIB = + CHIP:DMG: { + CHIP:DMG: status = 0x0, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 + CHIP:CTL: Device confirmed that it has received the root certificate disabled: true - - label: "Commissioner configures operational credentials" - verification: | - - disabled: true - - - label: "Commissioner configures ACL." + - label: + "Commissioner configures itself as administrator in ACL on DUT if + needed" verification: | - + On TH: + [1651218829.457248][3273:3278] CHIP:CTL: Sending operational certificate chain to the device + [1651218829.457372][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218829.460013][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218829.460273][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7828 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45044i with MessageCounter:12011390. + [1651218829.460374][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7828 with MessageCounter:12011390 to 0x0000000000000001 (1) at monotonic time: 306110 msec + [1651218829.460602][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218829.460684][3273:3278] CHIP:CTL: Sent operational certificate to the device + [1651218829.460778][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218829.550574][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.648065][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.745594][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218833.988087][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218833.988336][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1651218833.988598][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508042 on exchange 45044i + CHIP:EM: Found matching exchange: 45044i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0x8, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = 1, + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:CTL: Device returned status 0 on receiving the NOC + CHIP:CTL: Operational credentials provisioned on device 0xffffa4001730 disabled: true - label: - "Commissioner configures the operational network at the Commissionee." + "Commissioner configures operational network on DUT if DUT both + supports and requires" verification: | - + On TH: + [1651218833.995054][3273:3278] CHIP:CTL: Adding thread network + [1651218833.995176][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218833.995253][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218833.995431][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7848 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45045i with MessageCounter:12011391. + [1651218833.995523][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7848 with MessageCounter:12011391 to 0x0000000000000001 (1) at monotonic time: 310645 msec + [1651218833.995723][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218833.995823][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218834.084548][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218834.134690][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218834.134918][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508043 on exchange 45045i + CHIP:EM: Found matching exchange: 45045i, Delegate: 0xffffa400def0 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x31, + CHIP:DMG: CommandId = 0x5, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = "", + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + CHIP:CTL: Received NetworkConfig response disabled: true - label: - "Commissioner triggers the Commissionee to connect to the operational - network" + "Commissioner instructs Commissionee to connect to operational network + if not already connected" verification: | - + On TH: + [1651218834.137891][3273:3278] CHIP:CTL: Enabling thread network + [1651218834.138014][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218834.138086][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218834.138236][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7938 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45046i with MessageCounter:12011392. + [1651218834.138325][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7938 with MessageCounter:12011392 to 0x0000000000000001 (1) at monotonic time: 310788 msec + [1651218834.138522][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218834.138628][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218834.231701][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218834.426948][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218834.427186][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1651218834.427443][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508044 on exchange 45046i + CHIP:EM: Found matching exchange: 45046i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x31, + CHIP:DMG: CommandId = 0x7, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = "", + CHIP:DMG: 0x2 = 0, + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + CHIP:CTL: Received ConnectNetwork response disabled: true - label: - "Commissioner and Commissionee discover each other on the operational - network using operational discovery" + "Commissioning channel between the Commissioner and Commissionee is + terminated." verification: | disabled: true - - label: "Commissioner and Commissionee establish encryption keys with CASE" + - label: "Commissioner starts discovery of DUT using Operational Discovery" verification: | - + On TH: + CHIP:DL: Avahi resolve found + CHIP:DIS: Node ID resolved for 0x0000000000000001 + CHIP:DIS: Addr 0: [fd11:22::9d96:8fcf:10cf:799e]:5540 + CHIP:CTL: OperationalDiscoveryComplete for device ID 0x0000000000000001 disabled: true - label: - "Commissioner and Commissionee perform commissioning complete message - exchange using CommissioningComplete command and - CommissioningCompleteResponse command" + "Commissioner opens a CASE session with DUT over operational network" verification: | - + On TH: + CHIP:SC: Sent Sigma1 msg + CHIP:CTL: Address resolved for node: 0x0000000000000001 + CHIP:EM: Received message of type 0x31 with protocolId (0, 0) and MessageCounter:1066460336 on exchange 45047i + CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8 + CHIP:EM: Rxd Ack; Removing MessageCounter:2352378411 from Retrans Table on exchange 45047i + CHIP:EM: Removed CHIP MessageCounter:2352378411 from RetransTable on exchange 45047i + CHIP:SC: Received Sigma2 msg + CHIP:SC: Peer assigned session session ID 2 + CHIP:SC: The device does not support GetClock_RealTimeMS() API. This will eventually result in CASE session setup failures. + CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey + CHIP:IN: 0x04, 0x6e, 0x3e, 0x58, 0x9d, 0x08, 0xd6, 0xae, + CHIP:IN: 0xe9, 0xff, 0x9b, 0x8f, 0xba, 0x6f, 0x57, 0x73, + CHIP:IN: 0x21, 0xc4, 0xe2, 0x7b, 0x09, 0xe4, 0x24, 0x7f, + CHIP:IN: 0x55, 0x44, 0x3b, 0xf2, 0x7c, 0x13, 0x45, 0x3b, + CHIP:IN: 0x82, 0xa8, 0x42, 0x96, 0xb4, 0x36, 0x78, 0x20, + CHIP:IN: 0xa1, 0x37, 0x69, 0xf0, 0x20, 0xc9, 0x20, 0x7e, + CHIP:IN: 0x66, 0x45, 0x84, 0x53, 0x1b, 0x3e, 0xd2, 0x61, + CHIP:IN: 0xb6, 0x89, 0x27, 0xfd, 0xe8, 0x23, 0x69, 0x6d, + CHIP:IN: 0x93, + CHIP:IN: Generated compressed fabric ID + CHIP:IN: 0xa3, 0x54, 0xab, 0x2a, 0xa2, 0x1f, 0x8e, 0x48, + CHIP:SC: Found MRP parameters in the message + CHIP:SC: Sending Sigma3 + CHIP:EM: Piggybacking Ack for MessageCounter:1066460336 on exchange: 45047i + CHIP:IN: Prepared unauthenticated message 0xaaaad7ce1bf8 to 0x0000000000000000 (0) of type 0x32 and protocolId (0, 0) on exchange 45047i with MessageCounter:2352378412. + CHIP:IN: Sending unauthenticated msg 0xaaaad7ce1bf8 with MessageCounter:2352378412 to 0x0000000000000000 at monotonic time: 315803 msec + CHIP:SC: Sent Sigma3 msg + CHIP:EM: Received message of type 0x40 with protocolId (0, 0) and MessageCounter:1066460337 on exchange 45047i + CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8 + CHIP:EM: Rxd Ack; Removing MessageCounter:2352378412 from Retrans Table on exchange 45047i + CHIP:EM: Removed CHIP MessageCounter:2352378412 from RetransTable on exchange 45047i + CHIP:SC: Success status report received. Session was established + CHIP:IN: New secure session created for device 0x0000000000000001, LSID:2 PSID:2! disabled: true - - label: "Same steps as 1.a. Force exit any step in 1.." + - label: "Commissioner sends CommissioningComplete command" verification: | - + On TH: + CHIP:CTL: Received CommissioningComplete response + CHIP:CTL: Rendezvous cleanup + CHIP:TOO: Device commissioning completed with success disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml new file mode 100644 index 00000000000000..db4d868d6c4f2e --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DD_3_20.yaml @@ -0,0 +1,129 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3.20. [TC-DD-3.20] Commissioning Flow - Commission, Unpair and + Re-commission Device [DUT - Commissioner] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: + "Place TH into commissioning mode using the TH manufacturers means to + be discovered by the DUT Commissioner" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3840 + + [1651109580.413197][31207:31207] CHIP:DL: Device Configuration: + [1651109580.413259][31207:31207] CHIP:DL: Serial Number: TEST_SN + [1651109580.413294][31207:31207] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651109580.413327][31207:31207] CHIP:DL: Product Id: 32769 (0x8001) + [1651109580.413358][31207:31207] CHIP:DL: Hardware Version: 0 + [1651109580.413380][31207:31207] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651109580.413401][31207:31207] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651109580.413428][31207:31207] CHIP:DL: Manufacturing Date: (not set) + [1651109580.413450][31207:31207] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651109580.413470][31207:31207] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651109580.413525][31207:31207] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + disabled: true + + - label: + "If (PICS_SCAN_QR_CODE), Scan THs QR code using the DUT Commissioner." + verification: | + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes + disabled: true + + - label: + "DUT parses THs QR code. Follow any steps needed for the + Commissioner/Commissionee to complete the commissioning process over + the TH Commissionees method of device discovery" + verification: | + TH Commissionee: + [1651109784.452770][31207:31207] CHIP:SVR: Commissioning completed successfully + [1651109784.452813][31207:31207] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0AFN00KA0648G00 + + [1651109784376] [95553:65657838] CHIP: [CTL] Received CommissioningComplete response + [1651109784376] [95553:65657838] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651109784376] [95553:65657838] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651109784376] [95553:65657838] CHIP: [TOO] Device commissioning completed with success + disabled: true + + - label: + "Using DUT Commissioner, unpair the TH Commissionee from the Matter + network." + verification: | + ./chip-tool operationalcredentials remove-fabric 1 1 0 + + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 + CHIP:TOO: NOCResponse: { + CHIP:TOO: statusCode: 0 + CHIP:TOO: fabricIndex: 2 + CHIP:TOO: } + CHIP:DMG: ICR moving to [AwaitingDe] + disabled: true + + - label: + "Place TH Commissionee back into commissioning mode using the TH + manufacturers means to be discovered by the DUT Commissioner" + verification: | + $ ./out/all-clusters-app/chip-all-clusters-app --discriminator 3840 + + [1651110721.112368][31791:31791] CHIP:DL: Device Configuration: + [1651110721.112448][31791:31791] CHIP:DL: Serial Number: TEST_SN + [1651110721.112501][31791:31791] CHIP:DL: Vendor Id: 65521 (0xFFF1) + [1651110721.112552][31791:31791] CHIP:DL: Product Id: 32769 (0x8001) + [1651110721.112597][31791:31791] CHIP:DL: Hardware Version: 0 + [1651110721.112630][31791:31791] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 + [1651110721.112662][31791:31791] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) + [1651110721.112703][31791:31791] CHIP:DL: Manufacturing Date: (not set) + [1651110721.112737][31791:31791] CHIP:DL: Device Type: 65535 (0xFFFF) + [1651110721.112767][31791:31791] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== + [1651110721.112838][31791:31791] CHIP:SVR: SetupQRCode: [MT:-24J0AFN00KA0648G00] + disabled: true + + - label: + "If (PICS_SCAN_QR_CODE), Scan THs QR code using the DUT Commissioner." + verification: | + 1. Verify the QR code is scanned by DUT, chip-tool does not support physically scanning QR codes + disabled: true + + - label: + "DUT parses THs QR code. Follow any steps needed for the + Commissioner/Commissionee to complete the commissioning process over + the TH Commissionees method of device discovery" + verification: | + TH Commissionee: + [1651110724.759825][31791:31791] CHIP:SVR: Commissioning completed successfully + [1651110724.759869][31791:31791] CHIP:DIS: Updating services using commissioning mode 0 + + DUT Commissioner: + $ ./out/chip-tool/chip-tool pairing qrcode 1 MT:-24J0AFN00KA0648G00 + + [1651110724689] [95810:65669790] CHIP: [CTL] Received CommissioningComplete response + [1651110724689] [95810:65669790] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651110724689] [95810:65669790] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651110724689] [95810:65669790] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651110724689] [95810:65669790] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651110724689] [95810:65669790] CHIP: [TOO] Device commissioning completed with success + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml index da7331f6f84756..5400614725304a 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_5.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: 7.3.5. [TC-DD-3.5] Commissioning Flow - Concurrent [DUT - Commissioner] +name: 3.3.5. [TC-DD-3.5] Commissioning Flow - Concurrent [DUT - Commissioner] config: nodeId: 0x12344321 @@ -22,8 +22,8 @@ config: tests: - label: - "Commissioner and Commissionee discover each other and connect via the - discovery mode applicable for the DUT." + "Commissioner has regulatory and fabric information available and has + accurate date, time and timezone" verification: | On DUT: sudo ./chip-all-clusters-app @@ -194,93 +194,343 @@ tests: disabled: true - label: - "Establish encryption keys with Password Authenticated Session - Establishment on the commissioning channel" - verification: | - - disabled: true - - - label: - "Commissioner arms Fail-safe timer on the Commissionee using - ArmFailSafe command" + "Commissioner and Commissionee discover each other and connect via the + discovery mode applicable for the DUT. If (PICS_DT_IP), TH device is + advertising over IP Network using DNS-based Service Discovery (DNS-SD)" verification: | + Verify on DUT: + ./chip-tool discover commissionables + Waiting for device responses... + CHIP:CTL: Generating ICAC + CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== + CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> + CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> + CHIP:DL: AUDIT: * buf1: 3BE3E264C0A0A053248E93609D22044A + CHIP:DL: AUDIT: * buf2: E69C8767AD6B60907AD3633E774F38EB + CHIP:DL: AUDIT: * r1: 0x2A0E6454 r2: 0x16315893 + CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== + CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9yXPat) + CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) + CHIP:DL: NVS set: chip-counters/reboot-count = 23 (0x17) + CHIP:DL: Got Ethernet interface: eth0 + CHIP:DL: Found the primary Ethernet interface:eth0 + CHIP:DL: Got WiFi interface: wlan0 + CHIP:DL: Failed to reset WiFi statistic counts + CHIP:IN: UDP::Init bind&listen port=5541 + CHIP:IN: UDP::Init bound to port=5541 + CHIP:IN: UDP::Init bind&listen port=5541 + CHIP:IN: UDP::Init bound to port=5541 + CHIP:IN: TransportMgr initialized + CHIP:DIS: Init fabric pairing table with server storage + CHIP:DL: writing settings to file (/tmp/chip_counters.ini-zgCtZd) + CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) + CHIP:DL: NVS set: chip-counters/GlobalMCTR = 25000 (0x61A8) + CHIP:CTL: System State Initialized... + CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../th + CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../th + CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../th + CHIP:ZCL: Using ZAP configuration... + CHIP:DIS: Verifying the received credentials + CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000000 + CHIP:IN: 0x04, 0x66, 0xd6, 0xcf, 0x4c, 0x1e, 0x11, 0xc3, + CHIP:IN: 0x52, 0x4f, 0xa6, 0x8c, 0x6e, 0x65, 0x46, 0xdc, + CHIP:IN: 0x90, 0x1b, 0x5f, 0x42, 0x9f, 0x69, 0xd1, 0xb7, + CHIP:IN: 0x7d, 0xf3, 0x6b, 0x54, 0x12, 0x6c, 0x12, 0x59, + CHIP:IN: 0x5b, 0xc3, 0x07, 0x1c, 0x5c, 0xf4, 0x4e, 0x5f, + CHIP:IN: 0x71, 0x06, 0x9a, 0xbb, 0x2f, 0xef, 0x20, 0x0d, + CHIP:IN: 0x0e, 0x9b, 0x26, 0x3e, 0x8d, 0x46, 0x09, 0xd8, + CHIP:IN: 0xfd, 0xa1, 0xc0, 0x10, 0x4f, 0x05, 0x14, 0x99, + CHIP:IN: 0x22, + CHIP:IN: Generated compressed fabric ID + CHIP:IN: 0x4a, 0x53, 0x1e, 0x52, 0x06, 0xed, 0x06, 0xda, + CHIP:DIS: Added new fabric at index: 1, Initialized: 1 + CHIP:DIS: Assigned compressed fabric ID: 0x4A531E5206ED06DA, node ID: 0x000000000001B669 + CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x4A531E5206ED06DA + CHIP:DL: CHIP task running + CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP + CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP + CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP + CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 + CHIP:DIS: Discovered Node: + CHIP:DIS: Host name: EEAABADABAD0DDCA + CHIP:DIS: Port: 5540 + CHIP:DIS: Long discriminator: 3840 + CHIP:DIS: Vendor ID: 9050 + CHIP:DIS: Product ID: 65279 + CHIP:DIS: Commissioning Mode 1 + CHIP:DIS: Device Type 0 + CHIP:DIS: Device Name + CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B + CHIP:DIS: Pairing Instruction + CHIP:DIS: Pairing Hint 0x21 + CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 + CHIP:DIS: Address 2: 192.168.1.12 disabled: true - label: - "Commissioner SHALL configure at the Commissionee UTC time, timezone, - DST offset, and regulatory information at the Commissionee." + "Establish encryption keys with Password Authenticated Session + Establishment on the commissioning channel" verification: | - + Verify on DUT: + + CHIP:SC: Sent PBKDF param request + CHIP:CTL: Setting attestation nonce to random value + CHIP:CTL: Setting CSR nonce to random value + CHIP:CTL: Commission called for node ID 0x000000000001B669 + CHIP:EM: Received message of type 0x21 with protocolId (0, 0) and MessageCounter:1341084110 on exchange 63762i + CHIP:EM: Found matching exchange: 63762i, Delegate: 0xffff8c000bc0 + CHIP:EM: Rxd Ack; Removing MessageCounter:850320430 from Retrans Table on exchange 63762i + CHIP:EM: Removed CHIP MessageCounter:850320430 from RetransTable on exchange 63762i + CHIP:SC: Received PBKDF param response disabled: true - label: - "Commissioner establishes the authenticity of the Commissionee as a - certified CHIP device." + "Commissioner SHALL re-arm Fail-safe timer on Commissionee within 60s + (the autonomously Fail-safe timer length set by Commissionee)" verification: | + Verify on DUT: + CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' + CHIP:CTL: Performing next commissioning step 'ArmFailSafe' + CHIP:CTL: Arming failsafe (60 seconds) disabled: true - label: - "Commissioner configures Fabric information using SetFabric command." + "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure + regulatory information in the Commissionee." verification: | - + Need chip-tool implementation disabled: true - label: "Commissioner requests operational CSR from Commissionee with OperationalCSRRequest command" verification: | + Verify on TH: + CHIP:ZCL: OpCreds: commissioner has requested a CSR + CHIP:ZCL: OpCreds: NewCertificateSigningRequest returned ../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALOpenSSL.cpp:1114: Success disabled: true - label: - "Commissioner generates or otherwise obtains an Operational - Certificate containing Operational ID in response - OperationalCSRRequest command using ecosystem-specific means" + "Commissioner configures operational credentials on DUT if not + previously installed" verification: | - + Verify on DUT: + + CHIP:CTL: Performing next commissioning step 'SendTrustedRootCert' + CHIP:CTL: Sending root certificate to the device + CHIP:DMG: ICR moving to [AddingComm] + CHIP:DMG: ICR moving to [AddedComma] + CHIP:IN: Prepared secure message 0xaaaafc0d5be8 to 0x000000000001B669 (1) of type 0x8 and protocolId (0, 1) on exchange 63770i with MessageCounter:695615. + CHIP:IN: Sending encrypted msg 0xaaaafc0d5be8 with MessageCounter:695615 to 0x000000000001B669 (1) at monotonic time: 0000000000FBA3DE msec + CHIP:DMG: ICR moving to [CommandSen] + CHIP:CTL: Sent root certificate to the device disabled: true - - label: "Commissioner configures operational credentials" + - label: + "Commissioner configures itself as administrator in ACL on TH if + needed" verification: | - + Verify the following on TH after commissioning + + [1646909537.115328][3145:3150] CHIP:CTL: Sending CSR request to 0xffffac001730 device + [1646909537.115512][3145:3150] CHIP:DMG: ICR moving to [AddingComm] + [1646909537.115589][3145:3150] CHIP:DMG: ICR moving to [AddedComma] + [1646909537.115861][3145:3150] CHIP:IN: Prepared secure message 0xffffb67cbd98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 7731i with MessageCounter:8191681. + [1646909537.115959][3145:3150] CHIP:IN: Sending encrypted msg 0xffffb67cbd98 with MessageCounter:8191681 to 0x0000000000000001 (1) at monotonic time: 10877964 msec + [1646909537.116173][3145:3150] CHIP:DMG: ICR moving to [CommandSen] + [1646909537.116242][3145:3150] CHIP:CTL: Sent CSR request, waiting for the CSR + [1646909537.116356][3145:3150] CHIP:DMG: ICR moving to [AwaitingDe] + [1646909537.193355][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1646909537.241579][3145:3148] CHIP:DL: Indication received, conn = 0xffffa803b310 + [1646909537.241838][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1646909537.341266][3145:3148] CHIP:DL: Indication received, conn = 0xffffa803b310 + [1646909537.341523][3145:3150] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1646909537.341903][3145:3150] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:2304337 on exchange 7731i + [1646909537.341988][3145:3150] CHIP:EM: Found matching exchange: 7731i, Delegate: 0xffffa8026ab0 + [1646909537.342086][3145:3150] CHIP:DMG: ICR moving to [ResponseRe] + [1646909537.342191][3145:3150] CHIP:DMG: InvokeResponseMessage = + [1646909537.342251][3145:3150] CHIP:DMG: { + [1646909537.342310][3145:3150] CHIP:DMG: suppressResponse = false, + [1646909537.342370][3145:3150] CHIP:DMG: InvokeResponseIBs = + [1646909537.342450][3145:3150] CHIP:DMG: [ + [1646909537.342511][3145:3150] CHIP:DMG: InvokeResponseIB = + [1646909537.342598][3145:3150] CHIP:DMG: { + [1646909537.342662][3145:3150] CHIP:DMG: CommandDataIB = + [1646909537.342749][3145:3150] CHIP:DMG: { + [1646909537.342832][3145:3150] CHIP:DMG: CommandPathIB = + [1646909537.342915][3145:3150] CHIP:DMG: { + [1646909537.342998][3145:3150] CHIP:DMG: EndpointId = 0x0, + [1646909537.343091][3145:3150] CHIP:DMG: ClusterId = 0x3e, + [1646909537.343177][3145:3150] CHIP:DMG: CommandId = 0x5, + [1646909537.343262][3145:3150] CHIP:DMG: }, + [1646909537.343346][3145:3150] CHIP:DMG: + [1646909537.343420][3145:3150] CHIP:DMG: CommandData = + [1646909537.343548][3145:3150] CHIP:DMG: { + [1646909537.343632][3145:3150] CHIP:DMG: 0x0 = [ + [1646909537.343772][3145:3150] CHIP:DMG: 0x15, 0x30, 0x1, 0xcb, 0x30, 0x81, 0xc8, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86 + [1646909537.343880][3145:3150] CHIP:DMG: ] + [1646909537.343968][3145:3150] CHIP:DMG: 0x1 = [ + [1646909537.344094][3145:3150] CHIP:DMG: 0xbd, 0xef, 0xb7, 0x8c, 0x5, 0x95, 0x9b, 0x60, 0xf4, 0xb1, 0xf7, 0x9c, 0x24, 0x50, 0x51, 0x9c, 0x59, 0x46, 0x97, 0x5e, 0x89, 0xe8, 0x7d, 0x29, 0x88, 0xac, 0x45, 0xed, 0xa6, 0xca, 0xac, 0x55, 0x2a, 0x7e, 0x11, 0x71, 0xe9, 0x68, 0x0, 0x91, 0xe, 0x23, + [1646909537.344193][3145:3150] CHIP:DMG: ] + [1646909537.344274][3145:3150] CHIP:DMG: }, + [1646909537.344349][3145:3150] CHIP:DMG: }, + [1646909537.344442][3145:3150] CHIP:DMG: + [1646909537.344508][3145:3150] CHIP:DMG: }, + [1646909537.344588][3145:3150] CHIP:DMG: + [1646909537.344646][3145:3150] CHIP:DMG: ], + [1646909537.344721][3145:3150] CHIP:DMG: + [1646909537.344779][3145:3150] CHIP:DMG: InteractionModelRevision = 1 + [1646909537.344837][3145:3150] CHIP:DMG: }, + [1646909537.344985][3145:3150] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + [1646909537.345068][3145:3150] CHIP:CTL: Received certificate signing request from the device + [1646909537.345139][3145:3150] CHIP:CTL: Getting certificate chain for the device from the issuer + [1646909537.347800][3145:3150] CHIP:CTL: Verifying Certificate Signing Request + [1646909537.349300][3145:3150] CHIP:CTL: Generating NOC + [1646909537.350268][3145:3150] CHIP:CTL: Providing certificate chain to the commissioner + [1646909537.350347][3145:3150] CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../third_party/connectedhomeip/src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success disabled: true - - label: "Commissioner configures ACL." + - label: + "Commissioner configures operational network on TH if TH both supports + and requires" verification: | + Verifiy on DUT: + CHIP:CTL: Operational credentials provisioned on device 0xffff8c000b60 + CHIP:TOO: Secure Pairing Success disabled: true - label: - "Commissioner configures the operational network at the Commissionee." + "Commissioner instructs Commissionee to connect to operational network + if not already connected" verification: | + Verify on DUT: + CHIP:CTL: Performing next commissioning step 'FindOperational' + CHIP:CSM: FindOrEstablishSession: PeerId = BFCBED670D527591:000000000001B669 + CHIP:CSM: FindOrEstablishSession: No existing OperationalDeviceProxy instance found disabled: true - - label: - "Commissioner triggers the Commissionee to connect to the operational - network" + - label: "Commissioner starts discovery of TH using Operational Discovery" verification: | - + Verify on DUT: + + CHIP:DIS: Resolving BFCBED670D527591:000000000001B669 ... + CHIP:DIS: Operational node lookup already in progress. Will NOT start a new one. + CHIP:DMG: ICR moving to [AwaitingDe] + CHIP:EM: Sending Standalone Ack for MessageCounter:9439913 on exchange 63771i + CHIP:IN: Prepared secure message 0xffffa1c07938 to 0x000000000001B669 (1) of type 0x10 and protocolId (0, 0) on exchange 63771i with MessageCounter:695619. + CHIP:IN: Sending encrypted msg 0xffffa1c07938 with MessageCounter:695619 to 0x000000000001B669 (1) at monotonic time: 0000000000FBA446 msec + CHIP:EM: Flushed pending ack for MessageCounter:9439913 on exchange 63771i + CHIP:DL: Avahi resolve found + CHIP:DIS: Node ID resolved for BFCBED670D527591:000000000001B669 + CHIP:DIS: Addr 0: [fe80::dea6:32ff:feba:b3f7]:5540 disabled: true - label: - "Commissioner and Commissionee discover each other on the operational - network using operational discovery" + "Commissioner opens a CASE session with TH over operational network" verification: | + Verifiy on DUT: + CHIP:SC: Establishing CASE session disabled: true - - label: "Commissioner and Commissionee establish encryption keys with CASE" + - label: "Commissioner sends CommissioningComplete command" verification: | + Verifiy on DUT: + CHIP:CTL: Received CommissioningComplete response + CHIP:CTL: Successfully finished commissioning step 'SendComplete' disabled: true - label: - "Commissioner and Commissionee perform commissioning complete message - exchange using CommissioningComplete command and - CommissioningCompleteResponse command" + "Commissioning channel between the Commissioner and Commissionee is + terminated." verification: | + Verify the following on DUT: + CHIP:CTL: Successfully finished commissioning step 'SendComplete' + CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' + CHIP:CTL: Performing next commissioning step 'Cleanup' + CHIP:CTL: Successfully finished commissioning step 'Cleanup' + CHIP:TOO: Device commissioning completed with success disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml index fbf0f2ddbe71bf..dfc4efa8cdad97 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_6.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: - 7.3.6. [TC-DD-3.6] Commissioning Flow - Non-concurrent [DUT - Commissioner] + 3.3.6. [TC-DD-3.6] Commissioning Flow - Non-concurrent [DUT - Commissioner] config: nodeId: 0x12344321 @@ -23,265 +23,386 @@ config: tests: - label: - "Commissioner and Commissionee discover each other and connect via the - discovery mode applicable for the DUT." + "Commissioner has regulatory and fabric information available and has + accurate date, time and timezone" verification: | - On DUT: sudo ./chip-all-clusters-app - - - On Controller: ./chip-tool discover commissionables - - 1. Connect the device to Ethernet - 2. Disover the device using CHIP Tool . ./chip-tool discover commissionables - 3. connect -ip , - 4. Once device is provisioned, read 'Product Name' attribute from the Basic cluster. Example:./chip-tool basic read product-name 1 0 - - Reference : below Full log for the above commands (click on this cell if you like to see complete log) - - - controller > ./chip-tool discover commissionables - Waiting for device responses... - CHIP:CTL: Generating ICAC - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== - CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> - CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> - CHIP:DL: AUDIT: * buf1: 3BE3E264C0A0A053248E93609D22044A - CHIP:DL: AUDIT: * buf2: E69C8767AD6B60907AD3633E774F38EB - CHIP:DL: AUDIT: * r1: 0x2A0E6454 r2: 0x16315893 - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9yXPat) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/reboot-count = 23 (0x17) - CHIP:DL: Got Ethernet interface: eth0 - CHIP:DL: Found the primary Ethernet interface:eth0 - CHIP:DL: Got WiFi interface: wlan0 - CHIP:DL: Failed to reset WiFi statistic counts - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: TransportMgr initialized - CHIP:DIS: Init fabric pairing table with server storage - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-zgCtZd) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 25000 (0x61A8) - CHIP:CTL: System State Initialized... - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../th - CHIP:ZCL: Using ZAP configuration... - CHIP:DIS: Verifying the received credentials - CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000000 - CHIP:IN: 0x04, 0x66, 0xd6, 0xcf, 0x4c, 0x1e, 0x11, 0xc3, - CHIP:IN: 0x52, 0x4f, 0xa6, 0x8c, 0x6e, 0x65, 0x46, 0xdc, - CHIP:IN: 0x90, 0x1b, 0x5f, 0x42, 0x9f, 0x69, 0xd1, 0xb7, - CHIP:IN: 0x7d, 0xf3, 0x6b, 0x54, 0x12, 0x6c, 0x12, 0x59, - CHIP:IN: 0x5b, 0xc3, 0x07, 0x1c, 0x5c, 0xf4, 0x4e, 0x5f, - CHIP:IN: 0x71, 0x06, 0x9a, 0xbb, 0x2f, 0xef, 0x20, 0x0d, - CHIP:IN: 0x0e, 0x9b, 0x26, 0x3e, 0x8d, 0x46, 0x09, 0xd8, - CHIP:IN: 0xfd, 0xa1, 0xc0, 0x10, 0x4f, 0x05, 0x14, 0x99, - CHIP:IN: 0x22, - CHIP:IN: Generated compressed fabric ID - CHIP:IN: 0x4a, 0x53, 0x1e, 0x52, 0x06, 0xed, 0x06, 0xda, - CHIP:DIS: Added new fabric at index: 1, Initialized: 1 - CHIP:DIS: Assigned compressed fabric ID: 0x4A531E5206ED06DA, node ID: 0x000000000001B669 - CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x4A531E5206ED06DA - CHIP:DL: CHIP task running - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA - CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - - - controller> sudo ./chip-tool pairing ethernet 112233 20202021 3840 192.168.1.12 5540 - - Output of this command in cell number I6 and J6 due to cell constraint of maximum size. - - - controller> sudo ./chip-tool basic read product-name 0x000000000001B669 0 - - ,, disabled: true - label: - "Establish encryption keys with Password Authenticated Session - Establishment on the commissioning channel" + "Commissioner and Commissionee discover each other and connect via the + discovery mode applicable for the DUT." verification: | + On TH: start BLE Advertising by specific DUT implementation - disabled: true - - - label: - "Commissioner arms Fail-safe timer on the Commissionee using - ArmFailSafe command" - verification: | + On DUT: start commissioning process(need to obtain the Thread dataset first) + ./chip-tool pairing ble-thread 1 hex:0e080000000000010000000300000f35060004001fffe0020811111111222222220708fd27e57b1b1e22d9051000112233445566778899aabbccddeeff030e4f70656e54687265616444656d6f01021234041061e1206d2c2b46e079eb775f41fc72190c0402a0fff8 20202021 3840 + ,, disabled: true - label: - "Commissioner configures the Commissionee UTC time, timezone, DST - offset, and regulatory information at the Commissionee." + "Establish encryption keys with Password Authenticated Session + Establishment on the commissioning channel" verification: | - + On DUT: + CHIP:SC: Received PBKDF param response disabled: true - label: - "Commissioner establishes the authenticity of the Commissionee as a - certified CHIP device." + "Commissioner SHALL re-arm Fail-safe timer on Commissionee within 60s + (the autonomously Fail-safe timer length set by Commissionee)" verification: | - + On DUT: + CHIP:CTL: Arming failsafe (60 seconds) disabled: true - label: - "Commissioner configures Fabric information using SetFabric command." + "If (PICS_WIFI) or (PICS_THREAD), Commissioner SHALL configure + regulatory information in the Commissionee." verification: | - + Need chip-tool implementation disabled: true - label: "Commissioner requests operational CSR from Commissionee with OperationalCSRRequest command" verification: | - + On DUT: + CHIP:CTL: Sending CSR request to 0xffffa4001730 device + CHIP:DMG: ICR moving to [AddingComm] + CHIP:DMG: ICR moving to [AddedComma] + CHIP:IN: Prepared secure message 0xffffb9ba6db8 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45042i with MessageCounter:12011388. + CHIP:IN: Sending encrypted msg 0xffffb9ba6db8 with MessageCounter:12011388 to 0x0000000000000001 (1) at monotonic time: 304120 msec + CHIP:DMG: ICR moving to [CommandSen] + CHIP:CTL: Sent CSR request, waiting for the CSR + CHIP:DMG: ICR moving to [AwaitingDe] + CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + CHIP:DL: Indication received, conn = 0xffffb0044210 + CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:DL: Indication received, conn = 0xffffb0044210 + CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508040 on exchange 45042i + CHIP:EM: Found matching exchange: 45042i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0x5, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = [ + CHIP:DMG: 0x15, 0x30, 0x1, 0xcd, 0x30, 0x81, 0xca, 0x30, 0x70, 0x2, 0x1, 0x0, 0x30, 0xe, 0x31, 0xc, 0x30, 0xa, 0x6, 0x3, 0x55, 0x4, 0xa, 0xc, 0x3, 0x43, 0x53, 0x52, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86 + CHIP:DMG: ] + CHIP:DMG: 0x1 = [ + CHIP:DMG: 0xea, 0xd6, 0x96, 0x53, 0x4d, 0x46, 0x1d, 0xd6, 0xcc, 0x7f, 0x25, 0x50, 0x80, 0x4c, 0x2a, 0xe9, 0xc8, 0xb8, 0x1b, 0x34, 0xca, 0x98, 0x38, 0x42, 0x74, 0xc2, 0x13, 0xf4, 0x10, 0x4d, 0xa2, 0x44, 0x38, 0x98, 0x28, 0xb6, 0xb1, 0x94, 0x6b, 0xd, 0x29, 0x1b + CHIP:DMG: ] + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0005 + CHIP:CTL: Received certificate signing request from the device + CHIP:CTL: Getting certificate chain for the device from the issuer + CHIP:CTL: Verifying Certificate Signing Request + CHIP:CTL: Generating NOC + CHIP:CTL: Providing certificate chain to the commissioner + CHIP:CTL: Received callback from the CA for NOC Chain generation. Status ../../src/controller/ExampleOperationalCredentialsIssuer.cpp:225: Success disabled: true - label: - "Commissioner generates or otherwise obtains an Operational - Certificate containing Operational ID in response - OperationalCSRRequest command using ecosystem-specific means" - verification: | - - disabled: true - - - label: "Commissioner configures operational credentials" + "Commissioner configures operational credentials on DUT if not + previously installed" verification: | - + On DUT: + [1651218829.220063][3273:3278] CHIP:CTL: Sending root certificate to the device + [1651218829.220201][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218829.222415][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218829.222549][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba6b98 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45043i with MessageCounter:12011389. + [1651218829.222616][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba6b98 with MessageCounter:12011389 to 0x0000000000000001 (1) at monotonic time: 305872 msec + [1651218829.222746][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218829.222789][3273:3278] CHIP:CTL: Sent root certificate to the device + [1651218829.223121][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218829.306861][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.404144][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.454121][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218829.454352][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508041 on exchange 45043i + CHIP:EM: Found matching exchange: 45043i, Delegate: 0xffffa400def0 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandStatusIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0xb, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: StatusIB = + CHIP:DMG: { + CHIP:DMG: status = 0x0, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000B Status=0x0 + CHIP:CTL: Device confirmed that it has received the root certificate disabled: true - - label: "Commissioner configures ACL." + - label: + "Commissioner configures itself as administrator in ACL on TH if + needed" verification: | - + On DUT: + [1651218829.457248][3273:3278] CHIP:CTL: Sending operational certificate chain to the device + [1651218829.457372][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218829.460013][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218829.460273][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7828 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45044i with MessageCounter:12011390. + [1651218829.460374][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7828 with MessageCounter:12011390 to 0x0000000000000001 (1) at monotonic time: 306110 msec + [1651218829.460602][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218829.460684][3273:3278] CHIP:CTL: Sent operational certificate to the device + [1651218829.460778][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218829.550574][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.648065][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218829.745594][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218833.988087][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218833.988336][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1651218833.988598][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508042 on exchange 45044i + CHIP:EM: Found matching exchange: 45044i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x3e, + CHIP:DMG: CommandId = 0x8, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = 1, + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 + CHIP:CTL: Device returned status 0 on receiving the NOC + CHIP:CTL: Operational credentials provisioned on device 0xffffa4001730 disabled: true - label: - "Commissioner configures the operational network at the Commissionee." + "Commissioner configures operational network on TH if TH both supports + and requires" verification: | - + On DUT: + [1651218833.995054][3273:3278] CHIP:CTL: Adding thread network + [1651218833.995176][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218833.995253][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218833.995431][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7848 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45045i with MessageCounter:12011391. + [1651218833.995523][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7848 with MessageCounter:12011391 to 0x0000000000000001 (1) at monotonic time: 310645 msec + [1651218833.995723][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218833.995823][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218834.084548][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218834.134690][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218834.134918][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508043 on exchange 45045i + CHIP:EM: Found matching exchange: 45045i, Delegate: 0xffffa400def0 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x31, + CHIP:DMG: CommandId = 0x5, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = "", + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + CHIP:CTL: Received NetworkConfig response disabled: true - label: - "Commissioner triggers the Commissionee to connect to the operational - network" + "Commissioner instructs Commissionee to connect to operational network + if not already connected" verification: | - + On DUT: + [1651218834.137891][3273:3278] CHIP:CTL: Enabling thread network + [1651218834.138014][3273:3278] CHIP:DMG: ICR moving to [AddingComm] + [1651218834.138086][3273:3278] CHIP:DMG: ICR moving to [AddedComma] + [1651218834.138236][3273:3278] CHIP:IN: Prepared secure message 0xffffb9ba7938 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 45046i with MessageCounter:12011392. + [1651218834.138325][3273:3278] CHIP:IN: Sending encrypted msg 0xffffb9ba7938 with MessageCounter:12011392 to 0x0000000000000001 (1) at monotonic time: 310788 msec + [1651218834.138522][3273:3278] CHIP:DMG: ICR moving to [CommandSen] + [1651218834.138628][3273:3278] CHIP:DMG: ICR moving to [AwaitingDe] + [1651218834.231701][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 + [1651218834.426948][3273:3276] CHIP:DL: Indication received, conn = 0xffffb0044210 + [1651218834.427186][3273:3278] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 + [1651218834.427443][3273:3278] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:8508044 on exchange 45046i + CHIP:EM: Found matching exchange: 45046i, Delegate: 0xffffb0040000 + CHIP:DMG: ICR moving to [ResponseRe] + CHIP:DMG: InvokeResponseMessage = + CHIP:DMG: { + CHIP:DMG: suppressResponse = false, + CHIP:DMG: InvokeResponseIBs = + CHIP:DMG: [ + CHIP:DMG: InvokeResponseIB = + CHIP:DMG: { + CHIP:DMG: CommandDataIB = + CHIP:DMG: { + CHIP:DMG: CommandPathIB = + CHIP:DMG: { + CHIP:DMG: EndpointId = 0x0, + CHIP:DMG: ClusterId = 0x31, + CHIP:DMG: CommandId = 0x7, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: CommandData = + CHIP:DMG: { + CHIP:DMG: 0x0 = 0, + CHIP:DMG: 0x1 = "", + CHIP:DMG: 0x2 = 0, + CHIP:DMG: }, + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: }, + CHIP:DMG: + CHIP:DMG: ], + CHIP:DMG: + CHIP:DMG: InteractionModelRevision = 1 + CHIP:DMG: }, + CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 + CHIP:CTL: Received ConnectNetwork response disabled: true - label: - "Commissioner and Commissionee discover each other on the operational - network using operational discovery" + "Commissioning channel between the Commissioner and Commissionee is + terminated." verification: | - + 1. Verify the channel was terminated on DUT=chip-tool + [1651271753284] [23287:743790] CHIP: [CTL] Received CommissioningComplete response + [1651271753284] [23287:743790] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651271753284] [23287:743790] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651271753284] [23287:743790] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651271753284] [23287:743790] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' + [1651271753284] [23287:743790] CHIP: [TOO] Device commissioning completed with success disabled: true - - label: "Commissioner and Commissionee establish encryption keys with CASE" + - label: "Commissioner starts discovery of TH using Operational Discovery" verification: | - + On DUT: + CHIP:DL: Avahi resolve found + CHIP:DIS: Node ID resolved for 0x0000000000000001 + CHIP:DIS: Addr 0: [fd11:22::9d96:8fcf:10cf:799e]:5540 + CHIP:CTL: OperationalDiscoveryComplete for device ID 0x0000000000000001 disabled: true - label: - "Commissioner and Commissionee perform commissioning complete message - exchange using CommissioningComplete command and - CommissioningCompleteResponse command" + "Commissioner opens a CASE session with TH over operational network" verification: | + On DUT: + CHIP:SC: Sent Sigma1 msg + CHIP:CTL: Address resolved for node: 0x0000000000000001 + CHIP:EM: Received message of type 0x31 with protocolId (0, 0) and MessageCounter:1066460336 on exchange 45047i + CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8 + CHIP:EM: Rxd Ack; Removing MessageCounter:2352378411 from Retrans Table on exchange 45047i + CHIP:EM: Removed CHIP MessageCounter:2352378411 from RetransTable on exchange 45047i + CHIP:SC: Received Sigma2 msg + CHIP:SC: Peer assigned session session ID 2 + CHIP:SC: The device does not support GetClock_RealTimeMS() API. This will eventually result in CASE session setup failures. + CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000001 and root pubkey + CHIP:IN: 0x04, 0x6e, 0x3e, 0x58, 0x9d, 0x08, 0xd6, 0xae, + CHIP:IN: 0xe9, 0xff, 0x9b, 0x8f, 0xba, 0x6f, 0x57, 0x73, + CHIP:IN: 0x21, 0xc4, 0xe2, 0x7b, 0x09, 0xe4, 0x24, 0x7f, + CHIP:IN: 0x55, 0x44, 0x3b, 0xf2, 0x7c, 0x13, 0x45, 0x3b, + CHIP:IN: 0x82, 0xa8, 0x42, 0x96, 0xb4, 0x36, 0x78, 0x20, + CHIP:IN: 0xa1, 0x37, 0x69, 0xf0, 0x20, 0xc9, 0x20, 0x7e, + CHIP:IN: 0x66, 0x45, 0x84, 0x53, 0x1b, 0x3e, 0xd2, 0x61, + CHIP:IN: 0xb6, 0x89, 0x27, 0xfd, 0xe8, 0x23, 0x69, 0x6d, + CHIP:IN: 0x93, + CHIP:IN: Generated compressed fabric ID + CHIP:IN: 0xa3, 0x54, 0xab, 0x2a, 0xa2, 0x1f, 0x8e, 0x48, + CHIP:SC: Found MRP parameters in the message + CHIP:SC: Sending Sigma3 + CHIP:EM: Piggybacking Ack for MessageCounter:1066460336 on exchange: 45047i + CHIP:IN: Prepared unauthenticated message 0xaaaad7ce1bf8 to 0x0000000000000000 (0) of type 0x32 and protocolId (0, 0) on exchange 45047i with MessageCounter:2352378412. + CHIP:IN: Sending unauthenticated msg 0xaaaad7ce1bf8 with MessageCounter:2352378412 to 0x0000000000000000 at monotonic time: 315803 msec + CHIP:SC: Sent Sigma3 msg + CHIP:EM: Received message of type 0x40 with protocolId (0, 0) and MessageCounter:1066460337 on exchange 45047i + CHIP:EM: Found matching exchange: 45047i, Delegate: 0xffffa400f7f8 + CHIP:EM: Rxd Ack; Removing MessageCounter:2352378412 from Retrans Table on exchange 45047i + CHIP:EM: Removed CHIP MessageCounter:2352378412 from RetransTable on exchange 45047i + CHIP:SC: Success status report received. Session was established + CHIP:IN: New secure session created for device 0x0000000000000001, LSID:2 PSID:2! + disabled: true + - label: "Commissioner sends CommissioningComplete command" + verification: | + On DUT: + CHIP:CTL: Received CommissioningComplete response + CHIP:CTL: Rendezvous cleanup + CHIP:TOO: Device commissioning completed with success disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_4_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_4_1.yaml deleted file mode 100644 index 08c5bd3effbb08..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_DD_4_1.yaml +++ /dev/null @@ -1,63 +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: 7.4.1. [TC-DD-4.1] Operational Certificate Authority Verification - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH starts the commissioning process" - disabled: true - - - label: "DUT creates an Onboarding Payload" - disabled: true - - - label: "DUT begins to advertise" - disabled: true - - - label: - "TH performs the Attestation procedure and include the Commissioning - Certification" - disabled: true - - - label: - "TH selects an Operational Certificate Authority to use TH generates Operational Credential for the DUT TH sends - relevant Fabric information, Operational Certificate and Root CA - Certificate to DUT" - disabled: true - - - label: - "TH does not create an ACL (Access Control List) entry for the DUT - (authorized Node)" - disabled: true - - - label: - "TH creates an ACL (Access Control List) entry for the DUT (authorized - Node)" - disabled: true - - - label: - "TH does not give to DUT enough privileges to delete the used - operational CA in the process" - disabled: true - - - label: - "TH gives to DUT enough privileges to delete the used operational CA - in the process" - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_GR_1_1.yaml b/src/app/tests/suites/certification/Test_TC_GR_1_1.yaml new file mode 100644 index 00000000000000..a8c4468b85433f --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_GR_1_1.yaml @@ -0,0 +1,88 @@ +# 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.1.1. [TC-GR-1.1] Global Attributes [DUT-Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH" + verification: | + + disabled: true + + - label: "TH reads the ClusterRevision from DUT" + verification: | + ./chip-tool groups read cluster-revision 1 0 + + [1651216621.203474][2391:2396] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_FFFD DataVersion: 745654550 + [1651216621.204919][2391:2396] CHIP:TOO: ClusterRevision: 4 + disabled: true + + - label: "TH reads the FeatureMap from DUT" + verification: | + ./chip-tool groups read feature-map 1 0 + + [1651216952.185475][2414:2419] CHIP:DMG: + [1651216952.185500][2414:2419] CHIP:DMG: SuppressResponse = true, + [1651216952.185525][2414:2419] CHIP:DMG: InteractionModelRevision = 1 + [1651216952.185548][2414:2419] CHIP:DMG: } + [1651216952.185658][2414:2419] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: "TH reads AttribubteList from DUT" + verification: | + ./chip-tool groups read attribute-list 1 0 + + [1651217016.772370][2424:2429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_FFFB DataVersion: 745654550 + [1651217016.772471][2424:2429] CHIP:TOO: AttributeList: 5 entries + [1651217016.772519][2424:2429] CHIP:TOO: [1]: 0 + [1651217016.772558][2424:2429] CHIP:TOO: [2]: 65528 + [1651217016.772595][2424:2429] CHIP:TOO: [3]: 65529 + [1651217016.772632][2424:2429] CHIP:TOO: [4]: 65531 + [1651217016.772667][2424:2429] CHIP:TOO: [5]: 65533 + disabled: true + + - label: "TH reads EventList from DUT" + verification: | + Event List is not implemented + disabled: true + + - label: "TH reads AcceptedCommandList from DUT" + verification: | + ./chip-tool groups read accepted-command-list 1 0 + + [1651217107.034926][2435:2440] CHIP:TOO: AcceptedCommandList: 6 entries + [1651217107.034984][2435:2440] CHIP:TOO: [1]: 0 + [1651217107.035028][2435:2440] CHIP:TOO: [2]: 1 + [1651217107.035070][2435:2440] CHIP:TOO: [3]: 2 + [1651217107.035112][2435:2440] CHIP:TOO: [4]: 3 + [1651217107.035153][2435:2440] CHIP:TOO: [5]: 4 + [1651217107.035194][2435:2440] CHIP:TOO: [6]: 5 + disabled: true + + - label: "TH reads GeneratedCommandList from DUT" + verification: | + ./chip-tool groups read generated-command-list 1 0 + + [1651217152.020233][2444:2449] CHIP:TOO: GeneratedCommandList: 4 entries + [1651217152.020276][2444:2449] CHIP:TOO: [1]: 0 + [1651217152.020312][2444:2449] CHIP:TOO: [2]: 1 + [1651217152.020346][2444:2449] CHIP:TOO: [3]: 2 + [1651217152.020380][2444:2449] CHIP:TOO: [4]: 3 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_GR_2_1.yaml b/src/app/tests/suites/certification/Test_TC_GR_2_1.yaml new file mode 100644 index 00000000000000..d18fbe21449373 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_GR_2_1.yaml @@ -0,0 +1,51 @@ +# 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.1. [TC-GR-2.1] Groups Cluster Attributes [DUT-Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH reads NameSupport attribute from DUT" + verification: | + ./chip-tool groups read name-support 1 0 + + [1651217306.461810][2457:2462] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_0000 DataVersion: 745654550 + [1651217306.461894][2457:2462] CHIP:TOO: name support: 128 + disabled: true + + - label: "TH writes NameSupport attribute as 1" + verification: | + ./chip-tool groups write-by-id 0x0000 1 1 0 + + [1651217949.041814][2514:2519] CHIP:DMG: } + [1651217949.041889][2514:2519] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) + disabled: true + + - label: "TH reads NameSupport attribute from DUT" + verification: | + ./chip-tool groups read name-support 1 0 + + [1651217306.461810][2457:2462] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Attribute 0x0000_0000 DataVersion: 745654550 + [1651217306.461894][2457:2462] CHIP:TOO: name support: 128 + disabled: true + + - label: "TH reads Group Names from DUT" + verification: | + FeatureMap is not Implemented + disabled: true 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 new file mode 100644 index 00000000000000..a7d3caa2278263 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_GR_2_2.yaml @@ -0,0 +1,438 @@ +# 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_3_1.yaml b/src/app/tests/suites/certification/Test_TC_GR_3_1.yaml new file mode 100644 index 00000000000000..c05374dc1072e3 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_GR_3_1.yaml @@ -0,0 +1,37 @@ +# 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.3.1. [TC-GR-3.1] Groups Cluster Attributes [DUT-Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "DUT reads NameSupport attribute from TH" + verification: | + [1651217683.754603][2825:2825] CHIP:IM: Received Read request + [1651217683.754677][2825:2825] CHIP:DMG: ReadRequestMessage = + [1651217683.754708][2825:2825] CHIP:DMG: { + [1651217683.754733][2825:2825] CHIP:DMG: AttributePathIBs = + [1651217683.754764][2825:2825] CHIP:DMG: [ + [1651217683.754795][2825:2825] CHIP:DMG: AttributePathIB = + [1651217683.754837][2825:2825] CHIP:DMG: { + [1651217683.754891][2825:2825] CHIP:DMG: Endpoint = 0x0, + [1651217683.754934][2825:2825] CHIP:DMG: Cluster = 0x4, + [1651217683.754975][2825:2825] CHIP:DMG: Attribute = 0x0000_0000, + [1651217683.755014][2825:2825] CHIP:DMG: } + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_GR_3_2.yaml b/src/app/tests/suites/certification/Test_TC_GR_3_2.yaml new file mode 100644 index 00000000000000..16135033b43667 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_GR_3_2.yaml @@ -0,0 +1,216 @@ +# 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.3.2. [TC-GR-3.2] Groups Cluster Commands [DUT-Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "DUT sends AddGroup command to TH" + verification: | + ./chip-tool groups add-group 0x0021 gp1 1 0 + + [1651225952.475511][2825:2825] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:1704882 on exchange 15154r + [1651225952.475578][2825:2825] CHIP:EM: Handling via exchange: 15154r, Delegate: 0xaaaae659a088 + [1651225952.475751][2825:2825] CHIP:DMG: InvokeRequestMessage = + [1651225952.475801][2825:2825] CHIP:DMG: { + [1651225952.475843][2825:2825] CHIP:DMG: suppressResponse = false, + + [1651225952.475892][2825:2825] CHIP:DMG: timedRequest = false, + [1651225952.475937][2825:2825] CHIP:DMG: InvokeRequests = + [1651225952.475993][2825:2825] CHIP:DMG: [ + [1651225952.476039][2825:2825] CHIP:DMG: CommandDataIB = + [1651225952.476101][2825:2825] CHIP:DMG: { + [1651225952.476182][2825:2825] CHIP:DMG: CommandPathIB = + [1651225952.476242][2825:2825] CHIP:DMG: { + [1651225952.476306][2825:2825] CHIP:DMG: EndpointId = 0x0, + [1651225952.476367][2825:2825] CHIP:DMG: ClusterId = 0x4, + [1651225952.476432][2825:2825] CHIP:DMG: CommandId = 0x0, + [1651225952.476488][2825:2825] CHIP:DMG: }, + [1651225952.476548][2825:2825] CHIP:DMG: + [1651225952.476600][2825:2825] CHIP:DMG: CommandData = + [1651225952.476656][2825:2825] CHIP:DMG: { + [1651225952.476712][2825:2825] CHIP:DMG: 0x0 = 33, + [1651225952.476783][2825:2825] CHIP:DMG: 0x1 = "gp1", + [1651225952.476843][2825:2825] CHIP:DMG: }, + [1651225952.476895][2825:2825] CHIP:DMG: }, + [1651225952.476954][2825:2825] CHIP:DMG: + [1651225952.476998][2825:2825] CHIP:DMG: ], + [1651225952.477053][2825:2825] CHIP:DMG: + [1651225952.477097][2825:2825] CHIP:DMG: InteractionModelRevision = 1 + [1651225952.477140][2825:2825] CHIP:DMG: }, + [1651225952.477247][2825:2825] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m + [1651225952.477307][2825:2825] CHIP:DMG: AccessControl: allowed + [1651225952.477356][2825:2825] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0000 + disabled: true + + - label: "DUT sends ViewGroup command to TH" + verification: | + ./chip-tool groups view-group 0x0021 1 0 + + + [1651226101.768577][2825:2825] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:3930774 on exchange 43755r + [1651226101.768631][2825:2825] CHIP:EM: Handling via exchange: 43755r, Delegate: 0xaaaae659a088 + [1651226101.768775][2825:2825] CHIP:DMG: InvokeRequestMessage = + [1651226101.768817][2825:2825] CHIP:DMG: { + [1651226101.768851][2825:2825] CHIP:DMG: suppressResponse = false, + + [1651226101.768890][2825:2825] CHIP:DMG: timedRequest = false, + [1651226101.768926][2825:2825] CHIP:DMG: InvokeRequests = + [1651226101.768970][2825:2825] CHIP:DMG: [ + [1651226101.769006][2825:2825] CHIP:DMG: CommandDataIB = + [1651226101.769056][2825:2825] CHIP:DMG: { + [1651226101.769095][2825:2825] CHIP:DMG: CommandPathIB = + [1651226101.769142][2825:2825] CHIP:DMG: { + [1651226101.769187][2825:2825] CHIP:DMG: EndpointId = 0x0, + [1651226101.769236][2825:2825] CHIP:DMG: ClusterId = 0x4, + [1651226101.769288][2825:2825] CHIP:DMG: CommandId = 0x1, + [1651226101.769334][2825:2825] CHIP:DMG: }, + [1651226101.769382][2825:2825] CHIP:DMG: + [1651226101.769423][2825:2825] CHIP:DMG: CommandData = + [1651226101.769467][2825:2825] CHIP:DMG: { + [1651226101.769514][2825:2825] CHIP:DMG: 0x0 = 33, + [1651226101.769563][2825:2825] CHIP:DMG: }, + [1651226101.769605][2825:2825] CHIP:DMG: }, + [1651226101.769651][2825:2825] CHIP:DMG: + [1651226101.769686][2825:2825] CHIP:DMG: ], + [1651226101.769730][2825:2825] CHIP:DMG: + [1651226101.769764][2825:2825] CHIP:DMG: InteractionModelRevision = 1 + [1651226101.769797][2825:2825] CHIP:DMG: }, + [1651226101.769884][2825:2825] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=o + [1651226101.769934][2825:2825] CHIP:DMG: AccessControl: allowed + [1651226101.769972][2825:2825] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0001 + disabled: true + + - label: "DUT sends GetGroupMembership command to TH" + verification: | + ./chip-tool groups get-group-membership 0x23 1 0 + [1651226161.642052][3143:3143] CHIP:TOO: Error while encoding GroupList as an array. + disabled: true + + - label: "DUT sends RemoveGroup command to TH" + verification: | + ./chip-tool groups remove-group 0x0021 1 0 + + [1651226210.554644][2825:2825] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:10617431 on exchange 56325r + [1651226210.554714][2825:2825] CHIP:EM: Handling via exchange: 56325r, Delegate: 0xaaaae659a088 + [1651226210.554850][2825:2825] CHIP:DMG: InvokeRequestMessage = + [1651226210.554886][2825:2825] CHIP:DMG: { + [1651226210.554915][2825:2825] CHIP:DMG: suppressResponse = false, + + [1651226210.554958][2825:2825] CHIP:DMG: timedRequest = false, + [1651226210.554988][2825:2825] CHIP:DMG: InvokeRequests = + [1651226210.555026][2825:2825] CHIP:DMG: [ + [1651226210.555055][2825:2825] CHIP:DMG: CommandDataIB = + [1651226210.555091][2825:2825] CHIP:DMG: { + [1651226210.555125][2825:2825] CHIP:DMG: CommandPathIB = + [1651226210.555164][2825:2825] CHIP:DMG: { + [1651226210.555203][2825:2825] CHIP:DMG: EndpointId = 0x0, + [1651226210.555248][2825:2825] CHIP:DMG: ClusterId = 0x4, + [1651226210.555291][2825:2825] CHIP:DMG: CommandId = 0x3, + [1651226210.555333][2825:2825] CHIP:DMG: }, + [1651226210.555376][2825:2825] CHIP:DMG: + [1651226210.555410][2825:2825] CHIP:DMG: CommandData = + [1651226210.555451][2825:2825] CHIP:DMG: { + [1651226210.555490][2825:2825] CHIP:DMG: 0x0 = 33, + [1651226210.555530][2825:2825] CHIP:DMG: }, + [1651226210.555566][2825:2825] CHIP:DMG: }, + [1651226210.555604][2825:2825] CHIP:DMG: + [1651226210.555633][2825:2825] CHIP:DMG: ], + [1651226210.555669][2825:2825] CHIP:DMG: + [1651226210.555698][2825:2825] CHIP:DMG: InteractionModelRevision = 1 + [1651226210.555727][2825:2825] CHIP:DMG: }, + [1651226210.555799][2825:2825] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m + [1651226210.555842][2825:2825] CHIP:DMG: AccessControl: allowed + [1651226210.555875][2825:2825] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0003 + disabled: true + + - label: "DUT sends RemoveAllGroup command to TH" + verification: | + ./chip-tool groups remove-all-groups 1 0 + + + [1651226278.482008][2825:2825] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:14699736 on exchange 29554r + [1651226278.482058][2825:2825] CHIP:EM: Handling via exchange: 29554r, Delegate: 0xaaaae659a088 + [1651226278.482191][2825:2825] CHIP:DMG: InvokeRequestMessage = + [1651226278.482225][2825:2825] CHIP:DMG: { + [1651226278.482254][2825:2825] CHIP:DMG: suppressResponse = false, + + [1651226278.482288][2825:2825] CHIP:DMG: timedRequest = false, + [1651226278.482317][2825:2825] CHIP:DMG: InvokeRequests = + [1651226278.482354][2825:2825] CHIP:DMG: [ + [1651226278.482384][2825:2825] CHIP:DMG: CommandDataIB = + [1651226278.482421][2825:2825] CHIP:DMG: { + [1651226278.482453][2825:2825] CHIP:DMG: CommandPathIB = + [1651226278.482492][2825:2825] CHIP:DMG: { + [1651226278.482532][2825:2825] CHIP:DMG: EndpointId = 0x0, + [1651226278.482572][2825:2825] CHIP:DMG: ClusterId = 0x4, + [1651226278.482615][2825:2825] CHIP:DMG: CommandId = 0x4, + [1651226278.482654][2825:2825] CHIP:DMG: }, + [1651226278.482694][2825:2825] CHIP:DMG: + [1651226278.482728][2825:2825] CHIP:DMG: CommandData = + [1651226278.482765][2825:2825] CHIP:DMG: { + [1651226278.482803][2825:2825] CHIP:DMG: }, + [1651226278.482839][2825:2825] CHIP:DMG: }, + [1651226278.482877][2825:2825] CHIP:DMG: + [1651226278.482906][2825:2825] CHIP:DMG: ], + [1651226278.482942][2825:2825] CHIP:DMG: + [1651226278.482971][2825:2825] CHIP:DMG: InteractionModelRevision = 1 + [1651226278.483000][2825:2825] CHIP:DMG: }, + [1651226278.483074][2825:2825] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m + [1651226278.483118][2825:2825] CHIP:DMG: AccessControl: allowed + [1651226278.483150][2825:2825] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0004 + disabled: true + + - label: "DUT sends AddGroupIfIdentifying command to TH" + verification: | + ./chip-tool groups add-group-if-identifying 0x0052 gp54 1 0 + + [1651226736.660973][2825:2825] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:4794753 on exchange 24526r + [1651226736.661024][2825:2825] CHIP:EM: Handling via exchange: 24526r, Delegate: 0xaaaae659a088 + [1651226736.661171][2825:2825] CHIP:DMG: InvokeRequestMessage = + [1651226736.661204][2825:2825] CHIP:DMG: { + [1651226736.661228][2825:2825] CHIP:DMG: suppressResponse = false, + + [1651226736.661264][2825:2825] CHIP:DMG: timedRequest = false, + [1651226736.661293][2825:2825] CHIP:DMG: InvokeRequests = + [1651226736.661328][2825:2825] CHIP:DMG: [ + [1651226736.661352][2825:2825] CHIP:DMG: CommandDataIB = + [1651226736.661383][2825:2825] CHIP:DMG: { + [1651226736.661413][2825:2825] CHIP:DMG: CommandPathIB = + [1651226736.661450][2825:2825] CHIP:DMG: { + [1651226736.661487][2825:2825] CHIP:DMG: EndpointId = 0x0, + [1651226736.661525][2825:2825] CHIP:DMG: ClusterId = 0x4, + [1651226736.661561][2825:2825] CHIP:DMG: CommandId = 0x5, + [1651226736.661596][2825:2825] CHIP:DMG: }, + [1651226736.661633][2825:2825] CHIP:DMG: + [1651226736.661661][2825:2825] CHIP:DMG: CommandData = + [1651226736.661697][2825:2825] CHIP:DMG: { + [1651226736.661734][2825:2825] CHIP:DMG: 0x0 = 82, + [1651226736.661776][2825:2825] CHIP:DMG: 0x1 = "gp54", + [1651226736.661809][2825:2825] CHIP:DMG: }, + [1651226736.661843][2825:2825] CHIP:DMG: }, + [1651226736.661877][2825:2825] CHIP:DMG: + [1651226736.661904][2825:2825] CHIP:DMG: ], + [1651226736.661935][2825:2825] CHIP:DMG: + [1651226736.661959][2825:2825] CHIP:DMG: InteractionModelRevision = 1 + [1651226736.661984][2825:2825] CHIP:DMG: }, + [1651226736.662052][2825:2825] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0004 e=0 p=m + [1651226736.662093][2825:2825] CHIP:DMG: AccessControl: allowed + [1651226736.662121][2825:2825] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0005 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_1.yaml deleted file mode 100644 index 5d043e77d0f566..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_1.yaml +++ /dev/null @@ -1,205 +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: - 3.1. [TC-NC-1.1] Verification on wifi connection and attributes check [DUT - - Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "Factory reset the DUT" - verification: | - - disabled: true - - - label: "TH1 is commissioned with DUT" - verification: | - - disabled: true - - - label: - "TH1 reads Descriptor Cluster from the DUT with EP0 TH1 reads - ServerList from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool descriptor read server-list 1 0 - - [1646214614.113925][6900:6905] CHIP:DMG: SuppressResponse = true, - [1646214614.113950][6900:6905] CHIP:DMG: InteractionModelRevision = 1 - [1646214614.113972][6900:6905] CHIP:DMG: } - [1646214614.115636][6900:6905] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001DataVersion: 3460417267 - [1646214614.115731][6900:6905] CHIP:TOO: server list: 25 entries - [1646214614.115784][6900:6905] CHIP:TOO: [1]: 3 - [1646214614.115810][6900:6905] CHIP:TOO: [2]: 4 - [1646214614.115834][6900:6905] CHIP:TOO: [3]: 29 - [1646214614.115858][6900:6905] CHIP:TOO: [4]: 30 - [1646214614.115882][6900:6905] CHIP:TOO: [5]: 31 - [1646214614.115906][6900:6905] CHIP:TOO: [6]: 40 - [1646214614.115930][6900:6905] CHIP:TOO: [7]: 42 - [1646214614.115954][6900:6905] CHIP:TOO: [8]: 43 - [1646214614.115978][6900:6905] CHIP:TOO: [9]: 44 - [1646214614.116002][6900:6905] CHIP:TOO: [10]: 45 - [1646214614.116025][6900:6905] CHIP:TOO: [11]: 46 - [1646214614.116049][6900:6905] CHIP:TOO: [12]: 48 - [1646214614.116073][6900:6905] CHIP:TOO: [13]: 49 - [1646214614.116096][6900:6905] CHIP:TOO: [14]: 50 - [1646214614.116120][6900:6905] CHIP:TOO: [15]: 51 - [1646214614.116144][6900:6905] CHIP:TOO: [16]: 52 - [1646214614.116168][6900:6905] CHIP:TOO: [17]: 53 - [1646214614.116192][6900:6905] CHIP:TOO: [18]: 54 - [1646214614.116215][6900:6905] CHIP:TOO: [19]: 55 - [1646214614.116239][6900:6905] CHIP:TOO: [20]: 60 - [1646214614.116263][6900:6905] CHIP:TOO: [21]: 62 - [1646214614.116287][6900:6905] CHIP:TOO: [22]: 63 - [1646214614.116310][6900:6905] CHIP:TOO: [23]: 64 - [1646214614.116334][6900:6905] CHIP:TOO: [24]: 65 - [1646214614.116358][6900:6905] CHIP:TOO: [25]: 1029 - [1646214614.116434][6900:6905] CHIP:EM: Sending Standalone Ack for MessageCounter:1857540 on exchange 31492i - disabled: true - - - label: "TH1 reads FeatureMap attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read feature-map 1 0 - - [1646216292.917209][7008:7013] CHIP:DMG: SuppressResponse = true, - [1646216292.917233][7008:7013] CHIP:DMG: InteractionModelRevision = 1 - [1646216292.917255][7008:7013] CHIP:DMG: } - [1646216292.917396][7008:7013] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFCDataVersion: 1979781767 - [1646216292.917463][7008:7013] CHIP:TOO: FeatureMap: 2 - [1646216292.917535][7008:7013] CHIP:EM: Sending Standalone Ack for MessageCounter:182244 on exchange 2996i - disabled: true - - - label: "TH1 reads the MaxNetworks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read max-networks 1 0 - - [1646216356.472036][7021:7026] CHIP:DMG: SuppressResponse = true, - [1646216356.472088][7021:7026] CHIP:DMG: InteractionModelRevision = 1 - [1646216356.472136][7021:7026] CHIP:DMG: } - [1646216356.472388][7021:7026] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 1979781767 - [1646216356.472511][7021:7026] CHIP:TOO: MaxNetworks: 1 - [1646216356.472624][7021:7026] CHIP:EM: Sending Standalone Ack for MessageCounter:4914191 on exchange 38527i - disabled: true - - - label: "TH1 reads the Networks attribute list from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read networks 1 0 - - [1646216660.523645][7061:7066] CHIP:DMG: SuppressResponse = true, - [1646216660.523697][7061:7066] CHIP:DMG: InteractionModelRevision = 1 - [1646216660.523748][7061:7066] CHIP:DMG: } - [1646216660.524025][7061:7066] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 1979781767 - [1646216660.524156][7061:7066] CHIP:TOO: Networks: 0 entries - [1646216660.524291][7061:7066] CHIP:EM: Sending Standalone Ack for MessageCounter:14276450 on exchange 28012i - disabled: true - - - label: "TH1 reads ScanMaxTimeSeconds attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read connect-max-time-seconds 1 0 - - [1646216949.280140][7091:7096] CHIP:DMG: SuppressResponse = true, - [1646216949.280193][7091:7096] CHIP:DMG: InteractionModelRevision = 1 - [1646216949.280240][7091:7096] CHIP:DMG: } - [1646216949.280501][7091:7096] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003DataVersion: 1979781767 - [1646216949.280624][7091:7096] CHIP:TOO: ConnectMaxTimeSeconds: 20 - [1646216949.280737][7091:7096] CHIP:EM: Sending Standalone Ack for MessageCounter:8269595 on exchange 2666i - disabled: true - - - label: "TH1 reads ConnectMaxTimeSeconds Attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read scan-max-time-seconds 1 0 - - [1646216873.504483][7078:7083] CHIP:DMG: SuppressResponse = true, - [1646216873.504519][7078:7083] CHIP:DMG: InteractionModelRevision = 1 - [1646216873.504552][7078:7083] CHIP:DMG: } - [1646216873.504741][7078:7083] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002DataVersion: 1979781767 - [1646216873.504833][7078:7083] CHIP:TOO: ScanMaxTimeSeconds: 10 - [1646216873.504917][7078:7083] CHIP:EM: Sending Standalone Ack for MessageCounter:6708918 on exchange 13997i - disabled: true - - - label: "TH1 reads InterfaceEnabled attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read interface-enabled 1 0 - - [1646217021.862336][7106:7111] CHIP:DMG: SuppressResponse = true, - [1646217021.862397][7106:7111] CHIP:DMG: InteractionModelRevision = 1 - [1646217021.862452][7106:7111] CHIP:DMG: } - [1646217021.862746][7106:7111] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 1979781767 - [1646217021.862850][7106:7111] CHIP:TOO: InterfaceEnabled: TRUE - [1646217021.863094][7106:7111] CHIP:EM: Sending Standalone Ack for MessageCounter:3161135 on exchange 55787i - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read last-networking-status 1 0 - - - [1646217109.850089][7117:7122] CHIP:DMG: SuppressResponse = true, - [1646217109.850135][7117:7122] CHIP:DMG: InteractionModelRevision = 1 - [1646217109.850177][7117:7122] CHIP:DMG: } - [1646217109.850450][7117:7122] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 1979781767 - [1646217109.850562][7117:7122] CHIP:TOO: LastNetworkingStatus: 0 - [1646217109.850669][7117:7122] CHIP:EM: Sending Standalone Ack for MessageCounter:4481761 on exchange 38865i - disabled: true - - - label: - "TH1 reads the LastNetworkID attribute from the DUT TH1 reads the - Networks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read last-network-id 1 0 - - [1646217207.932462][7127:7132] CHIP:DMG: SuppressResponse = true, - [1646217207.932516][7127:7132] CHIP:DMG: InteractionModelRevision = 1 - [1646217207.932565][7127:7132] CHIP:DMG: } - [1646217207.932823][7127:7132] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 1979781767 - [1646217207.932919][7127:7132] CHIP:TOO: LastNetworkID: - [1646217207.933048][7127:7132] CHIP:EM: Sending Standalone Ack for MessageCounter:3865700 on exchange 5677i - disabled: true - - - label: "TH1 reads the LastConnectErrorValue attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read last-connect-error-value 1 0 - - - [1646217256.305530][7140:7145] CHIP:DMG: SuppressResponse = true, - [1646217256.305592][7140:7145] CHIP:DMG: InteractionModelRevision = 1 - [1646217256.305649][7140:7145] CHIP:DMG: } - [1646217256.306032][7140:7145] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007DataVersion: 1979781767 - [1646217256.306161][7140:7145] CHIP:TOO: LastConnectErrorValue: 0 - [1646217256.306279][7140:7145] CHIP:EM: Sending Standalone Ack for MessageCounter:9268313 on exchange 31123 - disabled: true - - - label: "TH1 reads ClientGeneratedCommandList attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ '' ./chip-tool networkcommissioning read client-generated-command-list 1 0 - - - [1646218469.473647][7198:7203] CHIP:DMG: SuppressResponse = true, - [1646218469.473694][7198:7203] CHIP:DMG: InteractionModelRevision = 1 - [1646218469.473736][7198:7203] CHIP:DMG: } - [1646218469.474480][7198:7203] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9DataVersion: 1979781767 - [1646218469.474561][7198:7203] CHIP:TOO: ClientGeneratedCommandList: 7 entries - [1646218469.474615][7198:7203] CHIP:TOO: [1]: 0 - [1646218469.474642][7198:7203] CHIP:TOO: [2]: 2 - [1646218469.474666][7198:7203] CHIP:TOO: [3]: 3 - [1646218469.474690][7198:7203] CHIP:TOO: [4]: 4 - [1646218469.474713][7198:7203] CHIP:TOO: [5]: 5 - [1646218469.474736][7198:7203] CHIP:TOO: [6]: 6 - [1646218469.474760][7198:7203] CHIP:TOO: [7]: 8 - [1646218469.474830][7198:7203] CHIP:EM: Sending Standalone Ack for MessageCounter:4858130 on exchange 48356i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_10.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_10.yaml deleted file mode 100644 index 150cf1490a85f1..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_10.yaml +++ /dev/null @@ -1,55 +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: - 3.10. [TC-NC-1.10] Verification for RemoveNetwork Command for Thread - interface[DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends RemoveNetwork Command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - - ./chip-tool networkcommissioning remove-network 1111161622222211 0 162 0 - [1645774313.858714][4045:4050] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1645774313.858893][4045:4050] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1645774313.859065][4045:4050] CHIP:TOO: NetworkConfigResponse: { - [1645774313.859124][4045:4050] CHIP:TOO: networkingStatus: 5 - [1645774313.859164][4045:4050] CHIP:TOO: debugText: - [1645774313.859203][4045:4050] CHIP:TOO: } - [1645774313.859262][4045:4050] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads MaxNetworks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_11.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_11.yaml deleted file mode 100644 index 85d6ab3ec307e5..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_11.yaml +++ /dev/null @@ -1,56 +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: - 3.11. [TC-NC-1.11] Verificatrion for ConnectNetwork Command for Wifi - interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: "TH1 saves the timestamp as CT1" - verification: | - - disabled: true - - - label: - "TH1 sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userwifi_ssid1' and Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - disabled: true - - - label: "TH1 saves the timestamp as CT2" - verification: | - - disabled: true - - - label: "TH1 reads Networks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 sends CommissioningComplete Command from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_12.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_12.yaml deleted file mode 100644 index d16afafef40409..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_12.yaml +++ /dev/null @@ -1,66 +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: - 3.12. [TC-NC-1.12] Verificatrion for ConnectNetwork Command for Thread - interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: "TH1 saves the timestamp as CT1" - verification: | - - disabled: true - - - label: - "TH1 sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - - ./chip-tool networkcommissioning connect-network 1111161622222211 0 162 0 - - [1645774700.721104][4113:4118] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1645774700.721204][4113:4118] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 - [1645774700.721335][4113:4118] CHIP:TOO: ConnectNetworkResponse: { - [1645774700.721398][4113:4118] CHIP:TOO: networkingStatus: 5 - [1645774700.721453][4113:4118] CHIP:TOO: debugText: - [1645774700.721505][4113:4118] CHIP:TOO: errorValue: 0 - [1645774700.721559][4113:4118] CHIP:TOO: } - disabled: true - - - label: "TH1 saves the timestamp as CT2" - verification: | - - disabled: true - - - label: "TH1 reads Networks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 sends CommissioningComplete Command from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_13.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_13.yaml deleted file mode 100644 index b99604d85db496..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_13.yaml +++ /dev/null @@ -1,56 +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: - 3.13. [TC-NC-1.13] Verificatrion for ConnectNetwork Command for Ethernet - interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: "TH1 saves the timestamp as CT1" - verification: | - - disabled: true - - - label: - "TH1 sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Ethnet_id' and Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - disabled: true - - - label: "TH1 saves the timestamp as CT2" - verification: | - - disabled: true - - - label: "TH1 reads Networks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 sends CommissioningComplete Command from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_14.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_14.yaml deleted file mode 100644 index 7f84236a5e5546..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_14.yaml +++ /dev/null @@ -1,42 +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: - 3.14. [TC-NC-1.14] Verification for ReorderNetwork command for Wifi - interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends ReorderNetwork Command to the DUT with the following - arguments: NetworkID argument value as 'Userwifi_ssid1' NetworkIndex - argument value as 'Wifinet_idx3' Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - disabled: true - - - label: "TH1 reads Networks attribute list from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_15.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_15.yaml deleted file mode 100644 index 2c78b3a65e3723..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_15.yaml +++ /dev/null @@ -1,42 +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: - 3.15. [TC-NC-1.15] Verification for ReorderNetwork command for Thread - interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends ReorderNetwork Command to the DUT with the following - arguments: NetworkID argument value as 'Userth_op1' NetworkIndex - argument value as 'Thnet_idx2' Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - disabled: true - - - label: "TH1 reads Networks attribute list from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_16.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_16.yaml deleted file mode 100644 index fb8d6d1b13e90e..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_16.yaml +++ /dev/null @@ -1,62 +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: - 3.16. [TC-NC-1.16] NetworkNotFound value as LastNetworkingstatus argument - validation for wifi interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends RemoveNetwork Command to the DUT with NetworkID argument - value as 'Userwifi_ssid1' and Breadcrumb argument value as 0" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning remove-network GRLPrivate_EXT 0 1 0 - - [1646296227.059289][3118:3123] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1646296227.059353][3118:3123] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1646296227.059438][3118:3123] CHIP:TOO: NetworkConfigResponse: { - [1646296227.059487][3118:3123] CHIP:TOO: networkingStatus: 5 - [1646296227.059522][3118:3123] CHIP:TOO: debugText: - [1646296227.059556][3118:3123] CHIP:TOO: } - [1646296227.059598][3118:3123] CHIP:DMG: ICR moving to [AwaitingDe] - [1646296227.059667][3118:3123] CHIP:EM: Sending Standalone Ack for MessageCounter:15895540 on exchange 28900i - disabled: true - - - label: - "TH1 sends ConnectNetwork Command to the DUT with NetworkID value as - 'Userwifi_ssid1' and Breadcrumb value as 0" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning connect-network GRLPrivate_EXT 0 1 0 - - [1646297689.443117][3209:3214] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1646297689.443168][3209:3214] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 - [1646297689.443244][3209:3214] CHIP:TOO: ConnectNetworkResponse: { - [1646297689.443286][3209:3214] CHIP:TOO: networkingStatus: 5 - [1646297689.443315][3209:3214] CHIP:TOO: debugText: - [1646297689.443342][3209:3214] CHIP:TOO: errorValue: 0 - [1646297689.443371][3209:3214] CHIP:TOO: } - [1646297689.443407][3209:3214] CHIP:DMG: ICR moving to [AwaitingDe] - [1646297689.443461][3209:3214] CHIP:EM: Sending Standalone Ack for MessageCounter:16011443 on exchange 34839i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_17.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_17.yaml deleted file mode 100644 index 81b4580bb3baa8..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_17.yaml +++ /dev/null @@ -1,61 +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: - 3.17. [TC-NC-1.17] NetworkNotFound value as LastNetworkingstatus argument - validation for Thread interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends RemoveNetwork Command to the DUT with NetworkID argument - value as 'Userth_op1' and Breadcrumb argument value as 0" - verification: | - ./chip-tool networkcommissioning remove-network 1 0 162 0 - - [1645774811.423681][4127:4132] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1645774811.423787][4127:4132] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1645774811.423978][4127:4132] CHIP:TOO: NetworkConfigResponse: { - [1645774811.424046][4127:4132] CHIP:TOO: networkingStatus: 5 - [1645774811.424105][4127:4132] CHIP:TOO: debugText: - [1645774811.424165][4127:4132] CHIP:TOO: } - [1645774811.424256][4127:4132] CHIP:DMG: ICR moving to [AwaitingDe] - [1645774811.424362][4127:4132] CHIP:EM: Sending Standalone Ack for MessageCounter:5388547 on exchange 23393i - disabled: true - - - label: - "TH1 sends ConnectNetwork Command to the DUT with NetworkID value as - 'Userth_op1' and Breadcrumb value as 0" - verification: | - ./chip-tool networkcommissioning connect-network 1 0 162 0 - - [1645774599.313109][4096:4101] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1645774599.313202][4096:4101] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 - [1645774599.313317][4096:4101] CHIP:TOO: ConnectNetworkResponse: { - [1645774599.313372][4096:4101] CHIP:TOO: networkingStatus: 5 - [1645774599.313420][4096:4101] CHIP:TOO: debugText: - [1645774599.313469][4096:4101] CHIP:TOO: errorValue: 0 - [1645774599.313519][4096:4101] CHIP:TOO: } - [1645774599.313597][4096:4101] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_18.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_18.yaml deleted file mode 100644 index 4b8a303fdeafef..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_18.yaml +++ /dev/null @@ -1,45 +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: - 3.18. [TC-NC-1.18] NetworkNotFound value as LastNetworkingstatus argument - validation for Ethernet interface [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends ConnectNetwork Command to the DUT with NetworkID value as - 'Usereth_id' and Breadcrumb value as 0" - verification: | - '' ./chip-tool networkcommissioning connect-network GRLPrivate_EXT 0 1 0 - - [1646298622.867316][3284:3289] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 - [1646298622.867375][3284:3289] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 - [1646298622.867457][3284:3289] CHIP:TOO: ConnectNetworkResponse: { - [1646298622.867502][3284:3289] CHIP:TOO: networkingStatus: 5 - [1646298622.867535][3284:3289] CHIP:TOO: debugText: - [1646298622.867565][3284:3289] CHIP:TOO: errorValue: 0 - [1646298622.867597][3284:3289] CHIP:TOO: } - [1646298622.867635][3284:3289] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_2.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_2.yaml deleted file mode 100644 index 4c83676e71b102..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_2.yaml +++ /dev/null @@ -1,203 +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: - 3.2. [TC-NC-1.2] Verification on thread connection and attributes check [DUT - - Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "Factory reset the DUT" - verification: | - - disabled: true - - - label: "TH1 is commissioned with DUT" - verification: | - - disabled: true - - - label: - "TH1 reads Descriptor Cluster from the DUT with EP0 TH1 reads - ServerList from the DUT" - verification: | - buntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool descriptor read server-list 162 0 - - [1645772414.100694][3827:3832] CHIP:DMG: SuppressResponse = true, - [1645772414.100718][3827:3832] CHIP:DMG: InteractionModelRevision = 1 - [1645772414.100740][3827:3832] CHIP:DMG: } - [1645772414.102134][3827:3832] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001DataVersion: 3883095917 - [1645772414.102248][3827:3832] CHIP:TOO: server list: 21 entries - [1645772414.102291][3827:3832] CHIP:TOO: [1]: 4 - [1645772414.102317][3827:3832] CHIP:TOO: [2]: 29 - [1645772414.102341][3827:3832] CHIP:TOO: [3]: 31 - [1645772414.102366][3827:3832] CHIP:TOO: [4]: 40 - [1645772414.102389][3827:3832] CHIP:TOO: [5]: 42 - [1645772414.102413][3827:3832] CHIP:TOO: [6]: 43 - [1645772414.102436][3827:3832] CHIP:TOO: [7]: 44 - [1645772414.102459][3827:3832] CHIP:TOO: [8]: 48 - [1645772414.102482][3827:3832] CHIP:TOO: [9]: 49 - [1645772414.102506][3827:3832] CHIP:TOO: [10]: 50 - [1645772414.102529][3827:3832] CHIP:TOO: [11]: 51 - [1645772414.102552][3827:3832] CHIP:TOO: [12]: 52 - [1645772414.102575][3827:3832] CHIP:TOO: [13]: 53 - [1645772414.102598][3827:3832] CHIP:TOO: [14]: 54 - [1645772414.102622][3827:3832] CHIP:TOO: [15]: 55 - [1645772414.102645][3827:3832] CHIP:TOO: [16]: 59 - [1645772414.102669][3827:3832] CHIP:TOO: [17]: 60 - [1645772414.102692][3827:3832] CHIP:TOO: [18]: 62 - [1645772414.102715][3827:3832] CHIP:TOO: [19]: 63 - [1645772414.102738][3827:3832] CHIP:TOO: [20]: 64 - [1645772414.102761][3827:3832] CHIP:TOO: [21]: 65 - [1645772414.102925][3827:3832] CHIP:EM: Sending Standalone Ack for MessageCounter:15329672 on exchange 6140i - disabled: true - - - label: "TH1 reads FeatureMap attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read feature-map 162 0 - - - [1645772204.502545][3809:3814] CHIP:DMG: SuppressResponse = true, - [1645772204.502608][3809:3814] CHIP:DMG: InteractionModelRevision = 1 - [1645772204.502683][3809:3814] CHIP:DMG: } - [1645772204.503195][3809:3814] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFCDataVersion: 92121563 - [1645772204.503398][3809:3814] CHIP:TOO: FeatureMap: 2 - [1645772204.503556][3809:3814] CHIP:EM: Sending Standalone Ack for MessageCounter:5988746 on exchange 46140i - disabled: true - - - label: "TH1 reads the MaxNetworks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read max-networks 162 0 - - - [1645772548.257320][3837:3842] CHIP:DMG: SuppressResponse = true, - [1645772548.257381][3837:3842] CHIP:DMG: InteractionModelRevision = 1 - [1645772548.257437][3837:3842] CHIP:DMG: } - [1645772548.257735][3837:3842] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 92121563 - [1645772548.257878][3837:3842] CHIP:TOO: MaxNetworks: 1 - [1645772548.258032][3837:3842] CHIP:EM: Sending Standalone Ack for MessageCounter:7388528 on exchange 41499i - disabled: true - - - label: "TH1 reads the Networks attribute list from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 - - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 1111161622222211 - [1645772651.446173][3856:3861] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i - disabled: true - - - label: "TH1 reads ScanMaxTimeSeconds attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read scan-max-time-seconds 162 0 - - [1645772820.740795][3867:3872] CHIP:DMG: SuppressResponse = true, - [1645772820.740855][3867:3872] CHIP:DMG: InteractionModelRevision = 1 - [1645772820.740903][3867:3872] CHIP:DMG: } - [1645772820.741209][3867:3872] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002DataVersion: 92121563 - [1645772820.741357][3867:3872] CHIP:TOO: ScanMaxTimeSeconds: 10 - [1645772820.741512][3867:3872] CHIP:EM: Sending Standalone Ack for MessageCounter:10309775 on exchange 55305i - disabled: true - - - label: "TH1 reads ConnectMaxTimeSeconds Attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read connect-max-time-seconds 162 0 - - [1645772901.118880][3879:3884] CHIP:DMG: SuppressResponse = true, - [1645772901.119008][3879:3884] CHIP:DMG: InteractionModelRevision = 1 - [1645772901.119141][3879:3884] CHIP:DMG: } - [1645772901.119684][3879:3884] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003DataVersion: 92121563 - [1645772901.119885][3879:3884] CHIP:TOO: ConnectMaxTimeSeconds: 20 - [1645772901.120100][3879:3884] CHIP:EM: Sending Standalone Ack for MessageCounter:11917538 on exchange 4188 - disabled: true - - - label: "TH1 reads InterfaceEnabled attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read interface-enabled 162 0 - - [1645772984.653996][3895:3900] CHIP:DMG: SuppressResponse = true, - [1645772984.654043][3895:3900] CHIP:DMG: InteractionModelRevision = 1 - [1645772984.654084][3895:3900] CHIP:DMG: } - [1645772984.654310][3895:3900] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 92121563 - [1645772984.654388][3895:3900] CHIP:TOO: InterfaceEnabled: TRUE - [1645772984.654530][3895:3900] CHIP:EM: Sending Standalone Ack for MessageCounter:14026610 on exchange 33717i - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-networking-status 162 0 - - [1645773078.930516][3905:3910] CHIP:DMG: SuppressResponse = true, - [1645773078.930579][3905:3910] CHIP:DMG: InteractionModelRevision = 1 - [1645773078.930635][3905:3910] CHIP:DMG: } - [1645773078.930943][3905:3910] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 92121563 - [1645773078.931067][3905:3910] CHIP:TOO: LastNetworkingStatus: 0 - [1645773078.931217][3905:3910] CHIP:EM: Sending Standalone Ack for MessageCounter:16576011 on exchange 44187i - disabled: true - - - label: - "TH1 reads the LastNetworkID attribute from the DUT TH1 reads the - Networks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-network-id 162 0 - - [1645773167.178501][3913:3918] CHIP:DMG: SuppressResponse = true, - [1645773167.178561][3913:3918] CHIP:DMG: InteractionModelRevision = 1 - [1645773167.178618][3913:3918] CHIP:DMG: } - [1645773167.178919][3913:3918] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 92121563 - [1645773167.182241][3913:3918] CHIP:TOO: LastNetworkID: 1111161622222211 - [1645773167.182422][3913:3918] CHIP:EM: Sending Standalone Ack for MessageCounter:2029571 on exchange 18566i - disabled: true - - - label: "TH1 reads the LastConnectErrorValue attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read last-connect-error-value 162 0 - - [1645773318.752774][3938:3943] CHIP:DMG: SuppressResponse = true, - [1645773318.752861][3938:3943] CHIP:DMG: InteractionModelRevision = 1 - [1645773318.753043][3938:3943] CHIP:DMG: } - [1645773318.753543][3938:3943] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007DataVersion: 92121563 - [1645773318.753724][3938:3943] CHIP:TOO: LastConnectErrorValue: 0 - [1645773318.753985][3938:3943] CHIP:EM: Sending Standalone Ack for MessageCounter:15303417 on exchange 41937i - disabled: true - - - label: "TH1 reads ClientGeneratedCommandList attribute from the DUT" - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read client-generated-command-list 162 0 - - [1645773402.037043][3947:3952] CHIP:DMG: SuppressResponse = true, - [1645773402.037070][3947:3952] CHIP:DMG: InteractionModelRevision = 1 - [1645773402.037127][3947:3952] CHIP:DMG: } - [1645773402.037764][3947:3952] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9DataVersion: 92121563 - [1645773402.037831][3947:3952] CHIP:TOO: ClientGeneratedCommandList: 6 entries - [1645773402.037872][3947:3952] CHIP:TOO: [1]: 0 - [1645773402.037898][3947:3952] CHIP:TOO: [2]: 2 - [1645773402.037935][3947:3952] CHIP:TOO: [3]: 3 - [1645773402.037959][3947:3952] CHIP:TOO: [4]: 4 - [1645773402.037992][3947:3952] CHIP:TOO: [5]: 6 - [1645773402.038016][3947:3952] CHIP:TOO: [6]: 8 - [1645773402.038151][3947:3952] CHIP:EM: Sending Standalone Ack for MessageCounter:10505378 on exchange 51792i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_3.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_3.yaml deleted file mode 100644 index d0f28e4c940209..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_3.yaml +++ /dev/null @@ -1,184 +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: - 3.3. [TC-NC-1.3] Verification on Ethernet connection and attributes check - [DUT - Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "Factory reset the DUT" - verification: | - - disabled: true - - - label: "TH1 is commissioned with DUT" - verification: | - - disabled: true - - - label: - "TH1 reads Descriptor Cluster from the DUT with EP0 TH1 reads - ServerList from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool descriptor read server-list 1 0 - - - [1646226258.250313][2446:2451] CHIP:DMG: SuppressResponse = true, - [1646226258.250337][2446:2451] CHIP:DMG: InteractionModelRevision = 1 - [1646226258.250359][2446:2451] CHIP:DMG: } - [1646226258.252027][2446:2451] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001DataVersion: 3582931896 - [1646226258.252128][2446:2451] CHIP:TOO: server list: 25 entries - [1646226258.252183][2446:2451] CHIP:TOO: [1]: 3 - [1646226258.252208][2446:2451] CHIP:TOO: [2]: 4 - [1646226258.252232][2446:2451] CHIP:TOO: [3]: 29 - [1646226258.252256][2446:2451] CHIP:TOO: [4]: 30 - [1646226258.252280][2446:2451] CHIP:TOO: [5]: 31 - [1646226258.252303][2446:2451] CHIP:TOO: [6]: 40 - [1646226258.252326][2446:2451] CHIP:TOO: [7]: 42 - [1646226258.252349][2446:2451] CHIP:TOO: [8]: 43 - [1646226258.252373][2446:2451] CHIP:TOO: [9]: 44 - [1646226258.252396][2446:2451] CHIP:TOO: [10]: 45 - [1646226258.252420][2446:2451] CHIP:TOO: [11]: 46 - [1646226258.252443][2446:2451] CHIP:TOO: [12]: 48 - [1646226258.252466][2446:2451] CHIP:TOO: [13]: 49 - [1646226258.252489][2446:2451] CHIP:TOO: [14]: 50 - [1646226258.252512][2446:2451] CHIP:TOO: [15]: 51 - [1646226258.252536][2446:2451] CHIP:TOO: [16]: 52 - [1646226258.252559][2446:2451] CHIP:TOO: [17]: 53 - [1646226258.252582][2446:2451] CHIP:TOO: [18]: 54 - [1646226258.252605][2446:2451] CHIP:TOO: [19]: 55 - [1646226258.252629][2446:2451] CHIP:TOO: [20]: 60 - [1646226258.252652][2446:2451] CHIP:TOO: [21]: 62 - [1646226258.252675][2446:2451] CHIP:TOO: [22]: 63 - [1646226258.252698][2446:2451] CHIP:TOO: [23]: 64 - [1646226258.252721][2446:2451] CHIP:TOO: [24]: 65 - [1646226258.252745][2446:2451] CHIP:TOO: [25]: 1029 - [1646226258.255517][2446:2451] CHIP:EM: Sending Standalone Ack for MessageCounter:10627940 on exchange 21443i - disabled: true - - - label: "TH1 reads FeatureMap attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read feature-map 1 0 - - [1646226326.733918][2460:2465] CHIP:DMG: - [1646226326.733950][2460:2465] CHIP:DMG: SuppressResponse = true, - [1646226326.733984][2460:2465] CHIP:DMG: InteractionModelRevision = 1 - [1646226326.734014][2460:2465] CHIP:DMG: } - [1646226326.734188][2460:2465] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFCDataVersion: 3622667250 - [1646226326.736250][2460:2465] CHIP:TOO: FeatureMap: 2 - [1646226326.736362][2460:2465] CHIP:EM: Sending Standalone Ack for MessageCounter:9135736 on exchange 51231i - disabled: true - - - label: "TH1 reads the MaxNetworks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read max-networks 1 0 - - [1646226441.815782][2475:2480] CHIP:DMG: SuppressResponse = true, - [1646226441.815849][2475:2480] CHIP:DMG: InteractionModelRevision = 1 - [1646226441.815889][2475:2480] CHIP:DMG: } - [1646226441.816092][2475:2480] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 3622667250 - [1646226441.816191][2475:2480] CHIP:TOO: MaxNetworks: 1 - [1646226441.816288][2475:2480] CHIP:EM: Sending Standalone Ack for MessageCounter:14864333 on exchange 39473i - disabled: true - - - label: "TH1 reads the Networks attribute list from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read networks 1 0 - - [1646226488.740009][2488:2493] CHIP:DMG: - [1646226488.740041][2488:2493] CHIP:DMG: SuppressResponse = true, - [1646226488.740074][2488:2493] CHIP:DMG: InteractionModelRevision = 1 - [1646226488.740113][2488:2493] CHIP:DMG: } - [1646226488.740320][2488:2493] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 3622667250 - [1646226488.740409][2488:2493] CHIP:TOO: Networks: 0 entries - [1646226488.740501][2488:2493] CHIP:EM: Sending Standalone Ack for MessageCounter:9725190 on exchange 29852i - disabled: true - - - label: "TH1 reads InterfaceEnabled attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read interface-enabled 1 0 - - [1646226615.428003][2502:2507] CHIP:DMG: - [1646226615.428035][2502:2507] CHIP:DMG: SuppressResponse = true, - [1646226615.428064][2502:2507] CHIP:DMG: InteractionModelRevision = 1 - [1646226615.428094][2502:2507] CHIP:DMG: } - [1646226615.428270][2502:2507] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004DataVersion: 3622667250 - [1646226615.428331][2502:2507] CHIP:TOO: InterfaceEnabled: TRUE - [1646226615.428415][2502:2507] CHIP:EM: Sending Standalone Ack for MessageCounter:3894401 on exchange 55691i - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read last-networking-status 1 0 - - [1646227167.614060][2533:2538] CHIP:DMG: SuppressResponse = true, - [1646227167.614095][2533:2538] CHIP:DMG: InteractionModelRevision = 1 - [1646227167.614126][2533:2538] CHIP:DMG: } - [1646227167.614299][2533:2538] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 3622667250 - [1646227167.614385][2533:2538] CHIP:TOO: LastNetworkingStatus: 0 - [1646227167.614468][2533:2538] CHIP:EM: Sending Standalone Ack for MessageCounter:8947540 on exchange 12532i - disabled: true - - - label: - "TH1 reads the LastNetworkID attribute from the DUT TH1 reads the - Networks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read last-network-id 1 0 - - [1646227218.543427][2545:2550] CHIP:DMG: - [1646227218.543462][2545:2550] CHIP:DMG: SuppressResponse = true, - [1646227218.543506][2545:2550] CHIP:DMG: InteractionModelRevision = 1 - [1646227218.543538][2545:2550] CHIP:DMG: } - [1646227218.543748][2545:2550] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006DataVersion: 3622667250 - [1646227218.543836][2545:2550] CHIP:TOO: LastNetworkID: - [1646227218.543924][2545:2550] CHIP:EM: Sending Standalone Ack for MessageCounter:9758721 on exchange 15256i - disabled: true - - - label: "TH1 reads the LastConnectErrorValue attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read last-connect-error-value 1 0 - - [1646227266.753206][2560:2565] CHIP:DMG: - [1646227266.753239][2560:2565] CHIP:DMG: SuppressResponse = true, - [1646227266.753272][2560:2565] CHIP:DMG: InteractionModelRevision = 1 - [1646227266.753303][2560:2565] CHIP:DMG: } - [1646227266.753472][2560:2565] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007DataVersion: 3622667250 - [1646227266.753556][2560:2565] CHIP:TOO: LastConnectErrorValue: 0 - [1646227266.753632][2560:2565] CHIP:EM: Sending Standalone Ack for MessageCounter:7911198 on exchange 43970i - disabled: true - - - label: "TH1 reads ClientGeneratedCommandList attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read client-generated-command-list 1 0 - - [1646227303.224981][2570:2575] CHIP:DMG: SuppressResponse = true, - [1646227303.225017][2570:2575] CHIP:DMG: InteractionModelRevision = 1 - [1646227303.225050][2570:2575] CHIP:DMG: } - [1646227303.225902][2570:2575] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9DataVersion: 3622667250 - [1646227303.226014][2570:2575] CHIP:TOO: ClientGeneratedCommandList: 7 entries - [1646227303.226093][2570:2575] CHIP:TOO: [1]: 0 - [1646227303.226131][2570:2575] CHIP:TOO: [2]: 2 - [1646227303.226167][2570:2575] CHIP:TOO: [3]: 3 - [1646227303.226195][2570:2575] CHIP:TOO: [4]: 4 - [1646227303.226223][2570:2575] CHIP:TOO: [5]: 5 - [1646227303.226251][2570:2575] CHIP:TOO: [6]: 6 - [1646227303.226333][2570:2575] CHIP:TOO: [7]: 8 - [1646227303.226419][2570:2575] CHIP:EM: Sending Standalone Ack for MessageCounter:15891447 on exchange 61063i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_4.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_4.yaml deleted file mode 100644 index 57daab0088e7fd..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_4.yaml +++ /dev/null @@ -1,59 +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: - 3.4. [TC-NC-1.4] Verification for ScanNetworks command for Wifi interface - [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "TH1 sends ScanNetworks command to the DUT with the SSID argument - value as null and Breadcrumb argument value as 0" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning scan-networks null 0 1 0 - - [1646293689.990014][2928:2933] CHIP:CTL: Device connected callback with null pairing delegate. Ignoring - [1646293689.990067][2928:2933] CHIP:EM: Sending Standalone Ack for MessageCounter:1871595063 on exchange 3459i - [1646293689.990110][2928:2933] CHIP:IN: Prepared unauthenticated message 0xffffa1bcb938 to 0x0000000000000000 (0) of type 0x10 and protocolId (0, 0) on exchange 3459i with MessageCounter:525156546. - [1646293689.990157][2928:2933] CHIP:IN: Sending unauthenticated msg 0xffffa1bcb938 with MessageCounter:525156546 to 0x0000000000000000 at monotonic time: 5262853 msec - [1646293689.990248][2928:2933] CHIP:EM: Flushed pending ack for MessageCounter:1871595063 on exchange 3459i - [1646293690.190932][2928:2933] CHIP:EM: Received message of type 0x10 with protocolId (0, 0) and MessageCounter:13758687 on exchange 3460i - [1646293690.191036][2928:2933] CHIP:EM: Found matching exchange: 3460i, Delegate: 0xffff8c003aa0 - [1646293690.191120][2928:2933] CHIP:EM: Rxd Ack; Removing MessageCounter:11356051 from Retrans Table on exchange 3460i - [1646293690.191180][2928:2933] CHIP:EM: Removed CHIP MessageCounter:11356051 from RetransTable on exchange 3460i - [1646293699.967781][2928:2928] CHIP:-: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:249: CHIP Error 0x00000032: Timeout at ../../examples/chip-tool/commands/common/CHIPCommand.cpp:62 - [1646293699.967832][2928:2928] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:249: CHIP Error 0x00000032: Timeout - [1646293699.976755][2928:2928] CHIP:SPT: VerifyOrDie failure at ../../src/lib/support/Pool.h:304: Allocated() == 0 - Aborted - disabled: true - - - label: - "TH1 sends ScanNetworks Command to the DUT with SSID argument value as - 'Userwifi_ssid' and Breadcrumb argument value 0" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning scan-networks GRLPrivate_EXT 0 1 0 - - [1646289182.010873][2486:2491] CHIP:DMG: InteractionModelRevision = 1 - [1646289182.010903][2486:2491] CHIP:DMG: }, - [1646289182.010981][2486:2491] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0000 Status=0x9c - [1646289182.011022][2486:2491] CHIP:TOO: Error: IM Error 0x0000059C: General error: 0x9c - [1646289182.011094][2486:2491] CHIP:DMG: ICR moving to [AwaitingDe] - [1646289182.011133][2486:2491] CHIP:EM: Sending Standalone Ack for MessageCounter:3499711 on exchange 3366i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_5.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_5.yaml deleted file mode 100644 index ba0b97fda75c37..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_5.yaml +++ /dev/null @@ -1,49 +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: - 3.5. [TC-NC-1.5] UNSPPUORTED_ACCESS message Validation for Wifi interface - [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "TH1 sends the AddOrUpdateWiFiNetwork command to the DUT with the - following argument: SSID argument value as 'Userwifi_ssid' Credentials - argument value as 'xxxxx' Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true - - - label: - "TH1 sends RemoveNetwork command to the DUT with NetworkID argument - value as 'Userwifi_ssid' and Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true - - - label: - "TH1 sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userwifi_ssid' and Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_6.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_6.yaml deleted file mode 100644 index 052c8c839b15f1..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_6.yaml +++ /dev/null @@ -1,49 +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: - 3.6. [TC-NC-1.6] UNSPPUORTED_ACCESS message Validation for Thread interface - [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "TH1 sends the AddOrUpdateThreadNetwork command to the DUT with the - following argument: OperationalDataset argument value as 'Userth_op' - Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true - - - label: - "TH1 sends RemoveNetwork command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true - - - label: - "TH1 sends ConnectNetwork command to the DUT with NetworkID argument - value as 'Userth_op' and Breadcrumb argument value as 0" - verification: | - Can't verify the test case as it need to be executed before the commissioning. - Which is not possiable with the CHIP tool step - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_7.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_7.yaml deleted file mode 100644 index 4f16e88a944383..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_7.yaml +++ /dev/null @@ -1,89 +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: - 3.7. [TC-NC-1.7] Verification for AddOrUpdateWiFiNetwork command - [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends AddOrUpdateWiFiNetwork command to the DUT with SSID - argument value as 'Userwifi_ssid', Credentials argument value as - 'xxxxx' and Breadcrumb argument value as 0" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning add-or-update-wi-fi-network GRLPrivate_EXT matter123 0 1 0 - - - [1646289754.056172][2573:2578] CHIP:DMG: - [1646289754.056240][2573:2578] CHIP:DMG: InteractionModelRevision = 1 - [1646289754.056278][2573:2578] CHIP:DMG: }, - [1646289754.056375][2573:2578] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1646289754.056445][2573:2578] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1646289754.056535][2573:2578] CHIP:TOO: NetworkConfigResponse: { - [1646289754.056590][2573:2578] CHIP:TOO: networkingStatus: 0 - [1646289754.056628][2573:2578] CHIP:TOO: debugText: - [1646289754.056666][2573:2578] CHIP:TOO: } - [1646289754.056712][2573:2578] CHIP:DMG: ICR moving to [AwaitingDe] - [1646289754.056787][2573:2578] CHIP:EM: Sending Standalone Ack for MessageCounter:11569822 on exchange 38244i - disabled: true - - - label: "TH1 reads MaxNetworks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read max-networks 1 0 - - [1646290259.940728][2681:2686] CHIP:DMG: - [1646290259.940760][2681:2686] CHIP:DMG: SuppressResponse = true, - [1646290259.940793][2681:2686] CHIP:DMG: InteractionModelRevision = 1 - [1646290259.940824][2681:2686] CHIP:DMG: } - [1646290259.941000][2681:2686] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 2391702431 - [1646290259.943230][2681:2686] CHIP:TOO: MaxNetworks: 1 - [1646290259.943345][2681:2686] CHIP:EM: Sending Standalone Ack for MessageCounter:5523057 on exchange 61782i - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read last-networking-status 1 0 - - [1646290420.281009][2697:2702] CHIP:DMG: - [1646290420.281042][2697:2702] CHIP:DMG: SuppressResponse = true, - [1646290420.281075][2697:2702] CHIP:DMG: InteractionModelRevision = 1 - [1646290420.281106][2697:2702] CHIP:DMG: } - [1646290420.281281][2697:2702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005DataVersion: 2391702431 - [1646290420.281367][2697:2702] CHIP:TOO: LastNetworkingStatus: 0 - [1646290420.281448][2697:2702] CHIP:EM: Sending Standalone Ack for MessageCounter:4395284 on exchange 47160i - disabled: true - - - label: "TH1 reads Networks attribute from the DUT" - verification: | - ubuntu@ubuntu:~/apps$ sudo ./chip-tool networkcommissioning read networks 1 0 - - [1646290474.427405][2708:2713] CHIP:DMG: - [1646290474.427438][2708:2713] CHIP:DMG: SuppressResponse = true, - [1646290474.427471][2708:2713] CHIP:DMG: InteractionModelRevision = 1 - [1646290474.427502][2708:2713] CHIP:DMG: } - [1646290474.427705][2708:2713] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 2391702431 - [1646290474.427798][2708:2713] CHIP:TOO: Networks: 0 entries - [1646290474.427897][2708:2713] CHIP:EM: Sending Standalone Ack for MessageCounter:9385469 on exchange 48753i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_8.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_8.yaml deleted file mode 100644 index 88b41acd6792b2..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_8.yaml +++ /dev/null @@ -1,62 +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: - 3.8. [TC-NC-1.8] Verification for AddOrUpdateThreadNetwork command - [DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends AddOrUpdateThreadNetwork command to the DUT with - OperationalDataset argument value as 'Userth_op' and Breadcrumb - argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - - ./chip-tool networkcommissioning add-or-update-thread-network 1111161622222211 0 162 0 - - [1645774062.824543][4020:4025] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1645774062.824650][4020:4025] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1645774062.824775][4020:4025] CHIP:TOO: NetworkConfigResponse: { - [1645774062.824838][4020:4025] CHIP:TOO: networkingStatus: 2 - [1645774062.824891][4020:4025] CHIP:TOO: debugText: - [1645774062.824945][4020:4025] CHIP:TOO: } - [1645774062.825030][4020:4025] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true - - - label: "TH1 reads MaxNetworks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 reads Networks attribute from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_NC_1_9.yaml b/src/app/tests/suites/certification/Test_TC_NC_1_9.yaml deleted file mode 100644 index d80fa50572c8e9..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_NC_1_9.yaml +++ /dev/null @@ -1,46 +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: - 3.9. [TC-NC-1.9] Verification for RemoveNetwork Command for Wifi - interface[DUT-Commissionee] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH1 sends ArmFailSafe command to the DUT" - verification: | - - disabled: true - - - label: - "TH1 sends RemoveNetwork Command to the DUT with NetworkID argument - value as 'Userwifi_ssid1' and Breadcrumb argument value as 0" - verification: | - https://github.com/project-chip/connectedhomeip/issues/15782 - disabled: true - - - label: "TH1 reads MaxNetworks attribute from the DUT" - verification: | - - disabled: true - - - label: "TH1 reads LastNetworkingStatus attribute from the DUT" - verification: | - - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml new file mode 100644 index 00000000000000..139b00484ea735 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_TFL_1_1.yaml @@ -0,0 +1,103 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.1. [TC-TFL-1.1]Global Attributes [DUT as Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH" + verification: | + + disabled: true + + - label: "DUT reads the ClusterRevision from TH" + verification: | + ./chip-tool timeformatlocalization read cluster-revision 1 0 + + [1651185991606] [10988:109915] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFD DataVersion: 3316530441 + [1651185991606] [10988:109915] CHIP: [TOO] ClusterRevision: 1 + disabled: true + + - label: "DUT reads the FeatureMap from TH" + verification: | + ./chip-tool timeformatlocalization read feature-map 1 0 + [1651558695.673395][7718:7723] CHIP:DMG: ReportDataMessage = + [1651558695.673439][7718:7723] CHIP:DMG: { + [1651558695.673474][7718:7723] CHIP:DMG: AttributeReportIBs = + [1651558695.673524][7718:7723] CHIP:DMG: [ + [1651558695.673564][7718:7723] CHIP:DMG: AttributeReportIB = + [1651558695.673619][7718:7723] CHIP:DMG: { + [1651558695.673662][7718:7723] CHIP:DMG: AttributeStatusIB = + [1651558695.673714][7718:7723] CHIP:DMG: { + [1651558695.673762][7718:7723] CHIP:DMG: AttributePathIB = + [1651558695.673816][7718:7723] CHIP:DMG: { + [1651558695.673873][7718:7723] CHIP:DMG: Endpoint = 0x0, + [1651558695.673930][7718:7723] CHIP:DMG: Cluster = 0x2c, + [1651558695.674049][7718:7723] CHIP:DMG: Attribute = 0x0000_FFFC, + [1651558695.674104][7718:7723] CHIP:DMG: } + [1651558695.674166][7718:7723] CHIP:DMG: + [1651558695.674220][7718:7723] CHIP:DMG: StatusIB = + [1651558695.674279][7718:7723] CHIP:DMG: { + [1651558695.674333][7718:7723] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1651558695.674391][7718:7723] CHIP:DMG: }, + [1651558695.674446][7718:7723] CHIP:DMG: + [1651558695.674499][7718:7723] CHIP:DMG: }, + [1651558695.674555][7718:7723] CHIP:DMG: + [1651558695.674599][7718:7723] CHIP:DMG: }, + [1651558695.674651][7718:7723] CHIP:DMG: + [1651558695.674691][7718:7723] CHIP:DMG: ], + [1651558695.674740][7718:7723] CHIP:DMG: + [1651558695.674779][7718:7723] CHIP:DMG: SuppressResponse = true, + [1651558695.674820][7718:7723] CHIP:DMG: InteractionModelRevision = 1 + [1651558695.674857][7718:7723] CHIP:DMG: } + [1651558695.675021][7718:7723] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + disabled: true + + - label: "DUT reads AttributeList from TH" + verification: | + ./chip-tool timeformatlocalization read attribute-list 1 0 + [1651186148313] [11054:111653] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFB DataVersion: 3316530441 + [1651186148314] [11054:111653] CHIP: [TOO] AttributeList: 7 entries + [1651186148314] [11054:111653] CHIP: [TOO] [1]: 0 + [1651186148314] [11054:111653] CHIP: [TOO] [2]: 1 + [1651186148314] [11054:111653] CHIP: [TOO] [3]: 2 + [1651186148314] [11054:111653] CHIP: [TOO] [4]: 65528 + [1651186148314] [11054:111653] CHIP: [TOO] [5]: 65529 + [1651186148314] [11054:111653] CHIP: [TOO] [6]: 65531 + [1651186148314] [11054:111653] CHIP: [TOO] [7]: 65533 + disabled: true + + - label: "DUT reads EventList from TH" + verification: | + Out of scope for V1.0 + disabled: true + + - label: "DUT reads the AcceptedCommandList from the TH" + verification: | + ./chip-tool timeformatlocalization read accepted-command-list 1 0 + [1651186189564] [11076:112595] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF9 DataVersion: 3316530441 + [1651186189564] [11076:112595] CHIP: [TOO] AcceptedCommandList: 0 entries + disabled: true + + - label: "DUT reads the GeneratedCommandList from the TH" + verification: | + ./chip-tool timeformatlocalization read generated-command-list 1 0 + [1651191789962] [13591:180646] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF8 DataVersion: 3316530441 + [1651191789963] [13591:180646] CHIP: [TOO] GeneratedCommandList: 0 entries + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml b/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml new file mode 100644 index 00000000000000..32676f0611a983 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_TFL_1_2.yaml @@ -0,0 +1,104 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2. [TC-TFL-1.2|]Global Attributes [DUT as Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission TH to DUT" + verification: | + + disabled: true + + - label: "TH reads the ClusterRevision from DUT" + verification: | + ./chip-tool timeformatlocalization read cluster-revision 1 0 + + [1651185991606] [10988:109915] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFD DataVersion: 3316530441 + [1651185991606] [10988:109915] CHIP: [TOO] ClusterRevision: 1 + disabled: true + + - label: "TH reads the FeatureMap from DUT" + verification: | + ./chip-tool timeformatlocalization read feature-map 1 0 + + [1651558695.673395][7718:7723] CHIP:DMG: ReportDataMessage = + [1651558695.673439][7718:7723] CHIP:DMG: { + [1651558695.673474][7718:7723] CHIP:DMG: AttributeReportIBs = + [1651558695.673524][7718:7723] CHIP:DMG: [ + [1651558695.673564][7718:7723] CHIP:DMG: AttributeReportIB = + [1651558695.673619][7718:7723] CHIP:DMG: { + [1651558695.673662][7718:7723] CHIP:DMG: AttributeStatusIB = + [1651558695.673714][7718:7723] CHIP:DMG: { + [1651558695.673762][7718:7723] CHIP:DMG: AttributePathIB = + [1651558695.673816][7718:7723] CHIP:DMG: { + [1651558695.673873][7718:7723] CHIP:DMG: Endpoint = 0x0, + [1651558695.673930][7718:7723] CHIP:DMG: Cluster = 0x2c, + [1651558695.674049][7718:7723] CHIP:DMG: Attribute = 0x0000_FFFC, + [1651558695.674104][7718:7723] CHIP:DMG: } + [1651558695.674166][7718:7723] CHIP:DMG: + [1651558695.674220][7718:7723] CHIP:DMG: StatusIB = + [1651558695.674279][7718:7723] CHIP:DMG: { + [1651558695.674333][7718:7723] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), + [1651558695.674391][7718:7723] CHIP:DMG: }, + [1651558695.674446][7718:7723] CHIP:DMG: + [1651558695.674499][7718:7723] CHIP:DMG: }, + [1651558695.674555][7718:7723] CHIP:DMG: + [1651558695.674599][7718:7723] CHIP:DMG: }, + [1651558695.674651][7718:7723] CHIP:DMG: + [1651558695.674691][7718:7723] CHIP:DMG: ], + [1651558695.674740][7718:7723] CHIP:DMG: + [1651558695.674779][7718:7723] CHIP:DMG: SuppressResponse = true, + [1651558695.674820][7718:7723] CHIP:DMG: InteractionModelRevision = 1 + [1651558695.674857][7718:7723] CHIP:DMG: } + [1651558695.675021][7718:7723] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE)" + disabled: true + + - label: "TH reads AttributeList from DUT" + verification: | + ./chip-tool timeformatlocalization read attribute-list 1 0 + [1651186148313] [11054:111653] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFFB DataVersion: 3316530441 + [1651186148314] [11054:111653] CHIP: [TOO] AttributeList: 7 entries + [1651186148314] [11054:111653] CHIP: [TOO] [1]: 0 + [1651186148314] [11054:111653] CHIP: [TOO] [2]: 1 + [1651186148314] [11054:111653] CHIP: [TOO] [3]: 2 + [1651186148314] [11054:111653] CHIP: [TOO] [4]: 65528 + [1651186148314] [11054:111653] CHIP: [TOO] [5]: 65529 + [1651186148314] [11054:111653] CHIP: [TOO] [6]: 65531 + [1651186148314] [11054:111653] CHIP: [TOO] [7]: 65533 + disabled: true + + - label: "TH reads EventList from DUT" + verification: | + Out of scope for V1.0 + disabled: true + + - label: "TH reads the AcceptedCommandList from the DUT" + verification: | + ./chip-tool timeformatlocalization read accepted-command-list 1 0 + [1651186189564] [11076:112595] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF9 DataVersion: 3316530441 + [1651186189564] [11076:112595] CHIP: [TOO] AcceptedCommandList: 0 entries + disabled: true + + - label: "TH reads the GeneratedCommandList from the DUT" + verification: | + ./chip-tool timeformatlocalization read generated-command-list 1 0 + [1651191789962] [13591:180646] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_FFF8 DataVersion: 3316530441 + [1651191789963] [13591:180646] CHIP: [TOO] GeneratedCommandList: 0 entries + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml new file mode 100644 index 00000000000000..f5a3c9dd33f242 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_TFL_2_1.yaml @@ -0,0 +1,788 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3. [TC-TFL-2.1]Read and Write Time Format Localization Cluster Attributes + [DUT as Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "DUT reads HourFormat attribute from TH" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194182.833598][4306:4306] CHIP:DMG: { + [1651194182.833620][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194182.833654][4306:4306] CHIP:DMG: [ + [1651194182.833679][4306:4306] CHIP:DMG: AttributePathIB = + [1651194182.833704][4306:4306] CHIP:DMG: { + [1651194182.833736][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194182.833774][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194182.833806][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651194182.833837][4306:4306] CHIP:DMG: } + [1651194182.833869][4306:4306] CHIP:DMG: + [1651194182.833901][4306:4306] CHIP:DMG: ], + [1651194182.833929][4306:4306] CHIP:DMG: + [1651194182.833959][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194182.833985][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194182.834010][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_12HR) DUT writes 0 to HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization write hour-format 0 1 0 + [1651192743.617047][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651192743.617082][4306:4306] CHIP:DMG: { + [1651192743.617114][4306:4306] CHIP:DMG: suppressResponse = false, + [1651192743.617149][4306:4306] CHIP:DMG: timedRequest = false, + [1651192743.617183][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651192743.617223][4306:4306] CHIP:DMG: [ + [1651192743.617256][4306:4306] CHIP:DMG: AttributeDataIB = + [1651192743.617304][4306:4306] CHIP:DMG: { + [1651192743.617342][4306:4306] CHIP:DMG: AttributePathIB = + [1651192743.617385][4306:4306] CHIP:DMG: { + [1651192743.617429][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651192743.617475][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651192743.617517][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651192743.617551][4306:4306] CHIP:DMG: } + [1651192743.617594][4306:4306] CHIP:DMG: + [1651192743.617639][4306:4306] CHIP:DMG: Data = 0, + [1651192743.617682][4306:4306] CHIP:DMG: }, + [1651192743.617722][4306:4306] CHIP:DMG: + [1651192743.617755][4306:4306] CHIP:DMG: ], + [1651192743.617795][4306:4306] CHIP:DMG: + [1651192743.617829][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651192743.617863][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651192743.617894][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194182.833598][4306:4306] CHIP:DMG: { + [1651194182.833620][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194182.833654][4306:4306] CHIP:DMG: [ + [1651194182.833679][4306:4306] CHIP:DMG: AttributePathIB = + [1651194182.833704][4306:4306] CHIP:DMG: { + [1651194182.833736][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194182.833774][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194182.833806][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651194182.833837][4306:4306] CHIP:DMG: } + [1651194182.833869][4306:4306] CHIP:DMG: + [1651194182.833901][4306:4306] CHIP:DMG: ], + [1651194182.833929][4306:4306] CHIP:DMG: + [1651194182.833959][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194182.833985][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194182.834010][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_24HR) DUT writes 1 to HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization write hour-format 1 1 0 + [1651193043.068804][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651193043.068854][4306:4306] CHIP:DMG: { + [1651193043.068881][4306:4306] CHIP:DMG: suppressResponse = false, + [1651193043.068909][4306:4306] CHIP:DMG: timedRequest = false, + [1651193043.068934][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651193043.068964][4306:4306] CHIP:DMG: [ + [1651193043.068989][4306:4306] CHIP:DMG: AttributeDataIB = + [1651193043.069021][4306:4306] CHIP:DMG: { + [1651193043.069050][4306:4306] CHIP:DMG: AttributePathIB = + [1651193043.069087][4306:4306] CHIP:DMG: { + [1651193043.069124][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651193043.069163][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651193043.069200][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651193043.069231][4306:4306] CHIP:DMG: } + [1651193043.069264][4306:4306] CHIP:DMG: + [1651193043.069300][4306:4306] CHIP:DMG: Data = 1, + [1651193043.069335][4306:4306] CHIP:DMG: }, + [1651193043.069367][4306:4306] CHIP:DMG: + [1651193043.069391][4306:4306] CHIP:DMG: ], + [1651193043.069421][4306:4306] CHIP:DMG: + [1651193043.069447][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651193043.069472][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651193043.069495][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651194182.833570][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194182.833598][4306:4306] CHIP:DMG: { + [1651194182.833620][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194182.833654][4306:4306] CHIP:DMG: [ + [1651194182.833679][4306:4306] CHIP:DMG: AttributePathIB = + [1651194182.833704][4306:4306] CHIP:DMG: { + [1651194182.833736][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194182.833774][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194182.833806][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651194182.833837][4306:4306] CHIP:DMG: } + [1651194182.833869][4306:4306] CHIP:DMG: + [1651194182.833901][4306:4306] CHIP:DMG: ], + [1651194182.833929][4306:4306] CHIP:DMG: + [1651194182.833959][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194182.833985][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194182.834010][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute from DUT" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194266.987675][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194266.987702][4306:4306] CHIP:DMG: { + [1651194266.987725][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194266.987752][4306:4306] CHIP:DMG: [ + [1651194266.987776][4306:4306] CHIP:DMG: AttributePathIB = + [1651194266.987831][4306:4306] CHIP:DMG: { + [1651194266.987863][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194266.987895][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194266.987927][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194266.987962][4306:4306] CHIP:DMG: } + [1651194266.987992][4306:4306] CHIP:DMG: + [1651194266.988025][4306:4306] CHIP:DMG: ], + [1651194266.988054][4306:4306] CHIP:DMG: + [1651194266.988082][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194266.988108][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194266.988131][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads SupportedCalendarTypes attribute from DUT" + verification: | + ./chip-tool timeformatlocalization read supported-calendar-types 1 0 + [1651194334.847912][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194334.847958][4306:4306] CHIP:DMG: { + [1651194334.848009][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194334.848086][4306:4306] CHIP:DMG: [ + [1651194334.848133][4306:4306] CHIP:DMG: AttributePathIB = + [1651194334.848222][4306:4306] CHIP:DMG: { + [1651194334.848271][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194334.848325][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194334.848399][4306:4306] CHIP:DMG: Attribute = 0x0000_0002, + [1651194334.848460][4306:4306] CHIP:DMG: } + [1651194334.848504][4306:4306] CHIP:DMG: + [1651194334.848580][4306:4306] CHIP:DMG: ], + [1651194334.848646][4306:4306] CHIP:DMG: + [1651194334.848761][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194334.848897][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194334.848952][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Buddhist) DUT writes 0 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 0 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 0, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Chinese) DUT writes 1 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 1 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 1, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Coptic) DUT writes 2 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 2 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 2, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: + "If (PICS_A_Ethiopian) DUT writes 3 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 3 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 3, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: + "If (PICS_A_Gregorian) DUT writes 4 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 4 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 4, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Hebrew) DUT writes 5 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 5 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 5, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Indian) DUT writes 6 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 6 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 6, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Islamic) DUT writes 7 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 7 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 7, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Japanese) DUT writes 8 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 8 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 8, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Korean) DUT writes 9 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 9 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 9, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "If (PICS_A_Persian) DUT writes 10 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 10 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 10, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true + + - label: + "If (PICS_A_Taiwanese) DUT writes 11 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 11 1 0 + + [1651194449.331014][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651194449.331042][4306:4306] CHIP:DMG: { + [1651194449.331077][4306:4306] CHIP:DMG: suppressResponse = false, + [1651194449.331106][4306:4306] CHIP:DMG: timedRequest = false, + [1651194449.331133][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651194449.331174][4306:4306] CHIP:DMG: [ + [1651194449.331201][4306:4306] CHIP:DMG: AttributeDataIB = + [1651194449.331250][4306:4306] CHIP:DMG: { + [1651194449.331279][4306:4306] CHIP:DMG: AttributePathIB = + [1651194449.331320][4306:4306] CHIP:DMG: { + [1651194449.331355][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194449.331402][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194449.331438][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194449.331479][4306:4306] CHIP:DMG: } + [1651194449.331524][4306:4306] CHIP:DMG: + [1651194449.331560][4306:4306] CHIP:DMG: Data = 11, + [1651194449.331604][4306:4306] CHIP:DMG: }, + [1651194449.331638][4306:4306] CHIP:DMG: + [1651194449.331674][4306:4306] CHIP:DMG: ], + [1651194449.331705][4306:4306] CHIP:DMG: + [1651194449.331742][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651194449.331770][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194449.331804][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544.718348][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651194544.718378][4306:4306] CHIP:DMG: { + [1651194544.718403][4306:4306] CHIP:DMG: AttributePathIBs = + [1651194544.718447][4306:4306] CHIP:DMG: [ + [1651194544.718476][4306:4306] CHIP:DMG: AttributePathIB = + [1651194544.718521][4306:4306] CHIP:DMG: { + [1651194544.718563][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651194544.718607][4306:4306] CHIP:DMG: Cluster = 0x2c, + [1651194544.718654][4306:4306] CHIP:DMG: Attribute = 0x0000_0001, + [1651194544.718689][4306:4306] CHIP:DMG: } + [1651194544.718735][4306:4306] CHIP:DMG: + [1651194544.718767][4306:4306] CHIP:DMG: ], + [1651194544.718812][4306:4306] CHIP:DMG: + [1651194544.718844][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651194544.718884][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651194544.718911][4306:4306] CHIP:DMG: }, + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml new file mode 100644 index 00000000000000..7a09739f1b80b4 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_TFL_2_2.yaml @@ -0,0 +1,852 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.4. [TC-TFL-2.2]Read and Write Time Format Localization Cluster Attributes + [DUT as Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH reads HourFormat attribute from DUT" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651191944157] [13649:182326] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530441 + [1651191944158] [13649:182326] CHIP: [TOO] HourFormat: 0 + disabled: true + + - label: "If (PICS_A_12HR) TH writes 0 to HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization write hour-format 0 1 0 + [1651192743588] [14026:192208] CHIP: [DMG] WriteResponseMessage = + [1651192743588] [14026:192208] CHIP: [DMG] { + [1651192743588] [14026:192208] CHIP: [DMG] AttributeStatusIBs = + [1651192743588] [14026:192208] CHIP: [DMG] [ + [1651192743588] [14026:192208] CHIP: [DMG] AttributeStatusIB = + [1651192743588] [14026:192208] CHIP: [DMG] { + [1651192743588] [14026:192208] CHIP: [DMG] AttributePathIB = + [1651192743588] [14026:192208] CHIP: [DMG] { + [1651192743588] [14026:192208] CHIP: [DMG] Endpoint = 0x0, + [1651192743588] [14026:192208] CHIP: [DMG] Cluster = 0x2c, + [1651192743588] [14026:192208] CHIP: [DMG] Attribute = 0x0000_0000, + [1651192743588] [14026:192208] CHIP: [DMG] } + [1651192743588] [14026:192208] CHIP: [DMG] + [1651192743588] [14026:192208] CHIP: [DMG] StatusIB = + [1651192743588] [14026:192208] CHIP: [DMG] { + [1651192743588] [14026:192208] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651192743588] [14026:192208] CHIP: [DMG] }, + [1651192743588] [14026:192208] CHIP: [DMG] + [1651192743588] [14026:192208] CHIP: [DMG] }, + [1651192743588] [14026:192208] CHIP: [DMG] + [1651192743588] [14026:192208] CHIP: [DMG] ], + [1651192743588] [14026:192208] CHIP: [DMG] + [1651192743588] [14026:192208] CHIP: [DMG] InteractionModelRevision = 1 + [1651192743588] [14026:192208] CHIP: [DMG] } + disabled: true + + - label: "TH reads HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651193120969] [14169:196901] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530443 + [1651193120969] [14169:196901] CHIP: [TOO] HourFormat: 0 + disabled: true + + - label: "If (PICS_A_24HR) TH writes 1 to HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization write hour-format 1 1 0 + [1651193043035] [14140:195730] CHIP: [DMG] WriteResponseMessage = + [1651193043035] [14140:195730] CHIP: [DMG] { + [1651193043035] [14140:195730] CHIP: [DMG] AttributeStatusIBs = + [1651193043035] [14140:195730] CHIP: [DMG] [ + [1651193043035] [14140:195730] CHIP: [DMG] AttributeStatusIB = + [1651193043035] [14140:195730] CHIP: [DMG] { + [1651193043035] [14140:195730] CHIP: [DMG] AttributePathIB = + [1651193043035] [14140:195730] CHIP: [DMG] { + [1651193043035] [14140:195730] CHIP: [DMG] Endpoint = 0x0, + [1651193043035] [14140:195730] CHIP: [DMG] Cluster = 0x2c, + [1651193043035] [14140:195730] CHIP: [DMG] Attribute = 0x0000_0000, + [1651193043035] [14140:195730] CHIP: [DMG] } + [1651193043035] [14140:195730] CHIP: [DMG] + [1651193043035] [14140:195730] CHIP: [DMG] StatusIB = + [1651193043035] [14140:195730] CHIP: [DMG] { + [1651193043035] [14140:195730] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651193043035] [14140:195730] CHIP: [DMG] }, + [1651193043035] [14140:195730] CHIP: [DMG] + [1651193043035] [14140:195730] CHIP: [DMG] }, + [1651193043035] [14140:195730] CHIP: [DMG] + [1651193043035] [14140:195730] CHIP: [DMG] ], + [1651193043035] [14140:195730] CHIP: [DMG] + [1651193043036] [14140:195730] CHIP: [DMG] InteractionModelRevision = 1 + [1651193043036] [14140:195730] CHIP: [DMG] } + [1651193043036] [14140:195730] CHIP: [DMG] WriteClient moving to [AwaitingDe] + disabled: true + + - label: "TH reads HourFormat attribute" + verification: | + ./chip-tool timeformatlocalization read hour-format 1 0 + [1651193120969] [14169:196901] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530443 + [1651193120969] [14169:196901] CHIP: [TOO] HourFormat: 1 + disabled: true + + - label: "TH reads ActiveCalendarType attribute from DUT" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651193250602] [14215:198406] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3316530443 + [1651193250602] [14215:198406] CHIP: [TOO] ActiveCalendarType: 0 + disabled: true + + - label: "TH reads SupportedCalendarTypes attribute from DUT" + verification: | + ./chip-tool timeformatlocalization read supported-calendar-types 1 0 + [1651194334793] [14653:210647] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0002 DataVersion: 3316530443 + [1651194334794] [14653:210647] CHIP: [TOO] SupportedCalendarTypes: 12 entries + [1651194334794] [14653:210647] CHIP: [TOO] [1]: 0 + [1651194334794] [14653:210647] CHIP: [TOO] [2]: 1 + [1651194334794] [14653:210647] CHIP: [TOO] [3]: 2 + [1651194334794] [14653:210647] CHIP: [TOO] [4]: 3 + [1651194334794] [14653:210647] CHIP: [TOO] [5]: 4 + [1651194334794] [14653:210647] CHIP: [TOO] [6]: 5 + [1651194334794] [14653:210647] CHIP: [TOO] [7]: 6 + [1651194334794] [14653:210647] CHIP: [TOO] [8]: 7 + [1651194334794] [14653:210647] CHIP: [TOO] [9]: 8 + [1651194334794] [14653:210647] CHIP: [TOO] [10]: 9 + [1651194334794] [14653:210647] CHIP: [TOO] [11]: 10 + [1651194334794] [14653:210647] CHIP: [TOO] [12]: 11 + disabled: true + + - label: "If (PICS_A_Buddhist) TH writes 0 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 0 1 0 + [1651194449245] [14699:212201] CHIP: [DMG] WriteResponseMessage = + [1651194449245] [14699:212201] CHIP: [DMG] { + [1651194449245] [14699:212201] CHIP: [DMG] AttributeStatusIBs = + [1651194449245] [14699:212201] CHIP: [DMG] [ + [1651194449245] [14699:212201] CHIP: [DMG] AttributeStatusIB = + [1651194449246] [14699:212201] CHIP: [DMG] { + [1651194449246] [14699:212201] CHIP: [DMG] AttributePathIB = + [1651194449246] [14699:212201] CHIP: [DMG] { + [1651194449246] [14699:212201] CHIP: [DMG] Endpoint = 0x0, + [1651194449246] [14699:212201] CHIP: [DMG] Cluster = 0x2c, + [1651194449246] [14699:212201] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194449246] [14699:212201] CHIP: [DMG] } + [1651194449246] [14699:212201] CHIP: [DMG] + [1651194449246] [14699:212201] CHIP: [DMG] StatusIB = + [1651194449246] [14699:212201] CHIP: [DMG] { + [1651194449246] [14699:212201] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194449246] [14699:212201] CHIP: [DMG] }, + [1651194449246] [14699:212201] CHIP: [DMG] + [1651194449246] [14699:212201] CHIP: [DMG] }, + [1651194449246] [14699:212201] CHIP: [DMG] + [1651194449246] [14699:212201] CHIP: [DMG] ], + [1651194449246] [14699:212201] CHIP: [DMG] + [1651194449246] [14699:212201] CHIP: [DMG] InteractionModelRevision = 1 + [1651194449246] [14699:212201] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 0, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Chinese) TH writes 1 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 1 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 1, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Coptic) TH writes 2 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 2 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 2, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Ethiopian) TH writes 3 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 3 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 3, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Gregorian) TH writes 4 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 4 1 0 + + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 4, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Hebrew) TH writes 5 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 5 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 5, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Indian) TH writes 6 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 6 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 6, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Islamic) TH writes 7 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 7 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 7, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Japanese) TH writes 8 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 8 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 8, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Korean) TH writes 9 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 9 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 9, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: "If (PICS_A_Persian) TH writes 10 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 10 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 10, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true + + - label: + "If (PICS_A_Taiwanese) TH writes 11 to ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization write active-calendar-type 11 1 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = + [1651194780019] [14823:216414] CHIP: [DMG] [ + [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIB = + [1651194780019] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] AttributePathIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] Endpoint = 0x0, + [1651194780020] [14823:216414] CHIP: [DMG] Cluster = 0x2c, + [1651194780020] [14823:216414] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194780020] [14823:216414] CHIP: [DMG] } + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] StatusIB = + [1651194780020] [14823:216414] CHIP: [DMG] { + [1651194780020] [14823:216414] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] }, + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] ], + [1651194780020] [14823:216414] CHIP: [DMG] + [1651194780020] [14823:216414] CHIP: [DMG] InteractionModelRevision = 1 + [1651194780020] [14823:216414] CHIP: [DMG] } + disabled: true + + - label: "TH reads ActiveCalendarType attribute" + verification: | + ./chip-tool timeformatlocalization read active-calendar-type 1 0 + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = + [1651194544627] [14736:213553] CHIP: [DMG] [ + [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] AttributeDataIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] DataVersion = 0xc5ae3d0c, + [1651194544627] [14736:213553] CHIP: [DMG] AttributePathIB = + [1651194544627] [14736:213553] CHIP: [DMG] { + [1651194544627] [14736:213553] CHIP: [DMG] Endpoint = 0x0, + [1651194544627] [14736:213553] CHIP: [DMG] Cluster = 0x2c, + [1651194544627] [14736:213553] CHIP: [DMG] Attribute = 0x0000_0001, + [1651194544627] [14736:213553] CHIP: [DMG] } + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] Data = 11, + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] }, + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] ], + [1651194544627] [14736:213553] CHIP: [DMG] + [1651194544627] [14736:213553] CHIP: [DMG] SuppressResponse = true, + [1651194544627] [14736:213553] CHIP: [DMG] InteractionModelRevision = 1 + [1651194544627] [14736:213553] CHIP: [DMG] } + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml new file mode 100644 index 00000000000000..eb6ed66c1030f3 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_UL_1_1.yaml @@ -0,0 +1,74 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.1. [TC-UL-1.1|]Global Attributes [DUT as Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission DUT to TH" + verification: | + + disabled: true + + - label: "{DUTread} (0xFFFD) ClusterRevision attribute" + verification: | + ./chip-tool unitlocalization read cluster-revision 1 0 + [1651186310867] [11123:114108] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 486381485 + [1651186310867] [11123:114108] CHIP: [TOO] ClusterRevision: 1 + disabled: true + + - label: "{DUTread} (0xFFFC) FeatureMap attribute" + verification: | + ./chip-tool unitlocalization read feature-map 1 0 + [1651186357789] [11140:114768] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFC DataVersion: 486381485 + [1651186357789] [11140:114768] CHIP: [TOO] FeatureMap: 1 + disabled: true + + - label: "{DUTread} (0xFFFB) AttributeList attribute" + verification: | + ./chip-tool unitlocalization read attribute-list 1 0 + [1652335691.917681][3124:3129] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFB DataVersion: 3157629909 + [1652335691.917762][3124:3129] CHIP:TOO: AttributeList: 6 entries + [1652335691.917802][3124:3129] CHIP:TOO: [1]: 0 + [1652335691.917834][3124:3129] CHIP:TOO: [2]: 65528 + [1652335691.917865][3124:3129] CHIP:TOO: [3]: 65529 + [1652335691.917895][3124:3129] CHIP:TOO: [4]: 65531 + [1652335691.917924][3124:3129] CHIP:TOO: [5]: 65532 + [1652335691.917957][3124:3129] CHIP:TOO: [6]: 65533 + disabled: true + + - label: "{DUTread} (0xFFFA) EventList attribute" + verification: | + out of scope for V1.0 + disabled: true + + - label: "{DUTread} (0xFFF9) AcceptedCommandList attribute" + verification: | + ./chip-tool unitlocalization read accepted-command-list 1 0 + + [1651186469211] [11184:116328] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF9 DataVersion: 486381485 + [1651186469211] [11184:116328] CHIP: [TOO] AcceptedCommandList: 0 entries + disabled: true + + - label: "{DUTread} (0xFFF8) GeneratedCommandList attribute" + verification: | + ./chip-tool unitlocalization read generated-command-list 1 0 + [1651191485645] [13481:177154] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF8 DataVersion: 486381492 + [1651191485646] [13481:177154] CHIP: [TOO] GeneratedCommandList: 0 entries + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml b/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml new file mode 100644 index 00000000000000..3d7292c227f465 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_UL_1_2.yaml @@ -0,0 +1,74 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: 3.2. [TC-UL-1.2|]Global Attributes [DUT as Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "Commission TH to DUT" + verification: | + + disabled: true + + - label: "{THread} (0xFFFD) ClusterRevision attribute" + verification: | + ./chip-tool unitlocalization read cluster-revision 1 0 + [1651186310867] [11123:114108] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFD DataVersion: 486381485 + [1651186310867] [11123:114108] CHIP: [TOO] ClusterRevision: 1 + disabled: true + + - label: "{THread} (0xFFFC) FeatureMap attribute" + verification: | + ./chip-tool unitlocalization read feature-map 1 0 + [1651186357789] [11140:114768] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFC DataVersion: 486381485 + [1651186357789] [11140:114768] CHIP: [TOO] FeatureMap: 1 + disabled: true + + - label: "{THread} (0xFFFB) AttributeList attribute" + verification: | + ./chip-tool unitlocalization read attribute-list 1 0 + [1652335691.917681][3124:3129] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFFB DataVersion: 3157629909 + [1652335691.917762][3124:3129] CHIP:TOO: AttributeList: 6 entries + [1652335691.917802][3124:3129] CHIP:TOO: [1]: 0 + [1652335691.917834][3124:3129] CHIP:TOO: [2]: 65528 + [1652335691.917865][3124:3129] CHIP:TOO: [3]: 65529 + [1652335691.917895][3124:3129] CHIP:TOO: [4]: 65531 + [1652335691.917924][3124:3129] CHIP:TOO: [5]: 65532 + [1652335691.917957][3124:3129] CHIP:TOO: [6]: 65533 + disabled: true + + - label: "{THread} (0xFFFA) EventList attribute" + verification: | + out of scope for V1.0 + disabled: true + + - label: "{THread} (0xFFF9) AcceptedCommandList attribute" + verification: | + ./chip-tool unitlocalization read accepted-command-list 1 0 + + [1651186469211] [11184:116328] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF9 DataVersion: 486381485 + [1651186469211] [11184:116328] CHIP: [TOO] AcceptedCommandList: 0 entries + disabled: true + + - label: "{THread} (0xFFF8) GeneratedCommandList attribute" + verification: | + ./chip-tool unitlocalization read generated-command-list 1 0 + [1651191485645] [13481:177154] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_FFF8 DataVersion: 486381492 + [1651191485646] [13481:177154] CHIP: [TOO] GeneratedCommandList: 0 entries + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml new file mode 100644 index 00000000000000..cdeec9a6caa2a6 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_UL_2_1.yaml @@ -0,0 +1,195 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.3. [TC-UL-2.1]Read and Write Unit Localization Cluster Attributes [DUT as + Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "DUT reads TemperatureUnit attribute from TH" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651195354.966398][4306:4306] CHIP:DMG: { + [1651195354.966420][4306:4306] CHIP:DMG: AttributePathIBs = + [1651195354.966446][4306:4306] CHIP:DMG: [ + [1651195354.966508][4306:4306] CHIP:DMG: AttributePathIB = + [1651195354.966544][4306:4306] CHIP:DMG: { + [1651195354.966574][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651195354.966626][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651195354.966657][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651195354.966685][4306:4306] CHIP:DMG: } + [1651195354.966714][4306:4306] CHIP:DMG: + [1651195354.966766][4306:4306] CHIP:DMG: ], + [1651195354.966799][4306:4306] CHIP:DMG: + [1651195354.966845][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651195354.966872][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651195354.966896][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT writes 0 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 0 1 0 + + [1651186603.330367][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651186603.330394][4306:4306] CHIP:DMG: { + [1651186603.330482][4306:4306] CHIP:DMG: suppressResponse = false, + [1651186603.330515][4306:4306] CHIP:DMG: timedRequest = false, + [1651186603.330542][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651186603.330574][4306:4306] CHIP:DMG: [ + [1651186603.330601][4306:4306] CHIP:DMG: AttributeDataIB = + [1651186603.330631][4306:4306] CHIP:DMG: { + [1651186603.330662][4306:4306] CHIP:DMG: AttributePathIB = + [1651186603.330691][4306:4306] CHIP:DMG: { + [1651186603.330725][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651186603.330762][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651186603.330797][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651186603.330829][4306:4306] CHIP:DMG: } + [1651186603.330863][4306:4306] CHIP:DMG: + [1651186603.330899][4306:4306] CHIP:DMG: Data = 0, + [1651186603.330932][4306:4306] CHIP:DMG: }, + [1651186603.330963][4306:4306] CHIP:DMG: + [1651186603.330989][4306:4306] CHIP:DMG: ], + [1651186603.331020][4306:4306] CHIP:DMG: + [1651186603.331047][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651186603.331074][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651186603.331099][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads TemperatureUnit attribute from TH" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651195354.966398][4306:4306] CHIP:DMG: { + [1651195354.966420][4306:4306] CHIP:DMG: AttributePathIBs = + [1651195354.966446][4306:4306] CHIP:DMG: [ + [1651195354.966508][4306:4306] CHIP:DMG: AttributePathIB = + [1651195354.966544][4306:4306] CHIP:DMG: { + [1651195354.966574][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651195354.966626][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651195354.966657][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651195354.966685][4306:4306] CHIP:DMG: } + [1651195354.966714][4306:4306] CHIP:DMG: + [1651195354.966766][4306:4306] CHIP:DMG: ], + [1651195354.966799][4306:4306] CHIP:DMG: + [1651195354.966845][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651195354.966872][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651195354.966896][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT writes 1 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 1 1 0 + [1651190221.098512][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651190221.098539][4306:4306] CHIP:DMG: { + [1651190221.098563][4306:4306] CHIP:DMG: suppressResponse = false, + [1651190221.098590][4306:4306] CHIP:DMG: timedRequest = false, + [1651190221.098615][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651190221.098645][4306:4306] CHIP:DMG: [ + [1651190221.098671][4306:4306] CHIP:DMG: AttributeDataIB = + [1651190221.098743][4306:4306] CHIP:DMG: { + [1651190221.098806][4306:4306] CHIP:DMG: AttributePathIB = + [1651190221.098838][4306:4306] CHIP:DMG: { + [1651190221.098872][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651190221.098903][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651190221.098940][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651190221.099043][4306:4306] CHIP:DMG: } + [1651190221.099080][4306:4306] CHIP:DMG: + [1651190221.099117][4306:4306] CHIP:DMG: Data = 1, + [1651190221.099202][4306:4306] CHIP:DMG: }, + [1651190221.099271][4306:4306] CHIP:DMG: + [1651190221.099296][4306:4306] CHIP:DMG: ], + [1651190221.099326][4306:4306] CHIP:DMG: + [1651190221.099352][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651190221.099378][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651190221.099448][4306:4306] CHIP:DMG: }, + [1651190221.099532][4306:4306] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_002D e=0 p=o + [1651190221.099596][4306:4306] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: "DUT reads TemperatureUnit attribute from TH" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651195354.966398][4306:4306] CHIP:DMG: { + [1651195354.966420][4306:4306] CHIP:DMG: AttributePathIBs = + [1651195354.966446][4306:4306] CHIP:DMG: [ + [1651195354.966508][4306:4306] CHIP:DMG: AttributePathIB = + [1651195354.966544][4306:4306] CHIP:DMG: { + [1651195354.966574][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651195354.966626][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651195354.966657][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651195354.966685][4306:4306] CHIP:DMG: } + [1651195354.966714][4306:4306] CHIP:DMG: + [1651195354.966766][4306:4306] CHIP:DMG: ], + [1651195354.966799][4306:4306] CHIP:DMG: + [1651195354.966845][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651195354.966872][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651195354.966896][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT writes 2 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 2 1 0 + [1651190829.683764][4306:4306] CHIP:DMG: WriteRequestMessage = + [1651190829.683792][4306:4306] CHIP:DMG: { + [1651190829.683827][4306:4306] CHIP:DMG: suppressResponse = false, + [1651190829.683884][4306:4306] CHIP:DMG: timedRequest = false, + [1651190829.683921][4306:4306] CHIP:DMG: AttributeDataIBs = + [1651190829.683956][4306:4306] CHIP:DMG: [ + [1651190829.683991][4306:4306] CHIP:DMG: AttributeDataIB = + [1651190829.684017][4306:4306] CHIP:DMG: { + [1651190829.684045][4306:4306] CHIP:DMG: AttributePathIB = + [1651190829.684083][4306:4306] CHIP:DMG: { + [1651190829.684124][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651190829.684163][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651190829.684209][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651190829.684238][4306:4306] CHIP:DMG: } + [1651190829.684289][4306:4306] CHIP:DMG: + [1651190829.684335][4306:4306] CHIP:DMG: Data = 2, + [1651190829.684371][4306:4306] CHIP:DMG: }, + [1651190829.684410][4306:4306] CHIP:DMG: + [1651190829.684435][4306:4306] CHIP:DMG: ], + [1651190829.684474][4306:4306] CHIP:DMG: + [1651190829.684501][4306:4306] CHIP:DMG: moreChunkedMessages = false, + [1651190829.684535][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651190829.684556][4306:4306] CHIP:DMG: }, + disabled: true + + - label: "DUT reads TemperatureUnit attribute from TH" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651195354.966370][4306:4306] CHIP:DMG: ReadRequestMessage = + [1651195354.966398][4306:4306] CHIP:DMG: { + [1651195354.966420][4306:4306] CHIP:DMG: AttributePathIBs = + [1651195354.966446][4306:4306] CHIP:DMG: [ + [1651195354.966508][4306:4306] CHIP:DMG: AttributePathIB = + [1651195354.966544][4306:4306] CHIP:DMG: { + [1651195354.966574][4306:4306] CHIP:DMG: Endpoint = 0x0, + [1651195354.966626][4306:4306] CHIP:DMG: Cluster = 0x2d, + [1651195354.966657][4306:4306] CHIP:DMG: Attribute = 0x0000_0000, + [1651195354.966685][4306:4306] CHIP:DMG: } + [1651195354.966714][4306:4306] CHIP:DMG: + [1651195354.966766][4306:4306] CHIP:DMG: ], + [1651195354.966799][4306:4306] CHIP:DMG: + [1651195354.966845][4306:4306] CHIP:DMG: isFabricFiltered = true, + [1651195354.966872][4306:4306] CHIP:DMG: InteractionModelRevision = 1 + [1651195354.966896][4306:4306] CHIP:DMG: }, + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_UL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_UL_2_2.yaml new file mode 100644 index 00000000000000..0d5caec3f7b247 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_UL_2_2.yaml @@ -0,0 +1,139 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 3.4. [TC-UL-2.2]Read and Write Unit Localization Cluster Attributes [DUT as + Server] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH reads TemperatureUnit attribute from DUT" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651186538224] [11210:117238] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381485 + [1651186538224] [11210:117238] CHIP: [TOO] TemperatureUnit: 0 + disabled: true + + - label: "TH writes 0 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 0 1 0 + [1651191017267] [13215:170815] CHIP: [DMG] WriteResponseMessage = + [1651191017267] [13215:170815] CHIP: [DMG] { + [1651191017267] [13215:170815] CHIP: [DMG] AttributeStatusIBs = + [1651191017267] [13215:170815] CHIP: [DMG] [ + [1651191017267] [13215:170815] CHIP: [DMG] AttributeStatusIB = + [1651191017267] [13215:170815] CHIP: [DMG] { + [1651191017267] [13215:170815] CHIP: [DMG] AttributePathIB = + [1651191017267] [13215:170815] CHIP: [DMG] { + [1651191017267] [13215:170815] CHIP: [DMG] Endpoint = 0x0, + [1651191017267] [13215:170815] CHIP: [DMG] Cluster = 0x2d, + [1651191017267] [13215:170815] CHIP: [DMG] Attribute = 0x0000_0000, + [1651191017267] [13215:170815] CHIP: [DMG] } + [1651191017267] [13215:170815] CHIP: [DMG] + [1651191017267] [13215:170815] CHIP: [DMG] StatusIB = + [1651191017267] [13215:170815] CHIP: [DMG] { + [1651191017267] [13215:170815] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651191017267] [13215:170815] CHIP: [DMG] }, + [1651191017267] [13215:170815] CHIP: [DMG] + [1651191017267] [13215:170815] CHIP: [DMG] }, + [1651191017267] [13215:170815] CHIP: [DMG] + [1651191017267] [13215:170815] CHIP: [DMG] ], + [1651191017267] [13215:170815] CHIP: [DMG] + [1651191017267] [13215:170815] CHIP: [DMG] InteractionModelRevision = 1 + disabled: true + + - label: "TH reads TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651190135534] [12868:159849] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381486 + [1651190135534] [12868:159849] CHIP: [TOO] TemperatureUnit: 0 + disabled: true + + - label: "TH writes 1 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 1 1 0 + + [1651190221003] [12900:161139] CHIP: [DMG] WriteResponseMessage = + [1651190221003] [12900:161139] CHIP: [DMG] { + [1651190221003] [12900:161139] CHIP: [DMG] AttributeStatusIBs = + [1651190221003] [12900:161139] CHIP: [DMG] [ + [1651190221003] [12900:161139] CHIP: [DMG] AttributeStatusIB = + [1651190221003] [12900:161139] CHIP: [DMG] { + [1651190221003] [12900:161139] CHIP: [DMG] AttributePathIB = + [1651190221003] [12900:161139] CHIP: [DMG] { + [1651190221003] [12900:161139] CHIP: [DMG] Endpoint = 0x0, + [1651190221003] [12900:161139] CHIP: [DMG] Cluster = 0x2d, + [1651190221003] [12900:161139] CHIP: [DMG] Attribute = 0x0000_0000, + [1651190221003] [12900:161139] CHIP: [DMG] } + [1651190221003] [12900:161139] CHIP: [DMG] + [1651190221003] [12900:161139] CHIP: [DMG] StatusIB = + [1651190221003] [12900:161139] CHIP: [DMG] { + [1651190221003] [12900:161139] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651190221003] [12900:161139] CHIP: [DMG] }, + [1651190221003] [12900:161139] CHIP: [DMG] + [1651190221003] [12900:161139] CHIP: [DMG] }, + [1651190221003] [12900:161139] CHIP: [DMG] + [1651190221003] [12900:161139] CHIP: [DMG] ], + [1651190221003] [12900:161139] CHIP: [DMG] + [1651190221003] [12900:161139] CHIP: [DMG] InteractionModelRevision = 1 + [1651190221003] [12900:161139] CHIP: [DMG] } + disabled: true + + - label: "TH reads TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651190800434] [13122:167909] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381489 + [1651190800434] [13122:167909] CHIP: [TOO] TemperatureUnit: 1 + disabled: true + + - label: "TH writes 2 to TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization write temperature-unit 2 1 0 + [1651190829573] [13133:168303] CHIP: [DMG] WriteResponseMessage = + [1651190829573] [13133:168303] CHIP: [DMG] { + [1651190829573] [13133:168303] CHIP: [DMG] AttributeStatusIBs = + [1651190829573] [13133:168303] CHIP: [DMG] [ + [1651190829573] [13133:168303] CHIP: [DMG] AttributeStatusIB = + [1651190829573] [13133:168303] CHIP: [DMG] { + [1651190829573] [13133:168303] CHIP: [DMG] AttributePathIB = + [1651190829573] [13133:168303] CHIP: [DMG] { + [1651190829573] [13133:168303] CHIP: [DMG] Endpoint = 0x0, + [1651190829573] [13133:168303] CHIP: [DMG] Cluster = 0x2d, + [1651190829573] [13133:168303] CHIP: [DMG] Attribute = 0x0000_0000, + [1651190829573] [13133:168303] CHIP: [DMG] } + [1651190829573] [13133:168303] CHIP: [DMG] + [1651190829573] [13133:168303] CHIP: [DMG] StatusIB = + [1651190829573] [13133:168303] CHIP: [DMG] { + [1651190829573] [13133:168303] CHIP: [DMG] status = 0x00 (SUCCESS), + [1651190829573] [13133:168303] CHIP: [DMG] }, + [1651190829573] [13133:168303] CHIP: [DMG] + [1651190829573] [13133:168303] CHIP: [DMG] }, + [1651190829573] [13133:168303] CHIP: [DMG] + [1651190829573] [13133:168303] CHIP: [DMG] ], + [1651190829573] [13133:168303] CHIP: [DMG] + [1651190829573] [13133:168303] CHIP: [DMG] InteractionModelRevision = 1 + [1651190829573] [13133:168303] CHIP: [DMG] } + disabled: true + + - label: "TH reads TemperatureUnit attribute" + verification: | + ./chip-tool unitlocalization read temperature-unit 1 0 + [1651190908005] [13164:169492] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002D Attribute 0x0000_0000 DataVersion: 486381490 + [1651190908005] [13164:169492] CHIP: [TOO] TemperatureUnit: 2 + disabled: true diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index b41a4078fe48fa..8607f56950a393 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -38,6 +38,9 @@ function getManualTests() { 'Test_TC_DD_1_10', 'Test_TC_DD_1_11', 'Test_TC_DD_1_12', + 'Test_TC_DD_1_13', + 'Test_TC_DD_1_14', + 'Test_TC_DD_1_15', 'Test_TC_DD_2_1', 'Test_TC_DD_2_2', 'Test_TC_DD_3_1', @@ -54,12 +57,22 @@ function getManualTests() { 'Test_TC_DD_3_12', 'Test_TC_DD_3_13', 'Test_TC_DD_3_14', - 'Test_TC_DD_4_1', + 'Test_TC_DD_3_15', + 'Test_TC_DD_3_16', + 'Test_TC_DD_3_17', + 'Test_TC_DD_3_18', + 'Test_TC_DD_3_19', + 'Test_TC_DD_3_20', ]; const Groups = [ 'TestGroupDemoCommand', 'TestGroupDemoConfig', + 'Test_TC_GR_1_1', + 'Test_TC_GR_2_1', + 'Test_TC_GR_2_2', + 'Test_TC_GR_3_1', + 'Test_TC_GR_3_2', ]; const BulkDataExchangeProtocol = [ @@ -344,27 +357,6 @@ function getManualTests() { 'Test_TC_LVL_2_3', ]; - const NetworkCommissioning = [ - 'Test_TC_NC_1_1', - 'Test_TC_NC_1_2', - 'Test_TC_NC_1_3', - 'Test_TC_NC_1_4', - 'Test_TC_NC_1_5', - 'Test_TC_NC_1_6', - 'Test_TC_NC_1_7', - 'Test_TC_NC_1_8', - 'Test_TC_NC_1_9', - 'Test_TC_NC_1_10', - 'Test_TC_NC_1_11', - 'Test_TC_NC_1_12', - 'Test_TC_NC_1_13', - 'Test_TC_NC_1_14', - 'Test_TC_NC_1_15', - 'Test_TC_NC_1_16', - 'Test_TC_NC_1_17', - 'Test_TC_NC_1_18', - ]; - const OnOff = [ 'Test_TC_OO_3_1', 'Test_TC_OO_3_2', @@ -399,6 +391,26 @@ function getManualTests() { 'Test_TC_DIAG_TH_NW_2_9', ]; + const Actions = [ + 'Test_TC_ACT_1_1', + 'Test_TC_ACT_2_1', + 'Test_TC_ACT_2_2', + 'Test_TC_ACT_3_1', + ]; + + const TimeFormatLocalization = [ + 'Test_TC_TFL_1_1', + 'Test_TC_TFL_1_2', + 'Test_TC_TFL_2_1', + 'Test_TC_TFL_2_2', + ]; + + const UnitLocalization = [ + 'Test_TC_UL_1_1', + 'Test_TC_UL_1_2', + 'Test_TC_UL_2_1', + 'Test_TC_UL_2_2', + ]; const tests = [ DeviceDiscovery, @@ -435,7 +447,6 @@ function getManualTests() { UserLabel, LocalizationConfiguration, LevelControl, - NetworkCommissioning, OnOff, RelativeHumidityMeasurement, Switch, @@ -443,6 +454,9 @@ function getManualTests() { Thermostat, ThermostatUserConfiguration, ThreadNetworkDiagnostics, + Actions, + TimeFormatLocalization, + UnitLocalization, ].flat(1); tests.disable = disable.bind(tests); diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index e7b587c935e8ee..42ec7fe59a8cb5 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -252,6 +252,9 @@ class ManualTestList : public Command printf("Test_TC_DD_1_10\n"); printf("Test_TC_DD_1_11\n"); printf("Test_TC_DD_1_12\n"); + printf("Test_TC_DD_1_13\n"); + printf("Test_TC_DD_1_14\n"); + printf("Test_TC_DD_1_15\n"); printf("Test_TC_DD_2_1\n"); printf("Test_TC_DD_2_2\n"); printf("Test_TC_DD_3_1\n"); @@ -268,9 +271,19 @@ class ManualTestList : public Command printf("Test_TC_DD_3_12\n"); printf("Test_TC_DD_3_13\n"); printf("Test_TC_DD_3_14\n"); - printf("Test_TC_DD_4_1\n"); + printf("Test_TC_DD_3_15\n"); + printf("Test_TC_DD_3_16\n"); + printf("Test_TC_DD_3_17\n"); + printf("Test_TC_DD_3_18\n"); + printf("Test_TC_DD_3_19\n"); + 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_3_1\n"); + printf("Test_TC_GR_3_2\n"); printf("Test_TC_BDX_1_1\n"); printf("Test_TC_BDX_1_2\n"); printf("Test_TC_BDX_1_3\n"); @@ -457,24 +470,6 @@ class ManualTestList : public Command printf("Test_TC_LC_2_5\n"); printf("Test_TC_LO_1_1\n"); printf("Test_TC_LVL_2_3\n"); - printf("Test_TC_NC_1_1\n"); - printf("Test_TC_NC_1_2\n"); - printf("Test_TC_NC_1_3\n"); - printf("Test_TC_NC_1_4\n"); - printf("Test_TC_NC_1_5\n"); - printf("Test_TC_NC_1_6\n"); - printf("Test_TC_NC_1_7\n"); - printf("Test_TC_NC_1_8\n"); - printf("Test_TC_NC_1_9\n"); - printf("Test_TC_NC_1_10\n"); - printf("Test_TC_NC_1_11\n"); - printf("Test_TC_NC_1_12\n"); - printf("Test_TC_NC_1_13\n"); - printf("Test_TC_NC_1_14\n"); - printf("Test_TC_NC_1_15\n"); - printf("Test_TC_NC_1_16\n"); - printf("Test_TC_NC_1_17\n"); - printf("Test_TC_NC_1_18\n"); printf("Test_TC_OO_3_1\n"); printf("Test_TC_OO_3_2\n"); printf("Test_TC_RH_3_1\n"); @@ -488,6 +483,18 @@ class ManualTestList : public Command printf("Test_TC_DIAG_TH_NW_2_7\n"); printf("Test_TC_DIAG_TH_NW_2_8\n"); printf("Test_TC_DIAG_TH_NW_2_9\n"); + printf("Test_TC_ACT_1_1\n"); + printf("Test_TC_ACT_2_1\n"); + printf("Test_TC_ACT_2_2\n"); + printf("Test_TC_ACT_3_1\n"); + printf("Test_TC_TFL_1_1\n"); + printf("Test_TC_TFL_1_2\n"); + printf("Test_TC_TFL_2_1\n"); + printf("Test_TC_TFL_2_2\n"); + printf("Test_TC_UL_1_1\n"); + printf("Test_TC_UL_1_2\n"); + printf("Test_TC_UL_2_1\n"); + printf("Test_TC_UL_2_2\n"); return CHIP_NO_ERROR; } @@ -64944,7 +64951,7 @@ class TestGroupKeyManagementClusterSuite : public TestCommand class Test_TC_DD_1_5Suite : public TestCommand { public: - Test_TC_DD_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_5", 1, credsIssuerConfig) + Test_TC_DD_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -64977,10 +64984,6 @@ class Test_TC_DD_1_5Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -64996,16 +64999,6 @@ class Test_TC_DD_1_5Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Step 1"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span( - "Verify that the onboarding payload for NFC tags SHALL use NDEF URI Record Type Definition as defined by NFC Forum " - "in URI Record Type Definition RTD URIgarbage: not in length on purpose", - 151); - return Log(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } @@ -65014,7 +65007,7 @@ class Test_TC_DD_1_5Suite : public TestCommand class Test_TC_DD_1_6Suite : public TestCommand { public: - Test_TC_DD_1_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_6", 3, credsIssuerConfig) + Test_TC_DD_1_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_6", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65047,18 +65040,6 @@ class Test_TC_DD_1_6Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -65074,32 +65055,6 @@ class Test_TC_DD_1_6Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Step 1"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = - chip::Span("Scan the DUTs QR code using a QR code readergarbage: not in length on purpose", 44); - return Log(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Step 1 verification"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = - chip::Span("Verify the QR code gets scanned successfully and the QR code must be of sufficient size " - "and contrast respective to surface material as to be readable with standard readers such " - "as smartphones in normal lighting conditionsgarbage: not in length on purpose", - 221); - return Log(kIdentityAlpha, value); - } - case 2: { - LogStep(2, "Step 2 verificaiton"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Verify QR code version is 1 or highergarbage: not in length on purpose", 37); - return Log(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } @@ -65108,7 +65063,7 @@ class Test_TC_DD_1_6Suite : public TestCommand class Test_TC_DD_1_7Suite : public TestCommand { public: - Test_TC_DD_1_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_7", 2, credsIssuerConfig) + Test_TC_DD_1_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65141,14 +65096,6 @@ class Test_TC_DD_1_7Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -65164,25 +65111,6 @@ class Test_TC_DD_1_7Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Precondition"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Verify manual pairing code is printed on the device or in additional provided " - "materialsgarbage: not in length on purpose", - 87); - return Log(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Step 1"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = - chip::Span("Verify that the Manual Pairing Code should be printed using a minimum font size of 6 " - "points typically producing a typeface height of 2.1 mmgarbage: not in length on purpose", - 139); - return Log(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } @@ -65191,7 +65119,7 @@ class Test_TC_DD_1_7Suite : public TestCommand class Test_TC_DD_1_8Suite : public TestCommand { public: - Test_TC_DD_1_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_8", 2, credsIssuerConfig) + Test_TC_DD_1_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_8", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65224,14 +65152,6 @@ class Test_TC_DD_1_8Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -65247,22 +65167,6 @@ class Test_TC_DD_1_8Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Step 1"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Scan the device QR code using DUTgarbage: not in length on purpose", 33); - return Log(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Step 1 verification"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Verify the DUT is able to scan and parse the QR code successfully to onboard " - "the device onto the CHIP networkgarbage: not in length on purpose", - 109); - return Log(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } @@ -65271,7 +65175,7 @@ class Test_TC_DD_1_8Suite : public TestCommand class Test_TC_DD_1_9Suite : public TestCommand { public: - Test_TC_DD_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_9", 3, credsIssuerConfig) + Test_TC_DD_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_9", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65304,18 +65208,6 @@ class Test_TC_DD_1_9Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -65331,33 +65223,6 @@ class Test_TC_DD_1_9Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Precondition"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Verify that the manual pairing code is printed on the device or in additional " - "provided materialsgarbage: not in length on purpose", - 96); - return Log(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Step 1"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Provide the 11 digit or 21 digit pairing code from the Device in text speech " - "or any format supported by DUTgarbage: not in length on purpose", - 107); - return Log(kIdentityAlpha, value); - } - case 2: { - LogStep(2, "Step 1 verification"); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::Log::Type value; - value.message = chip::Span("Verify that the manual pairing code can be provided to DUT and parsed to " - "onboard the device onto the CHIP networkgarbage: not in length on purpose", - 113); - return Log(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } @@ -65531,10 +65396,10 @@ class Test_TC_DD_1_12Suite : public TestCommand } }; -class Test_TC_DD_2_1Suite : public TestCommand +class Test_TC_DD_1_13Suite : public TestCommand { public: - Test_TC_DD_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_2_1", 0, credsIssuerConfig) + Test_TC_DD_1_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_13", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65542,7 +65407,7 @@ class Test_TC_DD_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_2_1Suite() {} + ~Test_TC_DD_1_13Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65587,10 +65452,10 @@ class Test_TC_DD_2_1Suite : public TestCommand } }; -class Test_TC_DD_2_2Suite : public TestCommand +class Test_TC_DD_1_14Suite : public TestCommand { public: - Test_TC_DD_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_2_2", 0, credsIssuerConfig) + Test_TC_DD_1_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_14", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65598,7 +65463,7 @@ class Test_TC_DD_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_2_2Suite() {} + ~Test_TC_DD_1_14Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65643,10 +65508,10 @@ class Test_TC_DD_2_2Suite : public TestCommand } }; -class Test_TC_DD_3_1Suite : public TestCommand +class Test_TC_DD_1_15Suite : public TestCommand { public: - Test_TC_DD_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_1", 0, credsIssuerConfig) + Test_TC_DD_1_15Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_1_15", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65654,7 +65519,7 @@ class Test_TC_DD_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_1Suite() {} + ~Test_TC_DD_1_15Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65699,10 +65564,10 @@ class Test_TC_DD_3_1Suite : public TestCommand } }; -class Test_TC_DD_3_2Suite : public TestCommand +class Test_TC_DD_2_1Suite : public TestCommand { public: - Test_TC_DD_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_2", 0, credsIssuerConfig) + Test_TC_DD_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65710,7 +65575,7 @@ class Test_TC_DD_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_2Suite() {} + ~Test_TC_DD_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65755,10 +65620,10 @@ class Test_TC_DD_3_2Suite : public TestCommand } }; -class Test_TC_DD_3_3Suite : public TestCommand +class Test_TC_DD_2_2Suite : public TestCommand { public: - Test_TC_DD_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_3", 0, credsIssuerConfig) + Test_TC_DD_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65766,7 +65631,7 @@ class Test_TC_DD_3_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_3Suite() {} + ~Test_TC_DD_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65811,10 +65676,10 @@ class Test_TC_DD_3_3Suite : public TestCommand } }; -class Test_TC_DD_3_4Suite : public TestCommand +class Test_TC_DD_3_1Suite : public TestCommand { public: - Test_TC_DD_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_4", 0, credsIssuerConfig) + Test_TC_DD_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65822,7 +65687,7 @@ class Test_TC_DD_3_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_4Suite() {} + ~Test_TC_DD_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65867,10 +65732,10 @@ class Test_TC_DD_3_4Suite : public TestCommand } }; -class Test_TC_DD_3_5Suite : public TestCommand +class Test_TC_DD_3_2Suite : public TestCommand { public: - Test_TC_DD_3_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_5", 0, credsIssuerConfig) + Test_TC_DD_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65878,7 +65743,7 @@ class Test_TC_DD_3_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_5Suite() {} + ~Test_TC_DD_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65923,10 +65788,10 @@ class Test_TC_DD_3_5Suite : public TestCommand } }; -class Test_TC_DD_3_6Suite : public TestCommand +class Test_TC_DD_3_3Suite : public TestCommand { public: - Test_TC_DD_3_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_6", 0, credsIssuerConfig) + Test_TC_DD_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65934,7 +65799,7 @@ class Test_TC_DD_3_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_6Suite() {} + ~Test_TC_DD_3_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -65979,10 +65844,10 @@ class Test_TC_DD_3_6Suite : public TestCommand } }; -class Test_TC_DD_3_7Suite : public TestCommand +class Test_TC_DD_3_4Suite : public TestCommand { public: - Test_TC_DD_3_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_7", 0, credsIssuerConfig) + Test_TC_DD_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -65990,7 +65855,119 @@ class Test_TC_DD_3_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_7Suite() {} + ~Test_TC_DD_3_4Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_5Suite : public TestCommand +{ +public: + Test_TC_DD_3_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_5", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_5Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_6Suite : public TestCommand +{ +public: + Test_TC_DD_3_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_6", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_6Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66035,10 +66012,10 @@ class Test_TC_DD_3_7Suite : public TestCommand } }; -class Test_TC_DD_3_8Suite : public TestCommand +class Test_TC_DD_3_7Suite : public TestCommand { public: - Test_TC_DD_3_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_8", 0, credsIssuerConfig) + Test_TC_DD_3_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66046,7 +66023,7 @@ class Test_TC_DD_3_8Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_8Suite() {} + ~Test_TC_DD_3_7Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66091,10 +66068,10 @@ class Test_TC_DD_3_8Suite : public TestCommand } }; -class Test_TC_DD_3_9Suite : public TestCommand +class Test_TC_DD_3_8Suite : public TestCommand { public: - Test_TC_DD_3_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_9", 0, credsIssuerConfig) + Test_TC_DD_3_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_8", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66102,7 +66079,7 @@ class Test_TC_DD_3_9Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_9Suite() {} + ~Test_TC_DD_3_8Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66147,10 +66124,10 @@ class Test_TC_DD_3_9Suite : public TestCommand } }; -class Test_TC_DD_3_10Suite : public TestCommand +class Test_TC_DD_3_9Suite : public TestCommand { public: - Test_TC_DD_3_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_10", 0, credsIssuerConfig) + Test_TC_DD_3_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_9", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66158,7 +66135,7 @@ class Test_TC_DD_3_10Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_10Suite() {} + ~Test_TC_DD_3_9Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66203,10 +66180,10 @@ class Test_TC_DD_3_10Suite : public TestCommand } }; -class Test_TC_DD_3_11Suite : public TestCommand +class Test_TC_DD_3_10Suite : public TestCommand { public: - Test_TC_DD_3_11Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_11", 0, credsIssuerConfig) + Test_TC_DD_3_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_10", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66214,7 +66191,7 @@ class Test_TC_DD_3_11Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_11Suite() {} + ~Test_TC_DD_3_10Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66259,10 +66236,10 @@ class Test_TC_DD_3_11Suite : public TestCommand } }; -class Test_TC_DD_3_12Suite : public TestCommand +class Test_TC_DD_3_11Suite : public TestCommand { public: - Test_TC_DD_3_12Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_12", 0, credsIssuerConfig) + Test_TC_DD_3_11Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_11", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66270,7 +66247,7 @@ class Test_TC_DD_3_12Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_12Suite() {} + ~Test_TC_DD_3_11Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66315,10 +66292,10 @@ class Test_TC_DD_3_12Suite : public TestCommand } }; -class Test_TC_DD_3_13Suite : public TestCommand +class Test_TC_DD_3_12Suite : public TestCommand { public: - Test_TC_DD_3_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_13", 0, credsIssuerConfig) + Test_TC_DD_3_12Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_12", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66326,7 +66303,7 @@ class Test_TC_DD_3_13Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_13Suite() {} + ~Test_TC_DD_3_12Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66371,10 +66348,10 @@ class Test_TC_DD_3_13Suite : public TestCommand } }; -class Test_TC_DD_3_14Suite : public TestCommand +class Test_TC_DD_3_13Suite : public TestCommand { public: - Test_TC_DD_3_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_14", 0, credsIssuerConfig) + Test_TC_DD_3_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_13", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66382,7 +66359,7 @@ class Test_TC_DD_3_14Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_3_14Suite() {} + ~Test_TC_DD_3_13Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66427,10 +66404,10 @@ class Test_TC_DD_3_14Suite : public TestCommand } }; -class Test_TC_DD_4_1Suite : public TestCommand +class Test_TC_DD_3_14Suite : public TestCommand { public: - Test_TC_DD_4_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_4_1", 0, credsIssuerConfig) + Test_TC_DD_3_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_14", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66438,7 +66415,7 @@ class Test_TC_DD_4_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DD_4_1Suite() {} + ~Test_TC_DD_3_14Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66483,11 +66460,10 @@ class Test_TC_DD_4_1Suite : public TestCommand } }; -class TestGroupDemoCommandSuite : public TestCommand +class Test_TC_DD_3_15Suite : public TestCommand { public: - TestGroupDemoCommandSuite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("TestGroupDemoCommand", 21, credsIssuerConfig) + Test_TC_DD_3_15Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_15", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66495,7 +66471,7 @@ class TestGroupDemoCommandSuite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~TestGroupDemoCommandSuite() {} + ~Test_TC_DD_3_15Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66520,80 +66496,6 @@ class TestGroupDemoCommandSuite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 3: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 9: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 10: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 11: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 12: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 13: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 14: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 15: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 16: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 17: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 18: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 19: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 20: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -66609,153 +66511,15 @@ class TestGroupDemoCommandSuite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Wait for the commissioned device to be retrieved"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Turn On the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::On::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); - } - case 2: { - LogStep(2, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 3: { - LogStep(3, "Turn Off the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::Off::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); - } - case 4: { - LogStep(4, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 5: { - LogStep(5, "Turn On the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::On::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); - } - case 6: { - LogStep(6, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 7: { - LogStep(7, "Turn Off the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::Off::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); - } - case 8: { - LogStep(8, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 9: { - LogStep(9, "Turn On the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::On::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); - } - case 10: { - LogStep(10, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 11: { - LogStep(11, "Turn Off the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::Off::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); - } - case 12: { - LogStep(12, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 13: { - LogStep(13, "Turn On the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::On::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); - } - case 14: { - LogStep(14, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 15: { - LogStep(15, "Turn Off the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::Off::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); - } - case 16: { - LogStep(16, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 17: { - LogStep(17, "Turn On the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::On::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); - } - case 18: { - LogStep(18, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 19: { - LogStep(19, "Turn Off the light to see attribute change"); - ListFreer listFreer; - chip::app::Clusters::OnOff::Commands::Off::Type value; - return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); - } - case 20: { - LogStep(20, "Wait 100ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; - return WaitForMs(kIdentityAlpha, value); - } } return CHIP_NO_ERROR; } }; -class TestGroupDemoConfigSuite : public TestCommand +class Test_TC_DD_3_16Suite : public TestCommand { public: - TestGroupDemoConfigSuite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("TestGroupDemoConfig", 5, credsIssuerConfig) + Test_TC_DD_3_16Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_16", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -66763,7 +66527,556 @@ class TestGroupDemoConfigSuite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~TestGroupDemoConfigSuite() {} + ~Test_TC_DD_3_16Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_17Suite : public TestCommand +{ +public: + Test_TC_DD_3_17Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_17", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_17Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_18Suite : public TestCommand +{ +public: + Test_TC_DD_3_18Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_18", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_18Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_19Suite : public TestCommand +{ +public: + Test_TC_DD_3_19Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_19", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_19Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_DD_3_20Suite : public TestCommand +{ +public: + Test_TC_DD_3_20Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DD_3_20", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_DD_3_20Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class TestGroupDemoCommandSuite : public TestCommand +{ +public: + TestGroupDemoCommandSuite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("TestGroupDemoCommand", 21, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~TestGroupDemoCommandSuite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + case 0: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 1: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 3: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 5: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 6: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 7: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 8: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 9: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 11: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 12: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 13: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 14: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 15: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 16: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 17: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 18: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 19: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 20: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + case 0: { + LogStep(0, "Wait for the commissioned device to be retrieved"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; + value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; + return WaitForCommissionee(kIdentityAlpha, value); + } + case 1: { + LogStep(1, "Turn On the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::On::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); + } + case 2: { + LogStep(2, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 3: { + LogStep(3, "Turn Off the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::Off::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); + } + case 4: { + LogStep(4, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 5: { + LogStep(5, "Turn On the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::On::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); + } + case 6: { + LogStep(6, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 7: { + LogStep(7, "Turn Off the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::Off::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); + } + case 8: { + LogStep(8, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 9: { + LogStep(9, "Turn On the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::On::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); + } + case 10: { + LogStep(10, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 11: { + LogStep(11, "Turn Off the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::Off::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); + } + case 12: { + LogStep(12, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 13: { + LogStep(13, "Turn On the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::On::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); + } + case 14: { + LogStep(14, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 15: { + LogStep(15, "Turn Off the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::Off::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); + } + case 16: { + LogStep(16, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 17: { + LogStep(17, "Turn On the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::On::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::On::Id, value); + } + case 18: { + LogStep(18, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + case 19: { + LogStep(19, "Turn Off the light to see attribute change"); + ListFreer listFreer; + chip::app::Clusters::OnOff::Commands::Off::Type value; + return SendGroupCommand(kIdentityAlpha, 257, OnOff::Id, OnOff::Commands::Off::Id, value); + } + case 20: { + LogStep(20, "Wait 100ms"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; + value.ms = 1000UL; + return WaitForMs(kIdentityAlpha, value); + } + } + return CHIP_NO_ERROR; + } +}; + +class TestGroupDemoConfigSuite : public TestCommand +{ +public: + TestGroupDemoConfigSuite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("TestGroupDemoConfig", 5, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~TestGroupDemoConfigSuite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -66936,6 +67249,286 @@ class TestGroupDemoConfigSuite : public TestCommand } }; +class Test_TC_GR_1_1Suite : public TestCommand +{ +public: + Test_TC_GR_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_1_1", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_GR_1_1Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_GR_2_1Suite : public TestCommand +{ +public: + Test_TC_GR_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_2_1", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_GR_2_1Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_GR_2_2Suite : public TestCommand +{ +public: + Test_TC_GR_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_2_2", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_GR_2_2Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_GR_3_1Suite : public TestCommand +{ +public: + Test_TC_GR_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_3_1", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_GR_3_1Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + +class Test_TC_GR_3_2Suite : public TestCommand +{ +public: + Test_TC_GR_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_GR_3_2", 0, credsIssuerConfig) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + + ~Test_TC_GR_3_2Suite() {} + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } + + // + // Tests methods + // + + void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override + { + bool shouldContinue = false; + + switch (mTestIndex - 1) + { + default: + LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); + } + + if (shouldContinue) + { + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + } + + CHIP_ERROR DoTestStep(uint16_t testIndex) override + { + using namespace chip::app::Clusters; + switch (testIndex) + { + } + return CHIP_NO_ERROR; + } +}; + class Test_TC_BDX_1_1Suite : public TestCommand { public: @@ -74439,346 +75032,10 @@ class Test_TC_MOD_1_3Suite : public TestCommand } }; -class Test_TC_MOD_2_1Suite : public TestCommand -{ -public: - Test_TC_MOD_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_2_1", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_MOD_2_1Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_MOD_2_2Suite : public TestCommand -{ -public: - Test_TC_MOD_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_2_2", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_MOD_2_2Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_MOD_3_1Suite : public TestCommand -{ -public: - Test_TC_MOD_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_1", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_MOD_3_1Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_MOD_3_2Suite : public TestCommand -{ -public: - Test_TC_MOD_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_2", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_MOD_3_2Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_MOD_3_3Suite : public TestCommand -{ -public: - Test_TC_MOD_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_3", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_MOD_3_3Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_SU_1_1Suite : public TestCommand -{ -public: - Test_TC_SU_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_1_1", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_SU_1_1Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_SU_2_1Suite : public TestCommand +class Test_TC_MOD_2_1Suite : public TestCommand { public: - Test_TC_SU_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_1", 0, credsIssuerConfig) + Test_TC_MOD_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -74786,7 +75043,7 @@ class Test_TC_SU_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_1Suite() {} + ~Test_TC_MOD_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -74831,10 +75088,10 @@ class Test_TC_SU_2_1Suite : public TestCommand } }; -class Test_TC_SU_2_2Suite : public TestCommand +class Test_TC_MOD_2_2Suite : public TestCommand { public: - Test_TC_SU_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_2", 0, credsIssuerConfig) + Test_TC_MOD_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -74842,7 +75099,7 @@ class Test_TC_SU_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_2Suite() {} + ~Test_TC_MOD_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -74887,10 +75144,10 @@ class Test_TC_SU_2_2Suite : public TestCommand } }; -class Test_TC_SU_2_3Suite : public TestCommand +class Test_TC_MOD_3_1Suite : public TestCommand { public: - Test_TC_SU_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_3", 0, credsIssuerConfig) + Test_TC_MOD_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -74898,7 +75155,7 @@ class Test_TC_SU_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_3Suite() {} + ~Test_TC_MOD_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -74943,10 +75200,10 @@ class Test_TC_SU_2_3Suite : public TestCommand } }; -class Test_TC_SU_2_4Suite : public TestCommand +class Test_TC_MOD_3_2Suite : public TestCommand { public: - Test_TC_SU_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_4", 0, credsIssuerConfig) + Test_TC_MOD_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -74954,7 +75211,7 @@ class Test_TC_SU_2_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_4Suite() {} + ~Test_TC_MOD_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -74999,10 +75256,10 @@ class Test_TC_SU_2_4Suite : public TestCommand } }; -class Test_TC_SU_2_5Suite : public TestCommand +class Test_TC_MOD_3_3Suite : public TestCommand { public: - Test_TC_SU_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_5", 0, credsIssuerConfig) + Test_TC_MOD_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_MOD_3_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75010,7 +75267,7 @@ class Test_TC_SU_2_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_5Suite() {} + ~Test_TC_MOD_3_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75055,10 +75312,10 @@ class Test_TC_SU_2_5Suite : public TestCommand } }; -class Test_TC_SU_2_6Suite : public TestCommand +class Test_TC_SU_1_1Suite : public TestCommand { public: - Test_TC_SU_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_6", 0, credsIssuerConfig) + Test_TC_SU_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75066,7 +75323,7 @@ class Test_TC_SU_2_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_6Suite() {} + ~Test_TC_SU_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75111,10 +75368,10 @@ class Test_TC_SU_2_6Suite : public TestCommand } }; -class Test_TC_SU_2_7Suite : public TestCommand +class Test_TC_SU_2_1Suite : public TestCommand { public: - Test_TC_SU_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_7", 0, credsIssuerConfig) + Test_TC_SU_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75122,7 +75379,7 @@ class Test_TC_SU_2_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_2_7Suite() {} + ~Test_TC_SU_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75167,10 +75424,10 @@ class Test_TC_SU_2_7Suite : public TestCommand } }; -class Test_TC_SU_3_1Suite : public TestCommand +class Test_TC_SU_2_2Suite : public TestCommand { public: - Test_TC_SU_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_1", 0, credsIssuerConfig) + Test_TC_SU_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75178,7 +75435,7 @@ class Test_TC_SU_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_3_1Suite() {} + ~Test_TC_SU_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75223,10 +75480,10 @@ class Test_TC_SU_3_1Suite : public TestCommand } }; -class Test_TC_SU_3_2Suite : public TestCommand +class Test_TC_SU_2_3Suite : public TestCommand { public: - Test_TC_SU_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_2", 0, credsIssuerConfig) + Test_TC_SU_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75234,7 +75491,7 @@ class Test_TC_SU_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_3_2Suite() {} + ~Test_TC_SU_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75279,10 +75536,10 @@ class Test_TC_SU_3_2Suite : public TestCommand } }; -class Test_TC_SU_3_3Suite : public TestCommand +class Test_TC_SU_2_4Suite : public TestCommand { public: - Test_TC_SU_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_3", 0, credsIssuerConfig) + Test_TC_SU_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75290,7 +75547,7 @@ class Test_TC_SU_3_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_3_3Suite() {} + ~Test_TC_SU_2_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75335,10 +75592,10 @@ class Test_TC_SU_3_3Suite : public TestCommand } }; -class Test_TC_SU_3_4Suite : public TestCommand +class Test_TC_SU_2_5Suite : public TestCommand { public: - Test_TC_SU_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_4", 0, credsIssuerConfig) + Test_TC_SU_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75346,7 +75603,7 @@ class Test_TC_SU_3_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_3_4Suite() {} + ~Test_TC_SU_2_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75391,10 +75648,10 @@ class Test_TC_SU_3_4Suite : public TestCommand } }; -class Test_TC_SU_4_1Suite : public TestCommand +class Test_TC_SU_2_6Suite : public TestCommand { public: - Test_TC_SU_4_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_4_1", 0, credsIssuerConfig) + Test_TC_SU_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_6", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75402,7 +75659,7 @@ class Test_TC_SU_4_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_4_1Suite() {} + ~Test_TC_SU_2_6Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75447,10 +75704,10 @@ class Test_TC_SU_4_1Suite : public TestCommand } }; -class Test_TC_SU_4_2Suite : public TestCommand +class Test_TC_SU_2_7Suite : public TestCommand { public: - Test_TC_SU_4_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_4_2", 0, credsIssuerConfig) + Test_TC_SU_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_2_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75458,7 +75715,7 @@ class Test_TC_SU_4_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SU_4_2Suite() {} + ~Test_TC_SU_2_7Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75503,10 +75760,10 @@ class Test_TC_SU_4_2Suite : public TestCommand } }; -class Test_TC_PSCFG_2_1Suite : public TestCommand +class Test_TC_SU_3_1Suite : public TestCommand { public: - Test_TC_PSCFG_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_2_1", 0, credsIssuerConfig) + Test_TC_SU_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75514,7 +75771,7 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PSCFG_2_1Suite() {} + ~Test_TC_SU_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75559,10 +75816,10 @@ class Test_TC_PSCFG_2_1Suite : public TestCommand } }; -class Test_TC_PSCFG_2_2Suite : public TestCommand +class Test_TC_SU_3_2Suite : public TestCommand { public: - Test_TC_PSCFG_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_2_2", 0, credsIssuerConfig) + Test_TC_SU_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75570,7 +75827,7 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PSCFG_2_2Suite() {} + ~Test_TC_SU_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75615,10 +75872,10 @@ class Test_TC_PSCFG_2_2Suite : public TestCommand } }; -class Test_TC_PSCFG_3_1Suite : public TestCommand +class Test_TC_SU_3_3Suite : public TestCommand { public: - Test_TC_PSCFG_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_3_1", 0, credsIssuerConfig) + Test_TC_SU_3_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75626,7 +75883,7 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PSCFG_3_1Suite() {} + ~Test_TC_SU_3_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75671,10 +75928,10 @@ class Test_TC_PSCFG_3_1Suite : public TestCommand } }; -class Test_TC_SC_4_1Suite : public TestCommand +class Test_TC_SU_3_4Suite : public TestCommand { public: - Test_TC_SC_4_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_1", 0, credsIssuerConfig) + Test_TC_SU_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_3_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75682,7 +75939,7 @@ class Test_TC_SC_4_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_1Suite() {} + ~Test_TC_SU_3_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75727,10 +75984,10 @@ class Test_TC_SC_4_1Suite : public TestCommand } }; -class Test_TC_SC_4_3Suite : public TestCommand +class Test_TC_SU_4_1Suite : public TestCommand { public: - Test_TC_SC_4_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_3", 0, credsIssuerConfig) + Test_TC_SU_4_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_4_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75738,7 +75995,7 @@ class Test_TC_SC_4_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_3Suite() {} + ~Test_TC_SU_4_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75783,10 +76040,10 @@ class Test_TC_SC_4_3Suite : public TestCommand } }; -class Test_TC_SC_4_4Suite : public TestCommand +class Test_TC_SU_4_2Suite : public TestCommand { public: - Test_TC_SC_4_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_4", 0, credsIssuerConfig) + Test_TC_SU_4_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SU_4_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75794,7 +76051,7 @@ class Test_TC_SC_4_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_4Suite() {} + ~Test_TC_SU_4_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75839,10 +76096,10 @@ class Test_TC_SC_4_4Suite : public TestCommand } }; -class Test_TC_SC_4_5Suite : public TestCommand +class Test_TC_PSCFG_2_1Suite : public TestCommand { public: - Test_TC_SC_4_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_5", 0, credsIssuerConfig) + Test_TC_PSCFG_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75850,7 +76107,7 @@ class Test_TC_SC_4_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_5Suite() {} + ~Test_TC_PSCFG_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75895,10 +76152,10 @@ class Test_TC_SC_4_5Suite : public TestCommand } }; -class Test_TC_SC_4_6Suite : public TestCommand +class Test_TC_PSCFG_2_2Suite : public TestCommand { public: - Test_TC_SC_4_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_6", 0, credsIssuerConfig) + Test_TC_PSCFG_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75906,7 +76163,7 @@ class Test_TC_SC_4_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_6Suite() {} + ~Test_TC_PSCFG_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -75951,10 +76208,10 @@ class Test_TC_SC_4_6Suite : public TestCommand } }; -class Test_TC_SC_4_7Suite : public TestCommand +class Test_TC_PSCFG_3_1Suite : public TestCommand { public: - Test_TC_SC_4_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_7", 0, credsIssuerConfig) + Test_TC_PSCFG_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PSCFG_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -75962,7 +76219,7 @@ class Test_TC_SC_4_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_7Suite() {} + ~Test_TC_PSCFG_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76007,10 +76264,10 @@ class Test_TC_SC_4_7Suite : public TestCommand } }; -class Test_TC_SC_4_8Suite : public TestCommand +class Test_TC_SC_4_1Suite : public TestCommand { public: - Test_TC_SC_4_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_8", 0, credsIssuerConfig) + Test_TC_SC_4_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76018,7 +76275,7 @@ class Test_TC_SC_4_8Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_8Suite() {} + ~Test_TC_SC_4_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76063,10 +76320,10 @@ class Test_TC_SC_4_8Suite : public TestCommand } }; -class Test_TC_SC_4_9Suite : public TestCommand +class Test_TC_SC_4_3Suite : public TestCommand { public: - Test_TC_SC_4_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_9", 0, credsIssuerConfig) + Test_TC_SC_4_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76074,7 +76331,7 @@ class Test_TC_SC_4_9Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_9Suite() {} + ~Test_TC_SC_4_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76119,10 +76376,10 @@ class Test_TC_SC_4_9Suite : public TestCommand } }; -class Test_TC_SC_4_10Suite : public TestCommand +class Test_TC_SC_4_4Suite : public TestCommand { public: - Test_TC_SC_4_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_10", 0, credsIssuerConfig) + Test_TC_SC_4_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76130,7 +76387,7 @@ class Test_TC_SC_4_10Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SC_4_10Suite() {} + ~Test_TC_SC_4_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76175,10 +76432,10 @@ class Test_TC_SC_4_10Suite : public TestCommand } }; -class Test_TC_SWDIAG_1_2Suite : public TestCommand +class Test_TC_SC_4_5Suite : public TestCommand { public: - Test_TC_SWDIAG_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWDIAG_1_2", 0, credsIssuerConfig) + Test_TC_SC_4_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76186,7 +76443,7 @@ class Test_TC_SWDIAG_1_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SWDIAG_1_2Suite() {} + ~Test_TC_SC_4_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76231,11 +76488,10 @@ class Test_TC_SWDIAG_1_2Suite : public TestCommand } }; -class Test_TC_WIFIDIAG_1_2Suite : public TestCommand +class Test_TC_SC_4_6Suite : public TestCommand { public: - Test_TC_WIFIDIAG_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_WIFIDIAG_1_2", 0, credsIssuerConfig) + Test_TC_SC_4_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_6", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76243,7 +76499,7 @@ class Test_TC_WIFIDIAG_1_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_WIFIDIAG_1_2Suite() {} + ~Test_TC_SC_4_6Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76288,11 +76544,10 @@ class Test_TC_WIFIDIAG_1_2Suite : public TestCommand } }; -class Test_TC_WIFIDIAG_2_1Suite : public TestCommand +class Test_TC_SC_4_7Suite : public TestCommand { public: - Test_TC_WIFIDIAG_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_WIFIDIAG_2_1", 0, credsIssuerConfig) + Test_TC_SC_4_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76300,7 +76555,7 @@ class Test_TC_WIFIDIAG_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_WIFIDIAG_2_1Suite() {} + ~Test_TC_SC_4_7Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76345,10 +76600,10 @@ class Test_TC_WIFIDIAG_2_1Suite : public TestCommand } }; -class Test_TC_WNCV_6_1Suite : public TestCommand +class Test_TC_SC_4_8Suite : public TestCommand { public: - Test_TC_WNCV_6_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_WNCV_6_1", 0, credsIssuerConfig) + Test_TC_SC_4_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_8", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76356,7 +76611,7 @@ class Test_TC_WNCV_6_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_WNCV_6_1Suite() {} + ~Test_TC_SC_4_8Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76401,10 +76656,10 @@ class Test_TC_WNCV_6_1Suite : public TestCommand } }; -class Test_TC_WNCV_7_1Suite : public TestCommand +class Test_TC_SC_4_9Suite : public TestCommand { public: - Test_TC_WNCV_7_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_WNCV_7_1", 0, credsIssuerConfig) + Test_TC_SC_4_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_9", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76412,7 +76667,7 @@ class Test_TC_WNCV_7_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_WNCV_7_1Suite() {} + ~Test_TC_SC_4_9Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76457,10 +76712,10 @@ class Test_TC_WNCV_7_1Suite : public TestCommand } }; -class Test_TC_FLW_3_1Suite : public TestCommand +class Test_TC_SC_4_10Suite : public TestCommand { public: - Test_TC_FLW_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_FLW_3_1", 0, credsIssuerConfig) + Test_TC_SC_4_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SC_4_10", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76468,7 +76723,7 @@ class Test_TC_FLW_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_FLW_3_1Suite() {} + ~Test_TC_SC_4_10Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76513,10 +76768,10 @@ class Test_TC_FLW_3_1Suite : public TestCommand } }; -class Test_TC_OCC_2_2Suite : public TestCommand +class Test_TC_SWDIAG_1_2Suite : public TestCommand { public: - Test_TC_OCC_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_2", 4, credsIssuerConfig) + Test_TC_SWDIAG_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWDIAG_1_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76524,7 +76779,7 @@ class Test_TC_OCC_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OCC_2_2Suite() {} + ~Test_TC_SWDIAG_1_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76537,8 +76792,6 @@ class Test_TC_OCC_2_2Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; - uint8_t OccupancyValue; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // @@ -76551,31 +76804,6 @@ class Test_TC_OCC_2_2Suite : public TestCommand switch (mTestIndex - 1) { - case 0: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 1: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("occupancy", value, 0)); - - OccupancyValue = value; - } - break; - case 2: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; - break; - case 3: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - } - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -76591,43 +76819,16 @@ class Test_TC_OCC_2_2Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { - case 0: { - LogStep(0, "Wait for the commissioned device to be retrieved"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; - return WaitForCommissionee(kIdentityAlpha, value); - } - case 1: { - LogStep(1, "Reads Occupancy attribute from DUT"); - VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, - true, chip::NullOptional); - } - case 2: { - LogStep(2, "Operate on DUT to change the occupancy status"); - VerifyOrDo(!ShouldSkip("MANUAL_OCCUPANCY_CHANGE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = - chip::Span("Operate on DUT to change the occupancy statusgarbage: not in length on purpose", 45); - return UserPrompt(kIdentityAlpha, value); - } - case 3: { - LogStep(3, "Reads back Occupancy attribute from DUT after few seconds"); - VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, - true, chip::NullOptional); - } } return CHIP_NO_ERROR; } }; -class Test_TC_OCC_2_3Suite : public TestCommand +class Test_TC_WIFIDIAG_1_2Suite : public TestCommand { public: - Test_TC_OCC_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_3", 0, credsIssuerConfig) + Test_TC_WIFIDIAG_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_WIFIDIAG_1_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76635,7 +76836,7 @@ class Test_TC_OCC_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OCC_2_3Suite() {} + ~Test_TC_WIFIDIAG_1_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76680,10 +76881,11 @@ class Test_TC_OCC_2_3Suite : public TestCommand } }; -class Test_TC_OCC_2_4Suite : public TestCommand +class Test_TC_WIFIDIAG_2_1Suite : public TestCommand { public: - Test_TC_OCC_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_4", 0, credsIssuerConfig) + Test_TC_WIFIDIAG_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_WIFIDIAG_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76691,7 +76893,7 @@ class Test_TC_OCC_2_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OCC_2_4Suite() {} + ~Test_TC_WIFIDIAG_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76736,10 +76938,10 @@ class Test_TC_OCC_2_4Suite : public TestCommand } }; -class Test_TC_OCC_3_1Suite : public TestCommand +class Test_TC_WNCV_6_1Suite : public TestCommand { public: - Test_TC_OCC_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_3_1", 0, credsIssuerConfig) + Test_TC_WNCV_6_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_WNCV_6_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76747,7 +76949,7 @@ class Test_TC_OCC_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OCC_3_1Suite() {} + ~Test_TC_WNCV_6_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76792,10 +76994,10 @@ class Test_TC_OCC_3_1Suite : public TestCommand } }; -class Test_TC_OCC_3_2Suite : public TestCommand +class Test_TC_WNCV_7_1Suite : public TestCommand { public: - Test_TC_OCC_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_3_2", 0, credsIssuerConfig) + Test_TC_WNCV_7_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_WNCV_7_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76803,7 +77005,7 @@ class Test_TC_OCC_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OCC_3_2Suite() {} + ~Test_TC_WNCV_7_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76848,10 +77050,10 @@ class Test_TC_OCC_3_2Suite : public TestCommand } }; -class Test_TC_PRS_2_2Suite : public TestCommand +class Test_TC_FLW_3_1Suite : public TestCommand { public: - Test_TC_PRS_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_2_2", 0, credsIssuerConfig) + Test_TC_FLW_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_FLW_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76859,7 +77061,7 @@ class Test_TC_PRS_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PRS_2_2Suite() {} + ~Test_TC_FLW_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76904,10 +77106,10 @@ class Test_TC_PRS_2_2Suite : public TestCommand } }; -class Test_TC_PRS_2_3Suite : public TestCommand +class Test_TC_OCC_2_2Suite : public TestCommand { public: - Test_TC_PRS_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_2_3", 0, credsIssuerConfig) + Test_TC_OCC_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_2", 4, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76915,7 +77117,7 @@ class Test_TC_PRS_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PRS_2_3Suite() {} + ~Test_TC_OCC_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -76928,6 +77130,8 @@ class Test_TC_PRS_2_3Suite : public TestCommand chip::Optional mEndpoint; chip::Optional mTimeout; + uint8_t OccupancyValue; + chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // @@ -76940,6 +77144,31 @@ class Test_TC_PRS_2_3Suite : public TestCommand switch (mTestIndex - 1) { + case 0: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 1: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + uint8_t value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckValue("occupancy", value, 0)); + + OccupancyValue = value; + } + break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + shouldContinue = true; + break; + case 3: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + uint8_t value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + } + break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -76955,15 +77184,43 @@ class Test_TC_PRS_2_3Suite : public TestCommand using namespace chip::app::Clusters; switch (testIndex) { + case 0: { + LogStep(0, "Wait for the commissioned device to be retrieved"); + ListFreer listFreer; + chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; + value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; + return WaitForCommissionee(kIdentityAlpha, value); + } + case 1: { + LogStep(1, "Reads Occupancy attribute from DUT"); + VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, + true, chip::NullOptional); + } + case 2: { + LogStep(2, "Operate on DUT to change the occupancy status"); + VerifyOrDo(!ShouldSkip("MANUAL_OCCUPANCY_CHANGE"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = + chip::Span("Operate on DUT to change the occupancy statusgarbage: not in length on purpose", 45); + return UserPrompt(kIdentityAlpha, value); + } + case 3: { + LogStep(3, "Reads back Occupancy attribute from DUT after few seconds"); + VerifyOrDo(!ShouldSkip("A_OCCUPANCY"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(1), OccupancySensing::Id, OccupancySensing::Attributes::Occupancy::Id, + true, chip::NullOptional); + } } return CHIP_NO_ERROR; } }; -class Test_TC_PRS_3_1Suite : public TestCommand +class Test_TC_OCC_2_3Suite : public TestCommand { public: - Test_TC_PRS_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_3_1", 0, credsIssuerConfig) + Test_TC_OCC_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -76971,7 +77228,7 @@ class Test_TC_PRS_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PRS_3_1Suite() {} + ~Test_TC_OCC_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77016,10 +77273,10 @@ class Test_TC_PRS_3_1Suite : public TestCommand } }; -class Test_TC_PS_2_2Suite : public TestCommand +class Test_TC_OCC_2_4Suite : public TestCommand { public: - Test_TC_PS_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PS_2_2", 0, credsIssuerConfig) + Test_TC_OCC_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_2_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77027,7 +77284,7 @@ class Test_TC_PS_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PS_2_2Suite() {} + ~Test_TC_OCC_2_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77072,10 +77329,10 @@ class Test_TC_PS_2_2Suite : public TestCommand } }; -class Test_TC_PS_3_1Suite : public TestCommand +class Test_TC_OCC_3_1Suite : public TestCommand { public: - Test_TC_PS_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PS_3_1", 0, credsIssuerConfig) + Test_TC_OCC_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77083,7 +77340,7 @@ class Test_TC_PS_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_PS_3_1Suite() {} + ~Test_TC_OCC_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77128,10 +77385,10 @@ class Test_TC_PS_3_1Suite : public TestCommand } }; -class Test_TC_BOOL_2_2Suite : public TestCommand +class Test_TC_OCC_3_2Suite : public TestCommand { public: - Test_TC_BOOL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BOOL_2_2", 0, credsIssuerConfig) + Test_TC_OCC_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OCC_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77139,7 +77396,7 @@ class Test_TC_BOOL_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_BOOL_2_2Suite() {} + ~Test_TC_OCC_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77184,10 +77441,10 @@ class Test_TC_BOOL_2_2Suite : public TestCommand } }; -class Test_TC_BOOL_3_1Suite : public TestCommand +class Test_TC_PRS_2_2Suite : public TestCommand { public: - Test_TC_BOOL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BOOL_3_1", 0, credsIssuerConfig) + Test_TC_PRS_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77195,7 +77452,7 @@ class Test_TC_BOOL_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_BOOL_3_1Suite() {} + ~Test_TC_PRS_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77240,10 +77497,10 @@ class Test_TC_BOOL_3_1Suite : public TestCommand } }; -class Test_TC_CC_2_2Suite : public TestCommand +class Test_TC_PRS_2_3Suite : public TestCommand { public: - Test_TC_CC_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_2_2", 0, credsIssuerConfig) + Test_TC_PRS_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77251,7 +77508,7 @@ class Test_TC_CC_2_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_2_2Suite() {} + ~Test_TC_PRS_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77296,10 +77553,10 @@ class Test_TC_CC_2_2Suite : public TestCommand } }; -class Test_TC_CC_3_4Suite : public TestCommand +class Test_TC_PRS_3_1Suite : public TestCommand { public: - Test_TC_CC_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_3_4", 0, credsIssuerConfig) + Test_TC_PRS_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PRS_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77307,7 +77564,7 @@ class Test_TC_CC_3_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_3_4Suite() {} + ~Test_TC_PRS_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77352,10 +77609,10 @@ class Test_TC_CC_3_4Suite : public TestCommand } }; -class Test_TC_CC_4_5Suite : public TestCommand +class Test_TC_PS_2_2Suite : public TestCommand { public: - Test_TC_CC_4_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_4_5", 0, credsIssuerConfig) + Test_TC_PS_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PS_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77363,7 +77620,7 @@ class Test_TC_CC_4_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_4_5Suite() {} + ~Test_TC_PS_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77408,10 +77665,10 @@ class Test_TC_CC_4_5Suite : public TestCommand } }; -class Test_TC_CC_5_4Suite : public TestCommand +class Test_TC_PS_3_1Suite : public TestCommand { public: - Test_TC_CC_5_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_5_4", 0, credsIssuerConfig) + Test_TC_PS_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_PS_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77419,7 +77676,7 @@ class Test_TC_CC_5_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_5_4Suite() {} + ~Test_TC_PS_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77464,10 +77721,10 @@ class Test_TC_CC_5_4Suite : public TestCommand } }; -class Test_TC_CC_6_4Suite : public TestCommand +class Test_TC_BOOL_2_2Suite : public TestCommand { public: - Test_TC_CC_6_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_6_4", 0, credsIssuerConfig) + Test_TC_BOOL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BOOL_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77475,7 +77732,7 @@ class Test_TC_CC_6_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_6_4Suite() {} + ~Test_TC_BOOL_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77520,10 +77777,10 @@ class Test_TC_CC_6_4Suite : public TestCommand } }; -class Test_TC_CC_7_5Suite : public TestCommand +class Test_TC_BOOL_3_1Suite : public TestCommand { public: - Test_TC_CC_7_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_7_5", 0, credsIssuerConfig) + Test_TC_BOOL_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_BOOL_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77531,7 +77788,7 @@ class Test_TC_CC_7_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_7_5Suite() {} + ~Test_TC_BOOL_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77576,10 +77833,10 @@ class Test_TC_CC_7_5Suite : public TestCommand } }; -class Test_TC_CC_9_4Suite : public TestCommand +class Test_TC_CC_2_2Suite : public TestCommand { public: - Test_TC_CC_9_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_9_4", 0, credsIssuerConfig) + Test_TC_CC_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77587,7 +77844,7 @@ class Test_TC_CC_9_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_CC_9_4Suite() {} + ~Test_TC_CC_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77632,10 +77889,10 @@ class Test_TC_CC_9_4Suite : public TestCommand } }; -class Test_TC_DL_2_1Suite : public TestCommand +class Test_TC_CC_3_4Suite : public TestCommand { public: - Test_TC_DL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_1", 0, credsIssuerConfig) + Test_TC_CC_3_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_3_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77643,7 +77900,7 @@ class Test_TC_DL_2_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_1Suite() {} + ~Test_TC_CC_3_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77688,10 +77945,10 @@ class Test_TC_DL_2_1Suite : public TestCommand } }; -class Test_TC_DL_2_5Suite : public TestCommand +class Test_TC_CC_4_5Suite : public TestCommand { public: - Test_TC_DL_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_5", 0, credsIssuerConfig) + Test_TC_CC_4_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_4_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77699,7 +77956,7 @@ class Test_TC_DL_2_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_5Suite() {} + ~Test_TC_CC_4_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77744,10 +78001,10 @@ class Test_TC_DL_2_5Suite : public TestCommand } }; -class Test_TC_DL_2_6Suite : public TestCommand +class Test_TC_CC_5_4Suite : public TestCommand { public: - Test_TC_DL_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_6", 0, credsIssuerConfig) + Test_TC_CC_5_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_5_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77755,7 +78012,7 @@ class Test_TC_DL_2_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_6Suite() {} + ~Test_TC_CC_5_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77800,10 +78057,10 @@ class Test_TC_DL_2_6Suite : public TestCommand } }; -class Test_TC_DL_2_7Suite : public TestCommand +class Test_TC_CC_6_4Suite : public TestCommand { public: - Test_TC_DL_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_7", 0, credsIssuerConfig) + Test_TC_CC_6_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_6_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77811,7 +78068,7 @@ class Test_TC_DL_2_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_7Suite() {} + ~Test_TC_CC_6_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77856,10 +78113,10 @@ class Test_TC_DL_2_7Suite : public TestCommand } }; -class Test_TC_DL_2_10Suite : public TestCommand +class Test_TC_CC_7_5Suite : public TestCommand { public: - Test_TC_DL_2_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_10", 0, credsIssuerConfig) + Test_TC_CC_7_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_7_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77867,7 +78124,7 @@ class Test_TC_DL_2_10Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_10Suite() {} + ~Test_TC_CC_7_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77912,10 +78169,10 @@ class Test_TC_DL_2_10Suite : public TestCommand } }; -class Test_TC_DL_2_13Suite : public TestCommand +class Test_TC_CC_9_4Suite : public TestCommand { public: - Test_TC_DL_2_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_13", 0, credsIssuerConfig) + Test_TC_CC_9_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CC_9_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77923,7 +78180,7 @@ class Test_TC_DL_2_13Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_13Suite() {} + ~Test_TC_CC_9_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -77968,10 +78225,10 @@ class Test_TC_DL_2_13Suite : public TestCommand } }; -class Test_TC_DL_2_14Suite : public TestCommand +class Test_TC_DL_2_1Suite : public TestCommand { public: - Test_TC_DL_2_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_14", 0, credsIssuerConfig) + Test_TC_DL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -77979,7 +78236,7 @@ class Test_TC_DL_2_14Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_14Suite() {} + ~Test_TC_DL_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78024,10 +78281,10 @@ class Test_TC_DL_2_14Suite : public TestCommand } }; -class Test_TC_DL_2_15Suite : public TestCommand +class Test_TC_DL_2_5Suite : public TestCommand { public: - Test_TC_DL_2_15Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_15", 0, credsIssuerConfig) + Test_TC_DL_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78035,7 +78292,7 @@ class Test_TC_DL_2_15Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_15Suite() {} + ~Test_TC_DL_2_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78080,10 +78337,10 @@ class Test_TC_DL_2_15Suite : public TestCommand } }; -class Test_TC_DL_2_16Suite : public TestCommand +class Test_TC_DL_2_6Suite : public TestCommand { public: - Test_TC_DL_2_16Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_16", 0, credsIssuerConfig) + Test_TC_DL_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_6", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78091,7 +78348,7 @@ class Test_TC_DL_2_16Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_16Suite() {} + ~Test_TC_DL_2_6Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78136,10 +78393,10 @@ class Test_TC_DL_2_16Suite : public TestCommand } }; -class Test_TC_DL_2_17Suite : public TestCommand +class Test_TC_DL_2_7Suite : public TestCommand { public: - Test_TC_DL_2_17Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_17", 0, credsIssuerConfig) + Test_TC_DL_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78147,7 +78404,7 @@ class Test_TC_DL_2_17Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DL_2_17Suite() {} + ~Test_TC_DL_2_7Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78192,10 +78449,10 @@ class Test_TC_DL_2_17Suite : public TestCommand } }; -class Test_TC_LC_2_3Suite : public TestCommand +class Test_TC_DL_2_10Suite : public TestCommand { public: - Test_TC_LC_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_3", 0, credsIssuerConfig) + Test_TC_DL_2_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_10", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78203,7 +78460,7 @@ class Test_TC_LC_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_LC_2_3Suite() {} + ~Test_TC_DL_2_10Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78248,10 +78505,10 @@ class Test_TC_LC_2_3Suite : public TestCommand } }; -class Test_TC_LC_2_4Suite : public TestCommand +class Test_TC_DL_2_13Suite : public TestCommand { public: - Test_TC_LC_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_4", 0, credsIssuerConfig) + Test_TC_DL_2_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_13", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78259,7 +78516,7 @@ class Test_TC_LC_2_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_LC_2_4Suite() {} + ~Test_TC_DL_2_13Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78304,10 +78561,10 @@ class Test_TC_LC_2_4Suite : public TestCommand } }; -class Test_TC_LC_2_5Suite : public TestCommand +class Test_TC_DL_2_14Suite : public TestCommand { public: - Test_TC_LC_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_5", 0, credsIssuerConfig) + Test_TC_DL_2_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_14", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78315,7 +78572,7 @@ class Test_TC_LC_2_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_LC_2_5Suite() {} + ~Test_TC_DL_2_14Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78360,10 +78617,10 @@ class Test_TC_LC_2_5Suite : public TestCommand } }; -class Test_TC_LO_1_1Suite : public TestCommand +class Test_TC_DL_2_15Suite : public TestCommand { public: - Test_TC_LO_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LO_1_1", 0, credsIssuerConfig) + Test_TC_DL_2_15Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_15", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78371,7 +78628,7 @@ class Test_TC_LO_1_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_LO_1_1Suite() {} + ~Test_TC_DL_2_15Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78416,10 +78673,10 @@ class Test_TC_LO_1_1Suite : public TestCommand } }; -class Test_TC_LVL_2_3Suite : public TestCommand +class Test_TC_DL_2_16Suite : public TestCommand { public: - Test_TC_LVL_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LVL_2_3", 0, credsIssuerConfig) + Test_TC_DL_2_16Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_16", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78427,7 +78684,7 @@ class Test_TC_LVL_2_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_LVL_2_3Suite() {} + ~Test_TC_DL_2_16Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78472,10 +78729,10 @@ class Test_TC_LVL_2_3Suite : public TestCommand } }; -class Test_TC_NC_1_1Suite : public TestCommand +class Test_TC_DL_2_17Suite : public TestCommand { public: - Test_TC_NC_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_1", 0, credsIssuerConfig) + Test_TC_DL_2_17Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DL_2_17", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78483,7 +78740,7 @@ class Test_TC_NC_1_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_1Suite() {} + ~Test_TC_DL_2_17Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78528,10 +78785,10 @@ class Test_TC_NC_1_1Suite : public TestCommand } }; -class Test_TC_NC_1_2Suite : public TestCommand +class Test_TC_LC_2_3Suite : public TestCommand { public: - Test_TC_NC_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_2", 0, credsIssuerConfig) + Test_TC_LC_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78539,7 +78796,7 @@ class Test_TC_NC_1_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_2Suite() {} + ~Test_TC_LC_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78584,10 +78841,10 @@ class Test_TC_NC_1_2Suite : public TestCommand } }; -class Test_TC_NC_1_3Suite : public TestCommand +class Test_TC_LC_2_4Suite : public TestCommand { public: - Test_TC_NC_1_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_3", 0, credsIssuerConfig) + Test_TC_LC_2_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_4", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78595,7 +78852,7 @@ class Test_TC_NC_1_3Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_3Suite() {} + ~Test_TC_LC_2_4Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78640,10 +78897,10 @@ class Test_TC_NC_1_3Suite : public TestCommand } }; -class Test_TC_NC_1_4Suite : public TestCommand +class Test_TC_LC_2_5Suite : public TestCommand { public: - Test_TC_NC_1_4Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_4", 0, credsIssuerConfig) + Test_TC_LC_2_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LC_2_5", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78651,7 +78908,7 @@ class Test_TC_NC_1_4Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_4Suite() {} + ~Test_TC_LC_2_5Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78696,10 +78953,10 @@ class Test_TC_NC_1_4Suite : public TestCommand } }; -class Test_TC_NC_1_5Suite : public TestCommand +class Test_TC_LO_1_1Suite : public TestCommand { public: - Test_TC_NC_1_5Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_5", 0, credsIssuerConfig) + Test_TC_LO_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LO_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78707,7 +78964,7 @@ class Test_TC_NC_1_5Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_5Suite() {} + ~Test_TC_LO_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78752,10 +79009,10 @@ class Test_TC_NC_1_5Suite : public TestCommand } }; -class Test_TC_NC_1_6Suite : public TestCommand +class Test_TC_LVL_2_3Suite : public TestCommand { public: - Test_TC_NC_1_6Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_6", 0, credsIssuerConfig) + Test_TC_LVL_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_LVL_2_3", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78763,7 +79020,7 @@ class Test_TC_NC_1_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_6Suite() {} + ~Test_TC_LVL_2_3Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78808,10 +79065,10 @@ class Test_TC_NC_1_6Suite : public TestCommand } }; -class Test_TC_NC_1_7Suite : public TestCommand +class Test_TC_OO_3_1Suite : public TestCommand { public: - Test_TC_NC_1_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_7", 0, credsIssuerConfig) + Test_TC_OO_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OO_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78819,7 +79076,7 @@ class Test_TC_NC_1_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_7Suite() {} + ~Test_TC_OO_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78864,10 +79121,10 @@ class Test_TC_NC_1_7Suite : public TestCommand } }; -class Test_TC_NC_1_8Suite : public TestCommand +class Test_TC_OO_3_2Suite : public TestCommand { public: - Test_TC_NC_1_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_8", 0, credsIssuerConfig) + Test_TC_OO_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OO_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78875,7 +79132,7 @@ class Test_TC_NC_1_8Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_8Suite() {} + ~Test_TC_OO_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78920,10 +79177,10 @@ class Test_TC_NC_1_8Suite : public TestCommand } }; -class Test_TC_NC_1_9Suite : public TestCommand +class Test_TC_RH_3_1Suite : public TestCommand { public: - Test_TC_NC_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_9", 0, credsIssuerConfig) + Test_TC_RH_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_RH_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78931,7 +79188,7 @@ class Test_TC_NC_1_9Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_9Suite() {} + ~Test_TC_RH_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -78976,10 +79233,10 @@ class Test_TC_NC_1_9Suite : public TestCommand } }; -class Test_TC_NC_1_10Suite : public TestCommand +class Test_TC_SWTCH_1_1Suite : public TestCommand { public: - Test_TC_NC_1_10Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_10", 0, credsIssuerConfig) + Test_TC_SWTCH_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWTCH_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -78987,7 +79244,7 @@ class Test_TC_NC_1_10Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_10Suite() {} + ~Test_TC_SWTCH_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79032,10 +79289,10 @@ class Test_TC_NC_1_10Suite : public TestCommand } }; -class Test_TC_NC_1_11Suite : public TestCommand +class Test_TC_SWTCH_3_1Suite : public TestCommand { public: - Test_TC_NC_1_11Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_11", 0, credsIssuerConfig) + Test_TC_SWTCH_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWTCH_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79043,7 +79300,7 @@ class Test_TC_NC_1_11Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_11Suite() {} + ~Test_TC_SWTCH_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79088,10 +79345,10 @@ class Test_TC_NC_1_11Suite : public TestCommand } }; -class Test_TC_NC_1_12Suite : public TestCommand +class Test_TC_TM_3_1Suite : public TestCommand { public: - Test_TC_NC_1_12Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_12", 0, credsIssuerConfig) + Test_TC_TM_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TM_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79099,7 +79356,7 @@ class Test_TC_NC_1_12Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_12Suite() {} + ~Test_TC_TM_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79144,10 +79401,10 @@ class Test_TC_NC_1_12Suite : public TestCommand } }; -class Test_TC_NC_1_13Suite : public TestCommand +class Test_TC_TSTAT_3_1Suite : public TestCommand { public: - Test_TC_NC_1_13Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_13", 0, credsIssuerConfig) + Test_TC_TSTAT_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSTAT_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79155,7 +79412,7 @@ class Test_TC_NC_1_13Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_13Suite() {} + ~Test_TC_TSTAT_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79200,10 +79457,10 @@ class Test_TC_NC_1_13Suite : public TestCommand } }; -class Test_TC_NC_1_14Suite : public TestCommand +class Test_TC_TSTAT_3_2Suite : public TestCommand { public: - Test_TC_NC_1_14Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_14", 0, credsIssuerConfig) + Test_TC_TSTAT_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSTAT_3_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79211,7 +79468,7 @@ class Test_TC_NC_1_14Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_14Suite() {} + ~Test_TC_TSTAT_3_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79256,10 +79513,10 @@ class Test_TC_NC_1_14Suite : public TestCommand } }; -class Test_TC_NC_1_15Suite : public TestCommand +class Test_TC_TSUIC_3_1Suite : public TestCommand { public: - Test_TC_NC_1_15Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_15", 0, credsIssuerConfig) + Test_TC_TSUIC_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSUIC_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79267,7 +79524,7 @@ class Test_TC_NC_1_15Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_15Suite() {} + ~Test_TC_TSUIC_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79312,10 +79569,11 @@ class Test_TC_NC_1_15Suite : public TestCommand } }; -class Test_TC_NC_1_16Suite : public TestCommand +class Test_TC_DIAG_TH_NW_2_6Suite : public TestCommand { public: - Test_TC_NC_1_16Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_16", 0, credsIssuerConfig) + Test_TC_DIAG_TH_NW_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_DIAG_TH_NW_2_6", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79323,7 +79581,7 @@ class Test_TC_NC_1_16Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_16Suite() {} + ~Test_TC_DIAG_TH_NW_2_6Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79368,10 +79626,11 @@ class Test_TC_NC_1_16Suite : public TestCommand } }; -class Test_TC_NC_1_17Suite : public TestCommand +class Test_TC_DIAG_TH_NW_2_7Suite : public TestCommand { public: - Test_TC_NC_1_17Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_17", 0, credsIssuerConfig) + Test_TC_DIAG_TH_NW_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_DIAG_TH_NW_2_7", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79379,7 +79638,7 @@ class Test_TC_NC_1_17Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_17Suite() {} + ~Test_TC_DIAG_TH_NW_2_7Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79424,10 +79683,11 @@ class Test_TC_NC_1_17Suite : public TestCommand } }; -class Test_TC_NC_1_18Suite : public TestCommand +class Test_TC_DIAG_TH_NW_2_8Suite : public TestCommand { public: - Test_TC_NC_1_18Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_NC_1_18", 0, credsIssuerConfig) + Test_TC_DIAG_TH_NW_2_8Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_DIAG_TH_NW_2_8", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79435,7 +79695,7 @@ class Test_TC_NC_1_18Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_NC_1_18Suite() {} + ~Test_TC_DIAG_TH_NW_2_8Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79480,10 +79740,11 @@ class Test_TC_NC_1_18Suite : public TestCommand } }; -class Test_TC_OO_3_1Suite : public TestCommand +class Test_TC_DIAG_TH_NW_2_9Suite : public TestCommand { public: - Test_TC_OO_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OO_3_1", 0, credsIssuerConfig) + Test_TC_DIAG_TH_NW_2_9Suite(CredentialIssuerCommands * credsIssuerConfig) : + TestCommand("Test_TC_DIAG_TH_NW_2_9", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79491,7 +79752,7 @@ class Test_TC_OO_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OO_3_1Suite() {} + ~Test_TC_DIAG_TH_NW_2_9Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79536,10 +79797,10 @@ class Test_TC_OO_3_1Suite : public TestCommand } }; -class Test_TC_OO_3_2Suite : public TestCommand +class Test_TC_ACT_1_1Suite : public TestCommand { public: - Test_TC_OO_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_OO_3_2", 0, credsIssuerConfig) + Test_TC_ACT_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACT_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79547,7 +79808,7 @@ class Test_TC_OO_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_OO_3_2Suite() {} + ~Test_TC_ACT_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79592,10 +79853,10 @@ class Test_TC_OO_3_2Suite : public TestCommand } }; -class Test_TC_RH_3_1Suite : public TestCommand +class Test_TC_ACT_2_1Suite : public TestCommand { public: - Test_TC_RH_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_RH_3_1", 0, credsIssuerConfig) + Test_TC_ACT_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACT_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79603,7 +79864,7 @@ class Test_TC_RH_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_RH_3_1Suite() {} + ~Test_TC_ACT_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79648,10 +79909,10 @@ class Test_TC_RH_3_1Suite : public TestCommand } }; -class Test_TC_SWTCH_1_1Suite : public TestCommand +class Test_TC_ACT_2_2Suite : public TestCommand { public: - Test_TC_SWTCH_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWTCH_1_1", 0, credsIssuerConfig) + Test_TC_ACT_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACT_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79659,7 +79920,7 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SWTCH_1_1Suite() {} + ~Test_TC_ACT_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79704,10 +79965,10 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand } }; -class Test_TC_SWTCH_3_1Suite : public TestCommand +class Test_TC_ACT_3_1Suite : public TestCommand { public: - Test_TC_SWTCH_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_SWTCH_3_1", 0, credsIssuerConfig) + Test_TC_ACT_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_ACT_3_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79715,7 +79976,7 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_SWTCH_3_1Suite() {} + ~Test_TC_ACT_3_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79760,10 +80021,10 @@ class Test_TC_SWTCH_3_1Suite : public TestCommand } }; -class Test_TC_TM_3_1Suite : public TestCommand +class Test_TC_TFL_1_1Suite : public TestCommand { public: - Test_TC_TM_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TM_3_1", 0, credsIssuerConfig) + Test_TC_TFL_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79771,7 +80032,7 @@ class Test_TC_TM_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_TM_3_1Suite() {} + ~Test_TC_TFL_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79816,10 +80077,10 @@ class Test_TC_TM_3_1Suite : public TestCommand } }; -class Test_TC_TSTAT_3_1Suite : public TestCommand +class Test_TC_TFL_1_2Suite : public TestCommand { public: - Test_TC_TSTAT_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSTAT_3_1", 0, credsIssuerConfig) + Test_TC_TFL_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_1_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79827,7 +80088,7 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_TSTAT_3_1Suite() {} + ~Test_TC_TFL_1_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79872,10 +80133,10 @@ class Test_TC_TSTAT_3_1Suite : public TestCommand } }; -class Test_TC_TSTAT_3_2Suite : public TestCommand +class Test_TC_TFL_2_1Suite : public TestCommand { public: - Test_TC_TSTAT_3_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSTAT_3_2", 0, credsIssuerConfig) + Test_TC_TFL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79883,7 +80144,7 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_TSTAT_3_2Suite() {} + ~Test_TC_TFL_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79928,10 +80189,10 @@ class Test_TC_TSTAT_3_2Suite : public TestCommand } }; -class Test_TC_TSUIC_3_1Suite : public TestCommand +class Test_TC_TFL_2_2Suite : public TestCommand { public: - Test_TC_TSUIC_3_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TSUIC_3_1", 0, credsIssuerConfig) + Test_TC_TFL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_TFL_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79939,7 +80200,7 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_TSUIC_3_1Suite() {} + ~Test_TC_TFL_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -79984,11 +80245,10 @@ class Test_TC_TSUIC_3_1Suite : public TestCommand } }; -class Test_TC_DIAG_TH_NW_2_6Suite : public TestCommand +class Test_TC_UL_1_1Suite : public TestCommand { public: - Test_TC_DIAG_TH_NW_2_6Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_DIAG_TH_NW_2_6", 0, credsIssuerConfig) + Test_TC_UL_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_1_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -79996,7 +80256,7 @@ class Test_TC_DIAG_TH_NW_2_6Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DIAG_TH_NW_2_6Suite() {} + ~Test_TC_UL_1_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -80041,11 +80301,10 @@ class Test_TC_DIAG_TH_NW_2_6Suite : public TestCommand } }; -class Test_TC_DIAG_TH_NW_2_7Suite : public TestCommand +class Test_TC_UL_1_2Suite : public TestCommand { public: - Test_TC_DIAG_TH_NW_2_7Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_DIAG_TH_NW_2_7", 0, credsIssuerConfig) + Test_TC_UL_1_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_1_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -80053,7 +80312,7 @@ class Test_TC_DIAG_TH_NW_2_7Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DIAG_TH_NW_2_7Suite() {} + ~Test_TC_UL_1_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -80098,11 +80357,10 @@ class Test_TC_DIAG_TH_NW_2_7Suite : public TestCommand } }; -class Test_TC_DIAG_TH_NW_2_8Suite : public TestCommand +class Test_TC_UL_2_1Suite : public TestCommand { public: - Test_TC_DIAG_TH_NW_2_8Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_DIAG_TH_NW_2_8", 0, credsIssuerConfig) + Test_TC_UL_2_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_2_1", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -80110,7 +80368,7 @@ class Test_TC_DIAG_TH_NW_2_8Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DIAG_TH_NW_2_8Suite() {} + ~Test_TC_UL_2_1Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -80155,11 +80413,10 @@ class Test_TC_DIAG_TH_NW_2_8Suite : public TestCommand } }; -class Test_TC_DIAG_TH_NW_2_9Suite : public TestCommand +class Test_TC_UL_2_2Suite : public TestCommand { public: - Test_TC_DIAG_TH_NW_2_9Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_DIAG_TH_NW_2_9", 0, credsIssuerConfig) + Test_TC_UL_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_UL_2_2", 0, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -80167,7 +80424,7 @@ class Test_TC_DIAG_TH_NW_2_9Suite : public TestCommand AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } - ~Test_TC_DIAG_TH_NW_2_9Suite() {} + ~Test_TC_UL_2_2Suite() {} chip::System::Clock::Timeout GetWaitDuration() const override { @@ -80429,6 +80686,9 @@ 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), @@ -80445,9 +80705,19 @@ 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), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -80634,24 +80904,6 @@ 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), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -80665,6 +80917,18 @@ 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), #endif // CONFIG_ENABLE_YAML_TESTS };