From afd4ab76fcaaf17a31f2f1c48cac19eb737db873 Mon Sep 17 00:00:00 2001 From: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com> Date: Fri, 12 Aug 2022 05:21:02 +0530 Subject: [PATCH] Updated Manual scripts (#21833) * Added Updated Manual scripts * Added Auto generated file * Restyled by clang-format Co-authored-by: Restyled.io --- src/app/tests/suites/certification/PICS.yaml | 19 + .../suites/certification/Test_TC_ACL_1_1.yaml | 11 +- .../suites/certification/Test_TC_ACL_2_1.yaml | 10 +- .../certification/Test_TC_ACL_2_10.yaml | 35 +- .../suites/certification/Test_TC_ACL_2_3.yaml | 48 +- .../suites/certification/Test_TC_ACL_2_4.yaml | 113 +-- .../suites/certification/Test_TC_ACL_2_5.yaml | 26 +- .../suites/certification/Test_TC_ACL_2_6.yaml | 13 +- .../suites/certification/Test_TC_ACL_2_7.yaml | 31 +- .../suites/certification/Test_TC_ACL_2_8.yaml | 21 +- .../suites/certification/Test_TC_ACL_2_9.yaml | 25 +- .../suites/certification/Test_TC_ACT_2_1.yaml | 34 +- .../suites/certification/Test_TC_ACT_2_2.yaml | 122 ++- .../suites/certification/Test_TC_ACT_3_1.yaml | 220 +++-- .../suites/certification/Test_TC_ACT_3_2.yaml | 97 ++- .../certification/Test_TC_ALOGIN_12_1.yaml | 5 + .../certification/Test_TC_ALOGIN_12_2.yaml | 17 +- .../Test_TC_APPLAUNCHER_3_7_1.yaml | 5 + .../Test_TC_APPLAUNCHER_3_8_1.yaml | 5 + .../Test_TC_APPLAUNCHER_3_9_1.yaml | 5 + .../Test_TC_AUDIOOUTPUT_7_3.yaml | 67 +- .../Test_TC_AUDIOOUTPUT_7_4.yaml | 70 +- .../certification/Test_TC_BIND_1_1.yaml | 31 +- .../certification/Test_TC_BIND_2_2.yaml | 44 +- .../certification/Test_TC_BIND_2_3.yaml | 53 +- .../certification/Test_TC_BINFO_1_1.yaml | 10 +- .../certification/Test_TC_DRLK_1_1.yaml | 15 +- .../certification/Test_TC_DRLK_2_1.yaml | 287 ++++--- .../certification/Test_TC_DRLK_2_10.yaml | 687 ++++++++-------- .../certification/Test_TC_DRLK_2_6.yaml | 27 +- .../certification/Test_TC_DRLK_2_8.yaml | 48 +- .../certification/Test_TC_DRLK_3_1.yaml | 121 ++- .../certification/Test_TC_DRLK_3_2.yaml | 97 ++- .../suites/certification/Test_TC_MOD_1_2.yaml | 3 +- .../certification/Test_TC_OPCREDS_3_1.yaml | 63 +- .../certification/Test_TC_OPCREDS_3_2.yaml | 16 +- .../certification/Test_TC_OPCREDS_3_3.yaml | 332 ++++++-- .../certification/Test_TC_OPCREDS_3_4.yaml | 5 + .../certification/Test_TC_SWTCH_2_2.yaml | 758 ++++++++++++++---- .../certification/Test_TC_SWTCH_3_1.yaml | 118 ++- .../certification/Test_TC_SWTCH_3_2.yaml | 497 +++++++++++- .../tests/suites/certification/ci-pics-values | 5 + 42 files changed, 2860 insertions(+), 1356 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index ee0589856fd82d..a5a2192ba532ea 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -1593,6 +1593,15 @@ PICS: - label: "Does the device implement the CurrentScene attribute?" id: SWTCH.C.F01 + - label: "Does the MS device support Momentary Switch Release?" + id: SWTCH.C.F02 + + - label: "Does the MS device support Momentary Switch LongPress?" + id: SWTCH.C.F03 + + - label: "Does the MS device support Momentary Switch MultiPress?" + id: SWTCH.C.F04 + #General Commissioning Cluster - label: "Does the device(Server) support Breadcrumb attribute?" id: CGEN.S.A0000 @@ -4111,6 +4120,16 @@ PICS: database' feature?" id: DRLK.S.F08 + - label: + "Does the DUT(server) support the 'Lock supports yearday access + schedules' feature?" + id: DRLK.S.F10 + + - label: + "Does the DUT(server) support the 'Lock supports holiday access + schedules' feature?" + id: DRLK.S.F11 + - label: "Does the DUT(server) support the 'PIN codes over the-air supported for lock/unlock operations' feature?" diff --git a/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml index 097e43c5c3983a..1ddb6c2d5d7cb1 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml @@ -35,7 +35,7 @@ tests: verification: | ./chip-tool accesscontrol read cluster-revision 1 0 - On TH, verify DUT responds the cluster revision value as 1 + Verify Successfully" ClusterRevision " on the TH(Chip-tool) Log: [1656335651.726036][4621:4626] CHIP:DMG: SuppressResponse = true, [1656335651.726074][4621:4626] CHIP:DMG: InteractionModelRevision = 1 @@ -50,7 +50,7 @@ tests: verification: | ./chip-tool accesscontrol read feature-map 1 0 - On TH, verify DUT responds the Featuremap value as 0 + Verify Successfully " FeatureMap attribute " on the TH(Chip-tool) Log: [1656335839.955385][4637:4642] CHIP:DMG: [1656335839.955419][4637:4642] CHIP:DMG: SuppressResponse = true, @@ -67,7 +67,7 @@ tests: verification: | ./chip-tool accesscontrol read attribute-list 1 0 - On TH, verify DUT responds with a list of Attributes with 10 entries. + Verify Successfully"AttributeList attribute " on the TH(Chip-tool) Log:. [1655960990.225266][2516:2521] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_FFFB DataVersion: 477297741 [1655960990.225364][2516:2521] CHIP:TOO: AttributeList: 10 entries @@ -94,8 +94,7 @@ tests: attribute" verification: | ./chip-tool accesscontrol read accepted-command-list 1 0 - - on TH , verify DUT responds right to acceptedcommand list with 0 entries + Verify Successfully" AcceptedCommandList attribute " on the TH(Chip-tool) Log: [[1656478328.210742][2458:2463] CHIP:DMG: [1656478328.210767][2458:2463] CHIP:DMG: ], @@ -115,7 +114,7 @@ tests: verification: | ./chip-tool accesscontrol read generated-command-list 1 0 - on TH , verify DUT responds right to GeneratedCommandList with 0 entries + Verify Successfully" GeneratedCommandList attribute " on the TH(Chip-tool) Log: [[1656478396.324314][2467:2472] CHIP:DMG: [1656478396.324346][2467:2472] CHIP:DMG: ], diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml index 82f8f9c590cb76..2f857cc1365f20 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml @@ -35,7 +35,7 @@ tests: PICS: ACL.S.A0002 verification: | ./chip-tool accesscontrol read subjects-per-access-control-entry 1 0 - On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry. + On TH(Chiptool), verify with value 4 or greater as subjects-per-access-control-entry. [1656409485.639551][2769:2774] CHIP:DMG: ], [1656409485.639582][2769:2774] CHIP:DMG: [1656409485.639608][2769:2774] CHIP:DMG: SuppressResponse = true, @@ -53,7 +53,7 @@ tests: PICS: ACL.S.A0003 verification: | ./chip-tool accesscontrol read targets-per-access-control-entry 1 0 - On TH, verify DUT responds with value 3 or greater as Targets-per-access-control-entry. + On TH(Chiptool), verify with value 3 or greater as Targets-per-access-control-entry. [1656409746.779627][2799:2804] CHIP:DMG: }, [1656409746.779672][2799:2804] CHIP:DMG: @@ -73,7 +73,7 @@ tests: PICS: ACL.S.A0004 verification: | ./chip-tool accesscontrol read access-control-entries-per-fabric 1 0 - On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric. + On TH(Chiptool), verify with value 3 or greater as AccessControlEntriesPerFabric. [1656409955.865361][2822:2827] CHIP:DMG: [1656409955.865393][2822:2827] CHIP:DMG: ], @@ -95,7 +95,7 @@ tests: "TH1 reads DUT Descriptor cluster ServerList attribute from Endpoint 0" verification: | ./chip-tool descriptor read server-list 1 0 - On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster with an element of 31( 0x001F) + On TH(Chiptool) ,Verify the serverList attribute of Descriptor Cluster with an element of 31( 0x001F) [1658323282.743614][2301:2306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 680928677 [1658323282.743771][2301:2306] CHIP:TOO: server list: 26 entries @@ -135,7 +135,7 @@ tests: ./chip-tool descriptor read server-list 1 1 - On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster without an element of 31( 0x001F) + On TH(Chiptool) ,Verify the serverList attribute of Descriptor Cluster without an element of 31( 0x001F) [1656412927.698026][3383:3388] CHIP:DMG: SuppressResponse = true, [1656412927.698052][3383:3388] CHIP:DMG: InteractionModelRevision = 1 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 e4253d516da7d0..f90dbde49ac69c 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 @@ -48,10 +48,10 @@ tests: "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin node ID N2" verification: | - Open a commissioning window on TH1 using below command + Open a commissioning window On TH(Chiptool)1 using below command ./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000 - On TH2, verify DUT Responds SUCCESSFULLY + On TH(Chiptool)2, verify DUT is commissioned On TH(Chiptool)2 fabric [1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage = [1657286379.420894][4724:4729] CHIP:DMG: { @@ -87,7 +87,7 @@ tests: - Commission TH2 to DUT using below command + CommissiOn TH(Chiptool)2 to DUT using below command ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta --commissioner-nodeid 223344 @@ -100,7 +100,7 @@ tests: CurrentFabricIndex attribute" verification: | ./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 2 + On TH(Chiptool), verify to CurrentFabricIndex attribute of operationalCredential cluster as 2 1658329570.828165][4563:4568] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572 [1658329570.831838][4563:4568] CHIP:TOO: CurrentFabricIndex: 2 @@ -117,8 +117,9 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets": null}, - {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH1 , Verify DUT Responds Successfully + {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0 + On TH(Chiptool)1 , Verify Successfully AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements + [1658329787.635523][3056:3061] CHIP:DMG: WriteClient moving to [ResponseRe] [1658329787.635615][3056:3061] CHIP:DMG: WriteResponseMessage = [1658329787.635661][3056:3061] CHIP:DMG: { @@ -195,7 +196,8 @@ tests: {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH2 , Verify DUT Responds Successfully + On TH(Chiptool)2 , Verify AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 2 elements + [1658329868.113411][4587:4592] CHIP:DMG: WriteClient moving to [ResponseRe] [1658329868.113469][4587:4592] CHIP:DMG: WriteResponseMessage = @@ -267,7 +269,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element + On TH(Chiptool)1 , Verify Successfully to extension attribute list containg one element [1658330105.863185][3079:3084] CHIP:DMG: WriteClient moving to [ResponseRe] [1658330105.863237][3079:3084] CHIP:DMG: WriteResponseMessage = [1658330105.863262][3079:3084] CHIP:DMG: { @@ -322,7 +324,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool)2 , Verify Successfully extension attribute list containg one element . [1658819083.842765][8349:8354] CHIP:EM: Removed CHIP MessageCounter:249057275 from RetransTable on exchange 59888i [1658819083.842800][8349:8354] CHIP:DMG: WriteClient moving to [ResponseRe] @@ -388,7 +390,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 1 0 - On TH 1, Verify DUT Responds Successfully. + On TH(Chiptool) 1, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2 [1657289627.393651][5251:5256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 [1657289627.393731][5251:5256] CHIP:TOO: ACL: 2 entries @@ -416,7 +418,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 - On TH1 , Verify DUT Responds Successfully + On TH(Chiptool)1 , Verify Successfully AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2 [1657289676.947323][5260:5265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 @@ -432,7 +434,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH 2, Verify DUT Responds Successfully . + On TH(Chiptool) 2, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F1 [1657289713.626327][19279:19284] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 @@ -462,7 +464,7 @@ tests: verification: | ./chip-tool accesscontrol read extension 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool)2 , Verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1 [1657289746.737641][19293:19298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 [1657289746.737713][19293:19298] CHIP:TOO: Extension: 1 entries @@ -483,7 +485,7 @@ tests: verification: | ./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH2 , Verify DUT Responds Successfully . + On TH(Chiptool)1 , Verify successfully removed fabric F2 [1657289809.358455][19309:19314] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 [1657289809.358500][19309:19314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 @@ -497,7 +499,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH1 , Verify DUT Responds Successfully . + On TH(Chiptool)1 , Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2 + [1657289848.956276][5274:5279] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 @@ -526,7 +529,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 - On TH1 , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool)1 , Verify Successfully to AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2 [1657289881.142883][5283:5288] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml index 9ea8f68a7aa99b..c5bb53cf1b35f5 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml @@ -35,7 +35,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool), verify the CurrentFabricIndex attribute of operationalCredential cluster as 1 [1658323393.451141][2316:2321] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3882577299 [1658323393.465921][2316:2321] CHIP:TOO: CurrentFabricIndex: 1 @@ -47,7 +47,7 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 - On TH , Verify DUT Responds to extension attribute value as an empty list + On TH(Chiptool) , Verify the to extension attribute value as an empty list [1657116435.352869][2667:2672] CHIP:DMG: SuppressResponse = true, [1657116435.352904][2667:2672] CHIP:DMG: InteractionModelRevision = 1 @@ -65,7 +65,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element [1656416335.284463][3747:3752] CHIP:DMG: WriteResponseMessage = [1656416335.284498][3747:3752] CHIP:DMG: { @@ -111,7 +111,9 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 - On TH , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify value is list of AccessControlExtensionStructcontaining 1 element . Data field: D_OK_EMPTY : "1718" + + FabricIndex field: F1 [1657278638.722246][9030:9035] CHIP:DMG: AttributeReportIB = [1657278638.722296][9030:9035] CHIP:DMG: { @@ -154,13 +156,14 @@ tests: - label: "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element - struct Data field: D_OK_SINGLE + 1.struct Data field: D_OK_SINGLE :17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element . + [1656416899.781899][3814:3819] CHIP:DMG: WriteResponseMessage = @@ -214,7 +217,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 - On TH , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify value is list of AccessControlExtensionStructcontaining 1 element 1.struct + Data field: D_OK_SINGLE :"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018" [1657278788.400832][9048:9053] CHIP:DMG: ReportDataMessage = [1657278788.400863][9048:9053] CHIP:DMG: { @@ -287,7 +291,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003148656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E0018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element [1656417544.279572][3888:3893] CHIP:DMG: WriteResponseMessage = [1656417544.279598][3888:3893] CHIP:DMG: { [1656417544.279620][3888:3893] CHIP:DMG: AttributeStatusIBs = @@ -330,8 +334,10 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 + On TH(Chiptool) , Verify value is list of AccessControlExtensionStructcontaining 1 element 1.struct + Data field: + D_OK_FULL :"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003148656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E0018" - On TH , Verify DUT Responds Successfully . 1657278905.391846][9065:9070] CHIP:DMG: ReportDataMessage = [1657278905.391878][9065:9070] CHIP:DMG: { @@ -402,7 +408,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element Returns CONSTRAINT_ERROR (0x87) 1657279033.590101][9081:9086] CHIP:DMG: WriteResponseMessage = [1657279033.590134][9081:9086] CHIP:DMG: { [1657279033.590167][9081:9086] CHIP:DMG: AttributeStatusIBs = @@ -460,7 +466,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"1518"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element Returns CONSTRAINT_ERROR (0x87) [1657609094.514337][8195:8200] CHIP:DMG: WriteResponseMessage = [1657609094.514410][8195:8200] CHIP:DMG: { @@ -516,7 +522,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"3701D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element Returns CONSTRAINT_ERROR (0x87) [1657609434.913859][8206:8211] CHIP:DMG: WriteResponseMessage = [1657609434.913892][8206:8211] CHIP:DMG: { @@ -572,7 +578,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17103D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element Returns CONSTRAINT_ERROR (0x87) [1657609579.493445][8215:8220] CHIP:DMG: WriteResponseMessage = [1657609579.493480][8215:8220] CHIP:DMG: { @@ -628,7 +634,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018FF"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element Returns CONSTRAINT_ERROR (0x87) [1657609625.258101][8223:8228] CHIP:DMG: WriteResponseMessage = [1657609625.258129][8223:8228] CHIP:DMG: { [1657609625.258152][8223:8228] CHIP:DMG: AttributeStatusIBs = @@ -683,8 +689,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700"}]" 1 0 - - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element, Returns CONSTRAINT_ERROR (0x87) [1657609654.298297][8229:8234] CHIP:DMG: WriteResponseMessage = [1657609654.298338][8229:8234] CHIP:DMG: { @@ -739,7 +744,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":""}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element, Returns CONSTRAINT_ERROR (0x87) [1657609694.044950][8236:8241] CHIP:DMG: WriteResponseMessage = [1657609694.044980][8236:8241] CHIP:DMG: { @@ -797,7 +802,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify Successfully AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 2 elements and CONSTRAINT_ERROR (0x87) for second element path 1657279798.807750][9208:9213] CHIP:DMG: WriteResponseMessage = [1657279798.807783][9208:9213] CHIP:DMG: { [1657279798.807812][9208:9213] CHIP:DMG: AttributeStatusIBs = @@ -867,7 +872,8 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 - On TH , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify Successfully the value is list of AccessControlExtensionStruct containing 1 element. + 1657279968.695899][9221:9226] CHIP:DMG: ReportDataMessage = [1657279968.695931][9221:9226] CHIP:DMG: { @@ -937,7 +943,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool) , Verify Successfully,AccessControl cluster Extension attribute, value is an empty list 7625][1521:1526] CHIP:DMG: AttributeStatusIB = [1657692723.227673][1521:1526] CHIP:DMG: { @@ -971,7 +977,7 @@ tests: verification: | ./chip-tool accesscontrol read extension 1 0 - On TH , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is an empty list 1657280113.650757][9255:9260] CHIP:DMG: ReportDataMessage = [1657280113.650786][9255:9260] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml index 92614bd8b113a3..bcb20c10ac2f43 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml @@ -36,7 +36,7 @@ tests: ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool), verify to CurrentFabricIndex attribute of operationalCredential cluster as 1 [1656652012.060584][2763:2768] CHIP:DMG: [1656652012.060609][2763:2768] CHIP:DMG: SuppressResponse = true, @@ -54,7 +54,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 1 element [1656652338.381499][2784:2789] CHIP:DMG: }, [1656652338.381552][2784:2789] CHIP:DMG: @@ -91,8 +91,7 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 3, "subjects": [111,222,333,444], "targets": [{"cluster":11 , "endpoint":22, "deviceType": null}]}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555,666,777,888], "targets": [{"cluster": 55, "endpoint": 66, "deviceType":null }]}]" 1 0 - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 3 elements + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements [1658323877.660699][2502:2507] CHIP:DMG: WriteClient moving to [ResponseRe] [1658323877.660829][2502:2507] CHIP:DMG: WriteResponseMessage = [1658323877.660890][2502:2507] CHIP:DMG: { @@ -177,7 +176,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH1 , Verify DUT Responds Successfully . + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements InteractionModelRevision = 1 [1658229676.712083][4872:4878] CHIP:DMG: } [1658229676.712624][4872:4878] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1307037423 @@ -238,7 +237,7 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [444,333,222,111], "targets": [{"cluster":44 , "endpoint":33, "deviceType":null}]},{"fabricIndex": 1, "privilege":4 , "authMode":3, "subjects": [888,777,666,555], "targets": [{"cluster": 88, "endpoint": 77, "deviceType":null}]}]" 1 0 - On TH , Verify DUT Responds Successfully to ACL attribute list containg 3 elements + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements 1658226959.554674][4736:4741] CHIP:DMG: AttributeStatusIBs = [1658226959.554706][4736:4741] CHIP:DMG: [ [1658226959.554732][4736:4741] CHIP:DMG: AttributeStatusIB = @@ -314,8 +313,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - - On TH1 , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements 9800.959293][4892:4897] CHIP:DMG: [1658229800.959325][4892:4897] CHIP:DMG: ], [1658229800.959399][4892:4897] CHIP:DMG: @@ -380,7 +378,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [111,222,333,444], "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": null },{ "cluster": 33, "endpoint": null, "deviceType": 44 }]}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555,666,777,888], "targets":[{ "cluster": 55, "endpoint": 66, "deviceType": null },{ "cluster": 77, "endpoint": null, "deviceType": 88 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements + On TH(Chiptool) , Verify the Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements 1657276276.708941][2297:2302] CHIP:DMG: WriteClient moving to [ResponseRe] [1657276276.709021][2297:2302] CHIP:DMG: WriteResponseMessage = [1657276276.709058][2297:2302] CHIP:DMG: { @@ -463,8 +461,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully . - + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements [1657278053.764924][2231:2236] CHIP:DMG: SuppressResponse = true, [1657278053.764958][2231:2236] CHIP:DMG: InteractionModelRevision = 1 @@ -539,7 +536,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [], "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": null },{ "cluster": 33, "endpoint": null, "deviceType": 44 }]}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [], "targets":[{ "cluster": 55, "endpoint": 66, "deviceType": null },{ "cluster": 77, "endpoint": null, "deviceType": 88 }]}]" 1 0 - Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements [1657541707.114348][3004:3009] CHIP:DMG: { [1657541707.114393][3004:3009] CHIP:DMG: AttributeStatusIBs = @@ -621,7 +618,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements [1657278352.938811][2258:2263] CHIP:DMG: [1657278352.938840][2258:2263] CHIP:DMG: }, @@ -692,7 +689,7 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 1, "authMode": 2, "subjects": [111, 222, 333, 444], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [555, 666, 777, 888], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 3 elements as Target Null. + On TH(Chiptool) , Verify Successfully to acl attribute value is list of AccessControlEntryStruct containing 3 elements as Target Null. [1657542060.230268][3398:3403] CHIP:DMG: { [1657542060.230322][3398:3403] CHIP:DMG: AttributeStatusIBs = @@ -774,7 +771,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 3 elements as Target Null [1656656511.643560][2994:2999] CHIP:DMG: [1656656511.643593][2994:2999] CHIP:DMG: SuppressResponse = true, [1656656511.643626][2994:2999] CHIP:DMG: InteractionModelRevision = 1 @@ -825,7 +822,7 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements. + On TH(Chiptool) , Verify Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements as Target Null [1656507141.628453][3224:3229] CHIP:DMG: WriteResponseMessage = [1656507141.628515][3224:3229] CHIP:DMG: { @@ -893,7 +890,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully that acl attribute with a value is list of AccessControlEntryStruct containing 2 elements as Target Null [1656507318.740283][3241:3246] CHIP:DMG: ], [1656507318.740346][3241:3246] CHIP:DMG: @@ -930,8 +927,7 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 2, "authMode": 2, "subjects": null, "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements - + On TH(Chiptool) , Verify Successfully that acl attribute with a value is list of AccessControlEntryStruct containing 2 elements as Subject and Target as null [1656507439.868495][3249:3254] CHIP:DMG: WriteClient moving to [ResponseRe] [1656507439.868612][3249:3254] CHIP:DMG: WriteResponseMessage = [1656507439.868671][3249:3254] CHIP:DMG: { @@ -998,7 +994,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully acl attribute value is list of AccessControlEntryStruct containing 2 elements as Subject and Target as null [1656507517.730614][3261:3266] CHIP:DMG: [1656507517.730654][3261:3266] CHIP:DMG: SuppressResponse = true, @@ -1031,7 +1027,7 @@ tests: verification: | ./chip-tool accesscontrol read subjects-per-access-control-entry 1 0 - On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry + On TH(Chiptool), verify with value 4 or greater as subjects-per-access-control-entry , value is stored as MAXSUBJECTS [1656657490.002372][3078:3083] CHIP:DMG: [1656657490.002408][3078:3083] CHIP:DMG: ], @@ -1055,7 +1051,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects":[33,44,55,66] , "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) , Verify Successfully acl attribute with a value is list of AccessControlEntryStruct containing 2 elements as Subject as SUBJECTS and Target as null @@ -1123,7 +1119,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + + On TH(Chiptool) , Verify Successfully acl attribute with a value is list of AccessControlEntryStruct containing 2 elements as SUBJECTS and Target as null [1656928460.992030][4255:4260] CHIP:DMG: ], [1656928460.992075][4255:4260] CHIP:DMG: [1656928460.992101][4255:4260] CHIP:DMG: SuppressResponse = true, @@ -1165,8 +1162,8 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects":[65520,65521,65522,65523] , "targets": null}]" 1 0 - Verify in TH log: + On TH(Chiptool) , Verify Successfully acl attribute value is list of AccessControlEntryStruct containing 2 elements , Subjects as CAT Values and Target as null [1656509348.174135][3403:3408] CHIP:DMG: WriteClient moving to [ResponseRe] [1656509348.174227][3403:3408] CHIP:DMG: WriteResponseMessage = [1656509348.174272][3403:3408] CHIP:DMG: { @@ -1234,8 +1231,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully that acl attribute with a value is list of AccessControlEntryStruct containing 2 elements , Subjects as CAT Values and Target as null [1656509471.738046][3416:3421] CHIP:DMG: [1656509471.738082][3416:3421] CHIP:DMG: SuppressResponse = true, [1656509471.738120][3416:3421] CHIP:DMG: InteractionModelRevision = 1 @@ -1270,7 +1267,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read targets-per-access-control-entry 1 0 - On TH, verify DUT responds with value 3 or greater as Targets-per-access-control-entry. + On TH(Chiptool), verify with value 3 or greater as Targets-per-access-control-entry ,value is stored as MAXTARGETS [1656509737.166763][3434:3439] CHIP:DMG: [1656509737.166786][3434:3439] CHIP:DMG: ], [1656509737.166816][3434:3439] CHIP:DMG: @@ -1294,7 +1291,7 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 40, "endpoint": null, "deviceType": null },{ "cluster": 28, "endpoint": null, "deviceType": null }]}]" 1 0 - Verify in TH log: + On TH(Chiptool) , Verify Successfully acl attribute with value is list of AccessControlEntryStruct containing 2 elements , Subjects as null and and Target as null [1657542520.140869][3499:3504] CHIP:DMG: { [1657542520.140922][3499:3504] CHIP:DMG: AttributeStatusIBs = @@ -1360,7 +1357,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully that acl attribute with value is list of AccessControlEntryStruct containing 2 elements , Subjects as null and and Target as TARGETS [1657542633.704684][3522:3527] CHIP:DMG: } [1657542633.705098][3522:3527] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3549245792 @@ -1398,7 +1395,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read access-control-entries-per-fabric 1 0 - On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric. + On TH(Chiptool), verify with value 3 or greater as AccessControlEntriesPerFabric. [1656594850.964909][4043:4048] CHIP:DMG: AttributeReportIBs = [1656594850.964954][4043:4048] CHIP:DMG: [ @@ -1443,7 +1440,7 @@ tests: {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [], "targets":null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) , Verify Successfully that acl attribute value is list of AccessControlEntryStruct containing MAXENTRIES elements [1657617362.022161][8840:8845] CHIP:DMG: WriteResponseMessage = [1657617362.022190][8840:8845] CHIP:DMG: { @@ -1527,8 +1524,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - On TH , Verify DUT Responds Successfully - + On TH(Chiptool) , Verify Successfully that acl attribute with value is list of AccessControlEntryStruct containing MAXENTRIES elements [1657543165.385093][3592:3597] CHIP:DMG: } [1657543165.385508][3592:3597] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3549245812 [1657543165.385586][3592:3597] CHIP:TOO: ACL: 3 entries @@ -1566,8 +1562,7 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 1, "subjects": [], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to ACL attribute list containg 2 elements + On TH(Chiptool) , Verify Successfully acl attribute value is list of AccessControlEntryStruct containing 2 elements and Returns CONSTRAINT_ERROR (0x87) for second element path [1658475475.310438][3113:3119] CHIP:DMG: { [1658475475.310466][3113:3119] CHIP:DMG: AttributeStatusIBs = [1658475475.310500][3113:3119] CHIP:DMG: [ @@ -1681,8 +1676,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 - - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify Successfully that acl attribute with value is list of AccessControlEntryStruct containing 1 element [1656914601.250655][3267:3272] CHIP:DMG: ], [1656914601.250709][3267:3272] CHIP:DMG: [1656914601.250746][3267:3272] CHIP:DMG: SuppressResponse = true, @@ -1713,7 +1707,7 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 5, "authMode": 3, "subjects": [], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to ACL attribute list containg 2 elements + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements as Subject null and Target null for second element path Returns CONSTRAINT_ERROR (0x87) [1658475916.602576][3151:3156] CHIP:DMG: WriteResponseMessage = [1658475916.602649][3151:3156] CHIP:DMG: { [1658475916.602684][3151:3156] CHIP:DMG: AttributeStatusIBs = @@ -1790,7 +1784,10 @@ tests: {"fabricIndex": 1, "privilege": 6, "authMode": 2, "subjects": null, "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Privilege + + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Privilege for second element path Returns CONSTRAINT_ERROR (0x87) + [1658476127.774933][3171:3176] CHIP:EM: Removed CHIP MessageCounter:240294498 from RetransTable on exchange 6954i [1658476127.775074][3171:3176] CHIP:DMG: WriteClient moving to [ResponseRe] [1658476127.775143][3171:3176] CHIP:DMG: WriteResponseMessage = @@ -1867,7 +1864,8 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 4, "subjects": [], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Authmode + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Authmode for second element path Returns CONSTRAINT_ERROR (0x87) [1658476412.664216][3192:3197] CHIP:DMG: WriteResponseMessage = [1658476412.664247][3192:3197] CHIP:DMG: { [1658476412.664275][3192:3197] CHIP:DMG: AttributeStatusIBs = @@ -1941,8 +1939,8 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [0], "targets":null}]" 1 0 - - On TH , Verify DUT Responds Successfully to Invalid Subject Field + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Subject Field for second element path Returns CONSTRAINT_ERROR (0x87) [1658476622.665126][3229:3234] CHIP:DMG: WriteClient moving to [ResponseRe] [1658476622.665195][3229:3234] CHIP:DMG: WriteResponseMessage = [1658476622.665225][3229:3234] CHIP:DMG: { @@ -2017,7 +2015,9 @@ tests: ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744073709551615], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield + + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Subject Field for second element path Returns CONSTRAINT_ERROR (0x87) 1658476861.356730][3250:3255] CHIP:DMG: { [1658476861.356767][3250:3255] CHIP:DMG: AttributeStatusIBs = [1658476861.356813][3250:3255] CHIP:DMG: [ @@ -2089,7 +2089,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744060824649728], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Subject Field for second element path Returns CONSTRAINT_ERROR (0x87) 8477037.056167][3264:3269] CHIP:DMG: { [1658477037.056200][3264:3269] CHIP:DMG: AttributePathIB = [1658477037.056238][3264:3269] CHIP:DMG: { @@ -2159,7 +2160,9 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [18446744073709486080], "targets":null}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield + + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Subject Field for second element path Returns CONSTRAINT_ERROR (0x87) 658477229.869987][3634:3640] CHIP:EM: Removed CHIP MessageCounter:189477251 from RetransTable on exchange 22058i [1658477229.870031][3634:3640] CHIP:DMG: WriteClient moving to [ResponseRe] [1658477229.870093][3634:3640] CHIP:DMG: WriteResponseMessage = @@ -2230,7 +2233,9 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": null, "deviceType": null }]}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid TargetField + + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Target Field for second element path Returns CONSTRAINT_ERROR (0x87) 1658477371.966712][3679:3684] CHIP:EM: Removed CHIP MessageCounter:138419251 from RetransTable on exchange 40076i [1658477371.966756][3679:3684] CHIP:DMG: WriteClient moving to [ResponseRe] [1658477371.966830][3679:3684] CHIP:DMG: WriteResponseMessage = @@ -2304,7 +2309,9 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 4294967295, "endpoint": null, "deviceType": null }]}]" 1 0 - On TH , Verify DUT Responds Successfully to Invalid Subjectfield + + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Target Field for second element path Returns CONSTRAINT_ERROR (0x87) [1657617852.177018][8933:8938] CHIP:DMG: WriteResponseMessage = [1657617852.177055][8933:8938] CHIP:DMG: { [1657617852.177086][8933:8938] CHIP:DMG: AttributeStatusIBs = @@ -2377,7 +2384,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": 65535, "deviceType": null }]}]" 1 0 - + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Target field for second element path Returns CONSTRAINT_ERROR (0x87) [1657617920.044059][8948:8953] CHIP:DMG: { [1657617920.044085][8948:8953] CHIP:DMG: AttributeStatusIBs = [1657617920.044120][8948:8953] CHIP:DMG: [ @@ -2449,7 +2457,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": null, "deviceType": 4294967295 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Target field for second element path Returns CONSTRAINT_ERROR (0x87) @@ -2524,7 +2533,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": null, "endpoint": 22, "deviceType": 33 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) , Verify Successfully to AccessControlEntryStruct containing 2 elements using + Invalid Target field for second element path Returns CONSTRAINT_ERROR (0x87) [1658477583.616961][3701:3706] CHIP:DMG: WriteClient moving to [ResponseRe] [1658477583.617072][3701:3706] CHIP:DMG: WriteResponseMessage = [1658477583.617120][3701:3706] CHIP:DMG: { @@ -2599,7 +2609,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets":[{ "cluster": 11, "endpoint": 22, "deviceType": 33 }]}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) , Verify Successfully AccessControlEntryStruct containing 2 elements using + Invalid Target field for second element path Returns CONSTRAINT_ERROR (0x87) [1658477662.415412][3710:3715] CHIP:EM: Removed CHIP MessageCounter:35384027 from RetransTable on exchange 6953i [1658477662.415452][3710:3715] CHIP:DMG: WriteClient moving to [ResponseRe] [1658477662.415535][3710:3715] CHIP:DMG: WriteResponseMessage = @@ -2672,7 +2683,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [], "targets": null}]" 1 0 - On TH , Verify DUT Responds Successfully to acl attribute with a value is list of AccessControlEntryStruct containing `1 element. + On TH(Chiptool) , Verify Successfully to AccessControl cluster ACL attribute value is an empty list since all ACL entries removed. [1657618011.091198][8968:8973] CHIP:DMG: { [1657618011.091228][8968:8973] CHIP:DMG: AttributeStatusIBs = [1657618011.091272][8968:8973] CHIP:DMG: [ 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 e6899bf561fc2d..91a400018d4ce2 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 @@ -35,7 +35,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 1 [1657283596.149202][2284:2289] CHIP:DMG: { [1657283596.149247][2284:2289] CHIP:DMG: Endpoint = 0x0, @@ -67,8 +67,8 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + On TH(Chiptool), Verify AccessControl cluster AccessControlExtensionChanged event value is an empty list - Verify in TH log: 848.856174][2311:2316] CHIP:EM: Removed CHIP MessageCounter:265690133 from RetransTable on exchange 23190i [1657283848.856239][2311:2316] CHIP:DMG: ReportDataMessage = [1657283848.856278][2311:2316] CHIP:DMG: { @@ -87,7 +87,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - Verify in TH log: + On TH(Chiptool), Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 1 element 217.510779][2371:2376] CHIP:DMG: AttributePathIB = [1657284217.510818][2371:2376] CHIP:DMG: { @@ -135,7 +135,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - Verify in TH log: + On TH(Chiptool), Verify AccessControlExtensionChanged containing 1 element [1657618132.685459][8992:8998] CHIP:DMG: [1657618132.685495][8992:8998] CHIP:DMG: SuppressResponse = true, @@ -165,7 +165,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute list containg one element + On TH(Chiptool) , Verify Successfully extension attribute list containg one element 7284747.131523][2411:2416] CHIP:DMG: StatusIB = [1657284747.131568][2411:2416] CHIP:DMG: { [1657284747.131618][2411:2416] CHIP:DMG: status = 0x00 (SUCCESS), @@ -205,7 +205,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH , Verify DUT Responds Successfully to extension attribute with a value is list of AccessControlExtensionChanged containing at least 2 new elements + On TH(Chiptool) , Verify AccessControlExtensionChanged containing at least 2 new elements. [1657618237.140162][9007:9012] CHIP:DMG: } @@ -262,7 +262,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E6700D00000F1FF02003248656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E7420616761696E2E2E2E2E2E2E0018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute . + On TH(Chiptool) , Verify AccessControl cluster Extension attribute value is list of AccessControlExtensionStruct containing 1 element Data, exceeds maximum length. 1657287642.551842][9699:9704] CHIP:DMG: WriteResponseMessage = [1657287642.551872][9699:9704] CHIP:DMG: { @@ -317,7 +317,7 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH , Verify DUT Responds Successfully + On TH(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 [1657618374.299423][9024:9029] CHIP:DMG: } [1657618374.299739][9024:9029] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 @@ -388,7 +388,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"},{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 1 0 - On TH , Verify DUT Responds Successfully to extension attribute + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is list of AccessControlExtensionStruct containing 2 elements Returns 0x87 (CONSTRAINT_ERROR)-as there are more than 1 entry 1657289068.797364][9823:9828] CHIP:DMG: WriteResponseMessage = @@ -460,8 +460,8 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH , Verify DUT Responds Successfully - + On TH(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event + containing at least 1 new element, and MUST NOT contain an added event for the second extension [1657618501.560311][9050:9055] CHIP:DMG: } [1657618501.560653][9050:9055] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 [1657618501.560682][9050:9055] CHIP:TOO: Event number: 86 @@ -570,7 +570,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol write extension "[]" 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify AccessControl cluster Extension attribute, value is an empty list 7625][1521:1526] CHIP:DMG: AttributeStatusIB = [1657692723.227673][1521:1526] CHIP:DMG: { @@ -604,7 +604,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify AccessControl cluster AccessControlExtensionChanged event containing at least 1 new element [1657618604.091599][9063:9068] CHIP:DMG: } [1657618604.091929][9063:9068] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 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 339d611b8f5dae..94015650f2b6ea 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 @@ -35,7 +35,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 1 [1656581567.459433][2846:2851] CHIP:EM: Removed CHIP MessageCounter:147498618 from RetransTable on exchange 16019i @@ -77,7 +77,7 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing 1 element [[1657618697.392815][9079:9084] CHIP:DMG: @@ -150,7 +150,7 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": [], "targets":null}]" 1 0 - Verify in TH log: + On TH(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing 2 elements [[1657545728.526415][3928:3933] CHIP:DMG: WriteResponseMessage = [1657545728.526460][3928:3933] CHIP:DMG: { @@ -219,7 +219,7 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing at least 3 new elements [1657618772.535125][9091:9096] CHIP:DMG: [1657618772.535162][9091:9096] CHIP:DMG: SuppressResponse = true, @@ -306,7 +306,7 @@ tests: PICS: ACL.S.E00 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects": null, "targets":null}]" 1 0 - On TH Verify DUT Responds Successfully to ACL attribute with value is list of AccessControlEntryStruct containing 2 elements + On TH(Chiptool) ,verify AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements 58813102.344539][2489:2494] CHIP:EM: Removed CHIP MessageCounter:131488146 from RetransTable on exchange 37188i [1658813102.344581][2489:2494] CHIP:DMG: WriteClient moving to [ResponseRe] @@ -379,7 +379,8 @@ tests: verification: | ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - On TH , Verify DUT Responds Successfully + On TH(Chiptool) , Verify AccessControl cluster AccessControlEntryChanged event containing + at least 3 new elements and MUST NOT contain an added event for the third entry 1658813186.871698][2504:2509] CHIP:DMG: ], [1658813186.871770][2504:2509] CHIP:DMG: diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml index b213d1c7823edd..71d1b62d16449d 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml @@ -39,7 +39,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 1 [1657186774.908634][10846:10851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734 [1657186774.911149][10846:10851] CHIP:TOO: CurrentFabricIndex: 1 @@ -49,16 +49,16 @@ tests: "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin node ID N2" verification: | - Open a commissioning window on TH1 using below command + Open a commissioning window On TH(Chiptool)1 using below command ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 [1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 - [1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window on the device + [1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device [1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617] [1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700] - Commission TH2 to DUT using manualcode generated in TH1 using open commission window + Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window ./chip-tool pairing code 2 36253605617 [1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step "Cleanup" @@ -71,7 +71,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 2 0 - On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 2 + On TH(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 2 [1657186956.724761][3910:3915] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734 [1657186956.731658][3910:3915] CHIP:TOO: CurrentFabricIndex: 2 disabled: true @@ -84,7 +84,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0 - ON TH1,Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool)1,Verify Successfully to extension attribute list containg one element . 657893593.975649][4116:4121] CHIP:DMG: { @@ -133,7 +133,7 @@ tests: verification: | ./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 - ON TH2,Verify DUT Responds Successfully to extension attribute list containg one element . + On TH(Chiptool)2,Verify Successfully to extension attribute list containg one element . 1657894672.479983][2433:2438] CHIP:DMG: WriteClient moving to [ResponseRe] [1657894672.480057][2433:2438] CHIP:DMG: WriteResponseMessage = [1657894672.480092][2433:2438] CHIP:DMG: { @@ -183,7 +183,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 - On TH1 ,VERIFY DUT RESPONDS SUCCESSFULLY. + On TH(Chiptool)1 ,verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2 [1657187433.621369][10890:10895] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 3415499944 [1657187433.621422][10890:10895] CHIP:TOO: Extension: 1 entries @@ -199,7 +199,7 @@ tests: verification: | ./chip-tool accesscontrol read extension 2 0 - On TH2, Verify DUT Responds successfully + On TH(Chiptool)2 , Verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1 [1658327214.683199][2749:2754] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 2953114587 [1658327214.683283][2749:2754] CHIP:TOO: Extension: 1 entries [1658327214.683348][2749:2754] CHIP:TOO: [1]: { @@ -214,10 +214,12 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 + On TH(Chiptool)1 , Verify AccessControlExtensionChanged containing 1 element, and MUST NOT contain an element with FabricIndex F2 + [1658327494.282263][2810:2815] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 - [1658327494.282295][2810:2815] CHIP:TOO: Event number: 5 - [1658327494.282319][2810:2815] CHIP:TOO: Priority: Info - [1658327494.282342][2810:2815] CHIP:TOO: Timestamp: 4621721 + [1658327494.282295][2810:2815] CHIP:TOO: Event number: 5 + [1658327494.282319][2810:2815] CHIP:TOO: Priority: Info + [1658327494.282342][2810:2815] CHIP:TOO: Timestamp: 4621721 [1658327494.282458][2810:2815] CHIP:TOO: AccessControlExtensionChanged: { [1658327494.282497][2810:2815] CHIP:TOO: AdminNodeID: 112233 [1658327494.282524][2810:2815] CHIP:TOO: AdminPasscodeID: null @@ -235,9 +237,8 @@ tests: AccessControlExtensionChanged event" PICS: ACL.S.E01 verification: | - ./chip-tool accesscontrol read-event access-control-extension-changed 2 0 - On TH2, Verify DUT Responds successfully - + ./chip-tool accesscontrol read-event access-control-extension-changed 2 + On TH(Chiptool)2 , Verify AccessControlExtensionChanged containing 1 element, and MUST NOT contain an element with FabricIndex F1 [1658327551.622018][4295:4300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001 [1658327551.622043][4295:4300] CHIP:TOO: Event number: 6 [1658327551.622065][4295:4300] CHIP:TOO: Priority: Info diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml index f0e8d85ecf117e..192a959c805ee8 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml @@ -39,7 +39,7 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - On TH1, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 1 + On TH(Chiptool)1, verify CurrentFabricIndex attribute of operationalCredential cluster as 1 [1656588171.078880][3260:3265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1776815488 [1656588171.078952][3260:3265] CHIP:TOO: CurrentFabricIndex: 1 @@ -50,7 +50,7 @@ tests: "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin node ID N2" verification: | - Open a commissioning window on TH1 using below command + Open a commissioning window On TH(Chiptool)1 using below command ./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000 @@ -88,7 +88,7 @@ tests: - Commission TH2 to DUT using below command + CommissiOn TH(Chiptool)2 to DUT using below command ./chip-tool pairing onnetwork 2 20202021 --commissioner-nodeid 223344 --commissioner-name beta @@ -101,7 +101,7 @@ tests: CurrentFabricIndex attribute" verification: | ./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-nodeid 223344 --commissioner-name beta - + On TH(Chiptool)2, verify CurrentFabricIndex attribute of operationalCredential cluster as 2 1658747098.843523][3024:3029] CHIP:DMG: }, [1658747098.843552][3024:3029] CHIP:DMG: @@ -125,7 +125,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets":null}]" 1 0 - On TH1, VERIFY DUT Responds Successfully. + On TH(Chiptool)1, verify AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 1 element [1657286416.461279][4737:4742] CHIP:DMG: { [1657286416.461307][4737:4742] CHIP:DMG: AttributeStatusIBs = @@ -179,7 +179,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets":null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta - On TH2, VERIFY DUT Responds Successfully. + On TH(Chiptool)2, verify AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 1 element + [1658747124.117113][3031:3036] CHIP:DMG: { [1658747124.117163][3031:3036] CHIP:DMG: AttributeStatusIBs = @@ -232,7 +233,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 1 0 - On TH1, VERIFY DUT Responds Successfully. + On TH(Chiptool)1, verify AccessControlEntryStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2 [1657286432.997319][4745:4751] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3308562949 [1657286432.997655][4745:4751] CHIP:TOO: ACL: 1 entries [1657286432.997727][4745:4751] CHIP:TOO: [1]: { @@ -251,7 +252,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH2, VERIFY DUT Responds Successfully. + On TH(Chiptool)2, verify AccessControlEntryStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1 [1657286742.977222][18111:18116] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 3308562953 [1657286742.977287][18111:18116] CHIP:TOO: ACL: 1 entries [1657286742.977344][18111:18116] CHIP:TOO: [1]: { @@ -271,7 +272,7 @@ tests: PICS: ACL.S.E00 verification: | ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - On TH1, VERIFY DUT Responds Successfully. + On TH(Chiptool)1, verify AccessControl cluster AccessControlEntryChanged containing 3 elements, and MUST NOT contain any element with FabricIndex F2 [1657286873.948408][4767:4772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0000 @@ -337,7 +338,7 @@ tests: PICS: ACL.S.E00 verification: | ./chip-tool accesscontrol read-event access-control-entry-changed 2 0 --commissioner-name beta --commissioner-nodeid 223344 - On TH2, VERIFY DUT Responds Successfully. + On TH(Chiptool)2, verify AccessControl cluster AccessControlEntryChanged containing 3 elements, and MUST NOT contain any element with FabricIndex F1 diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml index 05dcf64c11bbab..fa68ec0bf8c39a 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_9.yaml @@ -37,7 +37,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 4, "authMode": 2, "subjects": [112233], "targets": null}]" 1 0 - On TH, VERIFY DUT Responds Successfully. + On TH(Chiptool), verify AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 1 element [1656589077.991761][3452:3457] CHIP:DMG: WriteClient moving to [ResponseRe] [1656589077.991838][3452:3457] CHIP:DMG: WriteResponseMessage = @@ -90,7 +90,7 @@ tests: verification: | ./chip-tool accesscontrol read acl 1 0 - On TH, VERIFY DUT Responds Successfully. + On TH(Chiptool), verify AccessControl cluster ACL attribute Returns UNSUPPORTED_ACCESS (0x7e) [1656589294.730359][3469:3474] CHIP:DMG: ReportDataMessage = [1656589294.730409][3469:3474] CHIP:DMG: { [1656589294.730449][3469:3474] CHIP:DMG: AttributeReportIBs = @@ -133,7 +133,7 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}]" 1 0 - On TH, VERIFY DUT Responds Successfully. + On TH(Chiptool), verify AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 1 element Returns Unsupported Access [1656589843.696435][3518:3523] CHIP:DMG: WriteResponseMessage = [1656589843.696471][3518:3523] CHIP:DMG: { @@ -186,7 +186,7 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 - On TH, VERIFY DUT Responds Successfully. + On TH(Chiptool), verify AccessControl cluster Extension attribute Returns UNSUPPORTED_ACCESS (0x7e) [1656590048.181895][3536:3541] CHIP:DMG: ReportDataMessage = [1656590048.181938][3536:3541] CHIP:DMG: { [1656590048.181973][3536:3541] CHIP:DMG: AttributeReportIBs = @@ -226,8 +226,8 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol write extension [] 1 0 - On TH , Verify DUT Responds Successfully with extension attribute value is an empty list. - + On TH(Chiptool) , Verify the Successfully with extension attribute value is an empty list Returns + UNSUPPORTED_ACCESS (0x7e) [1656592607.144276][3897:3903] CHIP:DMG: WriteClient moving to [ResponseRe] [1656592607.144341][3897:3903] CHIP:DMG: WriteResponseMessage = [1656592607.144378][3897:3903] CHIP:DMG: { @@ -254,7 +254,7 @@ tests: PICS: ACL.S.A0002 verification: | ./chip-tool accesscontrol read subjects-per-access-control-entry 1 0 - On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry. + On TH(Chiptool), verify with value 4 or greater as subjects-per-access-control-entry. [1656592739.107798][3916:3921] CHIP:DMG: ReportDataMessage = [1656592739.107828][3916:3921] CHIP:DMG: { @@ -293,7 +293,7 @@ tests: PICS: ACL.S.A0003 verification: | ./chip-tool accesscontrol read targets-per-access-control-entry 1 0 - On TH, verify DUT responds with value 3 or greater as TargetsPerAccessControlEntry + On TH(Chiptool), verify with value 3 or greater as TargetsPerAccessControlEntry [1656593266.074720][3943:3948] CHIP:DMG: ReportDataMessage = [1656593266.074748][3943:3948] CHIP:DMG: { [1656593266.074769][3943:3948] CHIP:DMG: AttributeReportIBs = @@ -332,7 +332,7 @@ tests: verification: | ./chip-tool accesscontrol read access-control-entries-per-fabric 1 0 - On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric. + On TH(Chiptool), verify with value 3 or greater as AccessControlEntriesPerFabric. [1656593406.902865][3956:3961] CHIP:DMG: ReportDataMessage = [1656593406.902902][3956:3961] CHIP:DMG: { [1656593406.902931][3956:3961] CHIP:DMG: AttributeReportIBs = @@ -370,9 +370,8 @@ tests: AccessControlEntryChanged event" PICS: ACL.S.E00 verification: | - ./chip-tool accesscontrol read-event access-control-entry-changed 1 0 - Verify in TH log - + ./chip-tool accesscontrol read-event access-control-entry-changed 1 + On TH(Chiptool), Verify AccessControl cluster AccessControlEntryChanged event Returns UNSUPPORTED_ACCESS (0x7e) [1656593588.305232][3979:3984] CHIP:DMG: }, [1656593588.305269][3979:3984] CHIP:DMG: [1656593588.305299][3979:3984] CHIP:DMG: StatusIB = @@ -401,7 +400,7 @@ tests: PICS: ACL.S.E01 verification: | ./chip-tool accesscontrol read-event access-control-extension-changed 1 0 - On TH, verify DUT Responds S uccessfully + On TH(Chiptool), verify AccessControl cluster AccessControlExtensionChanged event Returns UNSUPPORTED_ACCESS (0x7e) [1656593726.387025][3990:3995] CHIP:DMG: [1656593726.387048][3990:3995] CHIP:DMG: EventReportIB = [1656593726.387078][3990:3995] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml index a88db855f33854..d1f38dd809f311 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_1.yaml @@ -58,7 +58,7 @@ tests: verification: | ./chip-tool descriptor read parts-list 1 0 - On TH, verify the PartsList value as 13 entries + On TH(chip-tool), verify the PartsList value as 13 entries (number may vary by DUT capabilities) [1658393733.358450][13576:13581] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3528858866 [1658393733.358548][13576:13581] CHIP:TOO: parts list: 13 entries @@ -83,7 +83,7 @@ tests: verification: | ./chip-tool bridgedactions read endpoint-list 1 1 - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs in TH Log: [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries @@ -109,14 +109,14 @@ tests: "For each EndpointListStruct, verify that the endpoints in the Endpoints field are in the list of endpoints of the DUT" verification: | - Verify all referenced endpoints present in list from step 3 + On TH(chip-tool), Verify all referenced endpoints present in list from step 3 [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true - label: "For each EndpointListStruct, verify that the Name is present" verification: | - Verify each entry has Name in following log + On TH(chip-tool), Verify each entry has Name in following log [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true @@ -125,7 +125,7 @@ tests: "For each EndpointListStruct, verify that the Type is present and valid" verification: | - Verify the type is oresent and valid in following log + On TH(chip-tool), Verify the type is present and valid in following log [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true @@ -134,7 +134,7 @@ tests: "Verify that the EndPointListIDs of all EndpointListStruct are unique (no duplicates)" verification: | - Verify there are no duplicate entry in following log + On TH(chip-tool), Verify there are no duplicate entry in following log [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true @@ -145,7 +145,7 @@ tests: means" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Verify the information matches, Name and Type against the name/type of each group of endpoints provided + On TH(chip-tool), Verify the information matches, Name and Type against the name/type of each group of endpoints provided [1658474608.888833][20775:20780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2082192894 [1658474608.888887][20775:20780] CHIP:TOO: endpoint list: 2 entries [1658474608.888949][20775:20780] CHIP:TOO: [1]: { [1658474608.888968][20775:20780] CHIP:TOO: EndpointListID: 57345 [1658474608.888985][20775:20780] CHIP:TOO: Name: Room 1 [1658474608.889001][20775:20780] CHIP:TOO: Type: 1 [1658474608.889020][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889040][20775:20780] CHIP:TOO: [1]: 10 [1658474608.889056][20775:20780] CHIP:TOO: [2]: 11 [1658474608.889072][20775:20780] CHIP:TOO: } [1658474608.889099][20775:20780] CHIP:TOO: [2]: { [1658474608.889114][20775:20780] CHIP:TOO: EndpointListID: 57346 [1658474608.889128][20775:20780] CHIP:TOO: Name: Room 2 [1658474608.889142][20775:20780] CHIP:TOO: Type: 1 [1658474608.889159][20775:20780] CHIP:TOO: Endpoints: 2 entries [1658474608.889175][20775:20780] CHIP:TOO: [1]: 12 [1658474608.889191][20775:20780] CHIP:TOO: [2]: 13 [1658474608.889205][20775:20780] CHIP:TOO: } disabled: true @@ -155,7 +155,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -179,7 +179,7 @@ tests: - label: "For each ActionStruct, verify the Name is present" verification: | - Verify ActionStructs has Name in below Log: + On TH(chip-tool), Verify ActionStructs has Name in below Log: [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -203,7 +203,7 @@ tests: - label: "For each ActionStruct, verify the Type is present and valid" verification: | - Verify Type ActionStructs is present and valid in below Log: + On TH(chip-tool), Verify Type ActionStructs is present and valid in below Log: [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -236,7 +236,7 @@ tests: "For each ActionStruct, verify the SupportedCommands field is present and valid (at least one bit is set)" verification: | - verify the SupportedCommands field is present and valid in below log + On TH(chip-tool), verify the SupportedCommands field is present and valid in below log [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -261,7 +261,7 @@ tests: - label: "For each ActionStruct, verify the State field is present and valid" verification: | - verify the State field is present and valid in below log + On TH(chip-tool), verify the State field is present and valid in below log [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -287,7 +287,7 @@ tests: "Verify that the ActionIDs of all ActionStructs are unique (no duplicates)" verification: | - Verify that the ActionIDs of all ActionStructs are unique in below log + On TH(chip-tool), Verify that the ActionIDs of all ActionStructs are unique in below log [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -315,7 +315,7 @@ tests: means" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - verify Name, Type and State against the name/type/state info for the action provided in below log: + On TH(chip-tool), verify Name, Type and State against the name/type/state info for the action provided in below log: [1658473018.104129][16539:16544] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 3292516604 [1658473018.104215][16539:16544] CHIP:TOO: action list: 2 entries @@ -342,7 +342,7 @@ tests: verification: | ./chip-tool bridgedactions read setup-url 1 1 - Verify in TH log + Verify in TH(chip-tool) log [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com @@ -350,7 +350,7 @@ tests: - label: "Verify that its syntax" verification: | - Verify the syntax as specified in RFC 3986, max. 512 ASCII characters in below log + On TH(chip-tool), Verify the syntax as specified in RFC 3986, max. 512 ASCII characters in below log [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com @@ -360,7 +360,7 @@ tests: "Verify SetupURL points to a site providing information about the actions" verification: | - Verify SetupURL points to a site providing information about the actions in below log + On TH(chip-tool), Verify SetupURL points to a site providing information about the actions in below log [1658473627.759830][18059:18064] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0002 DataVersion: 3292516604 [1658473627.759880][18059:18064] CHIP:TOO: setup url: https://example.com diff --git a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml index 39341561546c1f..cfdb21d3bd883b 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_2_2.yaml @@ -47,7 +47,7 @@ tests: verification: | ./chip-tool bridgedactions read endpoint-list 1 1 - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs in TH Log: [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries [1658426570.716465][16527:16532] CHIP:TOO: [1]: { @@ -81,7 +81,7 @@ tests: verification: | ./chip-tool bridgedactions read endpoint-list 1 1 - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs in below Log: [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries [1658408033.787044][14495:14500] CHIP:TOO: [1]: { @@ -107,7 +107,7 @@ tests: compare result of step 2d to what was read in step 2b, Verify name field in relevant EndpointListStruct has been updated and no other changes in EndpointLists attribute Step 2d log - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs: [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries [1658408033.787044][14495:14500] CHIP:TOO: [1]: { @@ -127,7 +127,7 @@ tests: [1658408033.788278][14495:14500] CHIP:TOO: } Step 2b log - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs [1658426570.716289][16527:16532] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 [1658426570.716404][16527:16532] CHIP:TOO: endpoint list: 2 entries [1658426570.716465][16527:16532] CHIP:TOO: [1]: { @@ -153,25 +153,47 @@ tests: PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | Press f in bridge app to move one of the bridged devices (one endpoint) from one group to another group + + (in the example, light at ep 3 was moved to kitchen) disabled: true - label: "Read EndpointLists attribute again" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - Press f in bridge app - (in the example, light at ep 3 was moved to kitchen) + ./chip-tool bridgedactions read endpoint-list 1 1 + + On TH(chip-tool), verify the EndpointListStructs + [1658408033.786811][14495:14500] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3742844648 + [1658408033.786954][14495:14500] CHIP:TOO: endpoint list: 2 entries + [1658408033.787044][14495:14500] CHIP:TOO: [1]: { + [1658408033.787100][14495:14500] CHIP:TOO: EndpointListID: 0 + [1658408033.787135][14495:14500] CHIP:TOO: Name: living_room + [1658408033.787183][14495:14500] CHIP:TOO: Type: 1 + [1658408033.787220][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.787274][14495:14500] CHIP:TOO: [1]: 2 + [1658408033.787343][14495:14500] CHIP:TOO: } + [1658408033.787407][14495:14500] CHIP:TOO: [2]: { + [1658408033.788089][14495:14500] CHIP:TOO: EndpointListID: 2 + [1658408033.788123][14495:14500] CHIP:TOO: Name: kitchen + [1658408033.788156][14495:14500] CHIP:TOO: Type: 1 + [1658408033.788191][14495:14500] CHIP:TOO: Endpoints: 2 entries + [1658408033.788243][14495:14500] CHIP:TOO: [1]: 9 + [1658408033.787312][14495:14500] CHIP:TOO: [2]: 3 + [1658408033.788278][14495:14500] CHIP:TOO: } disabled: true - label: "compare result of step 2g to what was read in step 2e" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 + compare result of step 2g to what was read in step 2d, Verify one EP (EP 3 in this case) has been moved from one EndpointListStruct to another EndpointListStruct disabled: true - label: "Using the manufacturer provided means, remove one of the groups" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | Press i in bridge-ap to remove one of the groups + + in this case, the 2nd group was removed disabled: true - label: "Read EndpointLists attribute again" @@ -179,7 +201,7 @@ tests: verification: | ./chip-tool bridgedactions read endpoint-list 1 1 - On TH, verify the EndpointListStructs in TH Log: + On TH(chip-tool), verify the EndpointListStructs [1658426959.409374][16560:16565] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 [1658426959.409476][16560:16565] CHIP:TOO: endpoint list: 1 entries [1658426959.409543][16560:16565] CHIP:TOO: [1]: { @@ -194,7 +216,7 @@ tests: - label: "compare result of step 2j to what was read in step 2h" PICS: ACT.S.A0001 && ACT.S.M.FillEndpointLists verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 + compare result of step 2j to what was read in step 2g, Verify one EndpointListStruct (the 2nd one in this example) got removed while the other one(s) did not change disabled: true - label: @@ -211,8 +233,8 @@ tests: verification: | ./chip-tool bridgedactions read endpoint-list 1 1 - On TH, verify the EndpointListStructs in TH Log: - [1658427088.316681][16578:16583] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 + On TH(chip-tool), verify the EndpointListStructs + 1658427088.316681][16578:16583] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 3768747568 [1658427088.316792][16578:16583] CHIP:TOO: endpoint list: 2 entries [1658427088.316850][16578:16583] CHIP:TOO: [1]: { [1658427088.316890][16578:16583] CHIP:TOO: EndpointListID: 0 @@ -230,10 +252,11 @@ tests: [1658427088.317705][16578:16583] CHIP:TOO: } disabled: true - - label: "compare result of step 2m to what was read in step 2k" + - label: "compare result of step 2m to what was read in step 2j" PICS: ACT.S.A0001 && ACT.S.M.OverlappingEndpointLists verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 + compare result of step 2m to what was read in step 2j. + Verify a new EndpointListStruct got added (the 2nd one in this example) with an EP which is also in one of the other EndpointListStructs (EP2 in this example) disabled: true - label: "Using the manufacturer provided means, create multiple actions" @@ -247,7 +270,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries [1658479958.699549][26130:26135] CHIP:TOO: [1]: { @@ -281,7 +304,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries [1658480004.064992][26153:26158] CHIP:TOO: [1]: { @@ -308,7 +331,7 @@ tests: Compare step 3d and 3b and verify the name field has been chamged Step 3d - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658480004.064867][26153:26158] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658480004.064928][26153:26158] CHIP:TOO: action list: 2 entries [1658480004.064992][26153:26158] CHIP:TOO: [1]: { @@ -329,7 +352,7 @@ tests: [1658480004.065252][26153:26158] CHIP:TOO: } Step 3b Log: - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658479958.699434][26130:26135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658479958.699494][26130:26135] CHIP:TOO: action list: 2 entries [1658479958.699549][26130:26135] CHIP:TOO: [1]: { @@ -363,7 +386,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658480039.164683][26172:26177] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658480039.164758][26172:26177] CHIP:TOO: action list: 1 entries [1658480039.164815][26172:26177] CHIP:TOO: [1]: { @@ -376,10 +399,11 @@ tests: [1658480039.164997][26172:26177] CHIP:TOO: } disabled: true - - label: "compare result of step 3g to what was read in step 3e" + - label: "compare result of step 3g to what was read in step 3d" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 + compare result of step 3g to what was read in step 3d + Verify one Action (4098 in this example) got removed while the other Action(s) (4097 in this case) did not change disabled: true - label: "Using the manufacturer provided means, add a new exposed action" @@ -393,7 +417,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658480059.199268][26178:26183] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658480059.199349][26178:26183] CHIP:TOO: action list: 2 entries [1658480059.199410][26178:26183] CHIP:TOO: [1]: { @@ -414,10 +438,11 @@ tests: [1658480059.199665][26178:26183] CHIP:TOO: } disabled: true - - label: "compare result of step 3j to what was read in step 3h" + - label: "compare result of step 3j to what was read in step 3g" PICS: ACT.S.A0000 && ACT.S.M.FillActionList verification: | - https://github.com/CHIP-Specifications/chip-test-plans/issues/1980 + compare result of step 3j to what was read in step 3g + Verify one new Action (4099 in this example) got added while the other Action(s) (4097 in this case) did not change disabled: true - label: "Using the manufacturer provided means, create multiple actions" @@ -431,7 +456,7 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify ActionStructs in TH Log: + Verify ActionStructs in TH(chip-tool) Log: [1658480080.135069][26185:26190] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 198994220 [1658480080.135130][26185:26190] CHIP:TOO: action list: 2 entries [1658480080.135191][26185:26190] CHIP:TOO: [1]: { @@ -454,7 +479,41 @@ tests: - label: "subscribe to StateChanged and ActionFailed events" verification: | - subscribe to events (Needs SDK implemenation) + To subscribe StateChanged event follow below steps + 1) ./chip-tool interactive start + 2) bridgedactions subscribe-event action-failed 2 30 1 0 + Verify in TH Log: + [1659962630.453221][25381:25386] CHIP:EM: Removed CHIP MessageCounter:65903257 from RetransTable on exchange 50035i + [1659962630.453246][25381:25386] CHIP:DMG: ReportDataMessage = + [1659962630.453259][25381:25386] CHIP:DMG: { + [1659962630.453270][25381:25386] CHIP:DMG: SubscriptionId = 0x78f0a04c, + [1659962630.453281][25381:25386] CHIP:DMG: InteractionModelRevision = 1 + [1659962630.453290][25381:25386] CHIP:DMG: } + [1659962630.453312][25381:25386] CHIP:DMG: MoveToState ReadClient[0x7f9204005990]: Moving to [AwaitingSu] + [1659962630.453337][25381:25386] CHIP:EM: Piggybacking Ack for MessageCounter:102831868 on exchange: 50035i + [1659962630.453364][25381:25386] CHIP:IN: Prepared secure message 0x7f9204005698 to 0x0000000000000001 (1) of type 0x1 and protocolId (0, 1) on exchange 50035i with MessageCounter:65903258. + [1659962630.453382][25381:25386] CHIP:IN: Sending encrypted msg 0x7f9204005698 with MessageCounter:65903258 to 0x0000000000000001 (1) at monotonic time: 0000000001ADE9B2 msec + [1659962630.456411][25381:25386] CHIP:EM: Received message of type 0x4 with protocolId (0, 1) and MessageCounter:102831869 on exchange 50035i + [1659962630.456431][25381:25386] CHIP:EM: Found matching exchange: 50035i, Delegate: 0x7f92040059a0 + [1659962630.456448][25381:25386] CHIP:EM: Rxd Ack; Removing MessageCounter:65903258 from Retrans Table on exchange 50035i + [1659962630.456457][25381:25386] CHIP:EM: Removed CHIP MessageCounter:65903258 from RetransTable on exchange 50035i + [1659962630.456475][25381:25386] CHIP:DMG: SubscribeResponse is received + [1659962630.456497][25381:25386] CHIP:DMG: SubscribeResponseMessage = + [1659962630.456509][25381:25386] CHIP:DMG: { + [1659962630.456520][25381:25386] CHIP:DMG: SubscriptionId = 0x78f0a04c, + [1659962630.456531][25381:25386] CHIP:DMG: MaxInterval = 0x64, + [1659962630.456542][25381:25386] CHIP:DMG: InteractionModelRevision = 1 + [1659962630.456551][25381:25386] CHIP:DMG: } + [1659962630.456563][25381:25386] CHIP:DMG: Subscription established with SubscriptionID = 0x78f0a04c MinInterval = 0s MaxInterval = 100s Peer = 01:0000000000000001 + + 3) bridgedactions instant-action 0x1001 1 1 + + Verify in TH Log + + [1659955888.114483][23216:23221] CHIP:DMG: StatusIB = + [1659955888.114499][23216:23221] CHIP:DMG: { + [1659955888.114515][23216:23221] CHIP:DMG: status = 0x00 (SUCCESS), + [1659955888.114529][23216:23221] CHIP:DMG: }, disabled: true - label: @@ -463,10 +522,19 @@ tests: this ActionStruct) by sending the command with this particular ActionID and a random value for InvokeID" verification: | - sequence of Matter messages as described + Only InstantActions command is supported + + ./chip-tool bridgedactions instant-action 0x1001 1 1 + + Verify in TH Log + + [1659955888.114483][23216:23221] CHIP:DMG: StatusIB = + [1659955888.114499][23216:23221] CHIP:DMG: { + [1659955888.114515][23216:23221] CHIP:DMG: status = 0x00 (SUCCESS), + [1659955888.114529][23216:23221] CHIP:DMG: }, disabled: true - label: "repeat 4d for the other SupportedCommands of each ActionStruct" verification: | - sequence of Matter messages as described + Only InstantActions command is supported disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml index cd73590be43871..3c8b4a75a40ad1 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_3_1.yaml @@ -34,32 +34,55 @@ tests: verification: | ./chip-tool bridgedactions read action-list 1 1 - Verify in DUT as client side log - [1657608767.991103][57130:57135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 2843363251 - [1657608767.991158][57130:57135] CHIP:TOO: action list: 0 entries + Verify read command is received on TH(all-clusters-app) + + [1658848323.188336][28392:28392] CHIP:IM: Received Read request + [1658848323.188433][28392:28392] CHIP:DMG: ReadRequestMessage = + [1658848323.188470][28392:28392] CHIP:DMG: { + [1658848323.188500][28392:28392] CHIP:DMG: AttributePathIBs = + [1658848323.188535][28392:28392] CHIP:DMG: [ + [1658848323.188568][28392:28392] CHIP:DMG: AttributePathIB = + [1658848323.188605][28392:28392] CHIP:DMG: { + [1658848323.188643][28392:28392] CHIP:DMG: Endpoint = 0x1, + [1658848323.188690][28392:28392] CHIP:DMG: Cluster = 0x25, + [1658848323.188733][28392:28392] CHIP:DMG: Attribute = 0x0000_0000, + [1658848323.188774][28392:28392] CHIP:DMG: } + [1658848323.188812][28392:28392] CHIP:DMG: + [1658848323.188846][28392:28392] CHIP:DMG: ], + [1658848323.188884][28392:28392] CHIP:DMG: + [1658848323.188919][28392:28392] CHIP:DMG: isFabricFiltered = true, + [1658848323.188954][28392:28392] CHIP:DMG: InteractionModelRevision = 1 + [1658848323.188985][28392:28392] CHIP:DMG: }, + [1658848323.189080][28392:28392] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658848323.189190][28392:28392] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658848323.189229][28392:28392] CHIP:DMG: Cluster 25, Attribute 0 is dirty + ./chip-tool bridgedactions read endpoint-list 1 1 - Verify in DUT as client side log - [1657608786.230461][57139:57144] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2843363251 - [1657608786.230485][57139:57144] CHIP:TOO: endpoint list: 2 entries - [1657608786.230504][57139:57144] CHIP:TOO: [1]: { - [1657608786.230514][57139:57144] CHIP:TOO: EndpointListID: 57345 - [1657608786.230519][57139:57144] CHIP:TOO: Name: Room 1 - [1657608786.230525][57139:57144] CHIP:TOO: Type: 1 - [1657608786.230531][57139:57144] CHIP:TOO: Endpoints: 2 entries - [1657608786.230538][57139:57144] CHIP:TOO: [1]: 10 - [1657608786.230544][57139:57144] CHIP:TOO: [2]: 11 - [1657608786.230549][57139:57144] CHIP:TOO: } - [1657608786.230558][57139:57144] CHIP:TOO: [2]: { - [1657608786.230563][57139:57144] CHIP:TOO: EndpointListID: 57346 - [1657608786.230567][57139:57144] CHIP:TOO: Name: Room 2 - [1657608786.230572][57139:57144] CHIP:TOO: Type: 1 - [1657608786.230578][57139:57144] CHIP:TOO: Endpoints: 2 entries - [1657608786.230583][57139:57144] CHIP:TOO: [1]: 12 - [1657608786.230589][57139:57144] CHIP:TOO: [2]: 13 - [1657608786.230594][57139:57144] CHIP:TOO: } + Verify read command is received on TH(all-clusters-app + ) + [1658848398.260378][28392:28392] CHIP:IM: Received Read request + [1658848398.260455][28392:28392] CHIP:DMG: ReadRequestMessage = + [1658848398.260483][28392:28392] CHIP:DMG: { + [1658848398.260505][28392:28392] CHIP:DMG: AttributePathIBs = + [1658848398.260531][28392:28392] CHIP:DMG: [ + [1658848398.260555][28392:28392] CHIP:DMG: AttributePathIB = + [1658848398.260583][28392:28392] CHIP:DMG: { + [1658848398.260611][28392:28392] CHIP:DMG: Endpoint = 0x1, + [1658848398.260642][28392:28392] CHIP:DMG: Cluster = 0x25, + [1658848398.260673][28392:28392] CHIP:DMG: Attribute = 0x0000_0001, + [1658848398.260702][28392:28392] CHIP:DMG: } + [1658848398.260731][28392:28392] CHIP:DMG: + [1658848398.260756][28392:28392] CHIP:DMG: ], + [1658848398.260784][28392:28392] CHIP:DMG: + [1658848398.260810][28392:28392] CHIP:DMG: isFabricFiltered = true, + [1658848398.260836][28392:28392] CHIP:DMG: InteractionModelRevision = 1 + [1658848398.260859][28392:28392] CHIP:DMG: }, + [1658848398.260930][28392:28392] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658848398.261011][28392:28392] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658848398.261040][28392:28392] CHIP:DMG: Cluster 25, Attribute 1 is dirty disabled: true - label: @@ -67,24 +90,45 @@ tests: a manufacturer specific order" verification: | Optional attibute - Verify in DUT as client side log - ./chip-tool bridgedactions read setup-url 1 1 - Needs an SDK Implementation + ./chip-tool bridgedactions read setup-url 1 1 + + Verify read command is received on TH(all-clusters-app) + + [1658848453.728775][28392:28392] CHIP:IM: Received Read request + [1658848453.728895][28392:28392] CHIP:DMG: ReadRequestMessage = + [1658848453.728927][28392:28392] CHIP:DMG: { + [1658848453.728950][28392:28392] CHIP:DMG: AttributePathIBs = + [1658848453.728975][28392:28392] CHIP:DMG: [ + [1658848453.728999][28392:28392] CHIP:DMG: AttributePathIB = + [1658848453.729046][28392:28392] CHIP:DMG: { + [1658848453.729081][28392:28392] CHIP:DMG: Endpoint = 0x1, + [1658848453.729118][28392:28392] CHIP:DMG: Cluster = 0x25, + [1658848453.729157][28392:28392] CHIP:DMG: Attribute = 0x0000_0002, + [1658848453.729191][28392:28392] CHIP:DMG: } + [1658848453.729223][28392:28392] CHIP:DMG: + [1658848453.729251][28392:28392] CHIP:DMG: ], + [1658848453.729280][28392:28392] CHIP:DMG: + [1658848453.729307][28392:28392] CHIP:DMG: isFabricFiltered = true, + [1658848453.729332][28392:28392] CHIP:DMG: InteractionModelRevision = 1 + [1658848453.729358][28392:28392] CHIP:DMG: }, + [1658848453.729436][28392:28392] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658848453.729538][28392:28392] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658848453.729570][28392:28392] CHIP:DMG: Cluster 25, Attribute 2 is dirty disabled: true - label: "DUT writes a suitable value to all supported mandatory attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true - label: @@ -93,78 +137,88 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH again" verification: | + ./chip-tool bridgedactions read attribute-list 1 1 + + Verify attribute-list attribute contains 7 entries on TH(all-clusters-minimal-app) + [1658393025.602745][13481:13486] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFB DataVersion: 2868144574 + [1658393025.602867][13481:13486] CHIP:TOO: AttributeList: 7 entries + [1658393025.602917][13481:13486] CHIP:TOO: [1]: 0 + [1658393025.602945][13481:13486] CHIP:TOO: [2]: 1 + [1658393025.602997][13481:13486] CHIP:TOO: [3]: 65528 + [1658393025.603023][13481:13486] CHIP:TOO: [4]: 65529 + [1658393025.603049][13481:13486] CHIP:TOO: [5]: 65531 + [1658393025.603094][13481:13486] CHIP:TOO: [6]: 65532 + [1658393025.603121][13481:13486] CHIP:TOO: [7]: 65533 + [1658393025.603258][13481:13486] CHIP:EM: Sending Standalone Ack for MessageCounter:114510707 on exchange 23501i + + ./chip-tool bridgedactions read action-list 1 1 - Verify in DUT as client side log - [1657608767.991103][57130:57135] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0000 DataVersion: 2843363251 - [1657608767.991158][57130:57135] CHIP:TOO: action list: 0 entries + Verify read command is received on TH(all-clusters-minimal-app) Log + + [1658848323.188336][28392:28392] CHIP:IM: Received Read request + [1658848323.188433][28392:28392] CHIP:DMG: ReadRequestMessage = + [1658848323.188470][28392:28392] CHIP:DMG: { + [1658848323.188500][28392:28392] CHIP:DMG: AttributePathIBs = + [1658848323.188535][28392:28392] CHIP:DMG: [ + [1658848323.188568][28392:28392] CHIP:DMG: AttributePathIB = + [1658848323.188605][28392:28392] CHIP:DMG: { + [1658848323.188643][28392:28392] CHIP:DMG: Endpoint = 0x1, + [1658848323.188690][28392:28392] CHIP:DMG: Cluster = 0x25, + [1658848323.188733][28392:28392] CHIP:DMG: Attribute = 0x0000_0000, + [1658848323.188774][28392:28392] CHIP:DMG: } + [1658848323.188812][28392:28392] CHIP:DMG: + [1658848323.188846][28392:28392] CHIP:DMG: ], + [1658848323.188884][28392:28392] CHIP:DMG: + [1658848323.188919][28392:28392] CHIP:DMG: isFabricFiltered = true, + [1658848323.188954][28392:28392] CHIP:DMG: InteractionModelRevision = 1 + [1658848323.188985][28392:28392] CHIP:DMG: }, + [1658848323.189080][28392:28392] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658848323.189190][28392:28392] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658848323.189229][28392:28392] CHIP:DMG: Cluster 25, Attribute 0 is dirty + ./chip-tool bridgedactions read endpoint-list 1 1 - Verify in DUT as client side log - [1657608786.230461][57139:57144] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_0001 DataVersion: 2843363251 - [1657608786.230485][57139:57144] CHIP:TOO: endpoint list: 2 entries - [1657608786.230504][57139:57144] CHIP:TOO: [1]: { - [1657608786.230514][57139:57144] CHIP:TOO: EndpointListID: 57345 - [1657608786.230519][57139:57144] CHIP:TOO: Name: Room 1 - [1657608786.230525][57139:57144] CHIP:TOO: Type: 1 - [1657608786.230531][57139:57144] CHIP:TOO: Endpoints: 2 entries - [1657608786.230538][57139:57144] CHIP:TOO: [1]: 10 - [1657608786.230544][57139:57144] CHIP:TOO: [2]: 11 - [1657608786.230549][57139:57144] CHIP:TOO: } - [1657608786.230558][57139:57144] CHIP:TOO: [2]: { - [1657608786.230563][57139:57144] CHIP:TOO: EndpointListID: 57346 - [1657608786.230567][57139:57144] CHIP:TOO: Name: Room 2 - [1657608786.230572][57139:57144] CHIP:TOO: Type: 1 - [1657608786.230578][57139:57144] CHIP:TOO: Endpoints: 2 entries - [1657608786.230583][57139:57144] CHIP:TOO: [1]: 12 - [1657608786.230589][57139:57144] CHIP:TOO: [2]: 13 - [1657608786.230594][57139:57144] CHIP:TOO: } + Verify read command is received on TH(all-clusters-minimal-app) + + [1658848398.260378][28392:28392] CHIP:IM: Received Read request + [1658848398.260455][28392:28392] CHIP:DMG: ReadRequestMessage = + [1658848398.260483][28392:28392] CHIP:DMG: { + [1658848398.260505][28392:28392] CHIP:DMG: AttributePathIBs = + [1658848398.260531][28392:28392] CHIP:DMG: [ + [1658848398.260555][28392:28392] CHIP:DMG: AttributePathIB = + [1658848398.260583][28392:28392] CHIP:DMG: { + [1658848398.260611][28392:28392] CHIP:DMG: Endpoint = 0x1, + [1658848398.260642][28392:28392] CHIP:DMG: Cluster = 0x25, + [1658848398.260673][28392:28392] CHIP:DMG: Attribute = 0x0000_0001, + [1658848398.260702][28392:28392] CHIP:DMG: } + [1658848398.260731][28392:28392] CHIP:DMG: + [1658848398.260756][28392:28392] CHIP:DMG: ], + [1658848398.260784][28392:28392] CHIP:DMG: + [1658848398.260810][28392:28392] CHIP:DMG: isFabricFiltered = true, + [1658848398.260836][28392:28392] CHIP:DMG: InteractionModelRevision = 1 + [1658848398.260859][28392:28392] CHIP:DMG: }, + [1658848398.260930][28392:28392] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658848398.261011][28392:28392] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658848398.261040][28392:28392] CHIP:DMG: Cluster 25, Attribute 1 is dirty disabled: true - label: "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - ./chip-tool bridgedactions read setup-url 1 1 - - Verify in DUT as client side log - [1656480136859] [49753:5741500] CHIP: [DMG] ReportDataMessage = - [1656480136859] [49753:5741500] CHIP: [DMG] { - [1656480136859] [49753:5741500] CHIP: [DMG] AttributeReportIBs = - [1656480136859] [49753:5741500] CHIP: [DMG] [ - [1656480136859] [49753:5741500] CHIP: [DMG] AttributeReportIB = - [1656480136859] [49753:5741500] CHIP: [DMG] { - [1656480136859] [49753:5741500] CHIP: [DMG] AttributeStatusIB = - [1656480136859] [49753:5741500] CHIP: [DMG] { - [1656480136859] [49753:5741500] CHIP: [DMG] AttributePathIB = - [1656480136859] [49753:5741500] CHIP: [DMG] { - [1656480136859] [49753:5741500] CHIP: [DMG] Endpoint = 0x1, - [1656480136859] [49753:5741500] CHIP: [DMG] Cluster = 0x25, - [1656480136859] [49753:5741500] CHIP: [DMG] Attribute = 0x0000_0002, - [1656480136859] [49753:5741500] CHIP: [DMG] } - [1656480136859] [49753:5741500] CHIP: [DMG] - [1656480136859] [49753:5741500] CHIP: [DMG] StatusIB = - [1656480136859] [49753:5741500] CHIP: [DMG] { - [1656480136859] [49753:5741500] CHIP: [DMG] status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1656480136859] [49753:5741500] CHIP: [DMG] }, - [1656480136859] [49753:5741500] CHIP: [DMG] - [1656480136859] [49753:5741500] CHIP: [DMG] }, - [1656480136859] [49753:5741500] CHIP: [DMG] - [1656480136859] [49753:5741500] CHIP: [DMG] }, - [1656480136859] [49753:5741500] CHIP: [DMG] - [1656480136859] [49753:5741500] CHIP: [DMG] ], - [1656480136859] [49753:5741500] CHIP: [DMG] - [1656480136859] [49753:5741500] CHIP: [DMG] SuppressResponse = true, - [1656480136859] [49753:5741500] CHIP: [DMG] InteractionModelRevision = 1 - [1656480136859] [49753:5741500] CHIP: [DMG] } - [1656480136859] [49753:5741500] CHIP: [TOO] Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + Optional attibute + + ./chip-tool bridgedactions read setup-url 1 1 + + General error: 0x86 (UNSUPPORTED_ATTRIBUTE) disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ACT_3_2.yaml b/src/app/tests/suites/certification/Test_TC_ACT_3_2.yaml index 49f991071ddffe..14fe1033e00e10 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_3_2.yaml @@ -24,74 +24,147 @@ config: endpoint: 0 tests: + - label: + "Preparation: TH as server exposes an Actions server cluster on EP 1, + with one action (supporting all possible commands) and corresponding + ActionLists and EndpointLists attributes: ActionList: contains one + list element (ActionListStruct): ActionIO = 0x1001 Name = some + test Type = other EndpointListID = 0xE001 SupportedCommands = + 0x0fff // suppports all commands State = Inactive EndpointLists: + contains one list element (EndpointListStruct): EndpointListID = + 0xE001 Name = test room Type = room Endpoints = + [3] SetupURL: (empty string)" + verification: | + verification step to be updated. + disabled: true + - label: "DUT issues an InstantAction command to TH" PICS: ACT.C.C00.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions instant-action 0x1001 1 1 + + Verify command is successfully sent on TH(all-clusters-app) + + [1658848801.832452][10096:10101] CHIP:EM: Removed CHIP MessageCounter:163269462 from RetransTable on exchange 54295i + [1658848801.832487][10096:10101] CHIP:DMG: ICR moving to [ResponseRe] + [1658848801.832544][10096:10101] CHIP:DMG: InvokeResponseMessage = + [1658848801.832574][10096:10101] CHIP:DMG: { + [1658848801.832603][10096:10101] CHIP:DMG: suppressResponse = false, + [1658848801.832637][10096:10101] CHIP:DMG: InvokeResponseIBs = + [1658848801.832675][10096:10101] CHIP:DMG: [ + [1658848801.832705][10096:10101] CHIP:DMG: InvokeResponseIB = + [1658848801.832744][10096:10101] CHIP:DMG: { + [1658848801.832775][10096:10101] CHIP:DMG: CommandStatusIB = + [1658848801.832813][10096:10101] CHIP:DMG: { + [1658848801.832849][10096:10101] CHIP:DMG: CommandPathIB = + [1658848801.832890][10096:10101] CHIP:DMG: { + [1658848801.832931][10096:10101] CHIP:DMG: EndpointId = 0x1, + [1658848801.832972][10096:10101] CHIP:DMG: ClusterId = 0x25, + [1658848801.833017][10096:10101] CHIP:DMG: CommandId = 0x0, + [1658848801.833055][10096:10101] CHIP:DMG: }, + [1658848801.833100][10096:10101] CHIP:DMG: + [1658848801.833133][10096:10101] CHIP:DMG: StatusIB = + [1658848801.833176][10096:10101] CHIP:DMG: { + [1658848801.833217][10096:10101] CHIP:DMG: status = 0x00 (SUCCESS), + [1658848801.833256][10096:10101] CHIP:DMG: }, + [1658848801.833292][10096:10101] CHIP:DMG: + [1658848801.833326][10096:10101] CHIP:DMG: }, + [1658848801.833371][10096:10101] CHIP:DMG: + [1658848801.833402][10096:10101] CHIP:DMG: }, + [1658848801.833438][10096:10101] CHIP:DMG: + [1658848801.833466][10096:10101] CHIP:DMG: ], + [1658848801.833502][10096:10101] CHIP:DMG: + [1658848801.833530][10096:10101] CHIP:DMG: InteractionModelRevision = 1 + [1658848801.833559][10096:10101] CHIP:DMG: }, + [1658848801.833627][10096:10101] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0025 Command=0x0000_0000 Status=0x0 + [1658848801.833676][10096:10101] CHIP:DMG: ICR moving to [AwaitingDe] + [1658848801.833742][10096:10101] CHIP:EM: Sending Standalone Ack for MessageCounter:266293997 on exchange 54295i disabled: true - label: "DUT issues an StartAction command to TH" PICS: ACT.C.C02.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions start-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an StopAction command to TH" PICS: ACT.C.C04.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions stop-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an PauseAction command to TH" PICS: ACT.C.C05.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions pause-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an ResumeAction command to TH" PICS: ACT.C.C07.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions resume-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an EnableAction command to TH" PICS: ACT.C.C08.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions enable-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an DisableAction command to TH" PICS: ACT.C.C0a.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions disable-action 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an StartActionWithDuration command to TH" PICS: ACT.C.C03.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions start-action-with-duration 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an PauseActionWithDuration command to TH" PICS: ACT.C.C06.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions pause-action-with-duration 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an EnableActionWithDuration command to TH" PICS: ACT.C.C09.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions enable-action-with-duration 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an DisableActionWithDuration command to TH" PICS: ACT.C.C0b.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions disable-action-with-duration 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true - label: "DUT issues an InstantActionWithTransition command to TH" PICS: ACT.C.C01.Tx verification: | - Optional command, needs an SDK implementation + ./chip-tool bridgedactions instant-action-with-transition 0x1001 1 1 + + Note: Message log similar as in step 1 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_ALOGIN_12_1.yaml b/src/app/tests/suites/certification/Test_TC_ALOGIN_12_1.yaml index 2ab5e041f69735..a00d3e2b34d7d6 100644 --- a/src/app/tests/suites/certification/Test_TC_ALOGIN_12_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ALOGIN_12_1.yaml @@ -24,6 +24,11 @@ config: endpoint: 0 tests: + - label: "Precondition" + verification: | + Test Setup: Commission DUT to TH, if not done so already. In some cases, such as with a Casting Video Player, the DUT commissions the TH (eg. tv-casting-app). + disabled: true + - label: "Make sure there is a Content App endpoint implementing the Account Login cluster. Product maker may provide pre-setup steps" diff --git a/src/app/tests/suites/certification/Test_TC_ALOGIN_12_2.yaml b/src/app/tests/suites/certification/Test_TC_ALOGIN_12_2.yaml index 9ce09380bbe06e..759afcac170a4a 100644 --- a/src/app/tests/suites/certification/Test_TC_ALOGIN_12_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_ALOGIN_12_2.yaml @@ -24,13 +24,18 @@ config: endpoint: 0 tests: + - label: "Preconditions" + verification: | + Commission TH to DUT, if not done so already. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + disabled: true + - label: "DUT sends GetSetupPIN command to TH" PICS: ALOGIN.C.C00.Tx verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool accountlogin get-setup-pin 1111 1 6 --timedInteractionTimeoutMs 1000 - ./chip-tv-casting-app accountlogin get-setup-pin 1111 1 6 --timedInteractionTimeoutMs 1000 + ./chip-tool accountlogin get-setup-pin 1111 1 4 --timedInteractionTimeoutMs 1000 + ./chip-tv-casting-app accountlogin get-setup-pin 1111 1 4 --timedInteractionTimeoutMs 1000 The log below shows the resulting log on the TH (tv-app or all-clusters-app): @@ -67,8 +72,8 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool accountlogin login 11111 34567890 1 6 --timedInteractionTimeoutMs 1000 - ./chip-tv-casting-app accountlogin login 11111 34567890 1 6 --timedInteractionTimeoutMs 1000 + ./chip-tool accountlogin login 11111 34567890 1 4 --timedInteractionTimeoutMs 1000 + ./chip-tv-casting-app accountlogin login 11111 34567890 1 4 --timedInteractionTimeoutMs 1000 The log below shows the resulting log on the TH (tv-app or all-clusters-app): @@ -106,8 +111,8 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool accountlogin logout 1 6 --timedInteractionTimeoutMs 1000 - ./chip-tv-casting-app accountlogin logout 1 6 --timedInteractionTimeoutMs 1000 + ./chip-tool accountlogin logout 1 4 --timedInteractionTimeoutMs 1000 + ./chip-tv-casting-app accountlogin logout 1 4 --timedInteractionTimeoutMs 1000 The log below shows the resulting log on the TH (tv-app or all-clusters-app): diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7_1.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7_1.yaml index 816c449fd1070b..d07860f8241765 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7_1.yaml @@ -26,6 +26,11 @@ config: endpoint: 0 tests: + - label: "Preconditions:" + verification: | + Commission TH to DUT, if not done so already. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + disabled: true + - label: "DUT sends LaunchApp command to TH" PICS: APPLAUNCHER.C.C00.Tx verification: | diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8_1.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8_1.yaml index 28ab71546a7da7..e47b10028fba67 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8_1.yaml @@ -25,6 +25,11 @@ config: endpoint: 0 tests: + - label: "Preconditions:" + verification: | + Commission TH to DUT, if not done so already. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + disabled: true + - label: "DUT sends StopApp command to TH" PICS: APPLAUNCHER.C.C01.Tx verification: | diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9_1.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9_1.yaml index 8c7668add0989a..24136fc704c78f 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9_1.yaml @@ -25,6 +25,11 @@ config: endpoint: 0 tests: + - label: "Preconditions:" + verification: | + Commission TH to DUT, if not done so already. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + disabled: true + - label: "DUT sends HideApp command to TH" PICS: APPLAUNCHER.C.C02.Tx verification: | diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_3.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_3.yaml index 951d9e86454673..acc4746075a831 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_3.yaml @@ -24,42 +24,45 @@ config: endpoint: 0 tests: + - label: "Preconditions:" + verification: | + Commission TH to DUT, if not done so already. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + disabled: true + - label: "DUT sends SelectOutput command to TH" PICS: AUDIOOUTPUT.C.C00.Tx verification: | - If the DUT knows the Index value, then those can be sent as the argument. - Else User needs to execute the following command to know the index InputList - - ./chip-tool audiooutput read output-list 1 1 + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): ./chip-tool audiooutput select-output 1 1 1 - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - [1653156016245] [89108:1733165] CHIP: [DMG] InvokeRequestMessage = - [1653156016245] [89108:1733165] CHIP: [DMG] { - [1653156016245] [89108:1733165] CHIP: [DMG] suppressResponse = false, - [1653156016245] [89108:1733165] CHIP: [DMG] timedRequest = false, - [1653156016245] [89108:1733165] CHIP: [DMG] InvokeRequests = - [1653156016245] [89108:1733165] CHIP: [DMG] [ - [1653156016245] [89108:1733165] CHIP: [DMG] CommandDataIB = - [1653156016245] [89108:1733165] CHIP: [DMG] { - [1653156016245] [89108:1733165] CHIP: [DMG] CommandPathIB = - [1653156016245] [89108:1733165] CHIP: [DMG] { - [1653156016245] [89108:1733165] CHIP: [DMG] EndpointId = 0x1, - [1653156016245] [89108:1733165] CHIP: [DMG] ClusterId = 0x50b, - [1653156016245] [89108:1733165] CHIP: [DMG] CommandId = 0x0, - [1653156016245] [89108:1733165] CHIP: [DMG] }, - [1653156016245] [89108:1733165] CHIP: [DMG] - [1653156016245] [89108:1733165] CHIP: [DMG] CommandData = - [1653156016245] [89108:1733165] CHIP: [DMG] { - [1653156016245] [89108:1733165] CHIP: [DMG] 0x0 = 1, - [1653156016245] [89108:1733165] CHIP: [DMG] }, - [1653156016245] [89108:1733165] CHIP: [DMG] }, - [1653156016245] [89108:1733165] CHIP: [DMG] - [1653156016245] [89108:1733165] CHIP: [DMG] ], - [1653156016245] [89108:1733165] CHIP: [DMG] - [1653156016245] [89108:1733165] CHIP: [DMG] InteractionModelRevision = 1 - [1653156016245] [89108:1733165] CHIP: [DMG] }, + ./chip-tv-casting-app audiooutput select-output 1 1 1 + + + The log below shows the resulting log on the TH (tv-app or all-clusters-app): - Enter the below command to read the current input. - ./chip-tool audiooutput read current-output 1 1 + [1658531323969] [21924:323905] CHIP: [DMG] InvokeRequestMessage = + [1658531323969] [21924:323905] CHIP: [DMG] { + [1658531323969] [21924:323905] CHIP: [DMG] suppressResponse = false, + [1658531323969] [21924:323905] CHIP: [DMG] timedRequest = false, + [1658531323969] [21924:323905] CHIP: [DMG] InvokeRequests = + [1658531323969] [21924:323905] CHIP: [DMG] [ + [1658531323969] [21924:323905] CHIP: [DMG] CommandDataIB = + [1658531323969] [21924:323905] CHIP: [DMG] { + [1658531323969] [21924:323905] CHIP: [DMG] CommandPathIB = + [1658531323969] [21924:323905] CHIP: [DMG] { + [1658531323969] [21924:323905] CHIP: [DMG] EndpointId = 0x1, + [1658531323969] [21924:323905] CHIP: [DMG] ClusterId = 0x50b, + [1658531323969] [21924:323905] CHIP: [DMG] CommandId = 0x0, + [1658531323969] [21924:323905] CHIP: [DMG] }, + [1658531323969] [21924:323905] CHIP: [DMG] + [1658531323969] [21924:323905] CHIP: [DMG] CommandFields = + [1658531323969] [21924:323905] CHIP: [DMG] { + [1658531323969] [21924:323905] CHIP: [DMG] 0x0 = 1, + [1658531323969] [21924:323905] CHIP: [DMG] }, + [1658531323969] [21924:323905] CHIP: [DMG] }, + [1658531323969] [21924:323905] CHIP: [DMG] + [1658531323969] [21924:323905] CHIP: [DMG] ], + [1658531323969] [21924:323905] CHIP: [DMG] + [1658531323969] [21924:323905] CHIP: [DMG] InteractionModelRevision = 1 + [1658531323969] [21924:323905] CHIP: [DMG] }, disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_4.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_4.yaml index fe54693ea181e3..19b8f2fb2d0569 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_4.yaml @@ -24,45 +24,47 @@ config: endpoint: 0 tests: + - label: "Preconditions" + verification: | + This test case is verified after the device is provisioned. Pls provision device first, Pass appropriate nodeID in the below command. In some cases, such as with a Casting Video Player, the TH commissions the DUT. + The test app should have one or more content apps available + disabled: true + - label: "DUT sends RenameOutput command to TH" PICS: AUDIOOUTPUT.C.C01.Tx verification: | - If the DUT knows the Index value, then those can be sent as the argument. - Else User needs to execute the following command to know the index InputList - - ./chip-tool audiooutput read output-list 1 1 + Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee): - ./chip-tool audiooutput rename-output 1 'Kitchen Speakers' 1 1 - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + ./chip-tool audiooutput rename-output 1 "Kitchen Speakers" 1 1 + ./chip-tv-casting-app audiooutput rename-output 1 "Kitchen Speakers" 1 1 - [1653156045562] [89108:1734332] CHIP: [DMG] InvokeRequestMessage = - [1653156045562] [89108:1734332] CHIP: [DMG] { - [1653156045562] [89108:1734332] CHIP: [DMG] suppressResponse = false, - [1653156045562] [89108:1734332] CHIP: [DMG] timedRequest = false, - [1653156045562] [89108:1734332] CHIP: [DMG] InvokeRequests = - [1653156045562] [89108:1734332] CHIP: [DMG] [ - [1653156045562] [89108:1734332] CHIP: [DMG] CommandDataIB = - [1653156045562] [89108:1734332] CHIP: [DMG] { - [1653156045562] [89108:1734332] CHIP: [DMG] CommandPathIB = - [1653156045562] [89108:1734332] CHIP: [DMG] { - [1653156045562] [89108:1734332] CHIP: [DMG] EndpointId = 0x1, - [1653156045562] [89108:1734332] CHIP: [DMG] ClusterId = 0x50b, - [1653156045562] [89108:1734332] CHIP: [DMG] CommandId = 0x1, - [1653156045562] [89108:1734332] CHIP: [DMG] }, - [1653156045562] [89108:1734332] CHIP: [DMG] - [1653156045562] [89108:1734332] CHIP: [DMG] CommandData = - [1653156045562] [89108:1734332] CHIP: [DMG] { - [1653156045562] [89108:1734332] CHIP: [DMG] 0x0 = 1, - [1653156045562] [89108:1734332] CHIP: [DMG] 0x1 = "Kitchen Speakers", - [1653156045562] [89108:1734332] CHIP: [DMG] }, - [1653156045562] [89108:1734332] CHIP: [DMG] }, - [1653156045562] [89108:1734332] CHIP: [DMG] - [1653156045562] [89108:1734332] CHIP: [DMG] ], - [1653156045562] [89108:1734332] CHIP: [DMG] - [1653156045562] [89108:1734332] CHIP: [DMG] InteractionModelRevision = 1 - [1653156045562] [89108:1734332] CHIP: [DMG] }, + The log below shows the resulting log on the TH (tv-app or all-clusters-app): - Enter the below command to read the current input. - ./chip-tool audiooutput read output-list 1 1 + [1658531363038] [21924:323905] CHIP: [DMG] InvokeRequestMessage = + [1658531363038] [21924:323905] CHIP: [DMG] { + [1658531363038] [21924:323905] CHIP: [DMG] suppressResponse = false, + [1658531363038] [21924:323905] CHIP: [DMG] timedRequest = false, + [1658531363038] [21924:323905] CHIP: [DMG] InvokeRequests = + [1658531363038] [21924:323905] CHIP: [DMG] [ + [1658531363038] [21924:323905] CHIP: [DMG] CommandDataIB = + [1658531363038] [21924:323905] CHIP: [DMG] { + [1658531363038] [21924:323905] CHIP: [DMG] CommandPathIB = + [1658531363038] [21924:323905] CHIP: [DMG] { + [1658531363038] [21924:323905] CHIP: [DMG] EndpointId = 0x1, + [1658531363038] [21924:323905] CHIP: [DMG] ClusterId = 0x50b, + [1658531363038] [21924:323905] CHIP: [DMG] CommandId = 0x1, + [1658531363038] [21924:323905] CHIP: [DMG] }, + [1658531363038] [21924:323905] CHIP: [DMG] + [1658531363038] [21924:323905] CHIP: [DMG] CommandFields = + [1658531363038] [21924:323905] CHIP: [DMG] { + [1658531363038] [21924:323905] CHIP: [DMG] 0x0 = 1, + [1658531363038] [21924:323905] CHIP: [DMG] 0x1 = "Kitchen Speakers", + [1658531363038] [21924:323905] CHIP: [DMG] }, + [1658531363038] [21924:323905] CHIP: [DMG] }, + [1658531363038] [21924:323905] CHIP: [DMG] + [1658531363038] [21924:323905] CHIP: [DMG] ], + [1658531363038] [21924:323905] CHIP: [DMG] + [1658531363038] [21924:323905] CHIP: [DMG] InteractionModelRevision = 1 + [1658531363038] [21924:323905] CHIP: [DMG] }, disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml index db1cdb1c7cbcbd..bb8cae62fed3f4 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml @@ -33,7 +33,7 @@ tests: verification: | ./chip-tool binding read cluster-revision 1 1 - On TH, verify DUT responsds ClusterRevision attribute as the value 1 + Verify " ClusterRevision " on the TH(Chip-tool) Log: [1649417989.863435][3040:3045] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFD DataVersion: 1411817517 [1649417989.863557][3040:3045] CHIP:TOO: ClusterRevision: 1 @@ -43,8 +43,7 @@ tests: verification: | ./chip-tool binding read feature-map 1 1 - - On TH, verify DUT responsds feature map attribute as the value 0. + Verify " Featuremap " on the TH(Chip-tool) Log: [1653560808.265422][3439:3444] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFC DataVersion: 2519252823 [1653560808.265507][3439:3444] CHIP:TOO: FeatureMap: 0 @@ -54,7 +53,7 @@ tests: verification: | ./chip-tool binding read attribute-list 1 1 - On TH, verify DUT responsds list of Attribute + Verify " AttributeList " on the TH(Chip-tool) Log: [1653560826.815841][3445:3450] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFB DataVersion: 2519252823 [1653560826.816170][3445:3450] CHIP:TOO: AttributeList: 6 entries @@ -75,7 +74,7 @@ tests: verification: | ./chip-tool binding read accepted-command-list 1 1 - On TH, verify that DUT responds as list of Accepted Command as 0 entries. + Verify " AcceptedCommandList " on the TH(Chip-tool) Log: [1653560851.890988][3451:3456] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFF9 DataVersion: 2519252823 [1653560851.891077][3451:3456] CHIP:TOO: AcceptedCommandList: 0 entries @@ -85,7 +84,7 @@ tests: verification: | ./chip-tool binding read generated-command-list 1 1 - On TH, verify that DUT responds as list of Generated Command as 0 entries. + Verify " GeneratedCommandList " on the TH(Chip-tool) Log: [1653560872.884952][3458:3463] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFF8 DataVersion: 2519252823 [1653560872.885073][3458:3463] CHIP:TOO: GeneratedCommandList: 0 entries @@ -120,7 +119,7 @@ tests: verification: | ./chip-tool binding write binding "[{"node" : 2 , "cluster" : "0x0006" , "endpoint" : 1 }, { "node" : 3 , "cluster" : "0x0006" , "endpoint" : 2 }]" 1 1 - + On TH(Chip-tool), Verify the success response for binding entries [1657797710.456056][3796:3801] CHIP:DMG: status = 0x00 (SUCCESS), @@ -148,19 +147,26 @@ tests: verification: | ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [1], "targets": [{"cluster": 6, "endpoint": 1, "deviceType": null}]}]" 2 0 + on TH (Chip-tool), Verify the on command receives success response + [1652330385.328196][3240:3245] CHIP:DMG: StatusIB = [1652330385.328229][3240:3245] CHIP:DMG: { [1652330385.328264][3240:3245] CHIP:DMG: status = 0x00 (SUCCESS), [1652330385.328298][3240:3245] CHIP:DMG: }, - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [1], "targets": [{"cluster": 6, "endpoint": 1, "deviceType": null}]}]" 3 0 + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [1], "targets": [{"cluster": 6, "endpoint": 2, "deviceType": null}]}]" 3 0 + + on TH(Chip-tool), Verify the on command receives success response [1650610345.847274][2626:2631] CHIP:DMG: StatusIB = [1650610345.847317][2626:2631] CHIP:DMG: { [1650610345.847383][2626:2631] CHIP:DMG: status = 0x00 (SUCCESS), [1650610345.847429][2626:2631] CHIP:DMG: }, + NOTE: + Every DUT should have their own mechanism to trigger on/off mechanism ,this for raspi platform + DUT sends on command in the shell > switch on @@ -264,11 +270,15 @@ tests: verification: | ./chip-tool onoff read on-off 2 1 + Verify on TH (Chip-tool),the onoff value is set to ON + [1657798291.396477][3835:3841] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 4260513117 [1657798291.396514][3835:3841] CHIP:TOO: OnOff: TRUE ./chip-tool onoff read on-off 3 2 + Verify on TH(Chip-tool) ,the onoff value is set to ON + [1657798691.194894][3869:3874] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 470320746 [1657798691.194948][3869:3874] CHIP:TOO: OnOff: TRUE disabled: true @@ -277,6 +287,8 @@ tests: verification: | ./chip-tool binding write binding "[{"node" : 2 , "cluster" : "0x0006" , "endpoint" : 1 }]" 1 1 + Verify on TH(Chip-tool) ,binding entry receives success response + [1657800844.739833][4000:4006] CHIP:EM: Removed CHIP MessageCounter:244702117 from RetransTable on exchange 12653i [1657800844.739867][4000:4006] CHIP:DMG: WriteClient moving to [ResponseRe] [1657800844.739922][4000:4006] CHIP:DMG: WriteResponseMessage = @@ -379,6 +391,7 @@ tests: verification: | ./chip-tool onoff read on-off 2 1 + Verify on TH (Chip-tool),the onoff value is set to OFF [1657803168.769564][4272:4277] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 1968648540 @@ -390,6 +403,8 @@ tests: verification: | ./chip-tool onoff read on-off 3 2 + Verify on TH(Chip-tool) ,the onoff value is set to ON + [1657803609.731464][4333:4339] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3914456390 [1657803609.731521][4333:4339] CHIP:TOO: OnOff: TRUE diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml index c4018170b0742a..370adaa9174646 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_2.yaml @@ -34,6 +34,8 @@ tests: - label: "Commission DUT to TH1s fabric" verification: | + Run this cmmd in Thread device terminal: + ./chip-tool pairing ble-thread 73 hex:0e080000000000010000000300000f35060004001fffe0020810101191022022920708fd6587bfe9821353051000112237945966880899aabbccddeeff030f7070656e5468726561644465696f6c010212340410f23d85dd55d9748cc6a1fd5fccbb1da20c0402a0fff8 20202021 3840 disabled: true @@ -46,8 +48,10 @@ tests: verification: | ./chip-tool pairing onnetwork 1 20202021 - [1659104612.592373][62366:62371] CHIP:DMG: SuppressResponse = true, - [1659104612.592399][62366:62371] CHIP:DMG: InteractionModelRevision = 1 + On TH(Chip-tool), Verify the success response + + [1659104612.592373][62366:62371] CHIP:DMG: SuppressResponse = true, + [1659104612.592399][62366:62371] CHIP:DMG: InteractionModelRevision = 1 [1659104612.592432][62366:62371] CHIP:DMG: } [1659104612.593187][62366:62371] CHIP:CTL: Successfully finished commissioning step "ReadCommissioningInfo" disabled: true @@ -70,7 +74,7 @@ tests: "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }" 2 0 - + On DUT, Verify the success response for KeySetWrite [1657717291.809861][3361:3366] CHIP:DMG: ICR moving to [ResponseRe] @@ -113,6 +117,8 @@ tests: verification: | ./chip-tool groupkeymanagement write group-key-map "[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]" 2 0 + On DUT, Verify the success response for GroupKeySetID + StatusIB = { status = 0x00 (SUCCESS), @@ -126,6 +132,8 @@ tests: verification: | ./chip-tool groups add-group 0x0001 grp1 2 1 + On DUT, Verify the success response for AddGroup + [1657717342.599740][3368:3373] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0004 Command 0x0000_0000 [1657717342.599891][3368:3373] CHIP:TOO: AddGroupResponse: { [1657717342.599959][3368:3373] CHIP:TOO: status: 0 @@ -157,6 +165,7 @@ tests: verification: | ./chip-tool binding write binding "[{"group" : "0x0001"}]" 73 1 + On TH, Verify the success response for binding entry [1657717436.184899][4353:4358] CHIP:DMG: StatusIB = [1657717436.184940][4353:4358] CHIP:DMG: { @@ -170,6 +179,22 @@ tests: entries" PICS: OO.C.C01.Tx verification: | + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0 + + On TH(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 1 0 + + On TH(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + Press button no.2 on thread board disabled: true @@ -178,6 +203,8 @@ tests: verification: | ./chip-tool onoff read on-off 1 1 + On TH (Chip-tool), Verify the value is set to ON + [1657717900.832851][4381:4386] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 1558029216 [1657717900.832890][4381:4386] CHIP:TOO: OnOff: TRUE disabled: true @@ -186,11 +213,12 @@ tests: verification: | ./chip-tool binding write binding "[]" 73 1 + On TH(Chip-tool), Verify the success response for removing binding entry - [1659362827.431927][2469:2475] CHIP:DMG: StatusIB = - [1659362827.431996][2469:2475] CHIP:DMG: { - [1659362827.432070][2469:2475] CHIP:DMG: status = 0x00 (SUCCESS), - [1659362827.432154][2469:2475] CHIP:DMG: }, + [1659362827.431927][2469:2475] CHIP:DMG: StatusIB = + [1659362827.431996][2469:2475] CHIP:DMG: { + [1659362827.432070][2469:2475] CHIP:DMG: status = 0x00 (SUCCESS), + [1659362827.432154][2469:2475] CHIP:DMG: }, disabled: true - label: @@ -206,6 +234,8 @@ tests: verification: | ./chip-tool onoff read on-off 1 1 + On TH(Chip-tool), Verify the value is set to ON + [1657718251.169765][4425:4431] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 1558029223 [1657718251.169817][4425:4431] CHIP:TOO: OnOff: TRUE disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml index f2c5152c2a0f5a..5422042e31e77c 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml @@ -34,6 +34,8 @@ tests: - label: "Commission DUT to TH1s fabric" verification: | + Run this cmmd in Thread device terminal: + ./chip-tool pairing ble-thread 74 hex:0e080000000000010000000300000f35060004001fffe0020810101191022022920708fd6587bfe9821353051000112237945966880899aabbccddeeff030f7070656e5468726561644465696f6c010212340410f23d85dd55d9748cc6a1fd5fccbb1da20c0402a0fff8 20202021 3840 disabled: true @@ -46,8 +48,10 @@ tests: verification: | ./chip-tool pairing onnetwork 1 20202021 - [1659104612.592373][62366:62371] CHIP:DMG: SuppressResponse = true, - [1659104612.592399][62366:62371] CHIP:DMG: InteractionModelRevision = 1 + On TH(Chip-tool), Verify the success response + + [1659104612.592373][62366:62371] CHIP:DMG: SuppressResponse = true, + [1659104612.592399][62366:62371] CHIP:DMG: InteractionModelRevision = 1 [1659104612.592432][62366:62371] CHIP:DMG: } [1659104612.593187][62366:62371] CHIP:CTL: Successfully finished commissioning step "ReadCommissioningInfo" disabled: true @@ -69,6 +73,8 @@ tests: "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }" 74 0 + On TH(Chip-tool), Verify the success response for KeySetWrite + [1657719041.075123][4541:4546] CHIP:DMG: ICR moving to [ResponseRe] [1657719041.075174][4541:4546] CHIP:DMG: InvokeResponseMessage = [1657719041.075200][4541:4546] CHIP:DMG: { @@ -106,7 +112,11 @@ tests: "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }" 1 0 - [1657719041.076036][4541:4546] CHIP:DMG: }, + [1657719041.076036][4541:4546] CHIP:DMG: } + + On TH, Verify the success response for KeySetWrite + + [1657719041.075743][4541:4546] CHIP:DMG: status = 0x00 (SUCCESS), disabled: true - label: @@ -115,6 +125,8 @@ tests: verification: | ./chip-tool groupkeymanagement write group-key-map "[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]" 74 0 + On TH(Chip-tool), Verify the success response for GroupKeySetID + [1657719130.464175][4557:4562] CHIP:DMG: StatusIB = [1657719130.464214][4557:4562] CHIP:DMG: { [1657719130.464256][4557:4562] CHIP:DMG: status = 0x00 (SUCCESS), @@ -123,6 +135,15 @@ tests: ./chip-tool groupkeymanagement write group-key-map "[{"groupId": 1, "groupKeySetID": 42, "fabricIndex": 1}]" 1 0 + + + On TH(Chip-tool), Verify the success response for GroupKeySetID + + [1657719130.464175][4557:4562] CHIP:DMG: StatusIB = + [1657719130.464214][4557:4562] CHIP:DMG: { + [1657719130.464256][4557:4562] CHIP:DMG: status = 0x00 (SUCCESS), + [1657719130.464298][4557:4562] CHIP:DMG: }, + [1657719130.464342][4557:4562] CHIP:DMG: disabled: true - label: @@ -131,6 +152,8 @@ tests: verification: | ./chip-tool groups add-group 0x0001 grp1 74 1 + On TH(Chip-tool), Verify the success response for AddGroup + [1657719097.788236][4548:4554] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0004 Command 0x0000_0000 [1657719097.788325][4548:4554] CHIP:TOO: AddGroupResponse: { [1657719097.788366][4548:4554] CHIP:TOO: status: 0 @@ -141,6 +164,7 @@ tests: ./chip-tool groups add-group 0x0001 grp1 1 1 + On TH(Chip-tool), Verify the success response for AddGroup [1657719097.788236][4548:4554] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0004 Command 0x0000_0000 [1657719097.788325][4548:4554] CHIP:TOO: AddGroupResponse: { @@ -173,6 +197,8 @@ tests: verification: | ./chip-tool binding write binding "[{"group" : "0x0001"}]" 74 1 + On TH(Chip-tool), Verify the success response for binding entry + [1657719251.763323][4597:4602] CHIP:DMG: StatusIB = [1657719251.763360][4597:4602] CHIP:DMG: { [1657719251.763402][4597:4602] CHIP:DMG: status = 0x00 (SUCCESS), @@ -189,6 +215,22 @@ tests: entries" PICS: OO.C.C01.Tx verification: | + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0 + + On TH(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 1 0 + + On TH(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + Press button no.2 on thread board disabled: true @@ -197,6 +239,8 @@ tests: verification: | ./chip-tool onoff read on-off 1 1 + On TH(Chip-tool), Verify the onoff value is set to ON + [1657719363.799344][4615:4620] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3526720174 [1657719363.799380][4615:4620] CHIP:TOO: OnOff: TRUE disabled: true @@ -205,6 +249,7 @@ tests: verification: | ./chip-tool binding write binding "[]" 74 1 + On TH(Chip-tool), Verify the success response for removing binding entry [1659362827.431927][2469:2475] CHIP:DMG: StatusIB = [1659362827.431996][2469:2475] CHIP:DMG: { @@ -225,6 +270,8 @@ tests: verification: | ./chip-tool onoff read on-off 1 1 + On TH(Chip-tool), Verify the onoff value is set to ON + [1657719448.858149][4636:4641] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3526720174 [1657719448.858183][4636:4641] CHIP:TOO: OnOff: TRUE disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml index 0f14c7bd1db201..2033d362e93861 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_1_1.yaml @@ -34,7 +34,7 @@ tests: - label: "TH reads the ClusterRevision from DUT" verification: | ./chip-tool basic read cluster-revision 1 0 - On TH, verify that DUT sends ClusterRevision attribute value as 1 + Verify " ClusterRevision " on the TH(Chip-tool) Log: [1651214669.313397][2666:2671] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFD DataVersion: 158558310 [1651214669.313472][2666:2671] CHIP:TOO: ClusterRevision: 1 @@ -44,7 +44,7 @@ tests: verification: | ./chip-tool basic read feature-map 1 0 - On TH, verify that DUT sends FeatureMap attribute value as 0 + Verify " Featuremap " on the TH(Chip-tool) Log: [1653459580.065669][29174:29179] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFC DataVersion: 46104872 [1653459580.065758][29174:29179] CHIP:TOO: FeatureMap: 0 @@ -55,7 +55,7 @@ tests: verification: | ./chip-tool basic read attribute-list 1 0 - On TH, verify that DUT sends a list of supported attributes + Verify " AttributeList " on the TH(Chip-tool) Log: [1657021528.885544][7089:7094] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFFB DataVersion: 1869107664 [1657021528.885637][7089:7094] CHIP:TOO: AttributeList: 25 entries @@ -95,7 +95,7 @@ tests: verification: | ./chip-tool basic read accepted-command-list 1 0 - On TH, verify that DUT responsds as list of Accepted Command as 0 entries. + Verify " AcceptedCommandList " on the TH(Chip-tool) Log: [1651214820.355561][2695:2700] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF9 DataVersion: 158558310 [1651214820.355673][2695:2700] CHIP:TOO: AcceptedCommandList: 0 entries @@ -105,7 +105,7 @@ tests: verification: | ./chip-tool basic read generated-command-list 1 0 - On TH, verify that DUT responsds as list of GeneratedCommandList as 0 entries. + Verify " GeneratedCommandList " on the TH(Chip-tool) Log: [1651214861.208575][2702:2707] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_FFF8 DataVersion: 158558310 [1651214861.208682][2702:2707] CHIP:TOO: GeneratedCommandList: 0 entries diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml index faeb5ceb3ebd8e..0d49aa45bbf4c9 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml @@ -33,7 +33,7 @@ tests: verification: | ./chip-tool doorlock read cluster-revision 1 1 - On TH, verify DUT responsds ClusterRevision attribute as the value 6 + Verify " ClusterRevision " on the TH(Chip-tool) Log: [1654670381.498137][2934:2939] CHIP:DMG: [1654670381.498163][2934:2939] CHIP:DMG: SuppressResponse = true, @@ -46,7 +46,8 @@ tests: - label: "TH reads the FeatureMap from DUT" verification: | ./chip-tool doorlock read feature-map 1 1 - On TH, verify that DUT responds the Featuremap value as 3507 + + Verify " Featuremap " on the TH(Chip-tool) Log: [1659339327.515963][3169:3174] CHIP:DMG: SuppressResponse = true, [1659339327.516018][3169:3174] CHIP:DMG: InteractionModelRevision = 1 @@ -58,7 +59,8 @@ tests: - label: "TH reads AttributeList from DUT" verification: | ./chip-tool doorlock read attribute-list 1 1 - On TH, verify that DUT responds as list of supported attributes as 31 entries + + Verify " AttributeList " on the TH(Chip-tool) Log: [1656418220.810680][10056:10061] CHIP:DMG: ], [1656418220.810827][10056:10061] CHIP:DMG: @@ -101,14 +103,14 @@ tests: - label: "TH reads EventList from DUT" verification: | - verification step to be updated. + OUT OF SCOPE FOR V1.0 disabled: true - label: "TH reads AcceptedCommandList from DUT" verification: | ./chip-tool doorlock read accepted-command-list 1 1 - On TH, verify that DUT responds as list of Accepted Commands as 18 entries + Verify " AcceptedCommandList " on the TH(Chip-tool) Log: [1656418338.200497][10068:10073] CHIP:DMG: ], [1656418338.200598][10068:10073] CHIP:DMG: @@ -139,7 +141,8 @@ tests: - label: "TH reads GeneratedCommandList from DUT" verification: | ./chip-tool doorlock read generated-command-list 1 1 - On TH, verify that DUT responds as list of GeneratedCommands as 6 entries + + Verify " GeneratedCommandList " on the TH(Chip-tool) Log: [1659330738.031410][2549:2555] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_FFF8 DataVersion: 1452725250 [1659339542.981573][3222:3227] CHIP:TOO: [1]: 12 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 51380b2fb862af..b231e61023444d 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -28,7 +28,8 @@ tests: PICS: DRLK.S.A0000 verification: | ./chip-tool doorlock read lock-state 1 1 - On TH, verify the LockState value as 1 + + Verify " LockState " on the TH(Chip-tool) Log: [1654673735.820302][3247:3252] CHIP:DMG: SuppressResponse = true, [1654673735.820328][3247:3252] CHIP:DMG: InteractionModelRevision = 1 @@ -41,7 +42,9 @@ tests: PICS: DRLK.S.A0000 verification: | ./chip-tool doorlock write-by-id 0 2 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: + [1653634536.813984][2885:2890] CHIP:DMG: StatusIB = [1653634536.814041][2885:2890] CHIP:DMG: { @@ -61,7 +64,8 @@ tests: PICS: DRLK.S.A0000 verification: | ./chip-tool doorlock read lock-state 1 1 - On TH, verify the LockState value as 1 + + Verify " LockState " on the TH(Chip-tool) Log: [1654673735.820302][3247:3252] CHIP:DMG: SuppressResponse = true, [1654673735.820328][3247:3252] CHIP:DMG: InteractionModelRevision = 1 @@ -75,7 +79,7 @@ tests: verification: | ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as SUCCESS + Verify "DUT performs the door lock action" on the TH(Chip-tool) Log: [1658987280.291023][2735:2740] CHIP:DMG: CommandPathIB = [1658987280.291057][2735:2740] CHIP:DMG: { @@ -103,7 +107,7 @@ tests: ./chip-tool doorlock read lock-state 1 1 - On TH, verify the LockState value as 1 + Verify " LockState " on the TH(Chip-tool) Log: [1658987339.087658][2748:2753] CHIP:DMG: [1658987339.087687][2748:2753] CHIP:DMG: SuppressResponse = true, @@ -118,7 +122,7 @@ tests: verification: | ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 100 - On TH, verify DUT responds with status code as SUCCESS + Verify "DUT performs the door unlock action" on the TH(Chip-tool) Log: [1658987468.977061][2765:2770] CHIP:DMG: CommandPathIB = [1658987468.977098][2765:2770] CHIP:DMG: { @@ -144,7 +148,7 @@ tests: ./chip-tool doorlock read lock-state 1 1 - On TH, verify the LockState value as 2 + Verify " LockState " on the TH(Chip-tool) Log: [1658987519.223710][2773:2778] CHIP:DMG: [1658987519.223741][2773:2778] CHIP:DMG: SuppressResponse = true, @@ -166,7 +170,8 @@ tests: PICS: DRLK.S.A0001 verification: | ./chip-tool doorlock read lock-type 1 1 - On TH, verify the LockType value as 0 + + Verify " LockType " on the TH(Chip-tool) Log: [1654674031.529115][3262:3268] CHIP:DMG: SuppressResponse = true, [1654674031.529142][3262:3268] CHIP:DMG: InteractionModelRevision = 1 @@ -178,7 +183,8 @@ tests: - label: "TH writes LockType attribute as 10" verification: | ./chip-tool doorlock write-by-id 1 10 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify "DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653634731.595327][2943:2948] CHIP:DMG: StatusIB = [1653634731.595374][2943:2948] CHIP:DMG: { @@ -197,7 +203,7 @@ tests: - label: "TH reads LockType attribute from DUT" verification: | ./chip-tool doorlock read lock-type 1 1 - On TH, verify the LockType value as 0 + Verify " LockType " on the TH(Chip-tool) Log: [1654674031.529115][3262:3268] CHIP:DMG: SuppressResponse = true, [1654674031.529142][3262:3268] CHIP:DMG: InteractionModelRevision = 1 @@ -210,7 +216,7 @@ tests: PICS: DRLK.S.A0002 verification: | ./chip-tool doorlock read actuator-enabled 1 1 - On TH, verify the ActuatorEnabled value as TRUE + Verify " ActuatorEnabled " on the TH(Chip-tool) Log: [1654674122.634081][3275:3280] CHIP:DMG: SuppressResponse = true, [1654674122.634110][3275:3280] CHIP:DMG: InteractionModelRevision = 1 @@ -222,7 +228,8 @@ tests: - label: "TH writes ActuatorEnabled attribute as 0" verification: | ./chip-tool doorlock write-by-id 2 0 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1654674810.194674][3309:3314] CHIP:DMG: StatusIB = [1654674810.194720][3309:3314] CHIP:DMG: { @@ -237,7 +244,8 @@ tests: - label: "TH reads ActuatorEnabled attribute from DUT" verification: | ./chip-tool doorlock read actuator-enabled 1 1 - On TH, verify the ActuatorEnabled value as TRUE + + Verify " ActuatorEnabled " on the TH(Chip-tool) Log: [1654674122.634081][3275:3280] CHIP:DMG: SuppressResponse = true, [1654674122.634110][3275:3280] CHIP:DMG: InteractionModelRevision = 1 @@ -250,7 +258,8 @@ tests: PICS: DRLK.S.F05 && DRLK.S.A0003 verification: | ./chip-tool doorlock read door-state 1 1 - On TH, verify the DoorState value as 0 + + Verify " DoorState " on the TH(Chip-tool) Log: [1654674869.818923][3316:3321] CHIP:DMG: SuppressResponse = true, [1654674869.818964][3316:3321] CHIP:DMG: InteractionModelRevision = 1 @@ -262,7 +271,8 @@ tests: - label: "TH writes DoorState attribute as 1" verification: | ./chip-tool doorlock write-by-id 3 1 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1654674934.736017][3324:3330] CHIP:DMG: StatusIB = [1654674934.736062][3324:3330] CHIP:DMG: { @@ -281,13 +291,14 @@ tests: - label: "TH reads DoorState attribute from DUT" verification: | ./chip-tool doorlock read door-state 1 1 - On TH, verify the DoorState value as 0 + + Verify " DoorState " on the TH(Chip-tool) Log: [1654674869.818923][3316:3321] CHIP:DMG: SuppressResponse = true, [1654674869.818964][3316:3321] CHIP:DMG: InteractionModelRevision = 1 - [1654674869.819002][3316:3321] CHIP:DMG: } - [1654674869.819192][3316:3321] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_0003 DataVersion: 3738767914 - [1654674869.819322][3316:3321] CHIP:TOO: DoorState: 0 + [1659354792.817953][18100:18105] CHIP:DMG: } + [1659354792.818130][18100:18105] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_0003 DataVersion: 1502189726 + [1659354792.818229][18100:18105] CHIP:TOO: DoorState: 1 disabled: true - label: "TH reads DoorOpenEvents attribute from DUT" @@ -297,7 +308,7 @@ tests: ./chip-tool doorlock read door-open-events 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DoorOpenEvents " on the TH(Chip-tool) Log: [1654675019.286903][3337:3342] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), [1654675019.286939][3337:3342] CHIP:DMG: }, @@ -319,7 +330,7 @@ tests: ./chip-tool doorlock write-by-id 4 10 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1653376891.000044][2941:2946] CHIP:DMG: } [1653376891.000211][2941:2946] CHIP:DMG: @@ -343,7 +354,7 @@ tests: ./chip-tool doorlock read door-open-events 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DoorOpenEvents " on the TH(Chip-tool) Log: [1654675019.286903][3337:3342] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), [1654675019.286939][3337:3342] CHIP:DMG: }, @@ -365,7 +376,7 @@ tests: ./chip-tool doorlock read door-closed-events 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DoorClosedEvents " on the TH(Chip-tool) Log: [1654675103.637778][3346:3351] CHIP:DMG: StatusIB = [1654675103.637816][3346:3351] CHIP:DMG: { @@ -389,7 +400,7 @@ tests: ./chip-tool doorlock write-by-id 5 11 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654675152.592730][3355:3360] CHIP:DMG: StatusIB = [1654675152.592863][3355:3360] CHIP:DMG: { @@ -410,7 +421,7 @@ tests: ./chip-tool doorlock read door-closed-events 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DoorClosedEvents " on the TH(Chip-tool) Log: [1654675103.637778][3346:3351] CHIP:DMG: StatusIB = [1654675103.637816][3346:3351] CHIP:DMG: { @@ -434,7 +445,7 @@ tests: ./chip-tool doorlock read open-period 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " OpenPeriod " on the TH(Chip-tool) Log: [1653377163.004837][3008:3013] CHIP:DMG: StatusIB = [1653377163.004887][3008:3013] CHIP:DMG: { @@ -460,7 +471,7 @@ tests: ./chip-tool doorlock write-by-id 6 2 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1653635643.566677][3165:3170] CHIP:DMG: StatusIB = [1653635643.566722][3165:3170] CHIP:DMG: { @@ -482,7 +493,7 @@ tests: ./chip-tool doorlock read open-period 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " OpenPeriod " on the TH(Chip-tool) Log: [1653377163.004837][3008:3013] CHIP:DMG: StatusIB = [1653377163.004887][3008:3013] CHIP:DMG: { @@ -505,7 +516,8 @@ tests: PICS: DRLK.S.F08 && DRLK.S.A0011 verification: | ./chip-tool doorlock read number-of-total-users-supported 1 1 - On TH, verify the NumberOfTotalUsersSupported value as 10 + + Verify " NumberOfTotal UsersSupported " on the TH(Chip-tool) Log: [1654679552.707358][3548:3553] CHIP:DMG: SuppressResponse = true, [1654679552.707396][3548:3553] CHIP:DMG: InteractionModelRevision = 1 @@ -517,7 +529,8 @@ tests: - label: "TH writes NumberOfTotal UsersSupported attribute as 20" verification: | ./chip-tool doorlock write-by-id 17 20 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653635760.210005][3203:3208] CHIP:DMG: StatusIB = [1653635760.210051][3203:3208] CHIP:DMG: { @@ -531,7 +544,8 @@ tests: - label: "TH reads NumberOfTotal UsersSupported attribute from DUT" verification: | ./chip-tool doorlock read number-of-total-users-supported 1 1 - On TH, verify the NumberOfTotalUsersSupported value as 10 + + Verify " NumberOfTotal UsersSupported " on the TH(Chip-tool) Log: [1654679552.707358][3548:3553] CHIP:DMG: SuppressResponse = true, [1654679552.707396][3548:3553] CHIP:DMG: InteractionModelRevision = 1 @@ -544,7 +558,8 @@ tests: PICS: DRLK.S.F00 && DRLK.S.A0012 verification: | ./chip-tool doorlock read number-of-pinusers-supported 1 1 - On TH, verify the NumberOfPINUsersSupported value as 10 + + Verify "NumberOfPINUsersSupported " on the TH(Chip-tool) Log: [1654679648.080728][3557:3562] CHIP:DMG: SuppressResponse = true, [1654679648.080765][3557:3562] CHIP:DMG: InteractionModelRevision = 1 @@ -556,7 +571,8 @@ tests: - label: "TH writes NumberOfPINUsersSupported attribute as 25" verification: | ./chip-tool doorlock write-by-id 18 25 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify "DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653635935.885575][3265:3270] CHIP:DMG: StatusIB = [1653635935.885605][3265:3270] CHIP:DMG: { @@ -569,7 +585,8 @@ tests: - label: "TH reads NumberOfPINUsersSupported attribute from DUT" verification: | ./chip-tool doorlock read number-of-pinusers-supported 1 1 - On TH, verify the NumberOfPINUsersSupported value as 10 + + Verify "NumberOfPINUsersSupported " on the TH(Chip-tool) Log: [1654679648.080728][3557:3562] CHIP:DMG: SuppressResponse = true, [1654679648.080765][3557:3562] CHIP:DMG: InteractionModelRevision = 1 @@ -582,7 +599,8 @@ tests: PICS: DRLK.S.F01 && DRLK.S.A0013 verification: | ./chip-tool doorlock read number-of-rfidusers-supported 1 1 - On TH, verify the NumberOfRFIDUsersSupported value as 10 + + Verify "NumberOfRFID UsersSupported " on the TH(Chip-tool) Log: [1654679746.726086][3567:3572] CHIP:DMG: SuppressResponse = true, [1654679746.726122][3567:3572] CHIP:DMG: InteractionModelRevision = 1 @@ -594,7 +612,8 @@ tests: - label: "TH writes NumberOfRFID UsersSupported attribute as 30" verification: | ./chip-tool doorlock write-by-id 19 30 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify "DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653636030.425594][3289:3294] CHIP:DMG: StatusIB = [1653636030.425635][3289:3294] CHIP:DMG: { @@ -607,7 +626,8 @@ tests: - label: "TH reads NumberOfRFID UsersSupported attribute from DUT" verification: | ./chip-tool doorlock read number-of-rfidusers-supported 1 1 - On TH, verify the NumberOfRFIDUsersSupported value as 10 + + Verify "NumberOfRFID UsersSupported " on the TH(Chip-tool) Log: [1654679746.726086][3567:3572] CHIP:DMG: SuppressResponse = true, [1654679746.726122][3567:3572] CHIP:DMG: InteractionModelRevision = 1 @@ -621,7 +641,8 @@ tests: PICS: DRLK.S.F04 && DRLK.S.A0014 verification: | ./chip-tool doorlock read number-of-week-day-schedules-supported-per-user 1 1 - On TH, verify the NumberOfWeekDaySchedulesSupportedPerUser value as 10 + + Verify " NumberOfWeekDaysSchedulesSupporterUser " on the TH(Chip-tool) Log: [1654679824.730432][3578:3583] CHIP:DMG: SuppressResponse = true, [1654679824.730470][3578:3583] CHIP:DMG: InteractionModelRevision = 1 @@ -634,7 +655,8 @@ tests: "TH writes NumberOfWeekDaySchedules SupportedPerUser attribute as 31" verification: | ./chip-tool doorlock write-by-id 20 31 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653636148.975037][3319:3324] CHIP:DMG: StatusIB = [1653636148.975072][3319:3324] CHIP:DMG: { @@ -649,7 +671,8 @@ tests: "TH reads NumberOfWeekDaySchedules SupportedPerUser attribute from DUT" verification: | ./chip-tool doorlock read number-of-week-day-schedules-supported-per-user 1 1 - On TH, verify the NumberOfWeekDaySchedulesSupportedPerUser value as 10 + + Verify " NumberOfWeekDaysSchedulesSupporterUser " on the TH(Chip-tool) Log: [1654679824.730432][3578:3583] CHIP:DMG: SuppressResponse = true, [1654679824.730470][3578:3583] CHIP:DMG: InteractionModelRevision = 1 @@ -660,10 +683,11 @@ tests: - label: "TH reads NumberOfYearDay SchedulesSupportedPeruser attribute from DUT" - PICS: DRLK.S.F04 && DRLK.S.A0015 + PICS: DRLK.S.F10 && DRLK.S.A0015 verification: | ./chip-tool doorlock read number-of-year-day-schedules-supported-per-user 1 1 - On TH, verify the NumberOfYearDaySchedulesSupportedPerUser value as 10 + + Verify " NumberOfYearDaySchedulesSupportedPeruser " on the TH(Chip-tool) Log: [1654679926.699808][3597:3602] CHIP:DMG: SuppressResponse = true, @@ -677,7 +701,9 @@ tests: "TH writes NumberOfYearDay SchedulesSupportedPerUser attribute as 35" verification: | ./chip-tool doorlock write-by-id 21 35 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: + [1653636277.664432][3339:3344] CHIP:DMG: StatusIB = [1653636277.664473][3339:3344] CHIP:DMG: { [1653636277.664507][3339:3344] CHIP:DMG: status = 0x88 (UNSUPPORTED_WRITE), @@ -691,7 +717,8 @@ tests: "TH reads NumberOfYearDay SchedulesSupportedPerUser attribute from DUT" verification: | ./chip-tool doorlock read number-of-year-day-schedules-supported-per-user 1 1 - On TH, verify the NumberOfYearDaySchedulesSupportedPerUser value as 10 + + Verify " NumberOfYearDaySchedulesSupportedPeruser " on the TH(Chip-tool) Log: [1654679926.699808][3597:3602] CHIP:DMG: SuppressResponse = true, @@ -702,10 +729,11 @@ tests: disabled: true - label: "TH reads NumberOfHoliDay SchedulesSupported attribute from DUT" - PICS: DRLK.S.F04 && DRLK.S.A0016 + PICS: DRLK.S.F11 && DRLK.S.A0016 verification: | ./chip-tool doorlock read number-of-holiday-schedules-supported 1 1 - On TH, verify the NumberOfHolidaySchedulesSupported value as 10 + + Verify " NumberOfHoliDaySchedulesSupported " on the TH(Chip-tool) Log: [1654680009.422218][3611:3616] CHIP:DMG: SuppressResponse = true, [1654680009.422246][3611:3616] CHIP:DMG: InteractionModelRevision = 1 @@ -717,7 +745,7 @@ tests: - label: "TH writes NumberOfHoliday SchedulesSupported attribute as 36" verification: | ./chip-tool doorlock write-by-id 22 36 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1654680084.923185][3619:3624] CHIP:DMG: StatusIB = [1654680084.923237][3619:3624] CHIP:DMG: { @@ -733,7 +761,7 @@ tests: - label: "TH reads NumberOfHoliday SchedulesSupported attribute from DUT" verification: | ./chip-tool doorlock read number-of-holiday-schedules-supported 1 1 - On TH, verify the NumberOfHolidaySchedulesSupported value as 10 + Verify " NumberOfHoliDaySchedulesSupported " on the TH(Chip-tool) Log: [1654680009.422218][3611:3616] CHIP:DMG: SuppressResponse = true, [1654680009.422246][3611:3616] CHIP:DMG: InteractionModelRevision = 1 @@ -746,7 +774,7 @@ tests: PICS: DRLK.S.F00 && DRLK.S.A0017 verification: | ./chip-tool doorlock read max-pincode-length 1 1 - On TH, verify the MaxPINCodeLength value as 8 + Verify " MaxPINCodeLength " on the TH(Chip-tool) Log: [1654680165.814980][3630:3635] CHIP:DMG: [1654680165.815012][3630:3635] CHIP:DMG: SuppressResponse = true, @@ -759,7 +787,7 @@ tests: - label: "TH writes MaxPINCodeLength attribute as 85" verification: | ./chip-tool doorlock write-by-id 23 85 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653636463.990965][3391:3396] CHIP:DMG: StatusIB = [1653636463.991004][3391:3396] CHIP:DMG: { @@ -773,7 +801,7 @@ tests: - label: "TH reads MaxPINCodeLength attribute from DUT" verification: | ./chip-tool doorlock read max-pincode-length 1 1 - On TH, verify the MaxPINCodeLength value as 8 + Verify " MaxPINCodeLength " on the TH(Chip-tool) Log: [1654680165.814980][3630:3635] CHIP:DMG: [1654680165.815012][3630:3635] CHIP:DMG: SuppressResponse = true, @@ -787,7 +815,7 @@ tests: PICS: DRLK.S.F00 && DRLK.S.A0018 verification: | ./chip-tool doorlock read min-pincode-length 1 1 - On TH, verify the MinPINCodeLength value as 6 + Verify " MinPINCodeLength " on the TH(Chip-tool) Log: [1654680280.327216][3639:3644] CHIP:DMG: SuppressResponse = true, [1654680280.327241][3639:3644] CHIP:DMG: InteractionModelRevision = 1 @@ -799,7 +827,7 @@ tests: - label: "TH writes MinPINCodeLength attribute as 63" verification: | ./chip-tool doorlock write-by-id 24 63 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653636555.069388][3409:3414] CHIP:DMG: StatusIB = [1653636555.069431][3409:3414] CHIP:DMG: { @@ -814,7 +842,7 @@ tests: - label: "TH reads MinPINCodeLength attribute from DUT" verification: | ./chip-tool doorlock read min-pincode-length 1 1 - On TH, verify the MinPINCodeLength value as 6 + Verify " MinPINCodeLength " on the TH(Chip-tool) Log: [1654680280.327216][3639:3644] CHIP:DMG: SuppressResponse = true, [1654680280.327241][3639:3644] CHIP:DMG: InteractionModelRevision = 1 @@ -827,7 +855,7 @@ tests: PICS: DRLK.S.F01 && DRLK.S.A0019 verification: | ./chip-tool doorlock read max-rfidcode-length 1 1 - On TH, verify the MaxRFIDCodeLength value as 20 + Verify " MaxRFIDCodeLength " on the TH(Chip-tool) Log: [1654680386.044531][3650:3655] CHIP:DMG: SuppressResponse = true, [1654680386.044564][3650:3655] CHIP:DMG: InteractionModelRevision = 1 @@ -839,7 +867,7 @@ tests: - label: "TH writes MaxRFIDCodeLength attribute as 46" verification: | ./chip-tool doorlock write-by-id 25 46 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653636648.222617][3428:3433] CHIP:DMG: [1653636648.222661][3428:3433] CHIP:DMG: StatusIB = @@ -855,7 +883,7 @@ tests: - label: "TH reads MaxRFIDCodeLength attribute from DUT" verification: | ./chip-tool doorlock read max-rfidcode-length 1 1 - On TH, verify the MaxRFIDCodeLength value as 20 + Verify " MaxRFIDCodeLength " on the TH(Chip-tool) Log: [1654680386.044531][3650:3655] CHIP:DMG: SuppressResponse = true, [1654680386.044564][3650:3655] CHIP:DMG: InteractionModelRevision = 1 @@ -868,7 +896,7 @@ tests: PICS: DRLK.S.F01 && DRLK.S.A001a verification: | ./chip-tool doorlock read min-rfidcode-length 1 1 - On TH, verify the MinRFIDCodeLength value as 10 + Verify " MinRFIDCodeLength " on the TH(Chip-tool) Log: [1654680510.153261][3668:3673] CHIP:DMG: SuppressResponse = true, [1654680510.153298][3668:3673] CHIP:DMG: InteractionModelRevision = 1 @@ -880,7 +908,7 @@ tests: - label: "TH writes MinRFIDCodeLength attribute as 17" verification: | ./chip-tool doorlock write-by-id 26 17 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify "DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1654680561.429054][3676:3681] CHIP:DMG: StatusIB = [1654680561.429096][3676:3681] CHIP:DMG: { @@ -895,7 +923,7 @@ tests: - label: "TH reads MinRFIDCodeLength attribute from DUT" verification: | ./chip-tool doorlock read min-rfidcode-length 1 1 - On TH, verify the MinRFIDCodeLength value as 10 + Verify " MinRFIDCodeLength " on the TH(Chip-tool) Log: [1654680510.153261][3668:3673] CHIP:DMG: SuppressResponse = true, [1654680510.153298][3668:3673] CHIP:DMG: InteractionModelRevision = 1 @@ -908,7 +936,8 @@ tests: PICS: DRLK.S.F08 && DRLK.S.A001b verification: | ./chip-tool doorlock read credential-rules-support 1 1 - On TH, verify the CredentialRulesSupport value as 1 + + Verify " Credential RulesSupport " on the TH(Chip-tool) Log: [1654680805.922076][3692:3697] CHIP:DMG: SuppressResponse = true, [1654680805.922118][3692:3697] CHIP:DMG: InteractionModelRevision = 1 @@ -920,7 +949,8 @@ tests: - label: "TH writes Credential RulesSupport attribute as bit 0 is set to 1" verification: | ./chip-tool doorlock write-by-id 27 1 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + + Verify "DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653636825.034667][3467:3472] CHIP:DMG: [1653636825.034712][3467:3472] CHIP:DMG: StatusIB = @@ -936,7 +966,8 @@ tests: - label: "TH reads Credential RulesSupport attribute from DUT" verification: | ./chip-tool doorlock read credential-rules-support 1 1 - On TH, verify the CredentialRulesSupport value as 1 + + Verify " Credential RulesSupport " on the TH(Chip-tool) Log: [1654680805.922076][3692:3697] CHIP:DMG: SuppressResponse = true, [1654680805.922118][3692:3697] CHIP:DMG: InteractionModelRevision = 1 @@ -951,7 +982,8 @@ tests: PICS: DRLK.S.A0021 verification: | ./chip-tool doorlock read language 1 1 - On TH, verify the Language value as en + + Verify " Language " on the TH(Chip-tool) Log: [1654680885.954478][3700:3705] CHIP:DMG: SuppressResponse = true, [1654680885.954512][3700:3705] CHIP:DMG: InteractionModelRevision = 1 @@ -963,7 +995,7 @@ tests: - label: "TH writes Language attribute as fr" verification: | ./chip-tool doorlock write language fr 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654680959.481870][3711:3716] CHIP:DMG: StatusIB = [1654680959.481910][3711:3716] CHIP:DMG: { @@ -981,7 +1013,7 @@ tests: - label: "TH reads Language attribute from DUT" verification: | ./chip-tool doorlock read language 1 1 - On TH, verify the Language value as fr + Verify " Language " on the TH(Chip-tool) Log: [1654681045.720848][3721:3726] CHIP:DMG: SuppressResponse = true, [1654681045.720882][3721:3726] CHIP:DMG: InteractionModelRevision = 1 @@ -999,7 +1031,7 @@ tests: ./chip-tool doorlock read ledsettings 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LEDSettings " on the TH(Chip-tool) Log: [1654681074.956471][3728:3733] CHIP:DMG: StatusIB = [1654681074.956514][3728:3733] CHIP:DMG: { @@ -1019,7 +1051,7 @@ tests: ./chip-tool doorlock write ledsettings 1 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [[1653636933.733579][3485:3490] CHIP:DMG: StatusIB = [1653636933.733614][3485:3490] CHIP:DMG: { @@ -1039,7 +1071,7 @@ tests: ./chip-tool doorlock read ledsettings 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LEDSettings " on the TH(Chip-tool) Log: [1654681074.956471][3728:3733] CHIP:DMG: StatusIB = [1654681074.956514][3728:3733] CHIP:DMG: { @@ -1059,7 +1091,7 @@ tests: PICS: DRLK.S.A0023 verification: | ./chip-tool doorlock read auto-relock-time 1 1 - On TH, verify the AutoRelockTime value as 60 + Verify " AutoRelockTime " on the TH(Chip-tool) Log: [1654681151.469284][3736:3741] CHIP:DMG: SuppressResponse = true, [1654681151.469317][3736:3741] CHIP:DMG: InteractionModelRevision = 1 @@ -1071,7 +1103,7 @@ tests: - label: "TH writes AutoRelockTime attribute as 180 seconds" verification: | ./chip-tool doorlock write auto-relock-time 180 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654681228.902110][3744:3749] CHIP:DMG: StatusIB = [1654681228.902166][3744:3749] CHIP:DMG: { @@ -1089,7 +1121,7 @@ tests: - label: "TH reads AutoRelockTime attribute from DUT" verification: | ./chip-tool doorlock read auto-relock-time 1 1 - On TH, verify the AutoRelockTime value as 180 + Verify " AutoRelockTime " on the TH(Chip-tool) Log: [1654681283.157135][3754:3759] CHIP:DMG: SuppressResponse = true, [1654681283.157160][3754:3759] CHIP:DMG: InteractionModelRevision = 1 @@ -1104,7 +1136,7 @@ tests: PICS: DRLK.S.A0024 verification: | ./chip-tool doorlock read sound-volume 1 1 - On TH, verify the SoundVolume value as 0 + Verify " SoundVolume " on the TH(Chip-tool) Log: [1654681357.022476][3768:3773] CHIP:DMG: SuppressResponse = true, [1654681357.022511][3768:3773] CHIP:DMG: InteractionModelRevision = 1 @@ -1116,7 +1148,7 @@ tests: - label: "TH writes SoundVolume attribute as 3" verification: | ./chip-tool doorlock write sound-volume 3 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654681412.367916][3782:3787] CHIP:DMG: StatusIB = [1654681412.367963][3782:3787] CHIP:DMG: { @@ -1131,7 +1163,7 @@ tests: - label: "TH reads SoundVolume attribute from DUT" verification: | ./chip-tool doorlock read sound-volume 1 1 - On TH, verify the SoundVolume value as 3 + Verify " SoundVolume " on the TH(Chip-tool) Log: [1654681449.086921][3789:3794] CHIP:DMG: SuppressResponse = true, [1654681449.086958][3789:3794] CHIP:DMG: InteractionModelRevision = 1 @@ -1144,7 +1176,7 @@ tests: PICS: DRLK.S.A0026 verification: | ./chip-tool doorlock read supported-operating-modes 1 1 - On TH, verify the SupportedOperatingModes value as 65526 + Verify " SupportedOperatingModes " on the TH(Chip-tool) Log: [1654681500.464948][3797:3802] CHIP:DMG: SuppressResponse = true, [1654681500.464974][3797:3802] CHIP:DMG: InteractionModelRevision = 1 @@ -1156,7 +1188,7 @@ tests: - label: "TH writes Supported OperatingModes attribute as bit 0 is set to 0" verification: | ./chip-tool doorlock write-by-id 38 0 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653637108.039160][3522:3527] CHIP:DMG: StatusIB = [1653637108.039205][3522:3527] CHIP:DMG: { @@ -1171,7 +1203,7 @@ tests: - label: "TH reads Supported OperatingModes attribute from DUT" verification: | ./chip-tool doorlock read supported-operating-modes 1 1 - On TH, verify the SupportedOperatingModes value as 65526 + Verify " SupportedOperatingModes " on the TH(Chip-tool) Log: [1654681500.464948][3797:3802] CHIP:DMG: SuppressResponse = true, [1654681500.464974][3797:3802] CHIP:DMG: InteractionModelRevision = 1 @@ -1186,7 +1218,7 @@ tests: PICS: DRLK.S.A0025 verification: | ./chip-tool doorlock read operating-mode 1 1 - On TH, verify the OperatingMode value as 0 + Verify "OperatingMode " on the TH(Chip-tool) Log: [1654681628.413702][3817:3822] CHIP:DMG: SuppressResponse = true, @@ -1201,7 +1233,7 @@ tests: value is present in SupportedOperatingModes" verification: | ./chip-tool doorlock write operating-mode 0 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654681685.239429][3833:3838] CHIP:DMG: StatusIB = [1654681685.239464][3833:3838] CHIP:DMG: { @@ -1219,7 +1251,7 @@ tests: and the new value is present in Supported OperatingModes" verification: | ./chip-tool doorlock write operating-mode 3 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "OperatingMode response " on the TH(Chip-tool) Log: [1654681685.239429][3833:3838] CHIP:DMG: StatusIB = @@ -1236,7 +1268,7 @@ tests: - label: "TH reads OperatingMode attribute from DUT" verification: | ./chip-tool doorlock read operating-mode 1 1 - On TH, verify the OperatingMode value as 3 + Verify "OperatingMode " on the TH(Chip-tool) Log: [1654681926.819078][3864:3870] CHIP:DMG: SuppressResponse = true, [1654681926.819124][3864:3870] CHIP:DMG: InteractionModelRevision = 1 @@ -1252,7 +1284,7 @@ tests: ./chip-tool doorlock read default-configuration-register 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "Default ConfigurationRegister " on the TH(Chip-tool) Log: [1654682006.877169][3876:3881] CHIP:DMG: StatusIB = [1654682006.877222][3876:3881] CHIP:DMG: { @@ -1277,7 +1309,7 @@ tests: ./chip-tool doorlock write-by-id 39 1 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "DUT responds with UNSUPPORTED_WRITE " on the TH(Chip-tool) Log: [1653637348.333879][3570:3575] CHIP:DMG: StatusIB = [1653637348.333920][3570:3575] CHIP:DMG: { @@ -1295,7 +1327,7 @@ tests: ./chip-tool doorlock read default-configuration-register 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "Default ConfigurationRegister " on the TH(Chip-tool) Log: [1654682006.877169][3876:3881] CHIP:DMG: StatusIB = [1654682006.877222][3876:3881] CHIP:DMG: { @@ -1321,7 +1353,7 @@ tests: ./chip-tool doorlock read enable-local-programming 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "EnableLocalProgramming " on the TH(Chip-tool) Log: [1654682107.524282][3886:3891] CHIP:DMG: { [1654682107.524320][3886:3891] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), @@ -1338,9 +1370,9 @@ tests: verification: | This is an Optional attribute, so its not compulsory to get the expected outcome - ./chip-tool doorlock write enable-local-programming 0 1 1 + ./chip-tool doorlock write 40 0 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653637444.331118][3599:3604] CHIP:DMG: StatusIB = [1653637444.331165][3599:3604] CHIP:DMG: { @@ -1359,7 +1391,7 @@ tests: ./chip-tool doorlock read enable-local-programming 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "EnableLocalProgramming " on the TH(Chip-tool) Log: [1654682107.524282][3886:3891] CHIP:DMG: { [1654682107.524320][3886:3891] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE), @@ -1376,7 +1408,8 @@ tests: PICS: DRLK.S.A0029 verification: | ./chip-tool doorlock read enable-one-touch-locking 1 1 - On TH, verify the EnableOneTouchLocking value as FALSE + + Verify "EnableOneTouchLocking " on the TH(Chip-tool) Log: [1654682200.857783][3895:3900] CHIP:DMG: SuppressResponse = true, [1654682200.857809][3895:3900] CHIP:DMG: InteractionModelRevision = 1 @@ -1389,7 +1422,7 @@ tests: PICS: DRLK.S.A0029 verification: | ./chip-tool doorlock write enable-one-touch-locking 1 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT send the success response" on the TH(Chip-tool) Log: [1654682241.954790][3903:3908] CHIP:DMG: StatusIB = [1654682241.954869][3903:3908] CHIP:DMG: { @@ -1405,7 +1438,7 @@ tests: - label: "TH reads EnableOneTouchLocking attribute from DUT" verification: | ./chip-tool doorlock read enable-one-touch-locking 1 1 - On TH, verify the EnableOneTouchLocking value as TRUE + Verify "EnableOneTouchLocking " on the TH(Chip-tool) Log: [1654682289.946247][3914:3919] CHIP:DMG: SuppressResponse = true, [1654682289.946294][3914:3919] CHIP:DMG: InteractionModelRevision = 1 @@ -1421,7 +1454,7 @@ tests: ./chip-tool doorlock read enable-inside-status-led 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "EnableInsideStatusLED" on the TH(Chip-tool) Log: [1654682333.059815][3921:3926] CHIP:DMG: StatusIB = [1654682333.059848][3921:3926] CHIP:DMG: { @@ -1443,7 +1476,7 @@ tests: ./chip-tool doorlock write-by-id 42 1 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "DUT send the success response" on the TH(Chip-tool) Log: [1653386385.348368][3801:3806] CHIP:DMG: StatusIB = [1653386385.348419][3801:3806] CHIP:DMG: { @@ -1461,7 +1494,7 @@ tests: ./chip-tool doorlock read enable-inside-status-led 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "EnableInsideStatusLED" on the TH(Chip-tool) Log: [1654682333.059815][3921:3926] CHIP:DMG: StatusIB = [1654682333.059848][3921:3926] CHIP:DMG: { @@ -1481,7 +1514,7 @@ tests: verification: | ./chip-tool doorlock read enable-privacy-mode-button 1 1 - On TH, verify the EnablePrivacyModeButton value as FALSE + Verify " EnablePrivacyModeButton" on the TH(Chip-tool) Log: [1654682475.460532][3931:3936] CHIP:DMG: SuppressResponse = true, [1654682475.460586][3931:3936] CHIP:DMG: InteractionModelRevision = 1 @@ -1494,7 +1527,8 @@ tests: PICS: DRLK.S.A002b verification: | ./chip-tool doorlock write enable-privacy-mode-button 1 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + + Verify " DUT send the success response" on the TH(Chip-tool) Log: [1654682528.961800][3939:3944] CHIP:DMG: StatusIB = [1654682528.961832][3939:3944] CHIP:DMG: { @@ -1511,7 +1545,8 @@ tests: - label: "TH reads EnablePrivacyModeButton attribute from DUT" verification: | ./chip-tool doorlock read enable-privacy-mode-button 1 1 - On TH, verify the EnablePrivacyModeButton value as TRUE + + Verify " EnablePrivacyModeButton" on the TH(Chip-tool) Log: [1654682565.141153][3948:3953] CHIP:DMG: SuppressResponse = true, [1654682565.141195][3948:3953] CHIP:DMG: InteractionModelRevision = 1 @@ -1529,7 +1564,7 @@ tests: ./chip-tool doorlock read local-programming-features 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LocalProgrammingFeatures" on the TH(Chip-tool) Log: [1658987637.292491][2794:2799] CHIP:DMG: StatusIB = [1658987637.292530][2794:2799] CHIP:DMG: { @@ -1549,13 +1584,13 @@ tests: disabled: true - label: "TH reads LocalProgrammingFeatures attribute from DUT" - PICS: DRLK.S.A002c && DRLK.S.A0028 + PICS: DRLK.S.A002c && DRLK.S.A0028 && DRLK.S.A002c verification: | This is an Optional attribute, so its not compulsory to get the expected outcome ./chip-tool doorlock read local-programming-features 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LocalProgrammingFeatures" on the TH(Chip-tool) Log: [1658987637.292491][2794:2799] CHIP:DMG: StatusIB = [1658987637.292530][2794:2799] CHIP:DMG: { @@ -1583,7 +1618,7 @@ tests: ./chip-tool doorlock write-by-id 44 0 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LocalProgrammingFeatures" on the TH(Chip-tool) Log: [1658987893.199449][2822:2827] CHIP:DMG: StatusIB = [1658987893.199501][2822:2827] CHIP:DMG: { @@ -1607,7 +1642,7 @@ tests: ./chip-tool doorlock write enable-local-programming 0 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " EnableLocalProgramming" on the TH(Chip-tool) Log: [1658988052.124227][2834:2839] CHIP:DMG: StatusIB = [1658988052.124259][2834:2839] CHIP:DMG: { @@ -1627,7 +1662,7 @@ tests: ./chip-tool doorlock read local-programming-features 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LocalProgrammingFeatures" on the TH(Chip-tool) Log: [1658987637.292491][2794:2799] CHIP:DMG: StatusIB = [1658987637.292530][2794:2799] CHIP:DMG: { @@ -1653,7 +1688,7 @@ tests: ./chip-tool doorlock write enable-local-programming 1 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " EnableLocalProgramming" on the TH(Chip-tool) Log: [1658988136.125747][2845:2850] CHIP:DMG: StatusIB = [1658988136.125781][2845:2850] CHIP:DMG: { @@ -1674,7 +1709,7 @@ tests: ./chip-tool doorlock read local-programming-features 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " LocalProgrammingFeatures" on the TH(Chip-tool) Log: [1658987637.292491][2794:2799] CHIP:DMG: StatusIB = [1658987637.292530][2794:2799] CHIP:DMG: { @@ -1702,7 +1737,7 @@ tests: ./chip-tool doorlock write-by-id 44 2 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1658988308.728071][2866:2871] CHIP:DMG: StatusIB = [1658988308.728110][2866:2871] CHIP:DMG: { @@ -1728,7 +1763,7 @@ tests: ./chip-tool doorlock write-by-id 44 3 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " DUT sends an UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1658988387.295252][2874:2879] CHIP:DMG: StatusIB = [1658988387.295294][2874:2879] CHIP:DMG: { @@ -1751,7 +1786,8 @@ tests: PICS: DRLK.S.F00 || DRLK.S.F01 && DRLK.S.A0030 verification: | ./chip-tool doorlock read wrong-code-entry-limit 1 1 - On TH, verify the WrongCodeEntryLimit value as 3 + + Verify " WrongCodeEntry Limit" on the TH(Chip-tool) Log: [1654682697.191640][3970:3975] CHIP:DMG: SuppressResponse = true, [1654682697.191686][3970:3975] CHIP:DMG: InteractionModelRevision = 1 @@ -1763,7 +1799,8 @@ tests: - label: "TH writes WrongCodeEntryLimit attribute as 8" verification: | ./chip-tool doorlock write wrong-code-entry-limit 8 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654682751.960343][3981:3987] CHIP:DMG: StatusIB = [1654682751.960389][3981:3987] CHIP:DMG: { @@ -1779,7 +1816,8 @@ tests: - label: "TH reads WrongCode EntryLimit attribute" verification: | ./chip-tool doorlock read wrong-code-entry-limit 1 1 - On TH, verify the WrongCodeEntryLimit value as 8 + + Verify " WrongCodeEntry Limit" on the TH(Chip-tool) Log: [1654682801.226369][3989:3994] CHIP:DMG: SuppressResponse = true, [1654682801.226394][3989:3994] CHIP:DMG: InteractionModelRevision = 1 @@ -1795,7 +1833,7 @@ tests: verification: | ./chip-tool doorlock read user-code-temporary-disable-time 1 1 - On TH, verify the UserCodeTemporaryDisableTime value as 10 + Verify " UserCodeTemporary Disable" on the TH(Chip-tool) Log: [1654682846.758616][3996:4001] CHIP:DMG: SuppressResponse = true, [1654682846.758658][3996:4001] CHIP:DMG: InteractionModelRevision = 1 @@ -1807,7 +1845,8 @@ tests: - label: "TH writes UserCodeTemporaryDisableTime attribute as 120" verification: | ./chip-tool doorlock write user-code-temporary-disable-time 120 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654682895.502869][4011:4016] CHIP:DMG: StatusIB = [1654682895.502946][4011:4016] CHIP:DMG: { @@ -1824,7 +1863,8 @@ tests: - label: "TH reads UserCodeTemporary DisableTime attribute" verification: | ./chip-tool doorlock read user-code-temporary-disable-time 1 1 - On TH, verify the UserCodeTemporaryDisableTime value as 120 + + Verify " UserCodeTemporary Disable" on the TH(Chip-tool) Log: [1654682975.285821][4032:4037] CHIP:DMG: SuppressResponse = true, [1654682975.285867][4032:4037] CHIP:DMG: InteractionModelRevision = 1 @@ -1837,7 +1877,8 @@ tests: PICS: DRLK.S.F07 && DRLK.S.F00 && DRLK.S.A0033 verification: | ./chip-tool doorlock read require-pinfor-remote-operation 1 1 - On TH, verify the RequirePINforRemoteOperation value as FALSE + + Verify " RequirePINfor RemoteOperation" on the TH(Chip-tool) Log: [1656335145.428166][4073:4078] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_0033 DataVersion: 542587181 [1656335145.428293][4073:4078] CHIP:TOO: RequirePINforRemoteOperation: FALSE @@ -1847,7 +1888,7 @@ tests: - label: "TH writes RequirePINfor RemoteOperation attribute as true" verification: | ./chip-tool doorlock write require-pinfor-remote-operation 1 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1655211439.627206][18643:18648] CHIP:DMG: ReportDataMessage = [1655211439.627269][18643:18648] CHIP:DMG: { @@ -1884,7 +1925,7 @@ tests: verification: | ./chip-tool doorlock read require-pinfor-remote-operation 1 1 - On TH, verify the RequirePINforRemoteOperation value as TRUE + Verify " RequirePINfor RemoteOperation" on the TH(Chip-tool) Log: [1656335583.516419][4104:4109] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_0033 DataVersion: 542587182 [1656335583.516511][4104:4109] CHIP:TOO: RequirePINforRemoteOperation: TRUE @@ -1900,7 +1941,7 @@ tests: ./chip-tool doorlock read expiring-user-timeout 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " ExpiringUserTimeOut" on the TH(Chip-tool) Log: [1654683235.889077][4073:4078] CHIP:DMG: StatusIB = [1654683235.889118][4073:4078] CHIP:DMG: { @@ -1920,7 +1961,7 @@ tests: ./chip-tool doorlock write-by-id 53 10 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify "DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1653386652.024354][3831:3836] CHIP:DMG: StatusIB = [1653386652.024390][3831:3836] CHIP:DMG: { @@ -1938,7 +1979,7 @@ tests: ./chip-tool doorlock read expiring-user-timeout 1 1 - On TH, verify DUT responds with status code as(UNSUPPORTED_ATTRIBUTE) + Verify " ExpiringUserTimeOut" on the TH(Chip-tool) Log: [1654683235.889077][4073:4078] CHIP:DMG: StatusIB = [1654683235.889118][4073:4078] CHIP:DMG: { @@ -1957,7 +1998,7 @@ tests: verification: | ./chip-tool doorlock read number-of-credentials-supported-per-user 1 1 - On TH, verify the NumberOfCredentialsSupportedPerUseron value as 5 + Verify " NumberOfCredentials SupportedPerUser" on the TH(Chip-tool) Log: [1654683489.274961][4132:4137] CHIP:DMG: SuppressResponse = true, [1654683489.275002][4132:4137] CHIP:DMG: InteractionModelRevision = 1 @@ -1969,7 +2010,7 @@ tests: - label: "TH writes NumberOfCredentials SupportedPerUser attribute as 85" verification: | ./chip-tool doorlock write-by-id 28 10 1 1 - On TH, verify DUT responds with status code as (UNSUPPORTED_WRITE) + Verify " DUT responds with UNSUPPORTED_WRITE" on the TH(Chip-tool) Log: [1654683627.680196][4148:4153] CHIP:DMG: StatusIB = [1654683627.680252][4148:4153] CHIP:DMG: { @@ -1986,7 +2027,7 @@ tests: - label: "TH reads NumberOfCredentials SupportedPerUser attribute from DUT" verification: | ./chip-tool doorlock read number-of-credentials-supported-per-user 1 1 - On TH, verify the NumberOfCredentialsSupportedPerUseron value as 5 + Verify " NumberOfCredentials SupportedPerUser" on the TH(Chip-tool) Log: [1654683489.274961][4132:4137] CHIP:DMG: SuppressResponse = true, [1654683489.275002][4132:4137] CHIP:DMG: InteractionModelRevision = 1 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml index 4a34f0b1322c1d..ac5748bd9363e2 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_10.yaml @@ -30,35 +30,70 @@ tests: scenario)" PICS: DRLK.S.E00 && DRLK.S.DetectLockJammed verification: | + To trigger the event give below command in another terminal of DUT + + echo "{"Cmd": "SendDoorLockAlarm", "Params": { "EndpointId": 1, "AlarmCode": 0 } }" > /tmp/chip_lock_app_fifo- (PID of lock-app) + For example : + echo "{"Cmd": "SendDoorLockAlarm", "Params": { "EndpointId": 1, "AlarmCode": 0 } }" > /tmp/chip_lock_app_fifo-3940 + ./chip-tool doorlock read-event door-lock-alarm 1 1 + + Verify "TH receives the DoorLockAlarm event and AlarmCode is set to LockJammed " on the TH(Chip-tool) Log: + + [1659521453.110272][4098:4103] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0000 + [1659521453.110310][4098:4103] CHIP:TOO: Event number: 4 + [1659521453.110339][4098:4103] CHIP:TOO: Priority: Critical + [1659521453.110401][4098:4103] CHIP:TOO: Timestamp: 23514182 + [1659521453.110507][4098:4103] CHIP:TOO: DoorLockAlarm: { + [1659521453.110557][4098:4103] CHIP:TOO: AlarmCode: 0 + [1659521453.110591][4098:4103] CHIP:TOO: } disabled: true - label: "TH reads the DoorLockAlarm event from DUT" PICS: DRLK.S.E00 verification: | - ./chip-tool doorlock read-event door-lock-alarm 1 1 + verification step to be updated. + disabled: true + - label: "Trigger the DUT to generate DoorStateChange Event" + PICS: DRLK.S.F05 && DRLK.S.E01 + verification: | + To trigger the event give below command in another terminal of DUT + echo "{"Cmd": "SetDoorState", "Params": { "EndpointId": 1, "DoorState": 1 } }" > /tmp/chip_lock_app_fifo-4055 (4055 - value changes) + + ./chip-tool doorlock read-event door-state-change 1 1 + Verify "TH recieve the DoorLockAlaram event and DoorState set to DoorClosed " on the TH(Chip-tool) Log: + + [1659521576.156075][4109:4114] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0001 + [1659521576.156118][4109:4114] CHIP:TOO: Event number: 1 + [1659521576.156150][4109:4114] CHIP:TOO: Priority: Critical + [1659521576.156181][4109:4114] CHIP:TOO: Timestamp: 23466089 + [1659521576.156277][4109:4114] CHIP:TOO: DoorStateChange: { + [1659521576.156331][4109:4114] CHIP:TOO: DoorState: 1 + [1659521576.156368][4109:4114] CHIP:TOO: } + disabled: true - [1658139762.662050][2506:2511] CHIP:DMG: ReportDataMessage = - [1658139762.662086][2506:2511] CHIP:DMG: { - [1658139762.662178][2506:2511] CHIP:DMG: SuppressResponse = true, - [1658139762.662244][2506:2511] CHIP:DMG: InteractionModelRevision = 1 - [1658139762.662272][2506:2511] CHIP:DMG: } + - label: "TH reads the DoorStateChange event from DUT" + PICS: DRLK.S.F05 && DRLK.S.E01 + verification: | + verification step to be updated. disabled: true - - label: "TH sends the Lock Door command to the DUT" + - label: + "TH sends the Lock Door command (using Remote) to the DUT with valid + PINCode" PICS: DRLK.S.C00.Rsp verification: | ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1656497453.684077][25847:25853] CHIP:DMG: status = 0x00 (SUCCESS), ./chip-tool doorlock set-credential 0 "{ "credentialType" : 1 , "credentialIndex" : 1 }" 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1656497508.814196][25858:25863] CHIP:TOO: SetCredentialResponse: { [1656497508.814257][25858:25863] CHIP:TOO: status: 0 @@ -69,7 +104,7 @@ tests: ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654687870.020678][4246:4251] CHIP:DMG: [1654687870.020715][4246:4251] CHIP:DMG: StatusIB = @@ -87,66 +122,57 @@ tests: [1654687870.021160][4246:4251] CHIP:DMG: }," disabled: true - - label: "TH reads the DoorStateChange event from DUT" - PICS: DRLK.S.F05 && DRLK.S.E01 - verification: | - There is no way to change the door state over Matter. - disabled: true - - - label: "TH sends the Unlock Door command to the DUT with valid PINCode" - PICS: DRLK.S.C01.Rsp + - label: "TH reads the LockOperation event from DUT" + PICS: DRLK.S.E02 verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - - On TH, verify DUT responds with status code as (SUCCESS) - - [1658140426.668024][2679:2684] CHIP:DMG: - [1658140426.668070][2679:2684] CHIP:DMG: StatusIB = - [1658140426.668110][2679:2684] CHIP:DMG: { - [1658140426.668158][2679:2684] CHIP:DMG: status = 0x00 (SUCCESS), - [1658140426.668211][2679:2684] CHIP:DMG: }, - [1658140426.668249][2679:2684] CHIP:DMG: - [1658140426.668296][2679:2684] CHIP:DMG: }, - [1658140426.668347][2679:2684] CHIP:DMG: - [1658140426.668379][2679:2684] CHIP:DMG: }, - [1658140426.668424][2679:2684] CHIP:DMG: - [1658140426.668452][2679:2684] CHIP:DMG: ], - [1658140426.668496][2679:2684] CHIP:DMG: - [1658140426.668524][2679:2684] CHIP:DMG: InteractionModelRevision = 1 - [1658140426.668560][2679:2684] CHIP:DMG: }, - [1658140426.668635][2679:2684] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x0 - disabled: true + ./chip-tool doorlock read-event lock-operation 1 1 - - label: "TH reads the DoorStateChange event from DUT" - PICS: DRLK.S.F05 && DRLK.S.E01 - verification: | - There is no way to change the door state over Matter. + Verify " LockOperationType is set to Lock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: + + [1659777214.883129][3089:3094] CHIP:DMG: SuppressResponse = true, + [1659777214.883159][3089:3094] CHIP:DMG: InteractionModelRevision = 1 + [1659777214.883180][3089:3094] CHIP:DMG: } + [1659777214.883353][3089:3094] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 + [1659777214.883376][3089:3094] CHIP:TOO: Event number: 6 + [1659777214.883395][3089:3094] CHIP:TOO: Priority: Critical + [1659777214.883415][3089:3094] CHIP:TOO: Timestamp: 2901168 + [1659777214.883522][3089:3094] CHIP:TOO: LockOperation: { + [1659777214.883563][3089:3094] CHIP:TOO: LockOperationType: 0 + [1659777214.883584][3089:3094] CHIP:TOO: OperationSource: 7 + [1659777214.883605][3089:3094] CHIP:TOO: UserIndex: 1 + [1659777214.883625][3089:3094] CHIP:TOO: FabricIndex: 1 + [1659777214.883647][3089:3094] CHIP:TOO: SourceNode: 112233 + [1659777214.883675][3089:3094] CHIP:TOO: Credentials: 1 entries + [1659777214.883722][3089:3094] CHIP:TOO: [1]: { + [1659777214.883744][3089:3094] CHIP:TOO: CredentialType: 1 + [1659777214.883764][3089:3094] CHIP:TOO: CredentialIndex: 1 + [1659777214.883784][3089:3094] CHIP:TOO: } + [1659777214.883804][3089:3094] CHIP:TOO: } disabled: true - label: - "TH sends the Lock Door command (using Remote) to the DUT with valid + "TH sends the Unlock Door command(using Remote) to the DUT with valid PINCode" - PICS: DRLK.S.C00.Rsp + PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - On TH, verify DUT responds with status code as (SUCCESS) - - [1658140605.608041][2735:2740] CHIP:DMG: - [1658140605.608082][2735:2740] CHIP:DMG: StatusIB = - [1658140605.608139][2735:2740] CHIP:DMG: { - [1658140605.608189][2735:2740] CHIP:DMG: status = 0x00 (SUCCESS), - [1658140605.608233][2735:2740] CHIP:DMG: }, - [1658140605.608284][2735:2740] CHIP:DMG: - [1658140605.608334][2735:2740] CHIP:DMG: }, - [1658140605.608379][2735:2740] CHIP:DMG: - [1658140605.608423][2735:2740] CHIP:DMG: }, - [1658140605.608474][2735:2740] CHIP:DMG: - [1658140605.608506][2735:2740] CHIP:DMG: ], - [1658140605.608553][2735:2740] CHIP:DMG: - [1658140605.608584][2735:2740] CHIP:DMG: InteractionModelRevision = 1 - [1658140605.608613][2735:2740] CHIP:DMG: }, - [1658140605.608705][2735:2740] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 Status=0x0 + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: + + [1659777464.384962][3157:3162] CHIP:DMG: StatusIB = + [1659777464.384997][3157:3162] CHIP:DMG: { + [1659777464.385032][3157:3162] CHIP:DMG: status = 0x00 (SUCCESS), + [1659777464.385067][3157:3162] CHIP:DMG: }, + [1659777464.385099][3157:3162] CHIP:DMG: + [1659777464.385128][3157:3162] CHIP:DMG: }, + [1659777464.385162][3157:3162] CHIP:DMG: + [1659777464.385189][3157:3162] CHIP:DMG: }, + [1659777464.385221][3157:3162] CHIP:DMG: + [1659777464.385244][3157:3162] CHIP:DMG: ], + [1659777464.385272][3157:3162] CHIP:DMG: + [1659777464.385295][3157:3162] CHIP:DMG: InteractionModelRevision = 1 + [1659777464.385318][3157:3162] CHIP:DMG: }, + [1659777464.385375][3157:3162] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x0 disabled: true - label: "TH reads the LockOperation event from DUT" @@ -154,116 +180,118 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation 1 1 - On TH verify that LockOperation event has priority set as INFO and LockOperationType is set to Lock - - [1658222145.539382][4312:4317] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658222145.539416][4312:4317] CHIP:TOO: Event number: 6 - [1658222145.539446][4312:4317] CHIP:TOO: Priority: Critical - [1658222145.539476][4312:4317] CHIP:TOO: Timestamp: 13664087 - [1658222145.539609][4312:4317] CHIP:TOO: LockOperation: { - [1658222145.539657][4312:4317] CHIP:TOO: LockOperationType: 0 - [1658222145.539691][4312:4317] CHIP:TOO: OperationSource: 7 - [1658222145.539723][4312:4317] CHIP:TOO: UserIndex: 1 - [1658222145.539755][4312:4317] CHIP:TOO: FabricIndex: 1 - [1658222145.539788][4312:4317] CHIP:TOO: SourceNode: 112233 - [1658222145.539827][4312:4317] CHIP:TOO: Credentials: 1 entries - [1658222145.539871][4312:4317] CHIP:TOO: [1]: { - [1658222145.539903][4312:4317] CHIP:TOO: CredentialType: 1 - [1658222145.539933][4312:4317] CHIP:TOO: CredentialIndex: 1 - [1658222145.539963][4312:4317] CHIP:TOO: } - [1658222145.539995][4312:4317] CHIP:TOO: } + Verify " LockOperationType is set to Lock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: + + [1659777667.226139][3222:3227] CHIP:DMG: } + [1659777667.226318][3222:3227] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 + [1659777667.226343][3222:3227] CHIP:TOO: Event number: 5 + [1659777667.226363][3222:3227] CHIP:TOO: Priority: Critical + [1659777667.226383][3222:3227] CHIP:TOO: Timestamp: 3327279 + [1659777667.226482][3222:3227] CHIP:TOO: LockOperation: { + [1659777667.226522][3222:3227] CHIP:TOO: LockOperationType: 0 + [1659777667.226544][3222:3227] CHIP:TOO: OperationSource: 7 + [1659777667.226565][3222:3227] CHIP:TOO: UserIndex: 1 + [1659777667.226653][3222:3227] CHIP:TOO: FabricIndex: 1 + [1659777667.226677][3222:3227] CHIP:TOO: SourceNode: 112233 + [1659777667.226707][3222:3227] CHIP:TOO: Credentials: 1 entries + [1659777667.226758][3222:3227] CHIP:TOO: [1]: { + [1659777667.226780][3222:3227] CHIP:TOO: CredentialType: 1 + [1659777667.226800][3222:3227] CHIP:TOO: CredentialIndex: 1 + [1659777667.226820][3222:3227] CHIP:TOO: } + [1659777667.226841][3222:3227] CHIP:TOO: } + [1659777667.226944][3222:3227] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 + [1659777667.226965][3222:3227] CHIP:TOO: Event number: 6 + [1659777667.226984][3222:3227] CHIP:TOO: Priority: Critical + [1659777667.227003][3222:3227] CHIP:TOO: Timestamp: 3351552 + [1659777667.227039][3222:3227] CHIP:TOO: LockOperation: { + [1659777667.227061][3222:3227] CHIP:TOO: LockOperationType: 1 + [1659777667.227082][3222:3227] CHIP:TOO: OperationSource: 7 + [1659777667.227103][3222:3227] CHIP:TOO: UserIndex: 1 + [1659777667.227122][3222:3227] CHIP:TOO: FabricIndex: 1 + [1659777667.227143][3222:3227] CHIP:TOO: SourceNode: 112233 + [1659777667.227167][3222:3227] CHIP:TOO: Credentials: 1 entries + [1659777667.227193][3222:3227] CHIP:TOO: [1]: { + [1659777667.227213][3222:3227] CHIP:TOO: CredentialType: 1 + [1659777667.227232][3222:3227] CHIP:TOO: CredentialIndex: 1 + [1659777667.227251][3222:3227] CHIP:TOO: } + [1659777667.227325][3222:3227] CHIP:TOO: } disabled: true - label: - "TH sends the Unlock Door command(using Remote) to the DUT with valid + "TH sends the Lock Door command( using Remote) to the DUT with invalid PINCode" PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 - On TH, verify DUT responds with status code as (SUCCESS) - - [1658141312.730591][2781:2786] CHIP:DMG: { - [1658141312.730635][2781:2786] CHIP:DMG: status = 0x00 (SUCCESS), - [1658141312.730679][2781:2786] CHIP:DMG: }, - [1658141312.730719][2781:2786] CHIP:DMG: - [1658141312.730757][2781:2786] CHIP:DMG: }, - [1658141312.730802][2781:2786] CHIP:DMG: - [1658141312.730839][2781:2786] CHIP:DMG: }, - [1658141312.730882][2781:2786] CHIP:DMG: - [1658141312.730913][2781:2786] CHIP:DMG: ], - [1658141312.730953][2781:2786] CHIP:DMG: - [1658141312.730985][2781:2786] CHIP:DMG: InteractionModelRevision = 1 - [1658141312.731016][2781:2786] CHIP:DMG: }, - [1658141312.731092][2781:2786] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x0 - [1658141312.731146][2781:2786] CHIP:DMG: ICR moving to [AwaitingDe] + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: + + [1659777735.863811][3232:3237] CHIP:DMG: StatusIB = + [1659777735.863849][3232:3237] CHIP:DMG: { + [1659777735.863888][3232:3237] CHIP:DMG: status = 0x01 (FAILURE), + [1659777735.863925][3232:3237] CHIP:DMG: }, + [1659777735.863962][3232:3237] CHIP:DMG: + [1659777735.863996][3232:3237] CHIP:DMG: }, + [1659777735.864038][3232:3237] CHIP:DMG: + [1659777735.864068][3232:3237] CHIP:DMG: }, + [1659777735.864104][3232:3237] CHIP:DMG: + [1659777735.864133][3232:3237] CHIP:DMG: ], + [1659777735.864166][3232:3237] CHIP:DMG: + [1659777735.864192][3232:3237] CHIP:DMG: InteractionModelRevision = 1 + [1659777735.864218][3232:3237] CHIP:DMG: }, + [1659777735.864281][3232:3237] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 Status=0x1 + [1659777735.864317][3232:3237] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) disabled: true - - label: "TH reads the LockOperation event from DUT" - PICS: DRLK.S.E02 + - label: "TH reads the LockOperationError event from DUT" + PICS: DRLK.S.E03 verification: | ./chip-tool doorlock read-event lock-operation 1 1 - On TH verify that LockOperation event has priority set as CRITICAL and LockOperationType is set to UnLock - - [1658222212.596945][4331:4336] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658222212.596979][4331:4336] CHIP:TOO: Event number: 6 - [1658222212.597010][4331:4336] CHIP:TOO: Priority: Critical - [1658222212.597040][4331:4336] CHIP:TOO: Timestamp: 13664087 - [1658222212.597178][4331:4336] CHIP:TOO: LockOperation: { - [1658222212.597226][4331:4336] CHIP:TOO: LockOperationType: 0 - [1658222212.597260][4331:4336] CHIP:TOO: OperationSource: 7 - [1658222212.597291][4331:4336] CHIP:TOO: UserIndex: 1 - [1658222212.597323][4331:4336] CHIP:TOO: FabricIndex: 1 - [1658222212.597356][4331:4336] CHIP:TOO: SourceNode: 112233 - [1658222212.597396][4331:4336] CHIP:TOO: Credentials: 1 entries - [1658222212.597440][4331:4336] CHIP:TOO: [1]: { - [1658222212.597473][4331:4336] CHIP:TOO: CredentialType: 1 - [1658222212.597504][4331:4336] CHIP:TOO: CredentialIndex: 1 - [1658222212.597534][4331:4336] CHIP:TOO: } - [1658222212.597566][4331:4336] CHIP:TOO: } - [1658222212.597711][4331:4336] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658222212.597744][4331:4336] CHIP:TOO: Event number: 7 - [1658222212.597773][4331:4336] CHIP:TOO: Priority: Critical - [1658222212.597803][4331:4336] CHIP:TOO: Timestamp: 13712745 - [1658222212.597851][4331:4336] CHIP:TOO: LockOperation: { - [1658222212.597887][4331:4336] CHIP:TOO: LockOperationType: 1 - [1658222212.597919][4331:4336] CHIP:TOO: OperationSource: 7 - [1658222212.597949][4331:4336] CHIP:TOO: UserIndex: 1 - [1658222212.597980][4331:4336] CHIP:TOO: FabricIndex: 1 - [1658222212.598011][4331:4336] CHIP:TOO: SourceNode: 112233 - [1658222212.598047][4331:4336] CHIP:TOO: Credentials: 1 entries - [1658222212.598087][4331:4336] CHIP:TOO: [1]: { - [1658222212.598119][4331:4336] CHIP:TOO: CredentialType: 1 - [1658222212.598150][4331:4336] CHIP:TOO: CredentialIndex: 1 - [1658222212.598179][4331:4336] CHIP:TOO: } - [1658222212.598211][4331:4336] CHIP:TOO: } + Verify " LockOperationType is set to Unlock and Event priority is set to CRITICAL" on the TH(Chip-tool) Log: + + [1659777833.226970][3243:3248] CHIP:DMG: } + [1659777833.227194][3243:3248] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 + [1659777833.227221][3243:3248] CHIP:TOO: Event number: 8 + [1659777833.227243][3243:3248] CHIP:TOO: Priority: Critical + [1659777833.227264][3243:3248] CHIP:TOO: Timestamp: 3439177 + [1659777833.227367][3243:3248] CHIP:TOO: LockOperationError: { + [1659777833.227407][3243:3248] CHIP:TOO: LockOperationType: 0 + [1659777833.227431][3243:3248] CHIP:TOO: OperationSource: 7 + [1659777833.227453][3243:3248] CHIP:TOO: OperationError: 1 + [1659777833.227476][3243:3248] CHIP:TOO: UserIndex: 0 + [1659777833.227498][3243:3248] CHIP:TOO: FabricIndex: 1 + [1659777833.227523][3243:3248] CHIP:TOO: SourceNode: 112233 + [1659777833.227553][3243:3248] CHIP:TOO: Credentials: 1 entries + [1659777833.227604][3243:3248] CHIP:TOO: [1]: { + [1659777833.227629][3243:3248] CHIP:TOO: CredentialType: 1 + [1659777833.227651][3243:3248] CHIP:TOO: CredentialIndex: 0 + [1659777833.227673][3243:3248] CHIP:TOO: } + [1659777833.227696][3243:3248] CHIP:TOO: } disabled: true - - label: - "TH sends the Lock Door command( using Remote) to the DUT with invalid - PINCode" - PICS: DRLK.S.C00.Rsp + - label: "TH sends Unlock Door Command to the DUT with InvalidPINCode." + PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 - - On TH, verify DUT responds with status code as (FAILURE) - - [1658144579.661894][3173:3179] CHIP:DMG: StatusIB = - [1658144579.661936][3173:3179] CHIP:DMG: { - [1658144579.661974][3173:3179] CHIP:DMG: status = 0x01 (FAILURE), - [1658144579.662014][3173:3179] CHIP:DMG: }, - [1658144579.662050][3173:3179] CHIP:DMG: - [1658144579.662086][3173:3179] CHIP:DMG: }, - [1658144579.662128][3173:3179] CHIP:DMG: - [1658144579.662159][3173:3179] CHIP:DMG: }, - [1658144579.662197][3173:3179] CHIP:DMG: - [1658144579.662226][3173:3179] CHIP:DMG: ], - [1658144579.662263][3173:3179] CHIP:DMG: - [1658144579.662293][3173:3179] CHIP:DMG: InteractionModelRevision = 1 - [1658144579.662322][3173:3179] CHIP:DMG: }, - [1658144579.662394][3173:3179] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 Status=0x1 - [1658144579.662435][3173:3179] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 + + Verify "DUT sends failure response" on the TH(Chip-tool) Log: + + [1659777885.573854][3251:3256] CHIP:DMG: StatusIB = + [1659777885.573896][3251:3256] CHIP:DMG: { + [1659777885.573938][3251:3256] CHIP:DMG: status = 0x01 (FAILURE), + [1659777885.573981][3251:3256] CHIP:DMG: }, + [1659777885.574025][3251:3256] CHIP:DMG: + [1659777885.574064][3251:3256] CHIP:DMG: }, + [1659777885.574105][3251:3256] CHIP:DMG: + [1659777885.574138][3251:3256] CHIP:DMG: }, + [1659777885.574177][3251:3256] CHIP:DMG: + [1659777885.574205][3251:3256] CHIP:DMG: ], + [1659777885.574240][3251:3256] CHIP:DMG: + [1659777885.574268][3251:3256] CHIP:DMG: InteractionModelRevision = 1 + [1659777885.574296][3251:3256] CHIP:DMG: }, + [1659777885.574366][3251:3256] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x1 + [1659777885.574405][3251:3256] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) disabled: true - label: "TH reads the LockOperationError event from DUT" @@ -271,34 +299,57 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation-error 1 1 - On TH verify that LockOperationError event has priority set as CRITICAL and LockOperationType is set to Lock - - [1658222263.577367][4348:4353] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658222263.577392][4348:4353] CHIP:TOO: Event number: 9 - [1658222263.577414][4348:4353] CHIP:TOO: Priority: Critical - [1658222263.577436][4348:4353] CHIP:TOO: Timestamp: 13778879 - [1658222263.577479][4348:4353] CHIP:TOO: LockOperationError: { - [1658222263.577505][4348:4353] CHIP:TOO: LockOperationType: 0 - [1658222263.577528][4348:4353] CHIP:TOO: OperationSource: 7 - [1658222263.577551][4348:4353] CHIP:TOO: OperationError: 1 - [1658222263.577574][4348:4353] CHIP:TOO: UserIndex: 0 - [1658222263.577596][4348:4353] CHIP:TOO: FabricIndex: 1 - [1658222263.577620][4348:4353] CHIP:TOO: SourceNode: 112233 - [1658222263.577648][4348:4353] CHIP:TOO: Credentials: 1 entries - [1658222263.577679][4348:4353] CHIP:TOO: [1]: { - [1658222263.577703][4348:4353] CHIP:TOO: CredentialType: 1 - [1658222263.577726][4348:4353] CHIP:TOO: CredentialIndex: 0 - [1658222263.577748][4348:4353] CHIP:TOO: } - [1658222263.577771][4348:4353] CHIP:TOO: } + Verify " LockOperationType is set to Lock and Event priority is set to info" on the TH(Chip-tool) Log: + + [1659777937.333613][3260:3265] CHIP:DMG: } + [1659777937.333844][3260:3265] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 + [1659777937.333873][3260:3265] CHIP:TOO: Event number: 8 + [1659777937.333899][3260:3265] CHIP:TOO: Priority: Critical + [1659777937.333925][3260:3265] CHIP:TOO: Timestamp: 3439177 + [1659777937.334042][3260:3265] CHIP:TOO: LockOperationError: { + [1659777937.334086][3260:3265] CHIP:TOO: LockOperationType: 0 + [1659777937.334115][3260:3265] CHIP:TOO: OperationSource: 7 + [1659777937.334142][3260:3265] CHIP:TOO: OperationError: 1 + [1659777937.334170][3260:3265] CHIP:TOO: UserIndex: 0 + [1659777937.334197][3260:3265] CHIP:TOO: FabricIndex: 1 + [1659777937.334226][3260:3265] CHIP:TOO: SourceNode: 112233 + [1659777937.334261][3260:3265] CHIP:TOO: Credentials: 1 entries + [1659777937.334371][3260:3265] CHIP:TOO: [1]: { + [1659777937.334402][3260:3265] CHIP:TOO: CredentialType: 1 + [1659777937.334429][3260:3265] CHIP:TOO: CredentialIndex: 0 + [1659777937.334456][3260:3265] CHIP:TOO: } + [1659777937.334484][3260:3265] CHIP:TOO: } + [1659777937.334614][3260:3265] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 + [1659777937.334642][3260:3265] CHIP:TOO: Event number: 9 + [1659777937.334668][3260:3265] CHIP:TOO: Priority: Critical + [1659777937.334693][3260:3265] CHIP:TOO: Timestamp: 3588886 + [1659777937.334737][3260:3265] CHIP:TOO: LockOperationError: { + [1659777937.334767][3260:3265] CHIP:TOO: LockOperationType: 1 + [1659777937.334794][3260:3265] CHIP:TOO: OperationSource: 7 + [1659777937.334821][3260:3265] CHIP:TOO: OperationError: 1 + [1659777937.334846][3260:3265] CHIP:TOO: UserIndex: 0 + [1659777937.334873][3260:3265] CHIP:TOO: FabricIndex: 1 + [1659777937.334899][3260:3265] CHIP:TOO: SourceNode: 112233 + [1659777937.334970][3260:3265] CHIP:TOO: Credentials: 1 entries + [1659777937.335008][3260:3265] CHIP:TOO: [1]: { + [1659777937.335036][3260:3265] CHIP:TOO: CredentialType: 1 + [1659777937.335063][3260:3265] CHIP:TOO: CredentialIndex: 0 + [1659777937.335089][3260:3265] CHIP:TOO: } + [1659777937.335116][3260:3265] CHIP:TOO: } disabled: true - label: - "TH sends a Set User Command with User Status set to OccupiedDisabled - and UserIndex set to a number say N to the DUT." - PICS: DRLK.S.C1a.Rsp + "TH sends Set User Command to DUT with the following values: + OperationType as 0-Add UserIndex as 2( Different from an existing + UserIndex) UserName as xxx UserUniqueID as 6452 UserStatus as + 1-OccupiedEnabled UserType as 0-UnrestrictedUser CredentialRule as + 0-Single" + PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 0 4 xxx 6452 3 0 0 1 1 --timedInteractionTimeoutMs 1000 + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: + [1658994912.123831][4290:4295] CHIP:DMG: StatusIB = [1658994912.123871][4290:4295] CHIP:DMG: { [1658994912.123915][4290:4295] CHIP:DMG: status = 0x00 (SUCCESS), @@ -315,138 +366,53 @@ tests: [1658994912.124341][4290:4295] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A Status=0x0 disabled: true - - label: - "TH sends a unlock command with the UserIndex set to the number - N(Created in step 4c) to the DUT." - PICS: DRLK.S.C01.Rsp - verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - - On TH, verify DUT responds with status code as (SUCCESS) - - [1658141312.730591][2781:2786] CHIP:DMG: { - [1658141312.730635][2781:2786] CHIP:DMG: status = 0x00 (SUCCESS), - [1658141312.730679][2781:2786] CHIP:DMG: }, - [1658141312.730719][2781:2786] CHIP:DMG: - [1658141312.730757][2781:2786] CHIP:DMG: }, - [1658141312.730802][2781:2786] CHIP:DMG: - [1658141312.730839][2781:2786] CHIP:DMG: }, - [1658141312.730882][2781:2786] CHIP:DMG: - [1658141312.730913][2781:2786] CHIP:DMG: ], - [1658141312.730953][2781:2786] CHIP:DMG: - [1658141312.730985][2781:2786] CHIP:DMG: InteractionModelRevision = 1 - [1658141312.731016][2781:2786] CHIP:DMG: }, - [1658141312.731092][2781:2786] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x0 - [1658141312.731146][2781:2786] CHIP:DMG: ICR moving to [AwaitingDe] - disabled: true - - - label: "TH reads the LockOperationError event from DUT" - PICS: DRLK.S.E03 - verification: | - "./chip-tool doorlock read-event lock-operation-error 1 1 - - On TH verify that LockOperationError event has priority set as INFO and LockOperationType is set to UnLock - - [1658213977.361043][3321:3326] CHIP:DMG: SuppressResponse = true, - [1658213977.361087][3321:3326] CHIP:DMG: InteractionModelRevision = 1 - [1658213977.361119][3321:3326] CHIP:DMG: } - [1658213977.361418][3321:3326] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658213977.361454][3321:3326] CHIP:TOO: Event number: 12 - [1658213977.361484][3321:3326] CHIP:TOO: Priority: Critical - [1658213977.361513][3321:3326] CHIP:TOO: Timestamp: 5448731 - [1658213977.361680][3321:3326] CHIP:TOO: LockOperationError: { - [1658213977.361726][3321:3326] CHIP:TOO: LockOperationType: 0 - [1658213977.361760][3321:3326] CHIP:TOO: OperationSource: 7 - [1658213977.361792][3321:3326] CHIP:TOO: OperationError: 1 - [1658213977.361823][3321:3326] CHIP:TOO: UserIndex: 0 - [1658213977.361854][3321:3326] CHIP:TOO: FabricIndex: 1 - [1658213977.361900][3321:3326] CHIP:TOO: SourceNode: 112233 - [1658213977.361941][3321:3326] CHIP:TOO: Credentials: 1 entries - [1658213977.361998][3321:3326] CHIP:TOO: [1]: { - [1658213977.362031][3321:3326] CHIP:TOO: CredentialType: 1 - [1658213977.362075][3321:3326] CHIP:TOO: CredentialIndex: 0 - [1658213977.362107][3321:3326] CHIP:TOO: } - [1658213977.362153][3321:3326] CHIP:TOO: } - [1658213977.362330][3321:3326] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658213977.362373][3321:3326] CHIP:TOO: Event number: 13 - [1658213977.362404][3321:3326] CHIP:TOO: Priority: Critical - [1658213977.362433][3321:3326] CHIP:TOO: Timestamp: 5489885 - [1658213977.362484][3321:3326] CHIP:TOO: LockOperationError: { - [1658213977.362533][3321:3326] CHIP:TOO: LockOperationType: 1 - [1658213977.362565][3321:3326] CHIP:TOO: OperationSource: 7 - [1658213977.362606][3321:3326] CHIP:TOO: OperationError: 1 - [1658213977.362637][3321:3326] CHIP:TOO: UserIndex: 0 - [1658213977.362667][3321:3326] CHIP:TOO: FabricIndex: 1 - [1658213977.362709][3321:3326] CHIP:TOO: SourceNode: 112233 - [1658213977.362746][3321:3326] CHIP:TOO: Credentials: 1 entries - [1658213977.362798][3321:3326] CHIP:TOO: [1]: { - [1658213977.362831][3321:3326] CHIP:TOO: CredentialType: 1 - [1658213977.362874][3321:3326] CHIP:TOO: CredentialIndex: 0 - [1658213977.362904][3321:3326] CHIP:TOO: } - [1658213977.362948][3321:3326] CHIP:TOO: }" - disabled: true - - - label: - "TH sends Set User Command to DUT with the following values: - OperationType as 0-Add UserIndex as 2( Different from an existing - UserIndex) UserName as xxx UserUniqueID as 6452 UserStatus as - 1-OccupiedEnabled UserType as 0-UnrestrictedUser CredentialRule as - 0-Single" - PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp - verification: | - ./chip-tool doorlock set-user 0 2 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 100 - - On TH, verify DUT responds with status code as (SUCCESS) - - [1658141909.546881][2863:2868] CHIP:DMG: StatusIB = - [1658141909.546925][2863:2868] CHIP:DMG: { - [1658141909.546969][2863:2868] CHIP:DMG: status = 0x00 (SUCCESS), - [1658141909.547013][2863:2868] CHIP:DMG: }, - [1658141909.547052][2863:2868] CHIP:DMG: - [1658141909.547092][2863:2868] CHIP:DMG: }, - [1658141909.547135][2863:2868] CHIP:DMG: - [1658141909.547235][2863:2868] CHIP:DMG: }, - [1658141909.547286][2863:2868] CHIP:DMG: - [1658141909.547318][2863:2868] CHIP:DMG: ], - [1658141909.547358][2863:2868] CHIP:DMG: - [1658141909.547390][2863:2868] CHIP:DMG: InteractionModelRevision = 1 - [1658141909.547422][2863:2868] CHIP:DMG: }, - [1658141909.547498][2863:2868] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A Status=0x0 - disabled: true - - label: "TH reads the LockUserChange event from DUT" PICS: DRLK.S.E04 verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - On TH verify that LockUserChange event has priority set as INFO and LockDataType is set to UserIndex - - [1658222553.250503][4410:4415] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658222553.250590][4410:4415] CHIP:TOO: Event number: 5 - [1658222553.250621][4410:4415] CHIP:TOO: Priority: Info - [1658222553.250651][4410:4415] CHIP:TOO: Timestamp: 13610676 - [1658222553.250702][4410:4415] CHIP:TOO: LockUserChange: { - [1658222553.250781][4410:4415] CHIP:TOO: LockDataType: 6 - [1658222553.250813][4410:4415] CHIP:TOO: DataOperationType: 0 - [1658222553.250872][4410:4415] CHIP:TOO: OperationSource: 7 - [1658222553.250915][4410:4415] CHIP:TOO: UserIndex: 1 - [1658222553.250946][4410:4415] CHIP:TOO: FabricIndex: 1 - [1658222553.250991][4410:4415] CHIP:TOO: SourceNode: 112233 - [1658222553.251022][4410:4415] CHIP:TOO: DataIndex: 1 - [1658222553.251063][4410:4415] CHIP:TOO: } - [1658222553.251230][4410:4415] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658222553.251263][4410:4415] CHIP:TOO: Event number: 13 - [1658222553.251292][4410:4415] CHIP:TOO: Priority: Info - [1658222553.251321][4410:4415] CHIP:TOO: Timestamp: 14066763 - [1658222553.251366][4410:4415] CHIP:TOO: LockUserChange: { - [1658222553.251411][4410:4415] CHIP:TOO: LockDataType: 2 - [1658222553.251443][4410:4415] CHIP:TOO: DataOperationType: 0 - [1658222553.251474][4410:4415] CHIP:TOO: OperationSource: 7 - [1658222553.251517][4410:4415] CHIP:TOO: UserIndex: 2 - [1658222553.251547][4410:4415] CHIP:TOO: FabricIndex: 1 - [1658222553.251590][4410:4415] CHIP:TOO: SourceNode: 112233 - [1658222553.251622][4410:4415] CHIP:TOO: DataIndex: 2 - [1658222553.251662][4410:4415] CHIP:TOO: } + Verify " LockDataType is set to UserIndex and Event priority is set to INFO" on the TH(Chip-tool) Log: + + [1659778039.468487][3278:3283] CHIP:DMG: } + [1659778039.468725][3278:3283] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778039.468757][3278:3283] CHIP:TOO: Event number: 3 + [1659778039.468783][3278:3283] CHIP:TOO: Priority: Info + [1659778039.468808][3278:3283] CHIP:TOO: Timestamp: 3309634 + [1659778039.468915][3278:3283] CHIP:TOO: LockUserChange: { + [1659778039.468956][3278:3283] CHIP:TOO: LockDataType: 2 + [1659778039.468984][3278:3283] CHIP:TOO: DataOperationType: 0 + [1659778039.469010][3278:3283] CHIP:TOO: OperationSource: 7 + [1659778039.469036][3278:3283] CHIP:TOO: UserIndex: 1 + [1659778039.469061][3278:3283] CHIP:TOO: FabricIndex: 1 + [1659778039.469088][3278:3283] CHIP:TOO: SourceNode: 112233 + [1659778039.469114][3278:3283] CHIP:TOO: DataIndex: 1 + [1659778039.469137][3278:3283] CHIP:TOO: } + [1659778039.469250][3278:3283] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778039.469320][3278:3283] CHIP:TOO: Event number: 4 + [1659778039.469344][3278:3283] CHIP:TOO: Priority: Info + [1659778039.469369][3278:3283] CHIP:TOO: Timestamp: 3318674 + [1659778039.469429][3278:3283] CHIP:TOO: LockUserChange: { + [1659778039.469457][3278:3283] CHIP:TOO: LockDataType: 6 + [1659778039.469483][3278:3283] CHIP:TOO: DataOperationType: 0 + [1659778039.469508][3278:3283] CHIP:TOO: OperationSource: 7 + [1659778039.469532][3278:3283] CHIP:TOO: UserIndex: 1 + [1659778039.469557][3278:3283] CHIP:TOO: FabricIndex: 1 + [1659778039.469582][3278:3283] CHIP:TOO: SourceNode: 112233 + [1659778039.469607][3278:3283] CHIP:TOO: DataIndex: 1 + [1659778039.469632][3278:3283] CHIP:TOO: } + [1659778039.469739][3278:3283] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778039.469765][3278:3283] CHIP:TOO: Event number: 10 + [1659778039.469790][3278:3283] CHIP:TOO: Priority: Info + [1659778039.469815][3278:3283] CHIP:TOO: Timestamp: 3692303 + [1659778039.469851][3278:3283] CHIP:TOO: LockUserChange: { + [1659778039.469878][3278:3283] CHIP:TOO: LockDataType: 2 + [1659778039.469903][3278:3283] CHIP:TOO: DataOperationType: 0 + [1659778039.469981][3278:3283] CHIP:TOO: OperationSource: 7 + [1659778039.470006][3278:3283] CHIP:TOO: UserIndex: 4 + [1659778039.470031][3278:3283] CHIP:TOO: FabricIndex: 1 + [1659778039.470056][3278:3283] CHIP:TOO: SourceNode: 112233 + [1659778039.470081][3278:3283] CHIP:TOO: DataIndex: 4 + [1659778039.470104][3278:3283] CHIP:TOO: } disabled: true - label: @@ -457,7 +423,7 @@ tests: verification: | ./chip-tool doorlock set-week-day-schedule 1 1 2 15 45 16 55 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1658142169.347859][2900:2905] CHIP:DMG: StatusIB = [1658142169.347900][2900:2905] CHIP:DMG: { @@ -479,34 +445,61 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - On TH verify that LockUserChange event has priority set as INFO and LockDataType is set to UserIndex - - [1658222711.893600][4428:4433] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658222711.893624][4428:4433] CHIP:TOO: Event number: 13 - [1658222711.893646][4428:4433] CHIP:TOO: Priority: Info - [1658222711.893668][4428:4433] CHIP:TOO: Timestamp: 14066763 - [1658222711.893701][4428:4433] CHIP:TOO: LockUserChange: { - [1658222711.893726][4428:4433] CHIP:TOO: LockDataType: 2 - [1658222711.893748][4428:4433] CHIP:TOO: DataOperationType: 0 - [1658222711.893772][4428:4433] CHIP:TOO: OperationSource: 7 - [1658222711.893795][4428:4433] CHIP:TOO: UserIndex: 2 - [1658222711.893818][4428:4433] CHIP:TOO: FabricIndex: 1 - [1658222711.893841][4428:4433] CHIP:TOO: SourceNode: 112233 - [1658222711.893864][4428:4433] CHIP:TOO: DataIndex: 2 - [1658222711.893886][4428:4433] CHIP:TOO: } - [1658222711.893987][4428:4433] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658222711.894011][4428:4433] CHIP:TOO: Event number: 14 - [1658222711.894033][4428:4433] CHIP:TOO: Priority: Info - [1658222711.894054][4428:4433] CHIP:TOO: Timestamp: 14222934 - [1658222711.894088][4428:4433] CHIP:TOO: LockUserChange: { - [1658222711.894113][4428:4433] CHIP:TOO: LockDataType: 3 - [1658222711.894136][4428:4433] CHIP:TOO: DataOperationType: 0 - [1658222711.894160][4428:4433] CHIP:TOO: OperationSource: 7 - [1658222711.894183][4428:4433] CHIP:TOO: UserIndex: 1 - [1658222711.894206][4428:4433] CHIP:TOO: FabricIndex: 1 - [1658222711.894229][4428:4433] CHIP:TOO: SourceNode: 112233 - [1658222711.894252][4428:4433] CHIP:TOO: DataIndex: 1 - [1658222711.894275][4428:4433] CHIP:TOO: } + Verify " LockDataType is set to WeekDaySchedule and Event priority is set to INFO" on the TH(Chip-tool) Log: + + [1659778136.032613][3293:3298] CHIP:DMG: } + [1659778136.032856][3293:3298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778136.032884][3293:3298] CHIP:TOO: Event number: 3 + [1659778136.032908][3293:3298] CHIP:TOO: Priority: Info + [1659778136.032933][3293:3298] CHIP:TOO: Timestamp: 3309634 + [1659778136.033041][3293:3298] CHIP:TOO: LockUserChange: { + [1659778136.033082][3293:3298] CHIP:TOO: LockDataType: 2 + [1659778136.033110][3293:3298] CHIP:TOO: DataOperationType: 0 + [1659778136.033136][3293:3298] CHIP:TOO: OperationSource: 7 + [1659778136.033162][3293:3298] CHIP:TOO: UserIndex: 1 + [1659778136.033233][3293:3298] CHIP:TOO: FabricIndex: 1 + [1659778136.033268][3293:3298] CHIP:TOO: SourceNode: 112233 + [1659778136.033295][3293:3298] CHIP:TOO: DataIndex: 1 + [1659778136.033321][3293:3298] CHIP:TOO: } + [1659778136.033450][3293:3298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778136.033479][3293:3298] CHIP:TOO: Event number: 4 + [1659778136.033504][3293:3298] CHIP:TOO: Priority: Info + [1659778136.033528][3293:3298] CHIP:TOO: Timestamp: 3318674 + [1659778136.033567][3293:3298] CHIP:TOO: LockUserChange: { + [1659778136.033594][3293:3298] CHIP:TOO: LockDataType: 6 + [1659778136.033619][3293:3298] CHIP:TOO: DataOperationType: 0 + [1659778136.033645][3293:3298] CHIP:TOO: OperationSource: 7 + [1659778136.033669][3293:3298] CHIP:TOO: UserIndex: 1 + [1659778136.033694][3293:3298] CHIP:TOO: FabricIndex: 1 + [1659778136.033719][3293:3298] CHIP:TOO: SourceNode: 112233 + [1659778136.033744][3293:3298] CHIP:TOO: DataIndex: 1 + [1659778136.033768][3293:3298] CHIP:TOO: } + [1659778136.033902][3293:3298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778136.033931][3293:3298] CHIP:TOO: Event number: 10 + [1659778136.033955][3293:3298] CHIP:TOO: Priority: Info + [1659778136.033979][3293:3298] CHIP:TOO: Timestamp: 3692303 + [1659778136.034016][3293:3298] CHIP:TOO: LockUserChange: { + [1659778136.034043][3293:3298] CHIP:TOO: LockDataType: 2 + [1659778136.034068][3293:3298] CHIP:TOO: DataOperationType: 0 + [1659778136.034093][3293:3298] CHIP:TOO: OperationSource: 7 + [1659778136.034117][3293:3298] CHIP:TOO: UserIndex: 4 + [1659778136.034142][3293:3298] CHIP:TOO: FabricIndex: 1 + [1659778136.034167][3293:3298] CHIP:TOO: SourceNode: 112233 + [1659778136.034195][3293:3298] CHIP:TOO: DataIndex: 4 + [1659778136.034219][3293:3298] CHIP:TOO: } + [1659778136.034324][3293:3298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1659778136.034349][3293:3298] CHIP:TOO: Event number: 11 + [1659778136.034373][3293:3298] CHIP:TOO: Priority: Info + [1659778136.034396][3293:3298] CHIP:TOO: Timestamp: 3802008 + [1659778136.034432][3293:3298] CHIP:TOO: LockUserChange: { + [1659778136.034493][3293:3298] CHIP:TOO: LockDataType: 3 + [1659778136.034520][3293:3298] CHIP:TOO: DataOperationType: 0 + [1659778136.034545][3293:3298] CHIP:TOO: OperationSource: 7 + [1659778136.034569][3293:3298] CHIP:TOO: UserIndex: 1 + [1659778136.034594][3293:3298] CHIP:TOO: FabricIndex: 1 + [1659778136.034619][3293:3298] CHIP:TOO: SourceNode: 112233 + [1659778136.034644][3293:3298] CHIP:TOO: DataIndex: 1 + [1659778136.034667][3293:3298] CHIP:TOO: } disabled: true - label: @@ -517,14 +510,30 @@ tests: verification: | ./chip-tool doorlock clear-credential "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000 + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: + + [1658995364.177998][4383:4388] CHIP:DMG: StatusIB = [1658995364.178088][4383:4388] CHIP:DMG: { [1658995364.178137][4383:4388] CHIP:DMG: status = 0x00 (SUCCESS), [1658995364.178185][4383:4388] CHIP:DMG: }, + ./chip-tool doorlock set-user 0 1 xxx 6452 3 0 0 1 1 --timedInteractionTimeoutMs 1000 + + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: + + [1659778601.601596][3414:3419] CHIP:DMG: StatusIB = + [1659778601.601636][3414:3419] CHIP:DMG: { + [1659778601.601671][3414:3419] CHIP:DMG: status = 0x00 (SUCCESS), + [1659778601.601713][3414:3419] CHIP:DMG: }, + [1659778601.601746][3414:3419] CHIP:DMG: + [1659778601.601785][3414:3419] CHIP:DMG: }, + [1659778601.601823][3414:3419] CHIP:DMG: + ./chip-tool doorlock set-credential 0 "{ "credentialType" : 1 , "credentialIndex" : 1 }" 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends Set Credential Response command with status as SUCCESS" on the TH(Chip-tool) Log: + [1658142472.351596][2966:2971] CHIP:DMG: }, [1658142472.351698][2966:2971] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 @@ -541,7 +550,7 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - On TH verify that LockUserChange event has priority set as INFO and LockDataType is set to UserIndex + Verify "LockDataType is set to PIN and LockUserChange event has priority set as INFO " on the TH(Chip-tool) Log: [1658223096.124315][4517:4522] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 [1658223096.124350][4517:4522] CHIP:TOO: Event number: 3 @@ -576,7 +585,7 @@ tests: verification: | ./chip-tool doorlock clear-credential "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1658142697.890014][2985:2990] CHIP:DMG: StatusIB = [1658142697.890058][2985:2990] CHIP:DMG: { @@ -600,7 +609,7 @@ tests: verification: | ./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1658142762.492854][2993:2998] CHIP:DMG: [1658142762.492888][2993:2998] CHIP:DMG: StatusIB = diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml index e0e26a99596d5a..caa3ac7574991a 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_6.yaml @@ -32,7 +32,7 @@ tests: PICS: DRLK.S.F04 && DRLK.S.A0016 verification: | ./chip-tool doorlock read number-of-holiday-schedules-supported 1 1 - On TH, verify the NumberOfHolidaySchedulesSupported value as 10 + Verify " NumberOfHoliDay SchedulesSuppored" on the TH(Chip-tool) Log: [1654691068.446440][4655:4660] CHIP:DMG: [1654691068.446465][4655:4660] CHIP:DMG: SuppressResponse = true, @@ -49,7 +49,7 @@ tests: PICS: DRLK.S.F04 && DRLK.S.C11.Rsp verification: | ./chip-tool doorlock set-holiday-schedule 1 20 30 0 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT send SUCCESS response." on the TH(Chip-tool) Log: [1654691200.905091][4669:4674] CHIP:DMG: StatusIB = [1654691200.905122][4669:4674] CHIP:DMG: { @@ -71,7 +71,7 @@ tests: PICS: DRLK.S.F04 && DRLK.S.C12.Rsp && DRLK.S.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 1 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT responds with Get Holiday Schedule Response" on the TH(Chip-tool) Log: [1654691299.545647][4678:4683] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012 [1654691299.545701][4678:4683] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0012 @@ -87,11 +87,11 @@ tests: - label: "TH sends Set Holiday Schedule Command to DUT with the following values: HolidayIndex as 1 LocalStartTime as 20 LocalEndTime as 30 - OperatingMode as 5(invalid value)" + OperatingMode as 5(Invalid value)" PICS: DRLK.S.C11.Rsp verification: | ./chip-tool doorlock set-holiday-schedule 1 20 30 5 1 1 - On TH, verify DUT responds with status code as (INVALID_COMMAND) + Verify " DUT sends INVALID_COMMAND response" on the TH(Chip-tool) Log: [1655373066.616542][2571:2576] CHIP:DMG: { [1655373066.616583][2571:2576] CHIP:DMG: suppressResponse = false, @@ -124,11 +124,12 @@ tests: disabled: true - label: - "TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 15" + "TH sends Get Holiday Schedule Command to DUT with Invalid + HolidayIndex as 15." PICS: DRLK.S.F04 && DRLK.S.C12.Rsp && DRLK.S.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 15 1 1 - On TH, verify DUT responds with status code as (INVALID_COMMAND) + Verify " DUT sends INVALID_COMMAND response" on the TH(Chip-tool) Log: [1654691634.513667][4728:4733] CHIP:DMG: }, [1654691634.513979][4728:4733] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012 @@ -144,11 +145,13 @@ tests: disabled: true - label: - "TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 10" + "TH sends Get Holiday Schedule Command to DUT with the HolidayIndex as + 10 (value is in the the range of step 1 but Holiday Schedule entry not + available)" PICS: DRLK.S.F04 && DRLK.S.C12.Rsp && DRLK.S.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 10 1 1 - On TH, verify DUT responds with status code as (NOT_FOUND) + Verify " DUT sends a NOT_FOUND status" on the TH(Chip-tool) Log: [1654691928.900652][4772:4777] CHIP:DMG: }, [1654691928.900762][4772:4777] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012 @@ -164,7 +167,7 @@ tests: PICS: DRLK.S.F04 && DRLK.S.C13.Rsp verification: | ./chip-tool doorlock clear-holiday-schedule 1 1 1 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1654692125.827938][4791:4796] CHIP:DMG: StatusIB = [1654692125.828009][4791:4796] CHIP:DMG: { @@ -182,11 +185,11 @@ tests: disabled: true - label: - "TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1" + "TH sends Get Holiday Schedule Command to DUT with HolidayIndex as 1." PICS: DRLK.S.F04 && DRLK.S.C12.Rsp && DRLK.S.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 1 1 1 - On TH, verify DUT responds with status code as (NOT_FOUND) + Verify " DUT sends a NOT_FOUND status" on the TH(Chip-tool) Log: [1658472025.923305][2560:2565] CHIP:DMG: }, [1658472025.923366][2560:2565] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012 diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_8.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_8.yaml index cfecc9a4299af5..dbe60fa520306b 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_8.yaml @@ -32,7 +32,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.A0011 verification: | ./chip-tool doorlock read number-of-total-users-supported 1 1 - On TH, verify the NumberOfTotalUsersSupported value as 10 + Verify " NumberOfTotal UsersSupported" on the TH(Chip-tool) Log: [1654694451.295683][4985:4990] CHIP:DMG: [1654694451.295743][4985:4990] CHIP:DMG: SuppressResponse = true, @@ -49,7 +49,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response" on the TH(Chip-tool) Log: [1655114915.892667][26101:26106] CHIP:DMG: { [1655114915.892724][26101:26106] CHIP:DMG: suppressResponse = false, @@ -86,7 +86,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1b.Rsp && DRLK.S.C1c.Tx verification: | ./chip-tool doorlock get-user 1 1 1 - On TH, verify DUT responds with Get User Response Command + Verify " DUT responds with Get User Response" on the TH(Chip-tool) Log: [1655114978.939527][26110:26115] CHIP:DMG: }, [1655114978.939725][26110:26115] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001C @@ -108,11 +108,11 @@ tests: - label: "TH sends Set User Command to DUT with the following values: OperationType as 0 UserIndex as 2 UserName as xxx UserUniqueID as 6452 - UserStatus as 1 UserType as 10 (invalid value) CredentialRule as 3" + UserStatus as 1 UserType as 10 (Invalid value) CredentialRule as 3" PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 0 2 xxx 6451 1 10 3 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (INVALID_COMMAND) + Verify " DUT sends INVALID_COMMAND " on the TH(Chip-tool) Log: [1657607954.930591][7988:7993] CHIP:DMG: { [1657607954.930618][7988:7993] CHIP:DMG: suppressResponse = false, @@ -148,13 +148,13 @@ tests: - label: "TH sends Set User Command to DUT with the following values: - OperationType as 0 UserIndex as 1 UserName as xxx UserUniqueID as 8965 - UserStatus as 1 UserType as 0 CredentialRule as 0" + OperationType as 0 UserIndex as 1 (Same as step 2) UserName as xxx + UserUniqueID as 8965 UserStatus as 1 UserType as 0 CredentialRule as 0" PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 0 1 xxx 8965 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (OCCUPIED) + Verify " DUT sends OCCUPIED Status " on the TH(Chip-tool) Log: [1659349025.616076][17010:17015] CHIP:DMG: StatusIB = [1659349025.616117][17010:17015] CHIP:DMG: { @@ -181,7 +181,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 0 2 null null null null null 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1655115257.604810][26135:26140] CHIP:DMG: { [1655115257.604859][26135:26140] CHIP:DMG: suppressResponse = false, @@ -216,7 +216,7 @@ tests: - label: "TH sends Get User Command to DUT with UserIndex as 2" verification: | ./chip-tool doorlock get-user 2 1 1 - On TH, verify DUT responds with Get User Response Command + Verify " DUT responds with Get User Response " on the TH(Chip-tool) Log: [1655375970.047000][3043:3048] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001C @@ -242,7 +242,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp verification: | ./chip-tool doorlock set-user 2 2 null null null null null 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify " DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654695125.813357][5126:5131] CHIP:DMG: StatusIB = [1654695125.813426][5126:5131] CHIP:DMG: { @@ -259,31 +259,11 @@ tests: [1654695125.814095][5126:5131] CHIP:DMG: }, disabled: true - - label: "TH sends Get User Command with UserIndex as 2" - verification: | - ./chip-tool doorlock get-user 2 1 1 - On TH, verify DUT responds with Get User Response Command - - [1655123677.092511][27390:27395] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_001C - [1655123677.092651][27390:27395] CHIP:TOO: GetUserResponse: { - [1655123677.092729][27390:27395] CHIP:TOO: userIndex: 2 - [1655123677.092788][27390:27395] CHIP:TOO: userName: - [1655123677.092844][27390:27395] CHIP:TOO: userUniqueId: null - [1655123677.092904][27390:27395] CHIP:TOO: userStatus: 1 - [1655123677.092963][27390:27395] CHIP:TOO: userType: 0 - [1655123677.093020][27390:27395] CHIP:TOO: credentialRule: 0 - [1655123677.093078][27390:27395] CHIP:TOO: credentials: null - [1655123677.093135][27390:27395] CHIP:TOO: creatorFabricIndex: 1 - [1655123677.093193][27390:27395] CHIP:TOO: lastModifiedFabricIndex: 1 - [1655123677.093250][27390:27395] CHIP:TOO: nextUserIndex: null - [1655123677.093306][27390:27395] CHIP:TOO: } - disabled: true - - label: "TH sends Get User Command to DUT with the UserIndex as 2" PICS: DRLK.S.F08 && DRLK.S.C1b.Rsp && DRLK.S.C1c.Tx verification: | ./chip-tool doorlock get-user 2 1 1 - On TH, verify DUT responds with Get User Response Command + Verify " DUT sends Get User Response " on the TH(Chip-tool) Log: [1655123677.092511][27390:27395] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_001C [1655123677.092651][27390:27395] CHIP:TOO: GetUserResponse: { @@ -304,7 +284,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1d.Rsp verification: | ./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with status code as (SUCCESS) + Verify "DUT sends SUCCESS response " on the TH(Chip-tool) Log: [1654696621.722147][5296:5301] CHIP:DMG: StatusIB = [1654696621.722202][5296:5301] CHIP:DMG: { @@ -325,7 +305,7 @@ tests: PICS: DRLK.S.F08 && DRLK.S.C1b.Rsp && DRLK.S.C1c.Tx verification: | ./chip-tool doorlock get-user 1 1 1 --timedInteractionTimeoutMs 1000 - On TH, verify DUT responds with Get User Response Command + Verify " DUT sends Get User Response with NULL Values" on the TH(Chip-tool) Log: [1655376097.413458][3073:3078] CHIP:DMG: }, [1655376097.413564][3073:3078] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001C diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml index 9f6806aa1b14b9..6dc3140f82faf5 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_3_1.yaml @@ -29,7 +29,7 @@ tests: verification: | ./chip-tool doorlock read lock-state 1 1 - Verify DUT reads LockState from the TH on TH / lock app log: + Verify the " LockState response" on TH(lock-app): [1658396085.236841][2474:2474] CHIP:DMG: ReadRequestMessage = [1658396085.236875][2474:2474] CHIP:DMG: { @@ -60,7 +60,7 @@ tests: verification: | ./chip-tool doorlock read lock-type 1 1 - Verify DUT reads LockType from the TH on TH / lock app log: + Verify the " LockType response" on TH(lock-app): [1658396151.006061][2474:2474] CHIP:DMG: ReadRequestMessage = [1658396151.006101][2474:2474] CHIP:DMG: { @@ -91,7 +91,7 @@ tests: verification: | ./chip-tool doorlock read actuator-enabled 1 1 - Verify DUT reads ActuatorEnabled from the TH on TH / lock app log: + Verify the " ActuatorEnabled response" on TH(lock-app): [1658396183.485143][2474:2474] CHIP:DMG: ReadRequestMessage = [1658396183.485180][2474:2474] CHIP:DMG: { @@ -122,7 +122,7 @@ tests: verification: | ./chip-tool doorlock read door-state 1 1 - Verify DUT reads DoorState from the TH on TH / lock app log: + Verify the " DoorState response" on TH(lock-app): [1658396220.948165][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -156,7 +156,7 @@ tests: ./chip-tool doorlock read door-open-events 1 1 - Verify DUT reads DoorOpenEvents from the TH on TH / lock app log: + Verify the " DoorOpenEvents response" on TH(lock-app): [1658396275.165657][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -185,7 +185,7 @@ tests: ./chip-tool doorlock read door-closed-events 1 1 - Verify DUT reads DoorClosedEvents from the TH on TH / lock app log: + Verify the " DoorClosedEvents response" on TH(lock-app): [1658396372.169968][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -214,7 +214,7 @@ tests: ./chip-tool doorlock read open-period 1 1 - Verify DUT reads OpenPeriod from the TH on TH / lock app log: + Verify the " OpenPeriod response" on TH(lock-app): [1658396440.655877][2474:2474] CHIP:IM: Received Read request @@ -243,7 +243,7 @@ tests: ./chip-tool doorlock read number-of-total-users-supported 1 1 - Verify DUT reads NumberofTotalUsers from the TH on TH / lock app log: + Verify the " NumberofTotalUsers response" on TH(lock-app): [1658396514.220665][2474:2474] CHIP:IM: Received Read request [1658396514.220755][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -275,7 +275,7 @@ tests: verification: | ./chip-tool doorlock read number-of-pinusers-supported 1 1 - Verify DUT reads NumberofPINUsers from the TH on TH / lock app log: + Verify the " NumberofPINUsers Supported response" on TH(lock-app): [1658396558.156859][2474:2474] CHIP:IM: Received Read request @@ -308,7 +308,7 @@ tests: verification: | ./chip-tool doorlock read number-of-rfidusers-supported 1 1 - Verify DUT reads NumberofRFIDUsersSupported from the TH on TH / lock app log: + Verify the " NumberofRFIDUsersSupported response" on TH(lock-app): [1658396603.146106][2474:2474] CHIP:IM: Received Read request @@ -341,7 +341,7 @@ tests: verification: | ./chip-tool doorlock read number-of-week-day-schedules-supported-per-user 1 1 - Verify DUT reads NumberofWeekDaysSchedulesSupported from the TH on TH / lock app log: + Verify the " NumberofWeekDaysSchedulesSupported response" on TH(lock-app): [1658396646.712226][2474:2474] CHIP:IM: Received Read request [1658396646.712332][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -373,7 +373,7 @@ tests: verification: | ./chip-tool doorlock read number-of-year-day-schedules-supported-per-user 1 1 - Verify DUT reads NumberofYearDaysSchedulesSupported from the TH on TH / lock app log: + Verify the " NumberofYearDaysSchedulesSupported response" on TH(lock-app): [1658396684.635487][2474:2474] CHIP:IM: Received Read request [1658396684.635603][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -405,7 +405,7 @@ tests: verification: | ./chip-tool doorlock read number-of-holiday-schedules-supported 1 1 - Verify DUT reads NumberofHolidaySchedulesSupported from the TH on TH / lock app log: + Verify the " NumberofHolidaySchedulesSupported response" on TH(lock-app): [1658396723.251493][2474:2474] CHIP:IM: Received Read request @@ -438,7 +438,7 @@ tests: verification: | ./chip-tool doorlock read max-pincode-length 1 1 - Verify DUT reads MaxPINCodeLength from the TH on TH / lock app log: + Verify the " MaxPINCodeLength response" on TH(lock-app): [1658396788.539408][2474:2474] CHIP:IM: Received Read request [1658396788.539498][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -470,32 +470,27 @@ tests: verification: | ./chip-tool doorlock read min-pincode-length 1 1 - Verify DUT reads MinPINCodeLength from the TH on TH / lock app log: - - - [1658396826.199813][2474:2474] CHIP:IM: Received Read request - [1658396826.199923][2474:2474] CHIP:DMG: ReadRequestMessage = - [1658396826.199959][2474:2474] CHIP:DMG: { - [1658396826.199995][2474:2474] CHIP:DMG: AttributePathIBs = - [1658396826.200026][2474:2474] CHIP:DMG: [ - [1658396826.200054][2474:2474] CHIP:DMG: AttributePathIB = - [1658396826.200104][2474:2474] CHIP:DMG: { - [1658396826.200140][2474:2474] CHIP:DMG: Endpoint = 0x1, - [1658396826.200189][2474:2474] CHIP:DMG: Cluster = 0x101, - [1658396826.200235][2474:2474] CHIP:DMG: Attribute = 0x0000_0018, - [1658396826.200272][2474:2474] CHIP:DMG: } - [1658396826.200316][2474:2474] CHIP:DMG: - [1658396826.200347][2474:2474] CHIP:DMG: ], - [1658396826.200389][2474:2474] CHIP:DMG: - [1658396826.200421][2474:2474] CHIP:DMG: isFabricFiltered = true, - [1658396826.200463][2474:2474] CHIP:DMG: InteractionModelRevision = 1 - [1658396826.200492][2474:2474] CHIP:DMG: }, - [1658396826.200594][2474:2474] CHIP:DMG: IM RH moving to [GeneratingReports] - [1658396826.200712][2474:2474] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 - [1658396826.200756][2474:2474] CHIP:DMG: Cluster 101, Attribute 18 is dirty - [1658396826.200780][2474:2474] CHIP:DMG: Reading attribute: Cluster=0x0000_0101 Endpoint=1 AttributeId=0x0000_0018 (expanded=0) - [1658396826.200813][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v - [1658396826.200849][2474:2474] CHIP:DMG: AccessControl: allowed + Verify the " MinPINCodeLength response" on TH(lock-app): + + [1659617377.367323][5361:5361] CHIP:IM: Received Read request + [1659617377.367422][5361:5361] CHIP:DMG: ReadRequestMessage = + [1659617377.367454][5361:5361] CHIP:DMG: { + [1659617377.367481][5361:5361] CHIP:DMG: AttributePathIBs = + [1659617377.367513][5361:5361] CHIP:DMG: [ + [1659617377.367542][5361:5361] CHIP:DMG: AttributePathIB = + [1659617377.367575][5361:5361] CHIP:DMG: { + [1659617377.367609][5361:5361] CHIP:DMG: Endpoint = 0x1, + [1659617377.367651][5361:5361] CHIP:DMG: Cluster = 0x101, + [1659617377.367690][5361:5361] CHIP:DMG: Attribute = 0x0000_0018, + [1659617377.367726][5361:5361] CHIP:DMG: } + [1659617377.367760][5361:5361] CHIP:DMG: + [1659617377.367791][5361:5361] CHIP:DMG: ], + [1659617377.367825][5361:5361] CHIP:DMG: + [1659617377.367856][5361:5361] CHIP:DMG: isFabricFiltered = true, + [1659617377.367887][5361:5361] CHIP:DMG: InteractionModelRevision = 1 + [1659617377.367915][5361:5361] CHIP:DMG: }, + [1659617377.368004][5361:5361] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659617377.368111][5361:5361] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 disabled: true - label: "DUT reads MaxRFIDCodedLength from the TH." @@ -503,7 +498,7 @@ tests: verification: | ./chip-tool doorlock read max-rfidcode-length 1 1 - Verify DUT reads MaxRFIDCodeLength from the TH on TH / lock app log: + Verify the " MaxRFIDCodeLength response" on TH(lock-app): [1658396857.935901][2474:2474] CHIP:IM: Received Read request @@ -536,7 +531,7 @@ tests: verification: | ./chip-tool doorlock read min-rfidcode-length 1 1 - Verify DUT reads MinRFIDCodeLength from the TH on TH / lock app log: + Verify the " MinRFIDCodeLength response" on TH(lock-app): [1658396897.419273][2474:2474] CHIP:IM: Received Read request @@ -569,7 +564,7 @@ tests: verification: | ./chip-tool doorlock read credential-rules-support 1 1 - Verify DUT reads CredentialRulesSupport from the TH on TH / lock app log: + Verify the " CredentialRulesSupport response" on TH(lock-app): [1658396928.746032][2474:2474] CHIP:IM: Received Read request @@ -602,7 +597,7 @@ tests: verification: | ./chip-tool doorlock read language 1 1 - Verify DUT reads Language from the TH on TH / lock app log: + Verify the " Language response" on TH(lock-app): [1658396957.776405][2474:2474] CHIP:IM: Received Read request @@ -637,7 +632,7 @@ tests: ./chip-tool doorlock read ledsettings 1 1 - Verify DUT reads LEDSettings from the TH on TH / lock app log: + Verify the " LEDSettings response" on TH(lock-app): [1658396991.974233][2474:2474] CHIP:IM: Received Read request @@ -665,7 +660,7 @@ tests: verification: | ./chip-tool doorlock read auto-relock-time 1 1 - Verify DUT reads AutoRelockTime from the TH on TH / lock app log: + Verify the " AutoRelockTime response" on TH(lock-app): [1658397055.576504][2474:2474] CHIP:IM: Received Read request [1658397055.576666][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -697,7 +692,7 @@ tests: verification: | ./chip-tool doorlock read sound-volume 1 1 - Verify DUT reads SoundVolume from the TH on TH / lock app log: + Verify the " SoundVolume response" on TH(lock-app): [1658397087.000491][2474:2474] CHIP:IM: Received Read request [1658397087.000600][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -729,7 +724,7 @@ tests: verification: | ./chip-tool doorlock read operating-mode 1 1 - Verify DUT reads OperatingMode from the TH on TH / lock app log: + Verify the " OperatingMode response" on TH(lock-app): [1658397117.082297][2474:2474] CHIP:IM: Received Read request @@ -762,7 +757,7 @@ tests: verification: | ./chip-tool doorlock read supported-operating-modes 1 1 - Verify DUT reads SupportedOperatingModes from the TH on TH / lock app log: + Verify the " SupportedOperatingModes response" on TH(lock-app): [1658397177.691320][2474:2474] CHIP:IM: Received Read request @@ -795,9 +790,7 @@ tests: verification: | This is an Optional attribute, so its not compulsory to get the expected outcome - ./chip-tool doorlock read default-configuration-register 1 1 - - Verify DUT reads DefaultConfigurationRegister from the TH on TH / lock app log: + Verify the " DefaultConfigurationRegister response" on TH(lock-app): [1658397211.423665][2474:2474] CHIP:IM: Received Read request [1658397211.423769][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -825,8 +818,7 @@ tests: This is an Optional attribute, so its not compulsory to get the expected outcome ./chip-tool doorlock read enable-local-programming 1 1 - - Verify DUT reads EnableLocalProgramming from the TH on TH / lock app log: + Verify the " EnableLocalProgramming response" on TH(lock-app): [1658397282.356078][2474:2474] CHIP:IM: Received Read request @@ -855,7 +847,7 @@ tests: ./chip-tool doorlock read enable-one-touch-locking 1 1 - Verify DUT reads EnableOneTouchLocking from the TH on TH / lock app log: + Verify the " EnableOneTouchLocking response" on TH(lock-app): [1658397340.678069][2474:2474] CHIP:IM: Received Read request [1658397340.678177][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -889,7 +881,7 @@ tests: ./chip-tool doorlock read enable-inside-status-led 1 1 - Verify DUT reads EnableInsideStatusLED from the TH on TH / lock app log: + Verify the " EnableInsideStatusLED response" on TH(lock-app): [1658397372.051159][2474:2474] CHIP:IM: Received Read request @@ -917,7 +909,7 @@ tests: verification: | ./chip-tool doorlock read enable-privacy-mode-button 1 1 - Verify DUT reads EnablePrivacyModeButton from the TH on TH / lock app log: + Verify the " EnablePrivacyModeButton response" on TH(lock-app): [1658397429.117175][2474:2474] CHIP:IM: Received Read request @@ -952,7 +944,7 @@ tests: ./chip-tool doorlock read local-programming-features 1 1 - Verify DUT reads LocalProgrammingFeatures from the TH on TH / lock app log: + Verify the " LocalProgrammingFeatures response" on TH(lock-app): [1658397475.940127][2474:2474] CHIP:IM: Received Read request @@ -980,7 +972,7 @@ tests: verification: | ./chip-tool doorlock read wrong-code-entry-limit 1 1 - Verify DUT reads WrongCodeEntryLimit from the TH on TH / lock app log: + Verify the " WrongCodeEntryLimit response" on TH(lock-app): [1658397556.997182][2474:2474] CHIP:IM: Received Read request [1658397556.997294][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -1012,7 +1004,7 @@ tests: verification: | ./chip-tool doorlock read user-code-temporary-disable-time 1 1 - Verify DUT reads UserCodedTemporaryDisableTime from the TH on TH / lock app log: + Verify the " UserCodedTemporaryDisableTime response" on TH(lock-app): [1658397634.527661][2474:2474] CHIP:IM: Received Read request @@ -1047,7 +1039,7 @@ tests: ./chip-tool doorlock read send-pinover-the-air 1 1 - Verify DUT reads SendPINOverTheAir from TH on TH / lock app log: + Verify the " SendPINOverTheAir response" on TH(lock-app): @@ -1076,7 +1068,7 @@ tests: verification: | ./chip-tool doorlock read require-pinfor-remote-operation 1 1 - Verify DUT reads RequirePINForRemoteOperation from the TH on TH / lock app log: + Verify the " RequirePINForRemoteOperation response" on TH(lock-app): [1658397733.214110][2474:2474] CHIP:IM: Received Read request @@ -1111,8 +1103,7 @@ tests: ./chip-tool doorlock read expiring-user-timeout 1 1 - Verify DUT reads ExpiringUserTimeOut from the TH on TH / lock app log: - + Verify the " ExpiringUserTimeOut response" on TH(lock-app): [1658397771.129301][2474:2474] CHIP:IM: Received Read request [1658397771.129390][2474:2474] CHIP:DMG: ReadRequestMessage = @@ -1139,7 +1130,7 @@ tests: verification: | ./chip-tool doorlock read number-of-credentials-supported-per-user 1 1 - Verify DUT reads NumberOfCredentialsSupportedPerUser from the TH on TH / lock app log: + Verify the " NumberOfCredentialsSupportedPerUser response" on TH(lock-app): [1658397824.221419][2474:2474] CHIP:IM: Received Read request [1658397824.221545][2474:2474] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_3_2.yaml index 07a71a1f0a49d1..652cf20cf02915 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_3_2.yaml @@ -29,7 +29,8 @@ tests: verification: | ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Lock Door command from the DUT on TH / lock app log: + Verify the " Lock Door command response" on TH(lock-app): + [1654755271.172070][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755271.172131][2969:2969] CHIP:DMG: { @@ -66,7 +67,9 @@ tests: PICS: DRLK.C.C01.Tx verification: | ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Unlock Door command from the DUT on TH / lock app log: + + Verify the " Unlock Door command response" on TH(lock-app): + [1654755356.562412][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755356.562459][2969:2969] CHIP:DMG: { @@ -104,7 +107,9 @@ tests: verification: | ./chip-tool doorlock unlock-with-timeout 60 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Unlock with Timeout command from the DUT on TH / lock app log: + Verify the " Unlock with Timeout command response" on TH(lock-app): + + [1654755446.175911][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755446.175940][2969:2969] CHIP:DMG: { @@ -146,13 +151,47 @@ tests: verification: | ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Set user command from the DUT on TH / lock app log: + Verify the " Set user command response" on TH(lock-app): - [1656497453.684077][25847:25853] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398796.181348][2474:2474] CHIP:DMG: InvokeRequestMessage = + [1658398796.181385][2474:2474] CHIP:DMG: { + [1658398796.181419][2474:2474] CHIP:DMG: suppressResponse = false, + [1658398796.181457][2474:2474] CHIP:DMG: timedRequest = true, + [1658398796.181493][2474:2474] CHIP:DMG: InvokeRequests = + [1658398796.181542][2474:2474] CHIP:DMG: [ + [1658398796.181578][2474:2474] CHIP:DMG: CommandDataIB = + [1658398796.181618][2474:2474] CHIP:DMG: { + [1658398796.181656][2474:2474] CHIP:DMG: CommandPathIB = + [1658398796.181703][2474:2474] CHIP:DMG: { + [1658398796.181750][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658398796.181800][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658398796.181848][2474:2474] CHIP:DMG: CommandId = 0x1a, + [1658398796.181892][2474:2474] CHIP:DMG: }, + [1658398796.181939][2474:2474] CHIP:DMG: + [1658398796.181981][2474:2474] CHIP:DMG: CommandFields = + [1658398796.182026][2474:2474] CHIP:DMG: { + [1658398796.182072][2474:2474] CHIP:DMG: 0x0 = 0, + [1658398796.182120][2474:2474] CHIP:DMG: 0x1 = 2, + [1658398796.182171][2474:2474] CHIP:DMG: 0x2 = "xxx", + [1658398796.182220][2474:2474] CHIP:DMG: 0x3 = 6452, + [1658398796.182269][2474:2474] CHIP:DMG: 0x4 = 1, + [1658398796.182322][2474:2474] CHIP:DMG: 0x5 = 0, + [1658398796.182371][2474:2474] CHIP:DMG: 0x6 = 0, + [1658398796.182419][2474:2474] CHIP:DMG: }, + [1658398796.182462][2474:2474] CHIP:DMG: }, + [1658398796.182512][2474:2474] CHIP:DMG: + [1658398796.182547][2474:2474] CHIP:DMG: ], + [1658398796.182594][2474:2474] CHIP:DMG: + [1658398796.182629][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658398796.182664][2474:2474] CHIP:DMG: }, + [1658398796.182758][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658398796.182809][2474:2474] CHIP:DMG: AccessControl: allowed ./chip-tool doorlock set-week-day-schedule 1 1 2 15 45 16 55 1 1 - Verify Test Harness receives the Set Week Day Schedule command from the DUT on TH / lock app log: + Verify the " Set Week Day Schedule command response" on TH(lock-app): + + [1657115333.959925][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115333.959993][8804:8804] CHIP:DMG: { @@ -195,7 +234,8 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0c.Tx verification: | ./chip-tool doorlock get-week-day-schedule 1 1 1 1 - Verify Test Harness receives the Get Week Day Schedule command from the DUT on TH / lock app log: + Verify the " Get Week Day Schedule command response" on TH(lock-app): + [1657115377.506828][8804:8804] CHIP:DMG: InvokeRequestMessage = @@ -238,7 +278,9 @@ tests: verification: | ./chip-tool doorlock clear-week-day-schedule 1 1 1 1 - Verify Test Harness receives the Clear Week Day Schedule command from the DUT on TH / lock app log: + Verify the " Clear Week Day Schedule command response" on TH(lock-app): + + [1657115416.513747][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115416.513812][8804:8804] CHIP:DMG: { @@ -280,7 +322,8 @@ tests: verification: | ./chip-tool doorlock set-year-day-schedule 1 1 1080 2100 1 1 - Verify Test Harness receives the Set Year Day Schedule command from the DUT on TH / lock app log: + Verify the " Set Year Day Schedule command response" on TH(lock-app): + [1657115453.534892][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115453.534959][8804:8804] CHIP:DMG: { @@ -323,8 +366,9 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0f.Tx verification: | ./chip-tool doorlock get-year-day-schedule 1 1 1 1 + Verify the " Get Year Day Schedule command response" on TH(lock-app): + - Verify Test Harness receives the Get Year Day Schedule command from the DUT on TH / lock app log: [1657115480.383098][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115480.383167][8804:8804] CHIP:DMG: { @@ -366,7 +410,8 @@ tests: verification: | ./chip-tool doorlock clear-year-day-schedule 1 1 1 1 - Verify Test Harness receives the Clear Year Day Schedule command from the DUT on TH / lock app log: + Verify the " Clear Year Day Schedule command response" on TH(lock-app): + [1657115522.132250][8804:8804] CHIP:DMG: InvokeRequestMessage = @@ -409,7 +454,8 @@ tests: verification: | ./chip-tool doorlock set-holiday-schedule 1 20 30 0 1 1 - Verify Test Harness receives the Set Holiday Day Schedule command from the DUT on TH / lock app log: + Verify the " Set Holiday Day Schedule command response" on TH(lock-app): + [1657115547.835987][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115547.836055][8804:8804] CHIP:DMG: { @@ -450,8 +496,8 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 1 1 1 + Verify the " Get Holiday Day Schedule command response" on TH(lock-app): - Verify Test Harness receives the Get Holiday Day Schedule command from the DUT on TH / lock app log: [1655380520.601439][3411:3411] CHIP:DMG: { @@ -488,7 +534,9 @@ tests: verification: | ./chip-tool doorlock clear-holiday-schedule 1 1 1 - Verify Test Harness receives the Clear Holiday Day Schedule command from the DUT on TH / lock app log: + Verify the " Clear Holiday Day Schedule command response" on TH(lock-app): + + [1657115633.501630][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115633.501697][8804:8804] CHIP:DMG: { @@ -527,7 +575,9 @@ tests: verification: | ./chip-tool doorlock set-user 0 2 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Set User Door command from the DUT on TH / lock app log: + Verify the " Set User Day Schedule command response" on TH(lock-app): + + [1658398796.181348][2474:2474] CHIP:DMG: InvokeRequestMessage = [1658398796.181385][2474:2474] CHIP:DMG: { @@ -574,8 +624,9 @@ tests: PICS: DRLK.S.F08 && DRLK.C.C1b.Tx verification: | ./chip-tool doorlock get-user 2 1 1 --timedInteractionTimeoutMs 1000 + Verify the " Get User Day Schedule command response" on TH(lock-app): + - Verify Test Harness receives the Get User command from the DUT on TH / lock app log: [1658398920.378963][2474:2474] CHIP:DMG: CommandPathIB = [1658398920.378994][2474:2474] CHIP:DMG: { @@ -605,8 +656,9 @@ tests: PICS: DRLK.S.F08 && DRLK.C.C1d.Tx verification: | ./chip-tool doorlock clear-user 2 1 1 --timedInteractionTimeoutMs 1000 + Verify the " Clear User Day Schedule command response" on TH(lock-app): + - Verify Test Harness receives the Clear User command from the DUT on TH / lock app log: [1658399465.849095][2474:2474] CHIP:DMG: CommandPathIB = [1658399465.849133][2474:2474] CHIP:DMG: { @@ -635,12 +687,14 @@ tests: [1658399465.849973][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=2,adjustedIndex=1] disabled: true - - label: "DUT sends Set Credential command to TH" + - label: "DUT sends Set Credential command to TH.a" PICS: DRLK.S.F08 && DRLK.C.C22.Tx verification: | ./chip-tool doorlock set-credential 0 "{ "credentialType" : 1 , "credentialIndex" : 1 }" 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - Verify Test Harness receives the Set Credential command from the DUT on TH / lock app log: + Verify the " Set Credential command response" on TH(lock-app): + + [1658399006.369032][2474:2474] CHIP:DMG: CommandPathIB = [1658399006.369075][2474:2474] CHIP:DMG: { @@ -713,8 +767,9 @@ tests: PICS: DRLK.S.F08 && DRLK.C.C24.Tx verification: | ./chip-tool doorlock get-credential-status "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000 + Verify the " Get Credential command response" on TH(lock-app): + - Verify Test Harness receives the Get Credential command from the DUT on TH / lock app log: [1658399098.914006][2474:2474] CHIP:DMG: CommandPathIB = [1658399098.914053][2474:2474] CHIP:DMG: { @@ -769,8 +824,8 @@ tests: PICS: DRLK.S.F08 && DRLK.C.C26.Tx verification: | ./chip-tool doorlock clear-credential "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000 + Verify the " Clear Credential command response" on TH(lock-app): - Verify Test Harness receives the Clear Credential command from the DUT on TH / lock app log: [1657115878.582559][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115878.582642][8804:8804] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_2.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_2.yaml index 1fc5adcf73697c..2ea667dc0acf32 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_1_2.yaml @@ -117,9 +117,8 @@ tests: verification: | ./chip-tool modeselect read standard-namespace 1 1 - Verify on TH(chip-tool) logs ,standard-namespace value is listed in the supported modes from step 1 or null is also acceptable + Verify on TH(chip-tool) logs ,standard-namespace value has 16 bit enum (null is also acceptable). [1649677167.900539][10795:10801] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0050 Attribute 0x0000_0001 DataVersion: 4277065072 - [1649677167.900660][10795:10801] CHIP:TOO: StandardNamespace: 0 disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml index 2842f2e45499e9..92052a3e0b268a 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 12.3.1. [TC-OPCREDS-3.1] Attribute-NOCs, TrustedRootCertificates list + 3.2.1. [TC-OPCREDS-3.1] Attribute-NOCs, TrustedRootCertificates list validation [DUT-Server] PICS: @@ -30,6 +30,12 @@ tests: "Factory Reset DUT (to ensure NOC list is empty at the beginning of the following steps)" PICS: OPCREDS.S.A0000 + verification: | + On both DUT and TH side + sudo rm -rf /tmp/chip_* + disabled: true + + - label: "Start the commissioning process of DUT by TH1 on a first Fabric" verification: | DUT side: sudo ./chip-all-clusters-app --wifi @@ -40,24 +46,27 @@ tests: [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success disabled: true - - label: "Start the commissioning process of DUT by TH1 on a first Fabric" + - label: + "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds + field set to 900" + PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - ./chip-tool generalcommissioning arm-fail-safe 500 600 1 0 + ./chip-tool generalcommissioning arm-fail-safe 900 600 1 0 - Verify the ErrorCode as "OK"(0) in TH log - [1655469679.636495][13173:13178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1655469679.636600][13173:13178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1655469679.636738][13173:13178] CHIP:TOO: ArmFailSafeResponse: { - [1655469679.636817][13173:13178] CHIP:TOO: errorCode: 0 - [1655469679.636876][13173:13178] CHIP:TOO: debugText: - [1655469679.636930][13173:13178] CHIP:TOO: } + Verify the ErrorCode as "OK"(0) in TH log + [1659676500.031926][2475:2480] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 + [1659676500.047646][2475:2480] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 + [1659676500.055459][2475:2480] CHIP:TOO: ArmFailSafeResponse: { + [1659676500.055613][2475:2480] CHIP:TOO: errorCode: 0 + [1659676500.055669][2475:2480] CHIP:TOO: debugText: + [1659676500.055719][2475:2480] CHIP:TOO: } + [1659676500.055806][2475:2480] CHIP:DMG: ICR moving to [AwaitingDe] + [1659676500.055920][2475:2480] CHIP:EM: Sending Standalone Ack for MessageCounter:225116044 on exchange 37810i disabled: true - - label: - "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds - field set to 900" - PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx + - label: "TH1 sends SetRegulatoryConfig command to the DUT" + PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx verification: | ./chip-tool generalcommissioning set-regulatory-config 0 new 0 1 0 @@ -71,8 +80,8 @@ tests: [1658223287.237205][5570:5575] CHIP:TOO: } disabled: true - - label: "TH1 sends SetRegulatoryConfig command to the DUT" - PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx + - label: "TH1 sends AttestationRequest command to DUT" + PICS: OPCREDS.S.C00.Rsp && OPCREDS.S.C01.Tx verification: | To get attestation nonce give below command echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) @@ -91,8 +100,10 @@ tests: [1658223434.719135][5712:5717] CHIP:TOO: } disabled: true - - label: "TH1 sends AttestationRequest command to DUT" - PICS: OPCREDS.S.C00.Rsp && OPCREDS.S.C01.Tx + - label: + "TH1 sends CertificateChainRequest Command to DUT for the PAI and + saves the certififate as PAICert" + PICS: OPCREDS.S.C02.Rsp && OPCREDS.S.C03.Tx verification: | ./chip-tool operationalcredentials certificate-chain-request 2 1 0 @@ -112,8 +123,8 @@ tests: disabled: true - label: - "TH1 sends CertificateChainRequest Command to DUT for the PAI and - saves the certififate as PAICert" + "TH1 sends CertificateChainRequest Command to DUT for the DAC and + saves the certififate as DACCert" PICS: OPCREDS.S.C02.Rsp && OPCREDS.S.C03.Tx verification: | ./chip-tool operationalcredentials certificate-chain-request 1 1 0 @@ -133,10 +144,8 @@ tests: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 disabled: true - - label: - "TH1 sends CertificateChainRequest Command to DUT for the DAC and - saves the certififate as DACCert" - PICS: OPCREDS.S.C02.Rsp && OPCREDS.S.C03.Tx + - label: "TH1 Sends CSRRequest command with a random 32-byte nonce" + PICS: OPCREDS.S.C04.Rsp verification: | To get SCR Nonce give below command 2 times echo hex:$(hexdump -vn32 -e"4/4 "%08X" " /dev/urandom) @@ -158,12 +167,6 @@ tests: EB731B40B20501AF32C468AA522948F7848D3AEDFA24D9A879575B4A265886C97109EE0DE1ECEB969B1A7F98F127DB4C275292B986BF8DA56EF7B16DA8EC8ABE disabled: true - - label: "TH1 Sends CSRRequest command with a random 32-byte nonce" - PICS: OPCREDS.S.C04.Rsp - verification: | - verification step to be updated. - disabled: true - - label: "TH1 validates the attestation response" verification: | verification step to be updated. diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml index 2d90471f290293..7354d15140d161 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_2.yaml @@ -36,7 +36,7 @@ tests: "Commission DUT to TH1s Fabric When DUT sends NOC response save FabricIndex as FabricIndex_TH1" verification: | - "DUT side: + DUT side: sudo ./chip-all-clusters-app --wifi TH side: @@ -329,15 +329,13 @@ tests: "Verify that there is only data for the entry whose FabricIndex field is equal to FabricIndex_TH2" verification: | - Verify that Noc"s list has only data for FabricIndex_TH2 + ./chip-tool operationalcredentials read current-fabric-index 2 0 - [1658819643.546022][8397:8402] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2645922631 - [1658819643.546148][8397:8402] CHIP:TOO: NOCs: 1 entries - [1658819643.546258][8397:8402] CHIP:TOO: [1]: { - [1658819643.546307][8397:8402] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411021824070124080130094104FF8D28DB36902F674F4BF312985CDEA52231E0B3C4795E54E3EFC0D6DE9AED140DEF653EDE9160B10BF446D6E2FAC5DBD38BF85597E095136A209F0990E54394370A3501280118240201360304020401183004144F0F08EA1F5414C324914019EB74CA31C9819AC6300514FF5D080583B5B132C45F800B8D2E184E7D599F5118300B40D434A0D9DA1C7D61784D8BCBEE3E7179A4818499442DD23919A81933C0170673FF33D0E8654312388EE717161DF5E1B6E14402380602B873D551174B2BA0D8E718 - [1658819643.546407][8397:8402] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104A58C57E9D8919152DE03DAC991155D750A5D8C93093D75E166E1C5CF86381EA926E108BFE78DAD9FFFB4363A706DA88B9F3B8EF5D80F428F44EAE26472C81B47370A3501290118240260300414FF5D080583B5B132C45F800B8D2E184E7D599F513005143036AAD3B8EDBF6075364A85A96F9A0583EEC49718300B4014BEAF33C7B547857AC36A17AD1CDD4D90D7045889C5B576CA644C78F021B6C21498EDDC43730AFEAD6AF5A945728D1C4F7DF7EE37C313D5AE27E78F0509DB9918 - [1658819643.546447][8397:8402] CHIP:TOO: FabricIndex: 2 - [1658819643.546478][8397:8402] CHIP:TOO: } + Verify current fabric index in TH2 Log + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 2445178920 + CHIP:TOO: CurrentFabricIndex: 2 + CHIP:EM: Sending Standalone Ack for MessageCounter:8900122 on exchange 26519i disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml index 319f77703250b6..3486d8b349a92e 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml @@ -45,7 +45,7 @@ tests: - label: "Verify that the DUT sends AttestationRequest Command to TH" PICS: OPCREDS.C.C00.Tx verification: | - Verify the DUT send AttestationRequest Command to TH(all-clusters-app) + Verify that the DUT send AttestationRequest Command to TH(all-clusters-app) [1657778307.595402][8192:8197] CHIP:CTL: Commissioning stage next step: "SendDACCertificateRequest" -> "SendAttestationRequest" [1657778307.595466][8192:8197] CHIP:CTL: Performing next commissioning step "SendAttestationRequest" @@ -288,7 +288,7 @@ tests: - label: "Verify that the DUT sends CertificateChainRequest Command to TH" PICS: OPCREDS.C.C02.Tx verification: | - Verify DUT send CertificateChainRequest Command to TH (all-clusters-app) + Verify that the DUT send CertificateChainRequest Command to TH (all-clusters-app) [1657778306.864918][8192:8197] CHIP:CTL: Sending Certificate Chain request to 0xffff78000b60 device [1657778306.865059][8192:8197] CHIP:DMG: ICR moving to [AddingComm] @@ -419,7 +419,7 @@ tests: - label: "Verify that the DUT Sends CSRRequest command to TH" PICS: OPCREDS.C.C04.Tx verification: | - Verify the DUT send CSRRequest command to TH (all-clusters-app) + Verify that the DUT send CSRRequest command to TH (all-clusters-app) [1657778307.949847][8192:8197] CHIP:CTL: Sending CSR request to 0xffff78000b60 device [1657778307.949923][8192:8197] CHIP:DMG: ICR moving to [AddingComm] @@ -563,7 +563,7 @@ tests: - label: "Verify that the DUT sends AddTrustedRootCertificate command to TH" PICS: OPCREDS.C.C0b.Tx verification: | - Verify the DUT send AddTrustedRootCertificate command to TH (all-clusters-app) + Verify that the DUT send AddTrustedRootCertificate command to TH (all-clusters-app) [1657778308.179742][8192:8197] CHIP:CTL: Performing next commissioning step "SendTrustedRootCert" [1657778308.179769][8192:8197] CHIP:CTL: Sending root certificate to the device @@ -683,7 +683,7 @@ tests: - label: "Verify that DUT sends the AddNOC Command to TH" PICS: OPCREDS.C.C06.Tx verification: | - Verify the DUT send AddNOC command to TH (all-clusters-app) + Verify that the DUT send AddNOC command to TH (all-clusters-app) [1657778308.374786][8192:8197] CHIP:CTL: Performing next commissioning step "SendNOC" @@ -856,25 +856,67 @@ tests: "Extract the following FabricDescriptorStruct values from TH RootPublicKey VendorID FabricID NodeID Label" verification: | - "./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 --trace_decode 1 - Verify the following on TH (all-clusters-app) + Verify that the following on TH (all-clusters-app) 1. RootPublicKey 2. VendorID 3. FabricID 4. NodeID 5. Label - [1651572032.170920][3815:3820] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2018783041 - [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 1 entries - [1651572032.171179][3815:3820] CHIP:TOO: [1]: { - [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B - [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 - [1651572032.171296][3815:3820] CHIP:TOO: FabricId: 1 - [1651572032.171328][3815:3820] CHIP:TOO: NodeId: 1 - [1651572032.171360][3815:3820] CHIP:TOO: Label: NodeOpeCredits1 - [1651572032.171393][3815:3820] CHIP:TOO: FabricIndex: 1 - [1651572032.171427][3815:3820] CHIP:TOO: } + [1660204922.048005][5770:5770] CHIP:DMG: ReportDataMessage = + [1660204922.048056][5770:5770] CHIP:DMG: { + [1660204922.048088][5770:5770] CHIP:DMG: AttributeReportIBs = + [1660204922.048132][5770:5770] CHIP:DMG: [ + [1660204922.048168][5770:5770] CHIP:DMG: AttributeReportIB = + [1660204922.048219][5770:5770] CHIP:DMG: { + [1660204922.048273][5770:5770] CHIP:DMG: AttributeDataIB = + [1660204922.048324][5770:5770] CHIP:DMG: { + [1660204922.048383][5770:5770] CHIP:DMG: DataVersion = 0x831524ff, + [1660204922.048431][5770:5770] CHIP:DMG: AttributePathIB = + [1660204922.048492][5770:5770] CHIP:DMG: { + [1660204922.048543][5770:5770] CHIP:DMG: Endpoint = 0x0, + [1660204922.048610][5770:5770] CHIP:DMG: Cluster = 0x3e, + [1660204922.048674][5770:5770] CHIP:DMG: Attribute = 0x0000_0001, + [1660204922.048727][5770:5770] CHIP:DMG: } + [1660204922.048790][5770:5770] CHIP:DMG: + [1660204922.048843][5770:5770] CHIP:DMG: Data = [ + [1660204922.048902][5770:5770] CHIP:DMG: + [1660204922.048970][5770:5770] CHIP:DMG: ], + [1660204922.049017][5770:5770] CHIP:DMG: }, + [1660204922.049066][5770:5770] CHIP:DMG: + [1660204922.049118][5770:5770] CHIP:DMG: }, + [1660204922.049193][5770:5770] CHIP:DMG: + [1660204922.049229][5770:5770] CHIP:DMG: AttributeReportIB = + [1660204922.049295][5770:5770] CHIP:DMG: { + [1660204922.049337][5770:5770] CHIP:DMG: AttributeDataIB = + [1660204922.049398][5770:5770] CHIP:DMG: { + [1660204922.049451][5770:5770] CHIP:DMG: DataVersion = 0x831524ff, + [1660204922.049515][5770:5770] CHIP:DMG: AttributePathIB = + [1660204922.049579][5770:5770] CHIP:DMG: { + [1660204922.049634][5770:5770] CHIP:DMG: Endpoint = 0x0, + [1660204922.049700][5770:5770] CHIP:DMG: Cluster = 0x3e, + [1660204922.049753][5770:5770] CHIP:DMG: Attribute = 0x0000_0001, + [1660204922.049822][5770:5770] CHIP:DMG: ListIndex = Null, + [1660204922.049889][5770:5770] CHIP:DMG: } + [1660204922.049941][5770:5770] CHIP:DMG: + [1660204922.050000][5770:5770] CHIP:DMG: Data = + [1660204922.050053][5770:5770] CHIP:DMG: { + [1660204922.050116][5770:5770] CHIP:DMG: 0x1 = [ + [1660204922.050196][5770:5770] CHIP:DMG: 0x4, 0xe1, 0x84, 0xff, 0xff, 0x4d, 0x13, 0xdb, 0xcf, 0x38, 0x4a, 0x26, 0xa5, 0x96, 0x16, 0x99, 0xf6, 0xba, 0x71, 0xa9, 0x5e, 0xf4, 0xc5, 0x7f, 0x53, 0x28, 0xbe, 0x2f, 0x4a, 0x6c, 0x6c, 0x31, 0xd7, 0x1d, 0x43, 0xb9, 0x30, 0x1a, 0x1f, 0x82, 0x25, 0x54, 0x7a, 0x7f, 0xc4, 0x4d, 0x99, 0x81, 0x8b, 0x45, 0x48, 0xd3, 0x5d, 0x4f, 0xdb, 0xf1, 0x79, 0x29, 0x9b, 0x8e, 0xd0, 0x1b, 0x98, 0x6e, 0xd5, + [1660204922.050271][5770:5770] CHIP:DMG: ] (65 bytes) + [1660204922.050324][5770:5770] CHIP:DMG: 0x2 = 65521, + [1660204922.050396][5770:5770] CHIP:DMG: 0x3 = 1, + [1660204922.050453][5770:5770] CHIP:DMG: 0x4 = 1, + [1660204922.050522][5770:5770] CHIP:DMG: 0x5 = "" (0 chars), + [1660204922.050590][5770:5770] CHIP:DMG: 0xfe = 1, + [1660204922.050641][5770:5770] CHIP:DMG: }, + [1660204922.050704][5770:5770] CHIP:DMG: }, + [1660204922.050760][5770:5770] CHIP:DMG: + [1660204922.050812][5770:5770] CHIP:DMG: }, + [1660204922.050877][5770:5770] CHIP:DMG: + [1660204922.050912][5770:5770] CHIP:DMG: ], disabled: true - label: @@ -886,7 +928,7 @@ tests: certificate,Verify that the size of Label has a maximum value of 32 bytes." verification: | - Verify the following on TH (all-clusters-app) log + Verify that the following on TH (all-clusters-app) log 1. Verify RootPublicKey is within 65 octstr in below log 2. Verify NodeID is same as chip-node-id @@ -894,16 +936,58 @@ tests: 4. Verify the FabricID is same as matter-fabric-id 5. Verify the size of Label is maximum of 32 bytes - - [1651572032.171031][3815:3820] CHIP:TOO: Fabrics: 1 entries - [1651572032.171179][3815:3820] CHIP:TOO: [1]: { - [1651572032.171223][3815:3820] CHIP:TOO: RootPublicKey: 0412894491026CDACAC117D232D252EF827691D378BCCC9E8E717E6C70B3D36E4C5430FDF26B783EC579506D3E748BABFBC6D400302C72CD5BD40B152AA303724B - [1651572032.171262][3815:3820] CHIP:TOO: VendorId: 65521 - [1651572032.171296][3815:3820] CHIP:TOO: FabricId: 1 - [1651572032.171328][3815:3820] CHIP:TOO: NodeId: 1 - [1651572032.171360][3815:3820] CHIP:TOO: Label: NodeOpeCredits1 - [1651572032.171393][3815:3820] CHIP:TOO: FabricIndex: 1 - [1651572032.171427][3815:3820] CHIP:TOO: } + [1660204922.048005][5770:5770] CHIP:DMG: ReportDataMessage = + [1660204922.048056][5770:5770] CHIP:DMG: { + [1660204922.048088][5770:5770] CHIP:DMG: AttributeReportIBs = + [1660204922.048132][5770:5770] CHIP:DMG: [ + [1660204922.048168][5770:5770] CHIP:DMG: AttributeReportIB = + [1660204922.048219][5770:5770] CHIP:DMG: { + [1660204922.048273][5770:5770] CHIP:DMG: AttributeDataIB = + [1660204922.048324][5770:5770] CHIP:DMG: { + [1660204922.048383][5770:5770] CHIP:DMG: DataVersion = 0x831524ff, + [1660204922.048431][5770:5770] CHIP:DMG: AttributePathIB = + [1660204922.048492][5770:5770] CHIP:DMG: { + [1660204922.048543][5770:5770] CHIP:DMG: Endpoint = 0x0, + [1660204922.048610][5770:5770] CHIP:DMG: Cluster = 0x3e, + [1660204922.048674][5770:5770] CHIP:DMG: Attribute = 0x0000_0001, + [1660204922.048727][5770:5770] CHIP:DMG: } + [1660204922.048790][5770:5770] CHIP:DMG: + [1660204922.048843][5770:5770] CHIP:DMG: Data = [ + [1660204922.048902][5770:5770] CHIP:DMG: + [1660204922.048970][5770:5770] CHIP:DMG: ], + [1660204922.049017][5770:5770] CHIP:DMG: }, + [1660204922.049066][5770:5770] CHIP:DMG: + [1660204922.049118][5770:5770] CHIP:DMG: }, + [1660204922.049193][5770:5770] CHIP:DMG: + [1660204922.049229][5770:5770] CHIP:DMG: AttributeReportIB = + [1660204922.049295][5770:5770] CHIP:DMG: { + [1660204922.049337][5770:5770] CHIP:DMG: AttributeDataIB = + [1660204922.049398][5770:5770] CHIP:DMG: { + [1660204922.049451][5770:5770] CHIP:DMG: DataVersion = 0x831524ff, + [1660204922.049515][5770:5770] CHIP:DMG: AttributePathIB = + [1660204922.049579][5770:5770] CHIP:DMG: { + [1660204922.049634][5770:5770] CHIP:DMG: Endpoint = 0x0, + [1660204922.049700][5770:5770] CHIP:DMG: Cluster = 0x3e, + [1660204922.049753][5770:5770] CHIP:DMG: Attribute = 0x0000_0001, + [1660204922.049822][5770:5770] CHIP:DMG: ListIndex = Null, + [1660204922.049889][5770:5770] CHIP:DMG: } + [1660204922.049941][5770:5770] CHIP:DMG: + [1660204922.050000][5770:5770] CHIP:DMG: Data = + [1660204922.050053][5770:5770] CHIP:DMG: { + [1660204922.050116][5770:5770] CHIP:DMG: 0x1 = [ + [1660204922.050196][5770:5770] CHIP:DMG: 0x4, 0xe1, 0x84, 0xff, 0xff, 0x4d, 0x13, 0xdb, 0xcf, 0x38, 0x4a, 0x26, 0xa5, 0x96, 0x16, 0x99, 0xf6, 0xba, 0x71, 0xa9, 0x5e, 0xf4, 0xc5, 0x7f, 0x53, 0x28, 0xbe, 0x2f, 0x4a, 0x6c, 0x6c, 0x31, 0xd7, 0x1d, 0x43, 0xb9, 0x30, 0x1a, 0x1f, 0x82, 0x25, 0x54, 0x7a, 0x7f, 0xc4, 0x4d, 0x99, 0x81, 0x8b, 0x45, 0x48, 0xd3, 0x5d, 0x4f, 0xdb, 0xf1, 0x79, 0x29, 0x9b, 0x8e, 0xd0, 0x1b, 0x98, 0x6e, 0xd5, + [1660204922.050271][5770:5770] CHIP:DMG: ] (65 bytes) + [1660204922.050324][5770:5770] CHIP:DMG: 0x2 = 65521, + [1660204922.050396][5770:5770] CHIP:DMG: 0x3 = 1, + [1660204922.050453][5770:5770] CHIP:DMG: 0x4 = 1, + [1660204922.050522][5770:5770] CHIP:DMG: 0x5 = "" (0 chars), + [1660204922.050590][5770:5770] CHIP:DMG: 0xfe = 1, + [1660204922.050641][5770:5770] CHIP:DMG: }, + [1660204922.050704][5770:5770] CHIP:DMG: }, + [1660204922.050760][5770:5770] CHIP:DMG: + [1660204922.050812][5770:5770] CHIP:DMG: }, + [1660204922.050877][5770:5770] CHIP:DMG: + [1660204922.050912][5770:5770] CHIP:DMG: ], disabled: true - label: @@ -916,7 +1000,7 @@ tests: - label: "DUT sends UpdateNOC to TH" PICS: OPCREDS.C.C07.Tx verification: | - Verify UpdateNOC Command is received in TH (all-clusters-app) + During commissioning, Verify that UpdateNOC Command is received in TH (all-clusters-app) [1655968444.113753][21387:21392] CHIP:CTL: Performing next commissioning step "SendNOC" [1655968444.113880][21387:21392] CHIP:DMG: ICR moving to [AddingComm] @@ -1056,13 +1140,40 @@ tests: Verify NOCResponse in TH (all-clusters-app) - [1655316452.670075][7173:7178] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655316452.670169][7173:7178] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655316452.670297][7173:7178] CHIP:TOO: NOCResponse: { - [1655316452.670373][7173:7178] CHIP:TOO: statusCode: 0 - [1655316452.670432][7173:7178] CHIP:TOO: fabricIndex: 1 - [1655316452.670531][7173:7178] CHIP:TOO: } - [1655316452.670618][7173:7178] CHIP:DMG: ICR moving to [AwaitingDe] + [1659967865.181663][3334:3334] CHIP:EM: Handling via exchange: 16044r, Delegate: 0xaaaad1123fa0 + [1659967865.181734][3334:3334] CHIP:DMG: InvokeRequestMessage = + [1659967865.181761][3334:3334] CHIP:DMG: { + [1659967865.181784][3334:3334] CHIP:DMG: suppressResponse = false, + [1659967865.181810][3334:3334] CHIP:DMG: timedRequest = false, + [1659967865.181834][3334:3334] CHIP:DMG: InvokeRequests = + [1659967865.181865][3334:3334] CHIP:DMG: [ + [1659967865.181889][3334:3334] CHIP:DMG: CommandDataIB = + [1659967865.181916][3334:3334] CHIP:DMG: { + [1659967865.181942][3334:3334] CHIP:DMG: CommandPathIB = + [1659967865.181978][3334:3334] CHIP:DMG: { + [1659967865.182009][3334:3334] CHIP:DMG: EndpointId = 0x0, + [1659967865.182045][3334:3334] CHIP:DMG: ClusterId = 0x3e, + [1659967865.182080][3334:3334] CHIP:DMG: CommandId = 0x9, + [1659967865.182113][3334:3334] CHIP:DMG: }, + [1659967865.182141][3334:3334] CHIP:DMG: + [1659967865.182167][3334:3334] CHIP:DMG: CommandFields = + [1659967865.182197][3334:3334] CHIP:DMG: { + [1659967865.182231][3334:3334] CHIP:DMG: 0x0 = "node1" (5 chars), + [1659967865.182263][3334:3334] CHIP:DMG: }, + [1659967865.182291][3334:3334] CHIP:DMG: }, + [1659967865.182324][3334:3334] CHIP:DMG: + [1659967865.182348][3334:3334] CHIP:DMG: ], + [1659967865.182377][3334:3334] CHIP:DMG: + [1659967865.182401][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967865.182424][3334:3334] CHIP:DMG: }, + [1659967865.182488][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=a + [1659967865.182522][3334:3334] CHIP:DMG: AccessControl: allowed + [1659967865.182552][3334:3334] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003E Command=0x0000_0009 + [1659967865.182587][3334:3334] CHIP:ZCL: OpCreds: Received an UpdateFabricLabel command + [1659967865.182805][3334:3334] CHIP:DL: writing settings to file (/tmp/chip_kvs-RDr4XQ) + [1659967865.183865][3334:3334] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs) + [1659967865.183920][3334:3334] CHIP:FP: Metadata for Fabric 0x1 persisted to storage. + [1659967865.183948][3334:3334] CHIP:DMG: Endpoint 0, Cluster 0x0000_003E update version to 39a0c735 disabled: true - label: "DUT reads SupportedFabrics from TH" @@ -1070,11 +1181,31 @@ tests: verification: | ./chip-tool operationalcredentials read supported-fabrics 1 0 - Verify that the DUT reads the SupportedFabrics from TH successfully. + Verify that the DUT reads the SupportedFabrics from TH (all-clusters-app) successfully. - [1655316487.845378][7181:7186] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0002 DataVersion: 3651051950 - [1655316487.845462][7181:7186] CHIP:TOO: SupportedFabrics: 16 - [1655316487.845588][7181:7186] CHIP:EM: Sending Standalone Ack for MessageCounter:78617313 on exchange 56287i + [1659967890.544053][3334:3334] CHIP:IM: Received Read request + [1659967890.544136][3334:3334] CHIP:DMG: ReadRequestMessage = + [1659967890.544164][3334:3334] CHIP:DMG: { + [1659967890.544187][3334:3334] CHIP:DMG: AttributePathIBs = + [1659967890.544221][3334:3334] CHIP:DMG: [ + [1659967890.544241][3334:3334] CHIP:DMG: AttributePathIB = + [1659967890.544270][3334:3334] CHIP:DMG: { + [1659967890.544302][3334:3334] CHIP:DMG: Endpoint = 0x0, + [1659967890.544332][3334:3334] CHIP:DMG: Cluster = 0x3e, + [1659967890.544365][3334:3334] CHIP:DMG: Attribute = 0x0000_0002, + [1659967890.544395][3334:3334] CHIP:DMG: } + [1659967890.544426][3334:3334] CHIP:DMG: + [1659967890.544452][3334:3334] CHIP:DMG: ], + [1659967890.544480][3334:3334] CHIP:DMG: + [1659967890.544507][3334:3334] CHIP:DMG: isFabricFiltered = true, + [1659967890.544532][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967890.544555][3334:3334] CHIP:DMG: }, + [1659967890.544630][3334:3334] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659967890.544728][3334:3334] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1659967890.544761][3334:3334] CHIP:DMG: Cluster 3e, Attribute 2 is dirty + [1659967890.544782][3334:3334] CHIP:DMG: Reading attribute: Cluster=0x0000_003E Endpoint=0 AttributeId=0x0000_0002 (expanded=0) + [1659967890.544811][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=v + [1659967890.544844][3334:3334] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT reads CommissionedFabrics attribute from TH" @@ -1082,11 +1213,31 @@ tests: verification: | ./chip-tool operationalcredentials read commissioned-fabrics 1 0 - Verify that the DUT reads the CommissionedFabrics from TH successfully. + Verify that the DUT reads the CommissionedFabrics from TH (all-clusters-app) successfully. - [1655316495.313955][7187:7192] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0003 DataVersion: 3651051950 - [1655316495.314037][7187:7192] CHIP:TOO: CommissionedFabrics: 1 - [1655316495.314170][7187:7192] CHIP:EM: Sending Standalone Ack for MessageCounter:13722116 on exchange 6110i + [1659967918.458246][3334:3334] CHIP:IM: Received Read request + [1659967918.458324][3334:3334] CHIP:DMG: ReadRequestMessage = + [1659967918.458351][3334:3334] CHIP:DMG: { + [1659967918.458373][3334:3334] CHIP:DMG: AttributePathIBs = + [1659967918.458407][3334:3334] CHIP:DMG: [ + [1659967918.458431][3334:3334] CHIP:DMG: AttributePathIB = + [1659967918.458458][3334:3334] CHIP:DMG: { + [1659967918.458486][3334:3334] CHIP:DMG: Endpoint = 0x0, + [1659967918.458518][3334:3334] CHIP:DMG: Cluster = 0x3e, + [1659967918.458552][3334:3334] CHIP:DMG: Attribute = 0x0000_0003, + [1659967918.458584][3334:3334] CHIP:DMG: } + [1659967918.458614][3334:3334] CHIP:DMG: + [1659967918.458642][3334:3334] CHIP:DMG: ], + [1659967918.458669][3334:3334] CHIP:DMG: + [1659967918.458695][3334:3334] CHIP:DMG: isFabricFiltered = true, + [1659967918.458720][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967918.458743][3334:3334] CHIP:DMG: }, + [1659967918.458816][3334:3334] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659967918.458899][3334:3334] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1659967918.458928][3334:3334] CHIP:DMG: Cluster 3e, Attribute 3 is dirty + [1659967918.458949][3334:3334] CHIP:DMG: Reading attribute: Cluster=0x0000_003E Endpoint=0 AttributeId=0x0000_0003 (expanded=0) + [1659967918.458976][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=v + [1659967918.459009][3334:3334] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT reads TrustedRootCertificates attribute from TH" @@ -1094,10 +1245,31 @@ tests: verification: | ./chip-tool operationalcredentials read trusted-root-certificates 1 0 - Verify that the DUT reads the TrustedRootCertificates from TH successfully. + Verify that the DUT reads the TrustedRootCertificates from TH (all-clusters-app) successfully. - [1655316503.653605][7193:7198] CHIP:TOO: TrustedRootCertificates: 1 entries - [1655316503.653652][7193:7198] CHIP:TOO: [1]: 1530010100240201370324140018260480228127260580254D3A3706241400182407012408013009410482DB6829DFFB76F87C61AE4B18A1DA046222539D9F633684D76E1351BABBB97A53ED21117ACCD40F83874596D293C1605E002523447C0586B8F17221813CB5F9370A3501290118240260300414E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC300514E9EF7AE4B0B01FDB3568AFEE69B0C5D79799D8BC18300B40D7FC04831BFBAD7E0F9BD062203B2AA8CA50938D53A0A76E386B74D3684471BCB5C771D97B2CDEE4BF74934F435B91C282E387D4CA07716A3BF725C3357D3D4318 + [1659967942.659638][3334:3334] CHIP:IM: Received Read request + [1659967942.659730][3334:3334] CHIP:DMG: ReadRequestMessage = + [1659967942.659762][3334:3334] CHIP:DMG: { + [1659967942.659789][3334:3334] CHIP:DMG: AttributePathIBs = + [1659967942.659821][3334:3334] CHIP:DMG: [ + [1659967942.659851][3334:3334] CHIP:DMG: AttributePathIB = + [1659967942.659885][3334:3334] CHIP:DMG: { + [1659967942.659920][3334:3334] CHIP:DMG: Endpoint = 0x0, + [1659967942.659963][3334:3334] CHIP:DMG: Cluster = 0x3e, + [1659967942.660001][3334:3334] CHIP:DMG: Attribute = 0x0000_0004, + [1659967942.660036][3334:3334] CHIP:DMG: } + [1659967942.660070][3334:3334] CHIP:DMG: + [1659967942.660101][3334:3334] CHIP:DMG: ], + [1659967942.660135][3334:3334] CHIP:DMG: + [1659967942.660167][3334:3334] CHIP:DMG: isFabricFiltered = true, + [1659967942.660198][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967942.660226][3334:3334] CHIP:DMG: }, + [1659967942.660315][3334:3334] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659967942.660412][3334:3334] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1659967942.660448][3334:3334] CHIP:DMG: Cluster 3e, Attribute 4 is dirty + [1659967942.660474][3334:3334] CHIP:DMG: Reading attribute: Cluster=0x0000_003E Endpoint=0 AttributeId=0x0000_0004 (expanded=0) + [1659967942.660507][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=v + [1659967942.660546][3334:3334] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT reads CurrentFabricIndex attribute from TH" @@ -1105,11 +1277,31 @@ tests: verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - Verify that the DUT reads the CurrentFabricIndex from TH successfully. + Verify that the DUT reads the CurrentFabricIndex from TH (all-clusters-app) successfully. - [1655316862.478703][7251:7256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3651051950 - [1655316862.478763][7251:7256] CHIP:TOO: CurrentFabricIndex: 1 - [1655316862.478857][7251:7256] CHIP:EM: Sending Standalone Ack for MessageCounter:87254680 on exchange 22379i + [1659967963.094283][3334:3334] CHIP:IM: Received Read request + [1659967963.094362][3334:3334] CHIP:DMG: ReadRequestMessage = + [1659967963.094389][3334:3334] CHIP:DMG: { + [1659967963.094411][3334:3334] CHIP:DMG: AttributePathIBs = + [1659967963.094437][3334:3334] CHIP:DMG: [ + [1659967963.094461][3334:3334] CHIP:DMG: AttributePathIB = + [1659967963.094492][3334:3334] CHIP:DMG: { + [1659967963.094519][3334:3334] CHIP:DMG: Endpoint = 0x0, + [1659967963.094550][3334:3334] CHIP:DMG: Cluster = 0x3e, + [1659967963.094581][3334:3334] CHIP:DMG: Attribute = 0x0000_0005, + [1659967963.094609][3334:3334] CHIP:DMG: } + [1659967963.094636][3334:3334] CHIP:DMG: + [1659967963.094661][3334:3334] CHIP:DMG: ], + [1659967963.094689][3334:3334] CHIP:DMG: + [1659967963.094715][3334:3334] CHIP:DMG: isFabricFiltered = true, + [1659967963.094740][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967963.094762][3334:3334] CHIP:DMG: }, + [1659967963.094837][3334:3334] CHIP:DMG: IM RH moving to [GeneratingReports] + [1659967963.094920][3334:3334] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1659967963.094949][3334:3334] CHIP:DMG: Cluster 3e, Attribute 5 is dirty + [1659967963.094971][3334:3334] CHIP:DMG: Reading attribute: Cluster=0x0000_003E Endpoint=0 AttributeId=0x0000_0005 (expanded=0) + [1659967963.094999][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=v + [1659967963.095031][3334:3334] CHIP:DMG: AccessControl: allowed disabled: true - label: "DUT sends RemoveFabric command to TH" @@ -1117,12 +1309,36 @@ tests: verification: | ./chip-tool operationalcredentials remove-fabric 1 1 0 - Verify that the TH receives RemoveFabric Command + Verify that the TH receives RemoveFabric Command on TH(all-clusters-app) Log - [1655316917.074630][7259:7264] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1655316917.074679][7259:7264] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008 - [1655316917.074741][7259:7264] CHIP:TOO: NOCResponse: { - [1655316917.074779][7259:7264] CHIP:TOO: statusCode: 0 - [1655316917.074805][7259:7264] CHIP:TOO: fabricIndex: 1 - [1655316917.074829][7259:7264] CHIP:TOO: } + [1659967993.178748][3334:3334] CHIP:DMG: InvokeRequestMessage = + [1659967993.178776][3334:3334] CHIP:DMG: { + [1659967993.178799][3334:3334] CHIP:DMG: suppressResponse = false, + [1659967993.178825][3334:3334] CHIP:DMG: timedRequest = false, + [1659967993.178849][3334:3334] CHIP:DMG: InvokeRequests = + [1659967993.178878][3334:3334] CHIP:DMG: [ + [1659967993.178902][3334:3334] CHIP:DMG: CommandDataIB = + [1659967993.178929][3334:3334] CHIP:DMG: { + [1659967993.178954][3334:3334] CHIP:DMG: CommandPathIB = + [1659967993.178990][3334:3334] CHIP:DMG: { + [1659967993.179022][3334:3334] CHIP:DMG: EndpointId = 0x0, + [1659967993.179058][3334:3334] CHIP:DMG: ClusterId = 0x3e, + [1659967993.179093][3334:3334] CHIP:DMG: CommandId = 0xa, + [1659967993.179123][3334:3334] CHIP:DMG: }, + [1659967993.179155][3334:3334] CHIP:DMG: + [1659967993.179183][3334:3334] CHIP:DMG: CommandFields = + [1659967993.179214][3334:3334] CHIP:DMG: { + [1659967993.179245][3334:3334] CHIP:DMG: 0x0 = 1, + [1659967993.179278][3334:3334] CHIP:DMG: }, + [1659967993.179307][3334:3334] CHIP:DMG: }, + [1659967993.179338][3334:3334] CHIP:DMG: + [1659967993.179361][3334:3334] CHIP:DMG: ], + [1659967993.179390][3334:3334] CHIP:DMG: + [1659967993.179414][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967993.179439][3334:3334] CHIP:DMG: }, + [1659967993.179502][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=a + [1659967993.179537][3334:3334] CHIP:DMG: AccessControl: allowed + [1659967993.179565][3334:3334] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003E Command=0x0000_000A + [1659967993.179597][3334:3334] CHIP:ZCL: OpCreds: Received a RemoveFabric Command for FabricIndex 0x1 + [1659967993.179620][3334:3334] CHIP:EM: Sending Standalone Ack for MessageCounter:213803348 on exchange 39998r disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml index e592d7a821b126..391d9df013fae9 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml @@ -330,3 +330,8 @@ tests: verification: | verification step to be updated. disabled: true + + - label: "" + verification: | + verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml index a763133bd0fb89..0a18301fb30716 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml @@ -29,13 +29,38 @@ tests: disabled: true + - label: "Commission DUT to TH (can be skipped if done in a preceding test)" + verification: | + NOTE: + To Run the event test case we need to build event commands on DUT[All-cluster-ap] terminal.Below I mention the commands for how to build for linux arm64 it depends on the DUT what we use.I provided the link for build events. + + https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux#trigger-switch-events + + + + + Here I provide cmmds for build on linux arm64 + + 1. ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build + + 2../scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build + + 3. ./out/linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang/chip-all-clusters-app-fuzzing + + 4. ./out/linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang/chip-all-clusters-app-fuzzing $(INPUT_FILE) + disabled: true + - label: "Set up subscription to SwitchLatched event" PICS: SWTCH.S.F00 verification: | - On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT - echo "{"Name":"SwitchLatched","NewPosition":3}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + In Raspi platform to change the switch position use the below command, Pls use equivalent command on the respective DUT.After provisioning ,open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"SwitchLatched","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) - ./chip-tool switch subscribe-event switch-latched 1 100 1 1 + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event switch-latched 1 100 1 1 Verify inTH Log: @@ -44,14 +69,23 @@ tests: [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687894 [1659527630.476887][4774:4779] CHIP:TOO: SwitchLatched: { - [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 3 + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 1 [1659527630.476969][4774:4779] CHIP:TOO: } disabled: true - label: "Operator sets switch to first position" PICS: SWTCH.S.F00 verification: | - Manual operation + In Raspi platform to change the switch to first position use the below command, Pls use equivalent command on the respective DUT.After provisioning ,open one more terminal on DUT side execute the echo command on that terminal. + + + echo "{"Name":"SwitchLatched","NewPosition":0}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659599702.921797][7312:7312] CHIP:IN: SecureSession[0xaaaacdb77710]: MarkAsDefunct Type:2 LSID:24961 + [1659599703.232994][7312:7321] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":0}" + [1659599703.233543][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 1755409b + [1659599703.233624][7312:7312] CHIP:-: The latching switch is moved to a new position:0 + [1659599703.233682][7312:7312] CHIP:ZCL: SwitchServer: OnSwitchLatch disabled: true - label: "Read CurrentPosition attribute" @@ -59,7 +93,7 @@ tests: verification: | ./chip-tool switch read current-position 1 1 - Verify inTH Log: + Verify current position value inTH(chip-tool) Log: [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 0 @@ -68,7 +102,15 @@ tests: - label: "Operator sets switch to second position" PICS: SWTCH.S.F00 verification: | - Manual operation + In Raspi platform to change the switch to second position use the below sample command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"SwitchLatched","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659600080.279936][7312:7321] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":1}" + [1659600080.280318][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 1755409c + [1659600080.280376][7312:7312] CHIP:-: The latching switch is moved to a new position:1 + [1659600080.280412][7312:7312] CHIP:ZCL: SwitchServer: OnSwitchLatch + [1659600080.280503][7312:7312] CHIP:EVL: LogEvent event number: 0x0000000000020005 priority: 1, endpoint id: 0x1 cluster id: 0x0000_003B event id: 0x0 Sys timestamp: 0x0000000000EB91B3 disabled: true - label: "Read CurrentPosition attribute" @@ -76,7 +118,7 @@ tests: verification: | ./chip-tool switch read current-position 1 1 - Verify inTH Log: + Verify current position value inTH(chip-tool) Log: [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 [1646209289.746228][2617:2622] CHIP:TOO: current position: 1 @@ -87,17 +129,25 @@ tests: switch to next position - Read CurrentPosition attribute" PICS: SWTCH.S.F00 verification: | + Raspi device doesn"t support more than 2 position ,so this step is not verifiable by using raspi device + + In Raspi platform to change the switch to third position use the below sample command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"SwitchLatched","NewPosition":2}" > /tmp/chip_all_clusters_fifo (PID of DUT) + + [1659600438.058928][7312:7321] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":2}" + [1659600438.059436][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 1755409d + [1659600438.059519][7312:7312] CHIP:-: The latching switch is moved to a new position:2 + [1659600438.059644][7312:7312] CHIP:ZCL: SwitchServer: OnSwitchLatch + [1659600438.059857][7312:7312] CHIP:EVL: LogEvent event number: 0x0000000000020006 priority: 1, endpoint id: 0x1 cluster id: 0x0000_003B event id: 0x0 Sys timestamp: 0x0000000000F10746 + + 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 inTH Log: - - Event (content will vary on the device) - [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = - [1646209167.923415][2190:2190] CHIP:DMG: { - [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, - [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 - [1646209167.923583][2190:2190] CHIP:DMG: } - [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + [1659600502.023560][4306:4311] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 391463069 + [1659600502.023631][4306:4311] CHIP:TOO: current position: 2 disabled: true - label: @@ -106,19 +156,47 @@ tests: Read CurrentPosition attribute" PICS: SWTCH.S.F00 verification: | - verification step to be updated. + Raspi device doesn"t support more than 2 position ,so this step is not verifiable by using raspi device + + + In Raspi platform to change the switch to third position use the below sample command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"SwitchLatched","NewPosition":3" > /tmp/chip_all_clusters_fifo (PID of DUT) + + [1659600438.058928][7312:7321] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":3}" + [1659600438.059436][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 1755409d + [1659600438.059519][7312:7312] CHIP:-: The latching switch is moved to a new position:3 + [1659600438.059644][7312:7312] CHIP:ZCL: SwitchServer: OnSwitchLatch + [1659600438.059857][7312:7312] CHIP:EVL: LogEvent event number: 0x0000000000020006 priority: 1, endpoint id: 0x1 cluster id: 0x0000_003B event id: 0x0 Sys timestamp: 0x0000000000F10746 + + 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 inTH Log: + [1659600502.023560][4306:4311] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 391463069 + [1659600502.023631][4306:4311] CHIP:TOO: current position: 3 disabled: true - label: "Operator returns switch to first position" PICS: SWTCH.S.F00 verification: | - Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + In Raspi platform to change the switch to first position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"SwitchLatched","NewPosition":0}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659599702.921797][7312:7312] CHIP:IN: SecureSession[0xaaaacdb77710]: MarkAsDefunct Type:2 LSID:24961 + [1659599703.232994][7312:7321] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":0}" + [1659599703.233543][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 1755409b + [1659599703.233624][7312:7312] CHIP:-: The latching switch is moved to a new position:0 + [1659599703.233682][7312:7312] CHIP:ZCL: SwitchServer: OnSwitchLatch disabled: true - label: "Read CurrentPosition attribute" PICS: SWTCH.S.F00 verification: | ./chip-tool switch read current-position 1 1 + Verify inTH Log: [1646209289.746157][2617:2622] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001DataVersion: 1206711661 @@ -128,17 +206,29 @@ tests: - label: "Set up subscription to InitialPress event" PICS: SWTCH.S.F01 verification: | - ./chip-tool switch subscribe-event initial-press 1 100 1 1 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659612230.311864][7312:7321] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659612230.312345][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 175540a4 + [1659612230.312422][7312:7312] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659612230.312472][7312:7312] CHIP:ZCL: SwitchServer: OnInitialPress + + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 Verify inTH Log: - [1646209546.313236][2641:2646] CHIP:DMG: SubscribeResponseMessage = - [1646209546.313263][2641:2646] CHIP:DMG: { - [1646209546.313285][2641:2646] CHIP:DMG: SubscriptionId = 0x463c015025bd6b74, - [1646209546.313314][2641:2646] CHIP:DMG: MinIntervalFloorSeconds = 0x1, - [1646209546.313342][2641:2646] CHIP:DMG: MaxIntervalCeilingSeconds = 0x2, - [1646209546.313367][2641:2646] CHIP:DMG: InteractionModelRevision = 1 - [1646209546.313389][2641:2646] CHIP:DMG: } - [1646209546.313421][2641:2646] CHIP:DMG: MoveToState ReadClient[0xffff700030b0]: Moving to [Subscripti] + [1659612272.121119][4957:4962] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659612272.121143][4957:4962] CHIP:TOO: Event number: 131085 + [1659612272.121164][4957:4962] CHIP:TOO: Priority: Info + [1659612272.121186][4957:4962] CHIP:TOO: Timestamp: 27588291 + [1659612272.121313][4957:4962] CHIP:TOO: InitialPress: { + [1659612272.121347][4957:4962] CHIP:TOO: NewPosition: 1 + [1659612272.121369][4957:4962] CHIP:TOO: } disabled: true - label: "Operator does not operate switch" @@ -161,7 +251,16 @@ tests: - label: "Operator operates switch (keep it pressed)" PICS: SWTCH.S.F01 verification: | - receive event + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + + [1659612460.072098][7312:7321] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659612460.072562][7312:7312] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 175540a5 + [1659612460.072646][7312:7312] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659612460.072706][7312:7312] CHIP:ZCL: SwitchServer: OnInitialPress + [1659612460.073008][7312:7312] CHIP:EVL: Copy Event to next buffer with priority 1 disabled: true - label: "Read CurrentPosition attribute" @@ -177,7 +276,14 @@ tests: - label: "Operator does not operate switch (release switch)" PICS: SWTCH.S.F01 verification: | - no Matter messages + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659685803.709724][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659685803.710214][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7719 + [1659685803.710304][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659685803.710357][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease disabled: true - label: "Read CurrentPosition attribute" @@ -193,9 +299,23 @@ tests: - label: "Set up subscription to InitialPress and ShortRelease events" PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | - ./chip-tool switch subscribe-event initial-press 1 100 1 1 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. - ./chip-tool switch subscribe-event short-release 1 100 1 1 + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659686596.526276][2530:2538] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659686596.526734][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e771a + [1659686596.526820][2530:2530] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659686596.526881][2530:2530] CHIP:ZCL: SwitchServer: OnInitialPress + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659686852.011134][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659686852.011424][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e771b + [1659686852.011466][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659686852.011490][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease disabled: true - label: "Operator does not operate switch" @@ -207,26 +327,88 @@ tests: - label: "Operator operates switch (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | - Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 + + [1659686631.947247][3045:3050] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659686631.947272][3045:3050] CHIP:TOO: Event number: 23 + [1659686631.947296][3045:3050] CHIP:TOO: Priority: Info + [1659686631.947320][3045:3050] CHIP:TOO: Timestamp: 9048822 + [1659686631.947348][3045:3050] CHIP:TOO: InitialPress: { + [1659686631.947374][3045:3050] CHIP:TOO: NewPosition: 1 + [1659686631.947397][3045:3050] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | - Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659686907.770389][3061:3066] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659686907.770413][3061:3066] CHIP:TOO: Event number: 24 + [1659686907.770434][3061:3066] CHIP:TOO: Priority: Info + [1659686907.770456][3061:3066] CHIP:TOO: Timestamp: 9304307 + [1659686907.770482][3061:3066] CHIP:TOO: ShortRelease: { + [1659686907.770506][3061:3066] CHIP:TOO: PreviousPosition: 1 + [1659686907.770528][3061:3066] CHIP:TOO: } disabled: true - label: "Operator operates switch (keep pressed for long time, e.g. 5 seconds)" PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | - Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo_2530 + + [1659686596.526276][2530:2538] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659686596.526734][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e771a + [1659686596.526820][2530:2530] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659686596.526881][2530:2530] CHIP:ZCL: SwitchServer: OnInitialPress + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 + + [1659692069.006090][3668:3674] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659692069.006114][3668:3674] CHIP:TOO: Event number: 26 + [1659692069.006138][3668:3674] CHIP:TOO: Priority: Info + [1659692069.006160][3668:3674] CHIP:TOO: Timestamp: 14513708 + [1659692069.006187][3668:3674] CHIP:TOO: InitialPress: { + [1659692069.006211][3668:3674] CHIP:TOO: NewPosition: 1 + [1659692069.006233][3668:3674] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F02 && !SWTCH.S.F03 verification: | - Event (content will vary on the device) [1646209167.923346][2190:2190] CHIP:DMG: StatusResponseMessage = [1646209167.923415][2190:2190] CHIP:DMG: { [1646209167.923472][2190:2190] CHIP:DMG: Status = 0x0, [1646209167.923533][2190:2190] CHIP:DMG: InteractionModelRevision = 1 [1646209167.923583][2190:2190] CHIP:DMG: } [1646209167.923640][2190:2190] CHIP:IM: Received status response, status is 0 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659686852.011134][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659686852.011424][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e771b + [1659686852.011466][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659686852.011490][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659692123.069593][3675:3680] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659692123.069616][3675:3680] CHIP:TOO: Event number: 27 + [1659692123.069639][3675:3680] CHIP:TOO: Priority: Info + [1659692123.069660][3675:3680] CHIP:TOO: Timestamp: 14562409 + [1659692123.069687][3675:3680] CHIP:TOO: ShortRelease: { + [1659692123.069711][3675:3680] CHIP:TOO: PreviousPosition: 1 + [1659692123.069734][3675:3680] CHIP:TOO: } disabled: true - label: @@ -234,129 +416,41 @@ tests: LongRelease events" PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - Verify inTH Log: + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659693098.031462][2530:2538] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659693098.031812][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7724 + [1659693098.031859][2530:2530] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659693098.031888][2530:2530] CHIP:ZCL: SwitchServer: OnInitialPress + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"LongPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + 1659693130.924755][2530:2538] CHIP:-: Received payload: "{"Name":"LongPress","NewPosition":1}" + [1659693130.925030][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7725 + [1659693130.925064][2530:2530] CHIP:-: The new position when the momentary switch has been pressed for a long time:1 + [1659693130.925313][2530:2530] CHIP:ZCL: SwitchServer: OnLongPress - ./chip-tool switch subscribe-event initial-press 1 100 1 1 - - ./chip-tool switch subscribe-event short-release 1 100 1 1 - - [1655272080.983330][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.983357][2922:2927] CHIP:TOO: Event number: 2 - [1655272080.983380][2922:2927] CHIP:TOO: Priority: Info - [1655272080.983402][2922:2927] CHIP:TOO: Timestamp: 1137653 - [1655272080.983506][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.984432][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.984461][2922:2927] CHIP:TOO: } - [1655272080.984555][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.984580][2922:2927] CHIP:TOO: Event number: 3 - [1655272080.984602][2922:2927] CHIP:TOO: Priority: Info - [1655272080.984624][2922:2927] CHIP:TOO: Timestamp: 1137671 - [1655272080.984651][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.984676][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.984699][2922:2927] CHIP:TOO: } - [1655272080.984785][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.984808][2922:2927] CHIP:TOO: Event number: 4 - [1655272080.984831][2922:2927] CHIP:TOO: Priority: Info - [1655272080.984852][2922:2927] CHIP:TOO: Timestamp: 1137689 - [1655272080.984879][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.984903][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.984926][2922:2927] CHIP:TOO: } - [1655272080.985009][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.985033][2922:2927] CHIP:TOO: Event number: 5 - [1655272080.985055][2922:2927] CHIP:TOO: Priority: Info - [1655272080.985076][2922:2927] CHIP:TOO: Timestamp: 1137711 - [1655272080.985103][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.985127][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.985150][2922:2927] CHIP:TOO: } - [1655272080.985233][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.985257][2922:2927] CHIP:TOO: Event number: 6 - [1655272080.985279][2922:2927] CHIP:TOO: Priority: Info - [1655272080.985300][2922:2927] CHIP:TOO: Timestamp: 1137723 - [1655272080.985327][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.985352][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.985374][2922:2927] CHIP:TOO: } - [1655272080.985459][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.985482][2922:2927] CHIP:TOO: Event number: 7 - [1655272080.985504][2922:2927] CHIP:TOO: Priority: Info - [1655272080.985526][2922:2927] CHIP:TOO: Timestamp: 1137739 - [1655272080.985552][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.985576][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.985599][2922:2927] CHIP:TOO: } - [1655272080.985681][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.985704][2922:2927] CHIP:TOO: Event number: 8 - [1655272080.985726][2922:2927] CHIP:TOO: Priority: Info - [1655272080.985748][2922:2927] CHIP:TOO: Timestamp: 1137753 - [1655272080.985774][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.985798][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.985821][2922:2927] CHIP:TOO: } - [1655272080.985907][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.985931][2922:2927] CHIP:TOO: Event number: 9 - [1655272080.985953][2922:2927] CHIP:TOO: Priority: Info - [1655272080.985974][2922:2927] CHIP:TOO: Timestamp: 1137773 - [1655272080.986001][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.986025][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.986047][2922:2927] CHIP:TOO: } - [1655272080.986134][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.986158][2922:2927] CHIP:TOO: Event number: 10 - [1655272080.986180][2922:2927] CHIP:TOO: Priority: Info - [1655272080.986202][2922:2927] CHIP:TOO: Timestamp: 1137785 - [1655272080.986228][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.986252][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.986274][2922:2927] CHIP:TOO: } - [1655272080.986361][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.986385][2922:2927] CHIP:TOO: Event number: 11 - [1655272080.986407][2922:2927] CHIP:TOO: Priority: Info - [1655272080.986429][2922:2927] CHIP:TOO: Timestamp: 1137801 - [1655272080.986455][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.986479][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.986502][2922:2927] CHIP:TOO: } - [1655272080.986588][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.986612][2922:2927] CHIP:TOO: Event number: 12 - [1655272080.986634][2922:2927] CHIP:TOO: Priority: Info - [1655272080.986655][2922:2927] CHIP:TOO: Timestamp: 1137816 - [1655272080.986682][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.986705][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.986728][2922:2927] CHIP:TOO: } - [1655272080.986813][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.986836][2922:2927] CHIP:TOO: Event number: 13 - [1655272080.986858][2922:2927] CHIP:TOO: Priority: Info - [1655272080.986895][2922:2927] CHIP:TOO: Timestamp: 1137858 - [1655272080.986923][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.986948][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.986970][2922:2927] CHIP:TOO: } - [1655272080.987056][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.987080][2922:2927] CHIP:TOO: Event number: 14 - [1655272080.987102][2922:2927] CHIP:TOO: Priority: Info - [1655272080.987123][2922:2927] CHIP:TOO: Timestamp: 1137896 - [1655272080.987150][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.987174][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.987196][2922:2927] CHIP:TOO: } - [1655272080.987280][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.987304][2922:2927] CHIP:TOO: Event number: 15 - [1655272080.987326][2922:2927] CHIP:TOO: Priority: Info - [1655272080.987347][2922:2927] CHIP:TOO: Timestamp: 1137899 - [1655272080.987374][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.987398][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.987421][2922:2927] CHIP:TOO: } - [1655272080.987503][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.987526][2922:2927] CHIP:TOO: Event number: 16 - [1655272080.987548][2922:2927] CHIP:TOO: Priority: Info - [1655272080.987570][2922:2927] CHIP:TOO: Timestamp: 1137916 - [1655272080.987597][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.987621][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.987644][2922:2927] CHIP:TOO: } - [1655272080.987729][2922:2927] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 - [1655272080.987752][2922:2927] CHIP:TOO: Event number: 17 - [1655272080.987774][2922:2927] CHIP:TOO: Priority: Info - [1655272080.987796][2922:2927] CHIP:TOO: Timestamp: 1137949 - [1655272080.987822][2922:2927] CHIP:TOO: ShortRelease: { - [1655272080.987846][2922:2927] CHIP:TOO: PreviousPosition: 10 - [1655272080.987869][2922:2927] CHIP:TOO: } - - - ./chip-tool switch subscribe-event long-press 1 100 1 1 - - ./chip-tool switch subscribe-event long-release 1 100 1 1 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659693174.708920][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659693174.709388][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7726 + [1659693174.709479][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659693174.709539][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT + + echo "{"Name":"LongRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659693203.272969][2530:2538] CHIP:-: Received payload: "{"Name":"LongPress","NewPosition":1}" + [1659693203.273235][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7727 + [1659693203.273276][2530:2530] CHIP:-: The new position when the momentary switch has been pressed for a long time:1 + [1659693203.273300][2530:2530] CHIP:ZCL: SwitchServer: OnLongPress disabled: true - label: "Operator does not operate switch" @@ -368,26 +462,83 @@ tests: - label: "Operator operates switch (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 + + [1659692507.869323][3696:3701] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659692507.869342][3696:3701] CHIP:TOO: Event number: 28 + [1659692507.869361][3696:3701] CHIP:TOO: Priority: Info + [1659692507.869379][3696:3701] CHIP:TOO: Timestamp: 14905717 + [1659692507.869402][3696:3701] CHIP:TOO: InitialPress: { + [1659692507.869421][3696:3701] CHIP:TOO: NewPosition: 1 + [1659692507.869440][3696:3701] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659692890.665344][3721:3726] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659692890.665369][3721:3726] CHIP:TOO: Event number: 31 + [1659692890.665392][3721:3726] CHIP:TOO: Priority: Info + [1659692890.665416][3721:3726] CHIP:TOO: Timestamp: 15332747 + [1659692890.665444][3721:3726] CHIP:TOO: ShortRelease: { + [1659692890.665470][3721:3726] CHIP:TOO: PreviousPosition: 1 + [1659692890.665494][3721:3726] CHIP:TOO: } disabled: true - label: "Operator operates switch (keep pressed for long time, e.g. 5 seconds)" PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 + + [1659692507.869323][3696:3701] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659692507.869342][3696:3701] CHIP:TOO: Event number: 28 + [1659692507.869361][3696:3701] CHIP:TOO: Priority: Info + [1659692507.869379][3696:3701] CHIP:TOO: Timestamp: 14905717 + [1659692507.869402][3696:3701] CHIP:TOO: InitialPress: { + [1659692507.869421][3696:3701] CHIP:TOO: NewPosition: 1 + [1659692507.869440][3696:3701] CHIP:TOO: } + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-Press 1 100 1 1 + + [1659692638.993482][3706:3712] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0002 + [1659692638.993504][3706:3712] CHIP:TOO: Event number: 30 + [1659692638.993525][3706:3712] CHIP:TOO: Priority: Info + [1659692638.993545][3706:3712] CHIP:TOO: Timestamp: 15084506 + [1659692638.993571][3706:3712] CHIP:TOO: LongPress: { + [1659692638.993593][3706:3712] CHIP:TOO: NewPosition: 1 + [1659692638.993615][3706:3712] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F03 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-release 1 100 1 1 + + [1659693001.739969][3732:3737] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0004 + [1659693001.740012][3732:3737] CHIP:TOO: Event number: 32 + [1659693001.740049][3732:3737] CHIP:TOO: Priority: Info + [1659693001.740087][3732:3737] CHIP:TOO: Timestamp: 15438774 + [1659693001.740134][3732:3737] CHIP:TOO: LongRelease: { + [1659693001.740174][3732:3737] CHIP:TOO: PreviousPosition: 1 + [1659693001.740212][3732:3737] CHIP:TOO: } disabled: true - label: @@ -395,13 +546,43 @@ tests: MultiPressComplete events" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - ./chip-tool switch subscribe-event initial-press 1 100 1 1 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659693098.031462][2530:2538] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659693098.031812][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7724 + [1659693098.031859][2530:2530] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659693098.031888][2530:2530] CHIP:ZCL: SwitchServer: OnInitialPress + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659694387.719620][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659694387.720095][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7729 + [1659694387.720237][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659694387.720304][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. - ./chip-tool switch subscribe-event short-release 1 100 1 1 + echo "{"Name":"MultiPressComplete","PreviousPosition":1,"TotalNumberOfPressesCounted":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) - ./chip-tool switch subscribe-event multi-press-ongoing 1 100 1 1 + [1659694592.347850][2530:2538] CHIP:-: Received payload: "{"Name":"MultiPressComplete","PreviousPosition":1,"TotalNumberOfPressesCounted":1}" + [1659694592.348389][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e772b + [1659694592.348481][2530:2530] CHIP:-: The new position when the momentary switch has been pressed in a multi-press sequence:1 - ./chip-tool switch subscribe-event multi-press-complete 1 100 1 1 + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"MultiPressOngoing","NewPosition":1,"CurrentNumberOfPressesCounted":2}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659695302.038797][2530:2538] CHIP:-: Received payload: "{"Name":"MultiPressOngoing","NewPosition":1,"CurrentNumberOfPressesCounted":2}" + [1659695302.039933][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7730 + [1659695302.040020][2530:2530] CHIP:-: The new position when the momentary switch has been pressed in a multi-press sequence:1 + [1659695302.040078][2530:2530] CHIP:-: 2 times the momentary switch has been pressed + [1659695302.040131][2530:2530] CHIP:ZCL: SwitchServer: OnMultiPressOngoing + [1659694592.348541][2530:2530] CHIP:-: 1 times the momentary switch has been pressed + [1659694592.348585][2530:2530] CHIP:ZCL: SwitchServer: OnMultiPressOngoing disabled: true - label: "Operator does not operate switch" @@ -413,37 +594,147 @@ tests: - label: "Operator operates switch (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-Press 1 100 1 1 + + [1659694345.040034][3787:3792] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659694345.040059][3787:3792] CHIP:TOO: Event number: 37 + [1659694345.040083][3787:3792] CHIP:TOO: Priority: Info + [1659694345.040106][3787:3792] CHIP:TOO: Timestamp: 16729153 + [1659694345.040135][3787:3792] CHIP:TOO: InitialPress: { + [1659694345.040160][3787:3792] CHIP:TOO: NewPosition: 1 disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659694426.794832][3797:3802] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659694426.794853][3797:3802] CHIP:TOO: Event number: 38 + [1659694426.794873][3797:3802] CHIP:TOO: Priority: Info + [1659694426.794891][3797:3802] CHIP:TOO: Timestamp: 16840016 + [1659694426.794914][3797:3802] CHIP:TOO: ShortRelease: { + [1659694426.794934][3797:3802] CHIP:TOO: PreviousPosition: 1 + [1659694426.794952][3797:3802] CHIP:TOO: } + + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-complete 1 100 1 1 + + + [1659695330.923244][3912:3918] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659695330.923264][3912:3918] CHIP:TOO: Event number: 45 + [1659695330.923283][3912:3918] CHIP:TOO: Priority: Info + [1659695330.923302][3912:3918] CHIP:TOO: Timestamp: 17754336 + [1659695330.923326][3912:3918] CHIP:TOO: MultiPressComplete: { + [1659695330.923346][3912:3918] CHIP:TOO: PrevioiusPosition: 1 + [1659695330.923366][3912:3918] CHIP:TOO: TotalNumberOfPressesCounted: 1 + [1659695330.923385][3912:3918] CHIP:TOO: } disabled: true - label: "Operator operates switch (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659695901.066563][3955:3960] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659695901.066583][3955:3960] CHIP:TOO: Event number: 46 + [1659695901.066602][3955:3960] CHIP:TOO: Priority: Info + [1659695901.066643][3955:3960] CHIP:TOO: Timestamp: 18095747 + [1659695901.066669][3955:3960] CHIP:TOO: InitialPress: { + [1659695901.066689][3955:3960] CHIP:TOO: NewPosition: 1 + [1659695901.066708][3955:3960] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659694426.794832][3797:3802] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659694426.794853][3797:3802] CHIP:TOO: Event number: 38 + [1659694426.794873][3797:3802] CHIP:TOO: Priority: Info + [1659694426.794891][3797:3802] CHIP:TOO: Timestamp: 16840016 + [1659694426.794914][3797:3802] CHIP:TOO: ShortRelease: { + [1659694426.794934][3797:3802] CHIP:TOO: PreviousPosition: 1 + [1659694426.794952][3797:3802] CHIP:TOO: } disabled: true - label: "Briefly after 6f, operator operates switch again (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659694345.040034][3787:3792] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659694345.040059][3787:3792] CHIP:TOO: Event number: 37 + [1659694345.040083][3787:3792] CHIP:TOO: Priority: Info + [1659694345.040106][3787:3792] CHIP:TOO: Timestamp: 16729153 + [1659694345.040135][3787:3792] CHIP:TOO: InitialPress: { + [1659694345.040160][3787:3792] CHIP:TOO: NewPosition: 1 + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-ongoing 1 100 1 1 + + + [1659695330.923244][3912:3918] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659695330.923264][3912:3918] CHIP:TOO: Event number: 45 + [1659695330.923283][3912:3918] CHIP:TOO: Priority: Info + [1659695330.923302][3912:3918] CHIP:TOO: Timestamp: 17754336 + [1659695330.923326][3912:3918] CHIP:TOO: MultiPressOngoing: { + [1659695330.923346][3912:3918] CHIP:TOO: NewPosition: 1 + [1659695330.923366][3912:3918] CHIP:TOO: CurrentNumberOfPressesCounted: 2 + [1659695330.923385][3912:3918] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659696223.568247][3981:3986] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659696223.568272][3981:3986] CHIP:TOO: Event number: 53 + [1659696223.568296][3981:3986] CHIP:TOO: Priority: Info + [1659696223.568319][3981:3986] CHIP:TOO: Timestamp: 18666186 + [1659696223.568348][3981:3986] CHIP:TOO: ShortRelease: { + [1659696223.568373][3981:3986] CHIP:TOO: PreviousPosition: 1 + [1659696223.568397][3981:3986] CHIP:TOO: } + + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-complete 1 100 1 1 + + [1659695330.923244][3912:3918] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659695330.923264][3912:3918] CHIP:TOO: Event number: 45 + [1659695330.923283][3912:3918] CHIP:TOO: Priority: Info + [1659695330.923302][3912:3918] CHIP:TOO: Timestamp: 17754336 + [1659695330.923326][3912:3918] CHIP:TOO: MultiPressComplete: { + [1659695330.923346][3912:3918] CHIP:TOO: PrevioiusPosition: 1 + [1659695330.923366][3912:3918] CHIP:TOO: TotalNumberOfPressesCounted: 2 + [1659695330.923385][3912:3918] CHIP:TOO: } disabled: true - label: @@ -456,35 +747,148 @@ tests: - label: "Operator operates switch (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659695901.066563][3955:3960] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659695901.066583][3955:3960] CHIP:TOO: Event number: 46 + [1659695901.066602][3955:3960] CHIP:TOO: Priority: Info + [1659695901.066643][3955:3960] CHIP:TOO: Timestamp: 18095747 + [1659695901.066669][3955:3960] CHIP:TOO: InitialPress: { + [1659695901.066689][3955:3960] CHIP:TOO: NewPosition: 1 + [1659695901.066708][3955:3960] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659694426.794832][3797:3802] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659694426.794853][3797:3802] CHIP:TOO: Event number: 38 + [1659694426.794873][3797:3802] CHIP:TOO: Priority: Info + [1659694426.794891][3797:3802] CHIP:TOO: Timestamp: 16840016 + [1659694426.794914][3797:3802] CHIP:TOO: ShortRelease: { + [1659694426.794934][3797:3802] CHIP:TOO: PreviousPosition: 1 + [1659694426.794952][3797:3802] CHIP:TOO: } disabled: true - label: "Briefly after 6k, operator operates switch again (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659694345.040034][3787:3792] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659694345.040059][3787:3792] CHIP:TOO: Event number: 37 + [1659694345.040083][3787:3792] CHIP:TOO: Priority: Info + [1659694345.040106][3787:3792] CHIP:TOO: Timestamp: 16729153 + [1659694345.040135][3787:3792] CHIP:TOO: InitialPress: { + [1659694345.040160][3787:3792] CHIP:TOO: NewPosition: 1 + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-ongoing 1 100 1 1 + + [1659695330.923244][3912:3918] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659695330.923264][3912:3918] CHIP:TOO: Event number: 45 + [1659695330.923283][3912:3918] CHIP:TOO: Priority: Info + [1659695330.923302][3912:3918] CHIP:TOO: Timestamp: 17754336 + [1659695330.923326][3912:3918] CHIP:TOO: MultiPressOngoing: { + [1659695330.923346][3912:3918] CHIP:TOO: NewPosition: 1 + [1659695330.923366][3912:3918] CHIP:TOO: CurrentNumberOfPressesCounted: 2 + [1659695330.923385][3912:3918] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive event + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + + [1659694426.794832][3797:3802] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659694426.794853][3797:3802] CHIP:TOO: Event number: 38 + [1659694426.794873][3797:3802] CHIP:TOO: Priority: Info + [1659694426.794891][3797:3802] CHIP:TOO: Timestamp: 16840016 + [1659694426.794914][3797:3802] CHIP:TOO: ShortRelease: { + [1659694426.794934][3797:3802] CHIP:TOO: PreviousPosition: 1 + [1659694426.794952][3797:3802] CHIP:TOO: } disabled: true - label: "Briefly after 6m, operator operates switch again (press briefly)" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659694345.040034][3787:3792] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659694345.040059][3787:3792] CHIP:TOO: Event number: 37 + [1659694345.040083][3787:3792] CHIP:TOO: Priority: Info + [1659694345.040106][3787:3792] CHIP:TOO: Timestamp: 16729153 + [1659694345.040135][3787:3792] CHIP:TOO: InitialPress: { + [1659694345.040160][3787:3792] CHIP:TOO: NewPosition: 1 + + In Raspi platform to change the switch to second position use the below command, Pls use equivalent command on the respective DUT.open one more terminal on DUT side execute the echo command on that terminal. + + echo "{"Name":"MultiPressOngoing","NewPosition":1,"CurrentNumberOfPressesCounted":3}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-ongoing 1 100 1 1 + + [1659698336.786184][4081:4086] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659698336.786209][4081:4086] CHIP:TOO: Event number: 57 + [1659698336.786233][4081:4086] CHIP:TOO: Priority: Info + [1659698336.786256][4081:4086] CHIP:TOO: Timestamp: 20718400 + [1659698336.786287][4081:4086] CHIP:TOO: MultiPressOngoing: { + [1659698336.786312][4081:4086] CHIP:TOO: NewPosition: 1 + [1659698336.786337][4081:4086] CHIP:TOO: CurrentNumberOfPressesCounted: 3 + [1659698336.786360][4081:4086] CHIP:TOO: } disabled: true - label: "Operator releases switch" PICS: SWTCH.S.F01 && SWTCH.S.F04 verification: | - receive 2 events + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659696223.568247][3981:3986] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659696223.568272][3981:3986] CHIP:TOO: Event number: 53 + [1659696223.568296][3981:3986] CHIP:TOO: Priority: Info + [1659696223.568319][3981:3986] CHIP:TOO: Timestamp: 18666186 + [1659696223.568348][3981:3986] CHIP:TOO: ShortRelease: { + [1659696223.568373][3981:3986] CHIP:TOO: PreviousPosition: 1 + [1659696223.568397][3981:3986] CHIP:TOO: } + + + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event multi-press-complete 1 100 1 1 + + [1659695330.923244][3912:3918] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0005 + [1659695330.923264][3912:3918] CHIP:TOO: Event number: 45 + [1659695330.923283][3912:3918] CHIP:TOO: Priority: Info + [1659695330.923302][3912:3918] CHIP:TOO: Timestamp: 17754336 + [1659695330.923326][3912:3918] CHIP:TOO: MultiPressComplete: { + [1659695330.923346][3912:3918] CHIP:TOO: PrevioiusPosition: 1 + [1659695330.923366][3912:3918] CHIP:TOO: TotalNumberOfPressesCounted: 3 + [1659695330.923385][3912:3918] CHIP:TOO: } disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml index 9269c6463da063..fb54dddd4cac1b 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_1.yaml @@ -28,16 +28,19 @@ config: endpoint: 0 tests: + - label: "Note" + verification: | + For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + - label: "DUT reads all supported mandatory attributes from TH one at a time in a manufacturer specific order" verification: | - verify on Reference app receives the right response for the data sent in the above commands - - Verify in TH all-clusters-app log - ./chip-tool switch read number-of-positions 1 1 + verify on TH all-cluster-app number-of-positions attribute receives the right ReadRequest for the data sent in the above command: + [1650539419.579618][3678:3678] CHIP:IM: Received Read request [1650539419.579683][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539419.579718][3678:3678] CHIP:DMG: { @@ -58,7 +61,7 @@ tests: ./chip-tool switch read current-position 1 1 - Verify in TH all-clusters-app log + verify on TH all-cluster-app current-position attribute receives the right ReadRequest for the data sent in the above command: [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539484.199188][3678:3678] CHIP:DMG: { @@ -86,7 +89,7 @@ tests: ./chip-tool switch read multi-press-max 1 1 - Verify in TH all-clusters-app log + verify on TH all-cluster-app multi-press-max attribute receives the right ReadRequest for the data sent in the above command: [1646209889.768919][2190:2190] CHIP:DMG: ReadRequestMessage = [1646209889.768984][2190:2190] CHIP:DMG: { @@ -111,14 +114,14 @@ tests: "DUT writes a suitable value to all supported mandatory attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true - label: @@ -127,34 +130,57 @@ tests: also reflects this in global attributes such as FeatureMap and AttributeList. Commission DUT to TH again" verification: | - verify on Reference app receives the right response for the data sent in the above - ./chip-tool switch read feature-map 1 1 - Verify in TH all-clusters-app log - - [1656477949231] [49485:5731390] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFC DataVersion: 2281340739 - [1656477949232] [49485:5731390] CHIP: [TOO] FeatureMap: 1 + verify on TH all-clusters-minimal-app feature-map attribute receives the right ReadRequest for the data sent in the above command + + [1659597205.359182][2409:2409] CHIP:IM: Received Read request + [1659597205.359281][2409:2409] CHIP:DMG: ReadRequestMessage = + [1659597205.359315][2409:2409] CHIP:DMG: { + [1659597205.359344][2409:2409] CHIP:DMG: AttributePathIBs = + [1659597205.359378][2409:2409] CHIP:DMG: [ + [1659597205.359409][2409:2409] CHIP:DMG: AttributePathIB = + [1659597205.359447][2409:2409] CHIP:DMG: { + [1659597205.359487][2409:2409] CHIP:DMG: Endpoint = 0x1, + [1659597205.359530][2409:2409] CHIP:DMG: Cluster = 0x3b, + [1659597205.359572][2409:2409] CHIP:DMG: Attribute = 0x0000_FFFC, + [1659597205.359615][2409:2409] CHIP:DMG: } + [1659597205.359654][2409:2409] CHIP:DMG: + [1659597205.359689][2409:2409] CHIP:DMG: ], + [1659597205.359726][2409:2409] CHIP:DMG: + [1659597205.359760][2409:2409] CHIP:DMG: isFabricFiltered = true, + [1659597205.359792][2409:2409] CHIP:DMG: InteractionModelRevision = 1 + [1659597205.359822][2409:2409] CHIP:DMG: }, + [1659597205.359912][2409:2409] CHIP:DMG: IM RH moving to [GeneratingReports]1 ./chip-tool switch read attribute-list 1 1 - Verify in TH all-clusters-app log - - [1656477995952] [49490:5731598] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFB DataVersion: 2281340739 - [1656477995952] [49490:5731598] CHIP: [TOO] AttributeList: 7 entries - [1656477995952] [49490:5731598] CHIP: [TOO] [1]: 0 - [1656477995952] [49490:5731598] CHIP: [TOO] [2]: 1 - [1656477995952] [49490:5731598] CHIP: [TOO] [3]: 65528 - [1656477995952] [49490:5731598] CHIP: [TOO] [4]: 65529 - [1656477995952] [49490:5731598] CHIP: [TOO] [5]: 65531 - [1656477995952] [49490:5731598] CHIP: [TOO] [6]: 65532 - [1656477995952] [49490:5731598] CHIP: [TOO] [7]: 65533 + verify on TH all-clusters-minimal-app attribute-list receives the right ReadRequest for the data sent in the above command + + [1659597229.124241][2409:2409] CHIP:IM: Received Read request + [1659597229.124312][2409:2409] CHIP:DMG: ReadRequestMessage = + [1659597229.124335][2409:2409] CHIP:DMG: { + [1659597229.124353][2409:2409] CHIP:DMG: AttributePathIBs = + [1659597229.124376][2409:2409] CHIP:DMG: [ + [1659597229.124396][2409:2409] CHIP:DMG: AttributePathIB = + [1659597229.124428][2409:2409] CHIP:DMG: { + [1659597229.124455][2409:2409] CHIP:DMG: Endpoint = 0x1, + [1659597229.124484][2409:2409] CHIP:DMG: Cluster = 0x3b, + [1659597229.124512][2409:2409] CHIP:DMG: Attribute = 0x0000_FFFB, + [1659597229.124538][2409:2409] CHIP:DMG: } + [1659597229.124564][2409:2409] CHIP:DMG: + [1659597229.124588][2409:2409] CHIP:DMG: ], + [1659597229.124612][2409:2409] CHIP:DMG: + [1659597229.124635][2409:2409] CHIP:DMG: isFabricFiltered = true, + [1659597229.124656][2409:2409] CHIP:DMG: InteractionModelRevision = 1 + [1659597229.124676][2409:2409] CHIP:DMG: }, + [1659597229.124740][2409:2409] CHIP:DMG: IM RH moving to [GeneratingReports ./chip-tool switch read number-of-positions 1 1 - Verify in TH all-clusters-app log + verify on TH all-clusters-minimal-app number-of-positions attribute receives the right ReadRequest for the data sent in the above command [1650539419.579618][3678:3678] CHIP:IM: Received Read request [1650539419.579683][3678:3678] CHIP:DMG: ReadRequestMessage = @@ -176,7 +202,7 @@ tests: ./chip-tool switch read current-position 1 1 - Verify in TH all-clusters-app log + verify on TH all-clusters-minimal-app current-position attribute receives the right ReadRequest for the data sent in the above command [1650539484.199120][3678:3678] CHIP:DMG: ReadRequestMessage = [1650539484.199188][3678:3678] CHIP:DMG: { @@ -200,47 +226,15 @@ tests: "DUT reads all supported optional attributes from TH one at a time in a manufacturer specific order" verification: | - verify on Reference app receives the right response for the data sent in the above commands + TH all-clusters-minimal-app does not support optional attributes - ./chip-tool switch read multi-press-max 1 1 - Verify in TH all-clusters-app log - - [1656477918495] [49481:5731213] CHIP: [DMG] ReportDataMessage = - [1656477918495] [49481:5731213] CHIP: [DMG] { - [1656477918495] [49481:5731213] CHIP: [DMG] AttributeReportIBs = - [1656477918495] [49481:5731213] CHIP: [DMG] [ - [1656477918495] [49481:5731213] CHIP: [DMG] AttributeReportIB = - [1656477918495] [49481:5731213] CHIP: [DMG] { - [1656477918495] [49481:5731213] CHIP: [DMG] AttributeStatusIB = - [1656477918495] [49481:5731213] CHIP: [DMG] { - [1656477918495] [49481:5731213] CHIP: [DMG] AttributePathIB = - [1656477918495] [49481:5731213] CHIP: [DMG] { - [1656477918495] [49481:5731213] CHIP: [DMG] Endpoint = 0x1, - [1656477918495] [49481:5731213] CHIP: [DMG] Cluster = 0x3b, - [1656477918495] [49481:5731213] CHIP: [DMG] Attribute = 0x0000_0002, - [1656477918495] [49481:5731213] CHIP: [DMG] } - [1656477918495] [49481:5731213] CHIP: [DMG] - [1656477918495] [49481:5731213] CHIP: [DMG] StatusIB = - [1656477918495] [49481:5731213] CHIP: [DMG] { - [1656477918495] [49481:5731213] CHIP: [DMG] status = 0x86 (UNSUPPORTED_ATTRIBUTE), - [1656477918495] [49481:5731213] CHIP: [DMG] }, - [1656477918495] [49481:5731213] CHIP: [DMG] - [1656477918495] [49481:5731213] CHIP: [DMG] }, - [1656477918495] [49481:5731213] CHIP: [DMG] - [1656477918495] [49481:5731213] CHIP: [DMG] }, - [1656477918495] [49481:5731213] CHIP: [DMG] - [1656477918495] [49481:5731213] CHIP: [DMG] ], - [1656477918495] [49481:5731213] CHIP: [DMG] - [1656477918495] [49481:5731213] CHIP: [DMG] SuppressResponse = true, - [1656477918495] [49481:5731213] CHIP: [DMG] InteractionModelRevision = 1 - [1656477918495] [49481:5731213] CHIP: [DMG] } - [1656477918495] [49481:5731213] CHIP: [TOO] Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) + ./chip-tool switch read multi-press-max 1 1 disabled: true - label: "DUT writes a suitable value to all supported optional attributes on the TH one at a time in a manufacturer specific order" verification: | - This cluster doesn't have any writable attributes + This cluster doesn"t have any writable attributes disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml index 08087765d3f3c8..57f53c5fb9b412 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml @@ -24,37 +24,83 @@ config: endpoint: 0 tests: - - label: "TH checks consistency of PICS flags" + - label: "Note" + verification: | + For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + + - label: "Note" + verification: | + To Run the event test case we need to build event commands on DUT[All-cluster-ap] side.Below I mention the commands for how to build for linux arm64 it depends on the DUT what we use.I provided the link for build events. + + https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux#trigger-switch-events + + + + + Here I provide cmmds for build on linux arm64 + + 1. ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build + + 2../scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang build + + 3. ./out/linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang/chip-all-clusters-app-fuzzing + + 4. ./out/linux-arm64-all-clusters-no-ble-asan-libfuzzer-clang/chip-all-clusters-app-fuzzing $(INPUT_FILE) + disabled: true + + - label: + "FAIL the test - at least one of SWTCH.C.F00(LS) and SWTCH.C.F01(MS) + has to be supported" + PICS: "!SWTCH.C.F00 && !SWTCH.C.F01" verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - when supporting SWTCH.C.F02(MSR) also SWTCH.C.F01(MS) + must be supported" + PICS: SWTCH.C.F02 && !SWTCH.C.F01 verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - when supporting SWTCH.C.F03(MSL) also SWTCH.C.F01(MS) + must be supported" + PICS: SWTCH.C.F03 && !SWTCH.C.F01 verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - when supporting SWTCH.C.F03(MSL) also + SWTCH.C.F02(MSR) must be supported" + PICS: SWTCH.C.F03 && !SWTCH.C.F02 verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - when supporting SWTCH.C.F04(MSM) also SWTCH.C.F01(MS) + must be supported" + PICS: SWTCH.C.F04 && !SWTCH.C.F01 verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - when supporting SWTCH.C.F04(MSM) also + SWTCH.C.F02(MSR) must be supported" + PICS: SWTCH.C.F04 && !SWTCH.C.F02 verification: | no messages needed, TH checks consistency of PICS flags disabled: true - - label: "TH checks consistency of PICS flags" + - label: + "FAIL the test - at least one of SWTCH.C.M.RA and SWTCH.C.M.EV must be + supported" + PICS: "!SWTCH.C.M.RA && !SWTCH.C.M.EV" verification: | no messages needed, TH checks consistency of PICS flags disabled: true @@ -68,25 +114,169 @@ tests: switch functionality detailed in the steps below. The order of the messages received may be different from the order of the sub-steps 1b..1d below." + PICS: SWTCH.C.F00 + verification: | + verification step to be updated. + disabled: true + + - label: "DUT reads global attribute FeatureMap." + PICS: SWTCH.C.F00 + verification: | + ./chip-tool switch read feature-map 1 1 + + verify on Reference app receives the right response for the data sent in the above commands + + Verify FeatureMap value as 1 in TH all-clusters-app log + + [1646208136.241983][2390:2395] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFCDataVersion: 1206711661 + [1646208136.242043][2390:2395] CHIP:TOO: FeatureMap: 1 + disabled: true + + - label: "DUT reads attribute NumberOfPositions." + PICS: SWTCH.C.F00 + verification: | + ./chip-tool switch read number-of-positions 1 1 + + Verify number of positions value as 2 in TH all-clusters-app log + + [1646208189.035637][2402:2407] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0000DataVersion: 1206711661 + [1646208189.035712][2402:2407] CHIP:TOO: number of positions: 2 + disabled: true + + - label: + "DUT sets up eventing (SwitchLatched) so it will receive events when + the switch is operated." + PICS: SWTCH.C.F00 && SWTCH.C.M.EV verification: | + In Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT + + echo "{"Name":"SwitchLatched","NewPosition":0}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659679728.732056][2530:2538] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":0}" + [1659679728.732389][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7706 + [1659679728.732429][2530:2530] CHIP:-: The latching switch is moved to a new position:0 + [1659679728.732454][2530:2530] CHIP:ZCL: SwitchServer: OnSwitchLatch + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event switch-latched 1 100 1 1 + Verify inTH Log: + [1659679766.774013][2535:2540] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659679766.774035][2535:2540] CHIP:TOO: Event number: 3 + [1659679766.774055][2535:2540] CHIP:TOO: Priority: Info + [1659679766.774074][2535:2540] CHIP:TOO: Timestamp: 2181028 + [1659679766.774157][2535:2540] CHIP:TOO: SwitchLatched: { + [1659679766.774197][2535:2540] CHIP:TOO: NewPosition: 0 + [1659679766.774214][2535:2540] CHIP:TOO: } disabled: true - label: "TH simulates operation of the switch by changing state (attribute - CurrentPosition) from 0 to 1 and back every 10 seconds" + CurrentPosition) from 0 to 1 and back every 10 seconds (over a 1 + minute period) DUT reads attribute CurrentPosition regularly," + PICS: SWTCH.C.F00 && SWTCH.C.M.RA verification: | - add messages for this exchange: DUT needs to read the attribute, TH provides value of simulated switch - DUT also shows results in UI or via controlled device + In Raspi platform to change the simulated switch between positions using the below commands + + echo "{"Name":"SwitchLatched","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659621148.831745][8590:8596] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":1}" + [1659621148.832236][8590:8590] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 4be58f54 + [1659621148.832320][8590:8590] CHIP:-: The latching switch is moved to a new position:1 + [1659621148.832380][8590:8590] CHIP:ZCL: SwitchServer: OnSwitchLatch + [1659621148.832494][8590:8590] CHIP:EVL: LogEvent event number: 0x0000000000000007 priority: 1, endpoint id: 0x1 cluster id: 0x0000_003B event id: 0x0 Sys timestamp: 0x00000000022D0CBB + + After 10 seconds, repeat the command with /tmp/chip_all_clusters_fifo using with value 0 as position + + After another 10 seconds, repeat the command with /tmp/chip_all_clusters_fifo using with value 1 as position + + Repeat this toggling every 10 seconds for 1 minute total. + + In parallel to this, watch whether DUT reads attribute CurrentPosition (expected to read multiple times to be aware of the changes in the switch position resp. the corresponding attribute) + + ./chip-tool switch read current-position 1 1 (in practice, DUT will issue this command, TH answers) + + [1659621181.542124][5668:5673] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 1273335636 + [1659621181.542207][5668:5673] CHIP:TOO: current position: 1 + + Watch whether DUT presents state of simulated switch and/or controls another device based on the state of the switch. disabled: true - label: "TH simulates operation of the switch by changing state (attribute - CurrentPosition) from 0 to 1 and back every 10 seconds, and sending - the event SwitchLatched (with field NewPosition reflecting the new - state) on every change" + CurrentPosition) from 0 to 1 and back every 10 seconds (over a 1 + minute period), and sending the event SwitchLatched (with field + NewPosition reflecting the new state) on every change" + PICS: SWTCH.C.F00 && SWTCH.C.M.EV verification: | - TH sends event messages, DUT consumes them, DUT shows results in UI or via controlled device + In Raspi platform to change the simulated switch between positions using the below commands + + echo "{"Name":"SwitchLatched","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659621148.831745][8590:8596] CHIP:-: Received payload: "{"Name":"SwitchLatched","NewPosition":1}" + [1659621148.832236][8590:8590] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 4be58f54 + [1659621148.832320][8590:8590] CHIP:-: The latching switch is moved to a new position:1 + [1659621148.832380][8590:8590] CHIP:ZCL: SwitchServer: OnSwitchLatch + [1659621148.832494][8590:8590] CHIP:EVL: LogEvent event number: 0x0000000000000007 priority: 1, endpoint id: 0x1 cluster id: 0x0000_003B event id: 0x0 Sys timestamp: 0x00000000022D0CBB + + After 10 seconds, repeat the command with /tmp/chip_all_clusters_fifo using with value 0 as position + After another 10 seconds, repeat the command with /tmp/chip_all_clusters_fifo using with value 1 as position + Repeat this toggling every 10 seconds for 1 minute total. + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event switch-latched 1 100 1 1 + + all-clusters app will emit events to the subscriber (DUT-client), e.g. + Verify inTH Log: + [1659680091.149404][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.149428][2592:2597] CHIP:TOO: Event number: 3 + [1659680091.149449][2592:2597] CHIP:TOO: Priority: Info + [1659680091.149470][2592:2597] CHIP:TOO: Timestamp: 2181028 + [1659680091.149536][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.149571][2592:2597] CHIP:TOO: NewPosition: 0 + [1659680091.149593][2592:2597] CHIP:TOO: } + [1659680091.149674][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.149696][2592:2597] CHIP:TOO: Event number: 4 + [1659680091.149717][2592:2597] CHIP:TOO: Priority: Info + [1659680091.149737][2592:2597] CHIP:TOO: Timestamp: 2286911 + [1659680091.149763][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.149785][2592:2597] CHIP:TOO: NewPosition: 1 + [1659680091.149805][2592:2597] CHIP:TOO: } + [1659680091.149884][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.149906][2592:2597] CHIP:TOO: Event number: 5 + [1659680091.149926][2592:2597] CHIP:TOO: Priority: Info + [1659680091.149947][2592:2597] CHIP:TOO: Timestamp: 2368467 + [1659680091.149971][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.149993][2592:2597] CHIP:TOO: NewPosition: 0 + [1659680091.150013][2592:2597] CHIP:TOO: } + [1659680091.150093][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.150114][2592:2597] CHIP:TOO: Event number: 6 + [1659680091.150135][2592:2597] CHIP:TOO: Priority: Info + [1659680091.150155][2592:2597] CHIP:TOO: Timestamp: 2402459 + [1659680091.150180][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.150202][2592:2597] CHIP:TOO: NewPosition: 1 + [1659680091.150222][2592:2597] CHIP:TOO: } + [1659680091.150302][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.150324][2592:2597] CHIP:TOO: Event number: 7 + [1659680091.150345][2592:2597] CHIP:TOO: Priority: Info + [1659680091.150365][2592:2597] CHIP:TOO: Timestamp: 2431571 + [1659680091.150390][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.150411][2592:2597] CHIP:TOO: NewPosition: 0 + [1659680091.150432][2592:2597] CHIP:TOO: } + [1659680091.150509][2592:2597] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659680091.150531][2592:2597] CHIP:TOO: Event number: 8 + [1659680091.150551][2592:2597] CHIP:TOO: Priority: Info + [1659680091.150572][2592:2597] CHIP:TOO: Timestamp: 2456884 + [1659680091.150597][2592:2597] CHIP:TOO: SwitchLatched: { + [1659680091.150630][2592:2597] CHIP:TOO: NewPosition: 1 <= this value will change for every change in position of simulated switch + + + + Watch whether DUT presents state of simulated switch and/or controls another device based on the state of the switch. disabled: true - label: @@ -98,38 +288,289 @@ tests: switch functionality detailed in the steps below. The order of the messages received may be different from the order of the sub-steps 3b..3d below." + PICS: SWTCH.C.F01 + verification: | + verification step to be updated. + disabled: true + + - label: "DUT reads global attribute FeatureMap." + PICS: SWTCH.C.F01 + verification: | + ./chip-tool switch read feature-map 1 1 + + + Verify FeatureMap value as 1 in TH all-clusters-app log + + [1646208136.241983][2390:2395] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_FFFCDataVersion: 1206711661 + [1646208136.242043][2390:2395] CHIP:TOO: FeatureMap: 1 + disabled: true + + - label: "DUT reads attribute NumberOfPositions." + PICS: SWTCH.C.F01 + verification: | + ./chip-tool switch read number-of-positions 1 1 + + Verify number of positions value as 2 in TH all-clusters-app log + + [1646208189.035637][2402:2407] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0000DataVersion: 1206711661 + [1646208189.035712][2402:2407] CHIP:TOO: number of positions: 2 + disabled: true + + - label: + "DUT sets up eventing (InitialPress and ShortRelease; if SWTCH.C.F03 + also LongPress and LongRelease) so it will receive events when the + switch is operated." + PICS: SWTCH.C.F01 && SWTCH.C.M.EV verification: | + In Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT + + echo "{"Name":"InitialPress","NewPosition":0}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659624126.646996][8590:8596] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":0}" + [1659624126.647380][8590:8590] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 4be58f55 + [1659624126.647438][8590:8590] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659624126.647480][8590:8590] CHIP:ZCL: SwitchServer: OnInitialPress + + Verify in TH Log, e.g. (one such message per event subscription being set up) + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659683181.743214][2829:2835] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0001 + [1659683181.743251][2829:2835] CHIP:TOO: Event number: 10 + [1659683181.743285][2829:2835] CHIP:TOO: Priority: Info + [1659683181.743319][2829:2835] CHIP:TOO: Timestamp: 4066882 + [1659683181.743419][2829:2835] CHIP:TOO: InitialPress: { + [1659683181.743470][2829:2835] CHIP:TOO: NewPosition: 0 + [1659683181.743506][2829:2835] CHIP:TOO: } + + echo "{"Name":"ShortRelease","PreviousPosition":0}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659683678.805455][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":0}" + [1659683678.805739][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7715 + [1659683678.805777][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659683678.805858][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + [1659683195.217253][2838:2843] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0003 + [1659683195.217275][2838:2843] CHIP:TOO: Event number: 11 + [1659683195.217294][2838:2843] CHIP:TOO: Priority: Info + [1659683195.217313][2838:2843] CHIP:TOO: Timestamp: 4137135 + [1659683195.217377][2838:2843] CHIP:TOO: ShortRelease: { + [1659683195.217411][2838:2843] CHIP:TOO: PreviousPosition: 0 + [1659683195.217432][2838:2843] CHIP:TOO: } + + if SWTCH.C.F03, also: + + echo "{"Name":"LongPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-press 1 100 1 1 + + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 5 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687750 + [1659527630.476887][4774:4779] CHIP:TOO: LongPress: { + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + echo "{"Name":"LongRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-release 1 100 1 1 + + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 6 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 296889750 + [1659527630.476887][4774:4779] CHIP:TOO: LongRelease: { + [1659527630.476934][4774:4779] CHIP:TOO: PreviousPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } disabled: true - label: "TH simulates operation of the switch by repeating these steps (over a - 1 minute period) * change state (attribute CurrentPosition) from 0 to - 1 * wait 0.2 seconds * change state (attribute CurrentPosition) from 1 - to 0 * wait 10 seconds" + 1 minute period) - change state (attribute CurrentPosition) from 0 to + 1 - wait 0.2 seconds - change state (attribute CurrentPosition) from 1 + to 0 - wait 10 seconds DUT reads attribute CurrentPosition regularly" + PICS: SWTCH.C.F01 && SWTCH.C.M.RA verification: | - add messages for this exchange: DUT needs to read the attribute, TH provides value of simulated switch - DUT also shows results in UI or via controlled device + In Raspi platform to change the simulated switch between positions using the below commands + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659624126.646996][8590:8596] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659624126.647380][8590:8590] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 4be58f55 + [1659624126.647438][8590:8590] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659624126.647480][8590:8590] CHIP:ZCL: SwitchServer: OnInitialPress + + After 0.2 seconds, send this command + + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659683678.805455][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659683678.805739][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7715 + [1659683678.805777][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659683678.805858][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + + After 10 seconds, repeat these commands (again with 0.2 s between them). + Repeat this for 1 minute total. + + In parallel to this, watch whether DUT reads attribute CurrentPosition (expected to read multiple times to be aware of the changes in the switch position resp. the corresponding attribute) + + ./chip-tool switch read current-position 1 1 (in practice, DUT will issue this command, TH answers) + + [1659621181.542124][5668:5673] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 1273335636 + [1659621181.542207][5668:5673] CHIP:TOO: current position: 1 + + + ./chip-tool switch read current-position 1 1 + [1659683735.960098][2900:2905] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Attribute 0x0000_0001 DataVersion: 3999168277 + [1659683735.960157][2900:2905] CHIP:TOO: current position: 0 <= value will toggle between 1 and 0 + + Watch whether DUT presents state of simulated switch and/or controls another device based on the state of the switch. disabled: true - label: "TH simulates operation of the switch by repeating these steps (over a 1 minute period) change state (attribute CurrentPosition) from 0 to 1, - and send the event InitialPress (with field NewPosition=1) * wait 0.2 - seconds * change state (attribute CurrentPosition) from 1 to 0, and - send the event ShortRelease (with field PreviousPosition=1) * wait 10 - seconds" + and send the event InitialPress (with field NewPosition=1) wait 0.2 + seconds change state (attribute CurrentPosition) from 1 to 0, and send + the event ShortRelease (with field PreviousPosition=1) wait 10 seconds" + PICS: SWTCH.C.F01 && SWTCH.C.M.EV verification: | - TH sends event messages, DUT consumes them, DUT shows results in UI or via controlled device + In Raspi platform to change the simulated switch between positions using the below commands + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659624126.646996][8590:8596] CHIP:-: Received payload: "{"Name":"InitialPress","NewPosition":1}" + [1659624126.647380][8590:8590] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to 4be58f55 + [1659624126.647438][8590:8590] CHIP:-: The new position when the momentary switch starts to be pressed:1 + [1659624126.647480][8590:8590] CHIP:ZCL: SwitchServer: OnInitialPress + + After 0.2 seconds, send this command + echo "{"Name":"ShortRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + [1659684051.064329][2530:2538] CHIP:-: Received payload: "{"Name":"ShortRelease","PreviousPosition":1}" + [1659684051.064820][2530:2530] CHIP:DMG: Endpoint 1, Cluster 0x0000_003B update version to ee5e7716 + [1659684051.064904][2530:2530] CHIP:-: The the previous value of the CurrentPosition when the momentary switch has been released:1 + [1659684051.064994][2530:2530] CHIP:ZCL: SwitchServer: OnShortRelease + + After 10 seconds, repeat these commands (again with 0.2 s between them). + Repeat this for 1 minute total. + + + all-clusters app will emit events to the subscriber (DUT-client), e.g. + Verify in TH Log: + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 4 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687894 + [1659527630.476887][4774:4779] CHIP:TOO: InitialPress: { + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event short-release 1 100 1 1 + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 5 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29688000 + [1659527630.476887][4774:4779] CHIP:TOO: ShortRelease: { + [1659527630.476934][4774:4779] CHIP:TOO: PreviousPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + Watch whether DUT presents state of simulated switch and/or controls another device based on the state of the switch. disabled: true - label: "TH simulates operation of the switch by repeating these steps (over a 1 minute period) change state (field CurrentPosition) from 0 to 1, and send the event InitialPress (with field NewPosition=1) wait 0.75 - seconds * send the event LongPress (field NewPosition=1) wait 2 - seconds * change state (field CurrentPosition) from 1 to 0, and send - the event LongRelease (with field PreviousPosition=1)* wait 8 seconds" + seconds send the event LongPress (field NewPosition=1) wait 2 seconds + change state (field CurrentPosition) from 1 to 0, and send the event + LongRelease (with field PreviousPosition=1) wait 8 seconds" + PICS: SWTCH.C.F01 && SWTCH.C.F03 && SWTCH.C.M.EV verification: | - TH sends event messages, DUT consumes them, DUT shows results in UI or via controlled device + In Raspi platform to change the simulated switch between positions using the below commands + + echo "{"Name":"InitialPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + After 0.75 seconds, send this command + + echo "{"Name":"LongPress","NewPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + After 2 seconds, send this command + + echo "{"Name":"LongRelease","PreviousPosition":1}" > /tmp/chip_all_clusters_fifo- (PID of DUT) + + After 8 seconds, repeat this set of commands + Repeat this for 1 minute total. + + + all-clusters app will emit events to the subscriber (DUT-client), e.g. + Verify in TH Log: + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event initial-press 1 100 1 1 + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 4 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687000 + [1659527630.476887][4774:4779] CHIP:TOO: InitialPress: { + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-press 1 100 1 1 + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 5 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 29687750 + [1659527630.476887][4774:4779] CHIP:TOO: LongPress: { + [1659527630.476934][4774:4779] CHIP:TOO: NewPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + Please use Interactive mode to Verify the subscription of an event + Here the command to enter interactive mode:-- + 1. ./chip-tool interactive start + 2. switch subscribe-event long-release 1 100 1 1 + + [1659527630.476706][4774:4779] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_003B Event 0x0000_0000 + [1659527630.476742][4774:4779] CHIP:TOO: Event number: 6 + [1659527630.476771][4774:4779] CHIP:TOO: Priority: Info + [1659527630.476799][4774:4779] CHIP:TOO: Timestamp: 296889750 + [1659527630.476887][4774:4779] CHIP:TOO: LongRelease: { + [1659527630.476934][4774:4779] CHIP:TOO: PreviousPosition: 1 + [1659527630.476969][4774:4779] CHIP:TOO: } + + Watch whether DUT presents state of simulated switch and/or controls another device based on the state of the switch. disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 87d1ad484847f8..52705fa562980d 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -554,6 +554,9 @@ SWTCH.S.F03=0 SWTCH.S.F04=0 SWTCH.C.F00=1 SWTCH.C.F01=1 +SWTCH.C.F02=1 +SWTCH.C.F03=1 +SWTCH.C.F04=1 SWTCH.C.M.RA=1 SWTCH.C.M.EV=1 @@ -1166,6 +1169,8 @@ DRLK.S.F05=1 DRLK.S.F06=1 DRLK.S.F07=1 DRLK.S.F08=1 +DRLK.S.F10=1 +DRLK.S.F11=1 #Server commands DRLK.S.C00.Rsp=1