From 52caffd1dcf7a77ff766bd93ee03829c6b38f73f Mon Sep 17 00:00:00 2001 From: manjunath-grl <102359958+manjunath-grl@users.noreply.github.com> Date: Thu, 14 Sep 2023 14:54:29 +0530 Subject: [PATCH] Fix script issues Sep 12 (#29179) * Semi-automated --> Automated tests: TC-ACL-2.5 TC-ACL-2.6 TC-MEDIAPLAYBACK-6.3 Manual --> Automated: TC-TCCM-3.1 TC-TCCM-3.2 TC-TCTL-2.1 TC-TCTL-2.2 TC-TCTL-2.3 * Fixes issue: 634, 636, 637, 639, 640, 641, 642, 645, 646 Modified tests: TC_CADMIN_1_26 TC_DA_1_8 TC_DGGEN_2_1 TC_DGETH_2_1 TC_DGWIFI_3_2_Simulated TC_DISHALM_3_1 TC_DISHALM_3_2 TC_DISHALM_3_3 TC_DISHALM_3_4 TC_DISHALM_3_5 TC_DISHALM_3_6 TC_GRPKEY_2_1 TC_GRPKEY_2_2 TC_LTIME_3_1 TC_MOD_3_3 TC_MOD_3_4 TC_SC_4_2 TC_SC_4_3 TC_SC_4_4 TC_SC_4_6 TC_TCCM_3_2 TC_WNCV_3_1 TC_WNCV_3_2 * Fixes issue: 645, 643 Modified tests: TC-ACL-2.10 TC-GRPKEY-2.2 Manual tests: TC-BIND-2.1 TC-CNET-4.10 TC-MOD-1.3 TC-SWTCH-2.2 * Restyled by whitespace * Fixed the MOD-3.4 and TCTL-2.3 CI failures. * Fixed MOD-3.4 CI failure. * Fix Darwin failure for TCTL-2.3 * Modifed test as per comments: TC-DGETH-2.1 TC-DGGEN-2.1 TC-TCCM-3.1 TC-TCTL-2.1 TC-GRPKEY-2.1 * Restyled by prettier-yaml * Removed wait step as it is not in test-plan. * Fixes issue: #29182, #29183 * Fix issue: 647 * Fix CI failures for ACL-2.5, 2.6 testcases --------- Co-authored-by: Restyled.io --- .../templates/tests/ciTests.json | 5 +- scripts/tests/chiptest/__init__.py | 6 +- src/app/tests/suites/certification/PICS.yaml | 8 +- .../certification/Test_TC_ACL_2_10.yaml | 20 +- .../suites/certification/Test_TC_ACL_2_5.yaml | 213 ++- .../suites/certification/Test_TC_ACL_2_6.yaml | 262 ++-- .../certification/Test_TC_BIND_2_1.yaml | 14 +- .../certification/Test_TC_CADMIN_1_26.yaml | 2 +- .../certification/Test_TC_CNET_4_10.yaml | 4 +- .../suites/certification/Test_TC_DA_1_8.yaml | 1264 +++++++++++++++-- .../certification/Test_TC_DGETH_2_1.yaml | 199 +-- .../certification/Test_TC_DGGEN_2_1.yaml | 134 +- .../Test_TC_DGWIFI_3_2_Simulated.yaml | 2 +- .../certification/Test_TC_DISHALM_3_1.yaml | 6 + .../certification/Test_TC_DISHALM_3_2.yaml | 6 + .../certification/Test_TC_DISHALM_3_3.yaml | 6 + .../certification/Test_TC_DISHALM_3_4.yaml | 6 + .../certification/Test_TC_DISHALM_3_5.yaml | 6 + .../certification/Test_TC_DISHALM_3_6.yaml | 6 + .../certification/Test_TC_GRPKEY_2_1.yaml | 46 +- .../certification/Test_TC_GRPKEY_2_2.yaml | 14 +- .../certification/Test_TC_LTIME_3_1.yaml | 4 +- .../Test_TC_MEDIAPLAYBACK_6_3.yaml | 108 +- .../suites/certification/Test_TC_MOD_1_3.yaml | 766 +++++++--- .../suites/certification/Test_TC_MOD_3_3.yaml | 23 +- .../suites/certification/Test_TC_MOD_3_4.yaml | 5 +- .../suites/certification/Test_TC_SC_4_1.yaml | 20 +- .../suites/certification/Test_TC_SC_4_2.yaml | 2 +- .../suites/certification/Test_TC_SC_4_3.yaml | 2 +- .../suites/certification/Test_TC_SC_4_4.yaml | 2 +- .../suites/certification/Test_TC_SC_4_6.yaml | 2 +- .../certification/Test_TC_SWTCH_2_2.yaml | 19 + .../certification/Test_TC_TCCM_3_1.yaml | 246 ++-- .../certification/Test_TC_TCTL_2_1.yaml | 129 +- .../certification/Test_TC_TCTL_2_2.yaml | 77 +- .../certification/Test_TC_TCTL_2_3.yaml | 76 +- .../certification/Test_TC_TSTAT_2_1.yaml | 4 +- .../certification/Test_TC_TSTAT_2_2.yaml | 10 +- .../certification/Test_TC_WNCV_3_1.yaml | 30 +- .../certification/Test_TC_WNCV_3_2.yaml | 26 +- .../tests/suites/certification/ci-pics-values | 16 +- src/app/tests/suites/ciTests.json | 12 +- src/app/tests/suites/manualTests.json | 17 +- .../zap-generated/test/Commands.h | 906 ++++++++---- 44 files changed, 3149 insertions(+), 1582 deletions(-) diff --git a/examples/darwin-framework-tool/templates/tests/ciTests.json b/examples/darwin-framework-tool/templates/tests/ciTests.json index ad899068350067..3d53b4ac173568 100644 --- a/examples/darwin-framework-tool/templates/tests/ciTests.json +++ b/examples/darwin-framework-tool/templates/tests/ciTests.json @@ -50,6 +50,9 @@ "Test_TC_PSCFG_2_1", "Test_TC_PSCFG_2_2", "Disabled because darwin-framework-tool does not support GetCommissionerRootCertificate", - "Test_AddNewFabricFromExistingFabric" + "Test_AddNewFabricFromExistingFabric", + "Disabled because darwin-framework-tool does not support EqualityCommands pseudo-cluster", + "Test_TC_TCCM_3_1", + "Test_TC_TCTL_2_1" ] } diff --git a/scripts/tests/chiptest/__init__.py b/scripts/tests/chiptest/__init__.py index eda65d58438abe..3180be2da54847 100644 --- a/scripts/tests/chiptest/__init__.py +++ b/scripts/tests/chiptest/__init__.py @@ -192,8 +192,12 @@ def _GetChipReplUnsupportedTests() -> Set[str]: "Test_TC_G_2_4.yaml", # chip-repl does not support EqualityCommands pseudo-cluster "Test_TC_RVCRUNM_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster "Test_TC_RVCCLEANM_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster + "Test_TC_TCCM_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster + "Test_TC_TCTL_2_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster # chip-repl and chip-tool disagree on what the YAML here should look like: https://github.com/project-chip/connectedhomeip/issues/29110 "TestClusterMultiFabric.yaml", + "Test_TC_ACL_2_5.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884 + "Test_TC_ACL_2_6.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884 } @@ -231,7 +235,7 @@ def target_for_name(name: str): return TestTarget.LOCK if name.startswith("OTA_"): return TestTarget.OTA - if name.startswith("Test_TC_BRBINFO_"): + if name.startswith("Test_TC_BRBINFO_") or name.startswith("Test_TC_ACT_"): return TestTarget.BRIDGE return TestTarget.ALL_CLUSTERS diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index d26d399904833e..646a9aaaa47043 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -3660,7 +3660,7 @@ PICS: id: GRPKEY.S.C01.Rsp - label: "Does the device implement the KeySetReadResponse command}?" - id: GRPKEY.S.C02.Rsp + id: GRPKEY.S.C02.Tx - label: "Does the device implement the KeySetRemove command}?" id: GRPKEY.S.C03.Rsp @@ -3670,7 +3670,7 @@ PICS: - label: "Does the device implement the KeySetReadAllIndicesResponse command}?" - id: GRPKEY.S.C05.Rsp + id: GRPKEY.S.C05.Tx # # client / attributes @@ -7074,10 +7074,10 @@ PICS: id: LTIME.S.A0002 - label: "Does the DUT (Server) support 12 Hr Hour Format ?" - id: LTIME.S.A0000.12HR + id: LTIME.S.M.12HR - label: "Does the DUT (Server) support 24 Hr Hour Format ?" - id: LTIME.S.A0000.24HR + id: LTIME.S.M.24HR # # client / attributes diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml index 46cee17ddfd5a2..baa544bca18818 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml @@ -99,8 +99,8 @@ tests: #Issue https://github.com/project-chip/connectedhomeip/issues/26127 - label: - "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin - node ID N2" + "Step 3: TH1 puts DUT into commissioning mode, TH2 commissions DUT + using admin node ID N2" verification: | Open a commissioning window On TH1(Chiptool)using below command @@ -128,7 +128,7 @@ tests: - name: "expectedValue" value: "y" - - label: "TH2 starts a commissioning process with DUT" + - label: "Step 3: TH2 starts a commissioning process with DUT" PICS: PICS_SDK_CI_ONLY identity: "beta" cluster: "CommissionerCommands" @@ -426,7 +426,6 @@ tests: value: "y" - label: "TH1 Connects to the device again" - PICS: PICS_SDK_CI_ONLY cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -444,6 +443,19 @@ tests: - name: "nodeId" value: nodeId2 + - label: "TH2 Connects to the device again after reboot." + verification: | + Connect TH2 to the device(DUT) again after reboot. + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" + - label: "Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute" PICS: ACL.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml index bc2a1b7ddb315c..981ebc8c5d30d6 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml @@ -102,6 +102,7 @@ tests: PICS: ACL.S.E01 command: "readEvent" event: "AccessControlExtensionChanged" + eventNumber: "LastReceivedEventNumber + 1" response: value: { @@ -126,52 +127,40 @@ tests: arguments: value: [{ Data: D_OK_SINGLE, FabricIndex: CurrentFabricIndexValue }] - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 7: TH reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH1(Chiptool) , Verify AccessControlExtensionChanged containing at least 2 new elements. - - [1661427357.681328][23441:23446] CHIP:TOO: } - [1661427357.681520][23441:23446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 - [1661427357.681555][23441:23446] CHIP:TOO: Event number: 5 - [1661427357.681580][23441:23446] CHIP:TOO: Priority: Info - [1661427357.681602][23441:23446] CHIP:TOO: Timestamp: 95095658 - [1661427357.681660][23441:23446] CHIP:TOO: AccessControlExtensionChanged: { - [1661427357.681697][23441:23446] CHIP:TOO: AdminNodeID: 112233 - [1661427357.681730][23441:23446] CHIP:TOO: AdminPasscodeID: null - [1661427357.681764][23441:23446] CHIP:TOO: ChangeType: 2 - [1661427357.681793][23441:23446] CHIP:TOO: LatestValue: { - [1661427357.681826][23441:23446] CHIP:TOO: Data: 1718 - [1661427357.681854][23441:23446] CHIP:TOO: FabricIndex: 1 - [1661427357.681882][23441:23446] CHIP:TOO: } - [1661427357.681924][23441:23446] CHIP:TOO: FabricIndex: 1 - [1661427357.681951][23441:23446] CHIP:TOO: } - [1661427357.682163][23441:23446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 - [1661427357.682207][23441:23446] CHIP:TOO: Event number: 6 - [1661427357.682230][23441:23446] CHIP:TOO: Priority: Info - [1661427357.682260][23441:23446] CHIP:TOO: Timestamp: 95095659 - [1661427357.682327][23441:23446] CHIP:TOO: AccessControlExtensionChanged: { - [1661427357.682375][23441:23446] CHIP:TOO: AdminNodeID: 112233 - [1661427357.682405][23441:23446] CHIP:TOO: AdminPasscodeID: null - [1661427357.682434][23441:23446] CHIP:TOO: ChangeType: 1 - [1661427357.682459][23441:23446] CHIP:TOO: LatestValue: { - [1661427357.682495][23441:23446] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 - [1661427357.682524][23441:23446] CHIP:TOO: FabricIndex: 1 - [1661427357.682550][23441:23446] CHIP:TOO: } - [1661427357.682579][23441:23446] CHIP:TOO: FabricIndex: 1 - [1661427357.682603][23441:23446] CHIP:TOO: } - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E01 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E01 + command: "readEvent" + event: "AccessControlExtensionChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Data: D_OK_EMPTY, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 1, + LatestValue: + { + Data: D_OK_SINGLE, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } - label: "Step 8: TH writes DUT Endpoint 0 AccessControl cluster Extension @@ -185,37 +174,26 @@ tests: response: error: CONSTRAINT_ERROR - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 9: TH reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - - On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged containing at least 1 new element, and MUST NOT contain an added event for the extension with data that is too large - - [1661427763.925039][23523:23528] CHIP:TOO: Event number: 7 - [1661427763.925054][23523:23528] CHIP:TOO: Priority: Info - [1661427763.925067][23523:23528] CHIP:TOO: Timestamp: 95411825 - [1661427763.925095][23523:23528] CHIP:TOO: AccessControlExtensionChanged: { - [1661427763.925112][23523:23528] CHIP:TOO: AdminNodeID: 112233 - [1661427763.925127][23523:23528] CHIP:TOO: AdminPasscodeID: null - [1661427763.925142][23523:23528] CHIP:TOO: ChangeType: 2 - [1661427763.925156][23523:23528] CHIP:TOO: LatestValue: { - [1661427763.925174][23523:23528] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 - [1661427763.925191][23523:23528] CHIP:TOO: FabricIndex: 1 - [1661427763.925205][23523:23528] CHIP:TOO: } - [1661427763.925220][23523:23528] CHIP:TOO: FabricIndex: 1 - [1661427763.925234][23523:23528] CHIP:TOO: } - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E01 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E01 + command: "readEvent" + event: "AccessControlExtensionChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Data: D_OK_SINGLE, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } - label: "Step 10: TH writes DUT Endpoint 0 AccessControl cluster Extension @@ -233,38 +211,26 @@ tests: response: error: CONSTRAINT_ERROR - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 11: TH reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event - containing at least 1 new element, and MUST NOT contain an added event for the second extension - [[1661428163.049647][23604:23609] CHIP:TOO: Event number: 8 - [1661428163.049660][23604:23609] CHIP:TOO: Priority: Info - [1661428163.049673][23604:23609] CHIP:TOO: Timestamp: 95827304 - [1661428163.049698][23604:23609] CHIP:TOO: AccessControlExtensionChanged: { - [1661428163.049714][23604:23609] CHIP:TOO: AdminNodeID: 112233 - [1661428163.049729][23604:23609] CHIP:TOO: AdminPasscodeID: null - [1661428163.049744][23604:23609] CHIP:TOO: ChangeType: 1 - [1661428163.049758][23604:23609] CHIP:TOO: LatestValue: { - [1661428163.049774][23604:23609] CHIP:TOO: Data: 1718 - [1661428163.049789][23604:23609] CHIP:TOO: FabricIndex: 1 - [1661428163.049803][23604:23609] CHIP:TOO: } - [1661428163.049817][23604:23609] CHIP:TOO: FabricIndex: 1 - [1661428163.049831][23604:23609] CHIP:TOO: } - [1661428163.050010][23604:23609] CHIP:EM: Sending Standalone Ack for MessageCounter:70117030 on exchange 55174i - [1661428163.050065][23604:23609] CHIP:IN: Prepared secure message 0x7f2e7d092ff0 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 55174i - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E01 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E01 + command: "readEvent" + event: "AccessControlExtensionChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 1, + LatestValue: + { + Data: D_OK_EMPTY, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } - label: "Step 12: TH writes DUT Endpoint 0 AccessControl cluster Extension @@ -275,36 +241,23 @@ tests: arguments: value: [] - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 13: TH reads DUT Endpoint 0 AccessControl cluster AccessControlExtensionChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - - On TH1(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event containing at least 1 new element - - [1661428343.982081][23629:23634] CHIP:TOO: Event number: 9 - [1661428343.982087][23629:23634] CHIP:TOO: Priority: Info - [1661428343.982092][23629:23634] CHIP:TOO: Timestamp: 96078599 - [1661428343.982103][23629:23634] CHIP:TOO: AccessControlExtensionChanged: { - [1661428343.982109][23629:23634] CHIP:TOO: AdminNodeID: 112233 - [1661428343.982115][23629:23634] CHIP:TOO: AdminPasscodeID: null - [1661428343.982121][23629:23634] CHIP:TOO: ChangeType: 2 - [1661428343.982127][23629:23634] CHIP:TOO: LatestValue: { - [1661428343.982133][23629:23634] CHIP:TOO: Data: 1718 - [1661428343.982139][23629:23634] CHIP:TOO: FabricIndex: 1 - [1661428343.982145][23629:23634] CHIP:TOO: } - [1661428343.982151][23629:23634] CHIP:TOO: FabricIndex: 1 - [1661428343.982157][23629:23634] CHIP:TOO: } - [1661428343.982246][23629:23634] CHIP:EM: Sending Standalone Ack for MessageCounter:13864065 on exchange 38943i - [1661428343.982272][23629:23634] CHIP:IN: Prepared secure message 0x7ff9a8e43ff0 to 0x0000000000000001 (1) of type 0x10 and - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E01 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E01 + command: "readEvent" + event: "AccessControlExtensionChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Data: D_OK_EMPTY, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml index 942fd2f97f82c2..946c1e0fdeda1b 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml @@ -54,6 +54,7 @@ tests: PICS: ACL.S.E00 command: "readEvent" event: "AccessControlEntryChanged" + eventNumber: "LastReceivedEventNumber + 1" response: value: { @@ -100,96 +101,62 @@ tests: }, ] - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 5: TH reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - - On TH1(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing at least 3 new elements - - [1661181829.402498][19315:19320] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1661181829.402502][19315:19320] CHIP:TOO: Event number: 3 - [1661181829.402504][19315:19320] CHIP:TOO: Priority: Info - [1661181829.402506][19315:19320] CHIP:TOO: Timestamp: 31085832 - [1661181829.402536][19315:19320] CHIP:TOO: AccessControlEntryChanged: { - [1661181829.402543][19315:19320] CHIP:TOO: AdminNodeID: null - [1661181829.402548][19315:19320] CHIP:TOO: AdminPasscodeID: 0 - [1661181829.402551][19315:19320] CHIP:TOO: ChangeType: 1 - [1661181829.402554][19315:19320] CHIP:TOO: LatestValue: { - [1661181829.402557][19315:19320] CHIP:TOO: Privilege: 5 - [1661181829.402560][19315:19320] CHIP:TOO: AuthMode: 2 - [1661181829.402564][19315:19320] CHIP:TOO: Subjects: 1 entries - [1661181829.402569][19315:19320] CHIP:TOO: [1]: 112233 - [1661181829.402572][19315:19320] CHIP:TOO: Targets: null - [1661181829.402575][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402578][19315:19320] CHIP:TOO: } - [1661181829.402581][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402584][19315:19320] CHIP:TOO: } - [1661181829.402609][19315:19320] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1661181829.402612][19315:19320] CHIP:TOO: Event number: 4 - [1661181829.402615][19315:19320] CHIP:TOO: Priority: Info - [1661181829.402617][19315:19320] CHIP:TOO: Timestamp: 31297570 - [1661181829.402624][19315:19320] CHIP:TOO: AccessControlEntryChanged: { - [1661181829.402627][19315:19320] CHIP:TOO: AdminNodeID: 112233 - [1661181829.402630][19315:19320] CHIP:TOO: AdminPasscodeID: null - [1661181829.402633][19315:19320] CHIP:TOO: ChangeType: 2 - [1661181829.402635][19315:19320] CHIP:TOO: LatestValue: { - [1661181829.402638][19315:19320] CHIP:TOO: Privilege: 5 - [1661181829.402641][19315:19320] CHIP:TOO: AuthMode: 2 - [1661181829.402644][19315:19320] CHIP:TOO: Subjects: 1 entries - [1661181829.402647][19315:19320] CHIP:TOO: [1]: 112233 - [1661181829.402650][19315:19320] CHIP:TOO: Targets: null - [1661181829.402653][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402656][19315:19320] CHIP:TOO: } - [1661181829.402658][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402661][19315:19320] CHIP:TOO: } - [1661181829.402687][19315:19320] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1661181829.402689][19315:19320] CHIP:TOO: Event number: 5 - [1661181829.402692][19315:19320] CHIP:TOO: Priority: Info - [1661181829.402694][19315:19320] CHIP:TOO: Timestamp: 31297570 - [1661181829.402699][19315:19320] CHIP:TOO: AccessControlEntryChanged: { - [1661181829.402702][19315:19320] CHIP:TOO: AdminNodeID: 112233 - [1661181829.402704][19315:19320] CHIP:TOO: AdminPasscodeID: null - [1661181829.402707][19315:19320] CHIP:TOO: ChangeType: 1 - [1661181829.402710][19315:19320] CHIP:TOO: LatestValue: { - [1661181829.402713][19315:19320] CHIP:TOO: Privilege: 5 - [1661181829.402715][19315:19320] CHIP:TOO: AuthMode: 2 - [1661181829.402718][19315:19320] CHIP:TOO: Subjects: 1 entries - [1661181829.402722][19315:19320] CHIP:TOO: [1]: 112233 - [1661181829.402724][19315:19320] CHIP:TOO: Targets: null - [1661181829.402727][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402729][19315:19320] CHIP:TOO: } - [1661181829.402732][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402735][19315:19320] CHIP:TOO: } - [1661181829.402758][19315:19320] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1661181829.402761][19315:19320] CHIP:TOO: Event number: 6 - [1661181829.402763][19315:19320] CHIP:TOO: Priority: Info - [1661181829.402765][19315:19320] CHIP:TOO: Timestamp: 31297571 - [1661181829.402770][19315:19320] CHIP:TOO: AccessControlEntryChanged: { - [1661181829.402773][19315:19320] CHIP:TOO: AdminNodeID: 112233 - [1661181829.402775][19315:19320] CHIP:TOO: AdminPasscodeID: null - [1661181829.402778][19315:19320] CHIP:TOO: ChangeType: 1 - [1661181829.402780][19315:19320] CHIP:TOO: LatestValue: { - [1661181829.402783][19315:19320] CHIP:TOO: Privilege: 3 - [1661181829.402786][19315:19320] CHIP:TOO: AuthMode: 3 - [1661181829.402789][19315:19320] CHIP:TOO: Subjects: null - [1661181829.402791][19315:19320] CHIP:TOO: Targets: null - [1661181829.402794][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402796][19315:19320] CHIP:TOO: } - [1661181829.402799][19315:19320] CHIP:TOO: FabricIndex: 1 - [1661181829.402801][19315:19320] CHIP:TOO: } - [1661181829.402840][19315:19320] CHIP:EM: Sending Standalone Ack for MessageCounter:139733206 on exchange 44167i - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E00 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E00 + command: "readEvent" + event: "AccessControlEntryChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Privilege: 5, + AuthMode: 2, + Subjects: [CommissionerNodeId], + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 1, + LatestValue: + { + Privilege: 5, + AuthMode: 2, + Subjects: [CommissionerNodeId], + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 1, + LatestValue: + { + Privilege: 3, + AuthMode: 3, + Subjects: null, + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } - label: "Step 6: TH writes DUT Endpoint 0 AccessControl cluster ACL attribute, @@ -223,74 +190,59 @@ tests: response: error: CONSTRAINT_ERROR - #Issue: https://github.com/project-chip/connectedhomeip/issues/24149 - label: "Step 7: TH reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event" - verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - - On TH1(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing - at least 3 new elements and MUST NOT contain an added event for second entry written at step 6 - - [1662107335.746678][89356:89361] CHIP:TOO: Event number: 10 - [1662107335.746688][89356:89361] CHIP:TOO: Priority: Info - [1662107335.746698][89356:89361] CHIP:TOO: Timestamp: 370685212 - [1662107335.746722][89356:89361] CHIP:TOO: AccessControlEntryChanged: { - [1662107335.746736][89356:89361] CHIP:TOO: AdminNodeID: 112233 - [1662107335.746750][89356:89361] CHIP:TOO: AdminPasscodeID: null - [1662107335.746763][89356:89361] CHIP:TOO: ChangeType: 2 - [1662107335.746774][89356:89361] CHIP:TOO: LatestValue: { - [1662107335.746786][89356:89361] CHIP:TOO: Privilege: 3 - [1662107335.746797][89356:89361] CHIP:TOO: AuthMode: 3 - [1662107335.746810][89356:89361] CHIP:TOO: Subjects: null - [1662107335.746823][89356:89361] CHIP:TOO: Targets: null - [1662107335.746837][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.746850][89356:89361] CHIP:TOO: } - [1662107335.746863][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.746875][89356:89361] CHIP:TOO: } - [1662107335.746995][89356:89361] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1662107335.747009][89356:89361] CHIP:TOO: Event number: 11 - [1662107335.747020][89356:89361] CHIP:TOO: Priority: Info - [1662107335.747032][89356:89361] CHIP:TOO: Timestamp: 370685213 - [1662107335.747058][89356:89361] CHIP:TOO: AccessControlEntryChanged: { - [1662107335.747073][89356:89361] CHIP:TOO: AdminNodeID: 112233 - [1662107335.747085][89356:89361] CHIP:TOO: AdminPasscodeID: null - [1662107335.747097][89356:89361] CHIP:TOO: ChangeType: 2 - [1662107335.747108][89356:89361] CHIP:TOO: LatestValue: { - [1662107335.747119][89356:89361] CHIP:TOO: Privilege: 5 - [1662107335.747130][89356:89361] CHIP:TOO: AuthMode: 2 - [1662107335.747144][89356:89361] CHIP:TOO: Subjects: 1 entries - [1662107335.747160][89356:89361] CHIP:TOO: [1]: 112233 - [1662107335.747175][89356:89361] CHIP:TOO: Targets: null - [1662107335.747188][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.747201][89356:89361] CHIP:TOO: } - [1662107335.747214][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.747226][89356:89361] CHIP:TOO: } - [1662107335.747348][89356:89361] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 - [1662107335.747362][89356:89361] CHIP:TOO: Event number: 12 - [1662107335.747374][89356:89361] CHIP:TOO: Priority: Info - [1662107335.747385][89356:89361] CHIP:TOO: Timestamp: 370685215 - [1662107335.747412][89356:89361] CHIP:TOO: AccessControlEntryChanged: { - [1662107335.747426][89356:89361] CHIP:TOO: AdminNodeID: 112233 - [1662107335.747438][89356:89361] CHIP:TOO: AdminPasscodeID: null - [1662107335.747450][89356:89361] CHIP:TOO: ChangeType: 1 - [1662107335.747461][89356:89361] CHIP:TOO: LatestValue: { - [1662107335.747473][89356:89361] CHIP:TOO: Privilege: 5 - [1662107335.747484][89356:89361] CHIP:TOO: AuthMode: 2 - [1662107335.747500][89356:89361] CHIP:TOO: Subjects: 1 entries - [1662107335.747516][89356:89361] CHIP:TOO: [1]: 112233 - [1662107335.747530][89356:89361] CHIP:TOO: Targets: null - [1662107335.747543][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.747554][89356:89361] CHIP:TOO: } - [1662107335.747565][89356:89361] CHIP:TOO: FabricIndex: 1 - [1662107335.747576][89356:89361] CHIP:TOO: } - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_SKIP_SAMPLE_APP && ACL.S.E00 - arguments: - values: - - name: "message" - value: "Enter 'y' after success" - - name: "expectedValue" - value: "y" + PICS: ACL.S.E00 + command: "readEvent" + event: "AccessControlEntryChanged" + eventNumber: "LastReceivedEventNumber + 1" + response: + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Privilege: 3, + AuthMode: 3, + Subjects: null, + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 2, + LatestValue: + { + Privilege: 5, + AuthMode: 2, + Subjects: [CommissionerNodeId], + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } + - values: + - value: + { + AdminNodeID: CommissionerNodeId, + AdminPasscodeID: null, + ChangeType: 1, + LatestValue: + { + Privilege: 5, + AuthMode: 2, + Subjects: [CommissionerNodeId], + Targets: null, + FabricIndex: CurrentFabricIndexValue, + }, + FabricIndex: CurrentFabricIndexValue, + } diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml index 483d57169defa6..4abaa89d9844b9 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_1.yaml @@ -41,11 +41,19 @@ tests: - label: "Pre-Conditions" verification: | - TH2 supports On/Off server on Endpoint 1. + 1 TH2 supports On/Off server on Endpoint 1. - TH3 supports On/Off server on Endpoint 2. + 2 TH3 supports On/Off server on Endpoint 2. - DUT supports On/Off client. + 3 DUT supports On/Off client. + + 1. TH1 - Test Harness1 as Commissioner + + 2. TH2 - Test Harness2 as Controlee + + 3. TH3 - Test Harness3 as Controlee + + 4. DUT - Controller disabled: true - label: "Step 1: Factory Reset DUT" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_26.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_26.yaml index d6af78ccfd2b92..8b915f178984a8 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_26.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_26.yaml @@ -1971,7 +1971,7 @@ tests: administratorcommissioning read window-status 1 0 --commissioner-name alpha - Verify TH_CR1 logs for windowstatus to be 1 + Verify TH_CR1 logs for windowstatus to be 2 ReportDataMessage = diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml index a127b1c26c2fd5..e0adf7ec94ea14 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml @@ -233,9 +233,9 @@ tests: "Step 11: TH sends ArmFailSafe command to the DUT with ExpiryLengthSeconds set to 900" verification: | - ./chip-tool generalcommissioning arm-fail-safe 90 0 1 0 + ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0 - Via the TH (chip-tool), Verify the DUT sends ArmFailSafe with timeout as 90 secs to the TH. + Via the TH (chip-tool), Verify the DUT sends ArmFailSafe with timeout as 900 secs to the TH. [1657626161.611078][2780:2785] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657626161.611183][2780:2785] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_8.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_8.yaml index 188e23dcccf156..7f190760dc2dfa 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_8.yaml @@ -52,331 +52,1297 @@ tests: "Step 1b: CD Test Vector: The product_id_array field has one PID value which matches the PID value in DAC." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284781.863086][15687:15687] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284781.863091][15687:15687] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284781.863094][15687:15687] CHIP:SVR: Commissioning completed successfully + [1690284781.863099][15687:15687] CHIP:DIS: Updating services using commissioning mode 0 + [1690284781.863232][15687:15687] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284781.863516][15687:15687] CHIP:DL: Using wifi MAC for hostname + [1690284781.863520][15687:15687] CHIP:DIS: Advertise operational node BC763936FB9BFB4F-0000000000000001 + [1690284781.863527][15687:15687] CHIP:DIS: Responding with _matter._tcp.local + [1690284781.863530][15687:15687] CHIP:DIS: Responding with BC763936FB9BFB4F-0000000000000001._matter._tcp.local + [1690284781.863533][15687:15687] CHIP:DIS: Responding with BC763936FB9BFB4F-0000000000000001._matter._tcp.local + [1690284781.863535][15687:15687] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284781.863537][15687:15687] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284781.863540][15687:15687] CHIP:DIS: Responding with _IBC763936FB9BFB4F._sub._matter._tcp.local + [1690284781.863541][15687:15687] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: BC763936FB9BFB4F-0000000000000001. + [1690284781.863659][15687:15687] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1c: PAI Test Vector: Fallback VID and PID encoding example from - spec: valid example showing that order or separators are not - considered at all for the overall validity of the embedded fields" + "Step 1c: DAC Test Vector: Valid certificate signature algorithm + ECDSA_WITH_SHA256" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha256/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690282264.371827][14553:14553] CHIP:IN: (S) Sending msg 23779882 on secure session with LSID: 16850 + [1690282264.371844][14553:14553] CHIP:DMG: Command handler moving to [CommandSen] + [1690282264.371847][14553:14553] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282264.371851][14553:14553] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282264.371855][14553:14553] CHIP:SVR: Commissioning completed successfully + [1690282264.371860][14553:14553] CHIP:DIS: Updating services using commissioning mode 0 + [1690282264.372005][14553:14553] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282264.372310][14553:14553] CHIP:DL: Using wifi MAC for hostname + [1690282264.372315][14553:14553] CHIP:DIS: Advertise operational node 1D83B90391F33656-0000000000000001 + [1690282264.372322][14553:14553] CHIP:DIS: Responding with _matter._tcp.local + [1690282264.372324][14553:14553] CHIP:DIS: Responding with 1D83B90391F33656-0000000000000001._matter._tcp.local + [1690282264.372327][14553:14553] CHIP:DIS: Responding with 1D83B90391F33656-0000000000000001._matter._tcp.local + [1690282264.372329][14553:14553] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282264.372331][14553:14553] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1d: PAI Test Vector: Fallback VID and PID encoding example: - valid but less human-readable" + "Step 1d: PAI Test Vector: Certificate Key Usage extension + digitalSignature field is wrong (not present for DAC and present for + PAI, which is OK as optional)" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_key_usage_dig_sig_wrong/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690282103.319220][14495:14495] CHIP:DMG: Command handler moving to [CommandSen] + [1690282103.319223][14495:14495] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282103.319228][14495:14495] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282103.319231][14495:14495] CHIP:SVR: Commissioning completed successfully + [1690282103.319237][14495:14495] CHIP:DIS: Updating services using commissioning mode 0 + [1690282103.319424][14495:14495] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282103.319836][14495:14495] CHIP:DL: Using wifi MAC for hostname + [1690282103.319841][14495:14495] CHIP:DIS: Advertise operational node 245D3DEA8B49CCBC-0000000000000001 + [1690282103.319847][14495:14495] CHIP:DIS: Responding with _matter._tcp.local disabled: true - - label: - "Step 1e: CD Test Vector: The authorized_paa_list contains two PAAs - one of which is valid PAA authorized to sign the PAI." + - label: "Step 1e: CD Test Vector: Valid CMS digest algorithm SHA256." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690283252.582992][15010:15010] CHIP:IN: (S) Sending msg 90677485 on secure session with LSID: 13429 + [1690283252.583011][15010:15010] CHIP:DMG: Command handler moving to [CommandSen] + [1690283252.583014][15010:15010] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690283252.583020][15010:15010] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690283252.583024][15010:15010] CHIP:SVR: Commissioning completed successfully + [1690283252.583031][15010:15010] CHIP:DIS: Updating services using commissioning mode 0 + [1690283252.583246][15010:15010] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690283252.583664][15010:15010] CHIP:DL: Using wifi MAC for hostname + [1690283252.583669][15010:15010] CHIP:DIS: Advertise operational node 4A9A302B80B2F60D-0000000000000001 + [1690283252.583676][15010:15010] CHIP:DIS: Responding with _matter._tcp.local + [1690283252.583679][15010:15010] CHIP:DIS: Responding with 4A9A302B80B2F60D-0000000000000001._matter._tcp.local + [1690283252.583682][15010:15010] CHIP:DIS: Responding with 4A9A302B80B2F60D-00000000000 disabled: true - label: - "Step 1f: DAC Test Vector: Valid certificate public key curve - prime256v1" + "Step 1f: DAC Test Vector: Fallback VID and PID encoding example from + spec: valid and recommended since easily human-readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133857.877392][11175:11175] CHIP:IN: (S) Sending msg 86521032 on secure session with LSID: 18679 + [1691133857.877592][11175:11175] CHIP:DMG: Command handler moving to [CommandSen] + [1691133857.877626][11175:11175] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133857.877673][11175:11175] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133857.877703][11175:11175] CHIP:SVR: Commissioning completed successfully + [1691133857.877753][11175:11175] CHIP:DIS: Updating services using commissioning mode 0 + [1691133857.889402][11175:11175] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133857.918651][11175:11175] CHIP:DL: Using wifi MAC for hostname + [1691133857.918706][11175:11175] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133857.918754][11175:11175] CHIP:DIS: Responding with _matter._tcp.local disabled: true - label: "Step 1g: PAI Test Vector: Valid certificate public key curve prime256v1" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_sig_curve_prime256v1/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690281511.267951][14201:14201] CHIP:IN: (S) Sending msg 224547489 on secure session with LSID: 18074 + [1690281511.267975][14201:14201] CHIP:DMG: Command handler moving to [CommandSen] + [1690281511.267978][14201:14201] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281511.267985][14201:14201] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281511.267989][14201:14201] CHIP:SVR: Commissioning completed successfully + [1690281511.267996][14201:14201] CHIP:DIS: Updating services using commissioning mode 0 + [1690281511.268177][14201:14201] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281511.268587][14201:14201] CHIP:DL: Using wifi MAC for hostname + [1690281511.268593][14201:14201] CHIP:DIS: Advertise operational node C149B332A9D60CE1-0000000000000001 + [1690281511.268603][14201:14201] CHIP:DIS: Responding with _matter._tcp.local + [1690281511.268607][14201:14201] CHIP:DIS: Responding with C149B332A9D60CE1-0000000000000001._matter._tcp.local + [1690281511.268611][14201:14201] CHIP:DIS: Responding with C149B332A9D60CE1-0000000000000001._matter._tcp.local + [1690281511.268614][14201:14201] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281511.268616][14201:14201] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281511.268621][14201:14201] CHIP:DIS: Responding with _IC149B332A9D60CE1._sub._matter._tcp.local + [1690281511.268623][14201:14201] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: C149B332A9D60CE1-0000000000000001. + [1690281511.268802][14201:14201] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1h: PAI Test Vector: Certificate includes optional Authority - Information Access extension" + "Step 1h: DAC Test Vector: Fallback VID and PID encoding example from + spec: valid, but highly discouraged, since embedding of substrings + within other substrings may be confusing to human readers" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133794.712296][11157:11157] CHIP:IN: (S) Sending msg 176064909 on secure session with LSID: 23128 + [1691133794.712460][11157:11157] CHIP:DMG: Command handler moving to [CommandSen] + [1691133794.712484][11157:11157] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133794.712519][11157:11157] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133794.712541][11157:11157] CHIP:SVR: Commissioning completed successfully + [1691133794.712578][11157:11157] CHIP:DIS: Updating services using commissioning mode 0 + [1691133794.721139][11157:11157] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133794.750359][11157:11157] CHIP:DL: Using wifi MAC for hostname + [1691133794.750415][11157:11157] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133794.750462][11157:11157] CHIP:DIS: Responding with _matter._tcp.local + [1691133794.750483][11157:11157] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133794.750507][11157:11157] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133794.750525][11157:11157] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133794.750541][11157:11157] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1i: PAI Test Vector: Certificate includes optional Subject - Alternative Name extension" + "Step 1i: PAI Test Vector: Valid certificate signature algorithm + ECDSA_WITH_SHA256" + verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_sig_algo_ecdsa_with_sha256/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690282205.406742][14526:14526] CHIP:DMG: Command handler moving to [CommandSen] + [1690282205.406744][14526:14526] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282205.406749][14526:14526] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282205.406752][14526:14526] CHIP:SVR: Commissioning completed successfully + [1690282205.406757][14526:14526] CHIP:DIS: Updating services using commissioning mode 0 + [1690282205.406908][14526:14526] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282205.407193][14526:14526] CHIP:DL: Using wifi MAC for hostname + [1690282205.407198][14526:14526] CHIP:DIS: Advertise operational node 0BC515CC89B3B451-0000000000000001 + [1690282205.407204][14526:14526] CHIP:DIS: Responding with _matter._tcp.local + [1690282205.407207][14526:14526] CHIP:DIS: Responding with 0BC515CC89B3B451-0000000000000001._matter._tcp.local + [1690282205.407210][14526:14526] CHIP:DIS: Responding with 0BC515CC89B3B451-0000000000000001._matter._tcp.local + [1690282205.407212][14526:14526] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282205.407213][14526:14526] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1j: DAC Test Vector: Certificate includes optional Extended Key - Usage extension" + "Step 1j: DAC Test Vector: Fallback VID and PID encoding example from + spec: valid, but less readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691134005.932359][11214:11214] CHIP:DMG: Command handler moving to [CommandSen] + [1691134005.932385][11214:11214] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691134005.932425][11214:11214] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691134005.932449][11214:11214] CHIP:SVR: Commissioning completed successfully + [1691134005.932492][11214:11214] CHIP:DIS: Updating services using commissioning mode 0 + [1691134005.942626][11214:11214] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691134005.972635][11214:11214] CHIP:DL: Using wifi MAC for hostname + [1691134005.972688][11214:11214] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691134005.972733][11214:11214] CHIP:DIS: Responding with _matter._tcp.local + [1691134005.972754][11214:11214] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691134005.972778][11214:11214] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691134005.972796][11214:11214] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1k: CD Test Vector: The product_id_array field has 100 PID - values one of which matches the PID value in DAC." + "Step 1k: CD Test Vector: Valid CMS signature algorithm + ECDSA_WITH_SHA256." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690285168.741667][16055:16055] CHIP:EM: <<< [E:60515r S:59089 M:252248938 (Ack:182146297)] (S) Msg TX to 1:000000000001B669 [81EE] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690285168.741672][16055:16055] CHIP:IN: (S) Sending msg 252248938 on secure session with LSID: 59089 + [1690285168.741691][16055:16055] CHIP:DMG: Command handler moving to [CommandSen] + [1690285168.741693][16055:16055] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690285168.741698][16055:16055] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690285168.741700][16055:16055] CHIP:SVR: Commissioning completed successfully + [1690285168.741705][16055:16055] CHIP:DIS: Updating services using commissioning mode 0 + [1690285168.741839][16055:16055] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690285168.742127][16055:16055] CHIP:DL: Using wifi MAC for hostname + [1690285168.742132][16055:16055] CHIP:DIS: Advertise operational node 5C044033A18D81EE-0000000000000001 + [1690285168.742139][16055:16055] CHIP:DIS: Responding with _matter._tcp.local + [1690285168.742141][16055:16055] CHIP:DIS: Responding with 5C044033A18D81EE-0000000000000001._matter._tcp.local + [1690285168.742145][16055:16055] CHIP:DIS: Responding with 5C044033A18D81EE-0000000000000001._matter._tcp.local + [1690285168.742147][16055:16055] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690285168.742148][16055:16055] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690285168.742152][16055:16055] CHIP:DIS: Responding with _I5C044033A18D81EE._sub._matter._tcp.local + [1690285168.742154][16055:16055] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 5C044033A18D81EE-0000000000000001. + [1690285168.742275][16055:16055] CHIP:DIS: mDNS service published: _matter._tcp + [1690285168.742282][16055:16055] CHIP:IN: Expiring all PASE sessions + [1690285168.742284][16055:16055] CHIP:IN: SecureSession[0x55e03b27a900]: MarkForEviction Type:1 LSID:59088 + [1690285168.742287][16055:16055] CHIP:SC: SecureSession[0x55e03b27a900, LSID:59088]: State change 'kActive' --> 'kPendingEviction' + [1690285168.742290][16055:16055] CHIP:IN: SecureSession[0x55e03b27a900]: Released - Type:1 LSID:59088 disabled: true - label: "Step 1l: PAI Test Vector: Fallback VID and PID encoding example from - spec: valid but less readable" + spec: valid, but less readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133565.491036][11098:11098] CHIP:DMG: Command handler moving to [CommandSen] + [1691133565.491066][11098:11098] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133565.491112][11098:11098] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133565.491139][11098:11098] CHIP:SVR: Commissioning completed successfully + [1691133565.491182][11098:11098] CHIP:DIS: Updating services using commissioning mode 0 + [1691133565.500346][11098:11098] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133565.528577][11098:11098] CHIP:DL: Using wifi MAC for hostname + [1691133565.528631][11098:11098] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133565.528676][11098:11098] CHIP:DIS: Responding with _matter._tcp.local + [1691133565.528697][11098:11098] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133565.528721][11098:11098] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133565.528739][11098:11098] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133565.528756][11098:11098] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133565.528780][11098:11098] CHIP:DIS: Responding with _I3CBA812920C1A81B._sub._matter._tcp.local + [1691133565.528798][11098:11098] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 3CBA812920C1A81B-0000000000000001. + [1691133565.543946][11098:11098] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1m: DAC Test Vector: Fallback VID and PID encoding example: - valid but less human-readable" + "Step 1m: DAC Test Vector: Certificate includes optional Extended Key + Usage extension" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_extended_key_usage_present/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690281699.777371][14314:14314] CHIP:IN: (S) Sending msg 237488731 on secure session with LSID: 53990 + [1690281699.777407][14314:14314] CHIP:DMG: Command handler moving to [CommandSen] + [1690281699.777410][14314:14314] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281699.777416][14314:14314] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281699.777420][14314:14314] CHIP:SVR: Commissioning completed successfully + [1690281699.777426][14314:14314] CHIP:DIS: Updating services using commissioning mode 0 + [1690281699.777580][14314:14314] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281699.777915][14314:14314] CHIP:DL: Using wifi MAC for hostname + [1690281699.777921][14314:14314] CHIP:DIS: Advertise operational node 4B076F272AA45A20-0000000000000001 + [1690281699.777929][14314:14314] CHIP:DIS: Responding with _matter._tcp.local disabled: true - label: "Step 1n: DAC Test Vector: Mix of Fallback and Matter OID encoding for - VID and PID: valid Matter OIDs are used and wrong values in the + VID and PID: valid, Matter OIDs are used and wrong values in the common-name are ignored" verification: | - Verify that the TH is successfully commissioned for each test case - disabled: true + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/test_case_vector.json --product-id 177 - - label: - "Step 1o: CD Test Vector: The dac_origin_vendor_id and - dac_origin_product_id fields are not present." - verification: | - Verify that the TH is successfully commissioned for each test case + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + 691133646.091682][11117:11117] CHIP:EM: <<< [E:50678r S:27653 M:163771128 (Ack:45828179)] (S) Msg TX to 1:000000000001B669 [A81B] --- Type 0001:09 (IM:InvokeCommandResponse) + [1691133646.091736][11117:11117] CHIP:IN: (S) Sending msg 163771128 on secure session with LSID: 27653 + [1691133646.091927][11117:11117] CHIP:DMG: Command handler moving to [CommandSen] + [1691133646.091951][11117:11117] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133646.091990][11117:11117] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133646.092012][11117:11117] CHIP:SVR: Commissioning completed successfully + [1691133646.092051][11117:11117] CHIP:DIS: Updating services using commissioning mode 0 + [1691133646.101029][11117:11117] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133646.130460][11117:11117] CHIP:DL: Using wifi MAC for hostname disabled: true - label: - "Step 1p: PAI Test Vector: Certificate Key Usage extension - diginalSignature field is wrong (not present for DAC and present for - PAI which is OK as optional)" + "Step 1o: CD Test Vector: The product_id_array field has one PID value + which matches the PID value in DAC." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690280928.950144][13907:13907] CHIP:DMG: { + [1690280928.950146][13907:13907] CHIP:DMG: peer_address = UDP:[fe80::5a6b:cc3a:f0c1:ab99%wlp0s20f3]:44344 + [1690280928.950147][13907:13907] CHIP:DMG: } + [1690280928.950149][13907:13907] CHIP:DMG: + [1690280928.950160][13907:13907] CHIP:EM: <<< [E:42046r S:55761 M:4615769 (Ack:127152057)] (S) Msg TX to 1:000000000001B669 [BCFB] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690280928.950165][13907:13907] CHIP:IN: (S) Sending msg 4615769 on secure session with LSID: 55761 + [1690280928.950185][13907:13907] CHIP:DMG: Command handler moving to [CommandSen] + [1690280928.950187][13907:13907] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690280928.950192][13907:13907] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690280928.950195][13907:13907] CHIP:SVR: Commissioning completed successfully + [1690280928.950200][13907:13907] CHIP:DIS: Updating services using commissioning mode 0 + [1690280928.950333][13907:13907] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690280928.950625][13907:13907] CHIP:DL: Using wifi MAC for hostname + [1690280928.950629][13907:13907] CHIP:DIS: Advertise operational node 48D63053063CBCFB-0000000000000001 + [1690280928.950636][13907:13907] CHIP:DIS: Responding with _matter._tcp.local + [1690280928.950638][13907:13907] CHIP:DIS: Responding with 48D63053063CBCFB-0000000000000001._matter._tcp.local + [1690280928.950642][13907:13907] CHIP:DIS: Responding with 48D63053063CBCFB-0000000000000001._matter._tcp.local + [1690280928.950644][13907:13907] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690280928.950646][13907:13907] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690280928.950650][13907:13907] CHIP:DIS: Responding with _I48D63053063CBCFB._sub._matter._tcp.local + [1690280928.950651][13907:13907] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 48D63053063CBCFB-0000000000000001. + [1690280928.950815][13907:13907] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - - label: - "Step 1q: PAI Test Vector: Valid certificate signature algorithm - ECDSA_WITH_SHA256" + - label: "Step 1p: CD Test Vector: Valid format_version field set to 1." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_format_version_1/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690283303.542736][15037:15037] CHIP:IN: (S) Sending msg 210903775 on secure session with LSID: 64447 + [1690283303.542761][15037:15037] CHIP:DMG: Command handler moving to [CommandSen] + [1690283303.542763][15037:15037] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690283303.542769][15037:15037] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690283303.542772][15037:15037] CHIP:SVR: Commissioning completed successfully + [1690283303.542778][15037:15037] CHIP:DIS: Updating services using commissioning mode 0 + [1690283303.542948][15037:15037] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690283303.543270][15037:15037] CHIP:DL: Using wifi MAC for hostname + [1690283303.543275][15037:15037] CHIP:DIS: Advertise operational node 5F5C8ABEB09C0582-0000000000000001 + [1690283303.543281][15037:15037] CHIP:DIS: Responding with _matter._tcp.local + [1690283303.543283][15037:15037] CHIP:DIS: Responding with 5F5C8ABEB09C0582-0000000000000001._matter._tcp.local + [1690283303.543287][15037:15037] CHIP:DIS: Responding with 5F5C8ABEB09C0582-0000000000000001._matter._tcp.local + [1690283303.543290][15037:15037] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690283303.543293][15037:15037] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - - label: - "Step 1r: DAC Test Vector: Valid certificate signature algorithm - ECDSA_WITH_SHA256" + - label: "Step 1q: CD Test Vector: Valid CMS eContentType pkcs7-data." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284421.688328][15513:15513] CHIP:EM: <<< [E:57094r S:37474 M:62088858 (Ack:198482245)] (S) Msg TX to 1:000000000001B669 [9014] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690284421.688334][15513:15513] CHIP:IN: (S) Sending msg 62088858 on secure session with LSID: 37474 + [1690284421.688360][15513:15513] CHIP:DMG: Command handler moving to [CommandSen] + [1690284421.688362][15513:15513] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284421.688382][15513:15513] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284421.688386][15513:15513] CHIP:SVR: Commissioning completed successfully + [1690284421.688393][15513:15513] CHIP:DIS: Updating services using commissioning mode 0 + [1690284421.688535][15513:15513] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284421.688930][15513:15513] CHIP:DL: Using wifi MAC for hostname + [1690284421.688935][15513:15513] CHIP:DIS: Advertise operational node 77378B1179759014-0000000000000001 + [1690284421.688945][15513:15513] CHIP:DIS: Responding with _matter._tcp.local + [1690284421.688948][15513:15513] CHIP:DIS: Responding with 77378B1179759014-0000000000000001._matter._tcp.local + [1690284421.688952][15513:15513] CHIP:DIS: Responding with 77378B1179759014-0000000000000001._matter._tcp.local + [1690284421.688955][15513:15513] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284421.688957][15513:15513] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1s: DAC Test Vector: Fallback VID and PID encoding example from + "Step 1r: DAC Test Vector: Fallback VID and PID encoding example from spec: valid example showing that order or separators are not considered at all for the overall validity of the embedded fields" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133683.498853][11126:11126] CHIP:EM: <<< [E:25280r S:10496 M:16556542 (Ack:4636808)] (S) Msg TX to 1:000000000001B669 [A81B] --- Type 0001:09 (IM:InvokeCommandResponse) + [1691133683.498897][11126:11126] CHIP:IN: (S) Sending msg 16556542 on secure session with LSID: 10496 + [1691133683.499062][11126:11126] CHIP:DMG: Command handler moving to [CommandSen] + [1691133683.499084][11126:11126] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133683.499121][11126:11126] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133683.499143][11126:11126] CHIP:SVR: Commissioning completed successfully + [1691133683.499178][11126:11126] CHIP:DIS: Updating services using commissioning mode 0 + [1691133683.507672][11126:11126] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133683.538207][11126:11126] CHIP:DL: Using wifi MAC for hostname + [1691133683.538269][11126:11126] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133683.538318][11126:11126] CHIP:DIS: Responding with _matter._tcp.local disabled: true - - label: "Step 1t: CD Test Vector: Valid CMS version set to v3." + - label: "Step 1s: struct_cd_authorized_paa_list_count1_valid (pid=32768)" + PICS: + "CD Test Vector: The authorized_paa_list contains one valid PAA which + is authorized to sign the PAI." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284610.899952][15595:15595] CHIP:IN: (S) Sending msg 181434251 on secure session with LSID: 27220 + [1690284610.899971][15595:15595] CHIP:DMG: Command handler moving to [CommandSen] + [1690284610.899974][15595:15595] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284610.899980][15595:15595] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284610.899983][15595:15595] CHIP:SVR: Commissioning completed successfully + [1690284610.899990][15595:15595] CHIP:DIS: Updating services using commissioning mode 0 + [1690284610.900176][15595:15595] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284610.900592][15595:15595] CHIP:DL: Using wifi MAC for hostname + [1690284610.900597][15595:15595] CHIP:DIS: Advertise operational node B50245B397D68077-0000000000000001 + [1690284610.900604][15595:15595] CHIP:DIS: Responding with _matter._tcp.local + [1690284610.900608][15595:15595] CHIP:DIS: Responding with B50245B397D68077-0000000000000001._matter._tcp.local + [1690284610.900611][15595:15595] CHIP:DIS: Responding with B50245B397D68077-0000000000000001._matter._tcp.local + [1690284610.900612][15595:15595] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284610.900614][15595:15595] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1u: PAI Test Vector: Fallback VID and PID encoding example from - spec: valid and recommended since easily human-readable" + "Step 1t: DAC Test Vector: Certificate includes optional Authority + Information Access extension" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_authority_info_access_present/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690282820.254108][14791:14791] CHIP:EM: <<< [E:60778r S:62234 M:190073547 (Ack:21030011)] (S) Msg TX to 1:000000000001B669 [D14E] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690282820.254113][14791:14791] CHIP:IN: (S) Sending msg 190073547 on secure session with LSID: 62234 + [1690282820.254132][14791:14791] CHIP:DMG: Command handler moving to [CommandSen] + [1690282820.254134][14791:14791] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282820.254140][14791:14791] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282820.254144][14791:14791] CHIP:SVR: Commissioning completed successfully + [1690282820.254151][14791:14791] CHIP:DIS: Updating services using commissioning mode 0 + [1690282820.254349][14791:14791] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282820.254759][14791:14791] CHIP:DL: Using wifi MAC for hostname + [1690282820.254764][14791:14791] CHIP:DIS: Advertise operational node CEA5FEC505CBD14E-0000000000000001 + [1690282820.254771][14791:14791] CHIP:DIS: Responding with _matter._tcp.local + [1690282820.254774][14791:14791] CHIP:DIS: Responding with CEA5FEC505CBD14E-0000000000000001._matter._tcp.local + [1690282820.254777][14791:14791] CHIP:DIS: Responding with CEA5FEC505CBD14E-0000000000000001._matter._tcp.local + [1690282820.254779][14791:14791] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1v: CD Test Vector: The subjectKeyIdentifier contains SKID of a - well-known Zigbee Alliance certificate." + "Step 1u: PAI Test Vector: Certificate includes optional Subject + Alternative Name extension" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_subject_alt_name_present/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690281643.630949][14294:14294] CHIP:DMG: + [1690281643.630963][14294:14294] CHIP:EM: <<< [E:39979r S:47218 M:84512679 (Ack:239864246)] (S) Msg TX to 1:000000000001B669 [1239] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690281643.630969][14294:14294] CHIP:IN: (S) Sending msg 84512679 on secure session with LSID: 47218 + [1690281643.630996][14294:14294] CHIP:DMG: Command handler moving to [CommandSen] + [1690281643.630999][14294:14294] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281643.631018][14294:14294] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281643.631022][14294:14294] CHIP:SVR: Commissioning completed successfully + [1690281643.631028][14294:14294] CHIP:DIS: Updating services using commissioning mode 0 + [1690281643.631184][14294:14294] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281643.631535][14294:14294] CHIP:DL: Using wifi MAC for hostname + [1690281643.631541][14294:14294] CHIP:DIS: Advertise operational node 5CFD1EA3CA4F1239-0000000000000001 + [1690281643.631549][14294:14294] CHIP:DIS: Responding with _matter._tcp.local + [1690281643.631552][14294:14294] CHIP:DIS: Responding with 5CFD1EA3CA4F1239-0000000000000001._matter._tcp.local + [1690281643.631557][14294:14294] CHIP:DIS: Responding with 5CFD1EA3CA4F1239-0000000000000001._matter._tcp.local + [1690281643.631559][14294:14294] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281643.631561][14294:14294] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281643.631566][14294:14294] CHIP:DIS: Responding with _I5CFD1EA3CA4F1239._sub._matter._tcp.local + [1690281643.631569][14294:14294] CHIP:DIS: CHIP minimal mDNS configured as 'Operational devic disabled: true - label: - "Step 1w: PAI Test Vector: Certificate Basic Constraint extension - PathLen field set to 0" + "Step 1v: PAI Test Vector: Valid certificate version field set to + v3(2)" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_cert_version_v3/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284881.973167][15840:15840] CHIP:IN: (S) Sending msg 66827213 on secure session with LSID: 9046 + [1690284881.973187][15840:15840] CHIP:DMG: Command handler moving to [CommandSen] + [1690284881.973189][15840:15840] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284881.973194][15840:15840] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284881.973198][15840:15840] CHIP:SVR: Commissioning completed successfully + [1690284881.973204][15840:15840] CHIP:DIS: Updating services using commissioning mode 0 + [1690284881.973368][15840:15840] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284881.973707][15840:15840] CHIP:DL: Using wifi MAC for hostname + [1690284881.973712][15840:15840] CHIP:DIS: Advertise operational node 7EA725F8C916B163-0000000000000001 + [1690284881.973718][15840:15840] CHIP:DIS: Responding with _matter._tcp.local + [1690284881.973722][15840:15840] CHIP:DIS: Responding with 7EA725F8C916B163-0000000000000001._matter._tcp.local + [1690284881.973727][15840:15840] CHIP:DIS: Responding with 7EA725F8C916B163-0000000000000001._matter._tcp.local + [1690284881.973730][15840:15840] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284881.973732][15840:15840] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284881.973736][15840:15840] CHIP:DIS: Responding with _I7EA725F8C916B163._sub._matter._tcp.local + [1690284881.973738][15840:15840] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 7EA725F8C916B163-0000000000000001. + [1690284881.973870][15840:15840] CHIP:DIS: mDNS service published: _matter._tcp + [1690284881.973878][15840:15840] CHIP:IN: Expiring all PASE sessions disabled: true - label: - "Step 1x: DAC Test Vector: Certificate includes optional Authority - Information Access extension" + "Step 1x: DAC Test Vector: Valid certificate public key curve + prime256v1" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_sig_curve_prime256v1/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690281455.843936][14173:14173] CHIP:DMG: Command handler moving to [CommandSen] + [1690281455.843939][14173:14173] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281455.843945][14173:14173] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281455.843948][14173:14173] CHIP:SVR: Commissioning completed successfully + [1690281455.843955][14173:14173] CHIP:DIS: Updating services using commissioning mode 0 + [1690281455.844138][14173:14173] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281455.844557][14173:14173] CHIP:DL: Using wifi MAC for hostname + [1690281455.844562][14173:14173] CHIP:DIS: Advertise operational node 11190E6CBCA37351-0000000000000001 + [1690281455.844572][14173:14173] CHIP:DIS: Responding with _matter._tcp.local + [1690281455.844574][14173:14173] CHIP:DIS: Responding with 11190E6CBCA37351-0000000000000001._matter._tcp.local + [1690281455.844577][14173:14173] CHIP:DIS: Responding with 11190E6CBCA37351-0000000000000001._matter._tcp.local + [1690281455.844579][14173:14173] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281455.844580][14173:14173] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281455.844584][14173:14173] CHIP:DIS: Responding with _I11190E6CBCA37351._sub._matter._tcp.local + [1690281455.844585][14173:14173] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 11190E6CBCA37351-0000000000000001. + [1690281455.844712][14173:14173] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1y: PAI Test Vector: Fallback VID and PID encoding example from - spec: invalid since substring following Mpid: is not exactly 4 - uppercase hexadecimal digits" + "Step 1y: CD Test Vector: Origin VID/PID different than VID/PID + (correct use of origin)" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_origin_pid_vid_correct/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284963.167271][15885:15885] CHIP:EM: <<< [E:48097r S:38151 M:153690039 (Ack:256986686)] (S) Msg TX to 1:000000000001B669 [DC37] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690284963.167276][15885:15885] CHIP:IN: (S) Sending msg 153690039 on secure session with LSID: 38151 + [1690284963.167295][15885:15885] CHIP:DMG: Command handler moving to [CommandSen] + [1690284963.167297][15885:15885] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284963.167301][15885:15885] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284963.167305][15885:15885] CHIP:SVR: Commissioning completed successfully + [1690284963.167310][15885:15885] CHIP:DIS: Updating services using commissioning mode 0 + [1690284963.167458][15885:15885] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284963.167793][15885:15885] CHIP:DL: Using wifi MAC for hostname + [1690284963.167799][15885:15885] CHIP:DIS: Advertise operational node D641EF3E2998DC37-0000000000000001 + [1690284963.167806][15885:15885] CHIP:DIS: Responding with _matter._tcp.local + [1690284963.167809][15885:15885] CHIP:DIS: Responding with D641EF3E2998DC37-0000000000000001._matter._tcp.local + [1690284963.167813][15885:15885] CHIP:DIS: Responding with D641EF3E2998DC37-0000000000000001._matter._tcp.local + [1690284963.167815][15885:15885] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284963.167817][15885:15885] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284963.167821][15885:15885] CHIP:DIS: Responding with _ID641EF3E2998DC37._sub._matter._tcp.local + [1690284963.167822][15885:15885] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: D641EF3E2998DC37-0000000000000001. + [1690284963.167955][15885:15885] CHIP:DIS: mDNS service published: _matter._tcp + [1690284963.167963][15885:15885] CHIP:IN: Expiring all PASE sessions + [1690284963.167966][15885:15885] CHIP:IN: SecureSession[0x55781da28900]: MarkForEviction Type:1 LSID:38150 + [1690284963.167968][15885:15885] CHIP:SC: SecureSession[0x55781da28900, LSID:38150]: State change 'kActive' --> 'kPendingEviction' + [1690284963.167971][15885:15885] CHIP:IN: SecureSession[0x55781da28900]: Released - Type:1 LSID:38150 disabled: true - label: - "Step 1z: DAC Test Vector: Fallback VID and PID encoding example from - spec: valid but less readable" + "Step 1z: DAC Test Vector: Fallback VID and PID encoding example: + valid, but less human-readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133604.268090][11108:11108] CHIP:IN: (S) Sending msg 242960033 on secure session with LSID: 63451 + [1691133604.268262][11108:11108] CHIP:DMG: Command handler moving to [CommandSen] + [1691133604.268288][11108:11108] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133604.268325][11108:11108] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133604.268347][11108:11108] CHIP:SVR: Commissioning completed successfully + [1691133604.268383][11108:11108] CHIP:DIS: Updating services using commissioning mode 0 + [1691133604.276764][11108:11108] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133604.304404][11108:11108] CHIP:DL: Using wifi MAC for hostname + [1691133604.304458][11108:11108] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133604.304504][11108:11108] CHIP:DIS: Responding with _matter._tcp.local + [1691133604.304525][11108:11108] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133604.304549][11108:11108] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133604.304567][11108:11108] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133604.304584][11108:11108] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133604.304607][11108:11108] CHIP:DIS: Responding with _I3CBA812920C1A81B._sub._matter._tcp.local + [1691133604.304625][11108:11108] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 3CBA812920C1A81B-0000000000000001. + [1691133604.318978][11108:11108] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1a1: PAI Test Vector: Certificate includes optional Extended Key - Usage extension" + "Step 1a1: CD Test Vector: The optional authorized_paa_list field is + not present." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133604.268090][11108:11108] CHIP:IN: (S) Sending msg 242960033 on secure session with LSID: 63451 + [1691133604.268262][11108:11108] CHIP:DMG: Command handler moving to [CommandSen] + [1691133604.268288][11108:11108] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133604.268325][11108:11108] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133604.268347][11108:11108] CHIP:SVR: Commissioning completed successfully + [1691133604.268383][11108:11108] CHIP:DIS: Updating services using commissioning mode 0 + [1691133604.276764][11108:11108] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133604.304404][11108:11108] CHIP:DL: Using wifi MAC for hostname + [1691133604.304458][11108:11108] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133604.304504][11108:11108] CHIP:DIS: Responding with _matter._tcp.local + [1691133604.304525][11108:11108] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133604.304549][11108:11108] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133604.304567][11108:11108] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133604.304584][11108:11108] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133604.304607][11108:11108] CHIP:DIS: Responding with _I3CBA812920C1A81B._sub._matter._tcp.local + [1691133604.304625][11108:11108] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 3CBA812920C1A81B-0000000000000001. + [1691133604.318978][11108:11108] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1a2: PAI Test Vector: Fallback VID and PID encoding example from - spec: valid and recommended since easily human-readable" + "Step 1a2: PAI Test Vector: Certificate Basic Constraint extension + PathLen field set to 0" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_basic_pathlen0/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690282754.571961][14759:14759] CHIP:IN: (S) Sending msg 91936501 on secure session with LSID: 30223 + [1690282754.571981][14759:14759] CHIP:DMG: Command handler moving to [CommandSen] + [1690282754.571983][14759:14759] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282754.571988][14759:14759] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282754.571991][14759:14759] CHIP:SVR: Commissioning completed successfully + [1690282754.571996][14759:14759] CHIP:DIS: Updating services using commissioning mode 0 + [1690282754.572134][14759:14759] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282754.572426][14759:14759] CHIP:DL: Using wifi MAC for hostname + [1690282754.572430][14759:14759] CHIP:DIS: Advertise operational node 58FC20AC9B9D8E05-0000000000000001 + [1690282754.572437][14759:14759] CHIP:DIS: Responding with _matter._tcp.local + [1690282754.572439][14759:14759] CHIP:DIS: Responding with 58FC20AC9B9D8E05-0000000000000001._matter._tcp.local + [1690282754.572443][14759:14759] CHIP:DIS: Responding with 58FC20AC9B9D8E05-0000000000000001._matter._tcp.local + [1690282754.572445][14759:14759] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282754.572446][14759:14759] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1a3: CD Test Vector: The product_id_array field has 10 PID - values one of which matches the PID value in DAC." + "Step 1a3: PAI Test Vector: Certificate includes optional Extended Key + Usage extension" verification: | - Verify that the TH is successfully commissioned for each test case - disabled: true + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider credentials/development/commissioner_dut/struct_pai_ext_extended_key_usage_present/test_case_vector.json --product-id 32768 - - label: "Step 1a4: CD Test Vector: Valid CMS digest algorithm SHA256." - verification: | - Verify that the TH is successfully commissioned for each test case + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690283021.015921][14889:14889] CHIP:EM: <<< [E:60698r S:45413 M:45750376 (Ack:107099218)] (S) Msg TX to 1:000000000001B669 [1780] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690283021.015926][14889:14889] CHIP:IN: (S) Sending msg 45750376 on secure session with LSID: 45413 + [1690283021.015944][14889:14889] CHIP:DMG: Command handler moving to [CommandSen] + [1690283021.015946][14889:14889] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690283021.015952][14889:14889] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690283021.015955][14889:14889] CHIP:SVR: Commissioning completed successfully + [1690283021.015961][14889:14889] CHIP:DIS: Updating services using commissioning mode 0 + [1690283021.016106][14889:14889] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690283021.016432][14889:14889] CHIP:DL: Using wifi MAC for hostname + [1690283021.016437][14889:14889] CHIP:DIS: Advertise operational node 6189A454650D1780-0000000000000001 + [1690283021.016444][14889:14889] CHIP:DIS: Responding with _matter._tcp.local + [1690283021.016448][14889:14889] CHIP:DIS: Responding with 6189A454650D1780-0000000000000001._matter._tcp.local + [1690283021.016451][14889:14889] CHIP:DIS: Responding with 6189A454650D1780-0000000000000001._matter._tcp.local + [1690283021.016453][14889:14889] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - - label: "Step 1a5: CD Test Vector: Valid format_version field set to 1." + - label: + "Step 1a4: CD Test Vector: The authorized_paa_list contains two PAAs + one of which is valid PAA authorized to sign the PAI." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690281322.025731][14131:14131] CHIP:IN: (S) Sending msg 41804784 on secure session with LSID: 9174 + [1690281322.025755][14131:14131] CHIP:DMG: Command handler moving to [CommandSen] + [1690281322.025758][14131:14131] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281322.025764][14131:14131] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281322.025767][14131:14131] CHIP:SVR: Commissioning completed successfully + [1690281322.025775][14131:14131] CHIP:DIS: Updating services using commissioning mode 0 + [1690281322.025963][14131:14131] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281322.026393][14131:14131] CHIP:DL: Using wifi MAC for hostname + [1690281322.026399][14131:14131] CHIP:DIS: Advertise operational node 84F519477133A8DD-0000000000000001 + [1690281322.026406][14131:14131] CHIP:DIS: Responding with _matter._tcp.local + [1690281322.026409][14131:14131] CHIP:DIS: Responding with 84F519477133A8DD-0000000000000001._matter._tcp.local + [1690281322.026412][14131:14131] CHIP:DIS: Responding with 84F519477133A8DD-0000000000000001._matter._tcp.local + [1690281322.026414][14131:14131] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281322.026415][14131:14131] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690281322.026418][14131:14131] CHIP:DIS: Responding with _I84F519477133A8DD._sub._matter._tcp.local + [1690281322.026420][14131:14131] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 84F519477133A8DD-0000000000000001. + [1690281322.026553][14131:14131] CHIP:DIS: mDNS service published: _matter._tcp + [1690281322.026574][14131:14131] CHIP:IN: Expiring all PASE sessions + [1690281322.026577][14131:14131] CHIP:IN: SecureSession[0x5622cf2b9900]: MarkForEviction Type:1 LSID:9173 + [1690281322.026580][14131:14131] CHIP:SC: SecureSession[0x5622cf2b9900, LSID:9173]: State change 'kActive' --> 'kPendingEviction' + [1690281322.026585][14131:14131] CHIP:IN: SecureSession[0x5622cf2b9900]: Released - Type:1 LSID:9173 disabled: true - label: - "Step 1a6: PAI Test Vector: Fallback VID and PID encoding example from - spec: valid but highly discouraged since embedding of substrings - within other substrings may be confusing to human readers" + "Step 1a5: PAI Test Vector: Fallback VID and PID encoding example: + valid, but less human-readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133504.964515][11082:11082] CHIP:IN: (S) Sending msg 180652456 on secure session with LSID: 17161 + [1691133504.964688][11082:11082] CHIP:DMG: Command handler moving to [CommandSen] + [1691133504.964712][11082:11082] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133504.964751][11082:11082] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133504.964774][11082:11082] CHIP:SVR: Commissioning completed successfully + [1691133504.964812][11082:11082] CHIP:DIS: Updating services using commissioning mode 0 + [1691133504.973810][11082:11082] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133505.002105][11082:11082] CHIP:DL: Using wifi MAC for hostname + [1691133505.002160][11082:11082] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133505.002206][11082:11082] CHIP:DIS: Responding with _matter._tcp.local + [1691133505.002228][11082:11082] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133505.002252][11082:11082] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133505.002270][11082:11082] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133505.002287][11082:11082] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1a7: CD Test Vector: The version_number field matches the VID - and PID used in a DeviceSoftwareVersionModel entry in the DCL matching - the certification record associated with the product presenting this - CD." + "Step 1a6: PAI Test Vector: Certificate includes optional Authority + Information Access extension" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_authority_info_access_present/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690281588.041492][14260:14260] CHIP:IN: (S) Sending msg 97011383 on secure session with LSID: 55955 + [1690281588.041512][14260:14260] CHIP:DMG: Command handler moving to [CommandSen] + [1690281588.041514][14260:14260] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281588.041518][14260:14260] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281588.041521][14260:14260] CHIP:SVR: Commissioning completed successfully + [1690281588.041527][14260:14260] CHIP:DIS: Updating services using commissioning mode 0 + [1690281588.041673][14260:14260] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281588.041987][14260:14260] CHIP:DL: Using wifi MAC for hostname + [1690281588.041991][14260:14260] CHIP:DIS: Advertise operational node 2B6360850F2AA29E-0000000000000001 + [1690281588.041998][14260:14260] CHIP:DIS: Responding with _matter._tcp.local + [1690281588.042001][14260:14260] CHIP:DIS: Responding with 2B6360850F2AA29E-0000000000000001._matter._tcp.local + [1690281588.042004][14260:14260] CHIP:DIS: Responding with 2B6360850F2AA29E-0000000000000001._matter._tcp.local + [1690281588.042006][14260:14260] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - - label: "Step 1a8: CD Test Vector: Valid CMS eContentType pkcs7-data." + - label: + "Step 1a7: CD Test Vector: The product_id_array field has 10 PID + values one of which matches the PID value in DAC." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690283198.563854][14969:14969] CHIP:DMG: + [1690283198.563874][14969:14969] CHIP:EM: <<< [E:31520r S:48689 M:92701905 (Ack:201369370)] (S) Msg TX to 1:000000000001B669 [665B] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690283198.563880][14969:14969] CHIP:IN: (S) Sending msg 92701905 on secure session with LSID: 48689 + [1690283198.563904][14969:14969] CHIP:DMG: Command handler moving to [CommandSen] + [1690283198.563906][14969:14969] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690283198.563912][14969:14969] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690283198.563931][14969:14969] CHIP:SVR: Commissioning completed successfully + [1690283198.563937][14969:14969] CHIP:DIS: Updating services using commissioning mode 0 + [1690283198.564081][14969:14969] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690283198.564368][14969:14969] CHIP:DL: Using wifi MAC for hostname + [1690283198.564373][14969:14969] CHIP:DIS: Advertise operational node ED9E34CD70DA665B-0000000000000001 + [1690283198.564379][14969:14969] CHIP:DIS: Responding with _matter._tcp.local + [1690283198.564382][14969:14969] CHIP:DIS: Responding with ED9E34CD70DA665B-0000000000000001._matter._tcp.local + [1690283198.564385][14969:14969] CHIP:DIS: Responding with ED9E34CD70DA665B-0000000000000001._matter._tcp.local + [1690283198.564388][14969:14969] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690283198.564391][14969:14969] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690283198.564395][14969:14969] CHIP:DIS: Responding with _IED9E34CD70DA665B._sub._matter._tcp.local disabled: true - label: - "Step 1a9: CD Test Vector: The optional authorized_paa_list field is - not present." + "Step 1a8: PAI Test Vector: Fallback VID and PID encoding example from + spec: valid and recommended since easily human-readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + + [1691133717.188791][11135:11135] CHIP:DMG: Command handler moving to [CommandSen] + [1691133717.188813][11135:11135] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133717.188851][11135:11135] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133717.188873][11135:11135] CHIP:SVR: Commissioning completed successfully + [1691133717.188963][11135:11135] CHIP:DIS: Updating services using commissioning mode 0 + [1691133717.197295][11135:11135] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133717.227051][11135:11135] CHIP:DL: Using wifi MAC for hostname + [1691133717.227105][11135:11135] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133717.227151][11135:11135] CHIP:DIS: Responding with _matter._tcp.local + [1691133717.227173][11135:11135] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133717.227196][11135:11135] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133717.227213][11135:11135] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133717.227230][11135:11135] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1a10: CD Test Vector: The authorized_paa_list contains one valid - PAA which is authorized to sign the PAI." + "Step 1a9: PAI Test Vector: Mix of Fallback and Matter OID encoding + for VID and PID: valid, Matter OIDs are used and wrong values in the + common-name are ignored" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + + [1691133823.605618][11166:11166] CHIP:IN: (S) Sending msg 86167972 on secure session with LSID: 25854 + [1691133823.605816][11166:11166] CHIP:DMG: Command handler moving to [CommandSen] + [1691133823.605843][11166:11166] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133823.605884][11166:11166] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133823.605908][11166:11166] CHIP:SVR: Commissioning completed successfully + [1691133823.605951][11166:11166] CHIP:DIS: Updating services using commissioning mode 0 + [1691133823.615735][11166:11166] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133823.644833][11166:11166] CHIP:DL: Using wifi MAC for hostname + [1691133823.644901][11166:11166] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133823.644958][11166:11166] CHIP:DIS: Responding with _matter._tcp.local + [1691133823.644980][11166:11166] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133823.645003][11166:11166] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133823.645021][11166:11166] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1a11: DAC Test Vector: Certificate includes optional Subject - Alternative Name extension" + "Step 1a10: CD Test Vector: The dac_origin_vendor_id and + dac_origin_product_id fields are not present." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690282050.659492][14471:14471] CHIP:IN: (S) Sending msg 139602564 on secure session with LSID: 47523 + [1690282050.659514][14471:14471] CHIP:DMG: Command handler moving to [CommandSen] + [1690282050.659516][14471:14471] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282050.659521][14471:14471] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282050.659525][14471:14471] CHIP:SVR: Commissioning completed successfully + [1690282050.659530][14471:14471] CHIP:DIS: Updating services using commissioning mode 0 + [1690282050.659681][14471:14471] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282050.659967][14471:14471] CHIP:DL: Using wifi MAC for hostname + [1690282050.659972][14471:14471] CHIP:DIS: Advertise operational node E18AD0BA9454A7B3-0000000000000001 + [1690282050.659978][14471:14471] CHIP:DIS: Responding with _matter._tcp.local + [1690282050.659981][14471:14471] CHIP:DIS: Responding with E18AD0BA9454A7B3-0000000000000001._matter._tcp.local + [1690282050.659983][14471:14471] CHIP:DIS: Responding with E18AD0BA9454A7B3-0000000000000001._matter._tcp.local + [1690282050.659986][14471:14471] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282050.659988][14471:14471] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1a12: CD Test Vector: The authorized_paa_list contains ten PAAs - one of which is valid PAA authorized to sign the PAI." + "Step 1a11: PAI Test Vector: Fallback VID and PID encoding example + from spec: valid, but highly discouraged, since embedding of + substrings within other substrings may be confusing to human readers" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133942.195845][11196:11196] CHIP:DMG: Command handler moving to [CommandSen] + [1691133942.195895][11196:11196] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133942.195932][11196:11196] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133942.195954][11196:11196] CHIP:SVR: Commissioning completed successfully + [1691133942.195992][11196:11196] CHIP:DIS: Updating services using commissioning mode 0 + [1691133942.204326][11196:11196] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133942.234088][11196:11196] CHIP:DL: Using wifi MAC for hostname + [1691133942.234144][11196:11196] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133942.234191][11196:11196] CHIP:DIS: Responding with _matter._tcp.local + [1691133942.234211][11196:11196] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133942.234236][11196:11196] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133942.234253][11196:11196] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133942.234270][11196:11196] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133942.234293][11196:11196] CHIP:DIS: Responding with _I3CBA812920C1A81B._sub._matter._tcp.local + [1691133942.234310][11196:11196] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 3CBA812920C1A81B-0000000000000001. + [1691133942.248506][11196:11196] CHIP:DIS: mDNS service published: _matter._tcp + [1691133942.248592][11196:11196] CHIP:IN: Expiring all PASE sessions disabled: true - label: - "Step 1a13: CD Test Vector: The dac_origin_vendor_id and - dac_origin_product_id fields present and contain the VID and PID - values that match the VID and PID found in the DAC Subject DN." + "Step 1a12: DAC Test Vector: Fallback VID and PID encoding example + from spec: valid and recommended since easily human-readable" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133758.299501][11147:11147] CHIP:DMG: Command handler moving to [CommandSen] + [1691133758.299527][11147:11147] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133758.299566][11147:11147] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133758.299588][11147:11147] CHIP:SVR: Commissioning completed successfully + [1691133758.299645][11147:11147] CHIP:DIS: Updating services using commissioning mode 0 + [1691133758.308433][11147:11147] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133758.337691][11147:11147] CHIP:DL: Using wifi MAC for hostname + [1691133758.337745][11147:11147] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133758.337792][11147:11147] CHIP:DIS: Responding with _matter._tcp.local + [1691133758.337813][11147:11147] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133758.337837][11147:11147] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133758.337855][11147:11147] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1a14: PAI Test Vector: Valid certificate version field set to - v3(2)" + "Step 1a13: CD Test Vector: The product_id_array field has 100 PID + values one of which matches the PID value in DAC." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690281746.033133][14335:14335] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690281746.033152][14335:14335] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690281746.033155][14335:14335] CHIP:SVR: Commissioning completed successfully + [1690281746.033161][14335:14335] CHIP:DIS: Updating services using commissioning mode 0 + [1690281746.033313][14335:14335] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690281746.033672][14335:14335] CHIP:DL: Using wifi MAC for hostname + [1690281746.033678][14335:14335] CHIP:DIS: Advertise operational node B859A17C7F0CAC6A-0000000000000001 + [1690281746.033685][14335:14335] CHIP:DIS: Responding with _matter._tcp.local + [1690281746.033687][14335:14335] CHIP:DIS: Responding with B859A17C7F0CAC6A-0000000000000001._matter._tcp.local + [1690281746.033689][14335:14335] CHIP:DIS: Responding with B859A17C7F0CAC6A-0000000000000001._matter._tcp.local + [1690281746.033692][14335:14335] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1a15: PAI Test Vector: Fallback VID and PID encoding example - from spec: invalid since substring following Mpid: is not exactly 4 - uppercase hexadecimal digits" + "Step 1a14: CD Test Vector: The authorized_paa_list contains ten PAAs + one of which is valid PAA authorized to sign the PAI." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + + [1690284741.166276][15669:15669] CHIP:EM: <<< [E:33408r S:14062 M:243658599 (Ack:15676972)] (S) Msg TX to 1:000000000001B669 [8D32] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690284741.166281][15669:15669] CHIP:IN: (S) Sending msg 243658599 on secure session with LSID: 14062 + [1690284741.166299][15669:15669] CHIP:DMG: Command handler moving to [CommandSen] + [1690284741.166301][15669:15669] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284741.166306][15669:15669] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284741.166308][15669:15669] CHIP:SVR: Commissioning completed successfully + [1690284741.166313][15669:15669] CHIP:DIS: Updating services using commissioning mode 0 + [1690284741.166452][15669:15669] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284741.166760][15669:15669] CHIP:DL: Using wifi MAC for hostname + [1690284741.166765][15669:15669] CHIP:DIS: Advertise operational node E065C8CE19D78D32-0000000000000001 + [1690284741.166773][15669:15669] CHIP:DIS: Responding with _matter._tcp.local + [1690284741.166775][15669:15669] CHIP:DIS: Responding with E065C8CE19D78D32-0000000000000001._matter._tcp.local + [1690284741.166779][15669:15669] CHIP:DIS: Responding with E065C8CE19D78D32-0000000000000001._matter._tcp.local + [1690284741.166781][15669:15669] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284741.166783][15669:15669] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - - label: - "Step 1a16: CD Test Vector: Origin VID/PID different than VID/PID - (correct use of origin)" + - label: "Step 1a15: CD Test Vector: Valid CMS version set to v3." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_cms_v3/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + [1690282393.467881][14612:14612] CHIP:IN: (S) Sending msg 94459263 on secure session with LSID: 43887 + [1690282393.467938][14612:14612] CHIP:DMG: Command handler moving to [CommandSen] + [1690282393.467944][14612:14612] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282393.467957][14612:14612] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282393.467976][14612:14612] CHIP:SVR: Commissioning completed successfully + [1690282393.467981][14612:14612] CHIP:DIS: Updating services using commissioning mode 0 + [1690282393.468129][14612:14612] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282393.468468][14612:14612] CHIP:DL: Using wifi MAC for hostname + [1690282393.468473][14612:14612] CHIP:DIS: Advertise operational node 49B289AA3BF98F84-0000000000000001 + [1690282393.468480][14612:14612] CHIP:DIS: Responding with _matter._tcp.local + [1690282393.468482][14612:14612] CHIP:DIS: Responding with 49B289AA3BF98F84-0000000000000001._matter._tcp.local + [1690282393.468485][14612:14612] CHIP:DIS: Responding with 49B289AA3BF98F84-0000000000000001._matter._tcp.local + [1690282393.468487][14612:14612] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282393.468490][14612:14612] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282393.468495][14612:14612] CHIP:DIS: Responding with _I49B289AA3BF98F84._sub._matter._tcp.local + [1690282393.468497][14612:14612] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 49B289AA3BF98F84-0000000000000001. + [1690282393.468648][14612:14612] CHIP:DIS: mDNS service published: _matter._tcp disabled: true - label: - "Step 1a17: DAC Test Vector: Valid certificate version field set to - v3(2)" + "Step 1a16: CD Test Vector: The version_number field matches the VID + and PID used in a DeviceSoftwareVersionModel entry in the DCL matching + the certification record associated with the product presenting this + CD." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_version_number_match/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284319.839377][15436:15436] CHIP:DMG: Command handler moving to [CommandSen] + [1690284319.839380][15436:15436] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284319.839386][15436:15436] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284319.839390][15436:15436] CHIP:SVR: Commissioning completed successfully + [1690284319.839397][15436:15436] CHIP:DIS: Updating services using commissioning mode 0 + [1690284319.839563][15436:15436] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284319.839898][15436:15436] CHIP:DL: Using wifi MAC for hostname + [1690284319.839904][15436:15436] CHIP:DIS: Advertise operational node 3C17C1D4CC8533E7-0000000000000001 + [1690284319.839913][15436:15436] CHIP:DIS: Responding with _matter._tcp.local + [1690284319.839916][15436:15436] CHIP:DIS: Responding with 3C17C1D4CC8533E7-0000000000000001._matter._tcp.local + [1690284319.839920][15436:15436] CHIP:DIS: Responding with 3C17C1D4CC8533E7-0000000000000001._matter._tcp.local + [1690284319.839923][15436:15436] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284319.839925][15436:15436] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1a18: DAC Test Vector: Fallback VID and PID encoding example - from spec: valid and recommended since easily human-readable" + "Step 1a17: CD Test Vector: The subjectKeyIdentifier contains SKID of + a well-known Zigbee Alliance certificate." verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690282693.478614][14715:14715] CHIP:EM: <<< [E:60094r S:39472 M:208019369 (Ack:213101818)] (S) Msg TX to 1:000000000001B669 [185C] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690282693.478621][14715:14715] CHIP:IN: (S) Sending msg 208019369 on secure session with LSID: 39472 + [1690282693.478644][14715:14715] CHIP:DMG: Command handler moving to [CommandSen] + [1690282693.478646][14715:14715] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690282693.478664][14715:14715] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690282693.478669][14715:14715] CHIP:SVR: Commissioning completed successfully + [1690282693.478675][14715:14715] CHIP:DIS: Updating services using commissioning mode 0 + [1690282693.478862][14715:14715] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690282693.479280][14715:14715] CHIP:DL: Using wifi MAC for hostname + [1690282693.479301][14715:14715] CHIP:DIS: Advertise operational node 7C5CE67CD6B2185C-0000000000000001 + [1690282693.479311][14715:14715] CHIP:DIS: Responding with _matter._tcp.local + [1690282693.479314][14715:14715] CHIP:DIS: Responding with 7C5CE67CD6B2185C-0000000000000001._matter._tcp.local + [1690282693.479318][14715:14715] CHIP:DIS: Responding with 7C5CE67CD6B2185C-0000000000000001._matter._tcp.local + [1690282693.479321][14715:14715] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690282693.479323][14715:14715] CHIP:DIS: Responding with 8C1D96786A130000.local disabled: true - label: - "Step 1a19: PAI Test Vector: Mix of Fallback and Matter OID encoding - for VID and PID: valid Matter OIDs are used and wrong values in the - common-name are ignored" + "Step 1a18: PAI Test Vector: Fallback VID and PID encoding example + from spec: valid example showing that order or separators are not + considered at all for the overall validity of the embedded fields" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691132563.220796][11028:11028] CHIP:EM: <<< [E:46477r S:48989 M:134841745 (Ack:88555256)] (S) Msg TX to 1:000000000001B669 [A81B] --- Type 0001:09 (IM:InvokeCommandResponse) + [1691132563.220859][11028:11028] CHIP:IN: (S) Sending msg 134841745 on secure session with LSID: 48989 + [1691132563.221085][11028:11028] CHIP:DMG: Command handler moving to [CommandSen] + [1691132563.221114][11028:11028] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691132563.221159][11028:11028] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691132563.221185][11028:11028] CHIP:SVR: Commissioning completed successfully + [1691132563.221227][11028:11028] CHIP:DIS: Updating services using commissioning mode 0 + [1691132563.230310][11028:11028] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691132563.259708][11028:11028] CHIP:DL: Using wifi MAC for hostname + [1691132563.259762][11028:11028] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691132563.259809][11028:11028] CHIP:DIS: Responding with _matter._tcp.local + [1691132563.259831][11028:11028] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691132563.259855][11028:11028] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691132563.259872][11028:11028] CHIP:DIS: Responding with E45F010F1A010000.local + [1691132563.259888][11028:11028] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true - label: - "Step 1a20: DAC Test Vector: Fallback VID and PID encoding example - from spec: valid but highly discouraged since embedding of substrings - within other substrings may be confusing to human readers" + "Step 1a19: DAC Test Vector: Certificate includes optional Subject + Alternative Name extension" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_subject_alt_name_present/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690284666.597714][15618:15618] CHIP:IN: (S) Sending msg 208022493 on secure session with LSID: 54251 + [1690284666.597737][15618:15618] CHIP:DMG: Command handler moving to [CommandSen] + [1690284666.597739][15618:15618] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690284666.597761][15618:15618] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690284666.597764][15618:15618] CHIP:SVR: Commissioning completed successfully + [1690284666.597769][15618:15618] CHIP:DIS: Updating services using commissioning mode 0 + [1690284666.597908][15618:15618] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690284666.598238][15618:15618] CHIP:DL: Using wifi MAC for hostname + [1690284666.598243][15618:15618] CHIP:DIS: Advertise operational node C9AE838209F8DA83-0000000000000001 + [1690284666.598249][15618:15618] CHIP:DIS: Responding with _matter._tcp.local + [1690284666.598251][15618:15618] CHIP:DIS: Responding with C9AE838209F8DA83-0000000000000001._matter._tcp.local + [1690284666.598255][15618:15618] CHIP:DIS: Responding with C9AE838209F8DA83-0000000000000001._matter._tcp.local + [1690284666.598256][15618:15618] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284666.598258][15618:15618] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690284666.598261][15618:15618] CHIP:DIS: Responding with _IC9AE838209F8DA83._sub._matter._tcp.local disabled: true - label: - "Step 1a21: CD Test Vector: Valid CMS signature algorithm - ECDSA_WITH_SHA256." + "Step 1a20: DAC Test Vector: Valid certificate version field set to + v3(2)" verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_cert_version_v3/test_case_vector.json --product-id 32768 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1690285010.058545][15920:15920] CHIP:EM: <<< [E:56176r S:34847 M:35213965 (Ack:162929554)] (S) Msg TX to 1:000000000001B669 [D8B9] --- Type 0001:09 (IM:InvokeCommandResponse) + [1690285010.058550][15920:15920] CHIP:IN: (S) Sending msg 35213965 on secure session with LSID: 34847 + [1690285010.058568][15920:15920] CHIP:DMG: Command handler moving to [CommandSen] + [1690285010.058571][15920:15920] CHIP:DMG: Command handler moving to [AwaitingDe] + [1690285010.058577][15920:15920] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1690285010.058581][15920:15920] CHIP:SVR: Commissioning completed successfully + [1690285010.058588][15920:15920] CHIP:DIS: Updating services using commissioning mode 0 + [1690285010.058786][15920:15920] CHIP:DIS: CHIP minimal mDNS started advertising. + [1690285010.059205][15920:15920] CHIP:DL: Using wifi MAC for hostname + [1690285010.059210][15920:15920] CHIP:DIS: Advertise operational node 50778ED0BE0AD8B9-0000000000000001 + [1690285010.059216][15920:15920] CHIP:DIS: Responding with _matter._tcp.local + [1690285010.059219][15920:15920] CHIP:DIS: Responding with 50778ED0BE0AD8B9-0000000000000001._matter._tcp.local + [1690285010.059222][15920:15920] CHIP:DIS: Responding with 50778ED0BE0AD8B9-0000000000000001._matter._tcp.local + [1690285010.059224][15920:15920] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690285010.059226][15920:15920] CHIP:DIS: Responding with 8C1D96786A130000.local + [1690285010.059229][15920:15920] CHIP:DIS: Responding with _I50778ED0BE0AD8B9._sub._matter._tcp.local + [1690285010.059231][15920:15920] CHIP:DIS: CHIP minimal mDNS configured as 'Operational device'; instance name: 50778ED0BE0AD8B9-0000000000000001. + [1690285010.059353][15920:15920] CHIP:DIS: mDNS service published: _matter._tcp + [1690285010.059362][15920:15920] CHIP:IN: Expiring all PASE sessions + [1690285010.059364][15920:15920] CHIP:IN: SecureSession[0x560f3fe66900]: MarkForEviction Type:1 LSID:34846 + [1690285010.059367][15920:15920] CHIP:SC: SecureSession[0x560f3fe66900, LSID:34846]: State change 'kActive' --> 'kPendingEviction' + [1690285010.059371][15920:15920] CHIP:IN: SecureSession[0x560f3fe66900]: Released - Type:1 LSID:34846 disabled: true - label: - "Step 1a22: DAC Test Vector: Fallback VID and PID encoding example - from spec: valid and recommended since easily human-readable" + "Step 1a21: PAI Test Vector: Fallback VID and PID encoding example + from spec: valid and recommended since easily human-readable " verification: | - Verify that the TH is successfully commissioned for each test case + Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/test_case_vector.json --product-id 177 + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + On TH(all-clusters-app), Verify that the DUT(chip-tool) and TH(all-clusters-app) is successfully commissioned + + [1691133976.341499][11204:11204] CHIP:DMG: Command handler moving to [CommandSen] + [1691133976.341528][11204:11204] CHIP:DMG: Command handler moving to [AwaitingDe] + [1691133976.341572][11204:11204] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 + [1691133976.341598][11204:11204] CHIP:SVR: Commissioning completed successfully + [1691133976.341644][11204:11204] CHIP:DIS: Updating services using commissioning mode 0 + [1691133976.352197][11204:11204] CHIP:DIS: CHIP minimal mDNS started advertising. + [1691133976.381983][11204:11204] CHIP:DL: Using wifi MAC for hostname + [1691133976.382037][11204:11204] CHIP:DIS: Advertise operational node 3CBA812920C1A81B-0000000000000001 + [1691133976.382084][11204:11204] CHIP:DIS: Responding with _matter._tcp.local + [1691133976.382105][11204:11204] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133976.382128][11204:11204] CHIP:DIS: Responding with 3CBA812920C1A81B-0000000000000001._matter._tcp.local + [1691133976.382146][11204:11204] CHIP:DIS: Responding with E45F010F1A010000.local + [1691133976.382162][11204:11204] CHIP:DIS: Responding with E45F010F1A010000.local disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml index 93078217b6cac4..071b07473ddbd0 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml @@ -38,8 +38,7 @@ tests: response: constraints: type: enum8 - minValue: 0 - maxValue: 9 + anyOf: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, null] - label: "Step 3: Read FullDuplex attribute constraints" PICS: DGETH.S.A0001 @@ -48,8 +47,8 @@ tests: response: constraints: type: boolean + anyOf: [0, 1, null] - #issue #13648 - label: "Step 4a: Read PacketRxCount attribute constraints" PICS: DGETH.S.A0002 command: "readAttribute" @@ -57,20 +56,41 @@ tests: response: constraints: type: int64u + minValue: 0 + maxValue: "18446744073709551615" - - label: - "Step 4b: Read PacketRxCount value from DUT and verify the number of - packets received on ethernet network interface" + - label: "Step 4b: Reboot target device" + PICS: PICS_SDK_CI_ONLY + cluster: "SystemCommands" + command: "Reboot" + + - label: "Step 4c: Reboot target device(DUT)" verification: | - ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 0 + Did the DUT successfully reboot? + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP + arguments: + values: + - name: "message" + value: "Please reboot the DUT and enter 'y' after DUT starts" + - name: "expectedValue" + value: "y" - Verify the value of PacketRxCount is in range uint64 on TH(chip-tool) log + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - [1687347048.760521][160021:160023] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0002 DataVersion: 2942806365 - [1687347048.760567][160021:160023] CHIP:TOO: PacketRxCount: 286 - [1687347048.760621][160021:160023] CHIP:EM: <<< [E:20760i S:62442 M:2940871 (Ack:194995517)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347048.760632][160021:160023] CHIP:IN: (S) Sending msg 2940871 on secure session with LSID: 62442 - [1687347048.760681][160021:160023] CHIP:EM: Flushed pending ack for MessageCounter:194995517 on exchange 20760i + #Test-plan issue: https://github.com/CHIP-Specifications/chip-test-plans/issues/3413 + - label: + "Step 4d: Upon a node reboot, PacketRxCount attribute value will be + reset to 0" + verification: | + Upon a node reboot, the value will be reset to 0. cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && DGETH.S.A0002 @@ -88,21 +108,15 @@ tests: response: constraints: type: int64u + minValue: 0 + maxValue: "18446744073709551615" + #Test-plan issue: https://github.com/CHIP-Specifications/chip-test-plans/issues/3413 - label: - "Step 5b: Read PacketTxCount value from DUT and verify the number of - packets received on ethernet network interface" + "Step 5b: Read PacketTxCount attribute constraints, Upon a node + reboot, the value will be reset to 0" verification: | - ./chip-tool ethernetnetworkdiagnostics read packet-tx-count 1 0 - - Verify the value of PacketTxCount is in range uint64 on TH(chip-tool) Log - - [1687347066.917105][160026:160028] CHIP:DMG: } - [1687347066.917138][160026:160028] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0003 DataVersion: 2942806365 - [1687347066.917163][160026:160028] CHIP:TOO: PacketTxCount: 610 - [1687347066.917187][160026:160028] CHIP:EM: <<< [E:25784i S:60435 M:6319619 (Ack:183312357)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347066.917192][160026:160028] CHIP:IN: (S) Sending msg 6319619 on secure session with LSID: 60435 - [1687347066.917217][160026:160028] CHIP:EM: Flushed pending ack for MessageCounter:183312357 on exchange 25784i + Upon a node reboot, the value will be reset to 0. cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && DGETH.S.A0003 @@ -113,159 +127,52 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 6a: Read TxErrCount attribute constraints" + - label: + "Step 6: Read TxErrCount attribute constraints, Upon a node reboot, + the value will be reset to 0" PICS: DGETH.S.A0004 command: "readAttribute" attribute: "TxErrCount" response: + value: 0 constraints: type: int64u - label: - "Step 6b: Read TxErrCount value from DUT and verify value indicates - the number of failed packet transmission on ethernet network interface" - verification: | - ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 0 - - Verify the value of TxErrCount is in range uint64 on TH(chip-tool) Log - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0004 DataVersion: 3872576452 - [1649663843.295395][8123:8128] CHIP:TOO: TxErrCount: 0 - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGETH.S.A0004 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 7a: Read CollisionCount attribute constraints" + "Step 7: Read CollisionCount attribute , Upon a node reboot, the value + will be reset to 0" PICS: DGETH.S.A0005 command: "readAttribute" attribute: "CollisionCount" response: + value: 0 constraints: type: int64u - - label: - "Step 7b: Read CollisionCount value from DUT and verify value - indicates the number of collision occurred while transmitting packets - on ethernet network interface" - verification: | - ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 0 - - Verify the value of TxErrCount is in range uint64 on TH(chip-tool) Log - [1687347083.503598][160029:160031] CHIP:DMG: } - [1687347083.503668][160029:160031] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0004 DataVersion: 2942806365 - [1687347083.503714][160029:160031] CHIP:TOO: TxErrCount: 0 - [1687347083.503797][160029:160031] CHIP:EM: <<< [E:52218i S:59742 M:235974545 (Ack:86510465)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347083.503811][160029:160031] CHIP:IN: (S) Sending msg 235974545 on secure session with LSID: 59742 - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGETH.S.A0005 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 8a: Read OverrunCount attribute constraints" + - label: "Step 8: Read OverrunCount attribute constraints" PICS: DGETH.S.A0006 command: "readAttribute" attribute: "OverrunCount" response: + value: 0 constraints: type: int64u - - label: - "Step 8b: Read OverrunCount value from DUT and verify value indicates - the number of packets dropped due to lack of buffer memory on ethernet - network interface" - verification: | - ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 0 - - Verify the value of OverrunCount is in range uint64 on TH(chip-tool) Log - - [1687347120.446609][160039:160041] CHIP:DMG: } - [1687347120.446640][160039:160041] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0006 DataVersion: 2942806365 - [1687347120.446659][160039:160041] CHIP:TOO: OverrunCount: 0 - [1687347120.446682][160039:160041] CHIP:EM: <<< [E:16803i S:59128 M:141104124 (Ack:148139165)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347120.446686][160039:160041] CHIP:IN: (S) Sending msg 141104124 on secure session with LSID: 59128 - [1687347120.446707][160039:160041] CHIP:EM: Flushed pending ack for MessageCounter:148139165 on exchange 16803i - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGETH.S.A0006 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 9a: Read CarrierDetect attribute constraints" + - label: "Step 9: Read CarrierDetect attribute constraints" PICS: DGETH.S.A0007 command: "readAttribute" attribute: "CarrierDetect" response: constraints: type: boolean + anyOf: [0, 1, null] - - label: - "Step 9b: Read CarrierDetect value from DUT and verify value indicates - the presence of carrier detect control signal on ethernet network - interface" - verification: | - ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 0 - - Verify the value of CarrierDetect is either bool or if the interface is not configured or operational, NULL should be read, this is optional attribute implemented in RPI, may vary based on DUT implementation on TH(chip-tool) Log: - - [1687347138.406057][160043:160045] CHIP:DMG: } - [1687347138.406124][160043:160045] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0007 DataVersion: 2942806365 - [1687347138.406151][160043:160045] CHIP:TOO: CarrierDetect: null - [1687347138.406212][160043:160045] CHIP:EM: <<< [E:63037i S:51494 M:51175683 (Ack:138099847)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347138.406225][160043:160045] CHIP:IN: (S) Sending msg 51175683 on secure session with LSID: 51494 - [1687347138.406267][160043:160045] CHIP:EM: Flushed pending ack for MessageCounter:138099847 on exchange 63037i - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGETH.S.A0007 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" - - - label: "Step 10a: Read TimeSinceReset attribute constraints" + - label: "Step 10: Read TimeSinceReset attribute constraints" PICS: DGETH.S.A0008 command: "readAttribute" attribute: "TimeSinceReset" response: constraints: type: int64u - - - label: - "Step 10b: Read TimeSinceReset value from DUT and verify the value - indicates the duration of time, in minutes" - verification: | - ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 0 - - Verify the value of TimeSinceReset is in range uint64, If the interface is not configured or operational, NULL should be read, this is optional attribute implemented in RPI, may vary based on DUT implementation on TH(chip-tool) Log: - - [1687347156.459485][160053:160055] CHIP:DMG: } - [1687347156.459542][160053:160055] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0008 DataVersion: 2942806365 - [1687347156.459573][160053:160055] CHIP:TOO: TimeSinceReset: 228 - [1687347156.459644][160053:160055] CHIP:EM: <<< [E:9032i S:5312 M:202808493 (Ack:150717838)] (S) Msg TX to 1:0000000000000001 [096C] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1687347156.459656][160053:160055] CHIP:IN: (S) Sending msg 202808493 on secure session with LSID: 5312 - [1687347156.459701][160053:160055] CHIP:EM: Flushed pending ack for MessageCounter:150717838 on exchange 9032i - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGETH.S.A0008 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + minValue: 0 + maxValue: "18446744073709551615" diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml index 4e0904126d1187..22a222055e689f 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml @@ -31,7 +31,70 @@ config: defaultValue: "0x0000000000000003" tests: - - label: "Step 1: Wait for the commissioned device to be retrieved" + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId + + - label: "Step 1a: Reset Devices to factory defaults" + PICS: PICS_SDK_CI_ONLY + cluster: "SystemCommands" + command: "FactoryReset" + + - label: "Step 1a: Reset Devices to factory defaults" + PICS: PICS_USER_PROMPT + verification: | + Reset Devices to factory defaults + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Factory Reset the DUT and enter 'y' after success" + - name: "expectedValue" + value: "y" + + - label: "Step 1b: Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId + + - label: "Step 2a: TH reads a RebootCount attribute value from DUT." + PICS: DGGEN.S.A0001 + command: "readAttribute" + attribute: "RebootCount" + response: + saveAs: boot_count1 + constraints: + type: int16u + minValue: 0 + maxValue: 1 + + - label: "Step 2b: Reboot target device" + PICS: PICS_SDK_CI_ONLY + cluster: "SystemCommands" + command: "Reboot" + + - label: "Step 2b: Reboot target device(DUT)" + PICS: PICS_USER_PROMPT + verification: | + Did the DUT successfully reboot? + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Please reboot the DUT and enter 'y' after DUT starts" + - name: "expectedValue" + value: "y" + + - label: "Wait for the commissioned device to be retrieved" cluster: "DelayCommands" command: "WaitForCommissionee" arguments: @@ -39,8 +102,20 @@ tests: - name: "nodeId" value: nodeId + - label: + "Step 2b: TH reads a RebootCount attribute value from DUT. Verify that + boot_count2 is greater than boot_count1." + PICS: DGGEN.S.A0001 + command: "readAttribute" + attribute: "RebootCount" + response: + constraints: + type: int16u + minValue: boot_count1 + 1 + maxValue: 65535 + #Not possible in YAML. what extact values to be checked - - label: "Step 2: TH reads NetworkInterfaces structure attribute from DUT." + - label: "Step 3: TH reads NetworkInterfaces structure attribute from DUT." verification: | ./chip-tool generaldiagnostics read network-interfaces 1 0 On TH(chip-tool), Verify that The NetworkInterfaces attribute SHALL be a list of NetworkInterface structs, i.e The read data type( NetworkInterface struct) must match the value listed below @@ -105,55 +180,6 @@ tests: - name: "expectedValue" value: "y" - - label: "Step 3a: TH reads a RebootCount attribute value from DUT." - PICS: DGGEN.S.A0001 - command: "readAttribute" - attribute: "RebootCount" - response: - saveAs: boot_count1 - constraints: - type: int16u - minValue: 1 - maxValue: 65535 - - - label: "Step 3b: Reboot target device" - PICS: PICS_SDK_CI_ONLY - cluster: "SystemCommands" - command: "Reboot" - - - label: "Step 3b: Reboot target device(DUT)" - PICS: PICS_USER_PROMPT - verification: | - Did the DUT successfully reboot? - cluster: "LogCommands" - command: "UserPrompt" - arguments: - values: - - name: "message" - value: "Please reboot the DUT and enter 'y' after DUT starts" - - name: "expectedValue" - value: "y" - - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId - - - label: - "Step 3b: TH reads a RebootCount attribute value from DUT. Store the - value in boot_count2." - PICS: DGGEN.S.A0001 - command: "readAttribute" - attribute: "RebootCount" - response: - constraints: - type: int16u - minValue: boot_count1 + 1 - maxValue: 65535 - - label: "Step 4a: TH reads the Uptime attribute value of DUT. Store the value in uptime1" @@ -328,11 +354,11 @@ tests: saveAs: TestEventTriggersEnabledValue - label: - "Step 9b: Verify ff this TestEventTriggersEnabled attribute value is - set to True" + "Step 9b: Verify TestEventTriggersEnabled attribute value is set to + True" PICS: DGGEN.S.A0008 cluster: "EqualityCommands" - command: "UnsignedNumberEquals" + command: "BooleanEquals" arguments: values: - name: "Value1" diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2_Simulated.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2_Simulated.yaml index ddd2e798443a26..bc14534503a9c1 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2_Simulated.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2_Simulated.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: 52.3.1. [TC-DGWIFI-3.1] Attributes observed with client as DUT +name: 52.3.1. [TC-DGWIFI-3.2] Command Generated [DUT as Client] PICS: - DGWIFI.C diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_1.yaml index a991414d1e77e2..7e27605410e1cb 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_1.yaml @@ -57,6 +57,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the Inflow alarm" diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_2.yaml index 89e64432a55b1c..98ef5006cacf94 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_2.yaml @@ -57,6 +57,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the Drain alarm" PICS: DISHALM.S.M.ManuallyControlled diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_3.yaml index 9954513fad13a9..dd1c8e75789e5e 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_3.yaml @@ -57,6 +57,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the Door alarm" PICS: DISHALM.S.M.ManuallyControlled diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_4.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_4.yaml index 6718ca38042624..2b1c94bd58f59b 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_4.yaml @@ -59,6 +59,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the TempLow alarm" diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_5.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_5.yaml index 87cfb045d00b73..a2b66804fc367f 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_5.yaml @@ -59,6 +59,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the TempHigh alarm" diff --git a/src/app/tests/suites/certification/Test_TC_DISHALM_3_6.yaml b/src/app/tests/suites/certification/Test_TC_DISHALM_3_6.yaml index e5f340c43fabae..e6c8cd85c8179d 100644 --- a/src/app/tests/suites/certification/Test_TC_DISHALM_3_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DISHALM_3_6.yaml @@ -58,6 +58,12 @@ tests: [1689842371.478410][2614:2616] CHIP:EM: <<< [E:35394i S:46214 M:140335917 (Ack:184279491)] (S) Msg TX to 1:0000000000000001 [C4B0] --- Type 0000:10 (SecureChannel:StandaloneAck) disabled: true + - label: "Step 1d: Set the value of LatchResponse to 0." + PICS: " !DISHALM.S.A0001 " + verification: | + When the DISHALM.S.A0001(Latch) feature is not supported or enabled, Set the value of LatchResponse to 0. + disabled: true + - label: "Step 2a: Operate device to set the condition to raise the WaterLevel alarm" diff --git a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml index ed34bd274d83d6..3cef4c28dd6e4b 100644 --- a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_1.yaml @@ -85,25 +85,7 @@ tests: EpochStartTime2: "18446744073709551614", } - - label: - "Step 5: TH sends AddGroup Command to DUT on PIXIT.G.ENDPOINT with the - the following settings GroupID: 0x0103 GroupName: 'Test Group'" - PICS: G.S.C00.Rsp - endpoint: Groups.Endpoint - cluster: "Groups" - command: "AddGroup" - arguments: - values: - - name: GroupID - value: 0x0103 - - name: GroupName - value: "Test Group" - response: - values: - - name: "Status" - value: 0 - - name: "GroupID" - value: 0x0103 + # Step 5 does not exist in the test plan. - label: "Step 6: TH reads GroupTable attribute from GroupKeyManagement cluster @@ -112,15 +94,7 @@ tests: command: "readAttribute" attribute: "GroupTable" response: - value: - [ - { - FabricIndex: 1, - GroupId: 0x0103, - Endpoints: [Groups.Endpoint], - GroupName: "Test Group", - }, - ] + value: [] - label: "Step 7a: TH attempts to write to the GroupTable attribute from @@ -210,19 +184,3 @@ tests: value: MaxGroupKeysPerFabricValue response: error: UNSUPPORTED_WRITE - - - label: - "Step 12: TH cleans up the groups by sending the RemoveAllGroups - command to the DUT on PIXIT.G.ENDPOINT" - PICS: GRPKEY.S.C04.Rsp - cluster: "Groups" - endpoint: Groups.Endpoint - command: "RemoveAllGroups" - - - label: "TH verifies the group has been removed in the GroupTable" - PICS: GRPKEY.S.A0001 - cluster: "Group Key Management" - command: "readAttribute" - attribute: "GroupTable" - response: - value: [] diff --git a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml index d601de9a55f522..245da43f236450 100644 --- a/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_GRPKEY_2_2.yaml @@ -65,7 +65,7 @@ tests: - label: "Step 3: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as 0x01a" - PICS: GRPKEY.S.C01.Rsp + PICS: GRPKEY.S.C01.Rsp && GRPKEY.S.C02.Tx command: "KeySetRead" arguments: values: @@ -575,7 +575,7 @@ tests: - label: "Step 18: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as 0x01a" - PICS: GRPKEY.S.C01.Rsp + PICS: GRPKEY.S.C01.Rsp && GRPKEY.S.C02.Tx command: "KeySetRead" arguments: values: @@ -703,7 +703,7 @@ tests: value: "y" - label: - "Step 23: TH again sends KeySetWrite command to DUT with any other + "Step 22: TH again sends KeySetWrite command to DUT with any other GroupKeySetID not used yet." PICS: GRPKEY.S.C00.Rsp && PICS_SKIP_SAMPLE_APP command: "KeySetWrite" @@ -724,7 +724,7 @@ tests: response: error: RESOURCE_EXHAUSTED - - label: "Step 24: TH sends KeySetReadAllIndices command to DUT." + - label: "Step 23: TH sends KeySetReadAllIndices command to DUT." verification: | ./chip-tool groupkeymanagement key-set-read-all-indices 1 0 @@ -736,7 +736,7 @@ tests: [1692342735.277550][8297:8300] CHIP:TOO: [2]: 1 [1692342735.277554][8297:8300] CHIP:TOO: [3]: 0 [1692342735.277557][8297:8300] CHIP:TOO: } - PICS: GRPKEY.S.C05.Rsp && PICS_SKIP_SAMPLE_APP + PICS: GRPKEY.S.C04.Rsp && GRPKEY.S.C05.Tx && PICS_SKIP_SAMPLE_APP cluster: "LogCommands" command: "UserPrompt" arguments: @@ -747,7 +747,7 @@ tests: value: "y" - label: - "Step 22: TH removes the Group key set that was added by sending a + "Step 24: TH removes the Group key set that was added by sending a KeySetRemove command to the GroupKeyManagement cluster with the GroupKeySetID field set to 0x0" PICS: GRPKEY.S.C03.Rsp @@ -760,7 +760,7 @@ tests: error: INVALID_COMMAND - label: - "Step 23: TH removes the Group key set that was added by sending a + "Step 25: TH removes the Group key set that was added by sending a KeySetRemove command to the GroupKeyManagement cluster with the GroupKeySetID field set to 0x01b that does not exist in the GroupKeyMap attribute list." diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml index 0af218e0a83173..65e9e1a3d73365 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml @@ -43,7 +43,7 @@ tests: - label: "Step 2: If (LTIME.S.A0000.12HR) TH writes 0 to HourFormat attribute" - PICS: LTIME.S.A0000.12HR + PICS: LTIME.S.M.12HR command: "writeAttribute" attribute: "HourFormat" arguments: @@ -58,7 +58,7 @@ tests: - label: "Step 4: If (LTIME.S.A0000.24HR) TH writes 1 to HourFormat attribute" - PICS: LTIME.S.A0000.24HR + PICS: LTIME.S.M.24HR command: "writeAttribute" attribute: "HourFormat" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml index 0853e1e0625fdf..261a0ed8eb27f0 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml @@ -79,90 +79,44 @@ tests: response: value: { "Position": 10000 } - #Issue 10988 - label: "Step 3: TH reads the StartTime attribute from the DUT" - PICS: MEDIAPLAYBACK.S.A0001 && PICS_USER_PROMPT - verification: | - The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): - ./chip-tool mediaplayback read start-time 1 3 - ./chip-tv-casting-app mediaplayback read start-time 1 3 - - On TH(chip-tool), Verify that the response is a valid start time or null. - [1654001778189] [97015:7707437] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0506 Attribute 0x0000_0001 DataVersion: 775839144 - [1654001778190] [97015:7707437] CHIP: [TOO] StartTime: 0 - cluster: "LogCommands" - command: "UserPrompt" - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + PICS: MEDIAPLAYBACK.S.A0001 + command: "readAttribute" + attribute: "StartTime" + response: + constraints: + type: epoch_us - #Issue 10988 - label: "Step 4: TH reads the SeekRangeEnd attribute from the DUT" - verification: | - The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): - ./chip-tool mediaplayback read seek-range-end 1 3 - ./chip-tv-casting-app mediaplayback read seek-range-end 1 3 - - On TH(chip-tool), Verify that the response is a valid position or Nas. - [1654002119527] [97409:7712444] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0506 Attribute 0x0000_0005 DataVersion: 775839144 - [1654002119527] [97409:7712444] CHIP: [TOO] SeekRangeEnd: 80000 - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0005 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + PICS: MEDIAPLAYBACK.S.A0005 + command: "readAttribute" + attribute: "SeekRangeEnd" + response: + constraints: + type: int64u + minValue: 0 + maxValue: "18446744073709551615" - #Issue 10988 - label: "Step 5: TH reads the SeekRangeStart attribute from the DUT" - verification: | - The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): - ./chip-tool mediaplayback read seek-range-start 1 3 - ./chip-tv-casting-app mediaplayback read seek-range-start 1 3 - - On TH(chip-tool), Verify that the response is a valid position or Nas. - [1661240180.806771][2930:2935] CHIP:DMG: SuppressResponse = true, - [1661240180.806809][2930:2935] CHIP:DMG: InteractionModelRevision = 1 - [1661240180.806844][2930:2935] CHIP:DMG: } - [1661240180.807024][2930:2935] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0506 Attribute 0x0000_0006 DataVersion: 1520269522 - [1661240180.807103][2930:2935] CHIP:TOO: SeekRangeStart: 0 - [1661240180.807211][2930:2935] CHIP:EM: Sending Standalone Ack for MessageCounter:164562596 on exchange 31684i - [1661240180.807299][2930:2935] CHIP:IN: Prepared secure message 0xffff95f5d978 to 0x0000000000000001 (1) of type 0x10 and protocolId (0, 0) on exchange 31684i with MessageCounter:104721987 - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0006 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + PICS: MEDIAPLAYBACK.S.A0006 + command: "readAttribute" + attribute: "SeekRangeStart" + response: + constraints: + type: int64u + minValue: 0 + maxValue: "18446744073709551615" - #Issue 10988 - label: "Step 6: TH reads the Duration attribute from the DUT" - verification: | - The TH commands for this test step can be invoked using chip-tool (when DUT is a commissionee) or tv-casting-app (when DUT is a commissioner): - ./chip-tool mediaplayback read duration 1 3 - ./chip-tv-casting-app mediaplayback read duration 1 3 - - On TH(chip-tool), Verify that the response is null or not 0. - [1654001869267] [97168:7708957] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0506 Attribute 0x0000_0002 DataVersion: 775839144 - [1654001869267] [97168:7708957] CHIP: [TOO] Duration: 80000 - cluster: "LogCommands" - command: "UserPrompt" - PICS: PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0002 - arguments: - values: - - name: "message" - value: "Please enter 'y' for success" - - name: "expectedValue" - value: "y" + PICS: MEDIAPLAYBACK.S.A0002 + command: "readAttribute" + attribute: "Duration" + response: + constraints: + type: int64u + notValue: 0 + minValue: 0 + maxValue: "18446744073709551615" - label: "Step 7: TH sends a Seek command to the DUT with a Position value diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml index c446b4dcea2801..b2c5355ece71eb 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_1_3.yaml @@ -35,122 +35,215 @@ tests: verification: | ./chip-tool modeselect read supported-modes 1 1 - Verify the "SupportedModes response" on the TH (all-cluster-app) log: - - [1666940683.282921][9718:9718] CHIP:DMG: ReportDataMessage = - [1666940683.282923][9718:9718] CHIP:DMG: { - [1666940683.282925][9718:9718] CHIP:DMG: AttributeReportIBs = - [1666940683.282928][9718:9718] CHIP:DMG: [ - [1666940683.282929][9718:9718] CHIP:DMG: AttributeReportIB = - [1666940683.282933][9718:9718] CHIP:DMG: { - [1666940683.282935][9718:9718] CHIP:DMG: AttributeDataIB = - [1666940683.282937][9718:9718] CHIP:DMG: { - [1666940683.282939][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, - [1666940683.282941][9718:9718] CHIP:DMG: AttributePathIB = - [1666940683.282944][9718:9718] CHIP:DMG: { - [1666940683.282946][9718:9718] CHIP:DMG: Endpoint = 0x1, - [1666940683.282948][9718:9718] CHIP:DMG: Cluster = 0x50, - [1666940683.282950][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, - [1666940683.282952][9718:9718] CHIP:DMG: } - [1666940683.282955][9718:9718] CHIP:DMG: - [1666940683.282957][9718:9718] CHIP:DMG: Data = [ - [1666940683.282959][9718:9718] CHIP:DMG: - [1666940683.282962][9718:9718] CHIP:DMG: ], - [1666940683.282964][9718:9718] CHIP:DMG: }, - [1666940683.282966][9718:9718] CHIP:DMG: - [1666940683.282968][9718:9718] CHIP:DMG: }, - [1666940683.282972][9718:9718] CHIP:DMG: - [1666940683.282974][9718:9718] CHIP:DMG: AttributeReportIB = - [1666940683.282978][9718:9718] CHIP:DMG: { - [1666940683.282980][9718:9718] CHIP:DMG: AttributeDataIB = - [1666940683.282982][9718:9718] CHIP:DMG: { - [1666940683.282984][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, - [1666940683.282986][9718:9718] CHIP:DMG: AttributePathIB = - [1666940683.282988][9718:9718] CHIP:DMG: { - [1666940683.282990][9718:9718] CHIP:DMG: Endpoint = 0x1, - [1666940683.282992][9718:9718] CHIP:DMG: Cluster = 0x50, - [1666940683.282995][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, - [1666940683.282997][9718:9718] CHIP:DMG: ListIndex = Null, - [1666940683.282999][9718:9718] CHIP:DMG: } - [1666940683.283001][9718:9718] CHIP:DMG: - [1666940683.283003][9718:9718] CHIP:DMG: Data = - [1666940683.283005][9718:9718] CHIP:DMG: { - [1666940683.283008][9718:9718] CHIP:DMG: 0x0 = "Black" (5 chars), - [1666940683.283011][9718:9718] CHIP:DMG: 0x1 = 0, - [1666940683.283013][9718:9718] CHIP:DMG: 0x2 = [ - [1666940683.283015][9718:9718] CHIP:DMG: - [1666940683.283020][9718:9718] CHIP:DMG: { - [1666940683.283022][9718:9718] CHIP:DMG: 0x0 = 0, - [1666940683.283025][9718:9718] CHIP:DMG: 0x1 = 0, - [1666940683.283027][9718:9718] CHIP:DMG: }, - [1666940683.283030][9718:9718] CHIP:DMG: ], - [1666940683.283032][9718:9718] CHIP:DMG: }, - [1666940683.283034][9718:9718] CHIP:DMG: }, - [1666940683.283037][9718:9718] CHIP:DMG: - [1666940683.283039][9718:9718] CHIP:DMG: }, - [1666940683.283044][9718:9718] CHIP:DMG: - [1666940683.283046][9718:9718] CHIP:DMG: AttributeReportIB = - [1666940683.283049][9718:9718] CHIP:DMG: { - [1666940683.283051][9718:9718] CHIP:DMG: AttributeDataIB = - [1666940683.283053][9718:9718] CHIP:DMG: { - [1666940683.283055][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, - [1666940683.283057][9718:9718] CHIP:DMG: AttributePathIB = - [1666940683.283059][9718:9718] CHIP:DMG: { - [1666940683.283061][9718:9718] CHIP:DMG: Endpoint = 0x1, - [1666940683.283064][9718:9718] CHIP:DMG: Cluster = 0x50, - [1666940683.283066][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, - [1666940683.283068][9718:9718] CHIP:DMG: ListIndex = Null, - [1666940683.283070][9718:9718] CHIP:DMG: } - [1666940683.283072][9718:9718] CHIP:DMG: - [1666940683.283074][9718:9718] CHIP:DMG: Data = - [1666940683.283076][9718:9718] CHIP:DMG: { - [1666940683.283079][9718:9718] CHIP:DMG: 0x0 = "Cappuccino" (10 chars), - [1666940683.283081][9718:9718] CHIP:DMG: 0x1 = 4, - [1666940683.283084][9718:9718] CHIP:DMG: 0x2 = [ - [1666940683.283086][9718:9718] CHIP:DMG: - [1666940683.283088][9718:9718] CHIP:DMG: { - [1666940683.283091][9718:9718] CHIP:DMG: 0x0 = 0, - [1666940683.283093][9718:9718] CHIP:DMG: 0x1 = 0, - [1666940683.283095][9718:9718] CHIP:DMG: }, - [1666940683.283098][9718:9718] CHIP:DMG: ], - [1666940683.283100][9718:9718] CHIP:DMG: }, - [1666940683.283102][9718:9718] CHIP:DMG: }, - [1666940683.283105][9718:9718] CHIP:DMG: - [1666940683.283107][9718:9718] CHIP:DMG: }, - [1666940683.283112][9718:9718] CHIP:DMG: - [1666940683.283114][9718:9718] CHIP:DMG: AttributeReportIB = - [1666940683.283117][9718:9718] CHIP:DMG: { - [1666940683.283119][9718:9718] CHIP:DMG: AttributeDataIB = - [1666940683.283121][9718:9718] CHIP:DMG: { - [1666940683.283123][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, - [1666940683.283125][9718:9718] CHIP:DMG: AttributePathIB = - [1666940683.283128][9718:9718] CHIP:DMG: { - [1666940683.283130][9718:9718] CHIP:DMG: Endpoint = 0x1, - [1666940683.283132][9718:9718] CHIP:DMG: Cluster = 0x50, - [1666940683.283134][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, - [1666940683.283136][9718:9718] CHIP:DMG: ListIndex = Null, - [1666940683.283138][9718:9718] CHIP:DMG: } - [1666940683.283141][9718:9718] CHIP:DMG: - [1666940683.283143][9718:9718] CHIP:DMG: Data = - [1666940683.283145][9718:9718] CHIP:DMG: { - [1666940683.283148][9718:9718] CHIP:DMG: 0x0 = "Espresso" (8 chars), - [1666940683.283150][9718:9718] CHIP:DMG: 0x1 = 7, - [1666940683.283152][9718:9718] CHIP:DMG: 0x2 = [ - [1666940683.283154][9718:9718] CHIP:DMG: - [1666940683.283157][9718:9718] CHIP:DMG: { - [1666940683.283159][9718:9718] CHIP:DMG: 0x0 = 0, - [1666940683.283161][9718:9718] CHIP:DMG: 0x1 = 0, - [1666940683.283164][9718:9718] CHIP:DMG: }, - [1666940683.283167][9718:9718] CHIP:DMG: ], - [1666940683.283169][9718:9718] CHIP:DMG: }, - [1666940683.283171][9718:9718] CHIP:DMG: }, - [1666940683.283174][9718:9718] CHIP:DMG: - [1666940683.283176][9718:9718] CHIP:DMG: }, - [1666940683.283179][9718:9718] CHIP:DMG: - [1666940683.283181][9718:9718] CHIP:DMG: ], - [1666940683.283188][9718:9718] CHIP:DMG: - [1666940683.283190][9718:9718] CHIP:DMG: SuppressResponse = true, - [1666940683.283192][9718:9718] CHIP:DMG: InteractionModelRevision = 1 + Verify the "SupportedModes response" on the TH (all-cluster-app) log: + + [1666940683.282921][9718:9718] CHIP:DMG: ReportDataMessage = + [1666940683.282923][9718:9718] CHIP:DMG: { + [1666940683.282925][9718:9718] CHIP:DMG: AttributeReportIBs = + [1666940683.282928][9718:9718] CHIP:DMG: [ + [1666940683.282929][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940683.282933][9718:9718] CHIP:DMG: { + [1666940683.282935][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940683.282937][9718:9718] CHIP:DMG: { + [1666940683.282939][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940683.282941][9718:9718] CHIP:DMG: AttributePathIB = + [1666940683.282944][9718:9718] CHIP:DMG: { + [1666940683.282946][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940683.282948][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940683.282950][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, + [1666940683.282952][9718:9718] CHIP:DMG: } + [1666940683.282955][9718:9718] CHIP:DMG: + [1666940683.282957][9718:9718] CHIP:DMG: Data = [ + [1666940683.282959][9718:9718] CHIP:DMG: + [1666940683.282962][9718:9718] CHIP:DMG: ], + [1666940683.282964][9718:9718] CHIP:DMG: }, + [1666940683.282966][9718:9718] CHIP:DMG: + [1666940683.282968][9718:9718] CHIP:DMG: }, + [1666940683.282972][9718:9718] CHIP:DMG: + [1666940683.282974][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940683.282978][9718:9718] CHIP:DMG: { + [1666940683.282980][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940683.282982][9718:9718] CHIP:DMG: { + [1666940683.282984][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940683.282986][9718:9718] CHIP:DMG: AttributePathIB = + [1666940683.282988][9718:9718] CHIP:DMG: { + [1666940683.282990][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940683.282992][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940683.282995][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, + [1666940683.282997][9718:9718] CHIP:DMG: ListIndex = Null, + [1666940683.282999][9718:9718] CHIP:DMG: } + [1666940683.283001][9718:9718] CHIP:DMG: + [1666940683.283003][9718:9718] CHIP:DMG: Data = + [1666940683.283005][9718:9718] CHIP:DMG: { + [1666940683.283008][9718:9718] CHIP:DMG: 0x0 = "Black" (5 chars), + [1666940683.283011][9718:9718] CHIP:DMG: 0x1 = 0, + [1666940683.283013][9718:9718] CHIP:DMG: 0x2 = [ + [1666940683.283015][9718:9718] CHIP:DMG: + [1666940683.283020][9718:9718] CHIP:DMG: { + [1666940683.283022][9718:9718] CHIP:DMG: 0x0 = 0, + [1666940683.283025][9718:9718] CHIP:DMG: 0x1 = 0, + [1666940683.283027][9718:9718] CHIP:DMG: }, + [1666940683.283030][9718:9718] CHIP:DMG: ], + [1666940683.283032][9718:9718] CHIP:DMG: }, + [1666940683.283034][9718:9718] CHIP:DMG: }, + [1666940683.283037][9718:9718] CHIP:DMG: + [1666940683.283039][9718:9718] CHIP:DMG: }, + [1666940683.283044][9718:9718] CHIP:DMG: + [1666940683.283046][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940683.283049][9718:9718] CHIP:DMG: { + [1666940683.283051][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940683.283053][9718:9718] CHIP:DMG: { + [1666940683.283055][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940683.283057][9718:9718] CHIP:DMG: AttributePathIB = + [1666940683.283059][9718:9718] CHIP:DMG: { + [1666940683.283061][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940683.283064][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940683.283066][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, + [1666940683.283068][9718:9718] CHIP:DMG: ListIndex = Null, + [1666940683.283070][9718:9718] CHIP:DMG: } + [1666940683.283072][9718:9718] CHIP:DMG: + [1666940683.283074][9718:9718] CHIP:DMG: Data = + [1666940683.283076][9718:9718] CHIP:DMG: { + [1666940683.283079][9718:9718] CHIP:DMG: 0x0 = "Cappuccino" (10 chars), + [1666940683.283081][9718:9718] CHIP:DMG: 0x1 = 4, + [1666940683.283084][9718:9718] CHIP:DMG: 0x2 = [ + [1666940683.283086][9718:9718] CHIP:DMG: + [1666940683.283088][9718:9718] CHIP:DMG: { + [1666940683.283091][9718:9718] CHIP:DMG: 0x0 = 0, + [1666940683.283093][9718:9718] CHIP:DMG: 0x1 = 0, + [1666940683.283095][9718:9718] CHIP:DMG: }, + [1666940683.283098][9718:9718] CHIP:DMG: ], + [1666940683.283100][9718:9718] CHIP:DMG: }, + [1666940683.283102][9718:9718] CHIP:DMG: }, + [1666940683.283105][9718:9718] CHIP:DMG: + [1666940683.283107][9718:9718] CHIP:DMG: }, + [1666940683.283112][9718:9718] CHIP:DMG: + [1666940683.283114][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940683.283117][9718:9718] CHIP:DMG: { + [1666940683.283119][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940683.283121][9718:9718] CHIP:DMG: { + [1666940683.283123][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940683.283125][9718:9718] CHIP:DMG: AttributePathIB = + [1666940683.283128][9718:9718] CHIP:DMG: { + [1666940683.283130][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940683.283132][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940683.283134][9718:9718] CHIP:DMG: Attribute = 0x0000_0002, + [1666940683.283136][9718:9718] CHIP:DMG: ListIndex = Null, + [1666940683.283138][9718:9718] CHIP:DMG: } + [1666940683.283141][9718:9718] CHIP:DMG: + [1666940683.283143][9718:9718] CHIP:DMG: Data = + [1666940683.283145][9718:9718] CHIP:DMG: { + [1666940683.283148][9718:9718] CHIP:DMG: 0x0 = "Espresso" (8 chars), + [1666940683.283150][9718:9718] CHIP:DMG: 0x1 = 7, + [1666940683.283152][9718:9718] CHIP:DMG: 0x2 = [ + [1666940683.283154][9718:9718] CHIP:DMG: + [1666940683.283157][9718:9718] CHIP:DMG: { + [1666940683.283159][9718:9718] CHIP:DMG: 0x0 = 0, + [1666940683.283161][9718:9718] CHIP:DMG: 0x1 = 0, + [1666940683.283164][9718:9718] CHIP:DMG: }, + [1666940683.283167][9718:9718] CHIP:DMG: ], + [1666940683.283169][9718:9718] CHIP:DMG: }, + [1666940683.283171][9718:9718] CHIP:DMG: }, + [1666940683.283174][9718:9718] CHIP:DMG: + [1666940683.283176][9718:9718] CHIP:DMG: }, + [1666940683.283179][9718:9718] CHIP:DMG: + [1666940683.283181][9718:9718] CHIP:DMG: ], + [1666940683.283188][9718:9718] CHIP:DMG: + [1666940683.283190][9718:9718] CHIP:DMG: SuppressResponse = true, + [1666940683.283192][9718:9718] CHIP:DMG: InteractionModelRevision = 1 + + + ./chip-tool modeselect read current-mode 1 1 + + Verify the "CurrentMode response" on the TH (all-cluster-app) log: + + [1666940720.150375][9718:9718] CHIP:DMG: ReportDataMessage = + [1666940720.150377][9718:9718] CHIP:DMG: { + [1666940720.150379][9718:9718] CHIP:DMG: AttributeReportIBs = + [1666940720.150382][9718:9718] CHIP:DMG: [ + [1666940720.150384][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940720.150387][9718:9718] CHIP:DMG: { + [1666940720.150389][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940720.150391][9718:9718] CHIP:DMG: { + [1666940720.150394][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940720.150396][9718:9718] CHIP:DMG: AttributePathIB = + [1666940720.150399][9718:9718] CHIP:DMG: { + [1666940720.150402][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940720.150404][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940720.150406][9718:9718] CHIP:DMG: Attribute = 0x0000_0003, + [1666940720.150408][9718:9718] CHIP:DMG: } + [1666940720.150411][9718:9718] CHIP:DMG: + [1666940720.150414][9718:9718] CHIP:DMG: Data = 0, + [1666940720.150416][9718:9718] CHIP:DMG: }, + [1666940720.150419][9718:9718] CHIP:DMG: + [1666940720.150421][9718:9718] CHIP:DMG: }, + [1666940720.150424][9718:9718] CHIP:DMG: + [1666940720.150426][9718:9718] CHIP:DMG: ], + [1666940720.150429][9718:9718] CHIP:DMG: + [1666940720.150431][9718:9718] CHIP:DMG: SuppressResponse = true, + [1666940720.150433][9718:9718] CHIP:DMG: InteractionModelRevision = 1 + + ./chip-tool modeselect read standard-namespace 1 1 + + Verify the "StandardNamespace response" on the TH (all-cluster-app) log: + + 1668497274.561088][9289:9289] CHIP:DMG: ReportDataMessage = + [1668497274.561091][9289:9289] CHIP:DMG: { + [1668497274.561094][9289:9289] CHIP:DMG: AttributeReportIBs = + [1668497274.561100][9289:9289] CHIP:DMG: [ + [1668497274.561103][9289:9289] CHIP:DMG: AttributeReportIB = + [1668497274.561108][9289:9289] CHIP:DMG: { + [1668497274.561111][9289:9289] CHIP:DMG: AttributeDataIB = + [1668497274.561115][9289:9289] CHIP:DMG: { + [1668497274.561119][9289:9289] CHIP:DMG: DataVersion = 0x6c775d5f, + [1668497274.561123][9289:9289] CHIP:DMG: AttributePathIB = + [1668497274.561126][9289:9289] CHIP:DMG: { + [1668497274.561129][9289:9289] CHIP:DMG: Endpoint = 0x1, + [1668497274.561133][9289:9289] CHIP:DMG: Cluster = 0x50, + [1668497274.561137][9289:9289] CHIP:DMG: Attribute = 0x0000_0001, + [1668497274.561142][9289:9289] CHIP:DMG: } + [1668497274.561147][9289:9289] CHIP:DMG: + [1668497274.561153][9289:9289] CHIP:DMG: Data = 0, + [1668497274.561157][9289:9289] CHIP:DMG: }, + [1668497274.561162][9289:9289] CHIP:DMG: + [1668497274.561165][9289:9289] CHIP:DMG: }, + [1668497274.561169][9289:9289] CHIP:DMG: + [1668497274.561172][9289:9289] CHIP:DMG: ], + [1668497274.561177][9289:9289] CHIP:DMG: + [1668497274.561180][9289:9289] CHIP:DMG: SuppressResponse = true, + [1668497274.561183][9289:9289] CHIP:DMG: InteractionModelRevision = 1 + [1668497274.561185][9289:9289] CHIP:DMG: } + + ./chip-tool modeselect read description 1 1 + + Verify the "Description response" on the TH (all-cluster-app) log: + + [1668497391.858312][9289:9289] CHIP:DMG: ReportDataMessage = + [1668497391.858315][9289:9289] CHIP:DMG: { + [1668497391.858318][9289:9289] CHIP:DMG: AttributeReportIBs = + [1668497391.858324][9289:9289] CHIP:DMG: [ + [1668497391.858327][9289:9289] CHIP:DMG: AttributeReportIB = + [1668497391.858331][9289:9289] CHIP:DMG: { + [1668497391.858334][9289:9289] CHIP:DMG: AttributeDataIB = + [1668497391.858338][9289:9289] CHIP:DMG: { + [1668497391.858342][9289:9289] CHIP:DMG: DataVersion = 0x6c775d5f, + [1668497391.858345][9289:9289] CHIP:DMG: AttributePathIB = + [1668497391.858348][9289:9289] CHIP:DMG: { + [1668497391.858352][9289:9289] CHIP:DMG: Endpoint = 0x1, + [1668497391.858355][9289:9289] CHIP:DMG: Cluster = 0x50, + [1668497391.858359][9289:9289] CHIP:DMG: Attribute = 0x0000_0000, + [1668497391.858363][9289:9289] CHIP:DMG: } + [1668497391.858368][9289:9289] CHIP:DMG: + [1668497391.858372][9289:9289] CHIP:DMG: Data = "Coffee" (6 chars), + [1668497391.858375][9289:9289] CHIP:DMG: }, + [1668497391.858380][9289:9289] CHIP:DMG: + [1668497391.858383][9289:9289] CHIP:DMG: }, + [1668497391.858387][9289:9289] CHIP:DMG: + [1668497391.858390][9289:9289] CHIP:DMG: ], + [1668497391.858395][9289:9289] CHIP:DMG: + [1668497391.858398][9289:9289] CHIP:DMG: SuppressResponse = true, + [1668497391.858403][9289:9289] CHIP:DMG: InteractionModelRevision = 1 + [1668497391.858406][9289:9289] CHIP:DMG: } disabled: true - label: @@ -158,35 +251,35 @@ tests: time in a manufacturer specific order" PICS: MOD.C.AO-READ verification: | - ./chip-tool modeselect read on-mode 1 1 + ./chip-tool modeselect read start-up-mode 1 1 - Verify the "OnMode response" on the TH (all-cluster-app) log: - - [1666940828.515256][9718:9718] CHIP:DMG: ReportDataMessage = - [1666940828.515259][9718:9718] CHIP:DMG: { - [1666940828.515261][9718:9718] CHIP:DMG: AttributeReportIBs = - [1666940828.515265][9718:9718] CHIP:DMG: [ - [1666940828.515267][9718:9718] CHIP:DMG: AttributeReportIB = - [1666940828.515272][9718:9718] CHIP:DMG: { - [1666940828.515275][9718:9718] CHIP:DMG: AttributeDataIB = - [1666940828.515277][9718:9718] CHIP:DMG: { - [1666940828.515280][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, - [1666940828.515282][9718:9718] CHIP:DMG: AttributePathIB = - [1666940828.515285][9718:9718] CHIP:DMG: { - [1666940828.515288][9718:9718] CHIP:DMG: Endpoint = 0x1, - [1666940828.515290][9718:9718] CHIP:DMG: Cluster = 0x50, - [1666940828.515293][9718:9718] CHIP:DMG: Attribute = 0x0000_0005, - [1666940828.515295][9718:9718] CHIP:DMG: } - [1666940828.515298][9718:9718] CHIP:DMG: - [1666940828.515301][9718:9718] CHIP:DMG: Data = NULL - [1666940828.515304][9718:9718] CHIP:DMG: }, - [1666940828.515307][9718:9718] CHIP:DMG: - [1666940828.515309][9718:9718] CHIP:DMG: }, - [1666940828.515312][9718:9718] CHIP:DMG: - [1666940828.515314][9718:9718] CHIP:DMG: ], - [1666940828.515317][9718:9718] CHIP:DMG: - [1666940828.515320][9718:9718] CHIP:DMG: SuppressResponse = true, - [1666940828.515322][9718:9718] CHIP:DMG: InteractionModelRevision = 1 + Verify the "StartUpMode response" on the TH (all-cluster-app) log: + + [1666940848.925393][9718:9718] CHIP:DMG: ReportDataMessage = + [1666940848.925396][9718:9718] CHIP:DMG: { + [1666940848.925397][9718:9718] CHIP:DMG: AttributeReportIBs = + [1666940848.925401][9718:9718] CHIP:DMG: [ + [1666940848.925403][9718:9718] CHIP:DMG: AttributeReportIB = + [1666940848.925407][9718:9718] CHIP:DMG: { + [1666940848.925410][9718:9718] CHIP:DMG: AttributeDataIB = + [1666940848.925414][9718:9718] CHIP:DMG: { + [1666940848.925416][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666940848.925418][9718:9718] CHIP:DMG: AttributePathIB = + [1666940848.925421][9718:9718] CHIP:DMG: { + [1666940848.925423][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666940848.925428][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666940848.925431][9718:9718] CHIP:DMG: Attribute = 0x0000_0004, + [1666940848.925433][9718:9718] CHIP:DMG: } + [1666940848.925436][9718:9718] CHIP:DMG: + [1666940848.925438][9718:9718] CHIP:DMG: Data = 0, + [1666940848.925440][9718:9718] CHIP:DMG: }, + [1666940848.925443][9718:9718] CHIP:DMG: + [1666940848.925445][9718:9718] CHIP:DMG: }, + [1666940848.925448][9718:9718] CHIP:DMG: + [1666940848.925450][9718:9718] CHIP:DMG: ], + [1666940848.925454][9718:9718] CHIP:DMG: + [1666940848.925456][9718:9718] CHIP:DMG: SuppressResponse = true, + [1666940848.925458][9718:9718] CHIP:DMG: InteractionModelRevision = 1 disabled: true - label: @@ -204,31 +297,59 @@ tests: verification: | ./chip-tool modeselect write on-mode 0 1 1 - Verify the "WriteRequestMessage" on TH(all-cluster-app) log: - - WriteRequestMessage = - [1673335946.283857][10561:10561] CHIP:DMG: { - [1673335946.283866][10561:10561] CHIP:DMG: suppressResponse = false, - [1673335946.283878][10561:10561] CHIP:DMG: timedRequest = false, - [1673335946.283887][10561:10561] CHIP:DMG: AttributeDataIBs = - [1673335946.283905][10561:10561] CHIP:DMG: [ - [1673335946.283914][10561:10561] CHIP:DMG: AttributeDataIB = - [1673335946.283926][10561:10561] CHIP:DMG: { - [1673335946.283935][10561:10561] CHIP:DMG: AttributePathIB = - [1673335946.283947][10561:10561] CHIP:DMG: { - [1673335946.283959][10561:10561] CHIP:DMG: Endpoint = 0x1, - [1673335946.283971][10561:10561] CHIP:DMG: Cluster = 0x50, - [1673335946.283983][10561:10561] CHIP:DMG: Attribute = 0x0000_0005, - [1673335946.283994][10561:10561] CHIP:DMG: } - [1673335946.284008][10561:10561] CHIP:DMG: - [1673335946.284022][10561:10561] CHIP:DMG: Data = 0, - [1673335946.284032][10561:10561] CHIP:DMG: }, - [1673335946.284046][10561:10561] CHIP:DMG: - [1673335946.284055][10561:10561] CHIP:DMG: ], - [1673335946.284070][10561:10561] CHIP:DMG: - [1673335946.284081][10561:10561] CHIP:DMG: moreChunkedMessages = false, - [1673335946.284091][10561:10561] CHIP:DMG: InteractionModelRevision = 1 - [1673335946.284099][10561:10561] CHIP:DMG: }, + Verify the "WriteRequestMessage" on TH(all-cluster-app) log: + + WriteRequestMessage = + [1673335946.283857][10561:10561] CHIP:DMG: { + [1673335946.283866][10561:10561] CHIP:DMG: suppressResponse = false, + [1673335946.283878][10561:10561] CHIP:DMG: timedRequest = false, + [1673335946.283887][10561:10561] CHIP:DMG: AttributeDataIBs = + [1673335946.283905][10561:10561] CHIP:DMG: [ + [1673335946.283914][10561:10561] CHIP:DMG: AttributeDataIB = + [1673335946.283926][10561:10561] CHIP:DMG: { + [1673335946.283935][10561:10561] CHIP:DMG: AttributePathIB = + [1673335946.283947][10561:10561] CHIP:DMG: { + [1673335946.283959][10561:10561] CHIP:DMG: Endpoint = 0x1, + [1673335946.283971][10561:10561] CHIP:DMG: Cluster = 0x50, + [1673335946.283983][10561:10561] CHIP:DMG: Attribute = 0x0000_0005, + [1673335946.283994][10561:10561] CHIP:DMG: } + [1673335946.284008][10561:10561] CHIP:DMG: + [1673335946.284022][10561:10561] CHIP:DMG: Data = 0, + [1673335946.284032][10561:10561] CHIP:DMG: }, + [1673335946.284046][10561:10561] CHIP:DMG: + [1673335946.284055][10561:10561] CHIP:DMG: ], + [1673335946.284070][10561:10561] CHIP:DMG: + [1673335946.284081][10561:10561] CHIP:DMG: moreChunkedMessages = false, + [1673335946.284091][10561:10561] CHIP:DMG: InteractionModelRevision = 1 + [1673335946.284099][10561:10561] CHIP:DMG: }, + + ./chip-tool modeselect write start-up-mode 0 1 1 + + Verify the "WriteRequestMessage" on TH(all-cluster-app) log: + + WriteRequestMessage = + [1673336054.600463][10561:10561] CHIP:DMG: { + [1673336054.600470][10561:10561] CHIP:DMG: suppressResponse = false, + [1673336054.600479][10561:10561] CHIP:DMG: timedRequest = false, + [1673336054.600486][10561:10561] CHIP:DMG: AttributeDataIBs = + [1673336054.600501][10561:10561] CHIP:DMG: [ + [1673336054.600509][10561:10561] CHIP:DMG: AttributeDataIB = + [1673336054.600521][10561:10561] CHIP:DMG: { + [1673336054.600531][10561:10561] CHIP:DMG: AttributePathIB = + [1673336054.600544][10561:10561] CHIP:DMG: { + [1673336054.600557][10561:10561] CHIP:DMG: Endpoint = 0x1, + [1673336054.600569][10561:10561] CHIP:DMG: Cluster = 0x50, + [1673336054.600582][10561:10561] CHIP:DMG: Attribute = 0x0000_0004, + [1673336054.600593][10561:10561] CHIP:DMG: } + [1673336054.600608][10561:10561] CHIP:DMG: + [1673336054.600621][10561:10561] CHIP:DMG: Data = 0, + [1673336054.600631][10561:10561] CHIP:DMG: }, + [1673336054.600646][10561:10561] CHIP:DMG: + [1673336054.600656][10561:10561] CHIP:DMG: ], + [1673336054.600673][10561:10561] CHIP:DMG: + [1673336054.600683][10561:10561] CHIP:DMG: moreChunkedMessages = false, + [1673336054.600695][10561:10561] CHIP:DMG: InteractionModelRevision = 1 + [1673336054.600704][10561:10561] CHIP:DMG: }, disabled: true - label: @@ -239,36 +360,283 @@ tests: verification: | ./chip-tool modeselect read attribute-list 1 1 - Verify the "AttributeList response" on the TH (all-cluster-minimal-app) log: - - [1689750639.773775][3545:3547] CHIP:DMG: ReportDataMessage = - [1689750639.773815][3545:3547] CHIP:DMG: { - [1689750639.773846][3545:3547] CHIP:DMG: AttributeReportIBs = - [1689750639.773896][3545:3547] CHIP:DMG: [ - [1689750639.773928][3545:3547] CHIP:DMG: AttributeReportIB = - [1689750639.773980][3545:3547] CHIP:DMG: { - [1689750639.774014][3545:3547] CHIP:DMG: AttributeDataIB = - [1689750639.774052][3545:3547] CHIP:DMG: { - [1689750639.774093][3545:3547] CHIP:DMG: DataVersion = 0x346e22fd, - [1689750639.774132][3545:3547] CHIP:DMG: AttributePathIB = - [1689750639.774174][3545:3547] CHIP:DMG: { - [1689750639.774217][3545:3547] CHIP:DMG: Endpoint = 0x1, - [1689750639.774261][3545:3547] CHIP:DMG: Cluster = 0x50, - [1689750639.774304][3545:3547] CHIP:DMG: Attribute = 0x0000_FFFB, - [1689750639.774347][3545:3547] CHIP:DMG: } - [1689750639.774390][3545:3547] CHIP:DMG: - [1689750639.774430][3545:3547] CHIP:DMG: Data = [ - [1689750639.774515][3545:3547] CHIP:DMG: 0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533, - [1689750639.774565][3545:3547] CHIP:DMG: ], - [1689750639.774604][3545:3547] CHIP:DMG: }, - [1689750639.774652][3545:3547] CHIP:DMG: - [1689750639.774685][3545:3547] CHIP:DMG: }, - [1689750639.774731][3545:3547] CHIP:DMG: - [1689750639.774761][3545:3547] CHIP:DMG: ], - [1689750639.774804][3545:3547] CHIP:DMG: - [1689750639.774835][3545:3547] CHIP:DMG: SuppressResponse = true, - [1689750639.774867][3545:3547] CHIP:DMG: InteractionModelRevision = 1 - [1689750639.774896][3545:3547] CHIP:DMG: } + Verify the "AttributeList response" on the TH (all-cluster-minimal-app) log: + + [1689750639.773775][3545:3547] CHIP:DMG: ReportDataMessage = + [1689750639.773815][3545:3547] CHIP:DMG: { + [1689750639.773846][3545:3547] CHIP:DMG: AttributeReportIBs = + [1689750639.773896][3545:3547] CHIP:DMG: [ + [1689750639.773928][3545:3547] CHIP:DMG: AttributeReportIB = + [1689750639.773980][3545:3547] CHIP:DMG: { + [1689750639.774014][3545:3547] CHIP:DMG: AttributeDataIB = + [1689750639.774052][3545:3547] CHIP:DMG: { + [1689750639.774093][3545:3547] CHIP:DMG: DataVersion = 0x346e22fd, + [1689750639.774132][3545:3547] CHIP:DMG: AttributePathIB = + [1689750639.774174][3545:3547] CHIP:DMG: { + [1689750639.774217][3545:3547] CHIP:DMG: Endpoint = 0x1, + [1689750639.774261][3545:3547] CHIP:DMG: Cluster = 0x50, + [1689750639.774304][3545:3547] CHIP:DMG: Attribute = 0x0000_FFFB, + [1689750639.774347][3545:3547] CHIP:DMG: } + [1689750639.774390][3545:3547] CHIP:DMG: + [1689750639.774430][3545:3547] CHIP:DMG: Data = [ + [1689750639.774515][3545:3547] CHIP:DMG: 0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533, + [1689750639.774565][3545:3547] CHIP:DMG: ], + [1689750639.774604][3545:3547] CHIP:DMG: }, + [1689750639.774652][3545:3547] CHIP:DMG: + [1689750639.774685][3545:3547] CHIP:DMG: }, + [1689750639.774731][3545:3547] CHIP:DMG: + [1689750639.774761][3545:3547] CHIP:DMG: ], + [1689750639.774804][3545:3547] CHIP:DMG: + [1689750639.774835][3545:3547] CHIP:DMG: SuppressResponse = true, + [1689750639.774867][3545:3547] CHIP:DMG: InteractionModelRevision = 1 + [1689750639.774896][3545:3547] CHIP:DMG: } + + + ./chip-tool modeselect read feature-map 1 1 + + Verify the " FeatureMap " on the TH (all-cluster-minimal-app) log: + + [1666943338.908026][12769:12769] CHIP:DMG: ReportDataMessage = + [1666943338.908028][12769:12769] CHIP:DMG: { + [1666943338.908031][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666943338.908035][12769:12769] CHIP:DMG: [ + [1666943338.908038][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943338.908042][12769:12769] CHIP:DMG: { + [1666943338.908045][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943338.908048][12769:12769] CHIP:DMG: { + [1666943338.908051][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943338.908054][12769:12769] CHIP:DMG: AttributePathIB = + [1666943338.908057][12769:12769] CHIP:DMG: { + [1666943338.908060][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943338.908064][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943338.908067][12769:12769] CHIP:DMG: Attribute = 0x0000_FFFC, + [1666943338.908070][12769:12769] CHIP:DMG: } + [1666943338.908074][12769:12769] CHIP:DMG: + [1666943338.908077][12769:12769] CHIP:DMG: Data = 0, + [1666943338.908080][12769:12769] CHIP:DMG: }, + [1666943338.908084][12769:12769] CHIP:DMG: + [1666943338.908086][12769:12769] CHIP:DMG: }, + [1666943338.908090][12769:12769] CHIP:DMG: + [1666943338.908092][12769:12769] CHIP:DMG: ], + [1666943338.908096][12769:12769] CHIP:DMG: + [1666943338.908099][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666943338.908102][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666943338.908104][12769:12769] CHIP:DMG: } + + + ./chip-tool modeselect read supported-modes 1 1 + + Verify the "SupportedModes response" on the TH (all-cluster-minimal-app) log: + + 1666943362.813636][12769:12769] CHIP:DMG: ReportDataMessage = + [1666943362.813638][12769:12769] CHIP:DMG: { + [1666943362.813640][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666943362.813643][12769:12769] CHIP:DMG: [ + [1666943362.813645][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943362.813650][12769:12769] CHIP:DMG: { + [1666943362.813652][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943362.813655][12769:12769] CHIP:DMG: { + [1666943362.813657][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943362.813659][12769:12769] CHIP:DMG: AttributePathIB = + [1666943362.813662][12769:12769] CHIP:DMG: { + [1666943362.813664][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943362.813666][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943362.813669][12769:12769] CHIP:DMG: Attribute = 0x0000_0002, + [1666943362.813671][12769:12769] CHIP:DMG: } + [1666943362.813674][12769:12769] CHIP:DMG: + [1666943362.813676][12769:12769] CHIP:DMG: Data = [ + [1666943362.813679][12769:12769] CHIP:DMG: + [1666943362.813681][12769:12769] CHIP:DMG: ], + [1666943362.813683][12769:12769] CHIP:DMG: }, + [1666943362.813686][12769:12769] CHIP:DMG: + [1666943362.813688][12769:12769] CHIP:DMG: }, + [1666943362.813692][12769:12769] CHIP:DMG: + [1666943362.813694][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943362.813699][12769:12769] CHIP:DMG: { + [1666943362.813701][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943362.813703][12769:12769] CHIP:DMG: { + [1666943362.813705][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943362.813707][12769:12769] CHIP:DMG: AttributePathIB = + [1666943362.813709][12769:12769] CHIP:DMG: { + [1666943362.813711][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943362.813714][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943362.813716][12769:12769] CHIP:DMG: Attribute = 0x0000_0002, + [1666943362.813719][12769:12769] CHIP:DMG: ListIndex = Null, + [1666943362.813721][12769:12769] CHIP:DMG: } + [1666943362.813725][12769:12769] CHIP:DMG: + [1666943362.813727][12769:12769] CHIP:DMG: Data = + [1666943362.813729][12769:12769] CHIP:DMG: { + [1666943362.813732][12769:12769] CHIP:DMG: 0x0 = "Black" (5 chars), + [1666943362.813735][12769:12769] CHIP:DMG: 0x1 = 0, + [1666943362.813737][12769:12769] CHIP:DMG: 0x2 = [ + [1666943362.813740][12769:12769] CHIP:DMG: + [1666943362.813742][12769:12769] CHIP:DMG: { + [1666943362.813745][12769:12769] CHIP:DMG: 0x0 = 0, + [1666943362.813748][12769:12769] CHIP:DMG: 0x1 = 0, + [1666943362.813750][12769:12769] CHIP:DMG: }, + [1666943362.813752][12769:12769] CHIP:DMG: ], + [1666943362.813755][12769:12769] CHIP:DMG: }, + [1666943362.813756][12769:12769] CHIP:DMG: }, + [1666943362.813760][12769:12769] CHIP:DMG: + [1666943362.813762][12769:12769] CHIP:DMG: }, + [1666943362.813768][12769:12769] CHIP:DMG: + [1666943362.813770][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943362.813775][12769:12769] CHIP:DMG: { + [1666943362.813776][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943362.813779][12769:12769] CHIP:DMG: { + [1666943362.813781][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943362.813783][12769:12769] CHIP:DMG: AttributePathIB = + [1666943362.813786][12769:12769] CHIP:DMG: { + [1666943362.813788][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943362.813790][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943362.813793][12769:12769] CHIP:DMG: Attribute = 0x0000_0002, + [1666943362.813795][12769:12769] CHIP:DMG: ListIndex = Null, + [1666943362.813797][12769:12769] CHIP:DMG: } + [1666943362.813801][12769:12769] CHIP:DMG: + [1666943362.813803][12769:12769] CHIP:DMG: Data = + [1666943362.813805][12769:12769] CHIP:DMG: { + [1666943362.813807][12769:12769] CHIP:DMG: 0x0 = "Cappuccino" (10 chars), + [1666943362.813810][12769:12769] CHIP:DMG: 0x1 = 4, + [1666943362.813812][12769:12769] CHIP:DMG: 0x2 = [ + [1666943362.813814][12769:12769] CHIP:DMG: + [1666943362.813817][12769:12769] CHIP:DMG: { + [1666943362.813820][12769:12769] CHIP:DMG: 0x0 = 0, + [1666943362.813823][12769:12769] CHIP:DMG: 0x1 = 0, + [1666943362.813826][12769:12769] CHIP:DMG: }, + [1666943362.813828][12769:12769] CHIP:DMG: ], + [1666943362.813830][12769:12769] CHIP:DMG: }, + [1666943362.813832][12769:12769] CHIP:DMG: }, + [1666943362.813836][12769:12769] CHIP:DMG: + [1666943362.813838][12769:12769] CHIP:DMG: }, + [1666943362.813844][12769:12769] CHIP:DMG: + [1666943362.813846][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943362.813850][12769:12769] CHIP:DMG: { + [1666943362.813852][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943362.813855][12769:12769] CHIP:DMG: { + [1666943362.813857][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943362.813860][12769:12769] CHIP:DMG: AttributePathIB = + [1666943362.813862][12769:12769] CHIP:DMG: { + [1666943362.813864][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943362.813866][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943362.813869][12769:12769] CHIP:DMG: Attribute = 0x0000_0002, + [1666943362.813871][12769:12769] CHIP:DMG: ListIndex = Null, + [1666943362.813873][12769:12769] CHIP:DMG: } + [1666943362.813876][12769:12769] CHIP:DMG: + [1666943362.813878][12769:12769] CHIP:DMG: Data = + [1666943362.813881][12769:12769] CHIP:DMG: { + [1666943362.813883][12769:12769] CHIP:DMG: 0x0 = "Espresso" (8 chars), + [1666943362.813886][12769:12769] CHIP:DMG: 0x1 = 7, + [1666943362.813888][12769:12769] CHIP:DMG: 0x2 = [ + [1666943362.813890][12769:12769] CHIP:DMG: + [1666943362.813893][12769:12769] CHIP:DMG: { + [1666943362.813895][12769:12769] CHIP:DMG: 0x0 = 0, + [1666943362.813898][12769:12769] CHIP:DMG: 0x1 = 0, + [1666943362.813900][12769:12769] CHIP:DMG: }, + [1666943362.813903][12769:12769] CHIP:DMG: ], + [1666943362.813905][12769:12769] CHIP:DMG: }, + [1666943362.813907][12769:12769] CHIP:DMG: }, + [1666943362.813911][12769:12769] CHIP:DMG: + [1666943362.813913][12769:12769] CHIP:DMG: }, + [1666943362.813917][12769:12769] CHIP:DMG: + [1666943362.813918][12769:12769] CHIP:DMG: ], + [1666943362.813926][12769:12769] CHIP:DMG: + [1666943362.813928][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666943362.813931][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666943362.813934][12769:12769] CHIP:DMG: } + [1666943362.813936][12769:12769] CHIP:DMG: + + + ./chip-tool modeselect read current-mode 1 1 + + Verify the "CurrentMode response" on the TH (all-cluster-minimal-app) log: + + 1666943427.104790][12769:12769] CHIP:DMG: ReportDataMessage = + [1666943427.104798][12769:12769] CHIP:DMG: { + [1666943427.104804][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666943427.104814][12769:12769] CHIP:DMG: [ + [1666943427.104820][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943427.104838][12769:12769] CHIP:DMG: { + [1666943427.104846][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943427.104858][12769:12769] CHIP:DMG: { + [1666943427.104869][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943427.104880][12769:12769] CHIP:DMG: AttributePathIB = + [1666943427.104891][12769:12769] CHIP:DMG: { + [1666943427.104904][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943427.104916][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943427.104931][12769:12769] CHIP:DMG: Attribute = 0x0000_0003, + [1666943427.104939][12769:12769] CHIP:DMG: } + [1666943427.104948][12769:12769] CHIP:DMG: + [1666943427.104956][12769:12769] CHIP:DMG: Data = 0, + [1666943427.104963][12769:12769] CHIP:DMG: }, + [1666943427.104974][12769:12769] CHIP:DMG: + [1666943427.104981][12769:12769] CHIP:DMG: }, + [1666943427.104991][12769:12769] CHIP:DMG: + [1666943427.105001][12769:12769] CHIP:DMG: ], + [1666943427.105017][12769:12769] CHIP:DMG: + [1666943427.105027][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666943427.105037][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + [1666943427.105045][12769:12769] CHIP:DMG: } + + + ./chip-tool modeselect read standard-namespace 1 1 + + Verify the "StandardNamespace response" on the TH (all-cluster-minimal-app) log: + + [1666943453.966995][12769:12769] CHIP:DMG: ReportDataMessage = + [1666943453.966997][12769:12769] CHIP:DMG: { + [1666943453.966999][12769:12769] CHIP:DMG: AttributeReportIBs = + [1666943453.967003][12769:12769] CHIP:DMG: [ + [1666943453.967005][12769:12769] CHIP:DMG: AttributeReportIB = + [1666943453.967008][12769:12769] CHIP:DMG: { + [1666943453.967010][12769:12769] CHIP:DMG: AttributeDataIB = + [1666943453.967014][12769:12769] CHIP:DMG: { + [1666943453.967017][12769:12769] CHIP:DMG: DataVersion = 0x5fb921d0, + [1666943453.967019][12769:12769] CHIP:DMG: AttributePathIB = + [1666943453.967021][12769:12769] CHIP:DMG: { + [1666943453.967025][12769:12769] CHIP:DMG: Endpoint = 0x1, + [1666943453.967027][12769:12769] CHIP:DMG: Cluster = 0x50, + [1666943453.967029][12769:12769] CHIP:DMG: Attribute = 0x0000_0001, + [1666943453.967033][12769:12769] CHIP:DMG: } + [1666943453.967035][12769:12769] CHIP:DMG: + [1666943453.967038][12769:12769] CHIP:DMG: Data = 0, + [1666943453.967040][12769:12769] CHIP:DMG: }, + [1666943453.967043][12769:12769] CHIP:DMG: + [1666943453.967045][12769:12769] CHIP:DMG: }, + [1666943453.967047][12769:12769] CHIP:DMG: + [1666943453.967050][12769:12769] CHIP:DMG: ], + [1666943453.967053][12769:12769] CHIP:DMG: + [1666943453.967055][12769:12769] CHIP:DMG: SuppressResponse = true, + [1666943453.967057][12769:12769] CHIP:DMG: InteractionModelRevision = 1 + + ./chip-tool modeselect read description 1 1 + + Verify the "Description response" on the TH (all-cluster-minimal-app) log: + + [1666941093.845092][9718:9718] CHIP:DMG: ReportDataMessage = + [1666941093.845094][9718:9718] CHIP:DMG: { + [1666941093.845096][9718:9718] CHIP:DMG: AttributeReportIBs = + [1666941093.845099][9718:9718] CHIP:DMG: [ + [1666941093.845101][9718:9718] CHIP:DMG: AttributeReportIB = + [1666941093.845105][9718:9718] CHIP:DMG: { + [1666941093.845107][9718:9718] CHIP:DMG: AttributeDataIB = + [1666941093.845110][9718:9718] CHIP:DMG: { + [1666941093.845112][9718:9718] CHIP:DMG: DataVersion = 0xb4a9126f, + [1666941093.845115][9718:9718] CHIP:DMG: AttributePathIB = + [1666941093.845117][9718:9718] CHIP:DMG: { + [1666941093.845119][9718:9718] CHIP:DMG: Endpoint = 0x1, + [1666941093.845122][9718:9718] CHIP:DMG: Cluster = 0x50, + [1666941093.845124][9718:9718] CHIP:DMG: Attribute = 0x0000_0000, + [1666941093.845126][9718:9718] CHIP:DMG: } + [1666941093.845129][9718:9718] CHIP:DMG: + [1666941093.845132][9718:9718] CHIP:DMG: Data = "Coffee" (6 chars), + [1666941093.845134][9718:9718] CHIP:DMG: }, + [1666941093.845137][9718:9718] CHIP:DMG: + [1666941093.845139][9718:9718] CHIP:DMG: }, + [1666941093.845142][9718:9718] CHIP:DMG: + [1666941093.845144][9718:9718] CHIP:DMG: ], + [1666941093.845147][9718:9718] CHIP:DMG: + [1666941093.845149][9718:9718] CHIP:DMG: SuppressResponse = true, + [1666941093.845152][9718:9718] CHIP:DMG: InteractionModelRevision = 1 disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml index 5553de105f9de3..172635fbba8b72 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_3.yaml @@ -95,7 +95,28 @@ tests: "Step 3a: Perform an OTA update on the device that requires a reboot. Allow for the DUT to update and fully reboot." verification: | - Perform an OTA update on the device that requires a reboot. Allow for the DUT to update and fully reboot.. + To perform an OTA update on Thread device follow the cmmds below: + + Step-1 :Run the below command in the path, Where we built the OTA provider app . (In this example , the path is connectedhomeip/out/debug ./chip-ota-provider-app -f ) + + ./chip-ota-provider-app -f ~/chip_repos/connectedhomeip/examples/all-clusters-app/nrfconnect/build2/zephyr/matter.ota + + Execute the command using chip-tool and verify the response as below. + + Step-2: ./chip-tool pairing onnetwork 2 20202021 + + [1659104612.593187][62366:62371] CHIP:CTL: Successfully finished commissioning step 'ReadCommissioningInfo' + + Step-3 : ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets": [{"cluster": 41, "endpoint": null, "deviceType": null}]}]' 2 0 + + [1651101661960] [90832:7598169] CHIP: [DMG] status = 0x00 (SUCCESS), + + + Step-4: ./chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 1, "providerNodeID": 2, "endpoint": 0}]' 1 0 + + Step-5: ./chip-tool otasoftwareupdaterequestor announce-otaprovider 2 0 0 0 1 0 + + Make sure the OTA update is succesful. Refer OTA testcases for the command & its output. . cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT diff --git a/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml b/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml index 887f9fb4ed4cbd..fb585c8e5c2ea2 100755 --- a/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_3_4.yaml @@ -81,6 +81,7 @@ tests: "Step 2d: Select a value from the list in step 2c with a different value than the StartUpMode value read in step 1. TH sends a write command for OnMode to the DUT with the selected value." + runIf: IsExpectedValue PICS: MOD.S.A0002 && MOD.S.C00.Rsp command: "writeAttribute" attribute: "OnMode" @@ -92,7 +93,7 @@ tests: command: "readAttribute" attribute: "OnMode" response: - value: Step2dOnModeValue + saveAs: Step3OnModeValue - label: "Step 4: TH writes 1 to StartUpOnOff attribute of the OnOff Cluster of @@ -130,4 +131,4 @@ tests: command: "readAttribute" attribute: "CurrentMode" response: - value: Step2dOnModeValue + value: Step3OnModeValue diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml index b3daa00f2aca39..14583bde4cdf79 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_1.yaml @@ -11,7 +11,6 @@ # 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: 22.4.1. [TC-SC-4.1] Commissionable Node Discovery [DUT as Commissionee] @@ -890,7 +889,7 @@ tests: represented as a variable length decimal number in ASCII without leading zeros" # The device type is not broadcasted by the accessory under CI. - PICS: MCORE.SC.VENDOR_SUBTYPE + PICS: MCORE.SC.DEVTYPE_SUBTYPE cluster: "DiscoveryCommands" command: "FindCommissionableByDeviceType" arguments: @@ -1201,10 +1200,19 @@ tests: - name: "value" value: deviceType + #TODO - label: "Step 10h: Check Commissioning Mode (_CM)" - PICS: MCORE.SC.EXTENDED_DISCOVERY - cluster: "DiscoveryCommands" - command: "FindCommissionableByCommissioningMode" + verification: | + subtype _CM must not be present + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_SKIP_SAMPLE_APP && MCORE.SC.EXTENDED_DISCOVERY + arguments: + values: + - name: "message" + value: "Enter 'y' after success" + - name: "expectedValue" + value: "y" # TXT Records @@ -1275,7 +1283,7 @@ tests: an unsigned integer with units of milliseconds and shall be encoded as a variable length decimal number in ASCII, omitting leading zeros. Shall not exceed 65535." - PICS: MCORE.SC.SAI_OP_DISCOVERY_KEY + PICS: MCORE.SC.SAI_OP_DISCOVERY_KEY && MCORE.SC.EXTENDED_DISCOVERY cluster: "DiscoveryCommands" command: "FindCommissionable" response: diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml index c375d547ca8aa0..e14ca379b0e46a 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml @@ -27,7 +27,7 @@ tests: - label: "Note" verification: | Chip-tool command used below are an example to verify the DUT as controller test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. - disabled: true. + disabled: true - label: "Precondition" verification: | diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml index b56ec65e95334e..8521cb24bc8daa 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_3.yaml @@ -27,7 +27,7 @@ tests: - label: "Note" verification: | Chip-tool command used below are an example to verify the DUT as controller test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. - disabled: true. + disabled: true - label: "Step 1: DUT is commissioned to TH and DUT is instructed to advertise diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml index 5ee31fb6d3eec8..ec1f3d22956514 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_4.yaml @@ -27,7 +27,7 @@ tests: - label: "Note" verification: | Chip-tool command used below are an example to verify the DUT as controller test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. - disabled: true. + disabled: true - label: "Precondition" verification: | diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml index a165c5be37518f..5acdae3fe9b499 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml @@ -28,7 +28,7 @@ tests: - label: "Note" verification: | Chip-tool command used below are an example to verify the DUT as commissioner test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. - disabled: true. + disabled: true - label: "Precondition" verification: | diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml index be26810aa15ea1..ffd8849ca25d08 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml @@ -183,6 +183,16 @@ tests: [1687257759.711136][17346:17348] CHIP:TOO: SwitchLatched: { [1687257759.711140][17346:17348] CHIP:TOO: NewPosition: 2 [1687257759.711141][17346:17348] CHIP:TOO: } + + In the current SDK development, Max number of positions is configured as 2, hence the current test step should fail as NewPosition reached more than the Max NumberOfPositions. + If the DUT supports more number of positions, then for the command in previous step, position should increase to the next level. Below is the sample command to execute, if the DUT supports NumberOfPositions > 2 . + + ./chip-tool switch read current-position 1 1 + + Verify CurrentPosition value is 2 On TH(chip-tool) Log and below is the sample log provided for the raspi platform: + + [1659600502.023560][4306:4311] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 391463069 + [1687847841.651568][19369:19371] CHIP:TOO: CurrentPosition: 2 disabled: true - label: @@ -214,6 +224,15 @@ tests: [1687258513.235235][17561:17563] CHIP:TOO: SwitchLatched: { [1687258513.235238][17561:17563] CHIP:TOO: NewPosition: 3 [1687258513.235239][17561:17563] CHIP:TOO: } + + In the current SDK development, Max number of positions are configured as 2, hence the current test step should fail as its reached more than the numberof position. If the DUT supports more number of positions, then for the above command, it should increase to the next level. Below is the sample command to execute , if the DUT supports more than 2 NumberOfPositions. + + ./chip-tool switch read current-position 1 1 + + Verify CurrentPosition value is 3 On TH(chip-tool) Log and below is the sample log provided for the raspi platform and below is the sample log provided for the raspi platform: + + [1659600502.023560][4306:4311] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 391463069 + [1687847873.385882][19378:19380] CHIP:TOO: CurrentPosition: 3 disabled: true - label: "Step 2h: Operator returns switch to first position" diff --git a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml index b4d441dd131f98..779fbd12afe7ec 100644 --- a/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCCM_3_1.yaml @@ -11,7 +11,6 @@ # 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: 219.3.1. [TC-TCCM-3.1] On Mode functionality with DUT as Server @@ -21,183 +20,104 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Refrigerator And Temperature Controlled Cabinet Mode" + endpoint: 1 + #Configure newmode value + new_mode_th: + type: int8u + defaultValue: 2 + nonNull_OnMode_value: + type: int8u + defaultValue: 0 tests: - - label: "Precondition" - verification: | - 1. Refrigerator and Temperature Controlled Cabinet and OnOff clusters are available on the same endpoint - - 2. The OnMode attribute is set to a non-NULL value from the mode values indicated by the SupportedModes attribute. - - Read the SupportedModes attribute, select a value from SupportedModes and save the value as OnMode_value - - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read supported-modes 1 1 - - On TH(chip-tool) log, Verify the list of SupportedModes and below is the sample log provided for the raspi platform: - - [1692182446.526184][3967:3969] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0000 DataVersion: 69758028 - [1692182446.526293][3967:3969] CHIP:TOO: SupportedModes: 3 entries - [1692182446.526346][3967:3969] CHIP:TOO: [1]: { - [1692182446.526371][3967:3969] CHIP:TOO: Label: Normal - [1692182446.526395][3967:3969] CHIP:TOO: Mode: 0 - [1692182446.526423][3967:3969] CHIP:TOO: ModeTags: 1 entries - [1692182446.526468][3967:3969] CHIP:TOO: [1]: { - [1692182446.526493][3967:3969] CHIP:TOO: Value: 0 - [1692182446.526516][3967:3969] CHIP:TOO: } - [1692182446.526540][3967:3969] CHIP:TOO: } - [1692182446.526572][3967:3969] CHIP:TOO: [2]: { - [1692182446.526595][3967:3969] CHIP:TOO: Label: Rapid Cool - [1692182446.526617][3967:3969] CHIP:TOO: Mode: 1 - [1692182446.526642][3967:3969] CHIP:TOO: ModeTags: 1 entries - [1692182446.526670][3967:3969] CHIP:TOO: [1]: { - [1692182446.526695][3967:3969] CHIP:TOO: Value: 16384 - [1692182446.526717][3967:3969] CHIP:TOO: } - [1692182446.526741][3967:3969] CHIP:TOO: } - [1692182446.526773][3967:3969] CHIP:TOO: [3]: { - [1692182446.526795][3967:3969] CHIP:TOO: Label: Rapid Freeze - [1692182446.526817][3967:3969] CHIP:TOO: Mode: 2 - [1692182446.526842][3967:3969] CHIP:TOO: ModeTags: 1 entries - [1692182446.526870][3967:3969] CHIP:TOO: [1]: { - [1692182446.526894][3967:3969] CHIP:TOO: Value: 16385 - [1692182446.526917][3967:3969] CHIP:TOO: } - [1692182446.526940][3967:3969] CHIP:TOO: } - - - Set the OnMode attribute value to OnMode_value - - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode write on-mode 0 1 1 - - On TH(chip-tool) log, Verify DUT responds with a SUCCESS (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1692170913.264454][3071:3073] CHIP:DMG: StatusIB = - [1692170913.264489][3071:3073] CHIP:DMG: { - [1692170913.264522][3071:3073] CHIP:DMG: status = 0x00 (SUCCESS), - [1692170913.264557][3071:3073] CHIP:DMG: }, - disabled: true + - label: "Step 1: Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: - "Step 1: Commission DUT to TH (can be skipped if done in a preceding - test)." - verification: | - - disabled: true - - - label: "Step 2: TH reads from the DUT the OnMode attribute." + "Preconditions: The OnMode attribute is set to a non-NULL value from + the mode values indicated by the SupportedModes attribute." PICS: TCCM.S.A0003 && TCCM.S.F00 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read on-mode 1 1 + command: "writeAttribute" + attribute: "OnMode" + arguments: + value: nonNull_OnMode_value - On TH(chip-tool), Verify that OnMode attribute value is an integer - Save the value as on_mode_dut and below is the sample log provided for the raspi platform, here OnMode value is 0 - - [1690190167.005388][16387:16389] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0003 DataVersion: 473867556 - [1690190167.005447][16387:16389] CHIP:TOO: OnMode: 0 - disabled: true + - label: "Step 2: TH reads the OnMode attribute from the DUT" + PICS: TCCM.S.A0003 && TCCM.S.F00 + command: "readAttribute" + attribute: "OnMode" + response: + saveAs: on_mode_dut - - label: "Step 3: TH reads from the DUT the CurrentMode attribute." + - label: "Step 3a: TH reads the CurrentMode attribute from the DUT" PICS: TCCM.S.A0001 && TCCM.S.F00 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 - - On TH(chip-tool), Verify that CurrentMode attribute is an integer. - Save the value as old_current_mode_dut and below is the sample log provided for the raspi platform, Here CurrentMode value is 0 + command: "readAttribute" + attribute: "CurrentMode" + response: + saveAs: old_current_mode_dut - NOTE: If on_mode_dut is equal to old_current_mode_dut proceed to step 4. Else proceed to step 6. - - [1690190333.843046][16430:16432] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0001 DataVersion: 2612443001 - [1690190333.843064][16430:16432] CHIP:TOO: CurrentMode: 0 - disabled: true - - - label: "Step 4: TH reads from the DUT the SupportedModes attribute." + - label: + "Step 3b: If the OnMode and CurrentMode attributes have the same + value, proceed to step 4, Otherwise proceed to step 6" + PICS: TCCM.S.A0003 && TCCM.S.A0001 && TCCM.S.F00 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: on_mode_dut + - name: "Value2" + value: old_current_mode_dut + response: + - values: + - name: "Equals" + saveAs: IsExpectedValue + + - label: "Step 4:TH reads the SupportedModes attribute from the DUT" + runIf: IsExpectedValue PICS: TCCM.S.A0000 && TCCM.S.F00 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read supported-modes 1 1 - - On TH(chip-tool) log, Verify DUT response contains a list of ModeOptionsStruct entries - - Verify that the list has two or more entries - - Save the Mode field values as supported_modes_dut - - Select a value from supported_modes_dut different from on_mode_dut. Save the value as new_mode_th, below is the sample log provided for the raspi platform: - - [1690190348.956716][16435:16437] CHIP:DMG: } - [1690190348.956853][16435:16437] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0000 DataVersion: 2612443001 - [1690190348.956895][16435:16437] CHIP:TOO: SupportedModes: 3 entries - [1690190348.956919][16435:16437] CHIP:TOO: [1]: { - [1690190348.956924][16435:16437] CHIP:TOO: Label: Normal - [1690190348.956929][16435:16437] CHIP:TOO: Mode: 0 - [1690190348.956935][16435:16437] CHIP:TOO: ModeTags: 1 entries - [1690190348.956952][16435:16437] CHIP:TOO: [1]: { - [1690190348.956955][16435:16437] CHIP:TOO: Value: 0 - [1690190348.956958][16435:16437] CHIP:TOO: } - [1690190348.956961][16435:16437] CHIP:TOO: } - [1690190348.956967][16435:16437] CHIP:TOO: [2]: { - [1690190348.956970][16435:16437] CHIP:TOO: Label: Rapid Cool - [1690190348.956972][16435:16437] CHIP:TOO: Mode: 1 - [1690190348.956976][16435:16437] CHIP:TOO: ModeTags: 1 entries - [1690190348.956980][16435:16437] CHIP:TOO: [1]: { - [1690190348.956982][16435:16437] CHIP:TOO: Value: 16384 - [1690190348.956984][16435:16437] CHIP:TOO: } - [1690190348.956987][16435:16437] CHIP:TOO: } - [1690190348.956992][16435:16437] CHIP:TOO: [3]: { - [1690190348.956994][16435:16437] CHIP:TOO: Label: Rapid Freeze - [1690190348.956997][16435:16437] CHIP:TOO: Mode: 2 - [1690190348.957000][16435:16437] CHIP:TOO: ModeTags: 1 entries - [1690190348.957003][16435:16437] CHIP:TOO: [1]: { - [1690190348.957006][16435:16437] CHIP:TOO: Value: 16385 - [1690190348.957008][16435:16437] CHIP:TOO: } - [1690190348.957010][16435:16437] CHIP:TOO: } - disabled: true + command: "readAttribute" + attribute: "SupportedModes" + response: + constraints: + type: list + minLength: 2 - label: - "Step 5: TH sends a ChangeToMode command to the DUT with NewMode set - to new_mode_th" + "Step 5: Select a value from supported_modes_dut different from + on_mode_dut. Save the value as new_mode_th. TH sends a ChangeToMode + command to the DUT with NewMode set to new_mode_th" + runIf: IsExpectedValue PICS: TCCM.S.C00.Rsp && TCCM.S.F00 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode change-to-mode 2 1 1 - - Verify on TH(chip-tool) log, DUT responds contains a ChangeToModeResponse command with a SUCCESS (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1690190379.801241][16449:16451] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Command 0x0000_0001 - [1690190379.801256][16449:16451] CHIP:TOO: ChangeToModeResponse: { - [1690190379.801260][16449:16451] CHIP:TOO: status: 0 - [1690190379.801263][16449:16451] CHIP:TOO: } - disabled: true - - - label: "Step 6: TH sends a Off command to the DUT" + command: "ChangeToMode" + arguments: + values: + - name: "NewMode" + value: new_mode_th + response: + values: + - name: "Status" + value: 0x00 + + - label: "Step 6: TH sends an Off command to the DUT" PICS: OO.S.C00.Rsp && TCCM.S.F00 - verification: | - ./chip-tool onoff off 1 1 + cluster: "On/Off" + command: "Off" - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1684931101.118656][20709:20711] CHIP:DMG: StatusIB = - [1684931101.118659][20709:20711] CHIP:DMG: { - [1684931101.118663][20709:20711] CHIP:DMG: status = 0x00 (SUCCESS), - [1684931101.118665][20709:20711] CHIP:DMG: }, - disabled: true - - - label: "Step 7: TH sends a On command to the DUT" + - label: "Step 7: TH sends an On command to the DUT" PICS: OO.S.C01.Rsp && TCCM.S.F00 - verification: | - ./chip-tool onoff on 1 1 - - On TH(chip-tool) log, Verify that DUT responds with a successful (value 0x00) status response and below is the sample log provided for the raspi platform: - - [1684931217.055514][20729:20731] CHIP:DMG: StatusIB = - [1684931217.055517][20729:20731] CHIP:DMG: { - [1684931217.055520][20729:20731] CHIP:DMG: status = 0x00 (SUCCESS), - [1684931217.055523][20729:20731] CHIP:DMG: }, - disabled: true + cluster: "On/Off" + command: "On" - - label: "Step 8: TH reads from the DUT the CurrentMode attribute." + - label: "Step 8: TH reads the CurrentMode attribute from the DUT" PICS: TCCM.S.A0001 && TCCM.S.F00 - verification: | - ./chip-tool refrigeratorandtemperaturecontrolledcabinetmode read current-mode 1 1 - - On TH(chip-tool), Verify that CurrentMode attribute value is an integer value and equal to on_mode_dut, below is the sample log provided for the raspi platform, here CurrentMode attribute value is 0 - - - [1690190401.931156][16461:16463] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0052 Attribute 0x0000_0001 DataVersion: 2612443003 - [1690190401.931176][16461:16463] CHIP:TOO: CurrentMode: 0 - disabled: true + command: "readAttribute" + attribute: "CurrentMode" + response: + value: on_mode_dut diff --git a/src/app/tests/suites/certification/Test_TC_TCTL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TCTL_2_1.yaml index 4496be8836d46d..737113bfcdb1e4 100644 --- a/src/app/tests/suites/certification/Test_TC_TCTL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCTL_2_1.yaml @@ -11,7 +11,6 @@ # 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: 178.2.1. [TC-TCTL-2.1] Attributes with DUT as Server @@ -22,76 +21,86 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Temperature Control" + endpoint: 1 tests: - - label: "Note" - verification: | - This is a simulated example log for instructional purposes only. In real scenarios, the actual log may vary depending on the feature implementation in Reference App. - disabled: true - - - label: "Step 1: Commission DUT to TH" - verification: | - - disabled: true + - label: "Step 1: Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: TH reads from the DUT the MinTemperature attribute" PICS: TCTL.S.A0001 - verification: | - ./chip-tool temperaturecontrol read min-temperature 1 1 - On TH(chip-tool), Verify that the DUT response contains a temperature with value less than TCTL.S.A0002(MaxTemperature). - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0001 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: min-temperature: 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "MinTemperature" + response: + saveAs: MinTemperatureValue + constraints: + type: temperature - label: "Step 3: TH reads from the DUT the MaxTemperature attribute" PICS: TCTL.S.A0002 - verification: | - ./chip-tool temperaturecontrol read max-temperature 1 1 - On TH(chip-tool), Verify that the DUT response contains a temperature with value greater than TCTL.S.A0001(MinTemperature). - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0002 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: max-temperature :0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "MaxTemperature" + response: + saveAs: MaxTemperatureValue + constraints: + type: temperature - label: "Step 4: TH reads from the DUT the Step attribute" PICS: TCTL.S.A0003 - verification: | - ./chip-tool temperaturecontrol read step 1 1 - - On TH(chip-tool), Verify that the DUT response contains a temperature value <= TCTL.S.A0002(MaxTemperature) - TCTL.S.A0001(MinTemperature) - and (TCTL.S.A0002(MaxTemperature) - TCTL.S.A0001(MinTemperature)) % DUT response == 0 - - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0003 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: step: 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "Step" + response: + saveAs: StepValue + constraints: + type: temperature + maxValue: MaxTemperatureValue - MinTemperatureValue + + - label: + "Verify that the DUT response (maxTemperature - minTemperature) % the + received value of the Step attribute == 0." + PICS: TCTL.S.A0003 && TCTL.S.A0002 && TCTL.S.A0001 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: ( MaxTemperatureValue - MinTemperatureValue ) % StepValue + - name: "Value2" + value: 0 + response: + - values: + - name: "Equals" + value: true - label: "Step 5: TH reads from the DUT the TemperatureSetpoint attribute" PICS: TCTL.S.A0000 - verification: | - ./chip-tool temperaturecontrol read temperature-setpoint 1 1 - On TH(chip-tool), Verify that the DUT response contains a temperature with value between minTemperature and maxTemperature inclusive. - and and (temperature value - minTemperature) % the received value of the Step attribute from step 4 == 0. - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0000 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: TemperatureSetpoint : 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "TemperatureSetpoint" + response: + saveAs: temperatureValue + constraints: + minValue: MinTemperatureValue + maxValue: MaxTemperatureValue + + - label: + "Verify that the DUT response (temperature value - minTemperature) % + the received value of the Step attribute from step 4 == 0." + PICS: TCTL.S.A0000 && TCTL.S.A0001 + cluster: "EqualityCommands" + command: "UnsignedNumberEquals" + arguments: + values: + - name: "Value1" + value: ( temperatureValue - MinTemperatureValue ) % StepValue + - name: "Value2" + value: 0 + response: + - values: + - name: "Equals" + value: true diff --git a/src/app/tests/suites/certification/Test_TC_TCTL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TCTL_2_2.yaml index bcdb79209c7a36..a776b6901065ba 100644 --- a/src/app/tests/suites/certification/Test_TC_TCTL_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCTL_2_2.yaml @@ -11,7 +11,6 @@ # 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: 178.2.2. [TC-TCTL-2.2] Optional Temperature number attributes with DUT as @@ -23,61 +22,43 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Temperature Control" + endpoint: 1 tests: - - label: "Note" - verification: | - Note: This is a simulated example log for instructional purposes only. In real scenarios, the actual log may vary depending on the feature implementation in Reference App. - disabled: true - - - label: "Step 1: Commission DUT to TH" - verification: | - - disabled: true + - label: "Step 1: Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: TH reads from the DUT the MinTemperature attribute" PICS: TCTL.S.A0001 - verification: | - ./chip-tool temperaturecontrol read min-temperature 1 1 - - On TH(chip-tool), Verify that the DUT response contains a temperature with value less than TCTL.S.A0002(MaxTemperature). - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0001 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: MinTemperature: 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "MinTemperature" + response: + saveAs: MinTemperatureValue + constraints: + type: temperature - label: "Step 3: TH reads from the DUT the MaxTemperature attribute" PICS: TCTL.S.A0002 - verification: | - ./chip-tool temperaturecontrol read max-temperature 1 1 - - On TH(chip-tool), Verify that the DUT response contains a temperature with value greater than TCTL.S.A0001(MinTemperature). - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0002 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: MaxTemperature: 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "MaxTemperature" + response: + saveAs: MaxTemperatureValue + constraints: + type: temperature + minValue: MinTemperatureValue - label: "Step 4: TH reads from the DUT the TemperatureSetpoint attribute" PICS: TCTL.S.A0000 - verification: | - ./chip-tool temperaturecontrol read temperature-setpoint 1 1 - - On TH(chip-tool), Verify that the DUT response contains a temperature with value between MinTemperature and TCTL.S.A0002(MaxTemperature) inclusive. - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0000 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: TemperatureSetpoint : 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - disabled: true + command: "readAttribute" + attribute: "TemperatureSetpoint" + response: + saveAs: temperatureValue + constraints: + minValue: MinTemperatureValue + maxValue: MaxTemperatureValue diff --git a/src/app/tests/suites/certification/Test_TC_TCTL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_TCTL_2_3.yaml index ba8136173dcc58..4da6e592c3b245 100644 --- a/src/app/tests/suites/certification/Test_TC_TCTL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_TCTL_2_3.yaml @@ -11,7 +11,6 @@ # 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: 178.2.3. [TC-TCTL-2.3] Optional temperature level attributes with DUT as @@ -23,54 +22,51 @@ PICS: config: nodeId: 0x12344321 - cluster: "Basic Information" - endpoint: 0 + cluster: "Temperature Control" + endpoint: 1 tests: - - label: "Note" - verification: | - While verifying below test case we will get 0 and null value for few attributes, as per spec 0 and null value is default for those attributes. - disabled: true - - - label: "Step 1: Commission DUT to TH" - verification: | - - disabled: true + - label: "Step 1: Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId - label: "Step 2: TH reads from the DUT the SelectedTemperatureLevel attribute" PICS: TCTL.S.A0004 - verification: | - ./chip-tool temperaturecontrol read selected-temperature-level 1 1 - On TH(chip-tool), Verify that the DUT response contains a uint8 with value between 0 and 31 inclusive. - - [1689770673.417838][9280:9282] CHIP:DMG: SuppressResponse = true, - [1689770673.417845][9280:9282] CHIP:DMG: InteractionModelRevision = 1 - [1689770673.417851][9280:9282] CHIP:DMG: } - [1689770673.417920][9280:9282] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0004 DataVersion: 2844459846 - [1689770673.417946][9280:9282] CHIP:TOO: SelectedTemperatureLevel: 0 - [1689770673.418017][9280:9282] CHIP:EM: <<< [E:21789i S:28147 M:181187483 (Ack:172880761)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1689770673.418031][9280:9282] CHIP:IN: (S) Sending msg 181187483 on secure session with LSID: 28147 - [1689770673.418076][9280:9282] CHIP:EM: Flushed pending ack for MessageCounter:172880761 on exchange 21789i - [1689770673.418170][9280:9280] CHIP:CTL: Shutting down the commissioner - disabled: true + command: "readAttribute" + attribute: "SelectedTemperatureLevel" + response: + constraints: + type: int8u + minValue: 0 + maxValue: 31 - label: "Step 3: TH reads from the DUT the SupportedTemperatureLevels attribute" PICS: TCTL.S.A0005 + command: "readAttribute" + attribute: "SupportedTemperatureLevels" + response: + constraints: + type: list + maxLength: 32 + + - label: + "Verify that the DUT response contains a list of strings with each + string length not exceeding 16 characters." verification: | - ./chip-tool temperaturecontrol read supported-temperature-levels 1 1 - On TH(chip-tool), Verify that the DUT response contains a list of up to 32 strings with each string length not exceeding 16 characters. - [1689770716.974439][9291:9293] CHIP:DMG: SuppressResponse = true, - [1689770716.974446][9291:9293] CHIP:DMG: InteractionModelRevision = 1 - [1689770716.974451][9291:9293] CHIP:DMG: } - [1689770716.974558][9291:9293] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0056 Attribute 0x0000_0005 DataVersion: 2844459846 - [1689770716.974594][9291:9293] CHIP:TOO: SupportedTemperatureLevels: 3 entries - [1689770716.974607][9291:9293] CHIP:TOO: [1]: Hot - [1689770716.974614][9291:9293] CHIP:TOO: [2]: Warm - [1689770716.974620][9291:9293] CHIP:TOO: [3]: Freezing - [1689770716.974685][9291:9293] CHIP:EM: <<< [E:59031i S:44407 M:101895658 (Ack:80765321)] (S) Msg TX to 1:0000000000000001 [9CA1] --- Type 0000:10 (SecureChannel:StandaloneAck) - [1689770716.974699][9291:9293] CHIP:IN: (S) Sending msg 101895658 on secure session with LSID: 44407 - [1689770716.974728][9291:9293] CHIP:EM: Flushed pending ack for MessageCounter:80765321 on exchange 59031i - disabled: true + On TH(chip-tool), Verify that the DUT response contains a list of strings with each string length not exceeding 16 characters. + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT && TCTL.S.A0005 + arguments: + values: + - name: "message" + value: "Please enter 'y' after success" + - name: "expectedValue" + value: "y" diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml index bd9f9f31819b5f..36b535a024f6c0 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml @@ -335,7 +335,7 @@ tests: maxValue: 3000 - label: "Step 17a: Reads attribute from DUT: MinHeatSetpointLimit" - PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017 && TSTAT.S.A0003 + PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017 && TSTAT.S.A0019 command: "readAttribute" attribute: "MinHeatSetpointLimit" response: @@ -362,7 +362,7 @@ tests: verifies that the value is within range" command: "readAttribute" attribute: "MinHeatSetpointLimit" - PICS: TSTAT.S.A0003 && !TSTAT.S.A0015 && !TSTAT.S.A0016 && !TSTAT.S.F05 + PICS: TSTAT.S.A0015 && !TSTAT.S.A0003 && !TSTAT.S.F05 response: constraints: type: int16s diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml index 69ee9268a40a00..574725b5c06b84 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml @@ -1577,7 +1577,7 @@ tests: "Step 10a: Writes (sets back) default value of MinHeatSetpointLimit" command: "writeAttribute" attribute: "MinHeatSetpointLimit" - PICS: TSTAT.S.F01 && TSTAT.S.A0015 && TSTAT.S.A0003 + PICS: TSTAT.S.F00 && TSTAT.S.A0015 && TSTAT.S.A0003 arguments: value: AbsMinHeatSetpointLimitValue @@ -1585,21 +1585,21 @@ tests: "Step 10a: Writes (sets back) default value of MinHeatSetpointLimit" command: "writeAttribute" attribute: "MinHeatSetpointLimit" - PICS: TSTAT.S.F01 && TSTAT.S.A0015 && !TSTAT.S.A0003 + PICS: TSTAT.S.F00 && TSTAT.S.A0015 && !TSTAT.S.A0003 arguments: value: 700 - label: "Step 10a: Writes (sets back)default value of MaxHeatSetpointLimit" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" - PICS: TSTAT.S.F01 && TSTAT.S.A0016 && !TSTAT.S.F05 && TSTAT.S.A0004 + PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && TSTAT.S.A0004 arguments: value: AbsMaxHeatSetpointLimitValue - label: "Step 10a: Writes (sets back)default value of MaxHeatSetpointLimit" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" - PICS: TSTAT.S.F01 && TSTAT.S.A0016 && !TSTAT.S.F05 && !TSTAT.S.A0004 + PICS: TSTAT.S.F00 && TSTAT.S.A0016 && !TSTAT.S.F05 && !TSTAT.S.A0004 arguments: value: 3000 @@ -1607,7 +1607,7 @@ tests: "Step 10a: Writes MaxHeatSetpointLimit That meets the deadband of 2.5C" command: "writeAttribute" attribute: "MaxHeatSetpointLimit" - PICS: TSTAT.S.F01 && TSTAT.S.A0016 && TSTAT.S.F05 + PICS: TSTAT.S.F00 && TSTAT.S.A0016 && TSTAT.S.F05 arguments: value: 2950 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml index bddc895d325ed8..e05c0653ff5c94 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml @@ -26,6 +26,22 @@ config: cluster: "Window Covering" endpoint: 1 + Step1bWaitTime: + type: int16u + defaultValue: 10000 + Step2bWaitTime: + type: int16u + defaultValue: 500 + Step2eWaitTime: + type: int16u + defaultValue: 1000 + Step4bWaitTime: + type: int16u + defaultValue: 1000 + Step5aWaitTime: + type: int16u + defaultValue: 500 + tests: - label: "Step 0: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" @@ -44,13 +60,13 @@ tests: PICS: WNCV.S.C01.Rsp command: "DownOrClose" - - label: "Step 1b: TH Waits for 10 seconds movement(s) on the device" + - label: "Step 1b: TH Waits for 5 - 15 seconds movement(s) on the device" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 10000 + value: Step1bWaitTime ### ### Mandatory Depends on the FeatureMap @@ -120,7 +136,7 @@ tests: arguments: values: - name: "ms" - value: 100 + value: Step2bWaitTime ### Mandatory Depends on the FeatureMap - label: @@ -142,13 +158,13 @@ tests: response: value: 0 - - label: "Step 2e: TH leave the device moving for 2 seconds" + - label: "Step 2e: TH leave the device moving for 1-5 seconds" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 2000 + value: Step2eWaitTime ######## UpOrOpen Reports ####### ### Step 3x -> Check UpOrOpen Mid term effects @@ -302,7 +318,7 @@ tests: arguments: values: - name: "ms" - value: 3000 + value: Step4bWaitTime ### Must Be ZERO # The value of bit 0..1 must be 00b & if (LF) value of bit 2..3 must be 00b & if (TL) value of bit 4..5 must be 00b @@ -322,7 +338,7 @@ tests: arguments: values: - name: "ms" - value: 1000 + value: Step5aWaitTime ### Mandatory Depends on the FeatureMap shall be tested as equals CurrentPositionLiftPercent100ths - label: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml index ed3873b6ae10bc..4b292d89fad9fb 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml @@ -26,6 +26,22 @@ config: cluster: "Window Covering" endpoint: 1 + Step1bWaitTime: + type: int16u + defaultValue: 10000 + Step2bWaitTime: + type: int16u + defaultValue: 500 + Step2eWaitTime: + type: int16u + defaultValue: 1000 + Step4bWaitTime: + type: int16u + defaultValue: 1000 + Step5aWaitTime: + type: int16u + defaultValue: 500 + tests: - label: "Step 0: Wait for the commissioned device to be retrieved" cluster: "DelayCommands" @@ -50,7 +66,7 @@ tests: arguments: values: - name: "ms" - value: 10000 + value: Step1bWaitTime ### ### Mandatory Depends on the FeatureMap @@ -120,7 +136,7 @@ tests: arguments: values: - name: "ms" - value: 100 + value: Step2bWaitTime ### Mandatory Depends on the FeatureMap - label: @@ -148,7 +164,7 @@ tests: arguments: values: - name: "ms" - value: 2000 + value: Step2eWaitTime ######## DownOrClose Reports ####### ### Step 3x -> Check DownOrClose Mid term effects @@ -302,7 +318,7 @@ tests: arguments: values: - name: "ms" - value: 3000 + value: Step4bWaitTime ### Must Be ZERO # The value of bit 0..1 must be 00b & if (LF) value of bit 2..3 must be 00b & if (TL) value of bit 4..5 must be 00b @@ -322,7 +338,7 @@ tests: arguments: values: - name: "ms" - value: 1000 + value: Step5aWaitTime ### Mandatory Depends on the FeatureMap shall be tested as equals CurrentPositionLiftPercent100ths - label: diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index d709e8f55d907b..509c37ed6fd293 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -624,10 +624,10 @@ GRPKEY.S.A0003=1 GRPKEY.S.C00.Rsp=1 GRPKEY.S.C01.Rsp=1 -GRPKEY.S.C02.Rsp=1 +GRPKEY.S.C02.Tx=1 GRPKEY.S.C03.Rsp=1 GRPKEY.S.C04.Rsp=1 -GRPKEY.S.C05.Rsp=1 +GRPKEY.S.C05.Tx=1 GRPKEY.C=1 GRPKEY.C.A0000=1 @@ -763,8 +763,8 @@ LTIME.S.A0000=1 LTIME.S.A0001=1 LTIME.S.A0002=1 -LTIME.S.A0000.12HR=1 -LTIME.S.A0000.24HR=1 +LTIME.S.M.12HR=1 +LTIME.S.M.24HR=1 LTIME.C=1 LTIME.C.A0000=1 @@ -2620,10 +2620,10 @@ TCTL.C=1 TCTL.S.F00=0 TCTL.S.F01=1 TCTL.S.F02=0 -TCTL.S.A0000=1 -TCTL.S.A0001=1 -TCTL.S.A0002=1 -TCTL.S.A0003=1 +TCTL.S.A0000=0 +TCTL.S.A0001=0 +TCTL.S.A0002=0 +TCTL.S.A0003=0 TCTL.S.A0004=1 TCTL.S.A0005=1 TCC.M.ManuallyControlledTemperature=1 diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 12fc67440426e6..1f2d48eae8f5d5 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -197,8 +197,16 @@ "Test_TC_SMOKECO_2_6" ], "Switch": ["Test_TC_SWTCH_1_1", "Test_TC_SWTCH_2_1"], - "TemperatureControlledCabinetMode": ["Test_TC_TCCM_1_1"], - "TemperatureControl": ["Test_TC_TCTL_1_1"], + "TemperatureControlledCabinetMode": [ + "Test_TC_TCCM_1_1", + "Test_TC_TCCM_3_1" + ], + "TemperatureControl": [ + "Test_TC_TCTL_1_1", + "Test_TC_TCTL_2_1", + "Test_TC_TCTL_2_2", + "Test_TC_TCTL_2_3" + ], "TemperatureMeasurement": ["Test_TC_TMP_1_1", "Test_TC_TMP_2_1"], "Thermostat": ["Test_TC_TSTAT_1_1", "Test_TC_TSTAT_2_1"], "ThermostatUserConfiguration": [ diff --git a/src/app/tests/suites/manualTests.json b/src/app/tests/suites/manualTests.json index e797e989ad3f53..b6a4f38f9c90d2 100644 --- a/src/app/tests/suites/manualTests.json +++ b/src/app/tests/suites/manualTests.json @@ -246,6 +246,7 @@ "WiFiNetworkDiagnostics": ["Test_TC_DGWIFI_2_2"], "WindowCovering": [], "FlowMeasurement": ["Test_TC_FLW_2_2"], + "GroupKeyManagement": ["Test_TC_GRPKEY_5_4"], "OccupancySensing": ["Test_TC_OCC_3_1"], "PowerSource": ["Test_TC_PS_2_2", "Test_TC_PS_3_1"], "BooleanState": ["Test_TC_BOOL_2_2"], @@ -259,7 +260,11 @@ "DoorLock": ["Test_TC_DRLK_2_10", "Test_TC_DRLK_3_2"], "LocalizationConfiguration": [], "LevelControl": [], - "LaundryWasherMode": ["Test_TC_LWM_1_2", "Test_TC_LWM_3_2"], + "LaundryWasherMode": [ + "Test_TC_LWM_1_2", + "Test_TC_LWM_3_2", + "Test_TC_LWM_3_3" + ], "OnOff": ["Test_TC_OO_2_3"], "OperationalState": ["Test_TC_OPSTATE_2_2"], "RelativeHumidityMeasurement": ["Test_TC_RH_2_2"], @@ -275,18 +280,11 @@ "TemperatureControlledCabinetMode": [ "Test_TC_TCCM_1_2", "Test_TC_TCCM_2_1", - "Test_TC_TCCM_3_1", "Test_TC_TCCM_3_2", "Test_TC_TCCM_3_3" ], "Switch": ["Test_TC_SWTCH_2_2", "Test_TC_SWTCH_3_2"], - "TemperatureControl": [ - "Test_TC_TCTL_2_1", - "Test_TC_TCTL_2_2", - "Test_TC_TCTL_2_3", - "Test_TC_TCTL_3_2", - "Test_TC_TCTL_3_3" - ], + "TemperatureControl": ["Test_TC_TCTL_3_2", "Test_TC_TCTL_3_3"], "TemperatureMeasurement": ["Test_TC_TMP_2_2"], "Thermostat": ["Test_TC_TSTAT_3_2"], "ThermostatUserConfiguration": [], @@ -341,6 +339,7 @@ "WiFiNetworkDiagnostics", "WindowCovering", "FlowMeasurement", + "GroupKeyManagement", "OccupancySensing", "PowerSource", "BooleanState", diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 1f549307744223..a9fee22507a367 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -206,6 +206,8 @@ class TestList : public Command { printf("Test_TC_SWTCH_1_1\n"); printf("Test_TC_TCCM_1_1\n"); printf("Test_TC_TCTL_1_1\n"); + printf("Test_TC_TCTL_2_2\n"); + printf("Test_TC_TCTL_2_3\n"); printf("Test_TC_TMP_1_1\n"); printf("Test_TC_TMP_2_1\n"); printf("Test_TC_TSTAT_1_1\n"); @@ -47075,122 +47077,94 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { err = TestStep4aReadPacketRxCountAttributeConstraints_3(); break; case 4: - ChipLogProgress(chipTool, - " ***** Test Step 4 : Step 4b: Read PacketRxCount value from DUT and verify the number of packets received on " - "ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0002")) { + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4b: Reboot target device\n"); + if (ShouldSkip("PICS_SDK_CI_ONLY")) { NextTest(); return; } - err = TestStep4bReadPacketRxCountValueFromDutAndVerifyTheNumberOfPacketsReceivedOnEthernetNetworkInterface_4(); + err = TestStep4bRebootTargetDevice_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 5a: Read PacketTxCount attribute constraints\n"); - if (ShouldSkip("DGETH.S.A0003")) { + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4c: Reboot target device(DUT)\n"); + if (ShouldSkip("PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } - err = TestStep5aReadPacketTxCountAttributeConstraints_5(); + err = TestStep4cRebootTargetDeviceDUT_5(); break; case 6: - ChipLogProgress(chipTool, - " ***** Test Step 6 : Step 5b: Read PacketTxCount value from DUT and verify the number of packets received on " - "ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0003")) { - NextTest(); - return; - } - err = TestStep5bReadPacketTxCountValueFromDutAndVerifyTheNumberOfPacketsReceivedOnEthernetNetworkInterface_6(); + ChipLogProgress(chipTool, " ***** Test Step 6 : Wait for the commissioned device to be retrieved\n"); + err = TestWaitForTheCommissionedDeviceToBeRetrieved_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6a: Read TxErrCount attribute constraints\n"); - if (ShouldSkip("DGETH.S.A0004")) { + ChipLogProgress( + chipTool, " ***** Test Step 7 : Step 4d: Upon a node reboot, PacketRxCount attribute value will be reset to 0\n"); + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0002")) { NextTest(); return; } - err = TestStep6aReadTxErrCountAttributeConstraints_7(); + err = TestStep4dUponANodeRebootPacketRxCountAttributeValueWillBeResetTo0_7(); break; case 8: - ChipLogProgress(chipTool, - " ***** Test Step 8 : Step 6b: Read TxErrCount value from DUT and verify value indicates the number of failed " - "packet transmission on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0004")) { + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 5a: Read PacketTxCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0003")) { NextTest(); return; } - err = TestStep6bReadTxErrCountValueFromDutAndVerifyValueIndicatesTheNumberOfFailedPacketTransmissionOnEthernetNetworkInterface_8(); + err = TestStep5aReadPacketTxCountAttributeConstraints_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Step 7a: Read CollisionCount attribute constraints\n"); - if (ShouldSkip("DGETH.S.A0005")) { + ChipLogProgress(chipTool, + " ***** Test Step 9 : Step 5b: Read PacketTxCount attribute constraints, Upon a node reboot, the value will be " + "reset to 0\n"); + if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0003")) { NextTest(); return; } - err = TestStep7aReadCollisionCountAttributeConstraints_9(); + err = TestStep5bReadPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9(); break; case 10: ChipLogProgress(chipTool, - " ***** Test Step 10 : Step 7b: Read CollisionCount value from DUT and verify value indicates the number of " - "collision occurred while transmitting packets on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0005")) { + " ***** Test Step 10 : Step 6: Read TxErrCount attribute constraints, Upon a node reboot, the value will be reset " + "to 0\n"); + if (ShouldSkip("DGETH.S.A0004")) { NextTest(); return; } - err = TestStep7bReadCollisionCountValueFromDutAndVerifyValueIndicatesTheNumberOfCollisionOccurredWhileTransmittingPacketsOnEthernetNetworkInterface_10(); + err = TestStep6ReadTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 8a: Read OverrunCount attribute constraints\n"); - if (ShouldSkip("DGETH.S.A0006")) { + ChipLogProgress(chipTool, + " ***** Test Step 11 : Step 7: Read CollisionCount attribute , Upon a node reboot, the value will be reset to 0\n"); + if (ShouldSkip("DGETH.S.A0005")) { NextTest(); return; } - err = TestStep8aReadOverrunCountAttributeConstraints_11(); + err = TestStep7ReadCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11(); break; case 12: - ChipLogProgress(chipTool, - " ***** Test Step 12 : Step 8b: Read OverrunCount value from DUT and verify value indicates the number of packets " - "dropped due to lack of buffer memory on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0006")) { + ChipLogProgress(chipTool, " ***** Test Step 12 : Step 8: Read OverrunCount attribute constraints\n"); + if (ShouldSkip("DGETH.S.A0006")) { NextTest(); return; } - err = TestStep8bReadOverrunCountValueFromDutAndVerifyValueIndicatesTheNumberOfPacketsDroppedDueToLackOfBufferMemoryOnEthernetNetworkInterface_12(); + err = TestStep8ReadOverrunCountAttributeConstraints_12(); break; case 13: - ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9a: Read CarrierDetect attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 13 : Step 9: Read CarrierDetect attribute constraints\n"); if (ShouldSkip("DGETH.S.A0007")) { NextTest(); return; } - err = TestStep9aReadCarrierDetectAttributeConstraints_13(); + err = TestStep9ReadCarrierDetectAttributeConstraints_13(); break; case 14: - ChipLogProgress(chipTool, - " ***** Test Step 14 : Step 9b: Read CarrierDetect value from DUT and verify value indicates the presence of " - "carrier detect control signal on ethernet network interface\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0007")) { - NextTest(); - return; - } - err = TestStep9bReadCarrierDetectValueFromDutAndVerifyValueIndicatesThePresenceOfCarrierDetectControlSignalOnEthernetNetworkInterface_14(); - break; - case 15: - ChipLogProgress(chipTool, " ***** Test Step 15 : Step 10a: Read TimeSinceReset attribute constraints\n"); + ChipLogProgress(chipTool, " ***** Test Step 14 : Step 10: Read TimeSinceReset attribute constraints\n"); if (ShouldSkip("DGETH.S.A0008")) { NextTest(); return; } - err = TestStep10aReadTimeSinceResetAttributeConstraints_15(); - break; - case 16: - ChipLogProgress(chipTool, - " ***** Test Step 16 : Step 10b: Read TimeSinceReset value from DUT and verify the value indicates the duration of " - "time, in minutes\n"); - if (ShouldSkip("PICS_USER_PROMPT && DGETH.S.A0008")) { - NextTest(); - return; - } - err = TestStep10bReadTimeSinceResetValueFromDutAndVerifyTheValueIndicatesTheDurationOfTimeInMinutes_16(); + err = TestStep10ReadTimeSinceResetAttributeConstraints_14(); break; } @@ -47248,12 +47222,6 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { case 14: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 15: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 16: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; } // Go on to the next test. @@ -47267,7 +47235,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 17; + const uint16_t mTestCount = 15; chip::Optional mNodeId; chip::Optional mCluster; @@ -47299,8 +47267,6 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { if (value != nil) { VerifyOrReturn(CheckConstraintType("PHYRate", "enum8", "enum8")); - VerifyOrReturn(CheckConstraintMinValue("PHYRate", [value unsignedCharValue], 0U)); - VerifyOrReturn(CheckConstraintMaxValue("PHYRate", [value unsignedCharValue], 9U)); } NextTest(); @@ -47349,13 +47315,43 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("packetRxCount", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("packetRxCount", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("packetRxCount", [value unsignedLongLongValue], 18446744073709551615ULL)); + NextTest(); }]; return CHIP_NO_ERROR; } - CHIP_ERROR TestStep4bReadPacketRxCountValueFromDutAndVerifyTheNumberOfPacketsReceivedOnEthernetNetworkInterface_4() + CHIP_ERROR TestStep4bRebootTargetDevice_4() + { + + chip::app::Clusters::SystemCommands::Commands::Reboot::Type value; + return Reboot("alpha", value); + } + + CHIP_ERROR TestStep4cRebootTargetDeviceDUT_5() + { + + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message + = chip::Span("Please reboot the DUT and enter 'y' after DUT startsgarbage: not in length on purpose", 52); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt("alpha", value); + } + + CHIP_ERROR TestWaitForTheCommissionedDeviceToBeRetrieved_6() + { + + chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; + value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; + return WaitForCommissionee("alpha", value); + } + + CHIP_ERROR TestStep4dUponANodeRebootPacketRxCountAttributeValueWillBeResetTo0_7() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -47365,7 +47361,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep5aReadPacketTxCountAttributeConstraints_5() + CHIP_ERROR TestStep5aReadPacketTxCountAttributeConstraints_8() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47380,13 +47376,17 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("packetTxCount", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("packetTxCount", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("packetTxCount", [value unsignedLongLongValue], 18446744073709551615ULL)); + NextTest(); }]; return CHIP_NO_ERROR; } - CHIP_ERROR TestStep5bReadPacketTxCountValueFromDutAndVerifyTheNumberOfPacketsReceivedOnEthernetNetworkInterface_6() + CHIP_ERROR TestStep5bReadPacketTxCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_9() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -47396,7 +47396,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep6aReadTxErrCountAttributeConstraints_7() + CHIP_ERROR TestStep6ReadTxErrCountAttributeConstraintsUponANodeRebootTheValueWillBeResetTo0_10() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47406,10 +47406,16 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTxErrCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"Step 6a: Read TxErrCount attribute constraints Error: %@", err); + NSLog( + @"Step 6: Read TxErrCount attribute constraints, Upon a node reboot, the value will be reset to 0 Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + { + id actualValue = value; + VerifyOrReturn(CheckValue("TxErrCount", actualValue, 0ULL)); + } + VerifyOrReturn(CheckConstraintType("txErrCount", "int64u", "int64u")); NextTest(); }]; @@ -47417,18 +47423,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR - TestStep6bReadTxErrCountValueFromDutAndVerifyValueIndicatesTheNumberOfFailedPacketTransmissionOnEthernetNetworkInterface_8() - { - - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); - } - - CHIP_ERROR TestStep7aReadCollisionCountAttributeConstraints_9() + CHIP_ERROR TestStep7ReadCollisionCountAttributeUponANodeRebootTheValueWillBeResetTo0_11() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47438,10 +47433,15 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCollisionCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"Step 7a: Read CollisionCount attribute constraints Error: %@", err); + NSLog(@"Step 7: Read CollisionCount attribute , Upon a node reboot, the value will be reset to 0 Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + { + id actualValue = value; + VerifyOrReturn(CheckValue("CollisionCount", actualValue, 0ULL)); + } + VerifyOrReturn(CheckConstraintType("collisionCount", "int64u", "int64u")); NextTest(); }]; @@ -47449,18 +47449,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR - TestStep7bReadCollisionCountValueFromDutAndVerifyValueIndicatesTheNumberOfCollisionOccurredWhileTransmittingPacketsOnEthernetNetworkInterface_10() - { - - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); - } - - CHIP_ERROR TestStep8aReadOverrunCountAttributeConstraints_11() + CHIP_ERROR TestStep8ReadOverrunCountAttributeConstraints_12() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47470,10 +47459,15 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOverrunCountWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"Step 8a: Read OverrunCount attribute constraints Error: %@", err); + NSLog(@"Step 8: Read OverrunCount attribute constraints Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + { + id actualValue = value; + VerifyOrReturn(CheckValue("OverrunCount", actualValue, 0ULL)); + } + VerifyOrReturn(CheckConstraintType("overrunCount", "int64u", "int64u")); NextTest(); }]; @@ -47481,18 +47475,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR - TestStep8bReadOverrunCountValueFromDutAndVerifyValueIndicatesTheNumberOfPacketsDroppedDueToLackOfBufferMemoryOnEthernetNetworkInterface_12() - { - - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); - } - - CHIP_ERROR TestStep9aReadCarrierDetectAttributeConstraints_13() + CHIP_ERROR TestStep9ReadCarrierDetectAttributeConstraints_13() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47502,7 +47485,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCarrierDetectWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"Step 9a: Read CarrierDetect attribute constraints Error: %@", err); + NSLog(@"Step 9: Read CarrierDetect attribute constraints Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -47517,18 +47500,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR - TestStep9bReadCarrierDetectValueFromDutAndVerifyValueIndicatesThePresenceOfCarrierDetectControlSignalOnEthernetNetworkInterface_14() - { - - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); - } - - CHIP_ERROR TestStep10aReadTimeSinceResetAttributeConstraints_15() + CHIP_ERROR TestStep10ReadTimeSinceResetAttributeConstraints_14() { MTRBaseDevice * device = GetDevice("alpha"); @@ -47538,26 +47510,20 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTimeSinceResetWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"Step 10a: Read TimeSinceReset attribute constraints Error: %@", err); + NSLog(@"Step 10: Read TimeSinceReset attribute constraints Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("timeSinceReset", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("timeSinceReset", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("timeSinceReset", [value unsignedLongLongValue], 18446744073709551615ULL)); + NextTest(); }]; return CHIP_NO_ERROR; } - - CHIP_ERROR TestStep10bReadTimeSinceResetValueFromDutAndVerifyTheValueIndicatesTheDurationOfTimeInMinutes_16() - { - - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); - } }; class Test_TC_DGETH_2_2 : public TestCommandBridge { @@ -53204,7 +53170,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 3 : Step 3: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as " "0x01a\n"); - if (ShouldSkip("GRPKEY.S.C01.Rsp")) { + if (ShouldSkip("GRPKEY.S.C01.Rsp && GRPKEY.S.C02.Tx")) { NextTest(); return; } @@ -53426,7 +53392,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { ChipLogProgress(chipTool, " ***** Test Step 26 : Step 18: TH sends KeySetRead command to GroupKeyManagement cluster with GroupKeySetID as " "0x01a\n"); - if (ShouldSkip("GRPKEY.S.C01.Rsp")) { + if (ShouldSkip("GRPKEY.S.C01.Rsp && GRPKEY.S.C02.Tx")) { NextTest(); return; } @@ -53465,42 +53431,42 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { break; case 30: ChipLogProgress(chipTool, - " ***** Test Step 30 : Step 23: TH again sends KeySetWrite command to DUT with any other GroupKeySetID not used " + " ***** Test Step 30 : Step 22: TH again sends KeySetWrite command to DUT with any other GroupKeySetID not used " "yet.\n"); if (ShouldSkip("GRPKEY.S.C00.Rsp && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } - err = TestStep23ThAgainSendsKeySetWriteCommandToDutWithAnyOtherGroupKeySetIDNotUsedYet_30(); + err = TestStep22ThAgainSendsKeySetWriteCommandToDutWithAnyOtherGroupKeySetIDNotUsedYet_30(); break; case 31: - ChipLogProgress(chipTool, " ***** Test Step 31 : Step 24: TH sends KeySetReadAllIndices command to DUT.\n"); - if (ShouldSkip("GRPKEY.S.C05.Rsp && PICS_SKIP_SAMPLE_APP")) { + ChipLogProgress(chipTool, " ***** Test Step 31 : Step 23: TH sends KeySetReadAllIndices command to DUT.\n"); + if (ShouldSkip("GRPKEY.S.C04.Rsp && GRPKEY.S.C05.Tx && PICS_SKIP_SAMPLE_APP")) { NextTest(); return; } - err = TestStep24ThSendsKeySetReadAllIndicesCommandToDut_31(); + err = TestStep23ThSendsKeySetReadAllIndicesCommandToDut_31(); break; case 32: ChipLogProgress(chipTool, - " ***** Test Step 32 : Step 22: TH removes the Group key set that was added by sending a KeySetRemove command to " + " ***** Test Step 32 : Step 24: TH removes the Group key set that was added by sending a KeySetRemove command to " "the GroupKeyManagement cluster with the GroupKeySetID field set to 0x0\n"); if (ShouldSkip("GRPKEY.S.C03.Rsp")) { NextTest(); return; } - err = TestStep22ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x0_32(); + err = TestStep24ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x0_32(); break; case 33: ChipLogProgress(chipTool, - " ***** Test Step 33 : Step 23: TH removes the Group key set that was added by sending a KeySetRemove command to " + " ***** Test Step 33 : Step 25: TH removes the Group key set that was added by sending a KeySetRemove command to " "the GroupKeyManagement cluster with the GroupKeySetID field set to 0x01b that does not exist in the GroupKeyMap " "attribute list.\n"); if (ShouldSkip("GRPKEY.S.C03.Rsp")) { NextTest(); return; } - err = TestStep23ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x01bThatDoesNotExistInTheGroupKeyMapAttributeList_33(); + err = TestStep25ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x01bThatDoesNotExistInTheGroupKeyMapAttributeList_33(); break; } @@ -54850,7 +54816,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestStep23ThAgainSendsKeySetWriteCommandToDutWithAnyOtherGroupKeySetIDNotUsedYet_30() + CHIP_ERROR TestStep22ThAgainSendsKeySetWriteCommandToDutWithAnyOtherGroupKeySetIDNotUsedYet_30() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54881,7 +54847,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetWriteWithParams:params completion:^(NSError * _Nullable err) { - NSLog(@"Step 23: TH again sends KeySetWrite command to DUT with any other GroupKeySetID not used yet. " + NSLog(@"Step 22: TH again sends KeySetWrite command to DUT with any other GroupKeySetID not used yet. " @"Error: %@", err); @@ -54895,7 +54861,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep24ThSendsKeySetReadAllIndicesCommandToDut_31() + CHIP_ERROR TestStep23ThSendsKeySetReadAllIndicesCommandToDut_31() { chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; @@ -54906,7 +54872,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { } CHIP_ERROR - TestStep22ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x0_32() + TestStep24ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x0_32() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54920,7 +54886,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetRemoveWithParams:params completion:^(NSError * _Nullable err) { - NSLog(@"Step 22: TH removes the Group key set that was added by sending a KeySetRemove command to the " + NSLog(@"Step 24: TH removes the Group key set that was added by sending a KeySetRemove command to the " @"GroupKeyManagement cluster with the GroupKeySetID field set to 0x0 Error: %@", err); @@ -54935,7 +54901,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { } CHIP_ERROR - TestStep23ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x01bThatDoesNotExistInTheGroupKeyMapAttributeList_33() + TestStep25ThRemovesTheGroupKeySetThatWasAddedBySendingAKeySetRemoveCommandToTheGroupKeyManagementClusterWithTheGroupKeySetIDFieldSetTo0x01bThatDoesNotExistInTheGroupKeyMapAttributeList_33() { MTRBaseDevice * device = GetDevice("alpha"); @@ -54949,7 +54915,7 @@ class Test_TC_GRPKEY_2_2 : public TestCommandBridge { [cluster keySetRemoveWithParams:params completion:^(NSError * _Nullable err) { - NSLog(@"Step 23: TH removes the Group key set that was added by sending a KeySetRemove command to the " + NSLog(@"Step 25: TH removes the Group key set that was added by sending a KeySetRemove command to the " @"GroupKeyManagement cluster with the GroupKeySetID field set to 0x01b that does not exist in " @"the GroupKeyMap attribute list. Error: %@", err); @@ -66328,7 +66294,7 @@ class Test_TC_LTIME_3_1 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : Step 2: If (LTIME.S.A0000.12HR) TH writes 0 to HourFormat attribute\n"); - if (ShouldSkip("LTIME.S.A0000.12HR")) { + if (ShouldSkip("LTIME.S.M.12HR")) { NextTest(); return; } @@ -66344,7 +66310,7 @@ class Test_TC_LTIME_3_1 : public TestCommandBridge { break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4: If (LTIME.S.A0000.24HR) TH writes 1 to HourFormat attribute\n"); - if (ShouldSkip("LTIME.S.A0000.24HR")) { + if (ShouldSkip("LTIME.S.M.24HR")) { NextTest(); return; } @@ -77125,7 +77091,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { break; case 5: ChipLogProgress(chipTool, " ***** Test Step 5 : Step 3: TH reads the StartTime attribute from the DUT\n"); - if (ShouldSkip("MEDIAPLAYBACK.S.A0001 && PICS_USER_PROMPT")) { + if (ShouldSkip("MEDIAPLAYBACK.S.A0001")) { NextTest(); return; } @@ -77133,7 +77099,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : Step 4: TH reads the SeekRangeEnd attribute from the DUT\n"); - if (ShouldSkip("PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0005")) { + if (ShouldSkip("MEDIAPLAYBACK.S.A0005")) { NextTest(); return; } @@ -77141,7 +77107,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { break; case 7: ChipLogProgress(chipTool, " ***** Test Step 7 : Step 5: TH reads the SeekRangeStart attribute from the DUT\n"); - if (ShouldSkip("PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0006")) { + if (ShouldSkip("MEDIAPLAYBACK.S.A0006")) { NextTest(); return; } @@ -77149,7 +77115,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : Step 6: TH reads the Duration attribute from the DUT\n"); - if (ShouldSkip("PICS_USER_PROMPT && MEDIAPLAYBACK.S.A0002")) { + if (ShouldSkip("MEDIAPLAYBACK.S.A0002")) { NextTest(); return; } @@ -77337,41 +77303,103 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { CHIP_ERROR TestStep3ThReadsTheStartTimeAttributeFromTheDut_5() { - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeStartTimeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 3: TH reads the StartTime attribute from the DUT Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + if (value != nil) { + + VerifyOrReturn(CheckConstraintType("startTime", "epoch_us", "epoch_us")); + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; } CHIP_ERROR TestStep4ThReadsTheSeekRangeEndAttributeFromTheDut_6() { - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeSeekRangeEndWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 4: TH reads the SeekRangeEnd attribute from the DUT Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + if (value != nil) { + + VerifyOrReturn(CheckConstraintType("seekRangeEnd", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("seekRangeEnd", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("seekRangeEnd", [value unsignedLongLongValue], 18446744073709551615ULL)); + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; } CHIP_ERROR TestStep5ThReadsTheSeekRangeStartAttributeFromTheDut_7() { - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeSeekRangeStartWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 5: TH reads the SeekRangeStart attribute from the DUT Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + if (value != nil) { + + VerifyOrReturn(CheckConstraintType("seekRangeStart", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("seekRangeStart", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("seekRangeStart", [value unsignedLongLongValue], 18446744073709551615ULL)); + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; } CHIP_ERROR TestStep6ThReadsTheDurationAttributeFromTheDut_8() { - chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; - value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); - value.expectedValue.Emplace(); - value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); - return UserPrompt("alpha", value); + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeDurationWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 6: TH reads the Duration attribute from the DUT Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + if (value != nil) { + + VerifyOrReturn(CheckConstraintType("duration", "int64u", "int64u")); + VerifyOrReturn(CheckConstraintMinValue("duration", [value unsignedLongLongValue], 0ULL)); + VerifyOrReturn( + CheckConstraintMaxValue("duration", [value unsignedLongLongValue], 18446744073709551615ULL)); + } + VerifyOrReturn(CheckConstraintNotValue("duration", value, 0ULL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; } CHIP_ERROR TestStep7ThSendsASeekCommandToTheDutWithAPositionValueBeyondTheFurthestValidPositionExBeyondTheDurationOfTheMedia_9() @@ -97690,11 +97718,11 @@ class Test_TC_TCTL_1_1 : public TestCommandBridge { } }; -class Test_TC_TMP_1_1 : public TestCommandBridge { +class Test_TC_TCTL_2_2 : public TestCommandBridge { public: // NOLINTBEGIN(clang-analyzer-nullability.NullPassedToNonnull): Test constructor nullability not enforced - Test_TC_TMP_1_1() - : TestCommandBridge("Test_TC_TMP_1_1") + Test_TC_TCTL_2_2() + : TestCommandBridge("Test_TC_TCTL_2_2") , mTestIndex(0) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); @@ -97704,7 +97732,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { } // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) - ~Test_TC_TMP_1_1() {} + ~Test_TC_TCTL_2_2() {} /////////// TestCommand Interface ///////// void NextTest() override @@ -97712,11 +97740,11 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { CHIP_ERROR err = CHIP_NO_ERROR; if (0 == mTestIndex) { - ChipLogProgress(chipTool, " **** Test Start: Test_TC_TMP_1_1\n"); + ChipLogProgress(chipTool, " **** Test Start: Test_TC_TCTL_2_2\n"); } if (mTestCount == mTestIndex) { - ChipLogProgress(chipTool, " **** Test Complete: Test_TC_TMP_1_1\n"); + ChipLogProgress(chipTool, " **** Test Complete: Test_TC_TCTL_2_2\n"); SetCommandExitStatus(CHIP_NO_ERROR); return; } @@ -97733,53 +97761,429 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); break; case 1: - ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read ClusterRevision attribute from the DUT\n"); - err = TestStep2ReadClusterRevisionAttributeFromTheDut_1(); - break; - case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read FeatureMap attribute from the DUT\n"); - err = TestStep3ReadFeatureMapAttributeFromTheDut_2(); - break; - case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the MinTemperature attribute\n"); + if (ShouldSkip("TCTL.S.A0001")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + err = TestStep2ThReadsFromTheDutTheMinTemperatureAttribute_1(); break; - case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); - if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { + case 2: + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the MaxTemperature attribute\n"); + if (ShouldSkip("TCTL.S.A0002")) { NextTest(); return; } - err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + err = TestStep3ThReadsFromTheDutTheMaxTemperatureAttribute_2(); break; - case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); - if (ShouldSkip("TMP.S.A0003")) { + case 3: + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4: TH reads from the DUT the TemperatureSetpoint attribute\n"); + if (ShouldSkip("TCTL.S.A0000")) { NextTest(); return; } - err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); - break; - case 6: - ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read AcceptedCommandList attribute from the DUT\n"); - err = TestStep5ReadAcceptedCommandListAttributeFromTheDut_6(); - break; - case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: Read GeneratedCommandList attribute from the DUT\n"); - err = TestStep6ReadGeneratedCommandListAttributeFromTheDut_7(); + err = TestStep4ThReadsFromTheDutTheTemperatureSetpointAttribute_3(); break; - case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: Read EventList attribute from the DUT.\n"); - if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { - NextTest(); - return; - } - NextTest(); - return; + } + + if (CHIP_NO_ERROR != err) { + ChipLogError(chipTool, " ***** Test Failure: %s\n", chip::ErrorStr(err)); + SetCommandExitStatus(err); + } + } + + void OnStatusUpdate(const chip::app::StatusIB & status) override + { + switch (mTestIndex - 1) { + case 0: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 1: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 3: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + } + + // Go on to the next test. + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + std::atomic_uint16_t mTestIndex; + const uint16_t mTestCount = 4; + + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + { + + chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; + value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; + return WaitForCommissionee("alpha", value); + } + NSNumber * _Nonnull MinTemperatureValue; + + CHIP_ERROR TestStep2ThReadsFromTheDutTheMinTemperatureAttribute_1() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterTemperatureControl alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeMinTemperatureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 2: TH reads from the DUT the MinTemperature attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("minTemperature", "temperature", "temperature")); + { + MinTemperatureValue = value; + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + NSNumber * _Nonnull MaxTemperatureValue; + + CHIP_ERROR TestStep3ThReadsFromTheDutTheMaxTemperatureAttribute_2() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterTemperatureControl alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeMaxTemperatureWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 3: TH reads from the DUT the MaxTemperature attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("maxTemperature", "temperature", "temperature")); + VerifyOrReturn(CheckConstraintMinValue("maxTemperature", [value shortValue], MinTemperatureValue)); + { + MaxTemperatureValue = value; + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + NSNumber * _Nonnull temperatureValue; + + CHIP_ERROR TestStep4ThReadsFromTheDutTheTemperatureSetpointAttribute_3() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterTemperatureControl alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeTemperatureSetpointWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 4: TH reads from the DUT the TemperatureSetpoint attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintMinValue("temperatureSetpoint", [value shortValue], MinTemperatureValue)); + VerifyOrReturn(CheckConstraintMaxValue("temperatureSetpoint", [value shortValue], MaxTemperatureValue)); + { + temperatureValue = value; + } + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } +}; + +class Test_TC_TCTL_2_3 : public TestCommandBridge { +public: + // NOLINTBEGIN(clang-analyzer-nullability.NullPassedToNonnull): Test constructor nullability not enforced + Test_TC_TCTL_2_3() + : TestCommandBridge("Test_TC_TCTL_2_3") + , mTestIndex(0) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) + + ~Test_TC_TCTL_2_3() {} + + /////////// TestCommand Interface ///////// + void NextTest() override + { + CHIP_ERROR err = CHIP_NO_ERROR; + + if (0 == mTestIndex) { + ChipLogProgress(chipTool, " **** Test Start: Test_TC_TCTL_2_3\n"); + } + + if (mTestCount == mTestIndex) { + ChipLogProgress(chipTool, " **** Test Complete: Test_TC_TCTL_2_3\n"); + SetCommandExitStatus(CHIP_NO_ERROR); + return; + } + + Wait(); + + // Ensure we increment mTestIndex before we start running the relevant + // command. That way if we lose the timeslice after we send the message + // but before our function call returns, we won't end up with an + // incorrect mTestIndex value observed when we get the response. + switch (mTestIndex++) { + case 0: + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + break; + case 1: + ChipLogProgress( + chipTool, " ***** Test Step 1 : Step 2: TH reads from the DUT the SelectedTemperatureLevel attribute\n"); + if (ShouldSkip("TCTL.S.A0004")) { + NextTest(); + return; + } + err = TestStep2ThReadsFromTheDutTheSelectedTemperatureLevelAttribute_1(); + break; + case 2: + ChipLogProgress( + chipTool, " ***** Test Step 2 : Step 3: TH reads from the DUT the SupportedTemperatureLevels attribute\n"); + if (ShouldSkip("TCTL.S.A0005")) { + NextTest(); + return; + } + err = TestStep3ThReadsFromTheDutTheSupportedTemperatureLevelsAttribute_2(); + break; + case 3: + ChipLogProgress(chipTool, + " ***** Test Step 3 : Verify that the DUT response contains a list of strings with each string length not " + "exceeding 16 characters.\n"); + if (ShouldSkip("PICS_USER_PROMPT && TCTL.S.A0005")) { + NextTest(); + return; + } + err = TestVerifyThatTheDutResponseContainsAListOfStringsWithEachStringLengthNotExceeding16Characters_3(); + break; + } + + if (CHIP_NO_ERROR != err) { + ChipLogError(chipTool, " ***** Test Failure: %s\n", chip::ErrorStr(err)); + SetCommandExitStatus(err); + } + } + + void OnStatusUpdate(const chip::app::StatusIB & status) override + { + switch (mTestIndex - 1) { + case 0: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 1: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 2: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 3: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + } + + // Go on to the next test. + ContinueOnChipMainThread(CHIP_NO_ERROR); + } + + chip::System::Clock::Timeout GetWaitDuration() const override + { + return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); + } + +private: + std::atomic_uint16_t mTestIndex; + const uint16_t mTestCount = 4; + + chip::Optional mNodeId; + chip::Optional mCluster; + chip::Optional mEndpoint; + chip::Optional mTimeout; + + CHIP_ERROR TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0() + { + + chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; + value.nodeId = mNodeId.HasValue() ? mNodeId.Value() : 305414945ULL; + return WaitForCommissionee("alpha", value); + } + + CHIP_ERROR TestStep2ThReadsFromTheDutTheSelectedTemperatureLevelAttribute_1() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterTemperatureControl alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeSelectedTemperatureLevelWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 2: TH reads from the DUT the SelectedTemperatureLevel attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("selectedTemperatureLevel", "int8u", "int8u")); + VerifyOrReturn(CheckConstraintMinValue("selectedTemperatureLevel", [value unsignedCharValue], 0U)); + VerifyOrReturn(CheckConstraintMaxValue("selectedTemperatureLevel", [value unsignedCharValue], 31U)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestStep3ThReadsFromTheDutTheSupportedTemperatureLevelsAttribute_2() + { + + MTRBaseDevice * device = GetDevice("alpha"); + __auto_type * cluster = [[MTRBaseClusterTemperatureControl alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeSupportedTemperatureLevelsWithCompletion:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Step 3: TH reads from the DUT the SupportedTemperatureLevels attribute Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("supportedTemperatureLevels", "list", "list")); + VerifyOrReturn(CheckConstraintMaxLength("supportedTemperatureLevels", value, 32)); + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestVerifyThatTheDutResponseContainsAListOfStringsWithEachStringLengthNotExceeding16Characters_3() + { + + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Please enter 'y' after successgarbage: not in length on purpose", 30); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt("alpha", value); + } +}; + +class Test_TC_TMP_1_1 : public TestCommandBridge { +public: + // NOLINTBEGIN(clang-analyzer-nullability.NullPassedToNonnull): Test constructor nullability not enforced + Test_TC_TMP_1_1() + : TestCommandBridge("Test_TC_TMP_1_1") + , mTestIndex(0) + { + AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); + AddArgument("cluster", &mCluster); + AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("timeout", 0, UINT16_MAX, &mTimeout); + } + // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) + + ~Test_TC_TMP_1_1() {} + + /////////// TestCommand Interface ///////// + void NextTest() override + { + CHIP_ERROR err = CHIP_NO_ERROR; + + if (0 == mTestIndex) { + ChipLogProgress(chipTool, " **** Test Start: Test_TC_TMP_1_1\n"); + } + + if (mTestCount == mTestIndex) { + ChipLogProgress(chipTool, " **** Test Complete: Test_TC_TMP_1_1\n"); + SetCommandExitStatus(CHIP_NO_ERROR); + return; + } + + Wait(); + + // Ensure we increment mTestIndex before we start running the relevant + // command. That way if we lose the timeslice after we send the message + // but before our function call returns, we won't end up with an + // incorrect mTestIndex value observed when we get the response. + switch (mTestIndex++) { + case 0: + ChipLogProgress(chipTool, " ***** Test Step 0 : Step 1: Wait for the commissioned device to be retrieved\n"); + err = TestStep1WaitForTheCommissionedDeviceToBeRetrieved_0(); + break; + case 1: + ChipLogProgress(chipTool, " ***** Test Step 1 : Step 2: Read ClusterRevision attribute from the DUT\n"); + err = TestStep2ReadClusterRevisionAttributeFromTheDut_1(); + break; + case 2: + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 3: Read FeatureMap attribute from the DUT\n"); + err = TestStep3ReadFeatureMapAttributeFromTheDut_2(); + break; + case 3: + ChipLogProgress(chipTool, " ***** Test Step 3 : Step 4a: Read the global attribute: AttributeList\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + NextTest(); + return; + } + err = TestStep4aReadTheGlobalAttributeAttributeList_3(); + break; + case 4: + ChipLogProgress(chipTool, " ***** Test Step 4 : Step 4a: Read the global attribute: AttributeList\n"); + if (ShouldSkip("!PICS_EVENT_LIST_ENABLED")) { + NextTest(); + return; + } + err = TestStep4aReadTheGlobalAttributeAttributeList_4(); + break; + case 5: + ChipLogProgress(chipTool, " ***** Test Step 5 : Step 4b: Read the optional attribute(Tolerance) in AttributeList\n"); + if (ShouldSkip("TMP.S.A0003")) { + NextTest(); + return; + } + err = TestStep4bReadTheOptionalAttributeToleranceInAttributeList_5(); + break; + case 6: + ChipLogProgress(chipTool, " ***** Test Step 6 : Step 5: Read AcceptedCommandList attribute from the DUT\n"); + err = TestStep5ReadAcceptedCommandListAttributeFromTheDut_6(); + break; + case 7: + ChipLogProgress(chipTool, " ***** Test Step 7 : Step 6: Read GeneratedCommandList attribute from the DUT\n"); + err = TestStep6ReadGeneratedCommandListAttributeFromTheDut_7(); + break; + case 8: + ChipLogProgress(chipTool, " ***** Test Step 8 : Step 7: Read EventList attribute from the DUT.\n"); + if (ShouldSkip("PICS_EVENT_LIST_ENABLED")) { + NextTest(); + return; + } + NextTest(); + return; } if (CHIP_NO_ERROR != err) { @@ -109475,6 +109879,11 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("Step1bWaitTime", 0, UINT16_MAX, &mStep1bWaitTime); + AddArgument("Step2bWaitTime", 0, UINT16_MAX, &mStep2bWaitTime); + AddArgument("Step2eWaitTime", 0, UINT16_MAX, &mStep2eWaitTime); + AddArgument("Step4bWaitTime", 0, UINT16_MAX, &mStep4bWaitTime); + AddArgument("Step5aWaitTime", 0, UINT16_MAX, &mStep5aWaitTime); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) @@ -109517,8 +109926,8 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { err = TestStep1aThSendsDownOrCloseCommandToPrepositionTheDutInTheOppositeDirection_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH Waits for 10 seconds movement(s) on the device\n"); - err = TestStep1bThWaitsFor10SecondsMovementsOnTheDevice_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Step 1b: TH Waits for 5 - 15 seconds movement(s) on the device\n"); + err = TestStep1bThWaitsFor515SecondsMovementsOnTheDevice_2(); break; case 3: ChipLogProgress(chipTool, @@ -109587,8 +109996,8 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { err = TestStep2dIfPaTlThReadsTargetPositionTiltPercent100thsAttributeFromDut_10(); break; case 11: - ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH leave the device moving for 2 seconds\n"); - err = TestStep2eThLeaveTheDeviceMovingFor2Seconds_11(); + ChipLogProgress(chipTool, " ***** Test Step 11 : Step 2e: TH leave the device moving for 1-5 seconds\n"); + err = TestStep2eThLeaveTheDeviceMovingFor15Seconds_11(); break; case 12: ChipLogProgress(chipTool, " ***** Test Step 12 : Step 3a1: TH reads OperationalStatus attribute's bit 0..1\n"); @@ -109844,6 +110253,11 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; + chip::Optional mStep1bWaitTime; + chip::Optional mStep2bWaitTime; + chip::Optional mStep2eWaitTime; + chip::Optional mStep4bWaitTime; + chip::Optional mStep5aWaitTime; chip::Optional mTimeout; CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() @@ -109872,11 +110286,11 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep1bThWaitsFor10SecondsMovementsOnTheDevice_2() + CHIP_ERROR TestStep1bThWaitsFor515SecondsMovementsOnTheDevice_2() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 10000UL; + value.ms = mStep1bWaitTime.HasValue() ? mStep1bWaitTime.Value() : 10000UL; return WaitForMs("alpha", value); } @@ -110012,7 +110426,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 100UL; + value.ms = mStep2bWaitTime.HasValue() ? mStep2bWaitTime.Value() : 500UL; return WaitForMs("alpha", value); } @@ -110064,11 +110478,11 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestStep2eThLeaveTheDeviceMovingFor2Seconds_11() + CHIP_ERROR TestStep2eThLeaveTheDeviceMovingFor15Seconds_11() { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 2000UL; + value.ms = mStep2eWaitTime.HasValue() ? mStep2eWaitTime.Value() : 1000UL; return WaitForMs("alpha", value); } NSNumber * _Nonnull OperationalStatusValue; @@ -110355,7 +110769,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 3000UL; + value.ms = mStep4bWaitTime.HasValue() ? mStep4bWaitTime.Value() : 1000UL; return WaitForMs("alpha", value); } @@ -110386,7 +110800,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; + value.ms = mStep5aWaitTime.HasValue() ? mStep5aWaitTime.Value() : 500UL; return WaitForMs("alpha", value); } @@ -110455,6 +110869,11 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); + AddArgument("Step1bWaitTime", 0, UINT16_MAX, &mStep1bWaitTime); + AddArgument("Step2bWaitTime", 0, UINT16_MAX, &mStep2bWaitTime); + AddArgument("Step2eWaitTime", 0, UINT16_MAX, &mStep2eWaitTime); + AddArgument("Step4bWaitTime", 0, UINT16_MAX, &mStep4bWaitTime); + AddArgument("Step5aWaitTime", 0, UINT16_MAX, &mStep5aWaitTime); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); } // NOLINTEND(clang-analyzer-nullability.NullPassedToNonnull) @@ -110824,6 +111243,11 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { chip::Optional mNodeId; chip::Optional mCluster; chip::Optional mEndpoint; + chip::Optional mStep1bWaitTime; + chip::Optional mStep2bWaitTime; + chip::Optional mStep2eWaitTime; + chip::Optional mStep4bWaitTime; + chip::Optional mStep5aWaitTime; chip::Optional mTimeout; CHIP_ERROR TestStep0WaitForTheCommissionedDeviceToBeRetrieved_0() @@ -110856,7 +111280,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 10000UL; + value.ms = mStep1bWaitTime.HasValue() ? mStep1bWaitTime.Value() : 10000UL; return WaitForMs("alpha", value); } @@ -110992,7 +111416,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 100UL; + value.ms = mStep2bWaitTime.HasValue() ? mStep2bWaitTime.Value() : 500UL; return WaitForMs("alpha", value); } @@ -111048,7 +111472,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 2000UL; + value.ms = mStep2eWaitTime.HasValue() ? mStep2eWaitTime.Value() : 1000UL; return WaitForMs("alpha", value); } NSNumber * _Nonnull OperationalStatusValue; @@ -111335,7 +111759,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 3000UL; + value.ms = mStep4bWaitTime.HasValue() ? mStep4bWaitTime.Value() : 1000UL; return WaitForMs("alpha", value); } @@ -111366,7 +111790,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 1000UL; + value.ms = mStep5aWaitTime.HasValue() ? mStep5aWaitTime.Value() : 500UL; return WaitForMs("alpha", value); } @@ -179858,6 +180282,8 @@ void registerCommandsTests(Commands & commands) make_unique(), make_unique(), make_unique(), + make_unique(), + make_unique(), make_unique(), make_unique(), make_unique(),